| @@ -6142,9 +6142,9 @@ | ||
| 6142 | 6142 | \**********************************************************/ |
| 6143 | 6143 | (module) { |
| 6144 | 6144 | |
| 6145 | 6145 | /*! |
| 6146 | -* sweetalert2 v11.26.25 | |
| 6146 | +* sweetalert2 v11.26.17 | |
| 6147 | 6147 | * Released under the MIT License. |
| 6148 | 6148 | */ |
| 6149 | 6149 | (function (global, factory) { |
| 6150 | 6150 | true ? module.exports = factory() : |
| @@ -6313,13 +6313,8 @@ | ||
| 6313 | 6313 | */ |
| 6314 | 6314 | const isPromise = arg => arg && Promise.resolve(arg) === arg; |
| 6315 | 6315 | |
| 6316 | 6316 | /** |
| 6317 | - * @returns {boolean} | |
| 6318 | - */ | |
| 6319 | - const isFirefox = () => navigator.userAgent.includes('Firefox'); | |
| 6320 | - | |
| 6321 | - /** | |
| 6322 | 6317 | * Gets the popup container which contains the backdrop and the popup itself. |
| 6323 | 6318 | * |
| 6324 | 6319 | * @returns {HTMLElement | null} |
| 6325 | 6320 | */ |
| @@ -6541,9 +6536,15 @@ | ||
| 6541 | 6536 | const hasClass = (elem, className) => { |
| 6542 | 6537 | if (!className) { |
| 6543 | 6538 | return false; |
| 6544 | 6539 | } |
| 6545 | - return className.split(/\s+/).every(cls => elem.classList.contains(cls)); | |
| 6540 | + const classList = className.split(/\s+/); | |
| 6541 | + for (let i = 0; i < classList.length; i++) { | |
| 6542 | + if (!elem.classList.contains(classList[i])) { | |
| 6543 | + return false; | |
| 6544 | + } | |
| 6545 | + } | |
| 6546 | + return true; | |
| 6546 | 6547 | }; |
| 6547 | 6548 | |
| 6548 | 6549 | /** |
| 6549 | 6550 | * @param {HTMLElement} elem |
| @@ -6626,18 +6627,27 @@ | ||
| 6626 | 6627 | const toggleClass = (target, classList, condition) => { |
| 6627 | 6628 | if (!target || !classList) { |
| 6628 | 6629 | return; |
| 6629 | 6630 | } |
| 6630 | - const classes = typeof classList === 'string' ? classList.split(/\s+/).filter(Boolean) : classList; | |
| 6631 | - const targets = Array.isArray(target) ? target : [target]; | |
| 6632 | - targets.forEach(elem => { | |
| 6633 | - classes.forEach(className => { | |
| 6631 | + if (typeof classList === 'string') { | |
| 6632 | + classList = classList.split(/\s+/).filter(Boolean); | |
| 6633 | + } | |
| 6634 | + classList.forEach(className => { | |
| 6635 | + if (Array.isArray(target)) { | |
| 6636 | + target.forEach(elem => { | |
| 6637 | + if (condition) { | |
| 6638 | + elem.classList.add(className); | |
| 6639 | + } else { | |
| 6640 | + elem.classList.remove(className); | |
| 6641 | + } | |
| 6642 | + }); | |
| 6643 | + } else { | |
| 6634 | 6644 | if (condition) { |
| 6635 | - elem.classList.add(className); | |
| 6645 | + target.classList.add(className); | |
| 6636 | 6646 | } else { |
| 6637 | - elem.classList.remove(className); | |
| 6647 | + target.classList.remove(className); | |
| 6638 | 6648 | } |
| 6639 | - }); | |
| 6649 | + } | |
| 6640 | 6650 | }); |
| 6641 | 6651 | }; |
| 6642 | 6652 | |
| 6643 | 6653 | /** |
| @@ -6662,10 +6672,17 @@ | ||
| 6662 | 6672 | * @param {HTMLElement} elem |
| 6663 | 6673 | * @param {string} className |
| 6664 | 6674 | * @returns {HTMLElement | undefined} |
| 6665 | 6675 | */ |
| 6666 | - const getDirectChildByClass = (elem, className) => (/** @type {HTMLElement | undefined} */ | |
| 6667 | - Array.from(elem.children).find(child => child instanceof HTMLElement && hasClass(child, className))); | |
| 6676 | + const getDirectChildByClass = (elem, className) => { | |
| 6677 | + const children = Array.from(elem.children); | |
| 6678 | + for (let i = 0; i < children.length; i++) { | |
| 6679 | + const child = children[i]; | |
| 6680 | + if (child instanceof HTMLElement && hasClass(child, className)) { | |
| 6681 | + return child; | |
| 6682 | + } | |
| 6683 | + } | |
| 6684 | + }; | |
| 6668 | 6685 | |
| 6669 | 6686 | /** |
| 6670 | 6687 | * @param {HTMLElement} elem |
| 6671 | 6688 | * @param {string} property |
| @@ -6674,9 +6691,9 @@ | ||
| 6674 | 6691 | const applyNumericalStyle = (elem, property, value) => { |
| 6675 | 6692 | if (value === `${parseInt(`${value}`)}`) { |
| 6676 | 6693 | value = parseInt(value); |
| 6677 | 6694 | } |
| 6678 | - if (value || value === 0) { | |
| 6695 | + if (value || parseInt(`${value}`) === 0) { | |
| 6679 | 6696 | elem.style.setProperty(property, typeof value === 'number' ? `${value}px` : (/** @type {string} */value)); |
| 6680 | 6697 | } else { |
| 6681 | 6698 | elem.style.removeProperty(property); |
| 6682 | 6699 | } |
| @@ -7123,17 +7140,23 @@ | ||
| 7123 | 7140 | return; |
| 7124 | 7141 | } |
| 7125 | 7142 | addClass([confirmButton, denyButton, cancelButton], swalClasses.styled); |
| 7126 | 7143 | |
| 7127 | - // Apply custom background colors and outline colors to action buttons | |
| 7128 | - /** @type {[HTMLElement, string, string | undefined][]} */ | |
| 7129 | - const buttons = [[confirmButton, 'confirm', params.confirmButtonColor], [denyButton, 'deny', params.denyButtonColor], [cancelButton, 'cancel', params.cancelButtonColor]]; | |
| 7130 | - buttons.forEach(([button, type, color]) => { | |
| 7131 | - if (color) { | |
| 7132 | - button.style.setProperty(`--swal2-${type}-button-background-color`, color); | |
| 7133 | - } | |
| 7134 | - applyOutlineColor(button); | |
| 7135 | - }); | |
| 7144 | + // Apply custom background colors to action buttons | |
| 7145 | + if (params.confirmButtonColor) { | |
| 7146 | + confirmButton.style.setProperty('--swal2-confirm-button-background-color', params.confirmButtonColor); | |
| 7147 | + } | |
| 7148 | + if (params.denyButtonColor) { | |
| 7149 | + denyButton.style.setProperty('--swal2-deny-button-background-color', params.denyButtonColor); | |
| 7150 | + } | |
| 7151 | + if (params.cancelButtonColor) { | |
| 7152 | + cancelButton.style.setProperty('--swal2-cancel-button-background-color', params.cancelButtonColor); | |
| 7153 | + } | |
| 7154 | + | |
| 7155 | + // Apply the outline color to action buttons | |
| 7156 | + applyOutlineColor(confirmButton); | |
| 7157 | + applyOutlineColor(denyButton); | |
| 7158 | + applyOutlineColor(cancelButton); | |
| 7136 | 7159 | } |
| 7137 | 7160 | |
| 7138 | 7161 | /** |
| 7139 | 7162 | * @param {HTMLElement} button |
| @@ -7248,10 +7271,9 @@ | ||
| 7248 | 7271 | */ |
| 7249 | 7272 | |
| 7250 | 7273 | var privateProps = { |
| 7251 | 7274 | innerParams: new WeakMap(), |
| 7252 | - domCache: new WeakMap(), | |
| 7253 | - focusedElement: new WeakMap() | |
| 7275 | + domCache: new WeakMap() | |
| 7254 | 7276 | }; |
| 7255 | 7277 | |
| 7256 | 7278 | /// <reference path="../../../../sweetalert2.d.ts"/> |
| 7257 | 7279 | |
| @@ -7323,13 +7345,12 @@ | ||
| 7323 | 7345 | /** |
| 7324 | 7346 | * @param {HTMLInputElement} input |
| 7325 | 7347 | */ |
| 7326 | 7348 | const removeAttributes = input => { |
| 7327 | - for (const { | |
| 7328 | - name | |
| 7329 | - } of Array.from(input.attributes)) { | |
| 7330 | - if (!['id', 'type', 'value', 'style'].includes(name)) { | |
| 7331 | - input.removeAttribute(name); | |
| 7349 | + for (let i = 0; i < input.attributes.length; i++) { | |
| 7350 | + const attrName = input.attributes[i].name; | |
| 7351 | + if (!['id', 'type', 'value', 'style'].includes(attrName)) { | |
| 7352 | + input.removeAttribute(attrName); | |
| 7332 | 7353 | } |
| 7333 | 7354 | } |
| 7334 | 7355 | }; |
| 7335 | 7356 | |
| @@ -7427,14 +7448,12 @@ | ||
| 7427 | 7448 | * @returns {Input} |
| 7428 | 7449 | */ |
| 7429 | 7450 | renderInputType.text = renderInputType.email = renderInputType.password = renderInputType.number = renderInputType.tel = renderInputType.url = renderInputType.search = renderInputType.date = renderInputType['datetime-local'] = renderInputType.time = renderInputType.week = renderInputType.month = /** @type {(input: Input | HTMLElement, params: SweetAlertOptions) => Input} */ |
| 7430 | 7451 | (input, params) => { |
| 7431 | - // oxfmt-ignore | |
| 7432 | 7452 | const inputElement = /** @type {HTMLInputElement} */input; |
| 7433 | 7453 | checkAndSetInputValue(inputElement, params.inputValue); |
| 7434 | 7454 | setInputLabel(inputElement, inputElement, params); |
| 7435 | 7455 | setInputPlaceholder(inputElement, params); |
| 7436 | - // oxfmt-ignore | |
| 7437 | 7456 | inputElement.type = /** @type {string} */params.input; |
| 7438 | 7457 | return inputElement; |
| 7439 | 7458 | }; |
| 7440 | 7459 | |
| @@ -7698,11 +7717,11 @@ | ||
| 7698 | 7717 | } |
| 7699 | 7718 | const popupBackgroundColor = window.getComputedStyle(popup).getPropertyValue('background-color'); |
| 7700 | 7719 | /** @type {NodeListOf<HTMLElement>} */ |
| 7701 | 7720 | const successIconParts = popup.querySelectorAll('[class^=swal2-success-circular-line], .swal2-success-fix'); |
| 7702 | - successIconParts.forEach(part => { | |
| 7703 | - part.style.backgroundColor = popupBackgroundColor; | |
| 7704 | - }); | |
| 7721 | + for (let i = 0; i < successIconParts.length; i++) { | |
| 7722 | + successIconParts[i].style.backgroundColor = popupBackgroundColor; | |
| 7723 | + } | |
| 7705 | 7724 | }; |
| 7706 | 7725 | |
| 7707 | 7726 | /** |
| 7708 | 7727 | * |
| @@ -7882,12 +7901,20 @@ | ||
| 7882 | 7901 | * @param {MouseEvent | TouchEvent} event |
| 7883 | 7902 | * @returns {{ clientX: number, clientY: number }} |
| 7884 | 7903 | */ |
| 7885 | 7904 | const getClientXY = event => { |
| 7886 | - const source = event.type.startsWith('touch') ? /** @type {TouchEvent} */event.touches[0] : (/** @type {MouseEvent} */event); | |
| 7905 | + let clientX = 0, | |
| 7906 | + clientY = 0; | |
| 7907 | + if (event.type.startsWith('mouse')) { | |
| 7908 | + clientX = /** @type {MouseEvent} */event.clientX; | |
| 7909 | + clientY = /** @type {MouseEvent} */event.clientY; | |
| 7910 | + } else if (event.type.startsWith('touch')) { | |
| 7911 | + clientX = /** @type {TouchEvent} */event.touches[0].clientX; | |
| 7912 | + clientY = /** @type {TouchEvent} */event.touches[0].clientY; | |
| 7913 | + } | |
| 7887 | 7914 | return { |
| 7888 | - clientX: source.clientX, | |
| 7889 | - clientY: source.clientY | |
| 7915 | + clientX, | |
| 7916 | + clientY | |
| 7890 | 7917 | }; |
| 7891 | 7918 | }; |
| 7892 | 7919 | |
| 7893 | 7920 | /** |
| @@ -8115,10 +8142,9 @@ | ||
| 8115 | 8142 | * @param {GlobalState} globalState |
| 8116 | 8143 | */ |
| 8117 | 8144 | const removeKeydownHandler = globalState => { |
| 8118 | 8145 | if (globalState.keydownTarget && globalState.keydownHandlerAdded && globalState.keydownHandler) { |
| 8119 | - const handler = /** @type {EventListenerOrEventListenerObject} */ | |
| 8120 | - /** @type {unknown} */globalState.keydownHandler; | |
| 8146 | + const handler = /** @type {EventListenerOrEventListenerObject} */ /** @type {unknown} */globalState.keydownHandler; | |
| 8121 | 8147 | globalState.keydownTarget.removeEventListener('keydown', handler, { |
| 8122 | 8148 | capture: globalState.keydownListenerCapture |
| 8123 | 8149 | }); |
| 8124 | 8150 | globalState.keydownHandlerAdded = false; |
| @@ -8151,9 +8177,8 @@ | ||
| 8151 | 8177 | |
| 8152 | 8178 | /** |
| 8153 | 8179 | * @param {number} index |
| 8154 | 8180 | * @param {number} increment |
| 8155 | - * @returns {boolean} shouldPreventDefault | |
| 8156 | 8181 | */ |
| 8157 | 8182 | const setFocus = (index, increment) => { |
| 8158 | 8183 | var _dom$getPopup; |
| 8159 | 8184 | const focusableElements = getFocusableElements(); |
| @@ -8174,19 +8199,12 @@ | ||
| 8174 | 8199 | } else if (index === -1) { |
| 8175 | 8200 | index = focusableElements.length - 1; |
| 8176 | 8201 | } |
| 8177 | 8202 | focusableElements[index].focus(); |
| 8178 | - | |
| 8179 | - // don't prevent default for iframes (Firefox fix) | |
| 8180 | - // https://github.com/sweetalert2/sweetalert2/issues/2931 | |
| 8181 | - if (isFirefox() && focusableElements[index] instanceof HTMLIFrameElement) { | |
| 8182 | - return false; | |
| 8183 | - } | |
| 8184 | - return true; | |
| 8203 | + return; | |
| 8185 | 8204 | } |
| 8186 | 8205 | // no visible focusable elements, focus the popup |
| 8187 | 8206 | (_dom$getPopup = getPopup()) === null || _dom$getPopup === void 0 || _dom$getPopup.focus(); |
| 8188 | - return true; | |
| 8189 | 8207 | }; |
| 8190 | 8208 | const arrowKeysNextButton = ['ArrowRight', 'ArrowDown']; |
| 8191 | 8209 | const arrowKeysPreviousButton = ['ArrowLeft', 'ArrowUp']; |
| 8192 | 8210 | |
| @@ -8260,27 +8278,27 @@ | ||
| 8260 | 8278 | */ |
| 8261 | 8279 | const handleTab = event => { |
| 8262 | 8280 | const targetElement = event.target; |
| 8263 | 8281 | const focusableElements = getFocusableElements(); |
| 8264 | - const btnIndex = focusableElements.findIndex(el => el === targetElement); | |
| 8282 | + let btnIndex = -1; | |
| 8283 | + for (let i = 0; i < focusableElements.length; i++) { | |
| 8284 | + if (targetElement === focusableElements[i]) { | |
| 8285 | + btnIndex = i; | |
| 8286 | + break; | |
| 8287 | + } | |
| 8288 | + } | |
| 8265 | 8289 | |
| 8266 | - // don't prevent default for iframes (Firefox fix) | |
| 8267 | - // https://github.com/sweetalert2/sweetalert2/issues/2931 | |
| 8268 | - let shouldPreventDefault = true; | |
| 8269 | - | |
| 8270 | 8290 | // Cycle to the next button |
| 8271 | 8291 | if (!event.shiftKey) { |
| 8272 | - shouldPreventDefault = setFocus(btnIndex, 1); | |
| 8292 | + setFocus(btnIndex, 1); | |
| 8273 | 8293 | } |
| 8274 | 8294 | |
| 8275 | 8295 | // Cycle to the prev button |
| 8276 | 8296 | else { |
| 8277 | - shouldPreventDefault = setFocus(btnIndex, -1); | |
| 8297 | + setFocus(btnIndex, -1); | |
| 8278 | 8298 | } |
| 8279 | 8299 | event.stopPropagation(); |
| 8280 | - if (shouldPreventDefault) { | |
| 8281 | - event.preventDefault(); | |
| 8282 | - } | |
| 8300 | + event.preventDefault(); | |
| 8283 | 8301 | }; |
| 8284 | 8302 | |
| 8285 | 8303 | /** |
| 8286 | 8304 | * @param {string} key |
| @@ -8376,11 +8394,8 @@ | ||
| 8376 | 8394 | |
| 8377 | 8395 | // @ts-ignore |
| 8378 | 8396 | const isSafariOrIOS = typeof window !== 'undefined' && Boolean(window.GestureEvent); // true for Safari desktop + all iOS browsers https://stackoverflow.com/a/70585394 |
| 8379 | 8397 | |
| 8380 | - // @ts-ignore | |
| 8381 | - const isIOS = isSafariOrIOS && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream; | |
| 8382 | - | |
| 8383 | 8398 | /** |
| 8384 | 8399 | * Fix iOS scrolling |
| 8385 | 8400 | * http://stackoverflow.com/q/39626302 |
| 8386 | 8401 | */ |
| @@ -8962,10 +8977,30 @@ | ||
| 8962 | 8977 | * @typedef {string[]} InputOptionFlattened |
| 8963 | 8978 | * @returns {InputOptionFlattened[]} |
| 8964 | 8979 | */ |
| 8965 | 8980 | const formatInputOptions = inputOptions => { |
| 8966 | - const entries = inputOptions instanceof Map ? Array.from(inputOptions) : Object.entries(inputOptions); | |
| 8967 | - return entries.map(([key, value]) => [key, typeof value === 'object' ? formatInputOptions(value) : value]); // case of <optgroup> | |
| 8981 | + /** @type {InputOptionFlattened[]} */ | |
| 8982 | + const result = []; | |
| 8983 | + if (inputOptions instanceof Map) { | |
| 8984 | + inputOptions.forEach((value, key) => { | |
| 8985 | + let valueFormatted = value; | |
| 8986 | + if (typeof valueFormatted === 'object') { | |
| 8987 | + // case of <optgroup> | |
| 8988 | + valueFormatted = formatInputOptions(valueFormatted); | |
| 8989 | + } | |
| 8990 | + result.push([key, valueFormatted]); | |
| 8991 | + }); | |
| 8992 | + } else { | |
| 8993 | + Object.keys(inputOptions).forEach(key => { | |
| 8994 | + let valueFormatted = inputOptions[key]; | |
| 8995 | + if (typeof valueFormatted === 'object') { | |
| 8996 | + // case of <optgroup> | |
| 8997 | + valueFormatted = formatInputOptions(valueFormatted); | |
| 8998 | + } | |
| 8999 | + result.push([key, valueFormatted]); | |
| 9000 | + }); | |
| 9001 | + } | |
| 9002 | + return result; | |
| 8968 | 9003 | }; |
| 8969 | 9004 | |
| 8970 | 9005 | /** |
| 8971 | 9006 | * @param {string} optionValue |
| @@ -8971,9 +9006,11 @@ | ||
| 8971 | 9006 | * @param {string} optionValue |
| 8972 | 9007 | * @param {SweetAlertInputValue} inputValue |
| 8973 | 9008 | * @returns {boolean} |
| 8974 | 9009 | */ |
| 8975 | - const isSelected = (optionValue, inputValue) => Boolean(inputValue) && inputValue != null && inputValue.toString() === optionValue.toString(); | |
| 9010 | + const isSelected = (optionValue, inputValue) => { | |
| 9011 | + return Boolean(inputValue) && inputValue !== null && inputValue !== undefined && inputValue.toString() === optionValue.toString(); | |
| 9012 | + }; | |
| 8976 | 9013 | |
| 8977 | 9014 | /** |
| 8978 | 9015 | * @param {SweetAlert} instance |
| 8979 | 9016 | */ |
| @@ -9154,9 +9191,11 @@ | ||
| 9154 | 9191 | } |
| 9155 | 9192 | removeClass([domCache.popup, domCache.actions], swalClasses.loading); |
| 9156 | 9193 | domCache.popup.removeAttribute('aria-busy'); |
| 9157 | 9194 | domCache.popup.removeAttribute('data-loading'); |
| 9158 | - this.enableButtons(); | |
| 9195 | + domCache.confirmButton.disabled = false; | |
| 9196 | + domCache.denyButton.disabled = false; | |
| 9197 | + domCache.cancelButton.disabled = false; | |
| 9159 | 9198 | } |
| 9160 | 9199 | |
| 9161 | 9200 | /** |
| 9162 | 9201 | * @param {DomCache} domCache |
| @@ -9209,11 +9248,11 @@ | ||
| 9209 | 9248 | } |
| 9210 | 9249 | if (input.type === 'radio') { |
| 9211 | 9250 | /** @type {NodeListOf<HTMLInputElement>} */ |
| 9212 | 9251 | const radios = popup.querySelectorAll(`[name="${swalClasses.radio}"]`); |
| 9213 | - radios.forEach(radio => { | |
| 9214 | - radio.disabled = disabled; | |
| 9215 | - }); | |
| 9252 | + for (let i = 0; i < radios.length; i++) { | |
| 9253 | + radios[i].disabled = disabled; | |
| 9254 | + } | |
| 9216 | 9255 | } else { |
| 9217 | 9256 | input.disabled = disabled; |
| 9218 | 9257 | } |
| 9219 | 9258 | } |
| @@ -9223,13 +9262,8 @@ | ||
| 9223 | 9262 | * @this {SweetAlert} |
| 9224 | 9263 | */ |
| 9225 | 9264 | function enableButtons() { |
| 9226 | 9265 | setButtonsDisabled(this, ['confirmButton', 'denyButton', 'cancelButton'], false); |
| 9227 | - const focusedElement = privateProps.focusedElement.get(this); | |
| 9228 | - if (focusedElement instanceof HTMLElement && document.activeElement === document.body) { | |
| 9229 | - focusedElement.focus(); | |
| 9230 | - } | |
| 9231 | - privateProps.focusedElement.delete(this); | |
| 9232 | 9266 | } |
| 9233 | 9267 | |
| 9234 | 9268 | /** |
| 9235 | 9269 | * Disable all the buttons |
| @@ -9235,9 +9269,8 @@ | ||
| 9235 | 9269 | * Disable all the buttons |
| 9236 | 9270 | * @this {SweetAlert} |
| 9237 | 9271 | */ |
| 9238 | 9272 | function disableButtons() { |
| 9239 | - privateProps.focusedElement.set(this, document.activeElement); | |
| 9240 | 9273 | setButtonsDisabled(this, ['confirmButton', 'denyButton', 'cancelButton'], true); |
| 9241 | 9274 | } |
| 9242 | 9275 | |
| 9243 | 9276 | /** |
| @@ -9744,25 +9777,25 @@ | ||
| 9744 | 9777 | }; |
| 9745 | 9778 | }; |
| 9746 | 9779 | |
| 9747 | 9780 | /** |
| 9748 | - * @param {unknown} elem | |
| 9781 | + * @param {any} elem | |
| 9749 | 9782 | * @returns {boolean} |
| 9750 | 9783 | */ |
| 9751 | - const isJqueryElement = elem => typeof elem === 'object' && elem !== null && 'jquery' in elem; | |
| 9784 | + const isJqueryElement = elem => typeof elem === 'object' && elem.jquery; | |
| 9752 | 9785 | |
| 9753 | 9786 | /** |
| 9754 | - * @param {unknown} elem | |
| 9787 | + * @param {any} elem | |
| 9755 | 9788 | * @returns {boolean} |
| 9756 | 9789 | */ |
| 9757 | 9790 | const isElement = elem => elem instanceof Element || isJqueryElement(elem); |
| 9758 | 9791 | |
| 9759 | 9792 | /** |
| 9760 | - * @param {ReadonlyArray<unknown>} args | |
| 9793 | + * @param {any[]} args | |
| 9761 | 9794 | * @returns {SweetAlertOptions} |
| 9762 | 9795 | */ |
| 9763 | 9796 | const argsToParams = args => { |
| 9764 | - /** @type {Record<string, unknown>} */ | |
| 9797 | + /** @type {Record<string, any>} */ | |
| 9765 | 9798 | const params = {}; |
| 9766 | 9799 | if (typeof args[0] === 'object' && !isElement(args[0])) { |
| 9767 | 9800 | Object.assign(params, args[0]); |
| 9768 | 9801 | } else { |
| @@ -9774,9 +9807,9 @@ | ||
| 9774 | 9807 | error(`Unexpected type of ${name}! Expected "string" or "Element", got ${typeof arg}`); |
| 9775 | 9808 | } |
| 9776 | 9809 | }); |
| 9777 | 9810 | } |
| 9778 | - return /** @type {SweetAlertOptions} */params; | |
| 9811 | + return params; | |
| 9779 | 9812 | }; |
| 9780 | 9813 | |
| 9781 | 9814 | /** |
| 9782 | 9815 | * Main method to create a new SweetAlert2 popup |
| @@ -10267,15 +10300,19 @@ | ||
| 10267 | 10300 | return; |
| 10268 | 10301 | } |
| 10269 | 10302 | result[`${type}ButtonText`] = button.innerHTML; |
| 10270 | 10303 | result[`show${capitalizeFirstLetter(type)}Button`] = true; |
| 10271 | - const color = button.getAttribute('color'); | |
| 10272 | - if (color !== null) { | |
| 10273 | - result[`${type}ButtonColor`] = color; | |
| 10304 | + if (button.hasAttribute('color')) { | |
| 10305 | + const color = button.getAttribute('color'); | |
| 10306 | + if (color !== null) { | |
| 10307 | + result[`${type}ButtonColor`] = color; | |
| 10308 | + } | |
| 10274 | 10309 | } |
| 10275 | - const ariaLabel = button.getAttribute('aria-label'); | |
| 10276 | - if (ariaLabel !== null) { | |
| 10277 | - result[`${type}ButtonAriaLabel`] = ariaLabel; | |
| 10310 | + if (button.hasAttribute('aria-label')) { | |
| 10311 | + const ariaLabel = button.getAttribute('aria-label'); | |
| 10312 | + if (ariaLabel !== null) { | |
| 10313 | + result[`${type}ButtonAriaLabel`] = ariaLabel; | |
| 10314 | + } | |
| 10278 | 10315 | } |
| 10279 | 10316 | }); |
| 10280 | 10317 | return result; |
| 10281 | 10318 | }; |
| @@ -10289,17 +10326,20 @@ | ||
| 10289 | 10326 | /** @type {HTMLElement | null} */ |
| 10290 | 10327 | const image = templateContent.querySelector('swal-image'); |
| 10291 | 10328 | if (image) { |
| 10292 | 10329 | showWarningsForAttributes(image, ['src', 'width', 'height', 'alt']); |
| 10293 | - // getAttribute returns null if attribute is absent; `|| undefined` converts empty string to undefined | |
| 10294 | - const src = image.getAttribute('src'); | |
| 10295 | - if (src !== null) result.imageUrl = src || undefined; | |
| 10296 | - const width = image.getAttribute('width'); | |
| 10297 | - if (width !== null) result.imageWidth = width || undefined; | |
| 10298 | - const height = image.getAttribute('height'); | |
| 10299 | - if (height !== null) result.imageHeight = height || undefined; | |
| 10300 | - const alt = image.getAttribute('alt'); | |
| 10301 | - if (alt !== null) result.imageAlt = alt || undefined; | |
| 10330 | + if (image.hasAttribute('src')) { | |
| 10331 | + result.imageUrl = image.getAttribute('src') || undefined; | |
| 10332 | + } | |
| 10333 | + if (image.hasAttribute('width')) { | |
| 10334 | + result.imageWidth = image.getAttribute('width') || undefined; | |
| 10335 | + } | |
| 10336 | + if (image.hasAttribute('height')) { | |
| 10337 | + result.imageHeight = image.getAttribute('height') || undefined; | |
| 10338 | + } | |
| 10339 | + if (image.hasAttribute('alt')) { | |
| 10340 | + result.imageAlt = image.getAttribute('alt') || undefined; | |
| 10341 | + } | |
| 10302 | 10342 | } |
| 10303 | 10343 | return result; |
| 10304 | 10344 | }; |
| 10305 | 10345 | |
| @@ -10434,17 +10474,12 @@ | ||
| 10434 | 10474 | setTimeout(() => { |
| 10435 | 10475 | setScrollingVisibility(container, popup); |
| 10436 | 10476 | }, SHOW_CLASS_TIMEOUT); |
| 10437 | 10477 | if (isModal()) { |
| 10478 | + // Using ternary instead of ?? operator for Webpack 4 compatibility | |
| 10438 | 10479 | fixScrollContainer(container, params.scrollbarPadding !== undefined ? params.scrollbarPadding : false, initialBodyOverflow); |
| 10439 | 10480 | setAriaHidden(); |
| 10440 | 10481 | } |
| 10441 | - | |
| 10442 | - // https://github.com/sweetalert2/sweetalert2/issues/2923 | |
| 10443 | - if (isIOS && params.backdrop === false && popup.scrollHeight > container.clientHeight) { | |
| 10444 | - // remove pointer-events: none from container, it breaks scrolling tall popups in iOS | |
| 10445 | - container.style.pointerEvents = 'auto'; | |
| 10446 | - } | |
| 10447 | 10482 | if (!isToast() && !globalState.previousActiveElement) { |
| 10448 | 10483 | globalState.previousActiveElement = document.activeElement; |
| 10449 | 10484 | } |
| 10450 | 10485 | if (typeof params.didOpen === 'function') { |
| @@ -10616,10 +10651,9 @@ | ||
| 10616 | 10651 | constructor(...args) { |
| 10617 | 10652 | /** |
| 10618 | 10653 | * @type {Promise<SweetAlertResult>} |
| 10619 | 10654 | */ |
| 10620 | - _classPrivateFieldInitSpec(this, _promise, /** @type {Promise<SweetAlertResult>} */ | |
| 10621 | - Promise.resolve({ | |
| 10655 | + _classPrivateFieldInitSpec(this, _promise, /** @type {Promise<SweetAlertResult>} */Promise.resolve({ | |
| 10622 | 10656 | isConfirmed: false, |
| 10623 | 10657 | isDenied: false, |
| 10624 | 10658 | isDismissed: true |
| 10625 | 10659 | })); |
| @@ -10683,9 +10717,8 @@ | ||
| 10683 | 10717 | // `catch` cannot be the name of a module export, so we define our thenable methods here instead |
| 10684 | 10718 | /** |
| 10685 | 10719 | * @param {any} onFulfilled |
| 10686 | 10720 | */ |
| 10687 | - // oxlint-disable-next-line unicorn/no-thenable | |
| 10688 | 10721 | then(onFulfilled) { |
| 10689 | 10722 | return _classPrivateFieldGet2(_promise, this).then(onFulfilled); |
| 10690 | 10723 | } |
| 10691 | 10724 | |
| @@ -10829,10 +10862,10 @@ | ||
| 10829 | 10862 | return; |
| 10830 | 10863 | } |
| 10831 | 10864 | // TODO: this is dumb, remove `allowEnterKey` param in the next major version |
| 10832 | 10865 | if (!callIfFunction(innerParams.allowEnterKey)) { |
| 10833 | - warnAboutDeprecation('allowEnterKey', 'preConfirm: () => false'); | |
| 10834 | - domCache.popup.focus(); | |
| 10866 | + warnAboutDeprecation('allowEnterKey'); | |
| 10867 | + blurActiveElement(); | |
| 10835 | 10868 | return; |
| 10836 | 10869 | } |
| 10837 | 10870 | if (focusAutofocus(domCache)) { |
| 10838 | 10871 | return; |
| @@ -10877,8 +10910,13 @@ | ||
| 10877 | 10910 | return true; |
| 10878 | 10911 | } |
| 10879 | 10912 | return false; |
| 10880 | 10913 | }; |
| 10914 | + const blurActiveElement = () => { | |
| 10915 | + if (document.activeElement instanceof HTMLElement && typeof document.activeElement.blur === 'function') { | |
| 10916 | + document.activeElement.blur(); | |
| 10917 | + } | |
| 10918 | + }; | |
| 10881 | 10919 | |
| 10882 | 10920 | // Assign instance methods from src/instanceMethods/*.js to prototype |
| 10883 | 10921 | SweetAlert.prototype.disableButtons = disableButtons; |
| 10884 | 10922 | SweetAlert.prototype.enableButtons = enableButtons; |
| @@ -10916,9 +10954,9 @@ | ||
| 10916 | 10954 | return undefined; |
| 10917 | 10955 | }; |
| 10918 | 10956 | }); |
| 10919 | 10957 | SweetAlert.DismissReason = DismissReason; |
| 10920 | - SweetAlert.version = '11.26.25'; | |
| 10958 | + SweetAlert.version = '11.26.17'; | |
| 10921 | 10959 | |
| 10922 | 10960 | const Swal = SweetAlert; |
| 10923 | 10961 | // @ts-ignore |
| 10924 | 10962 | Swal.default = Swal; |
| @@ -10926,9 +10964,9 @@ | ||
| 10926 | 10964 | return Swal; |
| 10927 | 10965 | |
| 10928 | 10966 | })); |
| 10929 | 10967 | if (typeof this !== 'undefined' && this.Sweetalert2){this.swal = this.sweetAlert = this.Swal = this.SweetAlert = this.Sweetalert2} |
| 10930 | -"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,":root{--swal2-outline: 0 0 0 3px rgba(100, 150, 200, 0.5);--swal2-container-padding: 0.625em;--swal2-backdrop: rgba(0, 0, 0, 0.4);--swal2-backdrop-transition: background-color 0.15s;--swal2-width: 32em;--swal2-padding: 0 0 1.25em;--swal2-border: none;--swal2-border-radius: 0.3125rem;--swal2-background: white;--swal2-color: #545454;--swal2-show-animation: swal2-show 0.3s;--swal2-hide-animation: swal2-hide 0.15s forwards;--swal2-icon-zoom: 1;--swal2-title-padding: 0.8em 1em 0;--swal2-html-container-padding: 1em 1.6em 0.3em;--swal2-input-border: 1px solid #d9d9d9;--swal2-input-border-radius: 0.1875em;--swal2-input-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-background: transparent;--swal2-input-transition: border-color 0.2s, box-shadow 0.2s;--swal2-input-hover-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-focus-border: 1px solid #b4dbed;--swal2-input-focus-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px rgba(100, 150, 200, 0.5);--swal2-progress-step-background: #add8e6;--swal2-validation-message-background: #f0f0f0;--swal2-validation-message-color: #666;--swal2-footer-border-color: #eee;--swal2-footer-background: transparent;--swal2-footer-color: inherit;--swal2-timer-progress-bar-background: rgba(0, 0, 0, 0.3);--swal2-close-button-position: initial;--swal2-close-button-inset: auto;--swal2-close-button-font-size: 2.5em;--swal2-close-button-color: #ccc;--swal2-close-button-transition: color 0.2s, box-shadow 0.2s;--swal2-close-button-outline: initial;--swal2-close-button-box-shadow: inset 0 0 0 3px transparent;--swal2-close-button-focus-box-shadow: inset var(--swal2-outline);--swal2-close-button-hover-transform: none;--swal2-actions-justify-content: center;--swal2-actions-width: auto;--swal2-actions-margin: 1.25em auto 0;--swal2-actions-padding: 0;--swal2-actions-border-radius: 0;--swal2-actions-background: transparent;--swal2-action-button-transition: background-color 0.2s, box-shadow 0.2s;--swal2-action-button-hover: black 10%;--swal2-action-button-active: black 10%;--swal2-confirm-button-box-shadow: none;--swal2-confirm-button-border-radius: 0.25em;--swal2-confirm-button-background-color: #7066e0;--swal2-confirm-button-color: #fff;--swal2-deny-button-box-shadow: none;--swal2-deny-button-border-radius: 0.25em;--swal2-deny-button-background-color: #dc3741;--swal2-deny-button-color: #fff;--swal2-cancel-button-box-shadow: none;--swal2-cancel-button-border-radius: 0.25em;--swal2-cancel-button-background-color: #6e7881;--swal2-cancel-button-color: #fff;--swal2-toast-show-animation: swal2-toast-show 0.5s;--swal2-toast-hide-animation: swal2-toast-hide 0.1s forwards;--swal2-toast-border: none;--swal2-toast-box-shadow: 0 0 1px hsl(0deg 0% 0% / 0.075), 0 1px 2px hsl(0deg 0% 0% / 0.075), 1px 2px 4px hsl(0deg 0% 0% / 0.075), 1px 3px 8px hsl(0deg 0% 0% / 0.075), 2px 4px 16px hsl(0deg 0% 0% / 0.075)}[data-swal2-theme=dark]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white);--swal2-timer-progress-bar-background: rgba(255, 255, 255, 0.7)}@media(prefers-color-scheme: dark){[data-swal2-theme=auto]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white);--swal2-timer-progress-bar-background: rgba(255, 255, 255, 0.7)}}body.swal2-shown:not(.swal2-no-backdrop,.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:auto}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px var(--swal2-backdrop)}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}@media print{body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown) .swal2-container{position:static !important}}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:var(--swal2-container-padding);overflow-x:hidden;transition:var(--swal2-backdrop-transition);-webkit-overflow-scrolling:touch}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:var(--swal2-backdrop)}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;place-self:start center}div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup{grid-column:3;place-self:start 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;place-self:center 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;place-self:center 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;place-self:end center}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;place-self:end 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)[popover]{width:auto;border:0}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:var(--swal2-width);max-width:100%;padding:var(--swal2-padding);border:var(--swal2-border);border-radius:var(--swal2-border-radius);background:var(--swal2-background);color:var(--swal2-color);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) div:where(.swal2-popup).swal2-draggable{cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable div:where(.swal2-icon){cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging{cursor:grabbing}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging div:where(.swal2-icon){cursor:grabbing}div:where(.swal2-container) h2:where(.swal2-title){position:relative;max-width:100%;margin:0;padding:var(--swal2-title-padding);color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;overflow-wrap:break-word;cursor:initial}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:var(--swal2-actions-justify-content);width:var(--swal2-actions-width);margin:var(--swal2-actions-margin);padding:var(--swal2-actions-padding);border-radius:var(--swal2-actions-border-radius);background:var(--swal2-actions-background)}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:var(--swal2-action-button-transition);border:none;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):where(.swal2-confirm){border-radius:var(--swal2-confirm-button-border-radius);background:initial;background-color:var(--swal2-confirm-button-background-color);box-shadow:var(--swal2-confirm-button-box-shadow);color:var(--swal2-confirm-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):hover{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):active{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny){border-radius:var(--swal2-deny-button-border-radius);background:initial;background-color:var(--swal2-deny-button-background-color);box-shadow:var(--swal2-deny-button-box-shadow);color:var(--swal2-deny-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):hover{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):active{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel){border-radius:var(--swal2-cancel-button-border-radius);background:initial;background-color:var(--swal2-cancel-button-background-color);box-shadow:var(--swal2-cancel-button-box-shadow);color:var(--swal2-cancel-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):hover{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):active{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):focus-visible{outline:none;box-shadow:var(--swal2-action-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-styled)[disabled]:not(.swal2-loading){opacity:.4}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){margin:1em 0 0;padding:1em 1em 0;border-top:1px solid var(--swal2-footer-border-color);background:var(--swal2-footer-background);color:var(--swal2-footer-color);font-size:1em;text-align:center;cursor:initial}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:var(--swal2-border-radius);border-bottom-left-radius:var(--swal2-border-radius)}div:where(.swal2-container) div:where(.swal2-timer-progress-bar){width:100%;height:.25em;background:var(--swal2-timer-progress-bar-background)}div:where(.swal2-container) img:where(.swal2-image){max-width:100%;margin:2em auto 1em;cursor:initial}div:where(.swal2-container) button:where(.swal2-close){position:var(--swal2-close-button-position);inset:var(--swal2-close-button-inset);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:var(--swal2-close-button-transition);border:none;border-radius:var(--swal2-border-radius);outline:var(--swal2-close-button-outline);background:rgba(0,0,0,0);color:var(--swal2-close-button-color);font-family:monospace;font-size:var(--swal2-close-button-font-size);cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:var(--swal2-close-button-hover-transform);background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus-visible{outline:none;box-shadow:var(--swal2-close-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-html-container){z-index:1;justify-content:center;margin:0;padding:var(--swal2-html-container-padding);overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;overflow-wrap:break-word;word-break:break-word;cursor:initial}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:var(--swal2-input-transition);border:var(--swal2-input-border);border-radius:var(--swal2-input-border-radius);background:var(--swal2-input-background);box-shadow:var(--swal2-input-box-shadow);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):hover,div:where(.swal2-container) input:where(.swal2-file):hover,div:where(.swal2-container) textarea:where(.swal2-textarea):hover{box-shadow:var(--swal2-input-hover-box-shadow)}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:var(--swal2-input-focus-border);outline:none;box-shadow:var(--swal2-input-focus-box-shadow)}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:var(--swal2-background)}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:var(--swal2-input-background);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:var(--swal2-input-background);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:var(--swal2-background);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:var(--swal2-validation-message-background);color:var(--swal2-validation-message-color);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:var(--swal2-progress-step-background);color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:var(--swal2-progress-step-background)}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;zoom:var(--swal2-icon-zoom);border:.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:#f8bb86;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:#3fc3ee;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:#87adbd;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;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:var(--swal2-show-animation)}.swal2-hide{animation:var(--swal2-hide-animation)}.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}.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;border:var(--swal2-toast-border);background:var(--swal2-background);box-shadow:var(--swal2-toast-box-shadow);pointer-events:auto}.swal2-toast>*{grid-column:2}.swal2-toast h2:where(.swal2-title){margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-toast .swal2-loading{justify-content:center}.swal2-toast input:where(.swal2-input){height:2em;margin:.5em;font-size:1em}.swal2-toast .swal2-validation-message{font-size:1em}.swal2-toast div:where(.swal2-footer){margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-toast button:where(.swal2-close){grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-toast div:where(.swal2-html-container){margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-toast div:where(.swal2-html-container):empty{padding:0}.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.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-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-toast div:where(.swal2-actions){justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-toast button:where(.swal2-styled){margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;border-radius:50%}.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-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-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}.swal2-toast.swal2-show{animation:var(--swal2-toast-show-animation)}.swal2-toast.swal2-hide{animation:var(--swal2-toast-hide-animation)}@keyframes swal2-show{0%{transform:translate3d(0, -50px, 0) scale(0.9);opacity:0}100%{transform:translate3d(0, 0, 0) scale(1);opacity:1}}@keyframes swal2-hide{0%{transform:translate3d(0, 0, 0) scale(1);opacity:1}100%{transform:translate3d(0, -50px, 0) scale(0.9);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}}@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}}"); | |
| 10968 | +"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,":root{--swal2-outline: 0 0 0 3px rgba(100, 150, 200, 0.5);--swal2-container-padding: 0.625em;--swal2-backdrop: rgba(0, 0, 0, 0.4);--swal2-backdrop-transition: background-color 0.15s;--swal2-width: 32em;--swal2-padding: 0 0 1.25em;--swal2-border: none;--swal2-border-radius: 0.3125rem;--swal2-background: white;--swal2-color: #545454;--swal2-show-animation: swal2-show 0.3s;--swal2-hide-animation: swal2-hide 0.15s forwards;--swal2-icon-zoom: 1;--swal2-icon-animations: true;--swal2-title-padding: 0.8em 1em 0;--swal2-html-container-padding: 1em 1.6em 0.3em;--swal2-input-border: 1px solid #d9d9d9;--swal2-input-border-radius: 0.1875em;--swal2-input-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-background: transparent;--swal2-input-transition: border-color 0.2s, box-shadow 0.2s;--swal2-input-hover-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-focus-border: 1px solid #b4dbed;--swal2-input-focus-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px rgba(100, 150, 200, 0.5);--swal2-progress-step-background: #add8e6;--swal2-validation-message-background: #f0f0f0;--swal2-validation-message-color: #666;--swal2-footer-border-color: #eee;--swal2-footer-background: transparent;--swal2-footer-color: inherit;--swal2-timer-progress-bar-background: rgba(0, 0, 0, 0.3);--swal2-close-button-position: initial;--swal2-close-button-inset: auto;--swal2-close-button-font-size: 2.5em;--swal2-close-button-color: #ccc;--swal2-close-button-transition: color 0.2s, box-shadow 0.2s;--swal2-close-button-outline: initial;--swal2-close-button-box-shadow: inset 0 0 0 3px transparent;--swal2-close-button-focus-box-shadow: inset var(--swal2-outline);--swal2-close-button-hover-transform: none;--swal2-actions-justify-content: center;--swal2-actions-width: auto;--swal2-actions-margin: 1.25em auto 0;--swal2-actions-padding: 0;--swal2-actions-border-radius: 0;--swal2-actions-background: transparent;--swal2-action-button-transition: background-color 0.2s, box-shadow 0.2s;--swal2-action-button-hover: black 10%;--swal2-action-button-active: black 10%;--swal2-confirm-button-box-shadow: none;--swal2-confirm-button-border-radius: 0.25em;--swal2-confirm-button-background-color: #7066e0;--swal2-confirm-button-color: #fff;--swal2-deny-button-box-shadow: none;--swal2-deny-button-border-radius: 0.25em;--swal2-deny-button-background-color: #dc3741;--swal2-deny-button-color: #fff;--swal2-cancel-button-box-shadow: none;--swal2-cancel-button-border-radius: 0.25em;--swal2-cancel-button-background-color: #6e7881;--swal2-cancel-button-color: #fff;--swal2-toast-show-animation: swal2-toast-show 0.5s;--swal2-toast-hide-animation: swal2-toast-hide 0.1s forwards;--swal2-toast-border: none;--swal2-toast-box-shadow: 0 0 1px hsl(0deg 0% 0% / 0.075), 0 1px 2px hsl(0deg 0% 0% / 0.075), 1px 2px 4px hsl(0deg 0% 0% / 0.075), 1px 3px 8px hsl(0deg 0% 0% / 0.075), 2px 4px 16px hsl(0deg 0% 0% / 0.075)}[data-swal2-theme=dark]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white);--swal2-timer-progress-bar-background: rgba(255, 255, 255, 0.7)}@media(prefers-color-scheme: dark){[data-swal2-theme=auto]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white);--swal2-timer-progress-bar-background: rgba(255, 255, 255, 0.7)}}body.swal2-shown:not(.swal2-no-backdrop,.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 var(--swal2-backdrop)}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}@media print{body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown) .swal2-container{position:static !important}}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:var(--swal2-container-padding);overflow-x:hidden;transition:var(--swal2-backdrop-transition);-webkit-overflow-scrolling:touch}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:var(--swal2-backdrop)}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;place-self:start center}div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup{grid-column:3;place-self:start 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;place-self:center 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;place-self:center 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;place-self:end center}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;place-self:end 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)[popover]{width:auto;border:0}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:var(--swal2-width);max-width:100%;padding:var(--swal2-padding);border:var(--swal2-border);border-radius:var(--swal2-border-radius);background:var(--swal2-background);color:var(--swal2-color);font-family:inherit;font-size:1rem;container-name:swal2-popup}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) div:where(.swal2-popup).swal2-draggable{cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable div:where(.swal2-icon){cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging{cursor:grabbing}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging div:where(.swal2-icon){cursor:grabbing}div:where(.swal2-container) h2:where(.swal2-title){position:relative;max-width:100%;margin:0;padding:var(--swal2-title-padding);color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;overflow-wrap:break-word;cursor:initial}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:var(--swal2-actions-justify-content);width:var(--swal2-actions-width);margin:var(--swal2-actions-margin);padding:var(--swal2-actions-padding);border-radius:var(--swal2-actions-border-radius);background:var(--swal2-actions-background)}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:var(--swal2-action-button-transition);border:none;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):where(.swal2-confirm){border-radius:var(--swal2-confirm-button-border-radius);background:initial;background-color:var(--swal2-confirm-button-background-color);box-shadow:var(--swal2-confirm-button-box-shadow);color:var(--swal2-confirm-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):hover{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):active{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny){border-radius:var(--swal2-deny-button-border-radius);background:initial;background-color:var(--swal2-deny-button-background-color);box-shadow:var(--swal2-deny-button-box-shadow);color:var(--swal2-deny-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):hover{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):active{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel){border-radius:var(--swal2-cancel-button-border-radius);background:initial;background-color:var(--swal2-cancel-button-background-color);box-shadow:var(--swal2-cancel-button-box-shadow);color:var(--swal2-cancel-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):hover{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):active{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):focus-visible{outline:none;box-shadow:var(--swal2-action-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-styled)[disabled]:not(.swal2-loading){opacity:.4}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){margin:1em 0 0;padding:1em 1em 0;border-top:1px solid var(--swal2-footer-border-color);background:var(--swal2-footer-background);color:var(--swal2-footer-color);font-size:1em;text-align:center;cursor:initial}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:var(--swal2-border-radius);border-bottom-left-radius:var(--swal2-border-radius)}div:where(.swal2-container) div:where(.swal2-timer-progress-bar){width:100%;height:.25em;background:var(--swal2-timer-progress-bar-background)}div:where(.swal2-container) img:where(.swal2-image){max-width:100%;margin:2em auto 1em;cursor:initial}div:where(.swal2-container) button:where(.swal2-close){position:var(--swal2-close-button-position);inset:var(--swal2-close-button-inset);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:var(--swal2-close-button-transition);border:none;border-radius:var(--swal2-border-radius);outline:var(--swal2-close-button-outline);background:rgba(0,0,0,0);color:var(--swal2-close-button-color);font-family:monospace;font-size:var(--swal2-close-button-font-size);cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:var(--swal2-close-button-hover-transform);background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus-visible{outline:none;box-shadow:var(--swal2-close-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-html-container){z-index:1;justify-content:center;margin:0;padding:var(--swal2-html-container-padding);overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;overflow-wrap:break-word;word-break:break-word;cursor:initial}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:var(--swal2-input-transition);border:var(--swal2-input-border);border-radius:var(--swal2-input-border-radius);background:var(--swal2-input-background);box-shadow:var(--swal2-input-box-shadow);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):hover,div:where(.swal2-container) input:where(.swal2-file):hover,div:where(.swal2-container) textarea:where(.swal2-textarea):hover{box-shadow:var(--swal2-input-hover-box-shadow)}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:var(--swal2-input-focus-border);outline:none;box-shadow:var(--swal2-input-focus-box-shadow)}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:var(--swal2-background)}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:var(--swal2-input-background);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:var(--swal2-input-background);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:var(--swal2-background);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:var(--swal2-validation-message-background);color:var(--swal2-validation-message-color);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:var(--swal2-progress-step-background);color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:var(--swal2-progress-step-background)}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;zoom:var(--swal2-icon-zoom);border:.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)}@container swal2-popup style(--swal2-icon-animations:true){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:#f8bb86;color:#f8bb86}@container swal2-popup style(--swal2-icon-animations:true){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:#3fc3ee;color:#3fc3ee}@container swal2-popup style(--swal2-icon-animations:true){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:#87adbd;color:#87adbd}@container swal2-popup style(--swal2-icon-animations:true){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;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)}@container swal2-popup style(--swal2-icon-animations:true){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:var(--swal2-show-animation)}.swal2-hide{animation:var(--swal2-hide-animation)}.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}.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;border:var(--swal2-toast-border);background:var(--swal2-background);box-shadow:var(--swal2-toast-box-shadow);pointer-events:all}.swal2-toast>*{grid-column:2}.swal2-toast h2:where(.swal2-title){margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-toast .swal2-loading{justify-content:center}.swal2-toast input:where(.swal2-input){height:2em;margin:.5em;font-size:1em}.swal2-toast .swal2-validation-message{font-size:1em}.swal2-toast div:where(.swal2-footer){margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-toast button:where(.swal2-close){grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-toast div:where(.swal2-html-container){margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-toast div:where(.swal2-html-container):empty{padding:0}.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.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-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-toast div:where(.swal2-actions){justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-toast button:where(.swal2-styled){margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;border-radius:50%}.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-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-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}@container swal2-popup style(--swal2-icon-animations:true){.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}}.swal2-toast.swal2-show{animation:var(--swal2-toast-show-animation)}.swal2-toast.swal2-hide{animation:var(--swal2-toast-hide-animation)}@keyframes swal2-show{0%{transform:translate3d(0, -50px, 0) scale(0.9);opacity:0}100%{transform:translate3d(0, 0, 0) scale(1);opacity:1}}@keyframes swal2-hide{0%{transform:translate3d(0, 0, 0) scale(1);opacity:1}100%{transform:translate3d(0, -50px, 0) scale(0.9);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}}@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}}"); | |
| 10931 | 10969 | |
| 10932 | 10970 | /***/ }, |
| 10933 | 10971 | |
| 10934 | 10972 | /***/ "./node_modules/toastify-js/src/toastify.js" |
| @@ -11388,19 +11426,19 @@ | ||
| 11388 | 11426 | |
| 11389 | 11427 | /******/ }); |
| 11390 | 11428 | /************************************************************************/ |
| 11391 | 11429 | /******/ // The module cache |
| 11392 | -/******/ const __webpack_module_cache__ = {}; | |
| 11430 | +/******/ var __webpack_module_cache__ = {}; | |
| 11393 | 11431 | /******/ |
| 11394 | 11432 | /******/ // The require function |
| 11395 | 11433 | /******/ function __webpack_require__(moduleId) { |
| 11396 | 11434 | /******/ // Check if module is in cache |
| 11397 | -/******/ const cachedModule = __webpack_module_cache__[moduleId]; | |
| 11435 | +/******/ var cachedModule = __webpack_module_cache__[moduleId]; | |
| 11398 | 11436 | /******/ if (cachedModule !== undefined) { |
| 11399 | 11437 | /******/ return cachedModule.exports; |
| 11400 | 11438 | /******/ } |
| 11401 | 11439 | /******/ // Create a new module (and put it into the cache) |
| 11402 | -/******/ const module = __webpack_module_cache__[moduleId] = { | |
| 11440 | +/******/ var module = __webpack_module_cache__[moduleId] = { | |
| 11403 | 11441 | /******/ id: moduleId, |
| 11404 | 11442 | /******/ // no module.loaded needed |
| 11405 | 11443 | /******/ exports: {} |
| 11406 | 11444 | /******/ }; |
| @@ -11407,9 +11445,9 @@ | ||
| 11407 | 11445 | /******/ |
| 11408 | 11446 | /******/ // Execute the module function |
| 11409 | 11447 | /******/ if (!(moduleId in __webpack_modules__)) { |
| 11410 | 11448 | /******/ delete __webpack_module_cache__[moduleId]; |
| 11411 | -/******/ const e = new Error("Cannot find module '" + moduleId + "'"); | |
| 11449 | +/******/ var e = new Error("Cannot find module '" + moduleId + "'"); | |
| 11412 | 11450 | /******/ e.code = 'MODULE_NOT_FOUND'; |
| 11413 | 11451 | /******/ throw e; |
| 11414 | 11452 | /******/ } |
| 11415 | 11453 | /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| @@ -11422,9 +11460,9 @@ | ||
| 11422 | 11460 | /******/ /* webpack/runtime/compat get default export */ |
| 11423 | 11461 | /******/ (() => { |
| 11424 | 11462 | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| 11425 | 11463 | /******/ __webpack_require__.n = (module) => { |
| 11426 | -/******/ const getter = module && module.__esModule ? | |
| 11464 | +/******/ var getter = module && module.__esModule ? | |
| 11427 | 11465 | /******/ () => (module['default']) : |
| 11428 | 11466 | /******/ () => (module); |
| 11429 | 11467 | /******/ __webpack_require__.d(getter, { a: getter }); |
| 11430 | 11468 | /******/ return getter; |
| @@ -11432,29 +11470,14 @@ | ||
| 11432 | 11470 | /******/ })(); |
| 11433 | 11471 | /******/ |
| 11434 | 11472 | /******/ /* webpack/runtime/define property getters */ |
| 11435 | 11473 | /******/ (() => { |
| 11436 | -/******/ // define getter/value functions for harmony exports | |
| 11474 | +/******/ // define getter functions for harmony exports | |
| 11437 | 11475 | /******/ __webpack_require__.d = (exports, definition) => { |
| 11438 | -/******/ if(Array.isArray(definition)) { | |
| 11439 | -/******/ var i = 0; | |
| 11440 | -/******/ while(i < definition.length) { | |
| 11441 | -/******/ var key = definition[i++]; | |
| 11442 | -/******/ var binding = definition[i++]; | |
| 11443 | -/******/ if(!__webpack_require__.o(exports, key)) { | |
| 11444 | -/******/ if(binding === 0) { | |
| 11445 | -/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] }); | |
| 11446 | -/******/ } else { | |
| 11447 | -/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding }); | |
| 11448 | -/******/ } | |
| 11449 | -/******/ } else if(binding === 0) { i++; } | |
| 11476 | +/******/ for(var key in definition) { | |
| 11477 | +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | |
| 11478 | +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | |
| 11450 | 11479 | /******/ } |
| 11451 | -/******/ } else { | |
| 11452 | -/******/ for(var key in definition) { | |
| 11453 | -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | |
| 11454 | -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | |
| 11455 | -/******/ } | |
| 11456 | -/******/ } | |
| 11457 | 11480 | /******/ } |
| 11458 | 11481 | /******/ }; |
| 11459 | 11482 | /******/ })(); |
| 11460 | 11483 | /******/ |
| @@ -11459,9 +11482,9 @@ | ||
| 11459 | 11482 | /******/ })(); |
| 11460 | 11483 | /******/ |
| 11461 | 11484 | /******/ /* webpack/runtime/hasOwnProperty shorthand */ |
| 11462 | 11485 | /******/ (() => { |
| 11463 | -/******/ __webpack_require__.o = (obj, prop) => (Object.hasOwn(obj, prop)) | |
| 11486 | +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) | |
| 11464 | 11487 | /******/ })(); |
| 11465 | 11488 | /******/ |
| 11466 | 11489 | /******/ /* webpack/runtime/make namespace object */ |
| 11467 | 11490 | /******/ (() => { |
| @@ -11466,9 +11489,9 @@ | ||
| 11466 | 11489 | /******/ /* webpack/runtime/make namespace object */ |
| 11467 | 11490 | /******/ (() => { |
| 11468 | 11491 | /******/ // define __esModule on exports |
| 11469 | 11492 | /******/ __webpack_require__.r = (exports) => { |
| 11470 | -/******/ if(Symbol.toStringTag) { | |
| 11493 | +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | |
| 11471 | 11494 | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| 11472 | 11495 | /******/ } |
| 11473 | 11496 | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| 11474 | 11497 | /******/ }; |
| @@ -11479,9 +11502,9 @@ | ||
| 11479 | 11502 | /******/ __webpack_require__.nc = undefined; |
| 11480 | 11503 | /******/ })(); |
| 11481 | 11504 | /******/ |
| 11482 | 11505 | /************************************************************************/ |
| 11483 | -let __webpack_exports__ = {}; | |
| 11506 | +var __webpack_exports__ = {}; | |
| 11484 | 11507 | // This entry needs to be wrapped in an IIFE because it needs to be in strict mode. |
| 11485 | 11508 | (() => { |
| 11486 | 11509 | "use strict"; |
| 11487 | 11510 | /*!******************************************!*\ |