| @@ -507,9 +507,9 @@ | ||
| 507 | 507 | \**********************************************************/ |
| 508 | 508 | (module) { |
| 509 | 509 | |
| 510 | 510 | /*! |
| 511 | -* sweetalert2 v11.26.17 | |
| 511 | +* sweetalert2 v11.26.25 | |
| 512 | 512 | * Released under the MIT License. |
| 513 | 513 | */ |
| 514 | 514 | (function (global, factory) { |
| 515 | 515 | true ? module.exports = factory() : |
| @@ -678,8 +678,13 @@ | ||
| 678 | 678 | */ |
| 679 | 679 | const isPromise = arg => arg && Promise.resolve(arg) === arg; |
| 680 | 680 | |
| 681 | 681 | /** |
| 682 | + * @returns {boolean} | |
| 683 | + */ | |
| 684 | + const isFirefox = () => navigator.userAgent.includes('Firefox'); | |
| 685 | + | |
| 686 | + /** | |
| 682 | 687 | * Gets the popup container which contains the backdrop and the popup itself. |
| 683 | 688 | * |
| 684 | 689 | * @returns {HTMLElement | null} |
| 685 | 690 | */ |
| @@ -901,15 +906,9 @@ | ||
| 901 | 906 | const hasClass = (elem, className) => { |
| 902 | 907 | if (!className) { |
| 903 | 908 | return false; |
| 904 | 909 | } |
| 905 | - const classList = className.split(/\s+/); | |
| 906 | - for (let i = 0; i < classList.length; i++) { | |
| 907 | - if (!elem.classList.contains(classList[i])) { | |
| 908 | - return false; | |
| 909 | - } | |
| 910 | - } | |
| 911 | - return true; | |
| 910 | + return className.split(/\s+/).every(cls => elem.classList.contains(cls)); | |
| 912 | 911 | }; |
| 913 | 912 | |
| 914 | 913 | /** |
| 915 | 914 | * @param {HTMLElement} elem |
| @@ -992,27 +991,18 @@ | ||
| 992 | 991 | const toggleClass = (target, classList, condition) => { |
| 993 | 992 | if (!target || !classList) { |
| 994 | 993 | return; |
| 995 | 994 | } |
| 996 | - if (typeof classList === 'string') { | |
| 997 | - classList = classList.split(/\s+/).filter(Boolean); | |
| 998 | - } | |
| 999 | - classList.forEach(className => { | |
| 1000 | - if (Array.isArray(target)) { | |
| 1001 | - target.forEach(elem => { | |
| 1002 | - if (condition) { | |
| 1003 | - elem.classList.add(className); | |
| 1004 | - } else { | |
| 1005 | - elem.classList.remove(className); | |
| 1006 | - } | |
| 1007 | - }); | |
| 1008 | - } else { | |
| 995 | + const classes = typeof classList === 'string' ? classList.split(/\s+/).filter(Boolean) : classList; | |
| 996 | + const targets = Array.isArray(target) ? target : [target]; | |
| 997 | + targets.forEach(elem => { | |
| 998 | + classes.forEach(className => { | |
| 1009 | 999 | if (condition) { |
| 1010 | - target.classList.add(className); | |
| 1000 | + elem.classList.add(className); | |
| 1011 | 1001 | } else { |
| 1012 | - target.classList.remove(className); | |
| 1002 | + elem.classList.remove(className); | |
| 1013 | 1003 | } |
| 1014 | - } | |
| 1004 | + }); | |
| 1015 | 1005 | }); |
| 1016 | 1006 | }; |
| 1017 | 1007 | |
| 1018 | 1008 | /** |
| @@ -1037,17 +1027,10 @@ | ||
| 1037 | 1027 | * @param {HTMLElement} elem |
| 1038 | 1028 | * @param {string} className |
| 1039 | 1029 | * @returns {HTMLElement | undefined} |
| 1040 | 1030 | */ |
| 1041 | - const getDirectChildByClass = (elem, className) => { | |
| 1042 | - const children = Array.from(elem.children); | |
| 1043 | - for (let i = 0; i < children.length; i++) { | |
| 1044 | - const child = children[i]; | |
| 1045 | - if (child instanceof HTMLElement && hasClass(child, className)) { | |
| 1046 | - return child; | |
| 1047 | - } | |
| 1048 | - } | |
| 1049 | - }; | |
| 1031 | + const getDirectChildByClass = (elem, className) => (/** @type {HTMLElement | undefined} */ | |
| 1032 | + Array.from(elem.children).find(child => child instanceof HTMLElement && hasClass(child, className))); | |
| 1050 | 1033 | |
| 1051 | 1034 | /** |
| 1052 | 1035 | * @param {HTMLElement} elem |
| 1053 | 1036 | * @param {string} property |
| @@ -1056,9 +1039,9 @@ | ||
| 1056 | 1039 | const applyNumericalStyle = (elem, property, value) => { |
| 1057 | 1040 | if (value === `${parseInt(`${value}`)}`) { |
| 1058 | 1041 | value = parseInt(value); |
| 1059 | 1042 | } |
| 1060 | - if (value || parseInt(`${value}`) === 0) { | |
| 1043 | + if (value || value === 0) { | |
| 1061 | 1044 | elem.style.setProperty(property, typeof value === 'number' ? `${value}px` : (/** @type {string} */value)); |
| 1062 | 1045 | } else { |
| 1063 | 1046 | elem.style.removeProperty(property); |
| 1064 | 1047 | } |
| @@ -1505,23 +1488,17 @@ | ||
| 1505 | 1488 | return; |
| 1506 | 1489 | } |
| 1507 | 1490 | addClass([confirmButton, denyButton, cancelButton], swalClasses.styled); |
| 1508 | 1491 | |
| 1509 | - // Apply custom background colors to action buttons | |
| 1510 | - if (params.confirmButtonColor) { | |
| 1511 | - confirmButton.style.setProperty('--swal2-confirm-button-background-color', params.confirmButtonColor); | |
| 1512 | - } | |
| 1513 | - if (params.denyButtonColor) { | |
| 1514 | - denyButton.style.setProperty('--swal2-deny-button-background-color', params.denyButtonColor); | |
| 1515 | - } | |
| 1516 | - if (params.cancelButtonColor) { | |
| 1517 | - cancelButton.style.setProperty('--swal2-cancel-button-background-color', params.cancelButtonColor); | |
| 1518 | - } | |
| 1519 | - | |
| 1520 | - // Apply the outline color to action buttons | |
| 1521 | - applyOutlineColor(confirmButton); | |
| 1522 | - applyOutlineColor(denyButton); | |
| 1523 | - applyOutlineColor(cancelButton); | |
| 1492 | + // Apply custom background colors and outline colors to action buttons | |
| 1493 | + /** @type {[HTMLElement, string, string | undefined][]} */ | |
| 1494 | + const buttons = [[confirmButton, 'confirm', params.confirmButtonColor], [denyButton, 'deny', params.denyButtonColor], [cancelButton, 'cancel', params.cancelButtonColor]]; | |
| 1495 | + buttons.forEach(([button, type, color]) => { | |
| 1496 | + if (color) { | |
| 1497 | + button.style.setProperty(`--swal2-${type}-button-background-color`, color); | |
| 1498 | + } | |
| 1499 | + applyOutlineColor(button); | |
| 1500 | + }); | |
| 1524 | 1501 | } |
| 1525 | 1502 | |
| 1526 | 1503 | /** |
| 1527 | 1504 | * @param {HTMLElement} button |
| @@ -1636,9 +1613,10 @@ | ||
| 1636 | 1613 | */ |
| 1637 | 1614 | |
| 1638 | 1615 | var privateProps = { |
| 1639 | 1616 | innerParams: new WeakMap(), |
| 1640 | - domCache: new WeakMap() | |
| 1617 | + domCache: new WeakMap(), | |
| 1618 | + focusedElement: new WeakMap() | |
| 1641 | 1619 | }; |
| 1642 | 1620 | |
| 1643 | 1621 | /// <reference path="../../../../sweetalert2.d.ts"/> |
| 1644 | 1622 | |
| @@ -1710,12 +1688,13 @@ | ||
| 1710 | 1688 | /** |
| 1711 | 1689 | * @param {HTMLInputElement} input |
| 1712 | 1690 | */ |
| 1713 | 1691 | const removeAttributes = input => { |
| 1714 | - for (let i = 0; i < input.attributes.length; i++) { | |
| 1715 | - const attrName = input.attributes[i].name; | |
| 1716 | - if (!['id', 'type', 'value', 'style'].includes(attrName)) { | |
| 1717 | - input.removeAttribute(attrName); | |
| 1692 | + for (const { | |
| 1693 | + name | |
| 1694 | + } of Array.from(input.attributes)) { | |
| 1695 | + if (!['id', 'type', 'value', 'style'].includes(name)) { | |
| 1696 | + input.removeAttribute(name); | |
| 1718 | 1697 | } |
| 1719 | 1698 | } |
| 1720 | 1699 | }; |
| 1721 | 1700 | |
| @@ -1813,12 +1792,14 @@ | ||
| 1813 | 1792 | * @returns {Input} |
| 1814 | 1793 | */ |
| 1815 | 1794 | 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} */ |
| 1816 | 1795 | (input, params) => { |
| 1796 | + // oxfmt-ignore | |
| 1817 | 1797 | const inputElement = /** @type {HTMLInputElement} */input; |
| 1818 | 1798 | checkAndSetInputValue(inputElement, params.inputValue); |
| 1819 | 1799 | setInputLabel(inputElement, inputElement, params); |
| 1820 | 1800 | setInputPlaceholder(inputElement, params); |
| 1801 | + // oxfmt-ignore | |
| 1821 | 1802 | inputElement.type = /** @type {string} */params.input; |
| 1822 | 1803 | return inputElement; |
| 1823 | 1804 | }; |
| 1824 | 1805 | |
| @@ -2082,11 +2063,11 @@ | ||
| 2082 | 2063 | } |
| 2083 | 2064 | const popupBackgroundColor = window.getComputedStyle(popup).getPropertyValue('background-color'); |
| 2084 | 2065 | /** @type {NodeListOf<HTMLElement>} */ |
| 2085 | 2066 | const successIconParts = popup.querySelectorAll('[class^=swal2-success-circular-line], .swal2-success-fix'); |
| 2086 | - for (let i = 0; i < successIconParts.length; i++) { | |
| 2087 | - successIconParts[i].style.backgroundColor = popupBackgroundColor; | |
| 2088 | - } | |
| 2067 | + successIconParts.forEach(part => { | |
| 2068 | + part.style.backgroundColor = popupBackgroundColor; | |
| 2069 | + }); | |
| 2089 | 2070 | }; |
| 2090 | 2071 | |
| 2091 | 2072 | /** |
| 2092 | 2073 | * |
| @@ -2266,20 +2247,12 @@ | ||
| 2266 | 2247 | * @param {MouseEvent | TouchEvent} event |
| 2267 | 2248 | * @returns {{ clientX: number, clientY: number }} |
| 2268 | 2249 | */ |
| 2269 | 2250 | const getClientXY = event => { |
| 2270 | - let clientX = 0, | |
| 2271 | - clientY = 0; | |
| 2272 | - if (event.type.startsWith('mouse')) { | |
| 2273 | - clientX = /** @type {MouseEvent} */event.clientX; | |
| 2274 | - clientY = /** @type {MouseEvent} */event.clientY; | |
| 2275 | - } else if (event.type.startsWith('touch')) { | |
| 2276 | - clientX = /** @type {TouchEvent} */event.touches[0].clientX; | |
| 2277 | - clientY = /** @type {TouchEvent} */event.touches[0].clientY; | |
| 2278 | - } | |
| 2251 | + const source = event.type.startsWith('touch') ? /** @type {TouchEvent} */event.touches[0] : (/** @type {MouseEvent} */event); | |
| 2279 | 2252 | return { |
| 2280 | - clientX, | |
| 2281 | - clientY | |
| 2253 | + clientX: source.clientX, | |
| 2254 | + clientY: source.clientY | |
| 2282 | 2255 | }; |
| 2283 | 2256 | }; |
| 2284 | 2257 | |
| 2285 | 2258 | /** |
| @@ -2507,9 +2480,10 @@ | ||
| 2507 | 2480 | * @param {GlobalState} globalState |
| 2508 | 2481 | */ |
| 2509 | 2482 | const removeKeydownHandler = globalState => { |
| 2510 | 2483 | if (globalState.keydownTarget && globalState.keydownHandlerAdded && globalState.keydownHandler) { |
| 2511 | - const handler = /** @type {EventListenerOrEventListenerObject} */ /** @type {unknown} */globalState.keydownHandler; | |
| 2484 | + const handler = /** @type {EventListenerOrEventListenerObject} */ | |
| 2485 | + /** @type {unknown} */globalState.keydownHandler; | |
| 2512 | 2486 | globalState.keydownTarget.removeEventListener('keydown', handler, { |
| 2513 | 2487 | capture: globalState.keydownListenerCapture |
| 2514 | 2488 | }); |
| 2515 | 2489 | globalState.keydownHandlerAdded = false; |
| @@ -2542,8 +2516,9 @@ | ||
| 2542 | 2516 | |
| 2543 | 2517 | /** |
| 2544 | 2518 | * @param {number} index |
| 2545 | 2519 | * @param {number} increment |
| 2520 | + * @returns {boolean} shouldPreventDefault | |
| 2546 | 2521 | */ |
| 2547 | 2522 | const setFocus = (index, increment) => { |
| 2548 | 2523 | var _dom$getPopup; |
| 2549 | 2524 | const focusableElements = getFocusableElements(); |
| @@ -2564,12 +2539,19 @@ | ||
| 2564 | 2539 | } else if (index === -1) { |
| 2565 | 2540 | index = focusableElements.length - 1; |
| 2566 | 2541 | } |
| 2567 | 2542 | focusableElements[index].focus(); |
| 2568 | - return; | |
| 2543 | + | |
| 2544 | + // don't prevent default for iframes (Firefox fix) | |
| 2545 | + // https://github.com/sweetalert2/sweetalert2/issues/2931 | |
| 2546 | + if (isFirefox() && focusableElements[index] instanceof HTMLIFrameElement) { | |
| 2547 | + return false; | |
| 2548 | + } | |
| 2549 | + return true; | |
| 2569 | 2550 | } |
| 2570 | 2551 | // no visible focusable elements, focus the popup |
| 2571 | 2552 | (_dom$getPopup = getPopup()) === null || _dom$getPopup === void 0 || _dom$getPopup.focus(); |
| 2553 | + return true; | |
| 2572 | 2554 | }; |
| 2573 | 2555 | const arrowKeysNextButton = ['ArrowRight', 'ArrowDown']; |
| 2574 | 2556 | const arrowKeysPreviousButton = ['ArrowLeft', 'ArrowUp']; |
| 2575 | 2557 | |
| @@ -2643,27 +2625,27 @@ | ||
| 2643 | 2625 | */ |
| 2644 | 2626 | const handleTab = event => { |
| 2645 | 2627 | const targetElement = event.target; |
| 2646 | 2628 | const focusableElements = getFocusableElements(); |
| 2647 | - let btnIndex = -1; | |
| 2648 | - for (let i = 0; i < focusableElements.length; i++) { | |
| 2649 | - if (targetElement === focusableElements[i]) { | |
| 2650 | - btnIndex = i; | |
| 2651 | - break; | |
| 2652 | - } | |
| 2653 | - } | |
| 2629 | + const btnIndex = focusableElements.findIndex(el => el === targetElement); | |
| 2654 | 2630 | |
| 2631 | + // don't prevent default for iframes (Firefox fix) | |
| 2632 | + // https://github.com/sweetalert2/sweetalert2/issues/2931 | |
| 2633 | + let shouldPreventDefault = true; | |
| 2634 | + | |
| 2655 | 2635 | // Cycle to the next button |
| 2656 | 2636 | if (!event.shiftKey) { |
| 2657 | - setFocus(btnIndex, 1); | |
| 2637 | + shouldPreventDefault = setFocus(btnIndex, 1); | |
| 2658 | 2638 | } |
| 2659 | 2639 | |
| 2660 | 2640 | // Cycle to the prev button |
| 2661 | 2641 | else { |
| 2662 | - setFocus(btnIndex, -1); | |
| 2642 | + shouldPreventDefault = setFocus(btnIndex, -1); | |
| 2663 | 2643 | } |
| 2664 | 2644 | event.stopPropagation(); |
| 2665 | - event.preventDefault(); | |
| 2645 | + if (shouldPreventDefault) { | |
| 2646 | + event.preventDefault(); | |
| 2647 | + } | |
| 2666 | 2648 | }; |
| 2667 | 2649 | |
| 2668 | 2650 | /** |
| 2669 | 2651 | * @param {string} key |
| @@ -2759,8 +2741,11 @@ | ||
| 2759 | 2741 | |
| 2760 | 2742 | // @ts-ignore |
| 2761 | 2743 | const isSafariOrIOS = typeof window !== 'undefined' && Boolean(window.GestureEvent); // true for Safari desktop + all iOS browsers https://stackoverflow.com/a/70585394 |
| 2762 | 2744 | |
| 2745 | + // @ts-ignore | |
| 2746 | + const isIOS = isSafariOrIOS && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream; | |
| 2747 | + | |
| 2763 | 2748 | /** |
| 2764 | 2749 | * Fix iOS scrolling |
| 2765 | 2750 | * http://stackoverflow.com/q/39626302 |
| 2766 | 2751 | */ |
| @@ -3342,30 +3327,10 @@ | ||
| 3342 | 3327 | * @typedef {string[]} InputOptionFlattened |
| 3343 | 3328 | * @returns {InputOptionFlattened[]} |
| 3344 | 3329 | */ |
| 3345 | 3330 | const formatInputOptions = inputOptions => { |
| 3346 | - /** @type {InputOptionFlattened[]} */ | |
| 3347 | - const result = []; | |
| 3348 | - if (inputOptions instanceof Map) { | |
| 3349 | - inputOptions.forEach((value, key) => { | |
| 3350 | - let valueFormatted = value; | |
| 3351 | - if (typeof valueFormatted === 'object') { | |
| 3352 | - // case of <optgroup> | |
| 3353 | - valueFormatted = formatInputOptions(valueFormatted); | |
| 3354 | - } | |
| 3355 | - result.push([key, valueFormatted]); | |
| 3356 | - }); | |
| 3357 | - } else { | |
| 3358 | - Object.keys(inputOptions).forEach(key => { | |
| 3359 | - let valueFormatted = inputOptions[key]; | |
| 3360 | - if (typeof valueFormatted === 'object') { | |
| 3361 | - // case of <optgroup> | |
| 3362 | - valueFormatted = formatInputOptions(valueFormatted); | |
| 3363 | - } | |
| 3364 | - result.push([key, valueFormatted]); | |
| 3365 | - }); | |
| 3366 | - } | |
| 3367 | - return result; | |
| 3331 | + const entries = inputOptions instanceof Map ? Array.from(inputOptions) : Object.entries(inputOptions); | |
| 3332 | + return entries.map(([key, value]) => [key, typeof value === 'object' ? formatInputOptions(value) : value]); // case of <optgroup> | |
| 3368 | 3333 | }; |
| 3369 | 3334 | |
| 3370 | 3335 | /** |
| 3371 | 3336 | * @param {string} optionValue |
| @@ -3371,11 +3336,9 @@ | ||
| 3371 | 3336 | * @param {string} optionValue |
| 3372 | 3337 | * @param {SweetAlertInputValue} inputValue |
| 3373 | 3338 | * @returns {boolean} |
| 3374 | 3339 | */ |
| 3375 | - const isSelected = (optionValue, inputValue) => { | |
| 3376 | - return Boolean(inputValue) && inputValue !== null && inputValue !== undefined && inputValue.toString() === optionValue.toString(); | |
| 3377 | - }; | |
| 3340 | + const isSelected = (optionValue, inputValue) => Boolean(inputValue) && inputValue != null && inputValue.toString() === optionValue.toString(); | |
| 3378 | 3341 | |
| 3379 | 3342 | /** |
| 3380 | 3343 | * @param {SweetAlert} instance |
| 3381 | 3344 | */ |
| @@ -3556,11 +3519,9 @@ | ||
| 3556 | 3519 | } |
| 3557 | 3520 | removeClass([domCache.popup, domCache.actions], swalClasses.loading); |
| 3558 | 3521 | domCache.popup.removeAttribute('aria-busy'); |
| 3559 | 3522 | domCache.popup.removeAttribute('data-loading'); |
| 3560 | - domCache.confirmButton.disabled = false; | |
| 3561 | - domCache.denyButton.disabled = false; | |
| 3562 | - domCache.cancelButton.disabled = false; | |
| 3523 | + this.enableButtons(); | |
| 3563 | 3524 | } |
| 3564 | 3525 | |
| 3565 | 3526 | /** |
| 3566 | 3527 | * @param {DomCache} domCache |
| @@ -3613,11 +3574,11 @@ | ||
| 3613 | 3574 | } |
| 3614 | 3575 | if (input.type === 'radio') { |
| 3615 | 3576 | /** @type {NodeListOf<HTMLInputElement>} */ |
| 3616 | 3577 | const radios = popup.querySelectorAll(`[name="${swalClasses.radio}"]`); |
| 3617 | - for (let i = 0; i < radios.length; i++) { | |
| 3618 | - radios[i].disabled = disabled; | |
| 3619 | - } | |
| 3578 | + radios.forEach(radio => { | |
| 3579 | + radio.disabled = disabled; | |
| 3580 | + }); | |
| 3620 | 3581 | } else { |
| 3621 | 3582 | input.disabled = disabled; |
| 3622 | 3583 | } |
| 3623 | 3584 | } |
| @@ -3627,8 +3588,13 @@ | ||
| 3627 | 3588 | * @this {SweetAlert} |
| 3628 | 3589 | */ |
| 3629 | 3590 | function enableButtons() { |
| 3630 | 3591 | setButtonsDisabled(this, ['confirmButton', 'denyButton', 'cancelButton'], false); |
| 3592 | + const focusedElement = privateProps.focusedElement.get(this); | |
| 3593 | + if (focusedElement instanceof HTMLElement && document.activeElement === document.body) { | |
| 3594 | + focusedElement.focus(); | |
| 3595 | + } | |
| 3596 | + privateProps.focusedElement.delete(this); | |
| 3631 | 3597 | } |
| 3632 | 3598 | |
| 3633 | 3599 | /** |
| 3634 | 3600 | * Disable all the buttons |
| @@ -3634,8 +3600,9 @@ | ||
| 3634 | 3600 | * Disable all the buttons |
| 3635 | 3601 | * @this {SweetAlert} |
| 3636 | 3602 | */ |
| 3637 | 3603 | function disableButtons() { |
| 3604 | + privateProps.focusedElement.set(this, document.activeElement); | |
| 3638 | 3605 | setButtonsDisabled(this, ['confirmButton', 'denyButton', 'cancelButton'], true); |
| 3639 | 3606 | } |
| 3640 | 3607 | |
| 3641 | 3608 | /** |
| @@ -4142,25 +4109,25 @@ | ||
| 4142 | 4109 | }; |
| 4143 | 4110 | }; |
| 4144 | 4111 | |
| 4145 | 4112 | /** |
| 4146 | - * @param {any} elem | |
| 4113 | + * @param {unknown} elem | |
| 4147 | 4114 | * @returns {boolean} |
| 4148 | 4115 | */ |
| 4149 | - const isJqueryElement = elem => typeof elem === 'object' && elem.jquery; | |
| 4116 | + const isJqueryElement = elem => typeof elem === 'object' && elem !== null && 'jquery' in elem; | |
| 4150 | 4117 | |
| 4151 | 4118 | /** |
| 4152 | - * @param {any} elem | |
| 4119 | + * @param {unknown} elem | |
| 4153 | 4120 | * @returns {boolean} |
| 4154 | 4121 | */ |
| 4155 | 4122 | const isElement = elem => elem instanceof Element || isJqueryElement(elem); |
| 4156 | 4123 | |
| 4157 | 4124 | /** |
| 4158 | - * @param {any[]} args | |
| 4125 | + * @param {ReadonlyArray<unknown>} args | |
| 4159 | 4126 | * @returns {SweetAlertOptions} |
| 4160 | 4127 | */ |
| 4161 | 4128 | const argsToParams = args => { |
| 4162 | - /** @type {Record<string, any>} */ | |
| 4129 | + /** @type {Record<string, unknown>} */ | |
| 4163 | 4130 | const params = {}; |
| 4164 | 4131 | if (typeof args[0] === 'object' && !isElement(args[0])) { |
| 4165 | 4132 | Object.assign(params, args[0]); |
| 4166 | 4133 | } else { |
| @@ -4172,9 +4139,9 @@ | ||
| 4172 | 4139 | error(`Unexpected type of ${name}! Expected "string" or "Element", got ${typeof arg}`); |
| 4173 | 4140 | } |
| 4174 | 4141 | }); |
| 4175 | 4142 | } |
| 4176 | - return params; | |
| 4143 | + return /** @type {SweetAlertOptions} */params; | |
| 4177 | 4144 | }; |
| 4178 | 4145 | |
| 4179 | 4146 | /** |
| 4180 | 4147 | * Main method to create a new SweetAlert2 popup |
| @@ -4665,19 +4632,15 @@ | ||
| 4665 | 4632 | return; |
| 4666 | 4633 | } |
| 4667 | 4634 | result[`${type}ButtonText`] = button.innerHTML; |
| 4668 | 4635 | result[`show${capitalizeFirstLetter(type)}Button`] = true; |
| 4669 | - if (button.hasAttribute('color')) { | |
| 4670 | - const color = button.getAttribute('color'); | |
| 4671 | - if (color !== null) { | |
| 4672 | - result[`${type}ButtonColor`] = color; | |
| 4673 | - } | |
| 4636 | + const color = button.getAttribute('color'); | |
| 4637 | + if (color !== null) { | |
| 4638 | + result[`${type}ButtonColor`] = color; | |
| 4674 | 4639 | } |
| 4675 | - if (button.hasAttribute('aria-label')) { | |
| 4676 | - const ariaLabel = button.getAttribute('aria-label'); | |
| 4677 | - if (ariaLabel !== null) { | |
| 4678 | - result[`${type}ButtonAriaLabel`] = ariaLabel; | |
| 4679 | - } | |
| 4640 | + const ariaLabel = button.getAttribute('aria-label'); | |
| 4641 | + if (ariaLabel !== null) { | |
| 4642 | + result[`${type}ButtonAriaLabel`] = ariaLabel; | |
| 4680 | 4643 | } |
| 4681 | 4644 | }); |
| 4682 | 4645 | return result; |
| 4683 | 4646 | }; |
| @@ -4691,20 +4654,17 @@ | ||
| 4691 | 4654 | /** @type {HTMLElement | null} */ |
| 4692 | 4655 | const image = templateContent.querySelector('swal-image'); |
| 4693 | 4656 | if (image) { |
| 4694 | 4657 | showWarningsForAttributes(image, ['src', 'width', 'height', 'alt']); |
| 4695 | - if (image.hasAttribute('src')) { | |
| 4696 | - result.imageUrl = image.getAttribute('src') || undefined; | |
| 4697 | - } | |
| 4698 | - if (image.hasAttribute('width')) { | |
| 4699 | - result.imageWidth = image.getAttribute('width') || undefined; | |
| 4700 | - } | |
| 4701 | - if (image.hasAttribute('height')) { | |
| 4702 | - result.imageHeight = image.getAttribute('height') || undefined; | |
| 4703 | - } | |
| 4704 | - if (image.hasAttribute('alt')) { | |
| 4705 | - result.imageAlt = image.getAttribute('alt') || undefined; | |
| 4706 | - } | |
| 4658 | + // getAttribute returns null if attribute is absent; `|| undefined` converts empty string to undefined | |
| 4659 | + const src = image.getAttribute('src'); | |
| 4660 | + if (src !== null) result.imageUrl = src || undefined; | |
| 4661 | + const width = image.getAttribute('width'); | |
| 4662 | + if (width !== null) result.imageWidth = width || undefined; | |
| 4663 | + const height = image.getAttribute('height'); | |
| 4664 | + if (height !== null) result.imageHeight = height || undefined; | |
| 4665 | + const alt = image.getAttribute('alt'); | |
| 4666 | + if (alt !== null) result.imageAlt = alt || undefined; | |
| 4707 | 4667 | } |
| 4708 | 4668 | return result; |
| 4709 | 4669 | }; |
| 4710 | 4670 | |
| @@ -4839,12 +4799,17 @@ | ||
| 4839 | 4799 | setTimeout(() => { |
| 4840 | 4800 | setScrollingVisibility(container, popup); |
| 4841 | 4801 | }, SHOW_CLASS_TIMEOUT); |
| 4842 | 4802 | if (isModal()) { |
| 4843 | - // Using ternary instead of ?? operator for Webpack 4 compatibility | |
| 4844 | 4803 | fixScrollContainer(container, params.scrollbarPadding !== undefined ? params.scrollbarPadding : false, initialBodyOverflow); |
| 4845 | 4804 | setAriaHidden(); |
| 4846 | 4805 | } |
| 4806 | + | |
| 4807 | + // https://github.com/sweetalert2/sweetalert2/issues/2923 | |
| 4808 | + if (isIOS && params.backdrop === false && popup.scrollHeight > container.clientHeight) { | |
| 4809 | + // remove pointer-events: none from container, it breaks scrolling tall popups in iOS | |
| 4810 | + container.style.pointerEvents = 'auto'; | |
| 4811 | + } | |
| 4847 | 4812 | if (!isToast() && !globalState.previousActiveElement) { |
| 4848 | 4813 | globalState.previousActiveElement = document.activeElement; |
| 4849 | 4814 | } |
| 4850 | 4815 | if (typeof params.didOpen === 'function') { |
| @@ -5016,9 +4981,10 @@ | ||
| 5016 | 4981 | constructor(...args) { |
| 5017 | 4982 | /** |
| 5018 | 4983 | * @type {Promise<SweetAlertResult>} |
| 5019 | 4984 | */ |
| 5020 | - _classPrivateFieldInitSpec(this, _promise, /** @type {Promise<SweetAlertResult>} */Promise.resolve({ | |
| 4985 | + _classPrivateFieldInitSpec(this, _promise, /** @type {Promise<SweetAlertResult>} */ | |
| 4986 | + Promise.resolve({ | |
| 5021 | 4987 | isConfirmed: false, |
| 5022 | 4988 | isDenied: false, |
| 5023 | 4989 | isDismissed: true |
| 5024 | 4990 | })); |
| @@ -5082,8 +5048,9 @@ | ||
| 5082 | 5048 | // `catch` cannot be the name of a module export, so we define our thenable methods here instead |
| 5083 | 5049 | /** |
| 5084 | 5050 | * @param {any} onFulfilled |
| 5085 | 5051 | */ |
| 5052 | + // oxlint-disable-next-line unicorn/no-thenable | |
| 5086 | 5053 | then(onFulfilled) { |
| 5087 | 5054 | return _classPrivateFieldGet2(_promise, this).then(onFulfilled); |
| 5088 | 5055 | } |
| 5089 | 5056 | |
| @@ -5227,10 +5194,10 @@ | ||
| 5227 | 5194 | return; |
| 5228 | 5195 | } |
| 5229 | 5196 | // TODO: this is dumb, remove `allowEnterKey` param in the next major version |
| 5230 | 5197 | if (!callIfFunction(innerParams.allowEnterKey)) { |
| 5231 | - warnAboutDeprecation('allowEnterKey'); | |
| 5232 | - blurActiveElement(); | |
| 5198 | + warnAboutDeprecation('allowEnterKey', 'preConfirm: () => false'); | |
| 5199 | + domCache.popup.focus(); | |
| 5233 | 5200 | return; |
| 5234 | 5201 | } |
| 5235 | 5202 | if (focusAutofocus(domCache)) { |
| 5236 | 5203 | return; |
| @@ -5275,13 +5242,8 @@ | ||
| 5275 | 5242 | return true; |
| 5276 | 5243 | } |
| 5277 | 5244 | return false; |
| 5278 | 5245 | }; |
| 5279 | - const blurActiveElement = () => { | |
| 5280 | - if (document.activeElement instanceof HTMLElement && typeof document.activeElement.blur === 'function') { | |
| 5281 | - document.activeElement.blur(); | |
| 5282 | - } | |
| 5283 | - }; | |
| 5284 | 5246 | |
| 5285 | 5247 | // Assign instance methods from src/instanceMethods/*.js to prototype |
| 5286 | 5248 | SweetAlert.prototype.disableButtons = disableButtons; |
| 5287 | 5249 | SweetAlert.prototype.enableButtons = enableButtons; |
| @@ -5319,9 +5281,9 @@ | ||
| 5319 | 5281 | return undefined; |
| 5320 | 5282 | }; |
| 5321 | 5283 | }); |
| 5322 | 5284 | SweetAlert.DismissReason = DismissReason; |
| 5323 | - SweetAlert.version = '11.26.17'; | |
| 5285 | + SweetAlert.version = '11.26.25'; | |
| 5324 | 5286 | |
| 5325 | 5287 | const Swal = SweetAlert; |
| 5326 | 5288 | // @ts-ignore |
| 5327 | 5289 | Swal.default = Swal; |
| @@ -5329,9 +5291,9 @@ | ||
| 5329 | 5291 | return Swal; |
| 5330 | 5292 | |
| 5331 | 5293 | })); |
| 5332 | 5294 | if (typeof this !== 'undefined' && this.Sweetalert2){this.swal = this.sweetAlert = this.Swal = this.SweetAlert = this.Sweetalert2} |
| 5333 | -"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}}"); | |
| 5295 | +"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}}"); | |
| 5334 | 5296 | |
| 5335 | 5297 | /***/ } |
| 5336 | 5298 | |
| 5337 | 5299 | /******/ }); |
| @@ -5336,19 +5298,19 @@ | ||
| 5336 | 5298 | |
| 5337 | 5299 | /******/ }); |
| 5338 | 5300 | /************************************************************************/ |
| 5339 | 5301 | /******/ // The module cache |
| 5340 | -/******/ var __webpack_module_cache__ = {}; | |
| 5302 | +/******/ const __webpack_module_cache__ = {}; | |
| 5341 | 5303 | /******/ |
| 5342 | 5304 | /******/ // The require function |
| 5343 | 5305 | /******/ function __webpack_require__(moduleId) { |
| 5344 | 5306 | /******/ // Check if module is in cache |
| 5345 | -/******/ var cachedModule = __webpack_module_cache__[moduleId]; | |
| 5307 | +/******/ const cachedModule = __webpack_module_cache__[moduleId]; | |
| 5346 | 5308 | /******/ if (cachedModule !== undefined) { |
| 5347 | 5309 | /******/ return cachedModule.exports; |
| 5348 | 5310 | /******/ } |
| 5349 | 5311 | /******/ // Create a new module (and put it into the cache) |
| 5350 | -/******/ var module = __webpack_module_cache__[moduleId] = { | |
| 5312 | +/******/ const module = __webpack_module_cache__[moduleId] = { | |
| 5351 | 5313 | /******/ // no module.id needed |
| 5352 | 5314 | /******/ // no module.loaded needed |
| 5353 | 5315 | /******/ exports: {} |
| 5354 | 5316 | /******/ }; |
| @@ -5355,9 +5317,9 @@ | ||
| 5355 | 5317 | /******/ |
| 5356 | 5318 | /******/ // Execute the module function |
| 5357 | 5319 | /******/ if (!(moduleId in __webpack_modules__)) { |
| 5358 | 5320 | /******/ delete __webpack_module_cache__[moduleId]; |
| 5359 | -/******/ var e = new Error("Cannot find module '" + moduleId + "'"); | |
| 5321 | +/******/ const e = new Error("Cannot find module '" + moduleId + "'"); | |
| 5360 | 5322 | /******/ e.code = 'MODULE_NOT_FOUND'; |
| 5361 | 5323 | /******/ throw e; |
| 5362 | 5324 | /******/ } |
| 5363 | 5325 | /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| @@ -5370,9 +5332,9 @@ | ||
| 5370 | 5332 | /******/ /* webpack/runtime/compat get default export */ |
| 5371 | 5333 | /******/ (() => { |
| 5372 | 5334 | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| 5373 | 5335 | /******/ __webpack_require__.n = (module) => { |
| 5374 | -/******/ var getter = module && module.__esModule ? | |
| 5336 | +/******/ const getter = module && module.__esModule ? | |
| 5375 | 5337 | /******/ () => (module['default']) : |
| 5376 | 5338 | /******/ () => (module); |
| 5377 | 5339 | /******/ __webpack_require__.d(getter, { a: getter }); |
| 5378 | 5340 | /******/ return getter; |
| @@ -5380,14 +5342,29 @@ | ||
| 5380 | 5342 | /******/ })(); |
| 5381 | 5343 | /******/ |
| 5382 | 5344 | /******/ /* webpack/runtime/define property getters */ |
| 5383 | 5345 | /******/ (() => { |
| 5384 | -/******/ // define getter functions for harmony exports | |
| 5346 | +/******/ // define getter/value functions for harmony exports | |
| 5385 | 5347 | /******/ __webpack_require__.d = (exports, definition) => { |
| 5386 | -/******/ for(var key in definition) { | |
| 5387 | -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | |
| 5388 | -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | |
| 5348 | +/******/ if(Array.isArray(definition)) { | |
| 5349 | +/******/ var i = 0; | |
| 5350 | +/******/ while(i < definition.length) { | |
| 5351 | +/******/ var key = definition[i++]; | |
| 5352 | +/******/ var binding = definition[i++]; | |
| 5353 | +/******/ if(!__webpack_require__.o(exports, key)) { | |
| 5354 | +/******/ if(binding === 0) { | |
| 5355 | +/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] }); | |
| 5356 | +/******/ } else { | |
| 5357 | +/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding }); | |
| 5358 | +/******/ } | |
| 5359 | +/******/ } else if(binding === 0) { i++; } | |
| 5389 | 5360 | /******/ } |
| 5361 | +/******/ } else { | |
| 5362 | +/******/ for(var key in definition) { | |
| 5363 | +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | |
| 5364 | +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | |
| 5365 | +/******/ } | |
| 5366 | +/******/ } | |
| 5390 | 5367 | /******/ } |
| 5391 | 5368 | /******/ }; |
| 5392 | 5369 | /******/ })(); |
| 5393 | 5370 | /******/ |
| @@ -5392,9 +5369,9 @@ | ||
| 5392 | 5369 | /******/ })(); |
| 5393 | 5370 | /******/ |
| 5394 | 5371 | /******/ /* webpack/runtime/hasOwnProperty shorthand */ |
| 5395 | 5372 | /******/ (() => { |
| 5396 | -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) | |
| 5373 | +/******/ __webpack_require__.o = (obj, prop) => (Object.hasOwn(obj, prop)) | |
| 5397 | 5374 | /******/ })(); |
| 5398 | 5375 | /******/ |
| 5399 | 5376 | /******/ /* webpack/runtime/make namespace object */ |
| 5400 | 5377 | /******/ (() => { |
| @@ -5399,9 +5376,9 @@ | ||
| 5399 | 5376 | /******/ /* webpack/runtime/make namespace object */ |
| 5400 | 5377 | /******/ (() => { |
| 5401 | 5378 | /******/ // define __esModule on exports |
| 5402 | 5379 | /******/ __webpack_require__.r = (exports) => { |
| 5403 | -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | |
| 5380 | +/******/ if(Symbol.toStringTag) { | |
| 5404 | 5381 | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| 5405 | 5382 | /******/ } |
| 5406 | 5383 | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| 5407 | 5384 | /******/ }; |
| @@ -5407,9 +5384,9 @@ | ||
| 5407 | 5384 | /******/ }; |
| 5408 | 5385 | /******/ })(); |
| 5409 | 5386 | /******/ |
| 5410 | 5387 | /************************************************************************/ |
| 5411 | -var __webpack_exports__ = {}; | |
| 5388 | +let __webpack_exports__ = {}; | |
| 5412 | 5389 | // This entry needs to be wrapped in an IIFE because it needs to be in strict mode. |
| 5413 | 5390 | (() => { |
| 5414 | 5391 | "use strict"; |
| 5415 | 5392 | /*!*****************************************!*\ |