HEX
Server: LiteSpeed
System: Linux pulsar191.sitesanctuary.org 5.14.0-284.30.1.el9.tuxcare.els9.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jan 10 17:34:05 UTC 2025 x86_64
User: lgooir (1604)
PHP: 8.1.32
Disabled: exec,system,passthru,shell_exec,escapeshellarg,escapeshellcmd,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/lgooir/.trash/rising-bamboo/dist/js/admin/rising-bamboo-core-license.js
/*! For license information please see rising-bamboo-core-license.js.LICENSE.txt */
(()=>{var e={2152:function(e){var t;t=function(){return function(){var e={686:function(e,t,n){"use strict";n.d(t,{default:function(){return k}});var o=n(279),r=n.n(o),i=n(370),a=n.n(i),s=n(817),l=n.n(s);function c(e){try{return document.execCommand(e)}catch(e){return!1}}var u=function(e){var t=l()(e);return c("cut"),t},d=function(e,t){var n=function(e){var t="rtl"===document.documentElement.getAttribute("dir"),n=document.createElement("textarea");n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[t?"right":"left"]="-9999px";var o=window.pageYOffset||document.documentElement.scrollTop;return n.style.top="".concat(o,"px"),n.setAttribute("readonly",""),n.value=e,n}(e);t.container.appendChild(n);var o=l()(n);return c("copy"),n.remove(),o},p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"==typeof e?n=d(e,t):e instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==e?void 0:e.type)?n=d(e.value,t):(n=l()(e),c("copy")),n};function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}var m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,n=void 0===t?"copy":t,o=e.container,r=e.target,i=e.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==r){if(!r||"object"!==f(r)||1!==r.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&r.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(r.hasAttribute("readonly")||r.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return i?p(i,{container:o}):r?"cut"===n?u(r):p(r,{container:o}):void 0};function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}function h(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o,r,i=y(e);if(t){var a=y(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return o=this,!(r=n)||"object"!==w(r)&&"function"!=typeof r?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(o):r}}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function v(e,t){var n="data-clipboard-".concat(e);if(t.hasAttribute(n))return t.getAttribute(n)}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(i,e);var t,n,o,r=b(i);function i(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(n=r.call(this)).resolveOptions(t),n.listenClick(e),n}return t=i,n=[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===w(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=a()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget,n=this.action(t)||"copy",o=m({action:n,container:this.container,target:this.target(t),text:this.text(t)});this.emit(o?"success":"error",{action:n,text:o,trigger:t,clearSelection:function(){t&&t.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(e){return v("action",e)}},{key:"defaultTarget",value:function(e){var t=v("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return v("text",e)}},{key:"destroy",value:function(){this.listener.destroy()}}],o=[{key:"copy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return p(e,t)}},{key:"cut",value:function(e){return u(e)}},{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}],n&&h(t.prototype,n),o&&h(t,o),i}(r()),k=x},828:function(e){if("undefined"!=typeof Element&&!Element.prototype.matches){var t=Element.prototype;t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},438:function(e,t,n){var o=n(828);function r(e,t,n,o,r){var a=i.apply(this,arguments);return e.addEventListener(n,a,r),{destroy:function(){e.removeEventListener(n,a,r)}}}function i(e,t,n,r){return function(n){n.delegateTarget=o(n.target,t),n.delegateTarget&&r.call(e,n)}}e.exports=function(e,t,n,o,i){return"function"==typeof e.addEventListener?r.apply(null,arguments):"function"==typeof n?r.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return r(e,t,n,o,i)})))}},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},370:function(e,t,n){var o=n(879),r=n(438);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!o.string(t))throw new TypeError("Second argument must be a String");if(!o.fn(n))throw new TypeError("Third argument must be a Function");if(o.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(o.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(o.string(e))return function(e,t,n){return r(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(e){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var o=window.getSelection(),r=document.createRange();r.selectNodeContents(e),o.removeAllRanges(),o.addRange(r),t=o.toString()}return t}},279:function(e){function t(){}t.prototype={on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;o<r;o++)n[o].fn.apply(n[o].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),o=n[e],r=[];if(o&&t)for(var i=0,a=o.length;i<a;i++)o[i].fn!==t&&o[i].fn._!==t&&r.push(o[i]);return r.length?n[e]=r:delete n[e],this}},e.exports=t,e.exports.TinyEmitter=t}},t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={exports:{}};return e[o](r,r.exports,n),r.exports}return n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n(686)}().default},e.exports=t()},6455:function(e){e.exports=function(){"use strict";const e=100,t={},n=()=>{t.previousActiveElement instanceof HTMLElement?(t.previousActiveElement.focus(),t.previousActiveElement=null):document.body&&document.body.focus()},o=o=>new Promise((r=>{if(!o)return r();const i=window.scrollX,a=window.scrollY;t.restoreFocusTimeout=setTimeout((()=>{n(),r()}),e),window.scrollTo(i,a)}));var r={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap};const i="swal2-",a=["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"].reduce(((e,t)=>(e[t]=i+t,e)),{}),s=["success","warning","info","question","error"].reduce(((e,t)=>(e[t]=i+t,e)),{}),l="SweetAlert2:",c=e=>e.charAt(0).toUpperCase()+e.slice(1),u=e=>{console.warn(`${l} ${"object"==typeof e?e.join(" "):e}`)},d=e=>{console.error(`${l} ${e}`)},p=[],f=e=>{p.includes(e)||(p.push(e),u(e))},m=(e,t)=>{f(`"${e}" is deprecated and will be removed in the next major release. Please use "${t}" instead.`)},w=e=>"function"==typeof e?e():e,h=e=>e&&"function"==typeof e.toPromise,g=e=>h(e)?e.toPromise():Promise.resolve(e),b=e=>e&&Promise.resolve(e)===e,y=()=>document.body.querySelector(`.${a.container}`),v=e=>{const t=y();return t?t.querySelector(e):null},x=e=>v(`.${e}`),k=()=>x(a.popup),C=()=>x(a.icon),A=()=>x(a["icon-content"]),O=()=>x(a.title),E=()=>x(a["html-container"]),P=()=>x(a.image),j=()=>x(a["progress-steps"]),S=()=>x(a["validation-message"]),T=()=>v(`.${a.actions} .${a.confirm}`),B=()=>v(`.${a.actions} .${a.cancel}`),L=()=>v(`.${a.actions} .${a.deny}`),$=()=>x(a["input-label"]),M=()=>v(`.${a.loader}`),D=()=>x(a.actions),H=()=>x(a.footer),I=()=>x(a["timer-progress-bar"]),q=()=>x(a.close),z='\n  a[href],\n  area[href],\n  input:not([disabled]),\n  select:not([disabled]),\n  textarea:not([disabled]),\n  button:not([disabled]),\n  iframe,\n  object,\n  embed,\n  [tabindex="0"],\n  [contenteditable],\n  audio[controls],\n  video[controls],\n  summary\n',V=()=>{const e=k();if(!e)return[];const t=e.querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'),n=Array.from(t).sort(((e,t)=>{const n=parseInt(e.getAttribute("tabindex")||"0"),o=parseInt(t.getAttribute("tabindex")||"0");return n>o?1:n<o?-1:0})),o=e.querySelectorAll(z),r=Array.from(o).filter((e=>"-1"!==e.getAttribute("tabindex")));return[...new Set(n.concat(r))].filter((e=>ie(e)))},R=()=>F(document.body,a.shown)&&!F(document.body,a["toast-shown"])&&!F(document.body,a["no-backdrop"]),N=()=>{const e=k();return!!e&&F(e,a.toast)},_=()=>{const e=k();return!!e&&e.hasAttribute("data-loading")},W=(e,t)=>{if(e.textContent="",t){const n=(new DOMParser).parseFromString(t,"text/html"),o=n.querySelector("head");o&&Array.from(o.childNodes).forEach((t=>{e.appendChild(t)}));const r=n.querySelector("body");r&&Array.from(r.childNodes).forEach((t=>{t instanceof HTMLVideoElement||t instanceof HTMLAudioElement?e.appendChild(t.cloneNode(!0)):e.appendChild(t)}))}},F=(e,t)=>{if(!t)return!1;const n=t.split(/\s+/);for(let t=0;t<n.length;t++)if(!e.classList.contains(n[t]))return!1;return!0},U=(e,t)=>{Array.from(e.classList).forEach((n=>{Object.values(a).includes(n)||Object.values(s).includes(n)||Object.values(t.showClass||{}).includes(n)||e.classList.remove(n)}))},Y=(e,t,n)=>{if(U(e,t),t.customClass&&t.customClass[n]){if("string"!=typeof t.customClass[n]&&!t.customClass[n].forEach)return void u(`Invalid type of customClass.${n}! Expected string or iterable object, got "${typeof t.customClass[n]}"`);J(e,t.customClass[n])}},Z=(e,t)=>{if(!t)return null;switch(t){case"select":case"textarea":case"file":return e.querySelector(`.${a.popup} > .${a[t]}`);case"checkbox":return e.querySelector(`.${a.popup} > .${a.checkbox} input`);case"radio":return e.querySelector(`.${a.popup} > .${a.radio} input:checked`)||e.querySelector(`.${a.popup} > .${a.radio} input:first-child`);case"range":return e.querySelector(`.${a.popup} > .${a.range} input`);default:return e.querySelector(`.${a.popup} > .${a.input}`)}},K=e=>{if(e.focus(),"file"!==e.type){const t=e.value;e.value="",e.value=t}},X=(e,t,n)=>{e&&t&&("string"==typeof t&&(t=t.split(/\s+/).filter(Boolean)),t.forEach((t=>{Array.isArray(e)?e.forEach((e=>{n?e.classList.add(t):e.classList.remove(t)})):n?e.classList.add(t):e.classList.remove(t)})))},J=(e,t)=>{X(e,t,!0)},G=(e,t)=>{X(e,t,!1)},Q=(e,t)=>{const n=Array.from(e.children);for(let e=0;e<n.length;e++){const o=n[e];if(o instanceof HTMLElement&&F(o,t))return o}},ee=(e,t,n)=>{n===`${parseInt(n)}`&&(n=parseInt(n)),n||0===parseInt(n)?e.style[t]="number"==typeof n?`${n}px`:n:e.style.removeProperty(t)},te=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"flex";e&&(e.style.display=t)},ne=e=>{e&&(e.style.display="none")},oe=(e,t,n,o)=>{const r=e.querySelector(t);r&&(r.style[n]=o)},re=function(e,t){t?te(e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"flex"):ne(e)},ie=e=>!(!e||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)),ae=()=>!ie(T())&&!ie(L())&&!ie(B()),se=e=>!!(e.scrollHeight>e.clientHeight),le=e=>{const t=window.getComputedStyle(e),n=parseFloat(t.getPropertyValue("animation-duration")||"0"),o=parseFloat(t.getPropertyValue("transition-duration")||"0");return n>0||o>0},ce=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=I();ie(n)&&(t&&(n.style.transition="none",n.style.width="100%"),setTimeout((()=>{n.style.transition=`width ${e/1e3}s linear`,n.style.width="0%"}),10))},ue=()=>{const e=I(),t=parseInt(window.getComputedStyle(e).width);e.style.removeProperty("transition"),e.style.width="100%";const n=t/parseInt(window.getComputedStyle(e).width)*100;e.style.width=`${n}%`},de=()=>"undefined"==typeof window||"undefined"==typeof document,pe=`\n <div aria-labelledby="${a.title}" aria-describedby="${a["html-container"]}" class="${a.popup}" tabindex="-1">\n   <button type="button" class="${a.close}"></button>\n   <ul class="${a["progress-steps"]}"></ul>\n   <div class="${a.icon}"></div>\n   <img class="${a.image}" />\n   <h2 class="${a.title}" id="${a.title}"></h2>\n   <div class="${a["html-container"]}" id="${a["html-container"]}"></div>\n   <input class="${a.input}" id="${a.input}" />\n   <input type="file" class="${a.file}" />\n   <div class="${a.range}">\n     <input type="range" />\n     <output></output>\n   </div>\n   <select class="${a.select}" id="${a.select}"></select>\n   <div class="${a.radio}"></div>\n   <label class="${a.checkbox}">\n     <input type="checkbox" id="${a.checkbox}" />\n     <span class="${a.label}"></span>\n   </label>\n   <textarea class="${a.textarea}" id="${a.textarea}"></textarea>\n   <div class="${a["validation-message"]}" id="${a["validation-message"]}"></div>\n   <div class="${a.actions}">\n     <div class="${a.loader}"></div>\n     <button type="button" class="${a.confirm}"></button>\n     <button type="button" class="${a.deny}"></button>\n     <button type="button" class="${a.cancel}"></button>\n   </div>\n   <div class="${a.footer}"></div>\n   <div class="${a["timer-progress-bar-container"]}">\n     <div class="${a["timer-progress-bar"]}"></div>\n   </div>\n </div>\n`.replace(/(^|\n)\s*/g,""),fe=()=>{const e=y();return!!e&&(e.remove(),G([document.documentElement,document.body],[a["no-backdrop"],a["toast-shown"],a["has-column"]]),!0)},me=()=>{t.currentInstance.resetValidationMessage()},we=()=>{const e=k(),t=Q(e,a.input),n=Q(e,a.file),o=e.querySelector(`.${a.range} input`),r=e.querySelector(`.${a.range} output`),i=Q(e,a.select),s=e.querySelector(`.${a.checkbox} input`),l=Q(e,a.textarea);t.oninput=me,n.onchange=me,i.onchange=me,s.onchange=me,l.oninput=me,o.oninput=()=>{me(),r.value=o.value},o.onchange=()=>{me(),r.value=o.value}},he=e=>"string"==typeof e?document.querySelector(e):e,ge=e=>{const t=k();t.setAttribute("role",e.toast?"alert":"dialog"),t.setAttribute("aria-live",e.toast?"polite":"assertive"),e.toast||t.setAttribute("aria-modal","true")},be=e=>{"rtl"===window.getComputedStyle(e).direction&&J(y(),a.rtl)},ye=e=>{const t=fe();if(de())return void d("SweetAlert2 requires document to initialize");const n=document.createElement("div");n.className=a.container,t&&J(n,a["no-transition"]),W(n,pe);const o=he(e.target);o.appendChild(n),ge(e),be(o),we()},ve=(e,t)=>{e instanceof HTMLElement?t.appendChild(e):"object"==typeof e?xe(e,t):e&&W(t,e)},xe=(e,t)=>{e.jquery?ke(t,e):W(t,e.toString())},ke=(e,t)=>{if(e.textContent="",0 in t)for(let n=0;n in t;n++)e.appendChild(t[n].cloneNode(!0));else e.appendChild(t.cloneNode(!0))},Ce=(()=>{if(de())return!1;const e=document.createElement("div"),t={WebkitAnimation:"webkitAnimationEnd",animation:"animationend"};for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&void 0!==e.style[n])return t[n];return!1})(),Ae=(e,t)=>{const n=D(),o=M();n&&o&&(t.showConfirmButton||t.showDenyButton||t.showCancelButton?te(n):ne(n),Y(n,t,"actions"),Oe(n,o,t),W(o,t.loaderHtml||""),Y(o,t,"loader"))};function Oe(e,t,n){const o=T(),r=L(),i=B();o&&r&&i&&(Pe(o,"confirm",n),Pe(r,"deny",n),Pe(i,"cancel",n),Ee(o,r,i,n),n.reverseButtons&&(n.toast?(e.insertBefore(i,o),e.insertBefore(r,o)):(e.insertBefore(i,t),e.insertBefore(r,t),e.insertBefore(o,t))))}function Ee(e,t,n,o){o.buttonsStyling?(J([e,t,n],a.styled),o.confirmButtonColor&&(e.style.backgroundColor=o.confirmButtonColor,J(e,a["default-outline"])),o.denyButtonColor&&(t.style.backgroundColor=o.denyButtonColor,J(t,a["default-outline"])),o.cancelButtonColor&&(n.style.backgroundColor=o.cancelButtonColor,J(n,a["default-outline"]))):G([e,t,n],a.styled)}function Pe(e,t,n){const o=c(t);re(e,n[`show${o}Button`],"inline-block"),W(e,n[`${t}ButtonText`]||""),e.setAttribute("aria-label",n[`${t}ButtonAriaLabel`]||""),e.className=a[t],Y(e,n,`${t}Button`)}const je=(e,t)=>{const n=q();n&&(W(n,t.closeButtonHtml||""),Y(n,t,"closeButton"),re(n,t.showCloseButton),n.setAttribute("aria-label",t.closeButtonAriaLabel||""))},Se=(e,t)=>{const n=y();n&&(Te(n,t.backdrop),Be(n,t.position),Le(n,t.grow),Y(n,t,"container"))};function Te(e,t){"string"==typeof t?e.style.background=t:t||J([document.documentElement,document.body],a["no-backdrop"])}function Be(e,t){t&&(t in a?J(e,a[t]):(u('The "position" parameter is not valid, defaulting to "center"'),J(e,a.center)))}function Le(e,t){t&&J(e,a[`grow-${t}`])}const $e=["input","file","range","select","radio","checkbox","textarea"],Me=(e,t)=>{const n=k(),o=r.innerParams.get(e),i=!o||t.input!==o.input;$e.forEach((e=>{const o=Q(n,a[e]);Ie(e,t.inputAttributes),o.className=a[e],i&&ne(o)})),t.input&&(i&&De(t),qe(t))},De=e=>{if(!_e[e.input])return void d(`Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "${e.input}"`);const t=Re(e.input),n=_e[e.input](t,e);te(t),e.inputAutoFocus&&setTimeout((()=>{K(n)}))},He=e=>{for(let t=0;t<e.attributes.length;t++){const n=e.attributes[t].name;["id","type","value","style"].includes(n)||e.removeAttribute(n)}},Ie=(e,t)=>{const n=Z(k(),e);if(n){He(n);for(const e in t)n.setAttribute(e,t[e])}},qe=e=>{const t=Re(e.input);"object"==typeof e.customClass&&J(t,e.customClass.input)},ze=(e,t)=>{e.placeholder&&!t.inputPlaceholder||(e.placeholder=t.inputPlaceholder)},Ve=(e,t,n)=>{if(n.inputLabel){const o=document.createElement("label"),r=a["input-label"];o.setAttribute("for",e.id),o.className=r,"object"==typeof n.customClass&&J(o,n.customClass.inputLabel),o.innerText=n.inputLabel,t.insertAdjacentElement("beforebegin",o)}},Re=e=>Q(k(),a[e]||a.input),Ne=(e,t)=>{["string","number"].includes(typeof t)?e.value=`${t}`:b(t)||u(`Unexpected type of inputValue! Expected "string", "number" or "Promise", got "${typeof t}"`)},_e={};_e.text=_e.email=_e.password=_e.number=_e.tel=_e.url=(e,t)=>(Ne(e,t.inputValue),Ve(e,e,t),ze(e,t),e.type=t.input,e),_e.file=(e,t)=>(Ve(e,e,t),ze(e,t),e),_e.range=(e,t)=>{const n=e.querySelector("input"),o=e.querySelector("output");return Ne(n,t.inputValue),n.type=t.input,Ne(o,t.inputValue),Ve(n,e,t),e},_e.select=(e,t)=>{if(e.textContent="",t.inputPlaceholder){const n=document.createElement("option");W(n,t.inputPlaceholder),n.value="",n.disabled=!0,n.selected=!0,e.appendChild(n)}return Ve(e,e,t),e},_e.radio=e=>(e.textContent="",e),_e.checkbox=(e,t)=>{const n=Z(k(),"checkbox");n.value="1",n.checked=Boolean(t.inputValue);const o=e.querySelector("span");return W(o,t.inputPlaceholder),n},_e.textarea=(e,t)=>{Ne(e,t.inputValue),ze(e,t),Ve(e,e,t);const n=e=>parseInt(window.getComputedStyle(e).marginLeft)+parseInt(window.getComputedStyle(e).marginRight);return setTimeout((()=>{if("MutationObserver"in window){const o=parseInt(window.getComputedStyle(k()).width);new MutationObserver((()=>{if(!document.body.contains(e))return;const r=e.offsetWidth+n(e);r>o?k().style.width=`${r}px`:ee(k(),"width",t.width)})).observe(e,{attributes:!0,attributeFilter:["style"]})}})),e};const We=(e,t)=>{const n=E();n&&(Y(n,t,"htmlContainer"),t.html?(ve(t.html,n),te(n,"block")):t.text?(n.textContent=t.text,te(n,"block")):ne(n),Me(e,t))},Fe=(e,t)=>{const n=H();n&&(re(n,t.footer),t.footer&&ve(t.footer,n),Y(n,t,"footer"))},Ue=(e,t)=>{const n=r.innerParams.get(e),o=C();if(o){if(n&&t.icon===n.icon)return Je(o,t),void Ye(o,t);if(t.icon||t.iconHtml){if(t.icon&&-1===Object.keys(s).indexOf(t.icon))return d(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${t.icon}"`),void ne(o);te(o),Je(o,t),Ye(o,t),J(o,t.showClass&&t.showClass.icon)}else ne(o)}},Ye=(e,t)=>{for(const[n,o]of Object.entries(s))t.icon!==n&&G(e,o);J(e,t.icon&&s[t.icon]),Ge(e,t),Ze(),Y(e,t,"icon")},Ze=()=>{const e=k();if(!e)return;const t=window.getComputedStyle(e).getPropertyValue("background-color"),n=e.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let e=0;e<n.length;e++)n[e].style.backgroundColor=t},Ke='\n  <div class="swal2-success-circular-line-left"></div>\n  <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n  <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>\n  <div class="swal2-success-circular-line-right"></div>\n',Xe='\n  <span class="swal2-x-mark">\n    <span class="swal2-x-mark-line-left"></span>\n    <span class="swal2-x-mark-line-right"></span>\n  </span>\n',Je=(e,t)=>{if(!t.icon&&!t.iconHtml)return;let n=e.innerHTML,o="";t.iconHtml?o=Qe(t.iconHtml):"success"===t.icon?(o=Ke,n=n.replace(/ style=".*?"/g,"")):"error"===t.icon?o=Xe:t.icon&&(o=Qe({question:"?",warning:"!",info:"i"}[t.icon])),n.trim()!==o.trim()&&W(e,o)},Ge=(e,t)=>{if(t.iconColor){e.style.color=t.iconColor,e.style.borderColor=t.iconColor;for(const n of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])oe(e,n,"backgroundColor",t.iconColor);oe(e,".swal2-success-ring","borderColor",t.iconColor)}},Qe=e=>`<div class="${a["icon-content"]}">${e}</div>`,et=(e,t)=>{const n=P();n&&(t.imageUrl?(te(n,""),n.setAttribute("src",t.imageUrl),n.setAttribute("alt",t.imageAlt||""),ee(n,"width",t.imageWidth),ee(n,"height",t.imageHeight),n.className=a.image,Y(n,t,"image")):ne(n))},tt=(e,t)=>{const n=y(),o=k();if(n&&o){if(t.toast){ee(n,"width",t.width),o.style.width="100%";const e=M();e&&o.insertBefore(e,C())}else ee(o,"width",t.width);ee(o,"padding",t.padding),t.color&&(o.style.color=t.color),t.background&&(o.style.background=t.background),ne(S()),nt(o,t)}},nt=(e,t)=>{const n=t.showClass||{};e.className=`${a.popup} ${ie(e)?n.popup:""}`,t.toast?(J([document.documentElement,document.body],a["toast-shown"]),J(e,a.toast)):J(e,a.modal),Y(e,t,"popup"),"string"==typeof t.customClass&&J(e,t.customClass),t.icon&&J(e,a[`icon-${t.icon}`])},ot=(e,t)=>{const n=j();if(!n)return;const{progressSteps:o,currentProgressStep:r}=t;o&&0!==o.length&&void 0!==r?(te(n),n.textContent="",r>=o.length&&u("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),o.forEach(((e,i)=>{const s=rt(e);if(n.appendChild(s),i===r&&J(s,a["active-progress-step"]),i!==o.length-1){const e=it(t);n.appendChild(e)}}))):ne(n)},rt=e=>{const t=document.createElement("li");return J(t,a["progress-step"]),W(t,e),t},it=e=>{const t=document.createElement("li");return J(t,a["progress-step-line"]),e.progressStepsDistance&&ee(t,"width",e.progressStepsDistance),t},at=(e,t)=>{const n=O();n&&(re(n,t.title||t.titleText,"block"),t.title&&ve(t.title,n),t.titleText&&(n.innerText=t.titleText),Y(n,t,"title"))},st=(e,t)=>{tt(e,t),Se(e,t),ot(e,t),Ue(e,t),et(e,t),at(e,t),je(e,t),We(e,t),Ae(e,t),Fe(e,t);const n=k();"function"==typeof t.didRender&&n&&t.didRender(n)},lt=()=>ie(k()),ct=()=>T()&&T().click(),ut=()=>L()&&L().click(),dt=()=>B()&&B().click(),pt=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),ft=e=>{e.keydownTarget&&e.keydownHandlerAdded&&(e.keydownTarget.removeEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1)},mt=(e,t,n,o)=>{ft(t),n.toast||(t.keydownHandler=t=>bt(e,t,o),t.keydownTarget=n.keydownListenerCapture?window:k(),t.keydownListenerCapture=n.keydownListenerCapture,t.keydownTarget.addEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!0)},wt=(e,t)=>{const n=V();if(n.length)return(e+=t)===n.length?e=0:-1===e&&(e=n.length-1),void n[e].focus();k().focus()},ht=["ArrowRight","ArrowDown"],gt=["ArrowLeft","ArrowUp"],bt=(e,t,n)=>{const o=r.innerParams.get(e);o&&(t.isComposing||229===t.keyCode||(o.stopKeydownPropagation&&t.stopPropagation(),"Enter"===t.key?yt(e,t,o):"Tab"===t.key?vt(t):[...ht,...gt].includes(t.key)?xt(t.key):"Escape"===t.key&&kt(t,o,n)))},yt=(e,t,n)=>{if(w(n.allowEnterKey)&&t.target&&e.getInput()&&t.target instanceof HTMLElement&&t.target.outerHTML===e.getInput().outerHTML){if(["textarea","file"].includes(n.input))return;ct(),t.preventDefault()}},vt=e=>{const t=e.target,n=V();let o=-1;for(let e=0;e<n.length;e++)if(t===n[e]){o=e;break}e.shiftKey?wt(o,-1):wt(o,1),e.stopPropagation(),e.preventDefault()},xt=e=>{const t=[T(),L(),B()];if(document.activeElement instanceof HTMLElement&&!t.includes(document.activeElement))return;const n=ht.includes(e)?"nextElementSibling":"previousElementSibling";let o=document.activeElement;for(let e=0;e<D().children.length;e++){if(o=o[n],!o)return;if(o instanceof HTMLButtonElement&&ie(o))break}o instanceof HTMLButtonElement&&o.focus()},kt=(e,t,n)=>{w(t.allowEscapeKey)&&(e.preventDefault(),n(pt.esc))};var Ct={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const At=()=>{Array.from(document.body.children).forEach((e=>{e===y()||e.contains(y())||(e.hasAttribute("aria-hidden")&&e.setAttribute("data-previous-aria-hidden",e.getAttribute("aria-hidden")||""),e.setAttribute("aria-hidden","true"))}))},Ot=()=>{Array.from(document.body.children).forEach((e=>{e.hasAttribute("data-previous-aria-hidden")?(e.setAttribute("aria-hidden",e.getAttribute("data-previous-aria-hidden")||""),e.removeAttribute("data-previous-aria-hidden")):e.removeAttribute("aria-hidden")}))},Et="undefined"!=typeof window&&!!window.GestureEvent,Pt=()=>{if(Et&&!F(document.body,a.iosfix)){const e=document.body.scrollTop;document.body.style.top=-1*e+"px",J(document.body,a.iosfix),jt()}},jt=()=>{const e=y();let t;e.ontouchstart=e=>{t=St(e)},e.ontouchmove=e=>{t&&(e.preventDefault(),e.stopPropagation())}},St=e=>{const t=e.target,n=y();return!(Tt(e)||Bt(e)||t!==n&&(se(n)||!(t instanceof HTMLElement)||"INPUT"===t.tagName||"TEXTAREA"===t.tagName||se(E())&&E().contains(t)))},Tt=e=>e.touches&&e.touches.length&&"stylus"===e.touches[0].touchType,Bt=e=>e.touches&&e.touches.length>1,Lt=()=>{if(F(document.body,a.iosfix)){const e=parseInt(document.body.style.top,10);G(document.body,a.iosfix),document.body.style.top="",document.body.scrollTop=-1*e}},$t=()=>{const e=document.createElement("div");e.className=a["scrollbar-measure"],document.body.appendChild(e);const t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t};let Mt=null;const Dt=()=>{null===Mt&&document.body.scrollHeight>window.innerHeight&&(Mt=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=`${Mt+$t()}px`)},Ht=()=>{null!==Mt&&(document.body.style.paddingRight=`${Mt}px`,Mt=null)};function It(e,n,r,i){N()?Ut(e,i):(o(r).then((()=>Ut(e,i))),ft(t)),Et?(n.setAttribute("style","display:none !important"),n.removeAttribute("class"),n.innerHTML=""):n.remove(),R()&&(Ht(),Lt(),Ot()),qt()}function qt(){G([document.documentElement,document.body],[a.shown,a["height-auto"],a["no-backdrop"],a["toast-shown"]])}function zt(e){e=_t(e);const t=Ct.swalPromiseResolve.get(this),n=Vt(this);this.isAwaitingPromise?e.isDismissed||(Nt(this),t(e)):n&&t(e)}const Vt=e=>{const t=k();if(!t)return!1;const n=r.innerParams.get(e);if(!n||F(t,n.hideClass.popup))return!1;G(t,n.showClass.popup),J(t,n.hideClass.popup);const o=y();return G(o,n.showClass.backdrop),J(o,n.hideClass.backdrop),Wt(e,t,n),!0};function Rt(e){const t=Ct.swalPromiseReject.get(this);Nt(this),t&&t(e)}const Nt=e=>{e.isAwaitingPromise&&(delete e.isAwaitingPromise,r.innerParams.get(e)||e._destroy())},_t=e=>void 0===e?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},e),Wt=(e,t,n)=>{const o=y(),r=Ce&&le(t);"function"==typeof n.willClose&&n.willClose(t),r?Ft(e,t,o,n.returnFocus,n.didClose):It(e,o,n.returnFocus,n.didClose)},Ft=(e,n,o,r,i)=>{t.swalCloseEventFinishedCallback=It.bind(null,e,o,r,i),n.addEventListener(Ce,(function(e){e.target===n&&(t.swalCloseEventFinishedCallback(),delete t.swalCloseEventFinishedCallback)}))},Ut=(e,t)=>{setTimeout((()=>{"function"==typeof t&&t.bind(e.params)(),e._destroy&&e._destroy()}))},Yt=e=>{let t=k();t||new Fo,t=k();const n=M();N()?ne(C()):Zt(t,e),te(n),t.setAttribute("data-loading","true"),t.setAttribute("aria-busy","true"),t.focus()},Zt=(e,t)=>{const n=D(),o=M();!t&&ie(T())&&(t=T()),te(n),t&&(ne(t),o.setAttribute("data-button-to-replace",t.className)),o.parentNode.insertBefore(o,t),J([e,n],a.loading)},Kt=(e,t)=>{"select"===t.input||"radio"===t.input?en(e,t):["text","email","number","tel","textarea"].includes(t.input)&&(h(t.inputValue)||b(t.inputValue))&&(Yt(T()),tn(e,t))},Xt=(e,t)=>{const n=e.getInput();if(!n)return null;switch(t.input){case"checkbox":return Jt(n);case"radio":return Gt(n);case"file":return Qt(n);default:return t.inputAutoTrim?n.value.trim():n.value}},Jt=e=>e.checked?1:0,Gt=e=>e.checked?e.value:null,Qt=e=>e.files.length?null!==e.getAttribute("multiple")?e.files:e.files[0]:null,en=(e,t)=>{const n=k(),o=e=>{nn[t.input](n,on(e),t)};h(t.inputOptions)||b(t.inputOptions)?(Yt(T()),g(t.inputOptions).then((t=>{e.hideLoading(),o(t)}))):"object"==typeof t.inputOptions?o(t.inputOptions):d("Unexpected type of inputOptions! Expected object, Map or Promise, got "+typeof t.inputOptions)},tn=(e,t)=>{const n=e.getInput();ne(n),g(t.inputValue).then((o=>{n.value="number"===t.input?`${parseFloat(o)||0}`:`${o}`,te(n),n.focus(),e.hideLoading()})).catch((t=>{d(`Error in inputValue promise: ${t}`),n.value="",te(n),n.focus(),e.hideLoading()}))},nn={select:(e,t,n)=>{const o=Q(e,a.select),r=(e,t,o)=>{const r=document.createElement("option");r.value=o,W(r,t),r.selected=rn(o,n.inputValue),e.appendChild(r)};t.forEach((e=>{const t=e[0],n=e[1];if(Array.isArray(n)){const e=document.createElement("optgroup");e.label=t,e.disabled=!1,o.appendChild(e),n.forEach((t=>r(e,t[1],t[0])))}else r(o,n,t)})),o.focus()},radio:(e,t,n)=>{const o=Q(e,a.radio);t.forEach((e=>{const t=e[0],r=e[1],i=document.createElement("input"),s=document.createElement("label");i.type="radio",i.name=a.radio,i.value=t,rn(t,n.inputValue)&&(i.checked=!0);const l=document.createElement("span");W(l,r),l.className=a.label,s.appendChild(i),s.appendChild(l),o.appendChild(s)}));const r=o.querySelectorAll("input");r.length&&r[0].focus()}},on=e=>{const t=[];return"undefined"!=typeof Map&&e instanceof Map?e.forEach(((e,n)=>{let o=e;"object"==typeof o&&(o=on(o)),t.push([n,o])})):Object.keys(e).forEach((n=>{let o=e[n];"object"==typeof o&&(o=on(o)),t.push([n,o])})),t},rn=(e,t)=>t&&t.toString()===e.toString(),an=e=>{const t=r.innerParams.get(e);e.disableButtons(),t.input?cn(e,"confirm"):mn(e,!0)},sn=e=>{const t=r.innerParams.get(e);e.disableButtons(),t.returnInputValueOnDeny?cn(e,"deny"):dn(e,!1)},ln=(e,t)=>{e.disableButtons(),t(pt.cancel)},cn=(e,t)=>{const n=r.innerParams.get(e);if(!n.input)return void d(`The "input" parameter is needed to be set when using returnInputValueOn${c(t)}`);const o=Xt(e,n);n.inputValidator?un(e,o,t):e.getInput().checkValidity()?"deny"===t?dn(e,o):mn(e,o):(e.enableButtons(),e.showValidationMessage(n.validationMessage))},un=(e,t,n)=>{const o=r.innerParams.get(e);e.disableInput(),Promise.resolve().then((()=>g(o.inputValidator(t,o.validationMessage)))).then((o=>{e.enableButtons(),e.enableInput(),o?e.showValidationMessage(o):"deny"===n?dn(e,t):mn(e,t)}))},dn=(e,t)=>{const n=r.innerParams.get(e||void 0);n.showLoaderOnDeny&&Yt(L()),n.preDeny?(e.isAwaitingPromise=!0,Promise.resolve().then((()=>g(n.preDeny(t,n.validationMessage)))).then((n=>{!1===n?(e.hideLoading(),Nt(e)):e.close({isDenied:!0,value:void 0===n?t:n})})).catch((t=>fn(e||void 0,t)))):e.close({isDenied:!0,value:t})},pn=(e,t)=>{e.close({isConfirmed:!0,value:t})},fn=(e,t)=>{e.rejectPromise(t)},mn=(e,t)=>{const n=r.innerParams.get(e||void 0);n.showLoaderOnConfirm&&Yt(),n.preConfirm?(e.resetValidationMessage(),e.isAwaitingPromise=!0,Promise.resolve().then((()=>g(n.preConfirm(t,n.validationMessage)))).then((n=>{ie(S())||!1===n?(e.hideLoading(),Nt(e)):pn(e,void 0===n?t:n)})).catch((t=>fn(e||void 0,t)))):pn(e,t)};function wn(){const e=r.innerParams.get(this);if(!e)return;const t=r.domCache.get(this);ne(t.loader),N()?e.icon&&te(C()):hn(t),G([t.popup,t.actions],a.loading),t.popup.removeAttribute("aria-busy"),t.popup.removeAttribute("data-loading"),t.confirmButton.disabled=!1,t.denyButton.disabled=!1,t.cancelButton.disabled=!1}const hn=e=>{const t=e.popup.getElementsByClassName(e.loader.getAttribute("data-button-to-replace"));t.length?te(t[0],"inline-block"):ae()&&ne(e.actions)};function gn(){const e=r.innerParams.get(this),t=r.domCache.get(this);return t?Z(t.popup,e.input):null}function bn(e,t,n){const o=r.domCache.get(e);t.forEach((e=>{o[e].disabled=n}))}function yn(e,t){if(e)if("radio"===e.type){const n=e.parentNode.parentNode.querySelectorAll("input");for(let e=0;e<n.length;e++)n[e].disabled=t}else e.disabled=t}function vn(){bn(this,["confirmButton","denyButton","cancelButton"],!1)}function xn(){bn(this,["confirmButton","denyButton","cancelButton"],!0)}function kn(){yn(this.getInput(),!1)}function Cn(){yn(this.getInput(),!0)}function An(e){const t=r.domCache.get(this),n=r.innerParams.get(this);W(t.validationMessage,e),t.validationMessage.className=a["validation-message"],n.customClass&&n.customClass.validationMessage&&J(t.validationMessage,n.customClass.validationMessage),te(t.validationMessage);const o=this.getInput();o&&(o.setAttribute("aria-invalid",!0),o.setAttribute("aria-describedby",a["validation-message"]),K(o),J(o,a.inputerror))}function On(){const e=r.domCache.get(this);e.validationMessage&&ne(e.validationMessage);const t=this.getInput();t&&(t.removeAttribute("aria-invalid"),t.removeAttribute("aria-describedby"),G(t,a.inputerror))}const En={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:{},inputAutoFocus:!0,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},Pn=["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"],jn={},Sn=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],Tn=e=>Object.prototype.hasOwnProperty.call(En,e),Bn=e=>-1!==Pn.indexOf(e),Ln=e=>jn[e],$n=e=>{Tn(e)||u(`Unknown parameter "${e}"`)},Mn=e=>{Sn.includes(e)&&u(`The parameter "${e}" is incompatible with toasts`)},Dn=e=>{const t=Ln(e);t&&m(e,t)},Hn=e=>{!1===e.backdrop&&e.allowOutsideClick&&u('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const t in e)$n(t),e.toast&&Mn(t),Dn(t)};function In(e){const t=k(),n=r.innerParams.get(this);if(!t||F(t,n.hideClass.popup))return void u("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 o=qn(e),i=Object.assign({},n,o);st(this,i),r.innerParams.set(this,i),Object.defineProperties(this,{params:{value:Object.assign({},this.params,e),writable:!1,enumerable:!0}})}const qn=e=>{const t={};return Object.keys(e).forEach((n=>{Bn(n)?t[n]=e[n]:u(`Invalid parameter to update: ${n}`)})),t};function zn(){const e=r.domCache.get(this),n=r.innerParams.get(this);n?(e.popup&&t.swalCloseEventFinishedCallback&&(t.swalCloseEventFinishedCallback(),delete t.swalCloseEventFinishedCallback),"function"==typeof n.didDestroy&&n.didDestroy(),Vn(this)):Rn(this)}const Vn=e=>{Rn(e),delete e.params,delete t.keydownHandler,delete t.keydownTarget,delete t.currentInstance},Rn=e=>{e.isAwaitingPromise?(Nn(r,e),e.isAwaitingPromise=!0):(Nn(Ct,e),Nn(r,e),delete e.isAwaitingPromise,delete e.disableButtons,delete e.enableButtons,delete e.getInput,delete e.disableInput,delete e.enableInput,delete e.hideLoading,delete e.disableLoading,delete e.showValidationMessage,delete e.resetValidationMessage,delete e.close,delete e.closePopup,delete e.closeModal,delete e.closeToast,delete e.rejectPromise,delete e.update,delete e._destroy)},Nn=(e,t)=>{for(const n in e)e[n].delete(t)};var _n=Object.freeze({__proto__:null,_destroy:zn,close:zt,closeModal:zt,closePopup:zt,closeToast:zt,disableButtons:xn,disableInput:Cn,disableLoading:wn,enableButtons:vn,enableInput:kn,getInput:gn,handleAwaitingPromise:Nt,hideLoading:wn,rejectPromise:Rt,resetValidationMessage:On,showValidationMessage:An,update:In});const Wn=(e,t,n)=>{r.innerParams.get(e).toast?Fn(e,t,n):(Zn(t),Kn(t),Xn(e,t,n))},Fn=(e,t,n)=>{t.popup.onclick=()=>{const t=r.innerParams.get(e);t&&(Un(t)||t.timer||t.input)||n(pt.close)}},Un=e=>e.showConfirmButton||e.showDenyButton||e.showCancelButton||e.showCloseButton;let Yn=!1;const Zn=e=>{e.popup.onmousedown=()=>{e.container.onmouseup=function(t){e.container.onmouseup=void 0,t.target===e.container&&(Yn=!0)}}},Kn=e=>{e.container.onmousedown=()=>{e.popup.onmouseup=function(t){e.popup.onmouseup=void 0,(t.target===e.popup||e.popup.contains(t.target))&&(Yn=!0)}}},Xn=(e,t,n)=>{t.container.onclick=o=>{const i=r.innerParams.get(e);Yn?Yn=!1:o.target===t.container&&w(i.allowOutsideClick)&&n(pt.backdrop)}},Jn=e=>"object"==typeof e&&e.jquery,Gn=e=>e instanceof Element||Jn(e),Qn=e=>{const t={};return"object"!=typeof e[0]||Gn(e[0])?["title","html","icon"].forEach(((n,o)=>{const r=e[o];"string"==typeof r||Gn(r)?t[n]=r:void 0!==r&&d(`Unexpected type of ${n}! Expected "string" or "Element", got ${typeof r}`)})):Object.assign(t,e[0]),t};function eo(){const e=this;for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return new e(...n)}function to(e){class t extends(this){_main(t,n){return super._main(t,Object.assign({},e,n))}}return t}const no=()=>t.timeout&&t.timeout.getTimerLeft(),oo=()=>{if(t.timeout)return ue(),t.timeout.stop()},ro=()=>{if(t.timeout){const e=t.timeout.start();return ce(e),e}},io=()=>{const e=t.timeout;return e&&(e.running?oo():ro())},ao=e=>{if(t.timeout){const n=t.timeout.increase(e);return ce(n,!0),n}},so=()=>!(!t.timeout||!t.timeout.isRunning());let lo=!1;const co={};function uo(){co[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"data-swal-template"]=this,lo||(document.body.addEventListener("click",po),lo=!0)}const po=e=>{for(let t=e.target;t&&t!==document;t=t.parentNode)for(const e in co){const n=t.getAttribute(e);if(n)return void co[e].fire({template:n})}};var fo=Object.freeze({__proto__:null,argsToParams:Qn,bindClickHandler:uo,clickCancel:dt,clickConfirm:ct,clickDeny:ut,enableLoading:Yt,fire:eo,getActions:D,getCancelButton:B,getCloseButton:q,getConfirmButton:T,getContainer:y,getDenyButton:L,getFocusableElements:V,getFooter:H,getHtmlContainer:E,getIcon:C,getIconContent:A,getImage:P,getInputLabel:$,getLoader:M,getPopup:k,getProgressSteps:j,getTimerLeft:no,getTimerProgressBar:I,getTitle:O,getValidationMessage:S,increaseTimer:ao,isDeprecatedParameter:Ln,isLoading:_,isTimerRunning:so,isUpdatableParameter:Bn,isValidParameter:Tn,isVisible:lt,mixin:to,resumeTimer:ro,showLoading:Yt,stopTimer:oo,toggleTimer:io});class mo{constructor(e,t){this.callback=e,this.remaining=t,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.started&&this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=(new Date).getTime()-this.started.getTime()),this.remaining}increase(e){const t=this.running;return t&&this.stop(),this.remaining+=e,t&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const wo=["swal-title","swal-html","swal-footer"],ho=e=>{const t="string"==typeof e.template?document.querySelector(e.template):e.template;if(!t)return{};const n=t.content;return Ao(n),Object.assign(go(n),bo(n),yo(n),vo(n),xo(n),ko(n),Co(n,wo))},go=e=>{const t={};return Array.from(e.querySelectorAll("swal-param")).forEach((e=>{Oo(e,["name","value"]);const n=e.getAttribute("name"),o=e.getAttribute("value");"boolean"==typeof En[n]?t[n]="false"!==o:"object"==typeof En[n]?t[n]=JSON.parse(o):t[n]=o})),t},bo=e=>{const t={};return Array.from(e.querySelectorAll("swal-function-param")).forEach((e=>{const n=e.getAttribute("name"),o=e.getAttribute("value");t[n]=new Function(`return ${o}`)()})),t},yo=e=>{const t={};return Array.from(e.querySelectorAll("swal-button")).forEach((e=>{Oo(e,["type","color","aria-label"]);const n=e.getAttribute("type");t[`${n}ButtonText`]=e.innerHTML,t[`show${c(n)}Button`]=!0,e.hasAttribute("color")&&(t[`${n}ButtonColor`]=e.getAttribute("color")),e.hasAttribute("aria-label")&&(t[`${n}ButtonAriaLabel`]=e.getAttribute("aria-label"))})),t},vo=e=>{const t={},n=e.querySelector("swal-image");return n&&(Oo(n,["src","width","height","alt"]),n.hasAttribute("src")&&(t.imageUrl=n.getAttribute("src")),n.hasAttribute("width")&&(t.imageWidth=n.getAttribute("width")),n.hasAttribute("height")&&(t.imageHeight=n.getAttribute("height")),n.hasAttribute("alt")&&(t.imageAlt=n.getAttribute("alt"))),t},xo=e=>{const t={},n=e.querySelector("swal-icon");return n&&(Oo(n,["type","color"]),n.hasAttribute("type")&&(t.icon=n.getAttribute("type")),n.hasAttribute("color")&&(t.iconColor=n.getAttribute("color")),t.iconHtml=n.innerHTML),t},ko=e=>{const t={},n=e.querySelector("swal-input");n&&(Oo(n,["type","label","placeholder","value"]),t.input=n.getAttribute("type")||"text",n.hasAttribute("label")&&(t.inputLabel=n.getAttribute("label")),n.hasAttribute("placeholder")&&(t.inputPlaceholder=n.getAttribute("placeholder")),n.hasAttribute("value")&&(t.inputValue=n.getAttribute("value")));const o=Array.from(e.querySelectorAll("swal-input-option"));return o.length&&(t.inputOptions={},o.forEach((e=>{Oo(e,["value"]);const n=e.getAttribute("value"),o=e.innerHTML;t.inputOptions[n]=o}))),t},Co=(e,t)=>{const n={};for(const o in t){const r=t[o],i=e.querySelector(r);i&&(Oo(i,[]),n[r.replace(/^swal-/,"")]=i.innerHTML.trim())}return n},Ao=e=>{const t=wo.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(e.children).forEach((e=>{const n=e.tagName.toLowerCase();t.includes(n)||u(`Unrecognized element <${n}>`)}))},Oo=(e,t)=>{Array.from(e.attributes).forEach((n=>{-1===t.indexOf(n.name)&&u([`Unrecognized attribute "${n.name}" on <${e.tagName.toLowerCase()}>.`,t.length?`Allowed attributes are: ${t.join(", ")}`:"To set the value, use HTML within the element."])}))},Eo=10,Po=e=>{const n=y(),o=k();"function"==typeof e.willOpen&&e.willOpen(o);const r=window.getComputedStyle(document.body).overflowY;Bo(n,o,e),setTimeout((()=>{So(n,o)}),Eo),R()&&(To(n,e.scrollbarPadding,r),At()),N()||t.previousActiveElement||(t.previousActiveElement=document.activeElement),"function"==typeof e.didOpen&&setTimeout((()=>e.didOpen(o))),G(n,a["no-transition"])},jo=e=>{const t=k();if(e.target!==t)return;const n=y();t.removeEventListener(Ce,jo),n.style.overflowY="auto"},So=(e,t)=>{Ce&&le(t)?(e.style.overflowY="hidden",t.addEventListener(Ce,jo)):e.style.overflowY="auto"},To=(e,t,n)=>{Pt(),t&&"hidden"!==n&&Dt(),setTimeout((()=>{e.scrollTop=0}))},Bo=(e,t,n)=>{J(e,n.showClass.backdrop),t.style.setProperty("opacity","0","important"),te(t,"grid"),setTimeout((()=>{J(t,n.showClass.popup),t.style.removeProperty("opacity")}),Eo),J([document.documentElement,document.body],a.shown),n.heightAuto&&n.backdrop&&!n.toast&&J([document.documentElement,document.body],a["height-auto"])};var Lo={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 $o(e){e.inputValidator||("email"===e.input&&(e.inputValidator=Lo.email),"url"===e.input&&(e.inputValidator=Lo.url))}function Mo(e){(!e.target||"string"==typeof e.target&&!document.querySelector(e.target)||"string"!=typeof e.target&&!e.target.appendChild)&&(u('Target parameter is not valid, defaulting to "body"'),e.target="body")}function Do(e){$o(e),e.showLoaderOnConfirm&&!e.preConfirm&&u("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),Mo(e),"string"==typeof e.title&&(e.title=e.title.split("\n").join("<br />")),ye(e)}let Ho;class Io{constructor(){if("undefined"==typeof window)return;Ho=this;for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const o=Object.freeze(this.constructor.argsToParams(t));this.params=o,this.isAwaitingPromise=!1;const i=Ho._main(Ho.params);r.promise.set(this,i)}_main(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Hn(Object.assign({},n,e)),t.currentInstance&&(t.currentInstance._destroy(),R()&&Ot()),t.currentInstance=Ho;const o=zo(e,n);Do(o),Object.freeze(o),t.timeout&&(t.timeout.stop(),delete t.timeout),clearTimeout(t.restoreFocusTimeout);const i=Vo(Ho);return st(Ho,o),r.innerParams.set(Ho,o),qo(Ho,i,o)}then(e){return r.promise.get(this).then(e)}finally(e){return r.promise.get(this).finally(e)}}const qo=(e,n,o)=>new Promise(((r,i)=>{const a=t=>{e.close({isDismissed:!0,dismiss:t})};Ct.swalPromiseResolve.set(e,r),Ct.swalPromiseReject.set(e,i),n.confirmButton.onclick=()=>{an(e)},n.denyButton.onclick=()=>{sn(e)},n.cancelButton.onclick=()=>{ln(e,a)},n.closeButton.onclick=()=>{a(pt.close)},Wn(e,n,a),mt(e,t,o,a),Kt(e,o),Po(o),Ro(t,o,a),No(n,o),setTimeout((()=>{n.container.scrollTop=0}))})),zo=(e,t)=>{const n=ho(e),o=Object.assign({},En,t,n,e);return o.showClass=Object.assign({},En.showClass,o.showClass),o.hideClass=Object.assign({},En.hideClass,o.hideClass),o},Vo=e=>{const t={popup:k(),container:y(),actions:D(),confirmButton:T(),denyButton:L(),cancelButton:B(),loader:M(),closeButton:q(),validationMessage:S(),progressSteps:j()};return r.domCache.set(e,t),t},Ro=(e,t,n)=>{const o=I();ne(o),t.timer&&(e.timeout=new mo((()=>{n("timer"),delete e.timeout}),t.timer),t.timerProgressBar&&(te(o),Y(o,t,"timerProgressBar"),setTimeout((()=>{e.timeout&&e.timeout.running&&ce(t.timer)}))))},No=(e,t)=>{t.toast||(w(t.allowEnterKey)?_o(e,t)||wt(-1,1):Wo())},_o=(e,t)=>t.focusDeny&&ie(e.denyButton)?(e.denyButton.focus(),!0):t.focusCancel&&ie(e.cancelButton)?(e.cancelButton.focus(),!0):!(!t.focusConfirm||!ie(e.confirmButton)||(e.confirmButton.focus(),0)),Wo=()=>{document.activeElement instanceof HTMLElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()};if("undefined"!=typeof window&&/^ru\b/.test(navigator.language)&&location.host.match(/\.(ru|su|by|xn--p1ai)$/)){const e=new Date,t=localStorage.getItem("swal-initiation");t?(e.getTime()-Date.parse(t))/864e5>3&&setTimeout((()=>{document.body.style.pointerEvents="none";const e=document.createElement("audio");e.src="https://flag-gimn.ru/wp-content/uploads/2021/09/Ukraina.mp3",e.loop=!0,document.body.appendChild(e),setTimeout((()=>{e.play().catch((()=>{}))}),2500)}),500):localStorage.setItem("swal-initiation",`${e}`)}Io.prototype.disableButtons=xn,Io.prototype.enableButtons=vn,Io.prototype.getInput=gn,Io.prototype.disableInput=Cn,Io.prototype.enableInput=kn,Io.prototype.hideLoading=wn,Io.prototype.disableLoading=wn,Io.prototype.showValidationMessage=An,Io.prototype.resetValidationMessage=On,Io.prototype.close=zt,Io.prototype.closePopup=zt,Io.prototype.closeModal=zt,Io.prototype.closeToast=zt,Io.prototype.rejectPromise=Rt,Io.prototype.update=In,Io.prototype._destroy=zn,Object.assign(Io,fo),Object.keys(_n).forEach((e=>{Io[e]=function(){return Ho&&Ho[e]?Ho[e](...arguments):null}})),Io.DismissReason=pt,Io.version="11.7.20";const Fo=Io;return Fo.default=Fo,Fo}(),void 0!==this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2),"undefined"!=typeof document&&function(e,t){var n=e.createElement("style");if(e.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=t);else try{n.innerHTML=t}catch(e){n.innerText=t}}(document,'.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,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:bold}.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:-0.8em;left:-0.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:-0.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}div:where(.swal2-container){display:grid;position:fixed;z-index:1060;inset: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}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:rgba(0,0,0,.4)}div:where(.swal2-container).swal2-backdrop-hide{background:rgba(0,0,0,0) !important}div:where(.swal2-container).swal2-top-start,div:where(.swal2-container).swal2-center-start,div:where(.swal2-container).swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}div:where(.swal2-container).swal2-top,div:where(.swal2-container).swal2-center,div:where(.swal2-container).swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}div:where(.swal2-container).swal2-top-end,div:where(.swal2-container).swal2-center-end,div:where(.swal2-container).swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}div:where(.swal2-container).swal2-top-start>.swal2-popup{align-self:start}div:where(.swal2-container).swal2-top>.swal2-popup{grid-column:2;align-self:start;justify-self:center}div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup{grid-column:3;align-self:start;justify-self:end}div:where(.swal2-container).swal2-center-start>.swal2-popup,div:where(.swal2-container).swal2-center-left>.swal2-popup{grid-row:2;align-self:center}div:where(.swal2-container).swal2-center>.swal2-popup{grid-column:2;grid-row:2;align-self:center;justify-self:center}div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;align-self:center;justify-self:end}div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}div:where(.swal2-container).swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;justify-self:center;align-self:end}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;align-self:end;justify-self:end}div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}div:where(.swal2-container).swal2-no-transition{transition:none !important}div:where(.swal2-container) div:where(.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}div:where(.swal2-container) div:where(.swal2-popup):focus{outline:none}div:where(.swal2-container) div:where(.swal2-popup).swal2-loading{overflow-y:hidden}div:where(.swal2-container) h2:where(.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}div:where(.swal2-container) div:where(.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}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1))}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2))}div:where(.swal2-container) div:where(.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 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}div:where(.swal2-container) button:where(.swal2-styled){margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}div:where(.swal2-container) button:where(.swal2-styled):not([disabled]){cursor:pointer}div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm:focus{box-shadow:0 0 0 3px rgba(112,102,224,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled).swal2-deny:focus{box-shadow:0 0 0 3px rgba(220,55,65,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel:focus{box-shadow:0 0 0 3px rgba(110,120,129,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-default-outline:focus{box-shadow:0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-styled):focus{outline:none}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){justify-content:center;margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em}div:where(.swal2-container) .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}div:where(.swal2-container) div:where(.swal2-timer-progress-bar){width:100%;height:.25em;background:rgba(0,0,0,.2)}div:where(.swal2-container) img:where(.swal2-image){max-width:100%;margin:2em auto 1em}div:where(.swal2-container) button:where(.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:rgba(0,0,0,0);color:#ccc;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:none;background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus{outline:none;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) .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:normal;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea),div:where(.swal2-container) select:where(.swal2-select),div:where(.swal2-container) div:where(.swal2-radio),div:where(.swal2-container) label:where(.swal2-checkbox){margin:1em 2em 3px}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea){box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:rgba(0,0,0,0);box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}div:where(.swal2-container) input:where(.swal2-input):focus,div:where(.swal2-container) input:where(.swal2-file):focus,div:where(.swal2-container) textarea:where(.swal2-textarea):focus{border:1px solid #b4dbed;outline:none;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) input:where(.swal2-input)::placeholder,div:where(.swal2-container) input:where(.swal2-file)::placeholder,div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder{color:#ccc}div:where(.swal2-container) .swal2-range{margin:1em 2em 3px;background:#fff}div:where(.swal2-container) .swal2-range input{width:80%}div:where(.swal2-container) .swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}div:where(.swal2-container) .swal2-range input,div:where(.swal2-container) .swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}div:where(.swal2-container) .swal2-input{height:2.625em;padding:0 .75em}div:where(.swal2-container) .swal2-file{width:75%;margin-right:auto;margin-left:auto;background:rgba(0,0,0,0);font-size:1.125em}div:where(.swal2-container) .swal2-textarea{height:6.75em;padding:.75em}div:where(.swal2-container) .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) .swal2-radio,div:where(.swal2-container) .swal2-checkbox{align-items:center;justify-content:center;background:#fff;color:inherit}div:where(.swal2-container) .swal2-radio label,div:where(.swal2-container) .swal2-checkbox label{margin:0 .6em;font-size:1.125em}div:where(.swal2-container) .swal2-radio input,div:where(.swal2-container) .swal2-checkbox input{flex-shrink:0;margin:0 .4em}div:where(.swal2-container) label:where(.swal2-input-label){display:flex;justify-content:center;margin:1em auto 0}div:where(.swal2-container) div:where(.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}div:where(.swal2-container) div:where(.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}div:where(.swal2-container) .swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}div:where(.swal2-container) .swal2-progress-steps li{display:inline-block;position:relative}div:where(.swal2-container) .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}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}div:where(.swal2-icon){position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:0.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}div:where(.swal2-icon) .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}div:where(.swal2-icon).swal2-error{border-color:#f27474;color:#f27474}div:where(.swal2-icon).swal2-error .swal2-x-mark{position:relative;flex-grow:1}div:where(.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}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}div:where(.swal2-icon).swal2-warning{border-color:#facea8;color:#f8bb86}div:where(.swal2-icon).swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}div:where(.swal2-icon).swal2-info{border-color:#9de0f6;color:#3fc3ee}div:where(.swal2-icon).swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}div:where(.swal2-icon).swal2-question{border-color:#c9dae1;color:#87adbd}div:where(.swal2-icon).swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}div:where(.swal2-icon).swal2-success{border-color:#a5dc86;color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}div:where(.swal2-icon).swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}div:where(.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)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.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(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@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:-0.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(0.7)}45%{transform:scale(1.05)}80%{transform:scale(0.95)}100%{transform:scale(1)}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(0.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:-0.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(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.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(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}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:rgba(0,0,0,0) !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:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{inset:0 auto auto 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{inset:0 0 auto auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{inset:0 auto auto 0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{inset:50% auto auto 0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{inset:50% auto auto 50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{inset:50% 0 auto auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{inset:auto auto 0 0}body.swal2-toast-shown .swal2-container.swal2-bottom{inset:auto auto 0 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{inset:auto 0 0 auto}')}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return e[o].call(i.exports,i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=n(6455),t=n.n(e),o=n(2152),r=n.n(o);function i(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function a(e){return e instanceof i(e).Element||e instanceof Element}function s(e){return e instanceof i(e).HTMLElement||e instanceof HTMLElement}function l(e){return"undefined"!=typeof ShadowRoot&&(e instanceof i(e).ShadowRoot||e instanceof ShadowRoot)}var c=Math.max,u=Math.min,d=Math.round;function p(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function f(){return!/^((?!chrome|android).)*safari/i.test(p())}function m(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var o=e.getBoundingClientRect(),r=1,l=1;t&&s(e)&&(r=e.offsetWidth>0&&d(o.width)/e.offsetWidth||1,l=e.offsetHeight>0&&d(o.height)/e.offsetHeight||1);var c=(a(e)?i(e):window).visualViewport,u=!f()&&n,p=(o.left+(u&&c?c.offsetLeft:0))/r,m=(o.top+(u&&c?c.offsetTop:0))/l,w=o.width/r,h=o.height/l;return{width:w,height:h,top:m,right:p+w,bottom:m+h,left:p,x:p,y:m}}function w(e){var t=i(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function h(e){return e?(e.nodeName||"").toLowerCase():null}function g(e){return((a(e)?e.ownerDocument:e.document)||window.document).documentElement}function b(e){return m(g(e)).left+w(e).scrollLeft}function y(e){return i(e).getComputedStyle(e)}function v(e){var t=y(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function x(e,t,n){void 0===n&&(n=!1);var o,r,a=s(t),l=s(t)&&function(e){var t=e.getBoundingClientRect(),n=d(t.width)/e.offsetWidth||1,o=d(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(t),c=g(t),u=m(e,l,n),p={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(a||!a&&!n)&&(("body"!==h(t)||v(c))&&(p=(o=t)!==i(o)&&s(o)?{scrollLeft:(r=o).scrollLeft,scrollTop:r.scrollTop}:w(o)),s(t)?((f=m(t,!0)).x+=t.clientLeft,f.y+=t.clientTop):c&&(f.x=b(c))),{x:u.left+p.scrollLeft-f.x,y:u.top+p.scrollTop-f.y,width:u.width,height:u.height}}function k(e){var t=m(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function C(e){return"html"===h(e)?e:e.assignedSlot||e.parentNode||(l(e)?e.host:null)||g(e)}function A(e){return["html","body","#document"].indexOf(h(e))>=0?e.ownerDocument.body:s(e)&&v(e)?e:A(C(e))}function O(e,t){var n;void 0===t&&(t=[]);var o=A(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),a=i(o),s=r?[a].concat(a.visualViewport||[],v(o)?o:[]):o,l=t.concat(s);return r?l:l.concat(O(C(s)))}function E(e){return["table","td","th"].indexOf(h(e))>=0}function P(e){return s(e)&&"fixed"!==y(e).position?e.offsetParent:null}function j(e){for(var t=i(e),n=P(e);n&&E(n)&&"static"===y(n).position;)n=P(n);return n&&("html"===h(n)||"body"===h(n)&&"static"===y(n).position)?t:n||function(e){var t=/firefox/i.test(p());if(/Trident/i.test(p())&&s(e)&&"fixed"===y(e).position)return null;var n=C(e);for(l(n)&&(n=n.host);s(n)&&["html","body"].indexOf(h(n))<0;){var o=y(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t}var S="top",T="bottom",B="right",L="left",$="auto",M=[S,T,B,L],D="start",H="end",I="clippingParents",q="viewport",z="popper",V="reference",R=M.reduce((function(e,t){return e.concat([t+"-"+D,t+"-"+H])}),[]),N=[].concat(M,[$]).reduce((function(e,t){return e.concat([t,t+"-"+D,t+"-"+H])}),[]),_=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function W(e){var t=new Map,n=new Set,o=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var o=t.get(e);o&&r(o)}})),o.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),o}var F={placement:"bottom",modifiers:[],strategy:"absolute"};function U(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Y(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,o=void 0===n?[]:n,r=t.defaultOptions,i=void 0===r?F:r;return function(e,t,n){void 0===n&&(n=i);var r,s,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},F,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,d={state:l,setOptions:function(n){var r="function"==typeof n?n(l.options):n;p(),l.options=Object.assign({},i,l.options,r),l.scrollParents={reference:a(e)?O(e):e.contextElement?O(e.contextElement):[],popper:O(t)};var s,u,f=function(e){var t=W(e);return _.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((s=[].concat(o,l.options.modifiers),u=s.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(u).map((function(e){return u[e]}))));return l.orderedModifiers=f.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,o=void 0===n?{}:n,r=e.effect;if("function"==typeof r){var i=r({state:l,name:t,instance:d,options:o}),a=function(){};c.push(i||a)}})),d.update()},forceUpdate:function(){if(!u){var e=l.elements,t=e.reference,n=e.popper;if(U(t,n)){l.rects={reference:x(t,j(n),"fixed"===l.options.strategy),popper:k(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<l.orderedModifiers.length;o++)if(!0!==l.reset){var r=l.orderedModifiers[o],i=r.fn,a=r.options,s=void 0===a?{}:a,c=r.name;"function"==typeof i&&(l=i({state:l,options:s,name:c,instance:d})||l)}else l.reset=!1,o=-1}}},update:(r=function(){return new Promise((function(e){d.forceUpdate(),e(l)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(r())}))}))),s}),destroy:function(){p(),u=!0}};if(!U(e,t))return d;function p(){c.forEach((function(e){return e()})),c=[]}return d.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),d}}var Z={passive:!0};function K(e){return e.split("-")[0]}function X(e){return e.split("-")[1]}function J(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function G(e){var t,n=e.reference,o=e.element,r=e.placement,i=r?K(r):null,a=r?X(r):null,s=n.x+n.width/2-o.width/2,l=n.y+n.height/2-o.height/2;switch(i){case S:t={x:s,y:n.y-o.height};break;case T:t={x:s,y:n.y+n.height};break;case B:t={x:n.x+n.width,y:l};break;case L:t={x:n.x-o.width,y:l};break;default:t={x:n.x,y:n.y}}var c=i?J(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case D:t[c]=t[c]-(n[u]/2-o[u]/2);break;case H:t[c]=t[c]+(n[u]/2-o[u]/2)}}return t}var Q={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ee(e){var t,n=e.popper,o=e.popperRect,r=e.placement,a=e.variation,s=e.offsets,l=e.position,c=e.gpuAcceleration,u=e.adaptive,p=e.roundOffsets,f=e.isFixed,m=s.x,w=void 0===m?0:m,h=s.y,b=void 0===h?0:h,v="function"==typeof p?p({x:w,y:b}):{x:w,y:b};w=v.x,b=v.y;var x=s.hasOwnProperty("x"),k=s.hasOwnProperty("y"),C=L,A=S,O=window;if(u){var E=j(n),P="clientHeight",$="clientWidth";if(E===i(n)&&"static"!==y(E=g(n)).position&&"absolute"===l&&(P="scrollHeight",$="scrollWidth"),r===S||(r===L||r===B)&&a===H)A=T,b-=(f&&E===O&&O.visualViewport?O.visualViewport.height:E[P])-o.height,b*=c?1:-1;if(r===L||(r===S||r===T)&&a===H)C=B,w-=(f&&E===O&&O.visualViewport?O.visualViewport.width:E[$])-o.width,w*=c?1:-1}var M,D=Object.assign({position:l},u&&Q),I=!0===p?function(e,t){var n=e.x,o=e.y,r=t.devicePixelRatio||1;return{x:d(n*r)/r||0,y:d(o*r)/r||0}}({x:w,y:b},i(n)):{x:w,y:b};return w=I.x,b=I.y,c?Object.assign({},D,((M={})[A]=k?"0":"",M[C]=x?"0":"",M.transform=(O.devicePixelRatio||1)<=1?"translate("+w+"px, "+b+"px)":"translate3d("+w+"px, "+b+"px, 0)",M)):Object.assign({},D,((t={})[A]=k?b+"px":"",t[C]=x?w+"px":"",t.transform="",t))}const te={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,r=n.offset,i=void 0===r?[0,0]:r,a=N.reduce((function(e,n){return e[n]=function(e,t,n){var o=K(e),r=[L,S].indexOf(o)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*r,[L,B].indexOf(o)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[o]=a}};var ne={left:"right",right:"left",bottom:"top",top:"bottom"};function oe(e){return e.replace(/left|right|bottom|top/g,(function(e){return ne[e]}))}var re={start:"end",end:"start"};function ie(e){return e.replace(/start|end/g,(function(e){return re[e]}))}function ae(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&l(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function se(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function le(e,t,n){return t===q?se(function(e,t){var n=i(e),o=g(e),r=n.visualViewport,a=o.clientWidth,s=o.clientHeight,l=0,c=0;if(r){a=r.width,s=r.height;var u=f();(u||!u&&"fixed"===t)&&(l=r.offsetLeft,c=r.offsetTop)}return{width:a,height:s,x:l+b(e),y:c}}(e,n)):a(t)?function(e,t){var n=m(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):se(function(e){var t,n=g(e),o=w(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=c(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=c(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-o.scrollLeft+b(e),l=-o.scrollTop;return"rtl"===y(r||n).direction&&(s+=c(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(g(e)))}function ce(e,t,n,o){var r="clippingParents"===t?function(e){var t=O(C(e)),n=["absolute","fixed"].indexOf(y(e).position)>=0&&s(e)?j(e):e;return a(n)?t.filter((function(e){return a(e)&&ae(e,n)&&"body"!==h(e)})):[]}(e):[].concat(t),i=[].concat(r,[n]),l=i[0],d=i.reduce((function(t,n){var r=le(e,n,o);return t.top=c(r.top,t.top),t.right=u(r.right,t.right),t.bottom=u(r.bottom,t.bottom),t.left=c(r.left,t.left),t}),le(e,l,o));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function ue(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function de(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function pe(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=void 0===o?e.placement:o,i=n.strategy,s=void 0===i?e.strategy:i,l=n.boundary,c=void 0===l?I:l,u=n.rootBoundary,d=void 0===u?q:u,p=n.elementContext,f=void 0===p?z:p,w=n.altBoundary,h=void 0!==w&&w,b=n.padding,y=void 0===b?0:b,v=ue("number"!=typeof y?y:de(y,M)),x=f===z?V:z,k=e.rects.popper,C=e.elements[h?x:f],A=ce(a(C)?C:C.contextElement||g(e.elements.popper),c,d,s),O=m(e.elements.reference),E=G({reference:O,element:k,strategy:"absolute",placement:r}),P=se(Object.assign({},k,E)),j=f===z?P:O,L={top:A.top-j.top+v.top,bottom:j.bottom-A.bottom+v.bottom,left:A.left-j.left+v.left,right:j.right-A.right+v.right},$=e.modifiersData.offset;if(f===z&&$){var D=$[r];Object.keys(L).forEach((function(e){var t=[B,T].indexOf(e)>=0?1:-1,n=[S,T].indexOf(e)>=0?"y":"x";L[e]+=D[n]*t}))}return L}function fe(e,t,n){return c(e,u(t,n))}const me={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name,r=n.mainAxis,i=void 0===r||r,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.padding,m=n.tether,w=void 0===m||m,h=n.tetherOffset,g=void 0===h?0:h,b=pe(t,{boundary:l,rootBoundary:d,padding:f,altBoundary:p}),y=K(t.placement),v=X(t.placement),x=!v,C=J(y),A="x"===C?"y":"x",O=t.modifiersData.popperOffsets,E=t.rects.reference,P=t.rects.popper,$="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,M="number"==typeof $?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),H=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(O){if(i){var q,z="y"===C?S:L,V="y"===C?T:B,R="y"===C?"height":"width",N=O[C],_=N+b[z],W=N-b[V],F=w?-P[R]/2:0,U=v===D?E[R]:P[R],Y=v===D?-P[R]:-E[R],Z=t.elements.arrow,G=w&&Z?k(Z):{width:0,height:0},Q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=Q[z],te=Q[V],ne=fe(0,E[R],G[R]),oe=x?E[R]/2-F-ne-ee-M.mainAxis:U-ne-ee-M.mainAxis,re=x?-E[R]/2+F+ne+te+M.mainAxis:Y+ne+te+M.mainAxis,ie=t.elements.arrow&&j(t.elements.arrow),ae=ie?"y"===C?ie.clientTop||0:ie.clientLeft||0:0,se=null!=(q=null==H?void 0:H[C])?q:0,le=N+re-se,ce=fe(w?u(_,N+oe-se-ae):_,N,w?c(W,le):W);O[C]=ce,I[C]=ce-N}if(s){var ue,de="x"===C?S:L,me="x"===C?T:B,we=O[A],he="y"===A?"height":"width",ge=we+b[de],be=we-b[me],ye=-1!==[S,L].indexOf(y),ve=null!=(ue=null==H?void 0:H[A])?ue:0,xe=ye?ge:we-E[he]-P[he]-ve+M.altAxis,ke=ye?we+E[he]+P[he]-ve-M.altAxis:be,Ce=w&&ye?function(e,t,n){var o=fe(e,t,n);return o>n?n:o}(xe,we,ke):fe(w?xe:ge,we,w?ke:be);O[A]=Ce,I[A]=Ce-we}t.modifiersData[o]=I}},requiresIfExists:["offset"]};const we={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,o=e.name,r=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=K(n.placement),l=J(s),c=[L,B].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return ue("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:de(e,M))}(r.padding,n),d=k(i),p="y"===l?S:L,f="y"===l?T:B,m=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],w=a[l]-n.rects.reference[l],h=j(i),g=h?"y"===l?h.clientHeight||0:h.clientWidth||0:0,b=m/2-w/2,y=u[p],v=g-d[c]-u[f],x=g/2-d[c]/2+b,C=fe(y,x,v),A=l;n.modifiersData[o]=((t={})[A]=C,t.centerOffset=C-x,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&ae(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function he(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ge(e){return[S,B,T,L].some((function(t){return e[t]>=0}))}var be=Y({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,a=void 0===r||r,s=o.resize,l=void 0===s||s,c=i(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,Z)})),l&&c.addEventListener("resize",n.update,Z),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,Z)})),l&&c.removeEventListener("resize",n.update,Z)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=G({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=void 0===o||o,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,c={placement:K(t.placement),variation:X(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ee(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ee(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},r=t.elements[e];s(r)&&h(r)&&(Object.assign(r.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],r=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});s(o)&&h(o)&&(Object.assign(o.style,i),Object.keys(r).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]},te,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var r=n.mainAxis,i=void 0===r||r,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,m=void 0===f||f,w=n.allowedAutoPlacements,h=t.options.placement,g=K(h),b=l||(g===h||!m?[oe(h)]:function(e){if(K(e)===$)return[];var t=oe(e);return[ie(e),t,ie(t)]}(h)),y=[h].concat(b).reduce((function(e,n){return e.concat(K(n)===$?function(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?N:l,u=X(o),d=u?s?R:R.filter((function(e){return X(e)===u})):M,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=pe(e,{placement:n,boundary:r,rootBoundary:i,padding:a})[K(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:m,allowedAutoPlacements:w}):n)}),[]),v=t.rects.reference,x=t.rects.popper,k=new Map,C=!0,A=y[0],O=0;O<y.length;O++){var E=y[O],P=K(E),j=X(E)===D,H=[S,T].indexOf(P)>=0,I=H?"width":"height",q=pe(t,{placement:E,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),z=H?j?B:L:j?T:S;v[I]>x[I]&&(z=oe(z));var V=oe(z),_=[];if(i&&_.push(q[P]<=0),s&&_.push(q[z]<=0,q[V]<=0),_.every((function(e){return e}))){A=E,C=!1;break}k.set(E,_)}if(C)for(var W=function(e){var t=y.find((function(t){var n=k.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return A=t,"break"},F=m?3:1;F>0;F--){if("break"===W(F))break}t.placement!==A&&(t.modifiersData[o]._skip=!0,t.placement=A,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},me,we,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,a=pe(t,{elementContext:"reference"}),s=pe(t,{altBoundary:!0}),l=he(a,o),c=he(s,r,i),u=ge(l),d=ge(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]});function ye(e){return ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ye(e)}function ve(e){return function(e){if(Array.isArray(e))return xe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return xe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xe(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function ke(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ke(Object(n),!0).forEach((function(t){Ae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ke(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ae(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==ye(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==ye(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===ye(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e){var n=new(r())(".copy-btn"),o=document.querySelector("#copy-btn"),i=document.querySelector("#copy-btn .rbb-tooltip"),a=be(o,i,{placement:"top",modifiers:[{name:"offset",options:{offset:[0,8]}}]});if(o&&i){["mouseenter","focus"].forEach((function(e){o.addEventListener(e,s)})),["mouseleave","blur"].forEach((function(e){o.addEventListener(e,l)}))}function s(){i.setAttribute("data-show",""),a.setOptions((function(e){return Ce(Ce({},e),{},{modifiers:[].concat(ve(e.modifiers),[{name:"eventListeners",enabled:!0}])})})),a.update()}function l(){i.removeAttribute("data-show"),a.setOptions((function(e){return Ce(Ce({},e),{},{modifiers:[].concat(ve(e.modifiers),[{name:"eventListeners",enabled:!1}])})}))}function c(t,n,o){var r={action:t,nonce:window.rbb_vars.nonce};r=Object.assign(r,n),e.ajax({method:"POST",url:window.rbb_vars.ajax_url,data:r,beforeSend:function(){var e;(e=o).prop("disabled",!0),e.find("svg").removeClass("hidden"),e.find("span").text("Loading...")},success:function(e){var t=e.result;200===t.status_code&&d(t.message,"success",(function(){window.location.reload(!0)})),u(o)},error:function(e){d(e.responseJSON.result.message,"warning"),u(o)}})}function u(e){e.prop("disabled",!1),e.find("svg").addClass("hidden"),e.find("span").text(e.data("text"))}function d(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"success",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};t().fire({icon:n,title:e,showConfirmButton:!0,position:"center-center",timerProgressBar:!0,didOpen:function(e){e.onmouseenter=t().stopTimer,e.onmouseleave=t().resumeTimer}}).then((function(){o()}))}n.on("success",(function(){var t=e(i).find(".rbb-tooltip-content"),n=t.text();t.text("Copied!"),s(),setTimeout((function(){l(),t.text(n)}),2e3)})),n.on("error",l),e(".rbb-license-form").on("submit",(function(n){n.preventDefault();var o=e(this),r=e(this).serializeArray().reduce((function(e,t){var n=t.name,o=t.value;return e[n]=o,e}),{}),i=o.data("action"),a=o.find('button[type="submit"]');i?a.data("confirm")?t().fire({title:a.data("confirm-title"),text:a.data("confirm-text"),icon:"warning",showCancelButton:!0,confirmButtonColor:"#3085d6",cancelButtonColor:"#d33",confirmButtonText:a.data("confirm-button")}).then((function(e){e.isConfirmed&&c(i,r,a)})):c(i,r,a):d("warning","Something went wrong. Please check again")}))}(jQuery)})()})();