!function(t,e){"object"==typeofexports&&"undefined"!=typeofmodule?module.exports=e():"function"==typeofdefine&&define.amd?define(e):t.Sweetalert2=e()}(this,function(){"use strict";functionr(t){return(r="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft})(t)}functiono(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}functioni(t,e){for(varn=0;n<e.length;n++){varo=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"ino&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}functiona(t,e,n){returne&&i(t.prototype,e),n&&i(t,n),t}functions(){return(s=Object.assign||function(t){for(vare=1;e<arguments.length;e++){varn=arguments[e];for(varoinn)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}returnt}).apply(this,arguments)}functionu(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){returnt.__proto__||Object.getPrototypeOf(t)})(t)}functionc(t,e){return(c=Object.setPrototypeOf||function(t,e){returnt.__proto__=e,t})(t,e)}functionl(t,e,n){return(l=function(){if("undefined"==typeofReflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeofProxy)return!0;try{returnDate.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()?Reflect.construct:function(t,e,n){varo=[null];o.push.apply(o,e);vari=new(Function.bind.apply(t,o));returnn&&c(i,n.prototype),i}).apply(null,arguments)}functiond(t,e){return!e||"object"!=typeofe&&"function"!=typeofe?function(t){if(void0===t)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");returnt}(t):e}functionp(t,e,n){return(p="undefined"!=typeofReflect&&Reflect.get?Reflect.get:function(t,e,n){varo=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=u(t)););returnt}(t,e);if(o){vari=Object.getOwnPropertyDescriptor(o,e);returni.get?i.get.call(n):i.value}})(t,e,n||t)}functionf(e){returnObject.keys(e).map(function(t){returne[t]})}functionm(t){returnArray.prototype.slice.call(t)}functiong(t){console.error("".concat(e," ").concat(t))}functionh(t,e){!function(t){-1===n.indexOf(t)&&(n.push(t),w(t))}('"'.concat(t,'" is deprecated and will be removed in the next major release. Please use "').concat(e,'" instead.'))}functionv(t){returnt&&Promise.resolve(t)===t}functiont(t){vare={};for(varnint)e[t[n]]="swal2-"+t[n];returne}functionb(t,e){returnt.classList.contains(e)}functiony(t,e,n){if(function(e){m(e.classList).forEach(function(t){-1===f(x).indexOf(t)&&-1===f(S).indexOf(t)&&e.classList.remove(t)})}(t),e&&e[n]){if("string"!=typeofe[n]&&!e[n].forEach)returnw("Invalid type of customClass.".concat(n,'! Expected string or iterable object, got "').concat(r(e[n]),'"'));rt(t,e[n])}}vare="SweetAlert2:",w=function(t){console.warn("".concat(e," ").concat(t))},n=[],C=function(t){return"function"==typeoft?t():t},k=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),x=t(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","toast","toast-shown","toast-column","fade","show","hide","noanimation","close","title","header","content","actions","confirm","cancel","footer","icon","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","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"]),S=t(["success","warning","info","question","error"]),P={previousBodyPadding:null};functionB(t,e){if(!e)returnnull;switch(e){case"select":case"textarea":case"file":returnst(t,x[e]);case"checkbox":returnt.querySelector(".".concat(x.checkbox," input"));case"radio":returnt.querySelector