!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):n.Sweetalert2=t()}(this,function(){"use strict";function w(n){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function nr(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function tr(n,t){for(var i,r=0;r=r.progressSteps.length&&c("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)");r.progressSteps.forEach(function(t,e){var c,o,h,s,l=(c=t,o=document.createElement("li"),i(o,n["progress-step"]),o.innerHTML=c,o),a;(u.appendChild(l),e===f&&i(l,n["active-progress-step"]),e!==r.progressSteps.length-1)&&(a=(h=t,s=document.createElement("li"),i(s,n["progress-step-line"]),h.progressStepsDistance&&(s.style.width=h.progressStepsDistance),s),u.appendChild(a))})}function vf(t,r){var f,o,s,c,a=cr();h(a,r,"header");af(0,r),function(t,r){var o=u.innerParams.get(t),f;o&&r.icon===o.icon&&ei()?h(ei(),r,"icon"):(yf(),r.icon)&&(-1!==Object.keys(d).indexOf(r.icon)?(f=lt(".".concat(n.icon,".").concat(d[r.icon])),e(f),wf(f,r),pf(),h(f,r,"icon"),i(f,r.showClass.icon)):nt('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(r.icon,'"')))}(t,r),function(t){var i=sr();if(!t.imageUrl)return l(i);e(i);i.setAttribute("src",t.imageUrl);i.setAttribute("alt",t.imageAlt);pt(i,"width",t.imageWidth);pt(i,"height",t.imageHeight);i.className=n.image;h(i,t,"image")}(r);f=r;o=or();wt(o,f.title||f.titleText);f.title&&vi(f.title,o);f.titleText&&(o.innerText=f.titleText);h(o,f,"title");s=r;(c=hi()).innerHTML=s.closeButtonHtml;h(c,s,"closeButton");wt(c,s.showCloseButton);c.setAttribute("aria-label",s.closeButtonAriaLabel)}function iu(n,t){var i,u,f,e;i=t;u=r();pt(u,"width",i.width);pt(u,"padding",i.padding);i.background&&(u.style.background=i.background);bf(u,i);ef(0,t);vf(n,t);lf(n,t);tf(0,t);f=t;e=lr();wt(e,f.footer);f.footer&&vi(f.footer,e);h(e,f,"footer");"function"==typeof t.onRender&&t.onRender(r())}function ru(){return tt()&&tt().click()}function bt(){var t=r(),u,f;t||rt.fire();t=r();u=at();f=tt();e(u);e(f,"inline-block");i([t,u],n.loading);f.disabled=!0;t.setAttribute("data-loading",!0);t.setAttribute("aria-busy",!0);t.focus()}function kf(){return new Promise(function(n){var i=window.scrollX,r=window.scrollY;t.restoreFocusTimeout=setTimeout(function(){t.previousActiveElement&&t.previousActiveElement.focus?(t.previousActiveElement.focus(),t.previousActiveElement=null):document.body&&document.body.focus();n()},100);void 0!==i&&void 0!==r&&window.scrollTo(i,r)})}function fu(){if(t.timeout)return function(){var n=si(),r=parseInt(window.getComputedStyle(n).width),t,i;n.style.removeProperty("transition");n.style.width="100%";t=parseInt(window.getComputedStyle(n).width);i=parseInt(r/t*100);n.style.removeProperty("transition");n.style.width="".concat(i,"%")}(),t.timeout.stop()}function eu(){if(t.timeout){var n=t.timeout.start();return ai(n),n}}function ou(n){return Object.prototype.hasOwnProperty.call(kt,n)}function pi(n){return gf[n]}function su(){var i=u.innerParams.get(this),t;i&&(t=u.domCache.get(this),i.showConfirmButton||(l(t.confirmButton),i.showCancelButton||l(t.actions)),b([t.popup,t.actions],n.loading),t.popup.removeAttribute("aria-busy"),t.popup.removeAttribute("data-loading"),t.confirmButton.disabled=!1,t.cancelButton.disabled=!1)}function ie(){null===ot.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(ot.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(ot.previousBodyPadding+function(){var t=document.createElement("div"),i;return t.className=n["scrollbar-measure"],document.body.appendChild(t),i=t.getBoundingClientRect().width-t.clientWidth,document.body.removeChild(t),i}(),"px"))}function hu(){return!!window.MSInputMethodContext&&!!document.documentMode}function wi(){var n=f(),t=r();n.style.removeProperty("align-items");t.offsetTop<0&&(n.style.alignItems="flex-start")}function lu(i,r,u,f){u?bi(i,f):(kf().then(function(){return bi(i,f)}),t.keydownTarget.removeEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!1);r.parentNode&&r.parentNode.removeChild(r);ar()&&(null!==ot.previousBodyPadding&&(document.body.style.paddingRight="".concat(ot.previousBodyPadding,"px"),ot.previousBodyPadding=null),function(){if(st(document.body,n.iosfix)){var t=parseInt(document.body.style.top,10);b(document.body,n.iosfix);document.body.style.top="";document.body.scrollTop=-1*t}}(),"undefined"!=typeof window&&hu()&&window.removeEventListener("resize",wi),ut(document.body.children).forEach(function(n){n.hasAttribute("data-previous-aria-hidden")?(n.setAttribute("aria-hidden",n.getAttribute("data-previous-aria-hidden")),n.removeAttribute("data-previous-aria-hidden")):n.removeAttribute("aria-hidden")}));b([document.documentElement,document.body],[n.shown,n["height-auto"],n["no-backdrop"],n["toast-shown"],n["toast-column"]])}function gt(n){var e=r(),t,s,o;e&&(t=u.innerParams.get(this),t&&!st(e,t.hideClass.popup)&&(s=dt.swalPromiseResolve.get(this),b(e,t.showClass.popup),i(e,t.hideClass.popup),o=f(),b(o,t.showClass.backdrop),i(o,t.hideClass.backdrop),function(n,t,i){var u=f(),o=ht&&br(t),r=i.onClose,e=i.onAfterClose;r!==null&&typeof r=="function"&&r(t);o?vu(n,t,u,e):lu(n,u,yt(),e)}(this,e,t),s(n||{})))}function au(n){for(var t in n)n[t]=new WeakMap}function yu(n,t,i){var r=u.domCache.get(n);t.forEach(function(n){r[n].disabled=i})}function pu(n,t){if(!n)return!1;if("radio"===n.type)for(var r=n.parentNode.parentNode.querySelectorAll("input"),i=0;i"));uf(n)}function ue(n){var u=f(),i=r();"function"==typeof n.onBeforeOpen&&n.onBeforeOpen(i);ae(u,i,n);ce(u,i);ar()&&le(u,n.scrollbarPadding);yt()||t.previousActiveElement||(t.previousActiveElement=document.activeElement);"function"==typeof n.onOpen&&setTimeout(function(){return n.onOpen(i)})}function bu(n){var t=r(),i;n.target===t&&(i=f(),t.removeEventListener(ht,bu),i.style.overflowY="auto")}function fe(n,t){"select"===t.input||"radio"===t.input?we(n,t):-1!==["text","email","number","tel","textarea"].indexOf(t.input)&&ui(t.inputValue)&&be(n,t)}function ee(n,t){n.disableButtons();t.input?ge(n,t):gi(n,t,!0)}function oe(n,t){n.disableButtons();t(et.cancel)}function ku(n,t){n.closePopup({value:t})}function se(n,t,i,u){t.keydownTarget&&t.keydownHandlerAdded&&(t.keydownTarget.removeEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!1);i.toast||(t.keydownHandler=function(t){return io(n,t,i,u)},t.keydownTarget=i.keydownListenerCapture?window:r(),t.keydownListenerCapture=i.keydownListenerCapture,t.keydownTarget.addEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!0)}function di(n,t,i){for(var u=ci(),f=0;f\n
\n
    <\/ul>\n
    <\/div>\n
    <\/div>\n
    <\/div>\n
    <\/div>\n
    <\/div>\n \n

    <\/h2>\n