import{a9 as I,aa as cs}from"./index-deud-udu.js";var gt={exports:{}};/*!
* sweetalert2 v11.5.1
* Released under the MIT License.
*/(function(ht,ds){(function(a,L){ht.exports=L()})(I,function(){var a={awaitingPromise:new WeakMap,promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap};const L="swal2-",B=e=>{const t={};for(const o in e)t[e[o]]=L+e[o];return t},s=B(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error","no-war"]),U=B(["success","warning","info","question","error"]),Se="SweetAlert2:",bt=e=>{const t=[];for(let o=0;o<e.length;o++)t.indexOf(e[o])===-1&&t.push(e[o]);return t},ce=e=>e.charAt(0).toUpperCase()+e.slice(1),g=e=>{console.warn("".concat(Se," ").concat(typeof e=="object"?e.join(" "):e))},O=e=>{console.error("".concat(Se," ").concat(e))},Te=[],yt=e=>{Te.includes(e)||(Te.push(e),g(e))},xt=(e,t)=>{yt('"'.concat(e,'" is deprecated and will be removed in the next major release. Please use "').concat(t,'" instead.'))},Q=e=>typeof e=="function"?e():e,ue=e=>e&&typeof e.toPromise=="function",K=e=>ue(e)?e.toPromise():Promise.resolve(e),de=e=>e&&Promise.resolve(e)===e,p=()=>document.body.querySelector(".".concat(s.container)),Z=e=>{const t=p();return t?t.querySelector(e):null},x=e=>Z(".".concat(e)),u=()=>x(s.popup),Y=()=>x(s.icon),Ie=()=>x(s.title),ee=()=>x(s["html-container"]),Le=()=>x(s.image),Oe=()=>x(s["progress-steps"]),te=()=>x(s["validation-message"]),v=()=>Z(".".concat(s.actions," .").concat(s.confirm)),S=()=>Z(".".concat(s.actions," .").concat(s.deny)),Ct=()=>x(s["input-label"]),z=()=>Z(".".concat(s.loader)),j=()=>Z(".".concat(s.actions," .").concat(s.cancel)),$=()=>x(s.actions),je=()=>x(s.footer),oe=()=>x(s["timer-progress-bar"]),fe=()=>x(s.close),vt=`
  a[href],
  area[href],
  input:not([disabled]),
  select:not([disabled]),
  textarea:not([disabled]),
  button:not([disabled]),
  iframe,
  object,
  embed,
  [tabindex="0"],
  [contenteditable],
  audio[controls],
  video[controls],
  summary
`,pe=()=>{const e=Array.from(u().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort((o,n)=>{const i=parseInt(o.getAttribute("tabindex")),r=parseInt(n.getAttribute("tabindex"));return i>r?1:i<r?-1:0}),t=Array.from(u().querySelectorAll(vt)).filter(o=>o.getAttribute("tabindex")!=="-1");return bt(e.concat(t)).filter(o=>y(o))},we=()=>E(document.body,s.shown)&&!E(document.body,s["toast-shown"])&&!E(document.body,s["no-backdrop"]),ne=()=>u()&&E(u(),s.toast),kt=()=>u().hasAttribute("data-loading"),D={previousBodyPadding:null},b=(e,t)=>{if(e.textContent="",t){const n=new DOMParser().parseFromString(t,"text/html");Array.from(n.querySelector("head").childNodes).forEach(i=>{e.appendChild(i)}),Array.from(n.querySelector("body").childNodes).forEach(i=>{i instanceof HTMLVideoElement||i instanceof HTMLAudioElement?e.appendChild(i.cloneNode(!0)):e.appendChild(i)})}},E=(e,t)=>{if(!t)return!1;const o=t.split(/\s+/);for(let n=0;n<o.length;n++)if(!e.classList.contains(o[n]))return!1;return!0},Pt=(e,t)=>{Array.from(e.classList).forEach(o=>{!Object.values(s).includes(o)&&!Object.values(U).includes(o)&&!Object.values(t.showClass).includes(o)&&e.classList.remove(o)})},C=(e,t,o)=>{if(Pt(e,t),t.customClass&&t.customClass[o]){if(typeof t.customClass[o]!="string"&&!t.customClass[o].forEach){g("Invalid type of customClass.".concat(o,'! Expected string or iterable object, got "').concat(typeof t.customClass[o],'"'));return}c(e,t.customClass[o])}},me=(e,t)=>{if(!t)return null;switch(t){case"select":case"textarea":case"file":return e.querySelector(".".concat(s.popup," > .").concat(s[t]));case"checkbox":return e.querySelector(".".concat(s.popup," > .").concat(s.checkbox," input"));case"radio":return e.querySelector(".".concat(s.popup," > .").concat(s.radio," input:checked"))||e.querySelector(".".concat(s.popup," > .").concat(s.radio," input:first-child"));case"range":return e.querySelector(".".concat(s.popup," > .").concat(s.range," input"));default:return e.querySelector(".".concat(s.popup," > .").concat(s.input))}},Me=e=>{if(e.focus(),e.type!=="file"){const t=e.value;e.value="",e.value=t}},He=(e,t,o)=>{!e||!t||(typeof t=="string"&&(t=t.split(/\s+/).filter(Boolean)),t.forEach(n=>{Array.isArray(e)?e.forEach(i=>{o?i.classList.add(n):i.classList.remove(n)}):o?e.classList.add(n):e.classList.remove(n)}))},c=(e,t)=>{He(e,t,!0)},k=(e,t)=>{He(e,t,!1)},T=(e,t)=>{const o=Array.from(e.children);for(let n=0;n<o.length;n++){const i=o[n];if(i instanceof HTMLElement&&E(i,t))return i}},q=(e,t,o)=>{o==="".concat(parseInt(o))&&(o=parseInt(o)),o||parseInt(o)===0?e.style[t]=typeof o=="number"?"".concat(o,"px"):o:e.style.removeProperty(t)},f=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"flex";e.style.display=t},w=e=>{e.style.display="none"},ze=(e,t,o,n)=>{const i=e.querySelector(t);i&&(i.style[o]=n)},se=function(e,t){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"flex";t?f(e,o):w(e)},y=e=>!!(e&&(e.offsetWidth||e.offsetHeight||e.getClientRects().length)),At=()=>!y(v())&&!y(S())&&!y(j()),De=e=>e.scrollHeight>e.clientHeight,qe=e=>{const t=window.getComputedStyle(e),o=parseFloat(t.getPropertyValue("animation-duration")||"0"),n=parseFloat(t.getPropertyValue("transition-duration")||"0");return o>0||n>0},ge=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const o=oe();y(o)&&(t&&(o.style.transition="none",o.style.width="100%"),setTimeout(()=>{o.style.transition="width ".concat(e/1e3,"s linear"),o.style.width="0%"},10))},Bt=()=>{const e=oe(),t=parseInt(window.getComputedStyle(e).width);e.style.removeProperty("transition"),e.style.width="100%";const o=parseInt(window.getComputedStyle(e).width),n=t/o*100;e.style.removeProperty("transition"),e.style.width="".concat(n,"%")},Et=100,l={},St=()=>{l.previousActiveElement instanceof HTMLElement?(l.previousActiveElement.focus(),l.previousActiveElement=null):document.body&&document.body.focus()},Tt=e=>new Promise(t=>{if(!e)return t();const o=window.scrollX,n=window.scrollY;l.restoreFocusTimeout=setTimeout(()=>{St(),t()},Et),window.scrollTo(o,n)}),Ve=()=>typeof window>"u"||typeof document>"u",It=`
 <div aria-labelledby="`.concat(s.title,'" aria-describedby="').concat(s["html-container"],'" class="').concat(s.popup,`" tabindex="-1">
   <button type="button" class="`).concat(s.close,`"></button>
   <ul class="`).concat(s["progress-steps"],`"></ul>
   <div class="`).concat(s.icon,`"></div>
   <img class="`).concat(s.image,`" />
   <h2 class="`).concat(s.title,'" id="').concat(s.title,`"></h2>
   <div class="`).concat(s["html-container"],'" id="').concat(s["html-container"],`"></div>
   <input class="`).concat(s.input,`" />
   <input type="file" class="`).concat(s.file,`" />
   <div class="`).concat(s.range,`">
     <input type="range" />
     <output></output>
   </div>
   <select class="`).concat(s.select,`"></select>
   <div class="`).concat(s.radio,`"></div>
   <label for="`).concat(s.checkbox,'" class="').concat(s.checkbox,`">
     <input type="checkbox" />
     <span class="`).concat(s.label,`"></span>
   </label>
   <textarea class="`).concat(s.textarea,`"></textarea>
   <div class="`).concat(s["validation-message"],'" id="').concat(s["validation-message"],`"></div>
   <div class="`).concat(s.actions,`">
     <div class="`).concat(s.loader,`"></div>
     <button type="button" class="`).concat(s.confirm,`"></button>
     <button type="button" class="`).concat(s.deny,`"></button>
     <button type="button" class="`).concat(s.cancel,`"></button>
   </div>
   <div class="`).concat(s.footer,`"></div>
   <div class="`).concat(s["timer-progress-bar-container"],`">
     <div class="`).concat(s["timer-progress-bar"],`"></div>
   </div>
 </div>
`).replace(/(^|\n)\s*/g,""),Lt=()=>{const e=p();return e?(e.remove(),k([document.documentElement,document.body],[s["no-backdrop"],s["toast-shown"],s["has-column"]]),!0):!1},M=()=>{l.currentInstance.resetValidationMessage()},Ot=()=>{const e=u(),t=T(e,s.input),o=T(e,s.file),n=e.querySelector(".".concat(s.range," input")),i=e.querySelector(".".concat(s.range," output")),r=T(e,s.select),d=e.querySelector(".".concat(s.checkbox," input")),A=T(e,s.textarea);t.oninput=M,o.onchange=M,r.onchange=M,d.onchange=M,A.oninput=M,n.oninput=()=>{M(),i.value=n.value},n.onchange=()=>{M(),i.value=n.value}},jt=e=>typeof e=="string"?document.querySelector(e):e,Mt=e=>{const t=u();t.setAttribute("role",e.toast?"alert":"dialog"),t.setAttribute("aria-live",e.toast?"polite":"assertive"),e.toast||t.setAttribute("aria-modal","true")},Ht=e=>{window.getComputedStyle(e).direction==="rtl"&&c(p(),s.rtl)},zt=e=>{const t=Lt();if(Ve()){O("SweetAlert2 requires document to initialize");return}const o=document.createElement("div");o.className=s.container,t&&c(o,s["no-transition"]),b(o,It);const n=jt(e.target);n.appendChild(o),Mt(e),Ht(n),Ot()},he=(e,t)=>{e instanceof HTMLElement?t.appendChild(e):typeof e=="object"?Dt(e,t):e&&b(t,e)},Dt=(e,t)=>{e.jquery?qt(t,e):b(t,e.toString())},qt=(e,t)=>{if(e.textContent="",0 in t)for(let o=0;o in t;o++)e.appendChild(t[o].cloneNode(!0));else e.appendChild(t.cloneNode(!0))},_=(()=>{if(Ve())return!1;const e=document.createElement("div"),t={WebkitAnimation:"webkitAnimationEnd",animation:"animationend"};for(const o in t)if(Object.prototype.hasOwnProperty.call(t,o)&&typeof e.style[o]<"u")return t[o];return!1})(),Vt=()=>{const e=document.createElement("div");e.className=s["scrollbar-measure"],document.body.appendChild(e);const t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},Ft=(e,t)=>{const o=$(),n=z();!t.showConfirmButton&&!t.showDenyButton&&!t.showCancelButton?w(o):f(o),C(o,t,"actions"),Wt(o,n,t),b(n,t.loaderHtml),C(n,t,"loader")};function Wt(e,t,o){const n=v(),i=S(),r=j();be(n,"confirm",o),be(i,"deny",o),be(r,"cancel",o),Rt(n,i,r,o),o.reverseButtons&&(o.toast?(e.insertBefore(r,n),e.insertBefore(i,n)):(e.insertBefore(r,t),e.insertBefore(i,t),e.insertBefore(n,t)))}function Rt(e,t,o,n){if(!n.buttonsStyling){k([e,t,o],s.styled);return}c([e,t,o],s.styled),n.confirmButtonColor&&(e.style.backgroundColor=n.confirmButtonColor,c(e,s["default-outline"])),n.denyButtonColor&&(t.style.backgroundColor=n.denyButtonColor,c(t,s["default-outline"])),n.cancelButtonColor&&(o.style.backgroundColor=n.cancelButtonColor,c(o,s["default-outline"]))}function be(e,t,o){se(e,o["show".concat(ce(t),"Button")],"inline-block"),b(e,o["".concat(t,"ButtonText")]),e.setAttribute("aria-label",o["".concat(t,"ButtonAriaLabel")]),e.className=s[t],C(e,o,"".concat(t,"Button")),c(e,o["".concat(t,"ButtonClass")])}const Nt=(e,t)=>{const o=fe();b(o,t.closeButtonHtml),C(o,t,"closeButton"),se(o,t.showCloseButton),o.setAttribute("aria-label",t.closeButtonAriaLabel)},Ut=(e,t)=>{const o=p();o&&(Kt(o,t.backdrop),Zt(o,t.position),Yt(o,t.grow),C(o,t,"container"))};function Kt(e,t){typeof t=="string"?e.style.background=t:t||c([document.documentElement,document.body],s["no-backdrop"])}function Zt(e,t){t in s?c(e,s[t]):(g('The "position" parameter is not valid, defaulting to "center"'),c(e,s.center))}function Yt(e,t){if(t&&typeof t=="string"){const o="grow-".concat(t);o in s&&c(e,s[o])}}const $t=["input","file","range","select","radio","checkbox","textarea"],_t=(e,t)=>{const o=u(),n=a.innerParams.get(e),i=!n||t.input!==n.input;$t.forEach(r=>{const d=T(o,s[r]);Gt(r,t.inputAttributes),d.className=s[r],i&&w(d)}),t.input&&(i&&Xt(t),Qt(t))},Xt=e=>{if(!h[e.input]){O('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(e.input,'"'));return}const t=Fe(e.input),o=h[e.input](t,e);f(t),setTimeout(()=>{Me(o)})},Jt=e=>{for(let t=0;t<e.attributes.length;t++){const o=e.attributes[t].name;["type","value","style"].includes(o)||e.removeAttribute(o)}},Gt=(e,t)=>{const o=me(u(),e);if(o){Jt(o);for(const n in t)o.setAttribute(n,t[n])}},Qt=e=>{const t=Fe(e.input);typeof e.customClass=="object"&&c(t,e.customClass.input)},ye=(e,t)=>{(!e.placeholder||t.inputPlaceholder)&&(e.placeholder=t.inputPlaceholder)},X=(e,t,o)=>{if(o.inputLabel){e.id=s.input;const n=document.createElement("label"),i=s["input-label"];n.setAttribute("for",e.id),n.className=i,typeof o.customClass=="object"&&c(n,o.customClass.inputLabel),n.innerText=o.inputLabel,t.insertAdjacentElement("beforebegin",n)}},Fe=e=>T(u(),s[e]||s.input),ie=(e,t)=>{["string","number"].includes(typeof t)?e.value="".concat(t):de(t)||g('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(typeof t,'"'))},h={};h.text=h.email=h.password=h.number=h.tel=h.url=(e,t)=>(ie(e,t.inputValue),X(e,e,t),ye(e,t),e.type=t.input,e),h.file=(e,t)=>(X(e,e,t),ye(e,t),e),h.range=(e,t)=>{const o=e.querySelector("input"),n=e.querySelector("output");return ie(o,t.inputValue),o.type=t.input,ie(n,t.inputValue),X(o,e,t),e},h.select=(e,t)=>{if(e.textContent="",t.inputPlaceholder){const o=document.createElement("option");b(o,t.inputPlaceholder),o.value="",o.disabled=!0,o.selected=!0,e.appendChild(o)}return X(e,e,t),e},h.radio=e=>(e.textContent="",e),h.checkbox=(e,t)=>{const o=me(u(),"checkbox");o.value="1",o.id=s.checkbox,o.checked=!!t.inputValue;const n=e.querySelector("span");return b(n,t.inputPlaceholder),o},h.textarea=(e,t)=>{ie(e,t.inputValue),ye(e,t),X(e,e,t);const o=n=>parseInt(window.getComputedStyle(n).marginLeft)+parseInt(window.getComputedStyle(n).marginRight);return setTimeout(()=>{if("MutationObserver"in window){const n=parseInt(window.getComputedStyle(u()).width),i=()=>{const r=e.offsetWidth+o(e);r>n?u().style.width="".concat(r,"px"):u().style.width=null};new MutationObserver(i).observe(e,{attributes:!0,attributeFilter:["style"]})}}),e};const eo=(e,t)=>{const o=ee();C(o,t,"htmlContainer"),t.html?(he(t.html,o),f(o,"block")):t.text?(o.textContent=t.text,f(o,"block")):w(o),_t(e,t)},to=(e,t)=>{const o=je();se(o,t.footer),t.footer&&he(t.footer,o),C(o,t,"footer")},oo=(e,t)=>{const o=a.innerParams.get(e),n=Y();if(o&&t.icon===o.icon){Re(n,t),We(n,t);return}if(!t.icon&&!t.iconHtml){w(n);return}if(t.icon&&Object.keys(U).indexOf(t.icon)===-1){O('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(t.icon,'"')),w(n);return}f(n),Re(n,t),We(n,t),c(n,t.showClass.icon)},We=(e,t)=>{for(const o in U)t.icon!==o&&k(e,U[o]);c(e,U[t.icon]),ro(e,t),no(),C(e,t,"icon")},no=()=>{const e=u(),t=window.getComputedStyle(e).getPropertyValue("background-color"),o=e.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let n=0;n<o.length;n++)o[n].style.backgroundColor=t},so=`
  <div class="swal2-success-circular-line-left"></div>
  <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>
  <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>
  <div class="swal2-success-circular-line-right"></div>
`,io=`
  <span class="swal2-x-mark">
    <span class="swal2-x-mark-line-left"></span>
    <span class="swal2-x-mark-line-right"></span>
  </span>
`,Re=(e,t)=>{let o=e.innerHTML,n;t.iconHtml?n=Ne(t.iconHtml):t.icon==="success"?(n=so,o=o.replace(/ style=".*?"/g,"")):t.icon==="error"?n=io:n=Ne({question:"?",warning:"!",info:"i"}[t.icon]),o.trim()!==n.trim()&&b(e,n)},ro=(e,t)=>{if(t.iconColor){e.style.color=t.iconColor,e.style.borderColor=t.iconColor;for(const o of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])ze(e,o,"backgroundColor",t.iconColor);ze(e,".swal2-success-ring","borderColor",t.iconColor)}},Ne=e=>'<div class="'.concat(s["icon-content"],'">').concat(e,"</div>"),ao=(e,t)=>{const o=Le();if(!t.imageUrl){w(o);return}f(o,""),o.setAttribute("src",t.imageUrl),o.setAttribute("alt",t.imageAlt),q(o,"width",t.imageWidth),q(o,"height",t.imageHeight),o.className=s.image,C(o,t,"image")},lo=(e,t)=>{const o=p(),n=u();t.toast?(q(o,"width",t.width),n.style.width="100%",n.insertBefore(z(),Y())):q(n,"width",t.width),q(n,"padding",t.padding),t.color&&(n.style.color=t.color),t.background&&(n.style.background=t.background),w(te()),co(n,t)},co=(e,t)=>{e.className="".concat(s.popup," ").concat(y(e)?t.showClass.popup:""),t.toast?(c([document.documentElement,document.body],s["toast-shown"]),c(e,s.toast)):c(e,s.modal),C(e,t,"popup"),typeof t.customClass=="string"&&c(e,t.customClass),t.icon&&c(e,s["icon-".concat(t.icon)])},uo=(e,t)=>{const o=Oe();if(!t.progressSteps||t.progressSteps.length===0){w(o);return}f(o),o.textContent="",t.currentProgressStep>=t.progressSteps.length&&g("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),t.progressSteps.forEach((n,i)=>{const r=fo(n);if(o.appendChild(r),i===t.currentProgressStep&&c(r,s["active-progress-step"]),i!==t.progressSteps.length-1){const d=po(t);o.appendChild(d)}})},fo=e=>{const t=document.createElement("li");return c(t,s["progress-step"]),b(t,e),t},po=e=>{const t=document.createElement("li");return c(t,s["progress-step-line"]),e.progressStepsDistance&&q(t,"width",e.progressStepsDistance),t},wo=(e,t)=>{const o=Ie();se(o,t.title||t.titleText,"block"),t.title&&he(t.title,o),t.titleText&&(o.innerText=t.titleText),C(o,t,"title")},Ue=(e,t)=>{lo(e,t),Ut(e,t),uo(e,t),oo(e,t),ao(e,t),wo(e,t),Nt(e,t),eo(e,t),Ft(e,t),to(e,t),typeof t.didRender=="function"&&t.didRender(u())};function Ke(){const e=a.innerParams.get(this);if(!e)return;const t=a.domCache.get(this);w(t.loader),ne()?e.icon&&f(Y()):mo(t),k([t.popup,t.actions],s.loading),t.popup.removeAttribute("aria-busy"),t.popup.removeAttribute("data-loading"),t.confirmButton.disabled=!1,t.denyButton.disabled=!1,t.cancelButton.disabled=!1}const mo=e=>{const t=e.popup.getElementsByClassName(e.loader.getAttribute("data-button-to-replace"));t.length?f(t[0],"inline-block"):At()&&w(e.actions)};function go(e){const t=a.innerParams.get(e||this),o=a.domCache.get(e||this);return o?me(o.popup,t.input):null}const ho=()=>y(u()),Ze=()=>v()&&v().click(),bo=()=>S()&&S().click(),yo=()=>j()&&j().click(),V=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),Ye=e=>{e.keydownTarget&&e.keydownHandlerAdded&&(e.keydownTarget.removeEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1)},xo=(e,t,o,n)=>{Ye(t),o.toast||(t.keydownHandler=i=>vo(e,i,n),t.keydownTarget=o.keydownListenerCapture?window:u(),t.keydownListenerCapture=o.keydownListenerCapture,t.keydownTarget.addEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!0)},xe=(e,t,o)=>{const n=pe();if(n.length)return t=t+o,t===n.length?t=0:t===-1&&(t=n.length-1),n[t].focus();u().focus()},$e=["ArrowRight","ArrowDown"],Co=["ArrowLeft","ArrowUp"],vo=(e,t,o)=>{const n=a.innerParams.get(e);n&&(t.isComposing||t.keyCode===229||(n.stopKeydownPropagation&&t.stopPropagation(),t.key==="Enter"?ko(e,t,n):t.key==="Tab"?Po(t,n):[...$e,...Co].includes(t.key)?Ao(t.key):t.key==="Escape"&&Bo(t,n,o)))},ko=(e,t,o)=>{if(Q(o.allowEnterKey)&&t.target&&e.getInput()&&t.target instanceof HTMLElement&&t.target.outerHTML===e.getInput().outerHTML){if(["textarea","file"].includes(o.input))return;Ze(),t.preventDefault()}},Po=(e,t)=>{const o=e.target,n=pe();let i=-1;for(let r=0;r<n.length;r++)if(o===n[r]){i=r;break}e.shiftKey?xe(t,i,-1):xe(t,i,1),e.stopPropagation(),e.preventDefault()},Ao=e=>{const t=v(),o=S(),n=j();if(document.activeElement instanceof HTMLElement&&![t,o,n].includes(document.activeElement))return;const i=$e.includes(e)?"nextElementSibling":"previousElementSibling";let r=document.activeElement;for(let d=0;d<$().children.length;d++){if(r=r[i],!r)return;if(r instanceof HTMLButtonElement&&y(r))break}r instanceof HTMLButtonElement&&r.focus()},Bo=(e,t,o)=>{Q(t.allowEscapeKey)&&(e.preventDefault(),o(V.esc))};var J={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const Eo=()=>{Array.from(document.body.children).forEach(t=>{t===p()||t.contains(p())||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))})},_e=()=>{Array.from(document.body.children).forEach(t=>{t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")})},So=()=>{if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!E(document.body,s.iosfix)){const t=document.body.scrollTop;document.body.style.top="".concat(t*-1,"px"),c(document.body,s.iosfix),Io(),To()}},To=()=>{const e=navigator.userAgent,t=!!e.match(/iPad/i)||!!e.match(/iPhone/i),o=!!e.match(/WebKit/i);t&&o&&!e.match(/CriOS/i)&&u().scrollHeight>window.innerHeight-44&&(p().style.paddingBottom="".concat(44,"px"))},Io=()=>{const e=p();let t;e.ontouchstart=o=>{t=Lo(o)},e.ontouchmove=o=>{t&&(o.preventDefault(),o.stopPropagation())}},Lo=e=>{const t=e.target,o=p();return Oo(e)||jo(e)?!1:t===o||!De(o)&&t instanceof HTMLElement&&t.tagName!=="INPUT"&&t.tagName!=="TEXTAREA"&&!(De(ee())&&ee().contains(t))},Oo=e=>e.touches&&e.touches.length&&e.touches[0].touchType==="stylus",jo=e=>e.touches&&e.touches.length>1,Mo=()=>{if(E(document.body,s.iosfix)){const e=parseInt(document.body.style.top,10);k(document.body,s.iosfix),document.body.style.top="",document.body.scrollTop=e*-1}},Ho=()=>{D.previousBodyPadding===null&&document.body.scrollHeight>window.innerHeight&&(D.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(D.previousBodyPadding+Vt(),"px"))},zo=()=>{D.previousBodyPadding!==null&&(document.body.style.paddingRight="".concat(D.previousBodyPadding,"px"),D.previousBodyPadding=null)};function Xe(e,t,o,n){ne()?Je(e,n):(Tt(o).then(()=>Je(e,n)),Ye(l)),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?(t.setAttribute("style","display:none !important"),t.removeAttribute("class"),t.innerHTML=""):t.remove(),we()&&(zo(),Mo(),_e()),Do()}function Do(){k([document.documentElement,document.body],[s.shown,s["height-auto"],s["no-backdrop"],s["toast-shown"]])}function re(e){e=Wo(e);const t=J.swalPromiseResolve.get(this),o=Vo(this);this.isAwaitingPromise()?e.isDismissed||(G(this),t(e)):o&&t(e)}function qo(){return!!a.awaitingPromise.get(this)}const Vo=e=>{const t=u();if(!t)return!1;const o=a.innerParams.get(e);if(!o||E(t,o.hideClass.popup))return!1;k(t,o.showClass.popup),c(t,o.hideClass.popup);const n=p();return k(n,o.showClass.backdrop),c(n,o.hideClass.backdrop),Ro(e,t,o),!0};function Fo(e){const t=J.swalPromiseReject.get(this);G(this),t&&t(e)}const G=e=>{e.isAwaitingPromise()&&(a.awaitingPromise.delete(e),a.innerParams.get(e)||e._destroy())},Wo=e=>typeof e>"u"?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},e),Ro=(e,t,o)=>{const n=p(),i=_&&qe(t);typeof o.willClose=="function"&&o.willClose(t),i?No(e,t,n,o.returnFocus,o.didClose):Xe(e,n,o.returnFocus,o.didClose)},No=(e,t,o,n,i)=>{l.swalCloseEventFinishedCallback=Xe.bind(null,e,o,n,i),t.addEventListener(_,function(r){r.target===t&&(l.swalCloseEventFinishedCallback(),delete l.swalCloseEventFinishedCallback)})},Je=(e,t)=>{setTimeout(()=>{typeof t=="function"&&t.bind(e.params)(),e._destroy()})};function Ge(e,t,o){const n=a.domCache.get(e);t.forEach(i=>{n[i].disabled=o})}function Qe(e,t){if(e)if(e.type==="radio"){const n=e.parentNode.parentNode.querySelectorAll("input");for(let i=0;i<n.length;i++)n[i].disabled=t}else e.disabled=t}function Uo(){Ge(this,["confirmButton","denyButton","cancelButton"],!1)}function Ko(){Ge(this,["confirmButton","denyButton","cancelButton"],!0)}function Zo(){Qe(this.getInput(),!1)}function Yo(){Qe(this.getInput(),!0)}function $o(e){const t=a.domCache.get(this),o=a.innerParams.get(this);b(t.validationMessage,e),t.validationMessage.className=s["validation-message"],o.customClass&&o.customClass.validationMessage&&c(t.validationMessage,o.customClass.validationMessage),f(t.validationMessage);const n=this.getInput();n&&(n.setAttribute("aria-invalid",!0),n.setAttribute("aria-describedby",s["validation-message"]),Me(n),c(n,s.inputerror))}function _o(){const e=a.domCache.get(this);e.validationMessage&&w(e.validationMessage);const t=this.getInput();t&&(t.removeAttribute("aria-invalid"),t.removeAttribute("aria-describedby"),k(t,s.inputerror))}function Xo(){return a.domCache.get(this).progressSteps}const F={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"&times;",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0},Jo=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","willClose"],Go={},Qo=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],et=e=>Object.prototype.hasOwnProperty.call(F,e),tt=e=>Jo.indexOf(e)!==-1,Ce=e=>Go[e],en=e=>{et(e)||g('Unknown parameter "'.concat(e,'"'))},tn=e=>{Qo.includes(e)&&g('The parameter "'.concat(e,'" is incompatible with toasts'))},on=e=>{Ce(e)&&xt(e,Ce(e))},nn=e=>{!e.backdrop&&e.allowOutsideClick&&g('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const t in e)en(t),e.toast&&tn(t),on(t)};function sn(e){const t=u(),o=a.innerParams.get(this);if(!t||E(t,o.hideClass.popup))return g("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");const n=rn(e),i=Object.assign({},o,n);Ue(this,i),a.innerParams.set(this,i),Object.defineProperties(this,{params:{value:Object.assign({},this.params,e),writable:!1,enumerable:!0}})}const rn=e=>{const t={};return Object.keys(e).forEach(o=>{tt(o)?t[o]=e[o]:g("Invalid parameter to update: ".concat(o))}),t};function an(){const e=a.domCache.get(this),t=a.innerParams.get(this);if(!t){ot(this);return}e.popup&&l.swalCloseEventFinishedCallback&&(l.swalCloseEventFinishedCallback(),delete l.swalCloseEventFinishedCallback),typeof t.didDestroy=="function"&&t.didDestroy(),ln(this)}const ln=e=>{ot(e),delete e.params,delete l.keydownHandler,delete l.keydownTarget,delete l.currentInstance},ot=e=>{e.isAwaitingPromise()?(ve(a,e),a.awaitingPromise.set(e,!0)):(ve(J,e),ve(a,e))},ve=(e,t)=>{for(const o in e)e[o].delete(t)};var nt=Object.freeze({hideLoading:Ke,disableLoading:Ke,getInput:go,close:re,isAwaitingPromise:qo,rejectPromise:Fo,handleAwaitingPromise:G,closePopup:re,closeModal:re,closeToast:re,enableButtons:Uo,disableButtons:Ko,enableInput:Zo,disableInput:Yo,showValidationMessage:$o,resetValidationMessage:_o,getProgressSteps:Xo,update:sn,_destroy:an});const W=e=>{let t=u();t||new le,t=u();const o=z();ne()?w(Y()):cn(t,e),f(o),t.setAttribute("data-loading","true"),t.setAttribute("aria-busy","true"),t.focus()},cn=(e,t)=>{const o=$(),n=z();!t&&y(v())&&(t=v()),f(o),t&&(w(t),n.setAttribute("data-button-to-replace",t.className)),n.parentNode.insertBefore(n,t),c([e,o],s.loading)},un=(e,t)=>{t.input==="select"||t.input==="radio"?mn(e,t):["text","email","number","tel","textarea"].includes(t.input)&&(ue(t.inputValue)||de(t.inputValue))&&(W(v()),gn(e,t))},dn=(e,t)=>{const o=e.getInput();if(!o)return null;switch(t.input){case"checkbox":return fn(o);case"radio":return pn(o);case"file":return wn(o);default:return t.inputAutoTrim?o.value.trim():o.value}},fn=e=>e.checked?1:0,pn=e=>e.checked?e.value:null,wn=e=>e.files.length?e.getAttribute("multiple")!==null?e.files:e.files[0]:null,mn=(e,t)=>{const o=u(),n=i=>{hn[t.input](o,ke(i),t)};ue(t.inputOptions)||de(t.inputOptions)?(W(v()),K(t.inputOptions).then(i=>{e.hideLoading(),n(i)})):typeof t.inputOptions=="object"?n(t.inputOptions):O("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(typeof t.inputOptions))},gn=(e,t)=>{const o=e.getInput();w(o),K(t.inputValue).then(n=>{o.value=t.input==="number"?"".concat(parseFloat(n)||0):"".concat(n),f(o),o.focus(),e.hideLoading()}).catch(n=>{O("Error in inputValue promise: ".concat(n)),o.value="",f(o),o.focus(),e.hideLoading()})},hn={select:(e,t,o)=>{const n=T(e,s.select),i=(r,d,A)=>{const m=document.createElement("option");m.value=A,b(m,d),m.selected=st(A,o.inputValue),r.appendChild(m)};t.forEach(r=>{const d=r[0],A=r[1];if(Array.isArray(A)){const m=document.createElement("optgroup");m.label=d,m.disabled=!1,n.appendChild(m),A.forEach(N=>i(m,N[1],N[0]))}else i(n,A,d)}),n.focus()},radio:(e,t,o)=>{const n=T(e,s.radio);t.forEach(r=>{const d=r[0],A=r[1],m=document.createElement("input"),N=document.createElement("label");m.type="radio",m.name=s.radio,m.value=d,st(d,o.inputValue)&&(m.checked=!0);const Ee=document.createElement("span");b(Ee,A),Ee.className=s.label,N.appendChild(m),N.appendChild(Ee),n.appendChild(N)});const i=n.querySelectorAll("input");i.length&&i[0].focus()}},ke=e=>{const t=[];return typeof Map<"u"&&e instanceof Map?e.forEach((o,n)=>{let i=o;typeof i=="object"&&(i=ke(i)),t.push([n,i])}):Object.keys(e).forEach(o=>{let n=e[o];typeof n=="object"&&(n=ke(n)),t.push([o,n])}),t},st=(e,t)=>t&&t.toString()===e.toString(),bn=e=>{const t=a.innerParams.get(e);e.disableButtons(),t.input?it(e,"confirm"):Ae(e,!0)},yn=e=>{const t=a.innerParams.get(e);e.disableButtons(),t.returnInputValueOnDeny?it(e,"deny"):Pe(e,!1)},xn=(e,t)=>{e.disableButtons(),t(V.cancel)},it=(e,t)=>{const o=a.innerParams.get(e);if(!o.input){O('The "input" parameter is needed to be set when using returnInputValueOn'.concat(ce(t)));return}const n=dn(e,o);o.inputValidator?Cn(e,n,t):e.getInput().checkValidity()?t==="deny"?Pe(e,n):Ae(e,n):(e.enableButtons(),e.showValidationMessage(o.validationMessage))},Cn=(e,t,o)=>{const n=a.innerParams.get(e);e.disableInput(),Promise.resolve().then(()=>K(n.inputValidator(t,n.validationMessage))).then(r=>{e.enableButtons(),e.enableInput(),r?e.showValidationMessage(r):o==="deny"?Pe(e,t):Ae(e,t)})},Pe=(e,t)=>{const o=a.innerParams.get(e||void 0);o.showLoaderOnDeny&&W(S()),o.preDeny?(a.awaitingPromise.set(e||void 0,!0),Promise.resolve().then(()=>K(o.preDeny(t,o.validationMessage))).then(i=>{i===!1?(e.hideLoading(),G(e)):e.close({isDenied:!0,value:typeof i>"u"?t:i})}).catch(i=>at(e||void 0,i))):e.close({isDenied:!0,value:t})},rt=(e,t)=>{e.close({isConfirmed:!0,value:t})},at=(e,t)=>{e.rejectPromise(t)},Ae=(e,t)=>{const o=a.innerParams.get(e||void 0);o.showLoaderOnConfirm&&W(),o.preConfirm?(e.resetValidationMessage(),a.awaitingPromise.set(e||void 0,!0),Promise.resolve().then(()=>K(o.preConfirm(t,o.validationMessage))).then(i=>{y(te())||i===!1?(e.hideLoading(),G(e)):rt(e,typeof i>"u"?t:i)}).catch(i=>at(e||void 0,i))):rt(e,t)},vn=(e,t,o)=>{a.innerParams.get(e).toast?kn(e,t,o):(An(t),Bn(t),En(e,t,o))},kn=(e,t,o)=>{t.popup.onclick=()=>{const n=a.innerParams.get(e);n&&(Pn(n)||n.timer||n.input)||o(V.close)}},Pn=e=>e.showConfirmButton||e.showDenyButton||e.showCancelButton||e.showCloseButton;let ae=!1;const An=e=>{e.popup.onmousedown=()=>{e.container.onmouseup=function(t){e.container.onmouseup=void 0,t.target===e.container&&(ae=!0)}}},Bn=e=>{e.container.onmousedown=()=>{e.popup.onmouseup=function(t){e.popup.onmouseup=void 0,(t.target===e.popup||e.popup.contains(t.target))&&(ae=!0)}}},En=(e,t,o)=>{t.container.onclick=n=>{const i=a.innerParams.get(e);if(ae){ae=!1;return}n.target===t.container&&Q(i.allowOutsideClick)&&o(V.backdrop)}},Sn=e=>typeof e=="object"&&e.jquery,lt=e=>e instanceof Element||Sn(e),Tn=e=>{const t={};return typeof e[0]=="object"&&!lt(e[0])?Object.assign(t,e[0]):["title","html","icon"].forEach((o,n)=>{const i=e[n];typeof i=="string"||lt(i)?t[o]=i:i!==void 0&&O("Unexpected type of ".concat(o,'! Expected "string" or "Element", got ').concat(typeof i))}),t};function In(){const e=this;for(var t=arguments.length,o=new Array(t),n=0;n<t;n++)o[n]=arguments[n];return new e(...o)}function Ln(e){class t extends this{_main(n,i){return super._main(n,Object.assign({},e,i))}}return t}const On=()=>l.timeout&&l.timeout.getTimerLeft(),ct=()=>{if(l.timeout)return Bt(),l.timeout.stop()},ut=()=>{if(l.timeout){const e=l.timeout.start();return ge(e),e}},jn=()=>{const e=l.timeout;return e&&(e.running?ct():ut())},Mn=e=>{if(l.timeout){const t=l.timeout.increase(e);return ge(t,!0),t}},Hn=()=>l.timeout&&l.timeout.isRunning();let dt=!1;const Be={};function zn(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"data-swal-template";Be[e]=this,dt||(document.body.addEventListener("click",Dn),dt=!0)}const Dn=e=>{for(let t=e.target;t&&t!==document;t=t.parentNode)for(const o in Be){const n=t.getAttribute(o);if(n){Be[o].fire({template:n});return}}};var qn=Object.freeze({isValidParameter:et,isUpdatableParameter:tt,isDeprecatedParameter:Ce,argsToParams:Tn,isVisible:ho,clickConfirm:Ze,clickDeny:bo,clickCancel:yo,getContainer:p,getPopup:u,getTitle:Ie,getHtmlContainer:ee,getImage:Le,getIcon:Y,getInputLabel:Ct,getCloseButton:fe,getActions:$,getConfirmButton:v,getDenyButton:S,getCancelButton:j,getLoader:z,getFooter:je,getTimerProgressBar:oe,getFocusableElements:pe,getValidationMessage:te,isLoading:kt,fire:In,mixin:Ln,showLoading:W,enableLoading:W,getTimerLeft:On,stopTimer:ct,resumeTimer:ut,toggleTimer:jn,increaseTimer:Mn,isTimerRunning:Hn,bindClickHandler:zn});class Vn{constructor(t,o){this.callback=t,this.remaining=o,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date().getTime()-this.started.getTime()),this.remaining}increase(t){const o=this.running;return o&&this.stop(),this.remaining+=t,o&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const ft=["swal-title","swal-html","swal-footer"],Fn=e=>{const t=typeof e.template=="string"?document.querySelector(e.template):e.template;if(!t)return{};const o=t.content;return $n(o),Object.assign(Wn(o),Rn(o),Nn(o),Un(o),Kn(o),Zn(o),Yn(o,ft))},Wn=e=>{const t={};return Array.from(e.querySelectorAll("swal-param")).forEach(n=>{H(n,["name","value"]);const i=n.getAttribute("name"),r=n.getAttribute("value");typeof F[i]=="boolean"?t[i]=r!=="false":typeof F[i]=="object"?t[i]=JSON.parse(r):t[i]=r}),t},Rn=e=>{const t={};return Array.from(e.querySelectorAll("swal-function-param")).forEach(n=>{const i=n.getAttribute("name"),r=n.getAttribute("value");t[i]=new Function("return ".concat(r))()}),t},Nn=e=>{const t={};return Array.from(e.querySelectorAll("swal-button")).forEach(n=>{H(n,["type","color","aria-label"]);const i=n.getAttribute("type");t["".concat(i,"ButtonText")]=n.innerHTML,t["show".concat(ce(i),"Button")]=!0,n.hasAttribute("color")&&(t["".concat(i,"ButtonColor")]=n.getAttribute("color")),n.hasAttribute("aria-label")&&(t["".concat(i,"ButtonAriaLabel")]=n.getAttribute("aria-label"))}),t},Un=e=>{const t={},o=e.querySelector("swal-image");return o&&(H(o,["src","width","height","alt"]),o.hasAttribute("src")&&(t.imageUrl=o.getAttribute("src")),o.hasAttribute("width")&&(t.imageWidth=o.getAttribute("width")),o.hasAttribute("height")&&(t.imageHeight=o.getAttribute("height")),o.hasAttribute("alt")&&(t.imageAlt=o.getAttribute("alt"))),t},Kn=e=>{const t={},o=e.querySelector("swal-icon");return o&&(H(o,["type","color"]),o.hasAttribute("type")&&(t.icon=o.getAttribute("type")),o.hasAttribute("color")&&(t.iconColor=o.getAttribute("color")),t.iconHtml=o.innerHTML),t},Zn=e=>{const t={},o=e.querySelector("swal-input");o&&(H(o,["type","label","placeholder","value"]),t.input=o.getAttribute("type")||"text",o.hasAttribute("label")&&(t.inputLabel=o.getAttribute("label")),o.hasAttribute("placeholder")&&(t.inputPlaceholder=o.getAttribute("placeholder")),o.hasAttribute("value")&&(t.inputValue=o.getAttribute("value")));const n=Array.from(e.querySelectorAll("swal-input-option"));return n.length&&(t.inputOptions={},n.forEach(i=>{H(i,["value"]);const r=i.getAttribute("value"),d=i.innerHTML;t.inputOptions[r]=d})),t},Yn=(e,t)=>{const o={};for(const n in t){const i=t[n],r=e.querySelector(i);r&&(H(r,[]),o[i.replace(/^swal-/,"")]=r.innerHTML.trim())}return o},$n=e=>{const t=ft.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(e.children).forEach(o=>{const n=o.tagName.toLowerCase();t.includes(n)||g("Unrecognized element <".concat(n,">"))})},H=(e,t)=>{Array.from(e.attributes).forEach(o=>{t.indexOf(o.name)===-1&&g(['Unrecognized attribute "'.concat(o.name,'" on <').concat(e.tagName.toLowerCase(),">."),"".concat(t.length?"Allowed attributes are: ".concat(t.join(", ")):"To set the value, use HTML within the element.")])})},pt=10,_n=e=>{const t=p(),o=u();typeof e.willOpen=="function"&&e.willOpen(o);const i=window.getComputedStyle(document.body).overflowY;Gn(t,o,e),setTimeout(()=>{Xn(t,o)},pt),we()&&(Jn(t,e.scrollbarPadding,i),Eo()),!ne()&&!l.previousActiveElement&&(l.previousActiveElement=document.activeElement),typeof e.didOpen=="function"&&setTimeout(()=>e.didOpen(o)),k(t,s["no-transition"])},wt=e=>{const t=u();if(e.target!==t)return;const o=p();t.removeEventListener(_,wt),o.style.overflowY="auto"},Xn=(e,t)=>{_&&qe(t)?(e.style.overflowY="hidden",t.addEventListener(_,wt)):e.style.overflowY="auto"},Jn=(e,t,o)=>{So(),t&&o!=="hidden"&&Ho(),setTimeout(()=>{e.scrollTop=0})},Gn=(e,t,o)=>{c(e,o.showClass.backdrop),t.style.setProperty("opacity","0","important"),f(t,"grid"),setTimeout(()=>{c(t,o.showClass.popup),t.style.removeProperty("opacity")},pt),c([document.documentElement,document.body],s.shown),o.heightAuto&&o.backdrop&&!o.toast&&c([document.documentElement,document.body],s["height-auto"])};var mt={email:(e,t)=>/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid email address"),url:(e,t)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid URL")};function Qn(e){e.inputValidator||Object.keys(mt).forEach(t=>{e.input===t&&(e.inputValidator=mt[t])})}function es(e){(!e.target||typeof e.target=="string"&&!document.querySelector(e.target)||typeof e.target!="string"&&!e.target.appendChild)&&(g('Target parameter is not valid, defaulting to "body"'),e.target="body")}function ts(e){Qn(e),e.showLoaderOnConfirm&&!e.preConfirm&&g(`showLoaderOnConfirm is set to true, but preConfirm is not defined.
showLoaderOnConfirm should be used together with preConfirm, see usage example:
https://sweetalert2.github.io/#ajax-request`),es(e),typeof e.title=="string"&&(e.title=e.title.split(`
`).join("<br />")),zt(e)}let P;class R{constructor(){if(typeof window>"u")return;P=this;for(var t=arguments.length,o=new Array(t),n=0;n<t;n++)o[n]=arguments[n];const i=Object.freeze(this.constructor.argsToParams(o));Object.defineProperties(this,{params:{value:i,writable:!1,enumerable:!0,configurable:!0}});const r=P._main(P.params);a.promise.set(this,r)}_main(t){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};nn(Object.assign({},o,t)),l.currentInstance&&(l.currentInstance._destroy(),we()&&_e()),l.currentInstance=P;const n=ns(t,o);ts(n),Object.freeze(n),l.timeout&&(l.timeout.stop(),delete l.timeout),clearTimeout(l.restoreFocusTimeout);const i=ss(P);return Ue(P,n),a.innerParams.set(P,n),os(P,i,n)}then(t){return a.promise.get(this).then(t)}finally(t){return a.promise.get(this).finally(t)}}const os=(e,t,o)=>new Promise((n,i)=>{const r=d=>{e.close({isDismissed:!0,dismiss:d})};J.swalPromiseResolve.set(e,n),J.swalPromiseReject.set(e,i),t.confirmButton.onclick=()=>{bn(e)},t.denyButton.onclick=()=>{yn(e)},t.cancelButton.onclick=()=>{xn(e,r)},t.closeButton.onclick=()=>{r(V.close)},vn(e,t,r),xo(e,l,o,r),un(e,o),_n(o),is(l,o,r),rs(t,o),setTimeout(()=>{t.container.scrollTop=0})}),ns=(e,t)=>{const o=Fn(e),n=Object.assign({},F,t,o,e);return n.showClass=Object.assign({},F.showClass,n.showClass),n.hideClass=Object.assign({},F.hideClass,n.hideClass),n},ss=e=>{const t={popup:u(),container:p(),actions:$(),confirmButton:v(),denyButton:S(),cancelButton:j(),loader:z(),closeButton:fe(),validationMessage:te(),progressSteps:Oe()};return a.domCache.set(e,t),t},is=(e,t,o)=>{const n=oe();w(n),t.timer&&(e.timeout=new Vn(()=>{o("timer"),delete e.timeout},t.timer),t.timerProgressBar&&(f(n),C(n,t,"timerProgressBar"),setTimeout(()=>{e.timeout&&e.timeout.running&&ge(t.timer)})))},rs=(e,t)=>{if(!t.toast){if(!Q(t.allowEnterKey)){ls();return}as(e,t)||xe(t,-1,1)}},as=(e,t)=>t.focusDeny&&y(e.denyButton)?(e.denyButton.focus(),!0):t.focusCancel&&y(e.cancelButton)?(e.cancelButton.focus(),!0):t.focusConfirm&&y(e.confirmButton)?(e.confirmButton.focus(),!0):!1,ls=()=>{document.activeElement instanceof HTMLElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur()};typeof window<"u"&&/^ru\b/.test(navigator.language)&&location.host.match(/\.(ru|su|xn--p1ai)$/)&&(document.body.style.pointerEvents="none"),Object.assign(R.prototype,nt),Object.assign(R,qn),Object.keys(nt).forEach(e=>{R[e]=function(){if(P)return P[e](...arguments)}}),R.DismissReason=V,R.version="11.5.1";const le=R;return le.default=le,le}),typeof I<"u"&&I.Sweetalert2&&(I.swal=I.sweetAlert=I.Swal=I.SweetAlert=I.Sweetalert2),typeof document<"u"&&function(a,L){var B=a.createElement("style");if(a.getElementsByTagName("head")[0].appendChild(B),B.styleSheet)B.styleSheet.disabled||(B.styleSheet.cssText=L);else try{B.innerHTML=L}catch{B.innerText=L}}(document,'.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4!important;grid-row:1/4!important;grid-template-columns:1fr 99fr 1fr;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px hsla(0deg,0%,0%,.075),0 1px 2px hsla(0deg,0%,0%,.075),1px 2px 4px hsla(0deg,0%,0%,.075),1px 3px 8px hsla(0deg,0%,0%,.075),2px 4px 16px hsla(0deg,0%,0%,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:700}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.8em;left:-.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{animation:swal2-toast-hide .1s forwards}.swal2-container{display:grid;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;box-sizing:border-box;grid-template-areas:"top-start     top            top-end" "center-start  center         center-end" "bottom-start  bottom-center  bottom-end";grid-template-rows:minmax(min-content,auto) minmax(min-content,auto) minmax(min-content,auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show,.swal2-container.swal2-noanimation{background:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background:0 0!important}.swal2-container.swal2-bottom-start,.swal2-container.swal2-center-start,.swal2-container.swal2-top-start{grid-template-columns:minmax(0,1fr) auto auto}.swal2-container.swal2-bottom,.swal2-container.swal2-center,.swal2-container.swal2-top{grid-template-columns:auto minmax(0,1fr) auto}.swal2-container.swal2-bottom-end,.swal2-container.swal2-center-end,.swal2-container.swal2-top-end{grid-template-columns:auto auto minmax(0,1fr)}.swal2-container.swal2-top-start>.swal2-popup{align-self:start}.swal2-container.swal2-top>.swal2-popup{grid-column:2;align-self:start;justify-self:center}.swal2-container.swal2-top-end>.swal2-popup,.swal2-container.swal2-top-right>.swal2-popup{grid-column:3;align-self:start;justify-self:end}.swal2-container.swal2-center-left>.swal2-popup,.swal2-container.swal2-center-start>.swal2-popup{grid-row:2;align-self:center}.swal2-container.swal2-center>.swal2-popup{grid-column:2;grid-row:2;align-self:center;justify-self:center}.swal2-container.swal2-center-end>.swal2-popup,.swal2-container.swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;align-self:center;justify-self:end}.swal2-container.swal2-bottom-left>.swal2-popup,.swal2-container.swal2-bottom-start>.swal2-popup{grid-column:1;grid-row:3;align-self:end}.swal2-container.swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;justify-self:center;align-self:end}.swal2-container.swal2-bottom-end>.swal2-popup,.swal2-container.swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;align-self:end;justify-self:end}.swal2-container.swal2-grow-fullscreen>.swal2-popup,.swal2-container.swal2-grow-row>.swal2-popup{grid-column:1/4;width:100%}.swal2-container.swal2-grow-column>.swal2-popup,.swal2-container.swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}.swal2-container.swal2-no-transition{transition:none!important}.swal2-popup{display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0,100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:#545454;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-title{position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-loader{display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 transparent #2778c4 transparent}.swal2-styled{margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px transparent;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}.swal2-styled.swal2-confirm:focus{box-shadow:0 0 0 3px rgba(112,102,224,.5)}.swal2-styled.swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}.swal2-styled.swal2-deny:focus{box-shadow:0 0 0 3px rgba(220,55,65,.5)}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}.swal2-styled.swal2-cancel:focus{box-shadow:0 0 0 3px rgba(110,120,129,.5)}.swal2-styled.swal2-default-outline:focus{box-shadow:0 0 0 3px rgba(100,150,200,.5)}.swal2-styled:focus{outline:0}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto!important;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:2em auto 1em}.swal2-close{z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:0 0;color:#ccc;font-family:serif;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}.swal2-close:hover{transform:none;background:0 0;color:#f27474}.swal2-close:focus{outline:0;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}.swal2-close::-moz-focus-inner{border:0}.swal2-html-container{z-index:1;justify-content:center;margin:1em 1.6em .3em;padding:0;overflow:auto;color:inherit;font-size:1.125em;font-weight:400;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em 2em 3px}.swal2-file,.swal2-input,.swal2-textarea{box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:0 0;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px transparent;color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em 2em 3px;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-file{width:75%;margin-right:auto;margin-left:auto;background:0 0;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:0 0;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{align-items:center;justify-content:center;background:#fff;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{flex-shrink:0;margin:0 .4em}.swal2-input-label{display:flex;justify-content:center;margin:1em auto 0}.swal2-validation-message{align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:.25em solid transparent;border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:0 0;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{animation:swal2-show .3s}.swal2-hide{animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-container{background-color:transparent!important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static!important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:transparent;pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}')})(gt);var us=gt.exports;const ps=cs(us);export{ps as S};
