| @@ -7296,9 +7296,9 @@ | ||
| 7296 | 7296 | \**********************************************************/ |
| 7297 | 7297 | (module) { |
| 7298 | 7298 | |
| 7299 | 7299 | /*! |
| 7300 | -* sweetalert2 v11.26.17 | |
| 7300 | +* sweetalert2 v11.26.25 | |
| 7301 | 7301 | * Released under the MIT License. |
| 7302 | 7302 | */ |
| 7303 | 7303 | (function (global, factory) { |
| 7304 | 7304 | true ? module.exports = factory() : |
| @@ -7467,8 +7467,13 @@ | ||
| 7467 | 7467 | */ |
| 7468 | 7468 | const isPromise = arg => arg && Promise.resolve(arg) === arg; |
| 7469 | 7469 | |
| 7470 | 7470 | /** |
| 7471 | + * @returns {boolean} | |
| 7472 | + */ | |
| 7473 | + const isFirefox = () => navigator.userAgent.includes('Firefox'); | |
| 7474 | + | |
| 7475 | + /** | |
| 7471 | 7476 | * Gets the popup container which contains the backdrop and the popup itself. |
| 7472 | 7477 | * |
| 7473 | 7478 | * @returns {HTMLElement | null} |
| 7474 | 7479 | */ |
| @@ -7690,15 +7695,9 @@ | ||
| 7690 | 7695 | const hasClass = (elem, className) => { |
| 7691 | 7696 | if (!className) { |
| 7692 | 7697 | return false; |
| 7693 | 7698 | } |
| 7694 | - const classList = className.split(/\s+/); | |
| 7695 | - for (let i = 0; i < classList.length; i++) { | |
| 7696 | - if (!elem.classList.contains(classList[i])) { | |
| 7697 | - return false; | |
| 7698 | - } | |
| 7699 | - } | |
| 7700 | - return true; | |
| 7699 | + return className.split(/\s+/).every(cls => elem.classList.contains(cls)); | |
| 7701 | 7700 | }; |
| 7702 | 7701 | |
| 7703 | 7702 | /** |
| 7704 | 7703 | * @param {HTMLElement} elem |
| @@ -7781,27 +7780,18 @@ | ||
| 7781 | 7780 | const toggleClass = (target, classList, condition) => { |
| 7782 | 7781 | if (!target || !classList) { |
| 7783 | 7782 | return; |
| 7784 | 7783 | } |
| 7785 | - if (typeof classList === 'string') { | |
| 7786 | - classList = classList.split(/\s+/).filter(Boolean); | |
| 7787 | - } | |
| 7788 | - classList.forEach(className => { | |
| 7789 | - if (Array.isArray(target)) { | |
| 7790 | - target.forEach(elem => { | |
| 7791 | - if (condition) { | |
| 7792 | - elem.classList.add(className); | |
| 7793 | - } else { | |
| 7794 | - elem.classList.remove(className); | |
| 7795 | - } | |
| 7796 | - }); | |
| 7797 | - } else { | |
| 7784 | + const classes = typeof classList === 'string' ? classList.split(/\s+/).filter(Boolean) : classList; | |
| 7785 | + const targets = Array.isArray(target) ? target : [target]; | |
| 7786 | + targets.forEach(elem => { | |
| 7787 | + classes.forEach(className => { | |
| 7798 | 7788 | if (condition) { |
| 7799 | - target.classList.add(className); | |
| 7789 | + elem.classList.add(className); | |
| 7800 | 7790 | } else { |
| 7801 | - target.classList.remove(className); | |
| 7791 | + elem.classList.remove(className); | |
| 7802 | 7792 | } |
| 7803 | - } | |
| 7793 | + }); | |
| 7804 | 7794 | }); |
| 7805 | 7795 | }; |
| 7806 | 7796 | |
| 7807 | 7797 | /** |
| @@ -7826,17 +7816,10 @@ | ||
| 7826 | 7816 | * @param {HTMLElement} elem |
| 7827 | 7817 | * @param {string} className |
| 7828 | 7818 | * @returns {HTMLElement | undefined} |
| 7829 | 7819 | */ |
| 7830 | - const getDirectChildByClass = (elem, className) => { | |
| 7831 | - const children = Array.from(elem.children); | |
| 7832 | - for (let i = 0; i < children.length; i++) { | |
| 7833 | - const child = children[i]; | |
| 7834 | - if (child instanceof HTMLElement && hasClass(child, className)) { | |
| 7835 | - return child; | |
| 7836 | - } | |
| 7837 | - } | |
| 7838 | - }; | |
| 7820 | + const getDirectChildByClass = (elem, className) => (/** @type {HTMLElement | undefined} */ | |
| 7821 | + Array.from(elem.children).find(child => child instanceof HTMLElement && hasClass(child, className))); | |
| 7839 | 7822 | |
| 7840 | 7823 | /** |
| 7841 | 7824 | * @param {HTMLElement} elem |
| 7842 | 7825 | * @param {string} property |
| @@ -7845,9 +7828,9 @@ | ||
| 7845 | 7828 | const applyNumericalStyle = (elem, property, value) => { |
| 7846 | 7829 | if (value === `${parseInt(`${value}`)}`) { |
| 7847 | 7830 | value = parseInt(value); |
| 7848 | 7831 | } |
| 7849 | - if (value || parseInt(`${value}`) === 0) { | |
| 7832 | + if (value || value === 0) { | |
| 7850 | 7833 | elem.style.setProperty(property, typeof value === 'number' ? `${value}px` : (/** @type {string} */value)); |
| 7851 | 7834 | } else { |
| 7852 | 7835 | elem.style.removeProperty(property); |
| 7853 | 7836 | } |
| @@ -8294,23 +8277,17 @@ | ||
| 8294 | 8277 | return; |
| 8295 | 8278 | } |
| 8296 | 8279 | addClass([confirmButton, denyButton, cancelButton], swalClasses.styled); |
| 8297 | 8280 | |
| 8298 | - // Apply custom background colors to action buttons | |
| 8299 | - if (params.confirmButtonColor) { | |
| 8300 | - confirmButton.style.setProperty('--swal2-confirm-button-background-color', params.confirmButtonColor); | |
| 8301 | - } | |
| 8302 | - if (params.denyButtonColor) { | |
| 8303 | - denyButton.style.setProperty('--swal2-deny-button-background-color', params.denyButtonColor); | |
| 8304 | - } | |
| 8305 | - if (params.cancelButtonColor) { | |
| 8306 | - cancelButton.style.setProperty('--swal2-cancel-button-background-color', params.cancelButtonColor); | |
| 8307 | - } | |
| 8308 | - | |
| 8309 | - // Apply the outline color to action buttons | |
| 8310 | - applyOutlineColor(confirmButton); | |
| 8311 | - applyOutlineColor(denyButton); | |
| 8312 | - applyOutlineColor(cancelButton); | |
| 8281 | + // Apply custom background colors and outline colors to action buttons | |
| 8282 | + /** @type {[HTMLElement, string, string | undefined][]} */ | |
| 8283 | + const buttons = [[confirmButton, 'confirm', params.confirmButtonColor], [denyButton, 'deny', params.denyButtonColor], [cancelButton, 'cancel', params.cancelButtonColor]]; | |
| 8284 | + buttons.forEach(([button, type, color]) => { | |
| 8285 | + if (color) { | |
| 8286 | + button.style.setProperty(`--swal2-${type}-button-background-color`, color); | |
| 8287 | + } | |
| 8288 | + applyOutlineColor(button); | |
| 8289 | + }); | |
| 8313 | 8290 | } |
| 8314 | 8291 | |
| 8315 | 8292 | /** |
| 8316 | 8293 | * @param {HTMLElement} button |
| @@ -8425,9 +8402,10 @@ | ||
| 8425 | 8402 | */ |
| 8426 | 8403 | |
| 8427 | 8404 | var privateProps = { |
| 8428 | 8405 | innerParams: new WeakMap(), |
| 8429 | - domCache: new WeakMap() | |
| 8406 | + domCache: new WeakMap(), | |
| 8407 | + focusedElement: new WeakMap() | |
| 8430 | 8408 | }; |
| 8431 | 8409 | |
| 8432 | 8410 | /// <reference path="../../../../sweetalert2.d.ts"/> |
| 8433 | 8411 | |
| @@ -8499,12 +8477,13 @@ | ||
| 8499 | 8477 | /** |
| 8500 | 8478 | * @param {HTMLInputElement} input |
| 8501 | 8479 | */ |
| 8502 | 8480 | const removeAttributes = input => { |
| 8503 | - for (let i = 0; i < input.attributes.length; i++) { | |
| 8504 | - const attrName = input.attributes[i].name; | |
| 8505 | - if (!['id', 'type', 'value', 'style'].includes(attrName)) { | |
| 8506 | - input.removeAttribute(attrName); | |
| 8481 | + for (const { | |
| 8482 | + name | |
| 8483 | + } of Array.from(input.attributes)) { | |
| 8484 | + if (!['id', 'type', 'value', 'style'].includes(name)) { | |
| 8485 | + input.removeAttribute(name); | |
| 8507 | 8486 | } |
| 8508 | 8487 | } |
| 8509 | 8488 | }; |
| 8510 | 8489 | |
| @@ -8602,12 +8581,14 @@ | ||
| 8602 | 8581 | * @returns {Input} |
| 8603 | 8582 | */ |
| 8604 | 8583 | 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} */ |
| 8605 | 8584 | (input, params) => { |
| 8585 | + // oxfmt-ignore | |
| 8606 | 8586 | const inputElement = /** @type {HTMLInputElement} */input; |
| 8607 | 8587 | checkAndSetInputValue(inputElement, params.inputValue); |
| 8608 | 8588 | setInputLabel(inputElement, inputElement, params); |
| 8609 | 8589 | setInputPlaceholder(inputElement, params); |
| 8590 | + // oxfmt-ignore | |
| 8610 | 8591 | inputElement.type = /** @type {string} */params.input; |
| 8611 | 8592 | return inputElement; |
| 8612 | 8593 | }; |
| 8613 | 8594 | |
| @@ -8871,11 +8852,11 @@ | ||
| 8871 | 8852 | } |
| 8872 | 8853 | const popupBackgroundColor = window.getComputedStyle(popup).getPropertyValue('background-color'); |
| 8873 | 8854 | /** @type {NodeListOf<HTMLElement>} */ |
| 8874 | 8855 | const successIconParts = popup.querySelectorAll('[class^=swal2-success-circular-line], .swal2-success-fix'); |
| 8875 | - for (let i = 0; i < successIconParts.length; i++) { | |
| 8876 | - successIconParts[i].style.backgroundColor = popupBackgroundColor; | |
| 8877 | - } | |
| 8856 | + successIconParts.forEach(part => { | |
| 8857 | + part.style.backgroundColor = popupBackgroundColor; | |
| 8858 | + }); | |
| 8878 | 8859 | }; |
| 8879 | 8860 | |
| 8880 | 8861 | /** |
| 8881 | 8862 | * |
| @@ -9055,20 +9036,12 @@ | ||
| 9055 | 9036 | * @param {MouseEvent | TouchEvent} event |
| 9056 | 9037 | * @returns {{ clientX: number, clientY: number }} |
| 9057 | 9038 | */ |
| 9058 | 9039 | const getClientXY = event => { |
| 9059 | - let clientX = 0, | |
| 9060 | - clientY = 0; | |
| 9061 | - if (event.type.startsWith('mouse')) { | |
| 9062 | - clientX = /** @type {MouseEvent} */event.clientX; | |
| 9063 | - clientY = /** @type {MouseEvent} */event.clientY; | |
| 9064 | - } else if (event.type.startsWith('touch')) { | |
| 9065 | - clientX = /** @type {TouchEvent} */event.touches[0].clientX; | |
| 9066 | - clientY = /** @type {TouchEvent} */event.touches[0].clientY; | |
| 9067 | - } | |
| 9040 | + const source = event.type.startsWith('touch') ? /** @type {TouchEvent} */event.touches[0] : (/** @type {MouseEvent} */event); | |
| 9068 | 9041 | return { |
| 9069 | - clientX, | |
| 9070 | - clientY | |
| 9042 | + clientX: source.clientX, | |
| 9043 | + clientY: source.clientY | |
| 9071 | 9044 | }; |
| 9072 | 9045 | }; |
| 9073 | 9046 | |
| 9074 | 9047 | /** |
| @@ -9296,9 +9269,10 @@ | ||
| 9296 | 9269 | * @param {GlobalState} globalState |
| 9297 | 9270 | */ |
| 9298 | 9271 | const removeKeydownHandler = globalState => { |
| 9299 | 9272 | if (globalState.keydownTarget && globalState.keydownHandlerAdded && globalState.keydownHandler) { |
| 9300 | - const handler = /** @type {EventListenerOrEventListenerObject} */ /** @type {unknown} */globalState.keydownHandler; | |
| 9273 | + const handler = /** @type {EventListenerOrEventListenerObject} */ | |
| 9274 | + /** @type {unknown} */globalState.keydownHandler; | |
| 9301 | 9275 | globalState.keydownTarget.removeEventListener('keydown', handler, { |
| 9302 | 9276 | capture: globalState.keydownListenerCapture |
| 9303 | 9277 | }); |
| 9304 | 9278 | globalState.keydownHandlerAdded = false; |
| @@ -9331,8 +9305,9 @@ | ||
| 9331 | 9305 | |
| 9332 | 9306 | /** |
| 9333 | 9307 | * @param {number} index |
| 9334 | 9308 | * @param {number} increment |
| 9309 | + * @returns {boolean} shouldPreventDefault | |
| 9335 | 9310 | */ |
| 9336 | 9311 | const setFocus = (index, increment) => { |
| 9337 | 9312 | var _dom$getPopup; |
| 9338 | 9313 | const focusableElements = getFocusableElements(); |
| @@ -9353,12 +9328,19 @@ | ||
| 9353 | 9328 | } else if (index === -1) { |
| 9354 | 9329 | index = focusableElements.length - 1; |
| 9355 | 9330 | } |
| 9356 | 9331 | focusableElements[index].focus(); |
| 9357 | - return; | |
| 9332 | + | |
| 9333 | + // don't prevent default for iframes (Firefox fix) | |
| 9334 | + // https://github.com/sweetalert2/sweetalert2/issues/2931 | |
| 9335 | + if (isFirefox() && focusableElements[index] instanceof HTMLIFrameElement) { | |
| 9336 | + return false; | |
| 9337 | + } | |
| 9338 | + return true; | |
| 9358 | 9339 | } |
| 9359 | 9340 | // no visible focusable elements, focus the popup |
| 9360 | 9341 | (_dom$getPopup = getPopup()) === null || _dom$getPopup === void 0 || _dom$getPopup.focus(); |
| 9342 | + return true; | |
| 9361 | 9343 | }; |
| 9362 | 9344 | const arrowKeysNextButton = ['ArrowRight', 'ArrowDown']; |
| 9363 | 9345 | const arrowKeysPreviousButton = ['ArrowLeft', 'ArrowUp']; |
| 9364 | 9346 | |
| @@ -9432,27 +9414,27 @@ | ||
| 9432 | 9414 | */ |
| 9433 | 9415 | const handleTab = event => { |
| 9434 | 9416 | const targetElement = event.target; |
| 9435 | 9417 | const focusableElements = getFocusableElements(); |
| 9436 | - let btnIndex = -1; | |
| 9437 | - for (let i = 0; i < focusableElements.length; i++) { | |
| 9438 | - if (targetElement === focusableElements[i]) { | |
| 9439 | - btnIndex = i; | |
| 9440 | - break; | |
| 9441 | - } | |
| 9442 | - } | |
| 9418 | + const btnIndex = focusableElements.findIndex(el => el === targetElement); | |
| 9443 | 9419 | |
| 9420 | + // don't prevent default for iframes (Firefox fix) | |
| 9421 | + // https://github.com/sweetalert2/sweetalert2/issues/2931 | |
| 9422 | + let shouldPreventDefault = true; | |
| 9423 | + | |
| 9444 | 9424 | // Cycle to the next button |
| 9445 | 9425 | if (!event.shiftKey) { |
| 9446 | - setFocus(btnIndex, 1); | |
| 9426 | + shouldPreventDefault = setFocus(btnIndex, 1); | |
| 9447 | 9427 | } |
| 9448 | 9428 | |
| 9449 | 9429 | // Cycle to the prev button |
| 9450 | 9430 | else { |
| 9451 | - setFocus(btnIndex, -1); | |
| 9431 | + shouldPreventDefault = setFocus(btnIndex, -1); | |
| 9452 | 9432 | } |
| 9453 | 9433 | event.stopPropagation(); |
| 9454 | - event.preventDefault(); | |
| 9434 | + if (shouldPreventDefault) { | |
| 9435 | + event.preventDefault(); | |
| 9436 | + } | |
| 9455 | 9437 | }; |
| 9456 | 9438 | |
| 9457 | 9439 | /** |
| 9458 | 9440 | * @param {string} key |
| @@ -9548,8 +9530,11 @@ | ||
| 9548 | 9530 | |
| 9549 | 9531 | // @ts-ignore |
| 9550 | 9532 | const isSafariOrIOS = typeof window !== 'undefined' && Boolean(window.GestureEvent); // true for Safari desktop + all iOS browsers https://stackoverflow.com/a/70585394 |
| 9551 | 9533 | |
| 9534 | + // @ts-ignore | |
| 9535 | + const isIOS = isSafariOrIOS && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream; | |
| 9536 | + | |
| 9552 | 9537 | /** |
| 9553 | 9538 | * Fix iOS scrolling |
| 9554 | 9539 | * http://stackoverflow.com/q/39626302 |
| 9555 | 9540 | */ |
| @@ -10131,30 +10116,10 @@ | ||
| 10131 | 10116 | * @typedef {string[]} InputOptionFlattened |
| 10132 | 10117 | * @returns {InputOptionFlattened[]} |
| 10133 | 10118 | */ |
| 10134 | 10119 | const formatInputOptions = inputOptions => { |
| 10135 | - /** @type {InputOptionFlattened[]} */ | |
| 10136 | - const result = []; | |
| 10137 | - if (inputOptions instanceof Map) { | |
| 10138 | - inputOptions.forEach((value, key) => { | |
| 10139 | - let valueFormatted = value; | |
| 10140 | - if (typeof valueFormatted === 'object') { | |
| 10141 | - // case of <optgroup> | |
| 10142 | - valueFormatted = formatInputOptions(valueFormatted); | |
| 10143 | - } | |
| 10144 | - result.push([key, valueFormatted]); | |
| 10145 | - }); | |
| 10146 | - } else { | |
| 10147 | - Object.keys(inputOptions).forEach(key => { | |
| 10148 | - let valueFormatted = inputOptions[key]; | |
| 10149 | - if (typeof valueFormatted === 'object') { | |
| 10150 | - // case of <optgroup> | |
| 10151 | - valueFormatted = formatInputOptions(valueFormatted); | |
| 10152 | - } | |
| 10153 | - result.push([key, valueFormatted]); | |
| 10154 | - }); | |
| 10155 | - } | |
| 10156 | - return result; | |
| 10120 | + const entries = inputOptions instanceof Map ? Array.from(inputOptions) : Object.entries(inputOptions); | |
| 10121 | + return entries.map(([key, value]) => [key, typeof value === 'object' ? formatInputOptions(value) : value]); // case of <optgroup> | |
| 10157 | 10122 | }; |
| 10158 | 10123 | |
| 10159 | 10124 | /** |
| 10160 | 10125 | * @param {string} optionValue |
| @@ -10160,11 +10125,9 @@ | ||
| 10160 | 10125 | * @param {string} optionValue |
| 10161 | 10126 | * @param {SweetAlertInputValue} inputValue |
| 10162 | 10127 | * @returns {boolean} |
| 10163 | 10128 | */ |
| 10164 | - const isSelected = (optionValue, inputValue) => { | |
| 10165 | - return Boolean(inputValue) && inputValue !== null && inputValue !== undefined && inputValue.toString() === optionValue.toString(); | |
| 10166 | - }; | |
| 10129 | + const isSelected = (optionValue, inputValue) => Boolean(inputValue) && inputValue != null && inputValue.toString() === optionValue.toString(); | |
| 10167 | 10130 | |
| 10168 | 10131 | /** |
| 10169 | 10132 | * @param {SweetAlert} instance |
| 10170 | 10133 | */ |
| @@ -10345,11 +10308,9 @@ | ||
| 10345 | 10308 | } |
| 10346 | 10309 | removeClass([domCache.popup, domCache.actions], swalClasses.loading); |
| 10347 | 10310 | domCache.popup.removeAttribute('aria-busy'); |
| 10348 | 10311 | domCache.popup.removeAttribute('data-loading'); |
| 10349 | - domCache.confirmButton.disabled = false; | |
| 10350 | - domCache.denyButton.disabled = false; | |
| 10351 | - domCache.cancelButton.disabled = false; | |
| 10312 | + this.enableButtons(); | |
| 10352 | 10313 | } |
| 10353 | 10314 | |
| 10354 | 10315 | /** |
| 10355 | 10316 | * @param {DomCache} domCache |
| @@ -10402,11 +10363,11 @@ | ||
| 10402 | 10363 | } |
| 10403 | 10364 | if (input.type === 'radio') { |
| 10404 | 10365 | /** @type {NodeListOf<HTMLInputElement>} */ |
| 10405 | 10366 | const radios = popup.querySelectorAll(`[name="${swalClasses.radio}"]`); |
| 10406 | - for (let i = 0; i < radios.length; i++) { | |
| 10407 | - radios[i].disabled = disabled; | |
| 10408 | - } | |
| 10367 | + radios.forEach(radio => { | |
| 10368 | + radio.disabled = disabled; | |
| 10369 | + }); | |
| 10409 | 10370 | } else { |
| 10410 | 10371 | input.disabled = disabled; |
| 10411 | 10372 | } |
| 10412 | 10373 | } |
| @@ -10416,8 +10377,13 @@ | ||
| 10416 | 10377 | * @this {SweetAlert} |
| 10417 | 10378 | */ |
| 10418 | 10379 | function enableButtons() { |
| 10419 | 10380 | setButtonsDisabled(this, ['confirmButton', 'denyButton', 'cancelButton'], false); |
| 10381 | + const focusedElement = privateProps.focusedElement.get(this); | |
| 10382 | + if (focusedElement instanceof HTMLElement && document.activeElement === document.body) { | |
| 10383 | + focusedElement.focus(); | |
| 10384 | + } | |
| 10385 | + privateProps.focusedElement.delete(this); | |
| 10420 | 10386 | } |
| 10421 | 10387 | |
| 10422 | 10388 | /** |
| 10423 | 10389 | * Disable all the buttons |
| @@ -10423,8 +10389,9 @@ | ||
| 10423 | 10389 | * Disable all the buttons |
| 10424 | 10390 | * @this {SweetAlert} |
| 10425 | 10391 | */ |
| 10426 | 10392 | function disableButtons() { |
| 10393 | + privateProps.focusedElement.set(this, document.activeElement); | |
| 10427 | 10394 | setButtonsDisabled(this, ['confirmButton', 'denyButton', 'cancelButton'], true); |
| 10428 | 10395 | } |
| 10429 | 10396 | |
| 10430 | 10397 | /** |
| @@ -10931,25 +10898,25 @@ | ||
| 10931 | 10898 | }; |
| 10932 | 10899 | }; |
| 10933 | 10900 | |
| 10934 | 10901 | /** |
| 10935 | - * @param {any} elem | |
| 10902 | + * @param {unknown} elem | |
| 10936 | 10903 | * @returns {boolean} |
| 10937 | 10904 | */ |
| 10938 | - const isJqueryElement = elem => typeof elem === 'object' && elem.jquery; | |
| 10905 | + const isJqueryElement = elem => typeof elem === 'object' && elem !== null && 'jquery' in elem; | |
| 10939 | 10906 | |
| 10940 | 10907 | /** |
| 10941 | - * @param {any} elem | |
| 10908 | + * @param {unknown} elem | |
| 10942 | 10909 | * @returns {boolean} |
| 10943 | 10910 | */ |
| 10944 | 10911 | const isElement = elem => elem instanceof Element || isJqueryElement(elem); |
| 10945 | 10912 | |
| 10946 | 10913 | /** |
| 10947 | - * @param {any[]} args | |
| 10914 | + * @param {ReadonlyArray<unknown>} args | |
| 10948 | 10915 | * @returns {SweetAlertOptions} |
| 10949 | 10916 | */ |
| 10950 | 10917 | const argsToParams = args => { |
| 10951 | - /** @type {Record<string, any>} */ | |
| 10918 | + /** @type {Record<string, unknown>} */ | |
| 10952 | 10919 | const params = {}; |
| 10953 | 10920 | if (typeof args[0] === 'object' && !isElement(args[0])) { |
| 10954 | 10921 | Object.assign(params, args[0]); |
| 10955 | 10922 | } else { |
| @@ -10961,9 +10928,9 @@ | ||
| 10961 | 10928 | error(`Unexpected type of ${name}! Expected "string" or "Element", got ${typeof arg}`); |
| 10962 | 10929 | } |
| 10963 | 10930 | }); |
| 10964 | 10931 | } |
| 10965 | - return params; | |
| 10932 | + return /** @type {SweetAlertOptions} */params; | |
| 10966 | 10933 | }; |
| 10967 | 10934 | |
| 10968 | 10935 | /** |
| 10969 | 10936 | * Main method to create a new SweetAlert2 popup |
| @@ -11454,19 +11421,15 @@ | ||
| 11454 | 11421 | return; |
| 11455 | 11422 | } |
| 11456 | 11423 | result[`${type}ButtonText`] = button.innerHTML; |
| 11457 | 11424 | result[`show${capitalizeFirstLetter(type)}Button`] = true; |
| 11458 | - if (button.hasAttribute('color')) { | |
| 11459 | - const color = button.getAttribute('color'); | |
| 11460 | - if (color !== null) { | |
| 11461 | - result[`${type}ButtonColor`] = color; | |
| 11462 | - } | |
| 11425 | + const color = button.getAttribute('color'); | |
| 11426 | + if (color !== null) { | |
| 11427 | + result[`${type}ButtonColor`] = color; | |
| 11463 | 11428 | } |
| 11464 | - if (button.hasAttribute('aria-label')) { | |
| 11465 | - const ariaLabel = button.getAttribute('aria-label'); | |
| 11466 | - if (ariaLabel !== null) { | |
| 11467 | - result[`${type}ButtonAriaLabel`] = ariaLabel; | |
| 11468 | - } | |
| 11429 | + const ariaLabel = button.getAttribute('aria-label'); | |
| 11430 | + if (ariaLabel !== null) { | |
| 11431 | + result[`${type}ButtonAriaLabel`] = ariaLabel; | |
| 11469 | 11432 | } |
| 11470 | 11433 | }); |
| 11471 | 11434 | return result; |
| 11472 | 11435 | }; |
| @@ -11480,20 +11443,17 @@ | ||
| 11480 | 11443 | /** @type {HTMLElement | null} */ |
| 11481 | 11444 | const image = templateContent.querySelector('swal-image'); |
| 11482 | 11445 | if (image) { |
| 11483 | 11446 | showWarningsForAttributes(image, ['src', 'width', 'height', 'alt']); |
| 11484 | - if (image.hasAttribute('src')) { | |
| 11485 | - result.imageUrl = image.getAttribute('src') || undefined; | |
| 11486 | - } | |
| 11487 | - if (image.hasAttribute('width')) { | |
| 11488 | - result.imageWidth = image.getAttribute('width') || undefined; | |
| 11489 | - } | |
| 11490 | - if (image.hasAttribute('height')) { | |
| 11491 | - result.imageHeight = image.getAttribute('height') || undefined; | |
| 11492 | - } | |
| 11493 | - if (image.hasAttribute('alt')) { | |
| 11494 | - result.imageAlt = image.getAttribute('alt') || undefined; | |
| 11495 | - } | |
| 11447 | + // getAttribute returns null if attribute is absent; `|| undefined` converts empty string to undefined | |
| 11448 | + const src = image.getAttribute('src'); | |
| 11449 | + if (src !== null) result.imageUrl = src || undefined; | |
| 11450 | + const width = image.getAttribute('width'); | |
| 11451 | + if (width !== null) result.imageWidth = width || undefined; | |
| 11452 | + const height = image.getAttribute('height'); | |
| 11453 | + if (height !== null) result.imageHeight = height || undefined; | |
| 11454 | + const alt = image.getAttribute('alt'); | |
| 11455 | + if (alt !== null) result.imageAlt = alt || undefined; | |
| 11496 | 11456 | } |
| 11497 | 11457 | return result; |
| 11498 | 11458 | }; |
| 11499 | 11459 | |
| @@ -11628,12 +11588,17 @@ | ||
| 11628 | 11588 | setTimeout(() => { |
| 11629 | 11589 | setScrollingVisibility(container, popup); |
| 11630 | 11590 | }, SHOW_CLASS_TIMEOUT); |
| 11631 | 11591 | if (isModal()) { |
| 11632 | - // Using ternary instead of ?? operator for Webpack 4 compatibility | |
| 11633 | 11592 | fixScrollContainer(container, params.scrollbarPadding !== undefined ? params.scrollbarPadding : false, initialBodyOverflow); |
| 11634 | 11593 | setAriaHidden(); |
| 11635 | 11594 | } |
| 11595 | + | |
| 11596 | + // https://github.com/sweetalert2/sweetalert2/issues/2923 | |
| 11597 | + if (isIOS && params.backdrop === false && popup.scrollHeight > container.clientHeight) { | |
| 11598 | + // remove pointer-events: none from container, it breaks scrolling tall popups in iOS | |
| 11599 | + container.style.pointerEvents = 'auto'; | |
| 11600 | + } | |
| 11636 | 11601 | if (!isToast() && !globalState.previousActiveElement) { |
| 11637 | 11602 | globalState.previousActiveElement = document.activeElement; |
| 11638 | 11603 | } |
| 11639 | 11604 | if (typeof params.didOpen === 'function') { |
| @@ -11805,9 +11770,10 @@ | ||
| 11805 | 11770 | constructor(...args) { |
| 11806 | 11771 | /** |
| 11807 | 11772 | * @type {Promise<SweetAlertResult>} |
| 11808 | 11773 | */ |
| 11809 | - _classPrivateFieldInitSpec(this, _promise, /** @type {Promise<SweetAlertResult>} */Promise.resolve({ | |
| 11774 | + _classPrivateFieldInitSpec(this, _promise, /** @type {Promise<SweetAlertResult>} */ | |
| 11775 | + Promise.resolve({ | |
| 11810 | 11776 | isConfirmed: false, |
| 11811 | 11777 | isDenied: false, |
| 11812 | 11778 | isDismissed: true |
| 11813 | 11779 | })); |
| @@ -11871,8 +11837,9 @@ | ||
| 11871 | 11837 | // `catch` cannot be the name of a module export, so we define our thenable methods here instead |
| 11872 | 11838 | /** |
| 11873 | 11839 | * @param {any} onFulfilled |
| 11874 | 11840 | */ |
| 11841 | + // oxlint-disable-next-line unicorn/no-thenable | |
| 11875 | 11842 | then(onFulfilled) { |
| 11876 | 11843 | return _classPrivateFieldGet2(_promise, this).then(onFulfilled); |
| 11877 | 11844 | } |
| 11878 | 11845 | |
| @@ -12016,10 +11983,10 @@ | ||
| 12016 | 11983 | return; |
| 12017 | 11984 | } |
| 12018 | 11985 | // TODO: this is dumb, remove `allowEnterKey` param in the next major version |
| 12019 | 11986 | if (!callIfFunction(innerParams.allowEnterKey)) { |
| 12020 | - warnAboutDeprecation('allowEnterKey'); | |
| 12021 | - blurActiveElement(); | |
| 11987 | + warnAboutDeprecation('allowEnterKey', 'preConfirm: () => false'); | |
| 11988 | + domCache.popup.focus(); | |
| 12022 | 11989 | return; |
| 12023 | 11990 | } |
| 12024 | 11991 | if (focusAutofocus(domCache)) { |
| 12025 | 11992 | return; |
| @@ -12064,13 +12031,8 @@ | ||
| 12064 | 12031 | return true; |
| 12065 | 12032 | } |
| 12066 | 12033 | return false; |
| 12067 | 12034 | }; |
| 12068 | - const blurActiveElement = () => { | |
| 12069 | - if (document.activeElement instanceof HTMLElement && typeof document.activeElement.blur === 'function') { | |
| 12070 | - document.activeElement.blur(); | |
| 12071 | - } | |
| 12072 | - }; | |
| 12073 | 12035 | |
| 12074 | 12036 | // Assign instance methods from src/instanceMethods/*.js to prototype |
| 12075 | 12037 | SweetAlert.prototype.disableButtons = disableButtons; |
| 12076 | 12038 | SweetAlert.prototype.enableButtons = enableButtons; |
| @@ -12108,9 +12070,9 @@ | ||
| 12108 | 12070 | return undefined; |
| 12109 | 12071 | }; |
| 12110 | 12072 | }); |
| 12111 | 12073 | SweetAlert.DismissReason = DismissReason; |
| 12112 | - SweetAlert.version = '11.26.17'; | |
| 12074 | + SweetAlert.version = '11.26.25'; | |
| 12113 | 12075 | |
| 12114 | 12076 | const Swal = SweetAlert; |
| 12115 | 12077 | // @ts-ignore |
| 12116 | 12078 | Swal.default = Swal; |
| @@ -12118,9 +12080,9 @@ | ||
| 12118 | 12080 | return Swal; |
| 12119 | 12081 | |
| 12120 | 12082 | })); |
| 12121 | 12083 | if (typeof this !== 'undefined' && this.Sweetalert2){this.swal = this.sweetAlert = this.Swal = this.SweetAlert = this.Sweetalert2} |
| 12122 | -"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}}"); | |
| 12084 | +"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}}"); | |
| 12123 | 12085 | |
| 12124 | 12086 | /***/ }, |
| 12125 | 12087 | |
| 12126 | 12088 | /***/ "./node_modules/toastify-js/src/toastify.js" |
| @@ -12580,19 +12542,19 @@ | ||
| 12580 | 12542 | |
| 12581 | 12543 | /******/ }); |
| 12582 | 12544 | /************************************************************************/ |
| 12583 | 12545 | /******/ // The module cache |
| 12584 | -/******/ var __webpack_module_cache__ = {}; | |
| 12546 | +/******/ const __webpack_module_cache__ = {}; | |
| 12585 | 12547 | /******/ |
| 12586 | 12548 | /******/ // The require function |
| 12587 | 12549 | /******/ function __webpack_require__(moduleId) { |
| 12588 | 12550 | /******/ // Check if module is in cache |
| 12589 | -/******/ var cachedModule = __webpack_module_cache__[moduleId]; | |
| 12551 | +/******/ const cachedModule = __webpack_module_cache__[moduleId]; | |
| 12590 | 12552 | /******/ if (cachedModule !== undefined) { |
| 12591 | 12553 | /******/ return cachedModule.exports; |
| 12592 | 12554 | /******/ } |
| 12593 | 12555 | /******/ // Create a new module (and put it into the cache) |
| 12594 | -/******/ var module = __webpack_module_cache__[moduleId] = { | |
| 12556 | +/******/ const module = __webpack_module_cache__[moduleId] = { | |
| 12595 | 12557 | /******/ id: moduleId, |
| 12596 | 12558 | /******/ // no module.loaded needed |
| 12597 | 12559 | /******/ exports: {} |
| 12598 | 12560 | /******/ }; |
| @@ -12599,9 +12561,9 @@ | ||
| 12599 | 12561 | /******/ |
| 12600 | 12562 | /******/ // Execute the module function |
| 12601 | 12563 | /******/ if (!(moduleId in __webpack_modules__)) { |
| 12602 | 12564 | /******/ delete __webpack_module_cache__[moduleId]; |
| 12603 | -/******/ var e = new Error("Cannot find module '" + moduleId + "'"); | |
| 12565 | +/******/ const e = new Error("Cannot find module '" + moduleId + "'"); | |
| 12604 | 12566 | /******/ e.code = 'MODULE_NOT_FOUND'; |
| 12605 | 12567 | /******/ throw e; |
| 12606 | 12568 | /******/ } |
| 12607 | 12569 | /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| @@ -12614,9 +12576,9 @@ | ||
| 12614 | 12576 | /******/ /* webpack/runtime/compat get default export */ |
| 12615 | 12577 | /******/ (() => { |
| 12616 | 12578 | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| 12617 | 12579 | /******/ __webpack_require__.n = (module) => { |
| 12618 | -/******/ var getter = module && module.__esModule ? | |
| 12580 | +/******/ const getter = module && module.__esModule ? | |
| 12619 | 12581 | /******/ () => (module['default']) : |
| 12620 | 12582 | /******/ () => (module); |
| 12621 | 12583 | /******/ __webpack_require__.d(getter, { a: getter }); |
| 12622 | 12584 | /******/ return getter; |
| @@ -12624,14 +12586,29 @@ | ||
| 12624 | 12586 | /******/ })(); |
| 12625 | 12587 | /******/ |
| 12626 | 12588 | /******/ /* webpack/runtime/define property getters */ |
| 12627 | 12589 | /******/ (() => { |
| 12628 | -/******/ // define getter functions for harmony exports | |
| 12590 | +/******/ // define getter/value functions for harmony exports | |
| 12629 | 12591 | /******/ __webpack_require__.d = (exports, definition) => { |
| 12630 | -/******/ for(var key in definition) { | |
| 12631 | -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | |
| 12632 | -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | |
| 12592 | +/******/ if(Array.isArray(definition)) { | |
| 12593 | +/******/ var i = 0; | |
| 12594 | +/******/ while(i < definition.length) { | |
| 12595 | +/******/ var key = definition[i++]; | |
| 12596 | +/******/ var binding = definition[i++]; | |
| 12597 | +/******/ if(!__webpack_require__.o(exports, key)) { | |
| 12598 | +/******/ if(binding === 0) { | |
| 12599 | +/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] }); | |
| 12600 | +/******/ } else { | |
| 12601 | +/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding }); | |
| 12602 | +/******/ } | |
| 12603 | +/******/ } else if(binding === 0) { i++; } | |
| 12633 | 12604 | /******/ } |
| 12605 | +/******/ } else { | |
| 12606 | +/******/ for(var key in definition) { | |
| 12607 | +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | |
| 12608 | +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | |
| 12609 | +/******/ } | |
| 12610 | +/******/ } | |
| 12634 | 12611 | /******/ } |
| 12635 | 12612 | /******/ }; |
| 12636 | 12613 | /******/ })(); |
| 12637 | 12614 | /******/ |
| @@ -12636,9 +12613,9 @@ | ||
| 12636 | 12613 | /******/ })(); |
| 12637 | 12614 | /******/ |
| 12638 | 12615 | /******/ /* webpack/runtime/hasOwnProperty shorthand */ |
| 12639 | 12616 | /******/ (() => { |
| 12640 | -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) | |
| 12617 | +/******/ __webpack_require__.o = (obj, prop) => (Object.hasOwn(obj, prop)) | |
| 12641 | 12618 | /******/ })(); |
| 12642 | 12619 | /******/ |
| 12643 | 12620 | /******/ /* webpack/runtime/make namespace object */ |
| 12644 | 12621 | /******/ (() => { |
| @@ -12643,9 +12620,9 @@ | ||
| 12643 | 12620 | /******/ /* webpack/runtime/make namespace object */ |
| 12644 | 12621 | /******/ (() => { |
| 12645 | 12622 | /******/ // define __esModule on exports |
| 12646 | 12623 | /******/ __webpack_require__.r = (exports) => { |
| 12647 | -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | |
| 12624 | +/******/ if(Symbol.toStringTag) { | |
| 12648 | 12625 | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| 12649 | 12626 | /******/ } |
| 12650 | 12627 | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| 12651 | 12628 | /******/ }; |
| @@ -12656,9 +12633,9 @@ | ||
| 12656 | 12633 | /******/ __webpack_require__.nc = undefined; |
| 12657 | 12634 | /******/ })(); |
| 12658 | 12635 | /******/ |
| 12659 | 12636 | /************************************************************************/ |
| 12660 | -var __webpack_exports__ = {}; | |
| 12637 | +let __webpack_exports__ = {}; | |
| 12661 | 12638 | // This entry needs to be wrapped in an IIFE because it needs to be in strict mode. |
| 12662 | 12639 | (() => { |
| 12663 | 12640 | "use strict"; |
| 12664 | 12641 | /*!********************************************!*\ |