fge-auth-component 5.3.11 → 5.3.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(Xe,oe){typeof exports=="object"&&typeof module<"u"?oe(exports,require("yup"),require("vue"),require("vee-validate")):typeof define=="function"&&define.amd?define(["exports","yup","vue","vee-validate"],oe):(Xe=typeof globalThis<"u"?globalThis:Xe||self,oe(Xe.FgeAuthComponent={},Xe.Yup,Xe.Vue,Xe.VeeValidate))})(this,function(Xe,oe,a,je){"use strict";var qW=Object.defineProperty;var WW=(Xe,oe,a)=>oe in Xe?qW(Xe,oe,{enumerable:!0,configurable:!0,writable:!0,value:a}):Xe[oe]=a;var Vh=(Xe,oe,a)=>WW(Xe,typeof oe!="symbol"?oe+"":oe,a);var Rh=document.createElement("style");Rh.textContent=`@charset "UTF-8";.fge-logo-container[data-v-ea2fb273]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px 0}.fge-logo-container img[data-v-ea2fb273]{width:180px;margin-bottom:18px}.fge-logo-container svg[data-v-ea2fb273]{width:240px}.identity-capture[data-v-b838c8d0]{display:flex;flex-direction:column;gap:.7rem}.identity-capture__header[data-v-b838c8d0]{display:flex;flex-direction:column;gap:.25rem}.identity-capture__progress[data-v-b838c8d0]{align-self:flex-start;margin:0;padding:.15rem .55rem;border-radius:999px;background:rgba(var(--primary-color-rgba),.12);color:var(--fge-orange-color);font-size:.72rem;font-weight:600;letter-spacing:.01em}.identity-capture__title[data-v-b838c8d0]{margin:0;font-size:1.05rem;font-weight:600;color:var(--fge-gray-bolder-color)}.identity-capture__hint[data-v-b838c8d0]{margin:0;font-size:.88rem;line-height:1.4;color:var(--fge-gray-color)}.identity-capture__camera[data-v-b838c8d0],.identity-capture__preview[data-v-b838c8d0]{position:relative;width:100%;height:min(52vh,380px);border-radius:1rem;overflow:hidden;background:#111}.identity-capture__video[data-v-b838c8d0],.identity-capture__preview img[data-v-b838c8d0]{width:100%;height:100%;object-fit:cover}.identity-capture__preview-badge[data-v-b838c8d0]{position:absolute;top:.65rem;left:.65rem;padding:.2rem .55rem;border-radius:999px;background:#0000008c;color:#fff;font-size:.72rem;font-weight:600}.identity-capture__overlay[data-v-b838c8d0]{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.identity-capture__overlay--documento[data-v-b838c8d0]:after,.identity-capture__overlay--selfie[data-v-b838c8d0]:after{content:"";position:absolute;border:2px dashed rgba(255,255,255,.85);box-shadow:0 0 0 9999px #00000059;transition:border-color .16s ease,border-style .16s ease}.identity-capture__overlay--documento[data-v-b838c8d0]:after{top:50%;left:50%;width:82%;height:52%;transform:translate(-50%,-50%);border-radius:.75rem}.identity-capture__overlay--selfie[data-v-b838c8d0]:after{top:18%;left:50%;width:55%;height:38%;transform:translate(-50%);border-radius:50%}.identity-capture__overlay.is-ready[data-v-b838c8d0]:after{border-style:solid;border-color:#86efac}.identity-capture__feedback[data-v-b838c8d0]{margin:0;padding:.55rem .7rem;border-radius:.75rem;font-size:.82rem;line-height:1.35;font-weight:500}.identity-capture__feedback.is-ok[data-v-b838c8d0]{background:#598c151f;color:var(--fge-green-color)}.identity-capture__feedback.is-wait[data-v-b838c8d0]{background:var(--fge-gray-bg);color:var(--fge-gray-bolder-color)}.identity-capture__messages[data-v-b838c8d0]{margin:0;padding-left:1.1rem;font-size:.8rem;color:var(--fge-gray-color);line-height:1.35}.identity-capture__error[data-v-b838c8d0],.identity-capture__status[data-v-b838c8d0]{margin:0;font-size:.85rem}.identity-capture__error[data-v-b838c8d0]{color:var(--fge-red-error-color)}.identity-capture__error--overlay[data-v-b838c8d0],.identity-capture__status[data-v-b838c8d0]{position:absolute;bottom:.7rem;left:.7rem;right:.7rem;text-align:center;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.6)}.identity-capture__error--overlay[data-v-b838c8d0]{color:#fecaca}.identity-capture__actions[data-v-b838c8d0]{display:flex;flex-direction:column;gap:.5rem}.identity-capture__file-fallback[data-v-b838c8d0]{text-align:center;font-size:.85rem;color:var(--fge-orange-color);cursor:pointer;margin-top:.15rem}.identity-capture__file-fallback span[data-v-b838c8d0]{text-decoration:underline}.otp-input-container[data-v-09940bdc]{width:100%}.otp-input-wrapper[data-v-09940bdc]{display:flex;gap:.875rem;justify-content:center;align-items:center;margin-top:1rem;margin-bottom:1rem;padding:.5rem}.otp-input-wrapper.otp-input-error .otp-input[data-v-09940bdc]{border-color:var(--fge-toast-error, #e8523d);box-shadow:0 0 0 4px #e8523d26,0 2px 8px #e8523d33;animation:shake-09940bdc .5s ease}@keyframes shake-09940bdc{0%,to{transform:translate(0)}25%{transform:translate(-8px)}75%{transform:translate(8px)}}.otp-input[data-v-09940bdc]{width:2.75rem;height:4rem;text-align:center;font-size:1.75rem;font-weight:700;letter-spacing:.1em;border:2px solid var(--fge-gray-lines-color, #cccccc);border-radius:12px;background-color:var(--fge-background-color, #ffffff);color:var(--fge-gray-color, #797979);transition:all .3s cubic-bezier(.4,0,.2,1);outline:none;font-family:var(--fge-font-family, "Roboto", Arial, Helvetica, sans-serif);box-shadow:0 2px 4px #0000000d}.otp-input[data-v-09940bdc]::-webkit-inner-spin-button,.otp-input[data-v-09940bdc]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0}.otp-input[data-v-09940bdc]:focus{border-color:var(--fge-orange-color, #513c86);box-shadow:0 0 0 4px var(--fge-lighter-orange-color, rgba(180, 191, 241, .3)),0 4px 12px #513c8626;transform:translateY(-2px) scale(1.02);background-color:var(--fge-background-color, #ffffff)}.otp-input.otp-input-filled[data-v-09940bdc]{border-color:var(--fge-orange-color, #513c86);background:linear-gradient(135deg,var(--fge-lighter-orange-color, rgba(180, 191, 241, .2)) 0%,var(--fge-background-color, #ffffff) 100%);color:var(--fge-orange-color, #513c86);font-weight:800;box-shadow:0 2px 8px #513c8633}.otp-input[data-v-09940bdc]:disabled{opacity:.5;cursor:not-allowed;background-color:var(--fge-gray-bg, #f3f4f6);transform:none}.otp-input[data-v-09940bdc]::placeholder{color:var(--fge-gray-icon, #9c9c9c);opacity:.5}.otp-input.otp-input-filled[data-v-09940bdc]:not(:disabled){animation:pulse-on-fill-09940bdc .3s ease}.otp-input[data-v-09940bdc]:hover:not(:disabled):not(:focus){border-color:var(--fge-light-orange-color, #a09dc2);box-shadow:0 2px 6px #513c861a}@keyframes pulse-on-fill-09940bdc{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}.otp-error-message[data-v-09940bdc]{color:var(--fge-toast-error, #e8523d);font-size:.875rem;margin-top:.5rem;text-align:center}@media (max-width: 640px){.otp-input-wrapper[data-v-09940bdc]{gap:.5rem}.otp-input[data-v-09940bdc]{width:2.75rem;height:3.5rem;font-size:1.5rem}}.otp-input-wrapper.otp-input-short .otp-input[data-v-09940bdc]{width:3.25rem;height:4rem;font-size:1.75rem}@media (max-width: 640px){.otp-input-wrapper.otp-input-short .otp-input[data-v-09940bdc]{width:3rem;height:3.5rem;font-size:1.5rem}}.message2FaContexto[data-v-848f081a]{background-color:#f5f5f5;padding:20px;border-radius:4px;box-shadow:0 2px 4px #0000001a}.message2FaContexto h3[data-v-848f081a]{margin-top:0}.message2FaContexto p[data-v-848f081a]{margin-bottom:10px}.message2FaContexto ul[data-v-848f081a]{list-style-type:disc;margin-left:20px}.message2FaContexto li[data-v-848f081a]{margin-bottom:5px}.mensaje-servicio-container[data-v-848f081a]{background-color:#f5f5f5;padding:1rem;border-radius:4px;box-shadow:0 2px 4px #0000001a;margin-bottom:1rem;margin-top:.5rem}.mensaje-servicio-text[data-v-848f081a]{font-size:.875rem;line-height:1.5;color:var(--fge-color-gray);margin:0}.send-code-container[data-v-848f081a]{display:flex;flex-direction:column;width:100%;min-height:200px}.mb-40[data-v-848f081a]{margin-bottom:2.5rem;width:100%}.field[data-v-848f081a]{width:100%}.text-center[data-v-848f081a]{text-align:center}.current-contact-label[data-v-848f081a]{margin-bottom:20px!important;text-align:center}.auth-input-container[data-v-848f081a]{width:100%;margin-bottom:1rem}.auth-btn-container[data-v-848f081a]{display:flex;gap:30px;width:100%;margin-top:1.5rem}.fge-auth-primary-button-disabled[data-v-848f081a]{opacity:.5;cursor:not-allowed;pointer-events:none}.identity-otp-modal[data-v-8816f21e]{max-width:480px;max-height:min(92vh,760px);overflow-y:auto}.registro-telegram-pasos[data-v-8816f21e]{padding-bottom:.25rem}.registro-telegram-pasos__nota[data-v-8816f21e]{margin-left:5px}.registro-telegram-pasos__abrir[data-v-8816f21e]{margin-top:1rem}.registro-telegram-pasos[data-v-8816f21e] .icon{height:56px}.registro-telegram-pasos[data-v-8816f21e] .icon>svg{width:48px;height:48px;margin-bottom:.35rem}.registro-telegram-pasos[data-v-8816f21e] .body-title{font-size:1.05rem;margin-bottom:.35rem}.kyc-progress[data-v-97b1f1be]{margin:0 0 1rem}.kyc-progress__list[data-v-97b1f1be]{display:flex;align-items:flex-start;justify-content:space-between;gap:.25rem;list-style:none;margin:0;padding:0}.kyc-progress__item[data-v-97b1f1be]{flex:1;display:flex;flex-direction:column;align-items:center;gap:.35rem;min-width:0;position:relative;color:var(--fge-gray-icon)}.kyc-progress__item[data-v-97b1f1be]:not(:last-child):after{content:"";position:absolute;top:11px;left:calc(50% + 14px);right:calc(-50% + 14px);height:2px;background:var(--fge-gray-lines-color)}.kyc-progress__item.is-done[data-v-97b1f1be]:not(:last-child):after{background:var(--fge-orange-color)}.kyc-progress__dot[data-v-97b1f1be]{width:22px;height:22px;border-radius:999px;border:2px solid var(--fge-gray-lines-color);background:#fff;display:grid;place-items:center;font-size:.7rem;font-weight:600;z-index:1}.kyc-progress__check[data-v-97b1f1be]{font-size:.7rem;line-height:1}.kyc-progress__item.is-current .kyc-progress__dot[data-v-97b1f1be],.kyc-progress__item.is-done .kyc-progress__dot[data-v-97b1f1be]{border-color:var(--fge-orange-color);background:var(--fge-orange-color);color:#fff}.kyc-progress__label[data-v-97b1f1be]{font-size:.7rem;line-height:1.2;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.kyc-progress__item.is-current .kyc-progress__label[data-v-97b1f1be]{color:var(--fge-gray-bolder-color);font-weight:600}.registro-medios[data-v-6b12d427]{display:flex;flex-direction:column;gap:.55rem;margin:.15rem 0 .85rem}.registro-medios__title[data-v-6b12d427]{margin:0;font-size:.92rem;font-weight:600;color:var(--fge-gray-bolder-color)}.registro-medios__hint[data-v-6b12d427]{margin:0;font-size:.84rem;line-height:1.4;color:var(--fge-gray-color)}.registro-medios__list[data-v-6b12d427]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.registro-medios__btn[data-v-6b12d427]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;min-height:44px;display:flex;align-items:center;gap:.75rem;padding:.65rem .8rem;border:1px solid var(--fge-light-orange-color);border-radius:.85rem;background:#fff;text-align:left;cursor:pointer;color:inherit}.registro-medios__btn[data-v-6b12d427]:hover:not(:disabled){background:rgba(var(--primary-color-rgba),.06)}.registro-medios__btn[data-v-6b12d427]:disabled{cursor:default}.registro-medios__btn.is-pending[data-v-6b12d427]{border-color:var(--fge-orange-color);background:rgba(var(--primary-color-rgba),.08)}.registro-medios__btn.is-verified[data-v-6b12d427]{border-color:var(--fge-green-color, #598c15);background:#598c1514}.registro-medios__icon[data-v-6b12d427]{flex-shrink:0;width:28px;height:28px;display:grid;place-items:center}.registro-medios__icon[data-v-6b12d427] svg{width:24px;height:24px}.registro-medios__copy[data-v-6b12d427]{display:flex;flex-direction:column;gap:.1rem;min-width:0}.registro-medios__copy strong[data-v-6b12d427]{font-size:.88rem;color:var(--fge-gray-bolder-color)}.registro-medios__copy small[data-v-6b12d427]{font-size:.78rem;color:var(--fge-gray-color)}.is-verified .registro-medios__copy small[data-v-6b12d427]{color:var(--fge-green-color, #598c15);font-weight:600}.fge-btn-section[data-v-65746c77]{display:flex;flex-direction:column}.registro-nav[data-v-65746c77]{align-items:stretch}.registro-nav__btn[data-v-65746c77]{min-height:40px;height:auto;padding:.65rem .85rem}.registro-nav__btn span[data-v-65746c77]{display:block;line-height:1.25;white-space:normal;text-align:center}.registro-step[data-v-8ee8b1b5]{display:flex;flex-direction:column}.registro-step--kyc[data-v-8ee8b1b5] .fge-btn-section{margin-top:1.25rem;gap:1.25rem}.kyc-panel[data-v-8ee8b1b5]{display:flex;flex-direction:column;gap:.85rem}.kyc-panel__header[data-v-8ee8b1b5]{display:flex;flex-direction:column;gap:.35rem}.kyc-panel__title[data-v-8ee8b1b5]{margin:0;font-size:1.05rem;font-weight:600;color:var(--fge-gray-bolder-color)}.kyc-panel__subtitle[data-v-8ee8b1b5]{margin:0;font-size:.88rem;line-height:1.4;color:var(--fge-gray-color)}.kyc-alert[data-v-8ee8b1b5]{display:block;margin:0;padding:.75rem .9rem;border-radius:.85rem;font-size:.88rem;line-height:1.4;text-align:left}.kyc-alert p[data-v-8ee8b1b5]{margin:0}.kyc-alert p+p[data-v-8ee8b1b5]{margin-top:.35rem}.kyc-alert--warning[data-v-8ee8b1b5]{background:#fabe5029;border:1px solid var(--fge-toast-warning);color:#8a5a00}.kyc-alert--info[data-v-8ee8b1b5]{background:rgba(var(--primary-color-rgba),.08);border:1px solid var(--fge-light-orange-color);color:var(--fge-gray-bolder-color)}.kyc-alert--compact[data-v-8ee8b1b5]{margin-bottom:.75rem}.kyc-alert__title[data-v-8ee8b1b5]{font-weight:600}.kyc-alert__meta[data-v-8ee8b1b5]{font-size:.82rem}.kyc-photo-cards[data-v-8ee8b1b5]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.kyc-photo-card[data-v-8ee8b1b5]{display:flex;align-items:center;gap:.75rem;padding:.65rem .75rem;border:1px solid var(--fge-light-orange-color);border-radius:.85rem;background:rgba(var(--primary-color-rgba),.04)}.kyc-photo-card__icon[data-v-8ee8b1b5]{flex-shrink:0;width:38px;height:38px;border-radius:.55rem;background:#fff;border:1px dashed var(--fge-orange-color);position:relative}.kyc-photo-card__icon[data-v-8ee8b1b5]:after{content:"";position:absolute;top:7px;right:7px;bottom:7px;left:7px;border:1.5px solid var(--fge-orange-color);opacity:.7}.kyc-photo-card__icon--anverso[data-v-8ee8b1b5]:after,.kyc-photo-card__icon--reverso[data-v-8ee8b1b5]:after{border-radius:.2rem}.kyc-photo-card__icon--selfie[data-v-8ee8b1b5]:after{border-radius:50%;top:6px;right:10px;bottom:6px;left:10px}.kyc-photo-card__text[data-v-8ee8b1b5]{display:flex;flex-direction:column;gap:.15rem;min-width:0}.kyc-photo-card__text strong[data-v-8ee8b1b5]{font-size:.88rem;color:var(--fge-gray-bolder-color)}.kyc-photo-card__text small[data-v-8ee8b1b5]{font-size:.78rem;color:var(--fge-gray-color);line-height:1.3}.registro-consent-text[data-v-8ee8b1b5]{font-size:.86rem;color:var(--fge-gray-color);margin:0;line-height:1.45}.kyc-consent[data-v-8ee8b1b5]{display:flex;align-items:flex-start;gap:.65rem;padding:.75rem .85rem;border-radius:.85rem;border:1px solid var(--fge-light-orange-color);background:#fff;font-size:.88rem;line-height:1.4;color:var(--fge-gray-bolder-color);cursor:pointer;text-align:left}.kyc-consent input[data-v-8ee8b1b5]{margin-top:.15rem;accent-color:var(--fge-orange-color);flex-shrink:0}.kyc-uploaded[data-v-8ee8b1b5]{display:block;margin:.6rem 0 0;padding:.55rem .75rem;border-radius:.75rem;background:#598c151f;color:var(--fge-green-color);font-size:.85rem;font-weight:500}.kyc-summary[data-v-8ee8b1b5]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.45rem}.kyc-summary__item[data-v-8ee8b1b5]{display:flex;align-items:flex-start;gap:.65rem;padding:.6rem .7rem;border-radius:.75rem;background:var(--fge-gray-bg);font-size:.88rem;color:var(--fge-gray-color);text-align:left}.kyc-summary__item strong[data-v-8ee8b1b5]{display:block;color:var(--fge-gray-bolder-color);font-weight:600}.kyc-summary__item.is-pending[data-v-8ee8b1b5]{background:#fabe5029}.kyc-summary__item.is-pending .kyc-summary__check[data-v-8ee8b1b5]{background:var(--fge-toast-warning)}.kyc-summary__check[data-v-8ee8b1b5]{flex-shrink:0;width:22px;height:22px;border-radius:999px;background:var(--fge-orange-color);color:#fff;display:grid;place-items:center;font-size:.72rem;font-weight:700}.registro-otp-pendiente[data-v-8ee8b1b5]{padding:.75rem 1rem;border-radius:.75rem;background:rgba(var(--primary-color-rgba),.08);border:1px solid var(--fge-light-orange-color);font-size:.9rem;color:var(--fge-gray-color);line-height:1.4}.registro-otp-pendiente p[data-v-8ee8b1b5]{margin:0 0 .35rem}.registro-otp-pendiente p[data-v-8ee8b1b5]:last-child{margin-bottom:0}.registro-otp-pendiente__link[data-v-8ee8b1b5]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:none;padding:0;margin-left:.25rem;color:var(--fge-orange-color);font-weight:600;text-decoration:underline;cursor:pointer}.registro-otp-pendiente__timer[data-v-8ee8b1b5]{font-size:.85rem;opacity:.9}.registro-contacto-ayuda[data-v-8ee8b1b5]{margin:0 0 .35rem;font-size:.82rem;line-height:1.35;color:var(--fge-gray-color);text-align:center}.fge-version-label[data-v-526e8b52]{margin-top:.75rem;padding-right:1.5rem;text-align:right;font-size:.6rem;color:var(--fge-gray-color)}.fge-step[data-v-3165da4a]{display:flex;align-items:center;justify-content:space-between;width:auto;position:relative;z-index:0;margin-bottom:40px}.fge-step-progress[data-v-3165da4a]{position:absolute;background-color:#c5c5c5;height:2px;z-index:-1;left:0;right:0;margin:0 auto}.fge-step-progress-bar[data-v-3165da4a]{position:absolute;left:0;height:100%;width:0;background-color:var(--stepPrimaryColor);transition:all .5s ease}.fge-step-item[data-v-3165da4a]{display:flex;flex-direction:column;align-items:center;color:#c5c5c5;transition:all .5s ease}.fge-step-item-counter[data-v-3165da4a]{height:30px;width:30px;display:grid;place-items:center;background-color:var(--stepIconColor);border-radius:100%;border:2px solid #c5c5c5;position:relative}.fge-step-item-counter .icon-success[data-v-3165da4a]{position:absolute;opacity:0;transform:scale(0);width:14px;transition:all .5s ease}.fge-step-item.success .fge-step-item-counter svg[data-v-3165da4a]{width:15px;height:15px}.fge-step-item.success .fge-step-item-counter .icon-success[data-v-3165da4a]{opacity:1;transform:scale(1)}.fge-step-item.current .fge-step-item-counter[data-v-3165da4a]{border-color:var(--stepPrimaryColor);background-color:var(--stepPrimaryColor);color:#fff;font-weight:500}.object-contain[data-v-10b07860]{display:flex;justify-content:center;align-items:center;gap:.5rem}.qr-image[data-v-10b07860]{width:180px;display:block;border-radius:8px}.reload-icon svg[data-v-10b07860]{width:24px;height:24px;margin-bottom:8px;fill:#fff}.reload-text[data-v-10b07860]{color:#fff;font-size:14px;line-height:1.4}.qr-container[data-v-10b07860]{position:relative;display:inline-block}.qr-container img[data-v-10b07860]{display:block;width:180px;height:auto;margin-bottom:25px}.qr-overlay[data-v-10b07860]{position:absolute;top:0;left:0;width:100%;height:calc(100% - 25px);background-color:#000c;display:flex;justify-content:center;align-items:center;pointer-events:auto;border-radius:4px}.reload-icon[data-v-10b07860]{width:35px;height:35px;pointer-events:auto}.push-roma-banner[data-v-10b07860]{display:flex;align-items:flex-start;gap:1rem;padding:1rem 1.25rem;margin-bottom:1.25rem;background:linear-gradient(135deg,#9dba721f,#513c8614);border:1px solid rgba(157,186,114,.35);border-radius:12px;box-shadow:0 2px 8px #0000000a}.push-roma-banner-icon[data-v-10b07860]{flex-shrink:0;width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:var(--fge-green-bg, #9dba72);color:#fff;border-radius:10px;font-size:1.35rem}.push-roma-banner-content[data-v-10b07860]{flex:1;min-width:0}.push-roma-banner-title[data-v-10b07860]{margin:0 0 .35rem;font-weight:600;font-size:.95rem;color:var(--fge-primary-color, #513c86)}.push-roma-banner-desc[data-v-10b07860]{margin:0 0 .5rem;font-size:.85rem;line-height:1.45;color:var(--fge-gray-color, #555)}.push-roma-banner-hint[data-v-10b07860]{margin:0;font-size:.8rem;color:var(--fge-green-bg, #9dba72);display:flex;align-items:center;gap:.4rem}.push-roma-banner-hint i[data-v-10b07860]{font-size:.9rem}.login-button-container[data-v-10b07860]{display:flex;flex-direction:column;margin-top:25px;gap:15px}.login-link-button-container[data-v-10b07860]{display:flex;justify-content:space-between}[data-v-10b07860] .radio-button-group{display:flex;flex-direction:column;gap:.75rem;margin-top:.75rem}[data-v-10b07860] .radio-button{border:1.5px solid #ccc;border-radius:10px;padding:10px 14px;background-color:#fff;cursor:pointer;transition:all .2s ease;text-align:left;width:100%}[data-v-10b07860] .radio-button:hover:not([data-state=checked]){border-color:var(--fge-green-bg, #9dba72);box-shadow:0 0 0 2px #9dba7226}[data-v-10b07860] .radio-button-content{display:flex;align-items:center;gap:.5rem}[data-v-10b07860] .radio-button-label{font-size:.95rem;color:#555;font-weight:500}[data-v-10b07860] .auth-svg-primary{color:var(--fge-green-bg, #9dba72)}[data-v-10b07860] .auth-svg-black{color:var(--fge-gray-color, #797979)}[data-v-10b07860] .radio-label-verified{color:var(--fge-green-bg, #9dba72)}[data-v-10b07860] .radio-label-unverified{color:var(--fge-gray-color, #797979)}.fge-right-container .auth-radiogroup[data-v-10b07860] .radio-button[data-state=checked],.fge-right-container .two-auth-container[data-v-10b07860] .radio-button[data-state=checked],.fge-right-container[data-v-10b07860] .auth-radiogroup .radio-button[data-state=checked],.fge-right-container[data-v-10b07860] .two-auth-container .radio-button[data-state=checked]{background-color:var(--fge-primary-color, #513c86)!important;border-color:var(--fge-green-bg, #9dba72)!important}.fge-right-container .auth-radiogroup[data-v-10b07860] .radio-button[data-state=checked] .radio-button-label,.fge-right-container .two-auth-container[data-v-10b07860] .radio-button[data-state=checked] .radio-button-label,.fge-right-container[data-v-10b07860] .auth-radiogroup .radio-button[data-state=checked] .radio-button-label,.fge-right-container[data-v-10b07860] .two-auth-container .radio-button[data-state=checked] .radio-button-label{color:#fff!important}.fge-right-container .auth-radiogroup[data-v-10b07860] .radio-button:not([data-state=checked]) .radio-label-verified,.fge-right-container .two-auth-container[data-v-10b07860] .radio-button:not([data-state=checked]) .radio-label-verified{color:var(--fge-primary-bg, #414141)!important}.fge-right-container .auth-radiogroup[data-v-10b07860] .radio-button:not([data-state=checked]) .radio-label-unverified,.fge-right-container .two-auth-container[data-v-10b07860] .radio-button:not([data-state=checked]) .radio-label-unverified{color:var(--fge-gray-color, #aeaeae)!important}.fge-right-container .auth-radiogroup[data-v-10b07860] .radio-button[data-state=checked] .auth-svg-primary,.fge-right-container .auth-radiogroup[data-v-10b07860] .radio-button[data-state=checked] .auth-svg-black,.fge-right-container .two-auth-container[data-v-10b07860] .radio-button[data-state=checked] .auth-svg-primary,.fge-right-container .two-auth-container[data-v-10b07860] .radio-button[data-state=checked] .auth-svg-black,.fge-right-container[data-v-10b07860] .auth-radiogroup .radio-button[data-state=checked] .auth-svg-primary,.fge-right-container[data-v-10b07860] .auth-radiogroup .radio-button[data-state=checked] .auth-svg-black,.fge-right-container[data-v-10b07860] .two-auth-container .radio-button[data-state=checked] .auth-svg-primary,.fge-right-container[data-v-10b07860] .two-auth-container .radio-button[data-state=checked] .auth-svg-black{color:#fff!important}[data-v-10b07860] .auth-radiogroup{display:flex;flex-direction:column;gap:.75rem}.two-auth-container{margin-top:2rem}.auth-checkbox-container{display:flex;align-items:center;justify-content:center;gap:.75rem}.auth-checkbox-container .checkbox-box{display:flex;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-items:center;justify-content:center;border-radius:4px;border-color:transparent;outline:none;width:24px;height:24px;cursor:pointer}.auth-checkbox-container .checkbox-box[data-state=unchecked]{background-color:var(--fge-soft-gray-icon)}.auth-checkbox-container .checkbox-box[data-state=checked]{background-color:var(--fge-orange-color)}.auth-checkbox-container .checkbox-svg{cursor:pointer;width:12px;height:12px}.qr-instructions{margin-bottom:8px}.qr-instructions h4{margin-bottom:8px;text-align:center}.qr-timeline{margin-bottom:12px}.timeline-title{text-align:center;margin-bottom:10px;font-size:.8rem!important;font-weight:700}.timeline-title strong,.timeline-desc strong,.timeline-step strong{font-size:.8rem!important}.timeline{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:12px}.timeline-item{display:flex;align-items:flex-start;gap:12px}.timeline-icon{min-width:30px;height:30px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:12px;color:#fff;background:var(--fge-orange-color, #ff8a00)}.timeline-content{display:flex;flex-direction:column;align-items:start}.timeline-step{font-weight:600;margin-bottom:2px;font-size:.8rem!important}.timeline-desc{color:#6b7280;font-size:.8rem!important;text-align:start}.msg-container{overflow:hidden;text-align:center}.radio-button-group{display:flex;flex-direction:column;gap:.75rem;margin-top:.75rem}.radio-button{border:1.5px solid #ccc;border-radius:10px;padding:10px 14px;background-color:#fff;cursor:pointer;transition:all .2s ease;text-align:left;width:100%}.radio-button:hover{border-color:#7b6cd9;box-shadow:0 0 0 2px #7b6cd926}.radio-button-content{display:flex;align-items:center;gap:.5rem}.radio-button-label{font-size:.95rem;color:#555;font-weight:500}.radio-icon{width:20px;height:20px}.auth-svg-primary{color:#665ab1}.auth-svg-black{color:#000}.radio-button[data-state=checked]{background-color:#7b6cd9;border-color:#7b6cd9}.radio-button[data-state=checked] .radio-button-label,.radio-button[data-state=checked] .auth-svg-primary{color:#fff}:deep(.radio-button[data-state="checked"] .radio-button-label),:deep(.radio-button[data-state="checked"] .auth-svg-primary),:deep(.radio-button[data-state="checked"] .auth-svg-black){color:#fff!important}.icon_1[data-v-7883ed41]{height:132px}.icon_1[data-v-7883ed41]{animation:rotate-7883ed41 1.25s linear infinite}@keyframes rotate-7883ed41{to{transform:rotate(-360deg)}}.icon_2[data-v-7883ed41]{width:80px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.fge-auth-loading[data-v-461de591]{position:absolute;width:100%;height:100%;background:#999999bf;z-index:999999;display:flex;align-items:center;justify-content:center}.header-container{display:flex;gap:.75rem;justify-content:space-evenly;align-items:center}.fge-auth-foto-container{position:relative;width:100%}.fge-auth-foto-container .fge-image-container{height:110px;width:110px}.fge-auth-foto-container .fge-image-container svg{height:110px;width:110px}.fge-auth-foto-container .fge-image-container img{height:110px;width:110px;object-fit:contain}.img-absolute-container{position:absolute;padding:0;bottom:-10px;right:0;width:40px;height:40px}.fge-text-gray.fge-perfil-nombre{font-family:Roboto Condensed;line-height:20px;font-size:1.3rem;font-weight:500;text-transform:uppercase;margin-bottom:.5rem;letter-spacing:.5px;font-weight:600}.fge-perfil-data{font-weight:400;margin-bottom:0;font-family:Roboto}.fge-password-btn{padding:.4rem .6rem!important;border-radius:.7rem!important;height:30px!important;margin-left:-3px}.fge-password-btn .p-button-label{font-family:Arial Narrow,Arial,sans-serif;font-size:.8rem!important}.fge-auth-profile-img{border-radius:50%;object-fit:cover!important}.change-psw-btn{padding:.375rem .625rem!important;border-radius:.5rem!important;margin-top:.75rem;font-size:1rem;font-weight:600}.switch-container[data-v-f658d6bd]{display:flex;align-items:center;justify-content:space-between;width:100%}[data-v-f658d6bd] .SwitchRoot{width:42px;height:25px;background-color:var(--fge-gray-lines-color);border:1px solid var(--fge-orange-icon);border-radius:99px;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}[data-v-f658d6bd] .SwitchRoot[data-state=checked]{background-color:var(--fge-orange-color)}[data-v-f658d6bd] .SwitchThumb{display:block;width:21px;height:21px;background-color:#fff;border-radius:9999px;box-shadow:0 2px 2px var(--fge-orange-color);transition:transform .1s;transform:translate(2px);will-change:transform}[data-v-f658d6bd] .SwitchThumb[data-state=checked]{transform:translate(19px)}.fge-profile-container{font-family:Roboto Condensed,Arial,sans-serif}.btn{cursor:pointer;background-color:#f5f5f5;border-radius:5px;padding:5px 10px;transition:all .3s ease}.btn:hover{background-color:#f1f1f1;border-radius:10px;box-shadow:0 0 10px #0003}.fge-lines-container{overflow:auto!important;text-align:center!important}.fge-lines-container:before,.fge-lines-container:after{background-color:var(--fge-gray-lines-color);content:"";display:inline-block;height:1px;position:relative;vertical-align:middle;width:28%}.fge-lines-container:before{right:.5em}.fge-lines-container:after{left:.5em}.fge-auth-camera-file-button{padding:0;border:none;width:35px;height:35px;border-radius:50%;background-color:var(--fge-bg-hover-item)}.fge-auth-camera-file-button svg{fill:var(--fge-orange-icon);width:25px!important;height:25px}.fge-auth-camera-file-button:hover{background-color:var(--fge-bg-hover-item);cursor:pointer}.mrgt-20{margin-top:30px}.fge-profile-container{display:flex;padding-left:1.5rem;padding-right:1.5rem;flex-direction:column;justify-content:center;width:100%;height:100%;font-family:Roboto Condensed,Arial,sans-serif}.fge-profile-container *{font-family:inherit}.fge-profile-container input,.fge-profile-container label,.fge-profile-container .fge-text-gray{font-family:Roboto Condensed,Arial,sans-serif}.fge-profile-container .fge-auth-primary-button,.fge-profile-container .fge-gray-button{font-family:Roboto,Arial,Helvetica,sans-serif}.fge-profile-header{padding-top:.75rem;margin-bottom:3.25rem}.auth-radiogroup{display:flex;justify-content:center;padding-top:1.25rem;margin-bottom:1.75rem}.auth-radio-group-container{display:flex;flex-direction:column;gap:.625rem}.auth-radio-group-item{display:flex;align-items:center;height:28px;min-height:28px}.auth-radio-group-item>button{border-radius:9999px;outline-style:none;background-color:#fff;cursor:default;width:18px;height:18px;margin-right:1rem;border:0px solid var(--fge-gray-lines-color);display:flex;align-items:center;justify-content:center;flex-shrink:0}.auth-radio-group-item>button:disabled{border:1px solid #c2c2c2}.auth-radio-group-item>button span[data-state=checked]{background-color:transparent;border-radius:50%;box-shadow:0 0 0 3px var(--fge-orange-icon)}.auth-radio-group-item span{display:flex;position:relative;justify-content:center;align-items:center;width:100%;height:100%}.auth-radio-group-item .radio-wrapper{width:28px;height:28px;margin-right:1rem;flex-shrink:0;display:flex;align-items:center;justify-content:center;pointer-events:none}.auth-radio-group-item .radio{margin:0;width:18px;height:18px;min-width:18px;min-height:18px;flex-shrink:0;pointer-events:auto;border-radius:50%;border:2px solid var(--fge-gray-lines-color);background-color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;position:relative}.auth-radio-group-item .radio[data-state=checked]{border-color:var(--fge-orange-icon);background-color:#fff}.auth-radio-group-item .radio:hover:not([disabled]){border-color:var(--fge-orange-icon)}.auth-radio-group-item .radio[disabled]{opacity:.5;cursor:not-allowed}.auth-radio-group-item .radio>span{display:flex;align-items:center;justify-content:center;width:100%;height:100%;position:relative}.auth-radio-group-item .radio>span:after{content:"";display:block;width:8px;height:8px;border-radius:50%;background-color:var(--fge-orange-icon);opacity:0;transition:opacity .2s ease}.auth-radio-group-item .radio[data-state=checked]>span:after{opacity:1}.auth-radio-group-item label{display:flex;align-items:center;line-height:1.5;height:28px}.auth-radio-group-item .btn-whatsapp{display:flex;background-color:transparent;position:relative;justify-content:center;align-items:center;width:28px;height:28px;margin-right:1rem;flex-shrink:0}.auth-radio-group-item .btn-whatsapp svg{width:28px;height:28px}.auth-radio-group-item .fge-gray-button-option,.auth-radio-group-item .fge-gray-button-option *{cursor:pointer!important}.auth-radio-group-item .fge-counter-text{color:var(--fge-color-gray);font-size:.875rem;margin-left:6px;font-weight:500;display:inline;vertical-align:baseline;line-height:1.5;white-space:nowrap;flex-shrink:0;position:relative;top:.35em}.auth-radio-group-item .fge-counter-text-inline{color:#ffffffe6;font-size:.875rem;margin-left:8px;font-weight:500;display:inline}.input-hidden{display:none}html[data-theme=dark] .auth-radio-group-item>button,.dark .auth-radio-group-item>button{background-color:var(--fge-dark-background)}.fge-profile-step5 .auth-relative-container{height:40px!important;position:relative!important}.fge-profile-step5 .fge-auth-input{-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;background:transparent!important;padding:.6rem 1rem .5rem!important;color:var(--fge-gray-color)!important;height:40px!important;max-height:40px!important;width:100%!important;border:1px solid!important;border-color:var(--fge-light-orange-color)!important;border-radius:1rem!important;font-family:Roboto,Arial,Helvetica,sans-serif!important;box-sizing:border-box!important}.fge-profile-step5 .fge-auth-input.with-btn{padding-right:2rem!important}.fge-profile-step5 .fge-auth-input.with-btns{padding-right:4.5rem!important}.fge-profile-step5 .fge-auth-input:enabled:focus{background:rgba(var(--primary-color-rgba, 89, 140, 21),.12)!important;outline:0 none!important;outline-offset:0!important;box-shadow:none!important;border-color:var(--fge-light-orange-color)!important}.fge-profile-step5 .fge-auth-input:hover{border-color:var(--fge-light-orange-color)!important;outline:1px solid var(--fge-light-orange-color)!important}.fge-profile-step5 .fge-auth-input.fge-auth-input-invalid{border:1px solid var(--fge-red-error-color)!important;font-size:1rem!important}.fge-profile-step5 .fge-auth-input.fge-auth-input-invalid:enabled:focus{background:var(--fge-background-color)!important;outline:0 none!important;outline-offset:0!important;box-shadow:none!important;border-color:var(--fge-red-error-color)!important}.fge-profile-step5 .fge-auth-input.fge-auth-input-invalid:hover{outline:1px solid var(--fge-red-error-color)!important}.fge-profile-step5 .fge-auth-input.fge-auth-input-invalid{box-shadow:0 0 7px #e8523d33!important}.fge-profile-step5 .auth-input-container{text-align:left!important;max-width:100%!important}.fge-profile-step5 .auth-input-container>label{display:inline-block!important;padding-bottom:.1rem!important}.fge-profile-step5 .fge-form-label{text-align:left!important;color:var(--fge-gray-color)!important;font-weight:400!important;padding-left:.25rem!important;font-family:Roboto!important;margin-bottom:2px!important}.fge-profile-step2{width:100%!important}.fge-profile-step2 .send-code-container{display:flex!important;flex-direction:column!important;width:100%!important;min-height:200px!important}.fge-profile-step2 :deep(.otp-input-container){width:100%!important}.fge-profile-step2 :deep(.otp-input-wrapper){display:flex!important;gap:.875rem!important;justify-content:center!important;align-items:center!important;margin-top:1rem!important;margin-bottom:1rem!important;padding:.5rem!important}.fge-profile-step2 :deep(.otp-input){width:2.75rem!important;height:4rem!important;text-align:center!important;font-size:1.75rem!important;font-weight:700!important;letter-spacing:.1em!important;border:2px solid var(--fge-gray-lines-color, #cccccc)!important;border-radius:12px!important;background-color:var(--fge-background-color, #ffffff)!important;color:var(--fge-gray-color, #797979)!important;transition:all .3s cubic-bezier(.4,0,.2,1)!important;outline:none!important;font-family:var(--fge-font-family, "Roboto", Arial, Helvetica, sans-serif)!important;box-shadow:0 2px 4px #0000000d!important;box-sizing:border-box!important}.fge-profile-step2 :deep(.otp-input):focus{border-color:var(--fge-orange-color, #513c86)!important;box-shadow:0 0 0 4px var(--fge-lighter-orange-color, rgba(180, 191, 241, .3)),0 4px 12px #513c8626!important;transform:translateY(-2px) scale(1.02)!important;background-color:var(--fge-background-color, #ffffff)!important}.fge-profile-step2 :deep(.otp-input).otp-input-filled{border-color:var(--fge-orange-color, #513c86)!important;background:linear-gradient(135deg,var(--fge-lighter-orange-color, rgba(180, 191, 241, .2)) 0%,var(--fge-background-color, #ffffff) 100%)!important;color:var(--fge-orange-color, #513c86)!important;font-weight:800!important;box-shadow:0 2px 8px #513c8633!important}.fge-profile-step2 :deep(.otp-input):hover:not(:disabled):not(:focus){border-color:var(--fge-light-orange-color, #a09dc2)!important;box-shadow:0 2px 6px #513c861a!important}.fge-profile-step2 :deep(.otp-input-wrapper.otp-input-short) .otp-input{width:3.25rem!important;height:4rem!important;font-size:1.75rem!important}.fge-profile-step2 .auth-input-container{width:100%!important;margin-bottom:1rem!important}.fge-profile-step2 .auth-btn-container{display:flex!important;gap:30px!important;width:100%!important;margin-top:1.5rem!important}.fge-profile-step2 .fge-form-label{text-align:left!important;color:var(--fge-gray-color)!important;font-weight:400!important;padding-left:.25rem!important;font-family:Roboto!important;margin-bottom:2px!important}.fge-profile-step2 :deep(.otp-input-wrapper.otp-input-error) .otp-input{border-color:var(--fge-toast-error, #e8523d)!important;box-shadow:0 0 0 4px #e8523d26,0 2px 8px #e8523d33!important}.slide-enter-active,.slide-leave-active{transition:transform .2s ease}.slide-enter,.slide-leave-to{transform:translate(100%);transition:all .15s ease-in 0s}.auth-sidebar-backdrop{background-color:#00000080;width:100vw;height:100vh;position:fixed;top:0;right:0;cursor:pointer;z-index:999}.sidebar-panel{display:flex;flex-direction:column;overflow-y:auto;background-color:#fff;position:fixed;right:0;top:0;height:100vh;z-index:999;padding:2rem 20px;width:390px}@media screen and (max-width: 64em){.sidebar-panel{width:100vw}}html[data-theme=dark] .sidebar-panel,.dark .sidebar-panel{background-color:var(--fge-dark-background)}.fge-confirm-overlay[data-v-1f89df6f]{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#00000052;z-index:1400}.fge-confirm-box[data-v-1f89df6f]{width:90%;max-width:420px;background:var(--fge-bg-sidebar, #fff);border-radius:8px;padding:1.25rem;box-shadow:0 8px 30px #0000002e}.fge-confirm-title[data-v-1f89df6f]{margin:0 0 .5rem}.fge-confirm-message[data-v-1f89df6f]{margin:0 0 1rem;color:var(--fge-text-muted, #6b7280)}.fge-confirm-actions[data-v-1f89df6f]{display:flex;justify-content:flex-end;gap:.5rem}.sidebar-header[data-v-14152d5e]{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid var(--fge-gray-lines-color)}[data-v-14152d5e] .sidebar-panel{padding:0}.sidebar-body[data-v-14152d5e]{padding:1rem;overflow:auto;flex:1}.devices-list[data-v-14152d5e]{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:1.2rem}.device-card[data-v-14152d5e]{position:relative;padding:12px 10px;border-radius:10px;background-color:var(--fge-bg-item, #fff);box-shadow:0 7px 15px #0000000d;display:block}.card-body[data-v-14152d5e]{display:flex;gap:12px}.card-left[data-v-14152d5e]{width:40px;display:flex;align-items:center;justify-content:center}.icon-circle[data-v-14152d5e]{width:35px;height:35px;border-radius:999px;display:flex;align-items:center;justify-content:center;background:#513c861a}.icon[data-v-14152d5e]{font-size:16px;color:var(--fge-orange-color)}.card-content[data-v-14152d5e]{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}.card-header[data-v-14152d5e]{display:flex;flex-direction:column;gap:4px}.device-title[data-v-14152d5e]{font-weight:600;font-size:14px}.device-id[data-v-14152d5e]{color:#6b7280;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:block}.card-row[data-v-14152d5e]{display:flex;align-items:center;gap:2px;font-size:11px;color:var(--fge-orange-color)}.calendar-icon[data-v-14152d5e]{color:var(--fge-orange-color)}.card-text[data-v-14152d5e]{display:flex;gap:6px;align-items:baseline;font-size:11px;color:var(--fge-orange-color)}.muted-title[data-v-14152d5e]{color:var(--fge-orange-color);font-weight:600}.muted-value[data-v-14152d5e]{color:var(--fge-text-muted, #6b7280);font-weight:300}.action-btn[data-v-14152d5e]{position:absolute;right:-8px;top:-8px;background:#ff3b30e6;color:#fff;border:none;width:25px;height:25px;font-size:10px;border-radius:999px;display:flex;align-items:center;justify-content:center;cursor:pointer}.header-buttons[data-v-14152d5e]{display:flex;gap:1.2rem}.sidebar-footer[data-v-14152d5e]{display:flex;justify-content:space-around;gap:.5rem;padding:1rem;border-top:1px solid var(--fge-gray-lines-color)}.close-btn[data-v-14152d5e]{background:transparent;border:none;font-size:1.2rem;cursor:pointer}.loading[data-v-14152d5e],.error[data-v-14152d5e],.no-devices[data-v-14152d5e]{color:#6b7280}[data-v-8fe494d1] .sidebar-panel{padding:0}.sidebar-header[data-v-8fe494d1]{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid var(--fge-gray-lines-color)}.sidebar-body[data-v-8fe494d1]{padding:1rem;overflow:auto;flex:1}.devices-list[data-v-8fe494d1]{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:1.2rem}.device-card[data-v-8fe494d1]{position:relative;padding:12px 10px;border-radius:10px;background-color:var(--fge-bg-item, #fff);box-shadow:0 7px 15px #0000000d;display:block}.card-body[data-v-8fe494d1]{display:flex;gap:12px}.card-left[data-v-8fe494d1]{width:40px;display:flex;align-items:center;justify-content:center}.icon-circle[data-v-8fe494d1]{width:35px;height:35px;border-radius:999px;display:flex;align-items:center;justify-content:center;background:#513c861a}.icon[data-v-8fe494d1]{font-size:16px;color:var(--fge-orange-color)}.card-content[data-v-8fe494d1]{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}.card-header[data-v-8fe494d1]{display:flex;flex-direction:column;gap:4px}.device-title[data-v-8fe494d1]{font-weight:600;font-size:14px}.device-id[data-v-8fe494d1]{color:#6b7280;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:block}.card-row[data-v-8fe494d1]{display:flex;align-items:center;gap:2px;font-size:11px;color:var(--fge-orange-color)}.calendar-icon[data-v-8fe494d1]{color:var(--fge-orange-color)}.card-text[data-v-8fe494d1]{display:flex;gap:6px;align-items:baseline;font-size:11px;color:var(--fge-orange-color)}.muted-title[data-v-8fe494d1]{color:var(--fge-orange-color);font-weight:600}.muted-value[data-v-8fe494d1]{color:var(--fge-text-muted, #6b7280);font-weight:300}.action-btn[data-v-8fe494d1]{position:absolute;right:-8px;top:-8px;background:#ff3b30e6;color:#fff;border:none;width:25px;height:25px;font-size:10px;border-radius:999px;display:flex;align-items:center;justify-content:center;cursor:pointer}.header-buttons[data-v-8fe494d1]{display:flex;gap:1.2rem}.sidebar-footer[data-v-8fe494d1]{display:flex;justify-content:space-around;gap:.5rem;padding:1rem;border-top:1px solid var(--fge-gray-lines-color)}.close-btn[data-v-8fe494d1]{background:transparent;border:none;font-size:1.2rem;cursor:pointer}.loading[data-v-8fe494d1],.error[data-v-8fe494d1],.no-devices[data-v-8fe494d1]{color:#6b7280}.device-title-row[data-v-8fe494d1]{display:flex;gap:8px;align-items:center}.badges[data-v-8fe494d1]{display:flex;gap:6px;align-items:center}.badge[data-v-8fe494d1]{font-size:10px;padding:2px 6px;border-radius:999px;color:#fff;font-weight:600;line-height:1}.badge-actual[data-v-8fe494d1]{background:#16a34a}.badge-cd[data-v-8fe494d1]{background:#6d28d9}.auth-modal-body-msg[data-v-6cedda83]{margin-top:.75rem!important;margin-bottom:0!important}.auth-msg-capitalize[data-v-6cedda83]{text-transform:capitalize}.avatar-size{width:40px!important;height:40px!important;outline:1px solid #c7c7c7}.avatar-size img{width:40px!important;height:40px!important;object-fit:cover}.default-icon-size{width:40px;height:40px}.default-icon-size svg{width:40px;height:40px}.link-item-container{display:flex;padding:0;margin-left:0;align-items:center;cursor:pointer;border:none;background-color:transparent}.item-container{display:flex;align-items:center;gap:10px}.avatar-container{display:inline-flex;overflow:hidden;justify-content:center;align-items:center;border-radius:9999px;vertical-align:middle;-webkit-user-select:none;user-select:none;height:45px;width:45px}.avatar-image{object-fit:cover;width:100%;height:100%}.avatar-fallback{display:flex;justify-content:center;align-items:center;width:100%;height:100%;font-weight:500;background-color:#fff;color:15px;text-transform:uppercase}.auth-name-container{display:none;margin-right:.75rem;color:var(--text-color)}.auth-name-container .name{text-transform:capitalize;margin-bottom:0;font-family:var(--fge-font-family)}.auth-name-container .profession{font-family:Roboto Condensed;text-align:center;text-transform:uppercase;font-size:.75rem}@media (min-width: 768px){.auth-name-container{display:block}}.auth-menu-content{width:100%;background-color:#fff;border-bottom:1px solid var(--fge-soft-gray-icon)}div[data-radix-popper-content-wrapper]{z-index:999!important}.auth-menu-item{display:flex;padding:.5rem .5rem .5rem 1rem;align-items:center;width:160px;background-color:transparent;cursor:pointer;color:var(--text-color)}.auth-menu-item>svg{width:12px;margin-right:.75rem;fill:var(--text-color)}.auth-menu-item:hover{background-color:var(--fge-bg-hover-item)}html[data-theme=dark] .auth-name-container,.dark .auth-name-container,html[data-theme=dark] .auth-name-container .name,.dark .auth-name-container .name,html[data-theme=dark] .auth-name-container .profession,.dark .auth-name-container .profession,html[data-theme=dark] .auth-menu-item,.dark .auth-menu-item{color:#fff}html[data-theme=dark] .auth-menu-item>svg,.dark .auth-menu-item>svg{fill:#fff}html[data-theme=dark] .auth-menu-item:hover,.dark .auth-menu-item:hover{background-color:var(--fge-gray-color)}html[data-theme=dark] .auth-menu-content,.dark .auth-menu-content{background-color:var(--fge-dark-background)}:root{--toastify-color-light:#fff;--toastify-color-dark:#121212;--toastify-color-info:#3498db;--toastify-color-success:#07bc0c;--toastify-color-warning:#f1c40f;--toastify-color-error:#e74c3c;--toastify-color-transparent:#ffffffb3;--toastify-icon-color-info:var(--toastify-color-info);--toastify-icon-color-success:var(--toastify-color-success);--toastify-icon-color-warning:var(--toastify-color-warning);--toastify-icon-color-error:var(--toastify-color-error);--toastify-toast-width:320px;--toastify-toast-background:#fff;--toastify-toast-min-height:64px;--toastify-toast-max-height:800px;--toastify-font-family:sans-serif;--toastify-z-index:9999;--toastify-text-color-light:#757575;--toastify-text-color-dark:#fff;--toastify-text-color-info:#fff;--toastify-text-color-success:#fff;--toastify-text-color-warning:#fff;--toastify-text-color-error:#fff;--toastify-spinner-color:#616161;--toastify-spinner-color-empty-area:#e0e0e0;--toastify-color-progress-light:linear-gradient(90deg,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55);--toastify-color-progress-dark:#bb86fc;--toastify-color-progress-info:var(--toastify-color-info);--toastify-color-progress-success:var(--toastify-color-success);--toastify-color-progress-warning:var(--toastify-color-warning);--toastify-color-progress-error:var(--toastify-color-error);--toastify-color-progress-colored:#ddd}.Toastify__toast-container{box-sizing:border-box;color:#fff;padding:4px;position:fixed;transform:translate3d(0,0,var(--toastify-z-index) px);width:var(--toastify-toast-width);z-index:var(--toastify-z-index)}.Toastify__toast-container--top-left{left:1em;top:1em}.Toastify__toast-container--top-center{left:50%;top:1em;transform:translate(-50%)}.Toastify__toast-container--top-right{right:1em;top:1em}.Toastify__toast-container--bottom-left{bottom:1em;left:1em}.Toastify__toast-container--bottom-center{bottom:1em;left:50%;transform:translate(-50%)}.Toastify__toast-container--bottom-right{bottom:1em;right:1em}@media only screen and (max-width:480px){.Toastify__toast-container{left:0;margin:0;padding:0;width:100vw}.Toastify__toast-container--top-center,.Toastify__toast-container--top-left,.Toastify__toast-container--top-right{top:0;transform:translate(0)}.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-right{bottom:0;transform:translate(0)}.Toastify__toast-container--rtl{left:auto;right:0}}.Toastify__toast{border-radius:4px;box-shadow:0 1px 10px #0000001a,0 2px 15px #0000000d;box-sizing:border-box;cursor:pointer;direction:ltr;display:flex;font-family:var(--toastify-font-family);justify-content:space-between;margin-bottom:1rem;max-height:var(--toastify-toast-max-height);min-height:var(--toastify-toast-min-height);overflow:hidden;padding:8px;position:relative;z-index:0}.Toastify__toast--rtl{direction:rtl}.Toastify__toast-body{align-items:center;display:flex;flex:1 1 auto;margin:auto 0;padding:6px;white-space:pre-wrap}.Toastify__toast-body>div:last-child{flex:1}.Toastify__toast-icon{display:flex;flex-shrink:0;margin-inline-end:10px;width:20px}.Toastify--animate{animation-duration:.7s;animation-fill-mode:both}.Toastify--animate-icon{animation-duration:.3s;animation-fill-mode:both}@media only screen and (max-width:480px){.Toastify__toast{border-radius:0;margin-bottom:0}}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--colored.Toastify__toast--default,.Toastify__toast-theme--light{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{background:var(--toastify-color-info);color:var(--toastify-text-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{background:var(--toastify-color-success);color:var(--toastify-text-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{background:var(--toastify-color-warning);color:var(--toastify-text-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{background:var(--toastify-color-error);color:var(--toastify-text-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--default{background:var(--toastify-color-progress-colored)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning{background:var(--toastify-color-transparent)}.Toastify__close-button{align-self:flex-start;background:#0000;border:none;color:#fff;cursor:pointer;opacity:.7;outline:none;padding:0;transition:.3s ease}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentcolor;height:16px;width:14px}.Toastify__close-button:focus,.Toastify__close-button:hover{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{bottom:0;height:5px;left:0;opacity:.7;position:absolute;transform-origin:left;width:100%;z-index:var(--toastify-z-index)}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{left:auto;right:0;transform-origin:right}.Toastify__spinner{animation:Toastify__spin .65s linear infinite;border:2px solid;border-color:var(--toastify-spinner-color-empty-area);border-radius:100%;border-right-color:var(--toastify-spinner-color);box-sizing:border-box;height:20px;width:20px}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--bottom-left,.Toastify__bounce-enter--top-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--bottom-right,.Toastify__bounce-enter--top-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--bottom-left,.Toastify__bounce-exit--top-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--bottom-right,.Toastify__bounce-exit--top-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__none{0%,60%,75%,90%,to{animation-duration:0;animation-timing-function:none}0%{opacity:1;transform:translateZ(0)}to{transform:translateZ(0)}}.Toastify__none-enter--bottom-center,.Toastify__none-enter--bottom-left,.Toastify__none-enter--bottom-right,.Toastify__none-enter--top-center,.Toastify__none-enter--top-left,.Toastify__none-enter--top-right{animation-name:Toastify__none}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{animation-timing-function:ease-in;opacity:0;transform:perspective(400px) rotateX(90deg)}40%{animation-timing-function:ease-in;transform:perspective(400px) rotateX(-20deg)}60%{opacity:1;transform:perspective(400px) rotateX(10deg)}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:perspective(400px)}30%{opacity:1;transform:perspective(400px) rotateX(-20deg)}to{opacity:0;transform:perspective(400px) rotateX(90deg)}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideOutRight{0%{transform:translateZ(0)}to{transform:translate3d(110%,0,0);visibility:hidden}}@keyframes Toastify__slideOutLeft{0%{transform:translateZ(0)}to{transform:translate3d(-110%,0,0);visibility:hidden}}@keyframes Toastify__slideOutDown{0%{transform:translateZ(0)}to{transform:translate3d(0,500px,0);visibility:hidden}}@keyframes Toastify__slideOutUp{0%{transform:translateZ(0)}to{transform:translate3d(0,-500px,0);visibility:hidden}}.Toastify__slide-enter--bottom-left,.Toastify__slide-enter--top-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--bottom-right,.Toastify__slide-enter--top-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--bottom-left,.Toastify__slide-exit--top-left{animation-name:Toastify__slideOutLeft}.Toastify__slide-exit--bottom-right,.Toastify__slide-exit--top-right{animation-name:Toastify__slideOutRight}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.date-picker-field{display:flex;padding:.25rem;justify-content:space-between;align-items:center;border-radius:.5rem;border-width:1px;border-color:transparent;width:10rem;text-align:center;background-color:#fff;-webkit-user-select:none;user-select:none}.date-picker-field-div{display:flex;align-items:center;justify-content:center}.date-picker-input{padding:.125rem;border-radius:.375rem}.date-picker-input:focus-visible{outline-color:var(--fge-orange-color)}.date-picker-btn{padding:.5rem;font-size:1.25rem;width:35px;height:35px;line-height:1.75rem;position:absolute;top:0;right:0;background-color:transparent;border:none;border-top-right-radius:8px;border-bottom-right-radius:8px}.date-picker-btn:hover{background-color:var(--fge-lighter-orange-color)}.date-picker-btn:focus-within{outline-color:var(--fge-orange-color)}.date-picker-content{font-family:Roboto,Arial,Helvetica,sans-serif;border-radius:.75rem;background-color:#fff}.calendar-fill-white{fill:#fff}.date-picker-header{display:flex;justify-content:space-between;align-items:center}.date-picker-header-btn{display:inline-flex;justify-content:center;align-items:center;width:2rem;height:2rem;background-color:transparent;cursor:pointer;border:none;border-radius:50%}.date-picker-header-btn>svg{fill:var(--fge-gray-color);width:1rem;height:1rem}.date-picker-header-btn:hover{background-color:var(--fge-gray-hover-bg)}.div-datepicker-header{display:flex;padding-top:1rem;flex-direction:column}@media (min-width: 640px){.div-datepicker-header{margin-left:1rem;margin-top:0;flex-direction:row}}.datepicker-header-label{font-size:1.25rem;font-weight:400;text-transform:capitalize;color:var(--fge-gray-color)}.div-datepicker-grid{margin-top:.25rem;width:100%;-webkit-user-select:none;user-select:none;border-collapse:collapse}.date-picker-grid-row{display:flex;margin-bottom:.25rem;justify-content:space-between;width:100%}.date-picker-header-cell{border-radius:.375rem;width:2rem;text-transform:uppercase;color:var(--fge-orange-color);font-weight:300;font-size:14px}.datepicker-row{display:flex;justify-content:space-between;width:100%}.datepicker-cell-trigger{display:flex;position:relative;justify-content:center;align-items:center;border-width:1px;border-color:transparent;outline-style:none;width:2.5rem;height:2.5rem;font-size:1rem;line-height:1.25rem;font-weight:400;padding:.75rem;color:var(--fge-gray-color);white-space:nowrap;border-radius:50%;background-color:transparent}.datepicker-cell-trigger:hover{background-color:var(--fge-lighter-orange-color);cursor:pointer}.datepicker-cell-trigger[data-disabled]{color:var(--fge-soft-gray-icon)}.calendar-icon{width:20px;height:20px}*{margin:0;padding:0;box-sizing:border-box}body{min-height:100dvh}input,button,textarea,select{font:inherit}p{text-wrap:pretty}h1,h2,h3,h4,h5,h6{text-wrap:balance}.svg-external-circle,.svg-internal-circle{display:block;margin:0 auto;transform-box:fill-box;transform-origin:center;will-change:transform}.svg-external-circle{animation:rotate 18s linear infinite}.svg-internal-circle{animation:rotate2 18s linear infinite}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate2{0%{transform:rotate(0)}to{transform:rotate(-360deg)}}@supports (-moz-appearance: none){.svg-internal-circle,.svg-external-circle{transform-origin:initial;animation:none}}.font-roboto{font-family:var(--fge-font-family)}.font-roboto-condensed{font-family:Roboto Condensed,Arial,Helvetica,sans-serif}*::-webkit-scrollbar{-webkit-appearance:none;background-color:var(--surface-200)}*::-webkit-scrollbar:vertical{width:.5vw;margin:2rem;padding:2rem}*::-webkit-scrollbar-button:increment,*::-webkit-scrollbar-button{display:none}*::-webkit-scrollbar:horizontal{height:.4vh}*::-webkit-scrollbar-thumb{background-color:var(--fge-orange-color);border-radius:.3rem}:root{--fge-primary-color: var(--primary-color, #6B7280);--fge-secondary-color: var(--secondary-color, #4A6A91);--fge-tertiary-color: var(--tertiary-color, #E5E7EB);--fge-font-family: "Roboto", Arial, Helvetica, sans-serif;--fge-background: #333333;--fge-dark-background: #293241;--fge-background-color: #fff;--fge-primary-button-text-color: #fff;--fge-gray-bolder-color: #666666;--fge-gray-color: #797979;--fge-gray-lines-color: #cccccc;--fge-orange-color: var(--fge-primary-color);--fge-light-orange-color: var(--primary-light-color, #9ca3af);--fge-lighter-orange-color: rgba(107, 114, 128, .4);--fge-input-color: #fef7ef;--fge-red-error-color: #e8523dbf;--fge-secondary-btn-color: var(--fge-secondary-color);--fge-gray-bg: #f3f4f6;--fge-gray-hover-bg: var(--fge-tertiary-color);--fge-green-color: #4A6A91;--fge-green-bolder-color: #5c7ca3;--fge-green-bg: #4A6A91;--fge-green-hover-bg: #5c7ca3;--fge-toast-color-button: #b3b3b3;--fge-toast-success: #99ab69;--fge-toast-error: #e8523d;--fge-toast-info: #2d4b73;--fge-toast-warning: #fabe50;--fge-gray-icon: #9c9c9c;--fge-soft-gray-icon: #bababa;--fge-orange-icon: #598c15;--fge-bg-hover-item: #e2e8f0;--text-color: #69707a;font-size:14px}.fge-auth-container,.fge-auth-container button,.fge-auth-container input{font-family:Roboto,Arial,Helvetica,sans-serif}body{margin:0}#app{height:100vh;min-height:100%;width:100vw;overflow-x:hidden}.fge-login-container{width:100%;min-height:100%;background:#fff;overflow:auto;display:flex;flex:1 1 100%;align-items:stretch;justify-content:space-between;box-shadow:0 0 20px 6px #090b6f85;position:relative}.fge-login-container div{height:auto}.fge-login-container .left{flex:1;background-color:var(--fge-background);display:flex}.fge-login-container .left svg{width:100%;height:100%}@media (max-width: 980px){.fge-login-container .left{display:none}}.fge-login-container .right{flex:0 0 auto;min-height:100vh;width:max-content;overflow:auto;display:flex;flex-direction:column;align-items:center;justify-content:center}.fge-login-container .right .right-container{height:100%;padding:0 2rem;display:flex;flex-wrap:wrap;flex-direction:column;justify-content:center;gap:1rem;margin-top:auto;margin-bottom:auto}.fge-login-container .right .right-container .fge-login{width:330px;padding:0 4px}.fge-login-container .right .right-container-footer{margin-top:auto;margin-bottom:10px;align-self:flex-end}@media (max-width: 980px){.fge-login-container .right{width:100%}.fge-login-container .right .right-container{width:100%;align-items:center}}@media (max-width: 400px){.fge-login-container .right .right-container{padding:0 1rem;margin:0}}.fge-right-container{margin-left:20px;margin-right:20px}.fge-btn-section{margin-top:40px;gap:40px}.mb-40{margin-bottom:40px}@media (max-width: 980px){.fge-login-container{flex-flow:wrap;text-align:center;align-content:center;align-items:center;justify-content:center}}.fge-form-label{text-align:left;color:var(--fge-gray-color);font-weight:400;padding-left:.25rem;font-family:Roboto;margin-bottom:2px!important}.fge-auth-primary-button{color:var(--fge-primary-button-text-color);background:var(--fge-orange-color);padding:.8rem 1rem;border-radius:1rem;border:1px solid var(--fge-light-orange-color);font-family:Roboto,Arial,Helvetica,sans-serif;margin:0;height:40px;font-weight:500;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter}.fge-auth-primary-button.w-full{width:100%}.fge-auth-primary-button:enabled:active{background:var(--fge-orange-color);color:var(--fge-primary-button-text-color);border-color:var(--fge-light-orange-color)}.fge-auth-primary-button span{font-weight:500}.fge-auth-primary-button:enabled:hover{background:var(--fge-light-orange-color);color:var(--fge-primary-button-text-color);border-color:var(--fge-light-orange-color);cursor:pointer}.mt-2{margin-top:2px}.mt-3{margin-top:3px}.mt-4{margin-top:4px}.mt-5{margin-top:5px}.fge-gray-button{padding:.8rem 1rem;color:var(--fge-gray-color);border-radius:1rem;border:1px solid var(--fge-gray-bolder-color);background:var(--fge-gray-bg);font-weight:600;-webkit-appearance:button;-moz-appearance:button;appearance:button;transition-timing-function:cubic-bezier(.4,0,.2,1);font-family:Roboto,Arial,Helvetica,sans-serif;transition-duration:.2s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter}.fge-gray-button.w-full{width:100%}.fge-gray-button:hover{cursor:pointer;border-color:var(--fge-gray-hover-bg);background-color:var(--fge-gray-hover-bg)}.fge-green-button{padding:.8rem 1rem;color:var(--fge-input-color);border-radius:1rem;border:1px solid var(--fge-green-bolder-color);background:var(--fge-green-bg);font-weight:600;-webkit-appearance:button;-moz-appearance:button;appearance:button;transition-timing-function:cubic-bezier(.4,0,.2,1);font-family:Roboto,Arial,Helvetica,sans-serif;transition-duration:.2s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter}.fge-green-button.w-full{width:100%}.fge-green-button:hover{cursor:pointer;border-color:var(--fge-green-hover-bg);background-color:var(--fge-green-hover-bg)}.fge-delete-button{padding:.8rem 1rem;color:var(--fge-primary-button-text-color);border-radius:1rem;border:1px solid #d93b2f;background:#e8523d;font-weight:600;-webkit-appearance:button;-moz-appearance:button;appearance:button;transition-timing-function:cubic-bezier(.4,0,.2,1);font-family:Roboto,Arial,Helvetica,sans-serif;transition-duration:.2s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter}.fge-delete-button.w-full{width:100%}.fge-delete-button:hover{cursor:pointer;border-color:#c83a2b;background-color:#d63f31}.fge-delete2-button{padding:.8rem 1rem;color:#e8523d;border-radius:1rem;border:1px solid #e8523d;background:#e8523d1f;font-weight:600;-webkit-appearance:button;-moz-appearance:button;appearance:button;transition-timing-function:cubic-bezier(.4,0,.2,1);font-family:Roboto,Arial,Helvetica,sans-serif;transition-duration:.2s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter}.fge-delete2-button.w-full{width:100%}.fge-delete2-button:hover{cursor:pointer;border-color:#e8523d66;background-color:#e8523d2e}.fge-secondary-button{color:var(--surface-500);background:var(--surface-50);border:1px solid var(--fge-secondary-btn-color);padding:.8rem 1rem;font-size:1rem;border-radius:1rem;height:40px}.fge-secondary-button span{font-weight:500}.fge-secondary-button:enabled:hover{background:var(--surface-100);color:var(--surface-600);border-color:transparent;cursor:pointer}.fge-secondary-button:enabled:active{background:#fff;color:var(--fge-gray-bolder-color);border-color:var(--gray-4)}.fge-link-primary-button{all:unset}.fge-link-primary-button span{font-weight:400;color:var(--fge-orange-color);font-size:.95rem}.fge-link-primary-button:hover{text-decoration:underline;text-decoration-color:var(--fge-orange-color);cursor:pointer}.fge-link-primary-button:enabled:active{background:transparent}.fge-link-primary-button:focus{box-shadow:none}.fge-link-secondary-button{all:unset;padding:.25rem 0}.fge-link-secondary-button span{font-weight:400;color:var(--fge-gray-color);font-size:.85rem}.fge-link-secondary-button:hover{text-decoration:underline;cursor:pointer}.fge-link-secondary-button:enabled:active{background:transparent}.fge-link-secondary-button:focus{box-shadow:none}.fge-gray-1-label{color:#4d4d4d;font-size:1rem}.fge-text-gray{color:var(--fge-gray-color);font-size:1rem;font-family:var(--fge-font-family)}.fge-lines{overflow:auto;text-align:center}.fge-lines:before,.fge-lines:after{background-color:var(--fge-gray-lines-color);content:"";display:inline-block;height:1px;position:relative;vertical-align:middle;width:28%}.fge-lines:before{right:.5em;margin-left:-50%}.fge-lines:after{left:.5em;margin-right:-50%}.fge-horizontal-line{overflow:hidden;text-align:center}.fge-horizontal-line:before,.fge-horizontal-line:after{background-color:var(--fge-gray-lines-color);content:"";display:inline-block;height:1px;position:relative;vertical-align:middle;width:50%}.fge-auth-error{text-align:center;color:var(--fge-red-error-color);font-size:.867rem;margin:0;margin-top:.25rem}.auth-form-container>*{margin-top:.75rem}.auth-input-container{text-align:left;max-width:100%}.auth-input-container>*{font-family:var(--fge-font-family)}.auth-input-container>label{display:inline-block;padding-bottom:.1rem}.fge-auth-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;padding:.6rem 1rem .5rem;color:var(--fge-gray-color);height:40px;max-height:40px;width:100%;border:1px solid;border-color:var(--fge-light-orange-color);border-radius:1rem}.fge-auth-input.with-btn{padding-right:2rem}.fge-auth-input.with-btns{padding-right:4.5rem}.fge-auth-input.relative{position:relative!important}.fge-auth-input.uppercase{text-transform:uppercase}.fge-auth-input:enabled:focus{background:rgba(var(--primary-color-rgba),.12);outline:0 none;outline-offset:0;box-shadow:none;border-color:var(--fge-light-orange-color)!important}.fge-auth-input:hover{border-color:var(--fge-light-orange-color)!important;outline:1px solid var(--fge-light-orange-color)}html[data-theme=dark] .fge-auth-input:enabled:focus,.dark .fge-auth-input:enabled:focus{background:rgba(var(--primary-color-rgba-dark),.12)}.fge-orange-icon i{font-size:1.25rem;height:23px;color:var(--fge-orange-color)!important}.fge-orange-icon>svg{color:var(--fge-orange-color)!important}.fge-auth-input-invalid{border:1px solid var(--fge-red-error-color);font-size:1rem;box-shadow:0 0 7px #e8523d33}.fge-auth-input-invalid:enabled:focus{background:var(--fge-background-color);outline:0 none;outline-offset:0;box-shadow:none;border-color:var(--fge-red-error-color)!important}.fge-auth-input-invalid:hover{outline:1px solid var(--fge-red-error-color)!important}html[data-theme=dark] .fge-text-gray,html[data-theme=dark] .fge-gray-1-label,html[data-theme=dark] .fge-form-label,html[data-theme=dark] .fge-auth-input,.dark .fge-text-gray,.dark .fge-gray-1-label,.dark .fge-form-label,.dark .fge-auth-input{color:#fff}.auth-svg-primary .stroke-content{stroke:var(--fge-orange-color)}.auth-svg-primary .fill-content{color:var(--fge-orange-color)}.auth-svg-gray .stroke-content{stroke:var(--fge-gray-color)}.auth-svg-gray .fill-content{color:var(--fge-gray-color)}.auth-relative-container{height:40px;position:relative}.auth-btn-container{display:flex;gap:30px}.auth-btn-container.margin-top{margin-top:45px}.btn-only-icon{-webkit-appearance:button;-moz-appearance:button;appearance:button;background-color:transparent;border:none;border-radius:50%;display:flex;justify-content:center;align-items:center;padding:4px}.btn-only-icon:hover{cursor:pointer;background-color:var(--fge-lighter-orange-color)}.btn-only-icon>svg{width:24px;height:24px}.btn-only-icon.absolute{position:absolute;top:4px;right:4px}.btn-only-icon.absolute-2{position:absolute;top:4px;right:32px}.tooltip{background-color:var(--fge-gray-color);color:#fff;font-weight:400;font-family:Roboto,Arial,Helvetica,sans-serif;padding:4px 8px;border-radius:8px}.arrow-svg{fill:var(--fge-gray-color)}.auth-hide-btn{display:none}.auth-modal-container{position:fixed;background-color:#fff;font-family:Roboto,Arial,Helvetica,sans-serif;top:50%;left:50%;transform:translate(-50%,-50%);max-height:85vh;width:90vw;max-width:450px;padding:25px;z-index:99999!important;border-radius:8px;box-shadow:0 2px 10px #0006}.auth-modal-container .auth-dialog-title{font-size:1.25rem;font-weight:400;color:var(--text-color);padding-bottom:.75rem;border-bottom:1px solid var(--fge-soft-gray-icon);margin-bottom:1rem}.auth-modal-container .auth-title-container{display:flex;align-items:center;justify-content:space-between}.auth-modal-container .auth-title-container>p{margin-bottom:0}.auth-modal-container .auth-title-container .close-icon{width:28px;height:28px;cursor:pointer;background-color:transparent;border:none;border-radius:50%;padding:.5rem;display:flex;align-items:center;justify-content:center}.auth-modal-container .auth-title-container .close-icon:hover{background-color:var(--fge-bg-hover-item)}.auth-modal-container .auth-title-container .close-icon>svg{width:14px;height:14px;color:var(--text-color)}.auth-modal-container .dialog-body{color:var(--text-color)}.auth-modal-container .dialog-body>p{margin-top:1rem}.auth-modal-container .dialog-body .body-title{color:var(--fge-orange-color);text-align:center;font-size:1.25rem}.auth-modal-container .dialog-body .icon{width:100%;height:75px;text-align:center}.auth-modal-container .dialog-body .icon>svg{width:75px;height:75px;margin-bottom:1rem}.auth-modal-container .dialog-footer{display:flex;align-items:center;justify-content:center;gap:1rem;margin-top:1.5rem}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;background-color:#00000080}.dialog-text-center{text-align:center}.Toastify__toast-container{z-index:99999!important}.Toastify__toast--error{font-family:var(--fge-font-family);border:1px solid var(--fge-toast-error);border-left-width:20px;border-top-left-radius:1.5rem!important}.Toastify__toast--error .Toastify__toast-icon{width:20px!important}.Toastify__toast--error svg{height:20px;width:20px!important}.Toastify__toast--success{font-family:var(--fge-font-family);border:1px solid var(--fge-toast-success);border-left-width:20px;border-top-left-radius:1.5rem!important}.Toastify__toast--success .Toastify__toast-icon{width:20px!important}.Toastify__toast--success svg{fill:var(--fge-toast-success);color:var(--fge-toast-success);height:20px;width:20px!important}.toast-title{font-family:var(--fge-font-family);font-weight:600;margin-bottom:4px;font-size:1.12rem}.toast-description{font-family:var(--fge-font-family)}
|
|
1
|
+
(function(Xe,oe){typeof exports=="object"&&typeof module<"u"?oe(exports,require("yup"),require("vue"),require("vee-validate")):typeof define=="function"&&define.amd?define(["exports","yup","vue","vee-validate"],oe):(Xe=typeof globalThis<"u"?globalThis:Xe||self,oe(Xe.FgeAuthComponent={},Xe.Yup,Xe.Vue,Xe.VeeValidate))})(this,function(Xe,oe,a,je){"use strict";var qW=Object.defineProperty;var WW=(Xe,oe,a)=>oe in Xe?qW(Xe,oe,{enumerable:!0,configurable:!0,writable:!0,value:a}):Xe[oe]=a;var Vh=(Xe,oe,a)=>WW(Xe,typeof oe!="symbol"?oe+"":oe,a);var Rh=document.createElement("style");Rh.textContent=`@charset "UTF-8";.fge-logo-container[data-v-ea2fb273]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px 0}.fge-logo-container img[data-v-ea2fb273]{width:180px;margin-bottom:18px}.fge-logo-container svg[data-v-ea2fb273]{width:240px}.identity-capture[data-v-b838c8d0]{display:flex;flex-direction:column;gap:.7rem}.identity-capture__header[data-v-b838c8d0]{display:flex;flex-direction:column;gap:.25rem}.identity-capture__progress[data-v-b838c8d0]{align-self:flex-start;margin:0;padding:.15rem .55rem;border-radius:999px;background:rgba(var(--primary-color-rgba),.12);color:var(--fge-orange-color);font-size:.72rem;font-weight:600;letter-spacing:.01em}.identity-capture__title[data-v-b838c8d0]{margin:0;font-size:1.05rem;font-weight:600;color:var(--fge-gray-bolder-color)}.identity-capture__hint[data-v-b838c8d0]{margin:0;font-size:.88rem;line-height:1.4;color:var(--fge-gray-color)}.identity-capture__camera[data-v-b838c8d0],.identity-capture__preview[data-v-b838c8d0]{position:relative;width:100%;height:min(52vh,380px);border-radius:1rem;overflow:hidden;background:#111}.identity-capture__video[data-v-b838c8d0],.identity-capture__preview img[data-v-b838c8d0]{width:100%;height:100%;object-fit:cover}.identity-capture__preview-badge[data-v-b838c8d0]{position:absolute;top:.65rem;left:.65rem;padding:.2rem .55rem;border-radius:999px;background:#0000008c;color:#fff;font-size:.72rem;font-weight:600}.identity-capture__overlay[data-v-b838c8d0]{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.identity-capture__overlay--documento[data-v-b838c8d0]:after,.identity-capture__overlay--selfie[data-v-b838c8d0]:after{content:"";position:absolute;border:2px dashed rgba(255,255,255,.85);box-shadow:0 0 0 9999px #00000059;transition:border-color .16s ease,border-style .16s ease}.identity-capture__overlay--documento[data-v-b838c8d0]:after{top:50%;left:50%;width:82%;height:52%;transform:translate(-50%,-50%);border-radius:.75rem}.identity-capture__overlay--selfie[data-v-b838c8d0]:after{top:18%;left:50%;width:55%;height:38%;transform:translate(-50%);border-radius:50%}.identity-capture__overlay.is-ready[data-v-b838c8d0]:after{border-style:solid;border-color:#86efac}.identity-capture__feedback[data-v-b838c8d0]{margin:0;padding:.55rem .7rem;border-radius:.75rem;font-size:.82rem;line-height:1.35;font-weight:500}.identity-capture__feedback.is-ok[data-v-b838c8d0]{background:#598c151f;color:var(--fge-green-color)}.identity-capture__feedback.is-wait[data-v-b838c8d0]{background:var(--fge-gray-bg);color:var(--fge-gray-bolder-color)}.identity-capture__messages[data-v-b838c8d0]{margin:0;padding-left:1.1rem;font-size:.8rem;color:var(--fge-gray-color);line-height:1.35}.identity-capture__error[data-v-b838c8d0],.identity-capture__status[data-v-b838c8d0]{margin:0;font-size:.85rem}.identity-capture__error[data-v-b838c8d0]{color:var(--fge-red-error-color)}.identity-capture__error--overlay[data-v-b838c8d0],.identity-capture__status[data-v-b838c8d0]{position:absolute;bottom:.7rem;left:.7rem;right:.7rem;text-align:center;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.6)}.identity-capture__error--overlay[data-v-b838c8d0]{color:#fecaca}.identity-capture__actions[data-v-b838c8d0]{display:flex;flex-direction:column;gap:.5rem}.identity-capture__file-fallback[data-v-b838c8d0]{text-align:center;font-size:.85rem;color:var(--fge-orange-color);cursor:pointer;margin-top:.15rem}.identity-capture__file-fallback span[data-v-b838c8d0]{text-decoration:underline}.otp-input-container[data-v-09940bdc]{width:100%}.otp-input-wrapper[data-v-09940bdc]{display:flex;gap:.875rem;justify-content:center;align-items:center;margin-top:1rem;margin-bottom:1rem;padding:.5rem}.otp-input-wrapper.otp-input-error .otp-input[data-v-09940bdc]{border-color:var(--fge-toast-error, #e8523d);box-shadow:0 0 0 4px #e8523d26,0 2px 8px #e8523d33;animation:shake-09940bdc .5s ease}@keyframes shake-09940bdc{0%,to{transform:translate(0)}25%{transform:translate(-8px)}75%{transform:translate(8px)}}.otp-input[data-v-09940bdc]{width:2.75rem;height:4rem;text-align:center;font-size:1.75rem;font-weight:700;letter-spacing:.1em;border:2px solid var(--fge-gray-lines-color, #cccccc);border-radius:12px;background-color:var(--fge-background-color, #ffffff);color:var(--fge-gray-color, #797979);transition:all .3s cubic-bezier(.4,0,.2,1);outline:none;font-family:var(--fge-font-family, "Roboto", Arial, Helvetica, sans-serif);box-shadow:0 2px 4px #0000000d}.otp-input[data-v-09940bdc]::-webkit-inner-spin-button,.otp-input[data-v-09940bdc]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0}.otp-input[data-v-09940bdc]:focus{border-color:var(--fge-orange-color, #513c86);box-shadow:0 0 0 4px var(--fge-lighter-orange-color, rgba(180, 191, 241, .3)),0 4px 12px #513c8626;transform:translateY(-2px) scale(1.02);background-color:var(--fge-background-color, #ffffff)}.otp-input.otp-input-filled[data-v-09940bdc]{border-color:var(--fge-orange-color, #513c86);background:linear-gradient(135deg,var(--fge-lighter-orange-color, rgba(180, 191, 241, .2)) 0%,var(--fge-background-color, #ffffff) 100%);color:var(--fge-orange-color, #513c86);font-weight:800;box-shadow:0 2px 8px #513c8633}.otp-input[data-v-09940bdc]:disabled{opacity:.5;cursor:not-allowed;background-color:var(--fge-gray-bg, #f3f4f6);transform:none}.otp-input[data-v-09940bdc]::placeholder{color:var(--fge-gray-icon, #9c9c9c);opacity:.5}.otp-input.otp-input-filled[data-v-09940bdc]:not(:disabled){animation:pulse-on-fill-09940bdc .3s ease}.otp-input[data-v-09940bdc]:hover:not(:disabled):not(:focus){border-color:var(--fge-light-orange-color, #a09dc2);box-shadow:0 2px 6px #513c861a}@keyframes pulse-on-fill-09940bdc{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}.otp-error-message[data-v-09940bdc]{color:var(--fge-toast-error, #e8523d);font-size:.875rem;margin-top:.5rem;text-align:center}@media (max-width: 640px){.otp-input-wrapper[data-v-09940bdc]{gap:.5rem}.otp-input[data-v-09940bdc]{width:2.75rem;height:3.5rem;font-size:1.5rem}}.otp-input-wrapper.otp-input-short .otp-input[data-v-09940bdc]{width:3.25rem;height:4rem;font-size:1.75rem}@media (max-width: 640px){.otp-input-wrapper.otp-input-short .otp-input[data-v-09940bdc]{width:3rem;height:3.5rem;font-size:1.5rem}}.message2FaContexto[data-v-848f081a]{background-color:#f5f5f5;padding:20px;border-radius:4px;box-shadow:0 2px 4px #0000001a}.message2FaContexto h3[data-v-848f081a]{margin-top:0}.message2FaContexto p[data-v-848f081a]{margin-bottom:10px}.message2FaContexto ul[data-v-848f081a]{list-style-type:disc;margin-left:20px}.message2FaContexto li[data-v-848f081a]{margin-bottom:5px}.mensaje-servicio-container[data-v-848f081a]{background-color:#f5f5f5;padding:1rem;border-radius:4px;box-shadow:0 2px 4px #0000001a;margin-bottom:1rem;margin-top:.5rem}.mensaje-servicio-text[data-v-848f081a]{font-size:.875rem;line-height:1.5;color:var(--fge-color-gray);margin:0}.send-code-container[data-v-848f081a]{display:flex;flex-direction:column;width:100%;min-height:200px}.mb-40[data-v-848f081a]{margin-bottom:2.5rem;width:100%}.field[data-v-848f081a]{width:100%}.text-center[data-v-848f081a]{text-align:center}.current-contact-label[data-v-848f081a]{margin-bottom:20px!important;text-align:center}.auth-input-container[data-v-848f081a]{width:100%;margin-bottom:1rem}.auth-btn-container[data-v-848f081a]{display:flex;gap:30px;width:100%;margin-top:1.5rem}.fge-auth-primary-button-disabled[data-v-848f081a]{opacity:.5;cursor:not-allowed;pointer-events:none}.identity-otp-modal[data-v-8816f21e]{max-width:480px;max-height:min(92vh,760px);overflow-y:auto}.registro-telegram-pasos[data-v-8816f21e]{padding-bottom:.25rem}.registro-telegram-pasos__nota[data-v-8816f21e]{margin-left:5px}.registro-telegram-pasos__abrir[data-v-8816f21e]{margin-top:1rem}.registro-telegram-pasos[data-v-8816f21e] .icon{height:56px}.registro-telegram-pasos[data-v-8816f21e] .icon>svg{width:48px;height:48px;margin-bottom:.35rem}.registro-telegram-pasos[data-v-8816f21e] .body-title{font-size:1.05rem;margin-bottom:.35rem}.kyc-progress[data-v-97b1f1be]{margin:0 0 1rem}.kyc-progress__list[data-v-97b1f1be]{display:flex;align-items:flex-start;justify-content:space-between;gap:.25rem;list-style:none;margin:0;padding:0}.kyc-progress__item[data-v-97b1f1be]{flex:1;display:flex;flex-direction:column;align-items:center;gap:.35rem;min-width:0;position:relative;color:var(--fge-gray-icon)}.kyc-progress__item[data-v-97b1f1be]:not(:last-child):after{content:"";position:absolute;top:11px;left:calc(50% + 14px);right:calc(-50% + 14px);height:2px;background:var(--fge-gray-lines-color)}.kyc-progress__item.is-done[data-v-97b1f1be]:not(:last-child):after{background:var(--fge-orange-color)}.kyc-progress__dot[data-v-97b1f1be]{width:22px;height:22px;border-radius:999px;border:2px solid var(--fge-gray-lines-color);background:#fff;display:grid;place-items:center;font-size:.7rem;font-weight:600;z-index:1}.kyc-progress__check[data-v-97b1f1be]{font-size:.7rem;line-height:1}.kyc-progress__item.is-current .kyc-progress__dot[data-v-97b1f1be],.kyc-progress__item.is-done .kyc-progress__dot[data-v-97b1f1be]{border-color:var(--fge-orange-color);background:var(--fge-orange-color);color:#fff}.kyc-progress__label[data-v-97b1f1be]{font-size:.7rem;line-height:1.2;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.kyc-progress__item.is-current .kyc-progress__label[data-v-97b1f1be]{color:var(--fge-gray-bolder-color);font-weight:600}.registro-medios[data-v-6b12d427]{display:flex;flex-direction:column;gap:.55rem;margin:.15rem 0 .85rem}.registro-medios__title[data-v-6b12d427]{margin:0;font-size:.92rem;font-weight:600;color:var(--fge-gray-bolder-color)}.registro-medios__hint[data-v-6b12d427]{margin:0;font-size:.84rem;line-height:1.4;color:var(--fge-gray-color)}.registro-medios__list[data-v-6b12d427]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.registro-medios__btn[data-v-6b12d427]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;min-height:44px;display:flex;align-items:center;gap:.75rem;padding:.65rem .8rem;border:1px solid var(--fge-light-orange-color);border-radius:.85rem;background:#fff;text-align:left;cursor:pointer;color:inherit}.registro-medios__btn[data-v-6b12d427]:hover:not(:disabled){background:rgba(var(--primary-color-rgba),.06)}.registro-medios__btn[data-v-6b12d427]:disabled{cursor:default}.registro-medios__btn.is-pending[data-v-6b12d427]{border-color:var(--fge-orange-color);background:rgba(var(--primary-color-rgba),.08)}.registro-medios__btn.is-verified[data-v-6b12d427]{border-color:var(--fge-green-color, #598c15);background:#598c1514}.registro-medios__icon[data-v-6b12d427]{flex-shrink:0;width:28px;height:28px;display:grid;place-items:center}.registro-medios__icon[data-v-6b12d427] svg{width:24px;height:24px}.registro-medios__copy[data-v-6b12d427]{display:flex;flex-direction:column;gap:.1rem;min-width:0}.registro-medios__copy strong[data-v-6b12d427]{font-size:.88rem;color:var(--fge-gray-bolder-color)}.registro-medios__copy small[data-v-6b12d427]{font-size:.78rem;color:var(--fge-gray-color)}.is-verified .registro-medios__copy small[data-v-6b12d427]{color:var(--fge-green-color, #598c15);font-weight:600}.fge-btn-section[data-v-65746c77]{display:flex;flex-direction:column}.registro-nav[data-v-65746c77]{align-items:stretch}.registro-nav__btn[data-v-65746c77]{min-height:40px;height:auto;padding:.65rem .85rem}.registro-nav__btn span[data-v-65746c77]{display:block;line-height:1.25;white-space:normal;text-align:center}.registro-step[data-v-8ee8b1b5]{display:flex;flex-direction:column}.registro-step--kyc[data-v-8ee8b1b5] .fge-btn-section{margin-top:1.25rem;gap:1.25rem}.kyc-panel[data-v-8ee8b1b5]{display:flex;flex-direction:column;gap:.85rem}.kyc-panel__header[data-v-8ee8b1b5]{display:flex;flex-direction:column;gap:.35rem}.kyc-panel__title[data-v-8ee8b1b5]{margin:0;font-size:1.05rem;font-weight:600;color:var(--fge-gray-bolder-color)}.kyc-panel__subtitle[data-v-8ee8b1b5]{margin:0;font-size:.88rem;line-height:1.4;color:var(--fge-gray-color)}.kyc-alert[data-v-8ee8b1b5]{display:block;margin:0;padding:.75rem .9rem;border-radius:.85rem;font-size:.88rem;line-height:1.4;text-align:left}.kyc-alert p[data-v-8ee8b1b5]{margin:0}.kyc-alert p+p[data-v-8ee8b1b5]{margin-top:.35rem}.kyc-alert--warning[data-v-8ee8b1b5]{background:#fabe5029;border:1px solid var(--fge-toast-warning);color:#8a5a00}.kyc-alert--info[data-v-8ee8b1b5]{background:rgba(var(--primary-color-rgba),.08);border:1px solid var(--fge-light-orange-color);color:var(--fge-gray-bolder-color)}.kyc-alert--compact[data-v-8ee8b1b5]{margin-bottom:.75rem}.kyc-alert__title[data-v-8ee8b1b5]{font-weight:600}.kyc-alert__meta[data-v-8ee8b1b5]{font-size:.82rem}.kyc-photo-cards[data-v-8ee8b1b5]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.kyc-photo-card[data-v-8ee8b1b5]{display:flex;align-items:center;gap:.75rem;padding:.65rem .75rem;border:1px solid var(--fge-light-orange-color);border-radius:.85rem;background:rgba(var(--primary-color-rgba),.04)}.kyc-photo-card__icon[data-v-8ee8b1b5]{flex-shrink:0;width:38px;height:38px;border-radius:.55rem;background:#fff;border:1px dashed var(--fge-orange-color);position:relative}.kyc-photo-card__icon[data-v-8ee8b1b5]:after{content:"";position:absolute;top:7px;right:7px;bottom:7px;left:7px;border:1.5px solid var(--fge-orange-color);opacity:.7}.kyc-photo-card__icon--anverso[data-v-8ee8b1b5]:after,.kyc-photo-card__icon--reverso[data-v-8ee8b1b5]:after{border-radius:.2rem}.kyc-photo-card__icon--selfie[data-v-8ee8b1b5]:after{border-radius:50%;top:6px;right:10px;bottom:6px;left:10px}.kyc-photo-card__text[data-v-8ee8b1b5]{display:flex;flex-direction:column;gap:.15rem;min-width:0}.kyc-photo-card__text strong[data-v-8ee8b1b5]{font-size:.88rem;color:var(--fge-gray-bolder-color)}.kyc-photo-card__text small[data-v-8ee8b1b5]{font-size:.78rem;color:var(--fge-gray-color);line-height:1.3}.registro-consent-text[data-v-8ee8b1b5]{font-size:.86rem;color:var(--fge-gray-color);margin:0;line-height:1.45}.kyc-consent[data-v-8ee8b1b5]{display:flex;align-items:flex-start;gap:.65rem;padding:.75rem .85rem;border-radius:.85rem;border:1px solid var(--fge-light-orange-color);background:#fff;font-size:.88rem;line-height:1.4;color:var(--fge-gray-bolder-color);cursor:pointer;text-align:left}.kyc-consent input[data-v-8ee8b1b5]{margin-top:.15rem;accent-color:var(--fge-orange-color);flex-shrink:0}.kyc-uploaded[data-v-8ee8b1b5]{display:block;margin:.6rem 0 0;padding:.55rem .75rem;border-radius:.75rem;background:#598c151f;color:var(--fge-green-color);font-size:.85rem;font-weight:500}.kyc-summary[data-v-8ee8b1b5]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.45rem}.kyc-summary__item[data-v-8ee8b1b5]{display:flex;align-items:flex-start;gap:.65rem;padding:.6rem .7rem;border-radius:.75rem;background:var(--fge-gray-bg);font-size:.88rem;color:var(--fge-gray-color);text-align:left}.kyc-summary__item strong[data-v-8ee8b1b5]{display:block;color:var(--fge-gray-bolder-color);font-weight:600}.kyc-summary__item.is-pending[data-v-8ee8b1b5]{background:#fabe5029}.kyc-summary__item.is-pending .kyc-summary__check[data-v-8ee8b1b5]{background:var(--fge-toast-warning)}.kyc-summary__check[data-v-8ee8b1b5]{flex-shrink:0;width:22px;height:22px;border-radius:999px;background:var(--fge-orange-color);color:#fff;display:grid;place-items:center;font-size:.72rem;font-weight:700}.registro-otp-pendiente[data-v-8ee8b1b5]{padding:.75rem 1rem;border-radius:.75rem;background:rgba(var(--primary-color-rgba),.08);border:1px solid var(--fge-light-orange-color);font-size:.9rem;color:var(--fge-gray-color);line-height:1.4}.registro-otp-pendiente p[data-v-8ee8b1b5]{margin:0 0 .35rem}.registro-otp-pendiente p[data-v-8ee8b1b5]:last-child{margin-bottom:0}.registro-otp-pendiente__link[data-v-8ee8b1b5]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:none;padding:0;margin-left:.25rem;color:var(--fge-orange-color);font-weight:600;text-decoration:underline;cursor:pointer}.registro-otp-pendiente__timer[data-v-8ee8b1b5]{font-size:.85rem;opacity:.9}.registro-contacto-ayuda[data-v-8ee8b1b5]{margin:0 0 .35rem;font-size:.82rem;line-height:1.35;color:var(--fge-gray-color);text-align:center}.fge-version-label[data-v-526e8b52]{margin-top:.75rem;padding-right:1.5rem;text-align:right;font-size:.6rem;color:var(--fge-gray-color)}.fge-step[data-v-3165da4a]{display:flex;align-items:center;justify-content:space-between;width:auto;position:relative;z-index:0;margin-bottom:40px}.fge-step-progress[data-v-3165da4a]{position:absolute;background-color:#c5c5c5;height:2px;z-index:-1;left:0;right:0;margin:0 auto}.fge-step-progress-bar[data-v-3165da4a]{position:absolute;left:0;height:100%;width:0;background-color:var(--stepPrimaryColor);transition:all .5s ease}.fge-step-item[data-v-3165da4a]{display:flex;flex-direction:column;align-items:center;color:#c5c5c5;transition:all .5s ease}.fge-step-item-counter[data-v-3165da4a]{height:30px;width:30px;display:grid;place-items:center;background-color:var(--stepIconColor);border-radius:100%;border:2px solid #c5c5c5;position:relative}.fge-step-item-counter .icon-success[data-v-3165da4a]{position:absolute;opacity:0;transform:scale(0);width:14px;transition:all .5s ease}.fge-step-item.success .fge-step-item-counter svg[data-v-3165da4a]{width:15px;height:15px}.fge-step-item.success .fge-step-item-counter .icon-success[data-v-3165da4a]{opacity:1;transform:scale(1)}.fge-step-item.current .fge-step-item-counter[data-v-3165da4a]{border-color:var(--stepPrimaryColor);background-color:var(--stepPrimaryColor);color:#fff;font-weight:500}.object-contain[data-v-d37f9782]{display:flex;justify-content:center;align-items:center;gap:.5rem}.qr-image[data-v-d37f9782]{width:180px;display:block;border-radius:8px}.reload-icon svg[data-v-d37f9782]{width:24px;height:24px;margin-bottom:8px;fill:#fff}.reload-text[data-v-d37f9782]{color:#fff;font-size:14px;line-height:1.4}.qr-container[data-v-d37f9782]{position:relative;display:inline-block}.qr-container img[data-v-d37f9782]{display:block;width:180px;height:auto;margin-bottom:25px}.qr-overlay[data-v-d37f9782]{position:absolute;top:0;left:0;width:100%;height:calc(100% - 25px);background-color:#000c;display:flex;justify-content:center;align-items:center;pointer-events:auto;border-radius:4px}.reload-icon[data-v-d37f9782]{width:35px;height:35px;pointer-events:auto}.push-roma-banner[data-v-d37f9782]{display:flex;align-items:flex-start;gap:1rem;padding:1rem 1.25rem;margin-bottom:1.25rem;background:linear-gradient(135deg,#9dba721f,#513c8614);border:1px solid rgba(157,186,114,.35);border-radius:12px;box-shadow:0 2px 8px #0000000a}.push-roma-banner-icon[data-v-d37f9782]{flex-shrink:0;width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:var(--fge-green-bg, #9dba72);color:#fff;border-radius:10px;font-size:1.35rem}.push-roma-banner-content[data-v-d37f9782]{flex:1;min-width:0}.push-roma-banner-title[data-v-d37f9782]{margin:0 0 .35rem;font-weight:600;font-size:.95rem;color:var(--fge-primary-color, #513c86)}.push-roma-banner-desc[data-v-d37f9782]{margin:0 0 .5rem;font-size:.85rem;line-height:1.45;color:var(--fge-gray-color, #555)}.push-roma-banner-hint[data-v-d37f9782]{margin:0;font-size:.8rem;color:var(--fge-green-bg, #9dba72);display:flex;align-items:center;gap:.4rem}.push-roma-banner-hint i[data-v-d37f9782]{font-size:.9rem}.login-button-container[data-v-d37f9782]{display:flex;flex-direction:column;margin-top:25px;gap:15px}.login-link-button-container[data-v-d37f9782]{display:flex;justify-content:space-between}[data-v-d37f9782] .radio-button-group{display:flex;flex-direction:column;gap:.75rem;margin-top:.75rem}[data-v-d37f9782] .radio-button{border:1.5px solid #ccc;border-radius:10px;padding:10px 14px;background-color:#fff;cursor:pointer;transition:all .2s ease;text-align:left;width:100%}[data-v-d37f9782] .radio-button:hover:not([data-state=checked]){border-color:var(--fge-green-bg, #9dba72);box-shadow:0 0 0 2px #9dba7226}[data-v-d37f9782] .radio-button-content{display:flex;align-items:center;gap:.5rem}[data-v-d37f9782] .radio-button-label{font-size:.95rem;color:#555;font-weight:500}[data-v-d37f9782] .auth-svg-primary{color:var(--fge-green-bg, #9dba72)}[data-v-d37f9782] .auth-svg-black{color:var(--fge-gray-color, #797979)}[data-v-d37f9782] .radio-label-verified{color:var(--fge-green-bg, #9dba72)}[data-v-d37f9782] .radio-label-unverified{color:var(--fge-gray-color, #797979)}.fge-right-container .auth-radiogroup[data-v-d37f9782] .radio-button[data-state=checked],.fge-right-container .two-auth-container[data-v-d37f9782] .radio-button[data-state=checked],.fge-right-container[data-v-d37f9782] .auth-radiogroup .radio-button[data-state=checked],.fge-right-container[data-v-d37f9782] .two-auth-container .radio-button[data-state=checked]{background-color:var(--fge-primary-color, #513c86)!important;border-color:var(--fge-green-bg, #9dba72)!important}.fge-right-container .auth-radiogroup[data-v-d37f9782] .radio-button[data-state=checked] .radio-button-label,.fge-right-container .two-auth-container[data-v-d37f9782] .radio-button[data-state=checked] .radio-button-label,.fge-right-container[data-v-d37f9782] .auth-radiogroup .radio-button[data-state=checked] .radio-button-label,.fge-right-container[data-v-d37f9782] .two-auth-container .radio-button[data-state=checked] .radio-button-label{color:#fff!important}.fge-right-container .auth-radiogroup[data-v-d37f9782] .radio-button:not([data-state=checked]) .radio-label-verified,.fge-right-container .two-auth-container[data-v-d37f9782] .radio-button:not([data-state=checked]) .radio-label-verified{color:var(--fge-primary-bg, #414141)!important}.fge-right-container .auth-radiogroup[data-v-d37f9782] .radio-button:not([data-state=checked]) .radio-label-unverified,.fge-right-container .two-auth-container[data-v-d37f9782] .radio-button:not([data-state=checked]) .radio-label-unverified{color:var(--fge-gray-color, #aeaeae)!important}.fge-right-container .auth-radiogroup[data-v-d37f9782] .radio-button[data-state=checked] .auth-svg-primary,.fge-right-container .auth-radiogroup[data-v-d37f9782] .radio-button[data-state=checked] .auth-svg-black,.fge-right-container .two-auth-container[data-v-d37f9782] .radio-button[data-state=checked] .auth-svg-primary,.fge-right-container .two-auth-container[data-v-d37f9782] .radio-button[data-state=checked] .auth-svg-black,.fge-right-container[data-v-d37f9782] .auth-radiogroup .radio-button[data-state=checked] .auth-svg-primary,.fge-right-container[data-v-d37f9782] .auth-radiogroup .radio-button[data-state=checked] .auth-svg-black,.fge-right-container[data-v-d37f9782] .two-auth-container .radio-button[data-state=checked] .auth-svg-primary,.fge-right-container[data-v-d37f9782] .two-auth-container .radio-button[data-state=checked] .auth-svg-black{color:#fff!important}[data-v-d37f9782] .auth-radiogroup{display:flex;flex-direction:column;gap:.75rem}.two-auth-container{margin-top:2rem}.auth-checkbox-container{display:flex;align-items:center;justify-content:center;gap:.75rem}.auth-checkbox-container .checkbox-box{display:flex;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-items:center;justify-content:center;border-radius:4px;border-color:transparent;outline:none;width:24px;height:24px;cursor:pointer}.auth-checkbox-container .checkbox-box[data-state=unchecked]{background-color:var(--fge-soft-gray-icon)}.auth-checkbox-container .checkbox-box[data-state=checked]{background-color:var(--fge-orange-color)}.auth-checkbox-container .checkbox-svg{cursor:pointer;width:12px;height:12px}.qr-instructions{margin-bottom:8px}.qr-instructions h4{margin-bottom:8px;text-align:center}.qr-timeline{margin-bottom:12px}.timeline-title{text-align:center;margin-bottom:10px;font-size:.8rem!important;font-weight:700}.timeline-title strong,.timeline-desc strong,.timeline-step strong{font-size:.8rem!important}.timeline{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:12px}.timeline-item{display:flex;align-items:flex-start;gap:12px}.timeline-icon{min-width:30px;height:30px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:12px;color:#fff;background:var(--fge-orange-color, #ff8a00)}.timeline-content{display:flex;flex-direction:column;align-items:start}.timeline-step{font-weight:600;margin-bottom:2px;font-size:.8rem!important}.timeline-desc{color:#6b7280;font-size:.8rem!important;text-align:start}.msg-container{overflow:hidden;text-align:center}.radio-button-group{display:flex;flex-direction:column;gap:.75rem;margin-top:.75rem}.radio-button{border:1.5px solid #ccc;border-radius:10px;padding:10px 14px;background-color:#fff;cursor:pointer;transition:all .2s ease;text-align:left;width:100%}.radio-button:hover{border-color:#7b6cd9;box-shadow:0 0 0 2px #7b6cd926}.radio-button-content{display:flex;align-items:center;gap:.5rem}.radio-button-label{font-size:.95rem;color:#555;font-weight:500}.radio-icon{width:20px;height:20px}.auth-svg-primary{color:#665ab1}.auth-svg-black{color:#000}.radio-button[data-state=checked]{background-color:#7b6cd9;border-color:#7b6cd9}.radio-button[data-state=checked] .radio-button-label,.radio-button[data-state=checked] .auth-svg-primary{color:#fff}:deep(.radio-button[data-state="checked"] .radio-button-label),:deep(.radio-button[data-state="checked"] .auth-svg-primary),:deep(.radio-button[data-state="checked"] .auth-svg-black){color:#fff!important}.icon_1[data-v-7883ed41]{height:132px}.icon_1[data-v-7883ed41]{animation:rotate-7883ed41 1.25s linear infinite}@keyframes rotate-7883ed41{to{transform:rotate(-360deg)}}.icon_2[data-v-7883ed41]{width:80px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.fge-auth-loading[data-v-461de591]{position:absolute;width:100%;height:100%;background:#999999bf;z-index:999999;display:flex;align-items:center;justify-content:center}.header-container{display:flex;gap:.75rem;justify-content:space-evenly;align-items:center}.fge-auth-foto-container{position:relative;width:100%}.fge-auth-foto-container .fge-image-container{height:110px;width:110px}.fge-auth-foto-container .fge-image-container svg{height:110px;width:110px}.fge-auth-foto-container .fge-image-container img{height:110px;width:110px;object-fit:contain}.img-absolute-container{position:absolute;padding:0;bottom:-10px;right:0;width:40px;height:40px}.fge-text-gray.fge-perfil-nombre{font-family:Roboto Condensed;line-height:20px;font-size:1.3rem;font-weight:500;text-transform:uppercase;margin-bottom:.5rem;letter-spacing:.5px;font-weight:600}.fge-perfil-data{font-weight:400;margin-bottom:0;font-family:Roboto}.fge-password-btn{padding:.4rem .6rem!important;border-radius:.7rem!important;height:30px!important;margin-left:-3px}.fge-password-btn .p-button-label{font-family:Arial Narrow,Arial,sans-serif;font-size:.8rem!important}.fge-auth-profile-img{border-radius:50%;object-fit:cover!important}.change-psw-btn{padding:.375rem .625rem!important;border-radius:.5rem!important;margin-top:.75rem;font-size:1rem;font-weight:600}.switch-container[data-v-f658d6bd]{display:flex;align-items:center;justify-content:space-between;width:100%}[data-v-f658d6bd] .SwitchRoot{width:42px;height:25px;background-color:var(--fge-gray-lines-color);border:1px solid var(--fge-orange-icon);border-radius:99px;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}[data-v-f658d6bd] .SwitchRoot[data-state=checked]{background-color:var(--fge-orange-color)}[data-v-f658d6bd] .SwitchThumb{display:block;width:21px;height:21px;background-color:#fff;border-radius:9999px;box-shadow:0 2px 2px var(--fge-orange-color);transition:transform .1s;transform:translate(2px);will-change:transform}[data-v-f658d6bd] .SwitchThumb[data-state=checked]{transform:translate(19px)}.fge-profile-container{font-family:Roboto Condensed,Arial,sans-serif}.btn{cursor:pointer;background-color:#f5f5f5;border-radius:5px;padding:5px 10px;transition:all .3s ease}.btn:hover{background-color:#f1f1f1;border-radius:10px;box-shadow:0 0 10px #0003}.fge-lines-container{overflow:auto!important;text-align:center!important}.fge-lines-container:before,.fge-lines-container:after{background-color:var(--fge-gray-lines-color);content:"";display:inline-block;height:1px;position:relative;vertical-align:middle;width:28%}.fge-lines-container:before{right:.5em}.fge-lines-container:after{left:.5em}.fge-auth-camera-file-button{padding:0;border:none;width:35px;height:35px;border-radius:50%;background-color:var(--fge-bg-hover-item)}.fge-auth-camera-file-button svg{fill:var(--fge-orange-icon);width:25px!important;height:25px}.fge-auth-camera-file-button:hover{background-color:var(--fge-bg-hover-item);cursor:pointer}.mrgt-20{margin-top:30px}.fge-profile-container{display:flex;padding-left:1.5rem;padding-right:1.5rem;flex-direction:column;justify-content:center;width:100%;height:100%;font-family:Roboto Condensed,Arial,sans-serif}.fge-profile-container *{font-family:inherit}.fge-profile-container input,.fge-profile-container label,.fge-profile-container .fge-text-gray{font-family:Roboto Condensed,Arial,sans-serif}.fge-profile-container .fge-auth-primary-button,.fge-profile-container .fge-gray-button{font-family:Roboto,Arial,Helvetica,sans-serif}.fge-profile-header{padding-top:.75rem;margin-bottom:3.25rem}.auth-radiogroup{display:flex;justify-content:center;padding-top:1.25rem;margin-bottom:1.75rem}.auth-radio-group-container{display:flex;flex-direction:column;gap:.625rem}.auth-radio-group-item{display:flex;align-items:center;height:28px;min-height:28px}.auth-radio-group-item>button{border-radius:9999px;outline-style:none;background-color:#fff;cursor:default;width:18px;height:18px;margin-right:1rem;border:0px solid var(--fge-gray-lines-color);display:flex;align-items:center;justify-content:center;flex-shrink:0}.auth-radio-group-item>button:disabled{border:1px solid #c2c2c2}.auth-radio-group-item>button span[data-state=checked]{background-color:transparent;border-radius:50%;box-shadow:0 0 0 3px var(--fge-orange-icon)}.auth-radio-group-item span{display:flex;position:relative;justify-content:center;align-items:center;width:100%;height:100%}.auth-radio-group-item .radio-wrapper{width:28px;height:28px;margin-right:1rem;flex-shrink:0;display:flex;align-items:center;justify-content:center;pointer-events:none}.auth-radio-group-item .radio{margin:0;width:18px;height:18px;min-width:18px;min-height:18px;flex-shrink:0;pointer-events:auto;border-radius:50%;border:2px solid var(--fge-gray-lines-color);background-color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;position:relative}.auth-radio-group-item .radio[data-state=checked]{border-color:var(--fge-orange-icon);background-color:#fff}.auth-radio-group-item .radio:hover:not([disabled]){border-color:var(--fge-orange-icon)}.auth-radio-group-item .radio[disabled]{opacity:.5;cursor:not-allowed}.auth-radio-group-item .radio>span{display:flex;align-items:center;justify-content:center;width:100%;height:100%;position:relative}.auth-radio-group-item .radio>span:after{content:"";display:block;width:8px;height:8px;border-radius:50%;background-color:var(--fge-orange-icon);opacity:0;transition:opacity .2s ease}.auth-radio-group-item .radio[data-state=checked]>span:after{opacity:1}.auth-radio-group-item label{display:flex;align-items:center;line-height:1.5;height:28px}.auth-radio-group-item .btn-whatsapp{display:flex;background-color:transparent;position:relative;justify-content:center;align-items:center;width:28px;height:28px;margin-right:1rem;flex-shrink:0}.auth-radio-group-item .btn-whatsapp svg{width:28px;height:28px}.auth-radio-group-item .fge-gray-button-option,.auth-radio-group-item .fge-gray-button-option *{cursor:pointer!important}.auth-radio-group-item .fge-counter-text{color:var(--fge-color-gray);font-size:.875rem;margin-left:6px;font-weight:500;display:inline;vertical-align:baseline;line-height:1.5;white-space:nowrap;flex-shrink:0;position:relative;top:.35em}.auth-radio-group-item .fge-counter-text-inline{color:#ffffffe6;font-size:.875rem;margin-left:8px;font-weight:500;display:inline}.input-hidden{display:none}html[data-theme=dark] .auth-radio-group-item>button,.dark .auth-radio-group-item>button{background-color:var(--fge-dark-background)}.fge-profile-step5 .auth-relative-container{height:40px!important;position:relative!important}.fge-profile-step5 .fge-auth-input{-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;background:transparent!important;padding:.6rem 1rem .5rem!important;color:var(--fge-gray-color)!important;height:40px!important;max-height:40px!important;width:100%!important;border:1px solid!important;border-color:var(--fge-light-orange-color)!important;border-radius:1rem!important;font-family:Roboto,Arial,Helvetica,sans-serif!important;box-sizing:border-box!important}.fge-profile-step5 .fge-auth-input.with-btn{padding-right:2rem!important}.fge-profile-step5 .fge-auth-input.with-btns{padding-right:4.5rem!important}.fge-profile-step5 .fge-auth-input:enabled:focus{background:rgba(var(--primary-color-rgba, 89, 140, 21),.12)!important;outline:0 none!important;outline-offset:0!important;box-shadow:none!important;border-color:var(--fge-light-orange-color)!important}.fge-profile-step5 .fge-auth-input:hover{border-color:var(--fge-light-orange-color)!important;outline:1px solid var(--fge-light-orange-color)!important}.fge-profile-step5 .fge-auth-input.fge-auth-input-invalid{border:1px solid var(--fge-red-error-color)!important;font-size:1rem!important}.fge-profile-step5 .fge-auth-input.fge-auth-input-invalid:enabled:focus{background:var(--fge-background-color)!important;outline:0 none!important;outline-offset:0!important;box-shadow:none!important;border-color:var(--fge-red-error-color)!important}.fge-profile-step5 .fge-auth-input.fge-auth-input-invalid:hover{outline:1px solid var(--fge-red-error-color)!important}.fge-profile-step5 .fge-auth-input.fge-auth-input-invalid{box-shadow:0 0 7px #e8523d33!important}.fge-profile-step5 .auth-input-container{text-align:left!important;max-width:100%!important}.fge-profile-step5 .auth-input-container>label{display:inline-block!important;padding-bottom:.1rem!important}.fge-profile-step5 .fge-form-label{text-align:left!important;color:var(--fge-gray-color)!important;font-weight:400!important;padding-left:.25rem!important;font-family:Roboto!important;margin-bottom:2px!important}.fge-profile-step2{width:100%!important}.fge-profile-step2 .send-code-container{display:flex!important;flex-direction:column!important;width:100%!important;min-height:200px!important}.fge-profile-step2 :deep(.otp-input-container){width:100%!important}.fge-profile-step2 :deep(.otp-input-wrapper){display:flex!important;gap:.875rem!important;justify-content:center!important;align-items:center!important;margin-top:1rem!important;margin-bottom:1rem!important;padding:.5rem!important}.fge-profile-step2 :deep(.otp-input){width:2.75rem!important;height:4rem!important;text-align:center!important;font-size:1.75rem!important;font-weight:700!important;letter-spacing:.1em!important;border:2px solid var(--fge-gray-lines-color, #cccccc)!important;border-radius:12px!important;background-color:var(--fge-background-color, #ffffff)!important;color:var(--fge-gray-color, #797979)!important;transition:all .3s cubic-bezier(.4,0,.2,1)!important;outline:none!important;font-family:var(--fge-font-family, "Roboto", Arial, Helvetica, sans-serif)!important;box-shadow:0 2px 4px #0000000d!important;box-sizing:border-box!important}.fge-profile-step2 :deep(.otp-input):focus{border-color:var(--fge-orange-color, #513c86)!important;box-shadow:0 0 0 4px var(--fge-lighter-orange-color, rgba(180, 191, 241, .3)),0 4px 12px #513c8626!important;transform:translateY(-2px) scale(1.02)!important;background-color:var(--fge-background-color, #ffffff)!important}.fge-profile-step2 :deep(.otp-input).otp-input-filled{border-color:var(--fge-orange-color, #513c86)!important;background:linear-gradient(135deg,var(--fge-lighter-orange-color, rgba(180, 191, 241, .2)) 0%,var(--fge-background-color, #ffffff) 100%)!important;color:var(--fge-orange-color, #513c86)!important;font-weight:800!important;box-shadow:0 2px 8px #513c8633!important}.fge-profile-step2 :deep(.otp-input):hover:not(:disabled):not(:focus){border-color:var(--fge-light-orange-color, #a09dc2)!important;box-shadow:0 2px 6px #513c861a!important}.fge-profile-step2 :deep(.otp-input-wrapper.otp-input-short) .otp-input{width:3.25rem!important;height:4rem!important;font-size:1.75rem!important}.fge-profile-step2 .auth-input-container{width:100%!important;margin-bottom:1rem!important}.fge-profile-step2 .auth-btn-container{display:flex!important;gap:30px!important;width:100%!important;margin-top:1.5rem!important}.fge-profile-step2 .fge-form-label{text-align:left!important;color:var(--fge-gray-color)!important;font-weight:400!important;padding-left:.25rem!important;font-family:Roboto!important;margin-bottom:2px!important}.fge-profile-step2 :deep(.otp-input-wrapper.otp-input-error) .otp-input{border-color:var(--fge-toast-error, #e8523d)!important;box-shadow:0 0 0 4px #e8523d26,0 2px 8px #e8523d33!important}.slide-enter-active,.slide-leave-active{transition:transform .2s ease}.slide-enter,.slide-leave-to{transform:translate(100%);transition:all .15s ease-in 0s}.auth-sidebar-backdrop{background-color:#00000080;width:100vw;height:100vh;position:fixed;top:0;right:0;cursor:pointer;z-index:999}.sidebar-panel{display:flex;flex-direction:column;overflow-y:auto;background-color:#fff;position:fixed;right:0;top:0;height:100vh;z-index:999;padding:2rem 20px;width:390px}@media screen and (max-width: 64em){.sidebar-panel{width:100vw}}html[data-theme=dark] .sidebar-panel,.dark .sidebar-panel{background-color:var(--fge-dark-background)}.fge-confirm-overlay[data-v-1f89df6f]{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#00000052;z-index:1400}.fge-confirm-box[data-v-1f89df6f]{width:90%;max-width:420px;background:var(--fge-bg-sidebar, #fff);border-radius:8px;padding:1.25rem;box-shadow:0 8px 30px #0000002e}.fge-confirm-title[data-v-1f89df6f]{margin:0 0 .5rem}.fge-confirm-message[data-v-1f89df6f]{margin:0 0 1rem;color:var(--fge-text-muted, #6b7280)}.fge-confirm-actions[data-v-1f89df6f]{display:flex;justify-content:flex-end;gap:.5rem}.sidebar-header[data-v-14152d5e]{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid var(--fge-gray-lines-color)}[data-v-14152d5e] .sidebar-panel{padding:0}.sidebar-body[data-v-14152d5e]{padding:1rem;overflow:auto;flex:1}.devices-list[data-v-14152d5e]{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:1.2rem}.device-card[data-v-14152d5e]{position:relative;padding:12px 10px;border-radius:10px;background-color:var(--fge-bg-item, #fff);box-shadow:0 7px 15px #0000000d;display:block}.card-body[data-v-14152d5e]{display:flex;gap:12px}.card-left[data-v-14152d5e]{width:40px;display:flex;align-items:center;justify-content:center}.icon-circle[data-v-14152d5e]{width:35px;height:35px;border-radius:999px;display:flex;align-items:center;justify-content:center;background:#513c861a}.icon[data-v-14152d5e]{font-size:16px;color:var(--fge-orange-color)}.card-content[data-v-14152d5e]{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}.card-header[data-v-14152d5e]{display:flex;flex-direction:column;gap:4px}.device-title[data-v-14152d5e]{font-weight:600;font-size:14px}.device-id[data-v-14152d5e]{color:#6b7280;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:block}.card-row[data-v-14152d5e]{display:flex;align-items:center;gap:2px;font-size:11px;color:var(--fge-orange-color)}.calendar-icon[data-v-14152d5e]{color:var(--fge-orange-color)}.card-text[data-v-14152d5e]{display:flex;gap:6px;align-items:baseline;font-size:11px;color:var(--fge-orange-color)}.muted-title[data-v-14152d5e]{color:var(--fge-orange-color);font-weight:600}.muted-value[data-v-14152d5e]{color:var(--fge-text-muted, #6b7280);font-weight:300}.action-btn[data-v-14152d5e]{position:absolute;right:-8px;top:-8px;background:#ff3b30e6;color:#fff;border:none;width:25px;height:25px;font-size:10px;border-radius:999px;display:flex;align-items:center;justify-content:center;cursor:pointer}.header-buttons[data-v-14152d5e]{display:flex;gap:1.2rem}.sidebar-footer[data-v-14152d5e]{display:flex;justify-content:space-around;gap:.5rem;padding:1rem;border-top:1px solid var(--fge-gray-lines-color)}.close-btn[data-v-14152d5e]{background:transparent;border:none;font-size:1.2rem;cursor:pointer}.loading[data-v-14152d5e],.error[data-v-14152d5e],.no-devices[data-v-14152d5e]{color:#6b7280}[data-v-8fe494d1] .sidebar-panel{padding:0}.sidebar-header[data-v-8fe494d1]{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid var(--fge-gray-lines-color)}.sidebar-body[data-v-8fe494d1]{padding:1rem;overflow:auto;flex:1}.devices-list[data-v-8fe494d1]{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:1.2rem}.device-card[data-v-8fe494d1]{position:relative;padding:12px 10px;border-radius:10px;background-color:var(--fge-bg-item, #fff);box-shadow:0 7px 15px #0000000d;display:block}.card-body[data-v-8fe494d1]{display:flex;gap:12px}.card-left[data-v-8fe494d1]{width:40px;display:flex;align-items:center;justify-content:center}.icon-circle[data-v-8fe494d1]{width:35px;height:35px;border-radius:999px;display:flex;align-items:center;justify-content:center;background:#513c861a}.icon[data-v-8fe494d1]{font-size:16px;color:var(--fge-orange-color)}.card-content[data-v-8fe494d1]{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}.card-header[data-v-8fe494d1]{display:flex;flex-direction:column;gap:4px}.device-title[data-v-8fe494d1]{font-weight:600;font-size:14px}.device-id[data-v-8fe494d1]{color:#6b7280;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:block}.card-row[data-v-8fe494d1]{display:flex;align-items:center;gap:2px;font-size:11px;color:var(--fge-orange-color)}.calendar-icon[data-v-8fe494d1]{color:var(--fge-orange-color)}.card-text[data-v-8fe494d1]{display:flex;gap:6px;align-items:baseline;font-size:11px;color:var(--fge-orange-color)}.muted-title[data-v-8fe494d1]{color:var(--fge-orange-color);font-weight:600}.muted-value[data-v-8fe494d1]{color:var(--fge-text-muted, #6b7280);font-weight:300}.action-btn[data-v-8fe494d1]{position:absolute;right:-8px;top:-8px;background:#ff3b30e6;color:#fff;border:none;width:25px;height:25px;font-size:10px;border-radius:999px;display:flex;align-items:center;justify-content:center;cursor:pointer}.header-buttons[data-v-8fe494d1]{display:flex;gap:1.2rem}.sidebar-footer[data-v-8fe494d1]{display:flex;justify-content:space-around;gap:.5rem;padding:1rem;border-top:1px solid var(--fge-gray-lines-color)}.close-btn[data-v-8fe494d1]{background:transparent;border:none;font-size:1.2rem;cursor:pointer}.loading[data-v-8fe494d1],.error[data-v-8fe494d1],.no-devices[data-v-8fe494d1]{color:#6b7280}.device-title-row[data-v-8fe494d1]{display:flex;gap:8px;align-items:center}.badges[data-v-8fe494d1]{display:flex;gap:6px;align-items:center}.badge[data-v-8fe494d1]{font-size:10px;padding:2px 6px;border-radius:999px;color:#fff;font-weight:600;line-height:1}.badge-actual[data-v-8fe494d1]{background:#16a34a}.badge-cd[data-v-8fe494d1]{background:#6d28d9}.auth-modal-body-msg[data-v-6cedda83]{margin-top:.75rem!important;margin-bottom:0!important}.auth-msg-capitalize[data-v-6cedda83]{text-transform:capitalize}.avatar-size{width:40px!important;height:40px!important;outline:1px solid #c7c7c7}.avatar-size img{width:40px!important;height:40px!important;object-fit:cover}.default-icon-size{width:40px;height:40px}.default-icon-size svg{width:40px;height:40px}.link-item-container{display:flex;padding:0;margin-left:0;align-items:center;cursor:pointer;border:none;background-color:transparent}.item-container{display:flex;align-items:center;gap:10px}.avatar-container{display:inline-flex;overflow:hidden;justify-content:center;align-items:center;border-radius:9999px;vertical-align:middle;-webkit-user-select:none;user-select:none;height:45px;width:45px}.avatar-image{object-fit:cover;width:100%;height:100%}.avatar-fallback{display:flex;justify-content:center;align-items:center;width:100%;height:100%;font-weight:500;background-color:#fff;color:15px;text-transform:uppercase}.auth-name-container{display:none;margin-right:.75rem;color:var(--text-color)}.auth-name-container .name{text-transform:capitalize;margin-bottom:0;font-family:var(--fge-font-family)}.auth-name-container .profession{font-family:Roboto Condensed;text-align:center;text-transform:uppercase;font-size:.75rem}@media (min-width: 768px){.auth-name-container{display:block}}.auth-menu-content{width:100%;background-color:#fff;border-bottom:1px solid var(--fge-soft-gray-icon)}div[data-radix-popper-content-wrapper]{z-index:999!important}.auth-menu-item{display:flex;padding:.5rem .5rem .5rem 1rem;align-items:center;width:160px;background-color:transparent;cursor:pointer;color:var(--text-color)}.auth-menu-item>svg{width:12px;margin-right:.75rem;fill:var(--text-color)}.auth-menu-item:hover{background-color:var(--fge-bg-hover-item)}html[data-theme=dark] .auth-name-container,.dark .auth-name-container,html[data-theme=dark] .auth-name-container .name,.dark .auth-name-container .name,html[data-theme=dark] .auth-name-container .profession,.dark .auth-name-container .profession,html[data-theme=dark] .auth-menu-item,.dark .auth-menu-item{color:#fff}html[data-theme=dark] .auth-menu-item>svg,.dark .auth-menu-item>svg{fill:#fff}html[data-theme=dark] .auth-menu-item:hover,.dark .auth-menu-item:hover{background-color:var(--fge-gray-color)}html[data-theme=dark] .auth-menu-content,.dark .auth-menu-content{background-color:var(--fge-dark-background)}:root{--toastify-color-light:#fff;--toastify-color-dark:#121212;--toastify-color-info:#3498db;--toastify-color-success:#07bc0c;--toastify-color-warning:#f1c40f;--toastify-color-error:#e74c3c;--toastify-color-transparent:#ffffffb3;--toastify-icon-color-info:var(--toastify-color-info);--toastify-icon-color-success:var(--toastify-color-success);--toastify-icon-color-warning:var(--toastify-color-warning);--toastify-icon-color-error:var(--toastify-color-error);--toastify-toast-width:320px;--toastify-toast-background:#fff;--toastify-toast-min-height:64px;--toastify-toast-max-height:800px;--toastify-font-family:sans-serif;--toastify-z-index:9999;--toastify-text-color-light:#757575;--toastify-text-color-dark:#fff;--toastify-text-color-info:#fff;--toastify-text-color-success:#fff;--toastify-text-color-warning:#fff;--toastify-text-color-error:#fff;--toastify-spinner-color:#616161;--toastify-spinner-color-empty-area:#e0e0e0;--toastify-color-progress-light:linear-gradient(90deg,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55);--toastify-color-progress-dark:#bb86fc;--toastify-color-progress-info:var(--toastify-color-info);--toastify-color-progress-success:var(--toastify-color-success);--toastify-color-progress-warning:var(--toastify-color-warning);--toastify-color-progress-error:var(--toastify-color-error);--toastify-color-progress-colored:#ddd}.Toastify__toast-container{box-sizing:border-box;color:#fff;padding:4px;position:fixed;transform:translate3d(0,0,var(--toastify-z-index) px);width:var(--toastify-toast-width);z-index:var(--toastify-z-index)}.Toastify__toast-container--top-left{left:1em;top:1em}.Toastify__toast-container--top-center{left:50%;top:1em;transform:translate(-50%)}.Toastify__toast-container--top-right{right:1em;top:1em}.Toastify__toast-container--bottom-left{bottom:1em;left:1em}.Toastify__toast-container--bottom-center{bottom:1em;left:50%;transform:translate(-50%)}.Toastify__toast-container--bottom-right{bottom:1em;right:1em}@media only screen and (max-width:480px){.Toastify__toast-container{left:0;margin:0;padding:0;width:100vw}.Toastify__toast-container--top-center,.Toastify__toast-container--top-left,.Toastify__toast-container--top-right{top:0;transform:translate(0)}.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-right{bottom:0;transform:translate(0)}.Toastify__toast-container--rtl{left:auto;right:0}}.Toastify__toast{border-radius:4px;box-shadow:0 1px 10px #0000001a,0 2px 15px #0000000d;box-sizing:border-box;cursor:pointer;direction:ltr;display:flex;font-family:var(--toastify-font-family);justify-content:space-between;margin-bottom:1rem;max-height:var(--toastify-toast-max-height);min-height:var(--toastify-toast-min-height);overflow:hidden;padding:8px;position:relative;z-index:0}.Toastify__toast--rtl{direction:rtl}.Toastify__toast-body{align-items:center;display:flex;flex:1 1 auto;margin:auto 0;padding:6px;white-space:pre-wrap}.Toastify__toast-body>div:last-child{flex:1}.Toastify__toast-icon{display:flex;flex-shrink:0;margin-inline-end:10px;width:20px}.Toastify--animate{animation-duration:.7s;animation-fill-mode:both}.Toastify--animate-icon{animation-duration:.3s;animation-fill-mode:both}@media only screen and (max-width:480px){.Toastify__toast{border-radius:0;margin-bottom:0}}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--colored.Toastify__toast--default,.Toastify__toast-theme--light{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{background:var(--toastify-color-info);color:var(--toastify-text-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{background:var(--toastify-color-success);color:var(--toastify-text-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{background:var(--toastify-color-warning);color:var(--toastify-text-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{background:var(--toastify-color-error);color:var(--toastify-text-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--default{background:var(--toastify-color-progress-colored)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning{background:var(--toastify-color-transparent)}.Toastify__close-button{align-self:flex-start;background:#0000;border:none;color:#fff;cursor:pointer;opacity:.7;outline:none;padding:0;transition:.3s ease}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentcolor;height:16px;width:14px}.Toastify__close-button:focus,.Toastify__close-button:hover{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{bottom:0;height:5px;left:0;opacity:.7;position:absolute;transform-origin:left;width:100%;z-index:var(--toastify-z-index)}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{left:auto;right:0;transform-origin:right}.Toastify__spinner{animation:Toastify__spin .65s linear infinite;border:2px solid;border-color:var(--toastify-spinner-color-empty-area);border-radius:100%;border-right-color:var(--toastify-spinner-color);box-sizing:border-box;height:20px;width:20px}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--bottom-left,.Toastify__bounce-enter--top-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--bottom-right,.Toastify__bounce-enter--top-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--bottom-left,.Toastify__bounce-exit--top-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--bottom-right,.Toastify__bounce-exit--top-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__none{0%,60%,75%,90%,to{animation-duration:0;animation-timing-function:none}0%{opacity:1;transform:translateZ(0)}to{transform:translateZ(0)}}.Toastify__none-enter--bottom-center,.Toastify__none-enter--bottom-left,.Toastify__none-enter--bottom-right,.Toastify__none-enter--top-center,.Toastify__none-enter--top-left,.Toastify__none-enter--top-right{animation-name:Toastify__none}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{animation-timing-function:ease-in;opacity:0;transform:perspective(400px) rotateX(90deg)}40%{animation-timing-function:ease-in;transform:perspective(400px) rotateX(-20deg)}60%{opacity:1;transform:perspective(400px) rotateX(10deg)}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:perspective(400px)}30%{opacity:1;transform:perspective(400px) rotateX(-20deg)}to{opacity:0;transform:perspective(400px) rotateX(90deg)}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideOutRight{0%{transform:translateZ(0)}to{transform:translate3d(110%,0,0);visibility:hidden}}@keyframes Toastify__slideOutLeft{0%{transform:translateZ(0)}to{transform:translate3d(-110%,0,0);visibility:hidden}}@keyframes Toastify__slideOutDown{0%{transform:translateZ(0)}to{transform:translate3d(0,500px,0);visibility:hidden}}@keyframes Toastify__slideOutUp{0%{transform:translateZ(0)}to{transform:translate3d(0,-500px,0);visibility:hidden}}.Toastify__slide-enter--bottom-left,.Toastify__slide-enter--top-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--bottom-right,.Toastify__slide-enter--top-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--bottom-left,.Toastify__slide-exit--top-left{animation-name:Toastify__slideOutLeft}.Toastify__slide-exit--bottom-right,.Toastify__slide-exit--top-right{animation-name:Toastify__slideOutRight}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.date-picker-field{display:flex;padding:.25rem;justify-content:space-between;align-items:center;border-radius:.5rem;border-width:1px;border-color:transparent;width:10rem;text-align:center;background-color:#fff;-webkit-user-select:none;user-select:none}.date-picker-field-div{display:flex;align-items:center;justify-content:center}.date-picker-input{padding:.125rem;border-radius:.375rem}.date-picker-input:focus-visible{outline-color:var(--fge-orange-color)}.date-picker-btn{padding:.5rem;font-size:1.25rem;width:35px;height:35px;line-height:1.75rem;position:absolute;top:0;right:0;background-color:transparent;border:none;border-top-right-radius:8px;border-bottom-right-radius:8px}.date-picker-btn:hover{background-color:var(--fge-lighter-orange-color)}.date-picker-btn:focus-within{outline-color:var(--fge-orange-color)}.date-picker-content{font-family:Roboto,Arial,Helvetica,sans-serif;border-radius:.75rem;background-color:#fff}.calendar-fill-white{fill:#fff}.date-picker-header{display:flex;justify-content:space-between;align-items:center}.date-picker-header-btn{display:inline-flex;justify-content:center;align-items:center;width:2rem;height:2rem;background-color:transparent;cursor:pointer;border:none;border-radius:50%}.date-picker-header-btn>svg{fill:var(--fge-gray-color);width:1rem;height:1rem}.date-picker-header-btn:hover{background-color:var(--fge-gray-hover-bg)}.div-datepicker-header{display:flex;padding-top:1rem;flex-direction:column}@media (min-width: 640px){.div-datepicker-header{margin-left:1rem;margin-top:0;flex-direction:row}}.datepicker-header-label{font-size:1.25rem;font-weight:400;text-transform:capitalize;color:var(--fge-gray-color)}.div-datepicker-grid{margin-top:.25rem;width:100%;-webkit-user-select:none;user-select:none;border-collapse:collapse}.date-picker-grid-row{display:flex;margin-bottom:.25rem;justify-content:space-between;width:100%}.date-picker-header-cell{border-radius:.375rem;width:2rem;text-transform:uppercase;color:var(--fge-orange-color);font-weight:300;font-size:14px}.datepicker-row{display:flex;justify-content:space-between;width:100%}.datepicker-cell-trigger{display:flex;position:relative;justify-content:center;align-items:center;border-width:1px;border-color:transparent;outline-style:none;width:2.5rem;height:2.5rem;font-size:1rem;line-height:1.25rem;font-weight:400;padding:.75rem;color:var(--fge-gray-color);white-space:nowrap;border-radius:50%;background-color:transparent}.datepicker-cell-trigger:hover{background-color:var(--fge-lighter-orange-color);cursor:pointer}.datepicker-cell-trigger[data-disabled]{color:var(--fge-soft-gray-icon)}.calendar-icon{width:20px;height:20px}*{margin:0;padding:0;box-sizing:border-box}body{min-height:100dvh}input,button,textarea,select{font:inherit}p{text-wrap:pretty}h1,h2,h3,h4,h5,h6{text-wrap:balance}.svg-external-circle,.svg-internal-circle{display:block;margin:0 auto;transform-box:fill-box;transform-origin:center;will-change:transform}.svg-external-circle{animation:rotate 18s linear infinite}.svg-internal-circle{animation:rotate2 18s linear infinite}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate2{0%{transform:rotate(0)}to{transform:rotate(-360deg)}}@supports (-moz-appearance: none){.svg-internal-circle,.svg-external-circle{transform-origin:initial;animation:none}}.font-roboto{font-family:var(--fge-font-family)}.font-roboto-condensed{font-family:Roboto Condensed,Arial,Helvetica,sans-serif}*::-webkit-scrollbar{-webkit-appearance:none;background-color:var(--surface-200)}*::-webkit-scrollbar:vertical{width:.5vw;margin:2rem;padding:2rem}*::-webkit-scrollbar-button:increment,*::-webkit-scrollbar-button{display:none}*::-webkit-scrollbar:horizontal{height:.4vh}*::-webkit-scrollbar-thumb{background-color:var(--fge-orange-color);border-radius:.3rem}:root{--fge-primary-color: var(--primary-color, #6B7280);--fge-secondary-color: var(--secondary-color, #4A6A91);--fge-tertiary-color: var(--tertiary-color, #E5E7EB);--fge-font-family: "Roboto", Arial, Helvetica, sans-serif;--fge-background: #333333;--fge-dark-background: #293241;--fge-background-color: #fff;--fge-primary-button-text-color: #fff;--fge-gray-bolder-color: #666666;--fge-gray-color: #797979;--fge-gray-lines-color: #cccccc;--fge-orange-color: var(--fge-primary-color);--fge-light-orange-color: var(--primary-light-color, #9ca3af);--fge-lighter-orange-color: rgba(107, 114, 128, .4);--fge-input-color: #fef7ef;--fge-red-error-color: #e8523dbf;--fge-secondary-btn-color: var(--fge-secondary-color);--fge-gray-bg: #f3f4f6;--fge-gray-hover-bg: var(--fge-tertiary-color);--fge-green-color: #4A6A91;--fge-green-bolder-color: #5c7ca3;--fge-green-bg: #4A6A91;--fge-green-hover-bg: #5c7ca3;--fge-toast-color-button: #b3b3b3;--fge-toast-success: #99ab69;--fge-toast-error: #e8523d;--fge-toast-info: #2d4b73;--fge-toast-warning: #fabe50;--fge-gray-icon: #9c9c9c;--fge-soft-gray-icon: #bababa;--fge-orange-icon: #598c15;--fge-bg-hover-item: #e2e8f0;--text-color: #69707a;font-size:14px}.fge-auth-container,.fge-auth-container button,.fge-auth-container input{font-family:Roboto,Arial,Helvetica,sans-serif}body{margin:0}#app{height:100vh;min-height:100%;width:100vw;overflow-x:hidden}.fge-login-container{width:100%;min-height:100%;background:#fff;overflow:auto;display:flex;flex:1 1 100%;align-items:stretch;justify-content:space-between;box-shadow:0 0 20px 6px #090b6f85;position:relative}.fge-login-container div{height:auto}.fge-login-container .left{flex:1;background-color:var(--fge-background);display:flex}.fge-login-container .left svg{width:100%;height:100%}@media (max-width: 980px){.fge-login-container .left{display:none}}.fge-login-container .right{flex:0 0 auto;min-height:100vh;width:max-content;overflow:auto;display:flex;flex-direction:column;align-items:center;justify-content:center}.fge-login-container .right .right-container{height:100%;padding:0 2rem;display:flex;flex-wrap:wrap;flex-direction:column;justify-content:center;gap:1rem;margin-top:auto;margin-bottom:auto}.fge-login-container .right .right-container .fge-login{width:330px;padding:0 4px}.fge-login-container .right .right-container-footer{margin-top:auto;margin-bottom:10px;align-self:flex-end}@media (max-width: 980px){.fge-login-container .right{width:100%}.fge-login-container .right .right-container{width:100%;align-items:center}}@media (max-width: 400px){.fge-login-container .right .right-container{padding:0 1rem;margin:0}}.fge-right-container{margin-left:20px;margin-right:20px}.fge-btn-section{margin-top:40px;gap:40px}.mb-40{margin-bottom:40px}@media (max-width: 980px){.fge-login-container{flex-flow:wrap;text-align:center;align-content:center;align-items:center;justify-content:center}}.fge-form-label{text-align:left;color:var(--fge-gray-color);font-weight:400;padding-left:.25rem;font-family:Roboto;margin-bottom:2px!important}.fge-auth-primary-button{color:var(--fge-primary-button-text-color);background:var(--fge-orange-color);padding:.8rem 1rem;border-radius:1rem;border:1px solid var(--fge-light-orange-color);font-family:Roboto,Arial,Helvetica,sans-serif;margin:0;height:40px;font-weight:500;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter}.fge-auth-primary-button.w-full{width:100%}.fge-auth-primary-button:enabled:active{background:var(--fge-orange-color);color:var(--fge-primary-button-text-color);border-color:var(--fge-light-orange-color)}.fge-auth-primary-button span{font-weight:500}.fge-auth-primary-button:enabled:hover{background:var(--fge-light-orange-color);color:var(--fge-primary-button-text-color);border-color:var(--fge-light-orange-color);cursor:pointer}.mt-2{margin-top:2px}.mt-3{margin-top:3px}.mt-4{margin-top:4px}.mt-5{margin-top:5px}.fge-gray-button{padding:.8rem 1rem;color:var(--fge-gray-color);border-radius:1rem;border:1px solid var(--fge-gray-bolder-color);background:var(--fge-gray-bg);font-weight:600;-webkit-appearance:button;-moz-appearance:button;appearance:button;transition-timing-function:cubic-bezier(.4,0,.2,1);font-family:Roboto,Arial,Helvetica,sans-serif;transition-duration:.2s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter}.fge-gray-button.w-full{width:100%}.fge-gray-button:hover{cursor:pointer;border-color:var(--fge-gray-hover-bg);background-color:var(--fge-gray-hover-bg)}.fge-green-button{padding:.8rem 1rem;color:var(--fge-input-color);border-radius:1rem;border:1px solid var(--fge-green-bolder-color);background:var(--fge-green-bg);font-weight:600;-webkit-appearance:button;-moz-appearance:button;appearance:button;transition-timing-function:cubic-bezier(.4,0,.2,1);font-family:Roboto,Arial,Helvetica,sans-serif;transition-duration:.2s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter}.fge-green-button.w-full{width:100%}.fge-green-button:hover{cursor:pointer;border-color:var(--fge-green-hover-bg);background-color:var(--fge-green-hover-bg)}.fge-delete-button{padding:.8rem 1rem;color:var(--fge-primary-button-text-color);border-radius:1rem;border:1px solid #d93b2f;background:#e8523d;font-weight:600;-webkit-appearance:button;-moz-appearance:button;appearance:button;transition-timing-function:cubic-bezier(.4,0,.2,1);font-family:Roboto,Arial,Helvetica,sans-serif;transition-duration:.2s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter}.fge-delete-button.w-full{width:100%}.fge-delete-button:hover{cursor:pointer;border-color:#c83a2b;background-color:#d63f31}.fge-delete2-button{padding:.8rem 1rem;color:#e8523d;border-radius:1rem;border:1px solid #e8523d;background:#e8523d1f;font-weight:600;-webkit-appearance:button;-moz-appearance:button;appearance:button;transition-timing-function:cubic-bezier(.4,0,.2,1);font-family:Roboto,Arial,Helvetica,sans-serif;transition-duration:.2s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter}.fge-delete2-button.w-full{width:100%}.fge-delete2-button:hover{cursor:pointer;border-color:#e8523d66;background-color:#e8523d2e}.fge-secondary-button{color:var(--surface-500);background:var(--surface-50);border:1px solid var(--fge-secondary-btn-color);padding:.8rem 1rem;font-size:1rem;border-radius:1rem;height:40px}.fge-secondary-button span{font-weight:500}.fge-secondary-button:enabled:hover{background:var(--surface-100);color:var(--surface-600);border-color:transparent;cursor:pointer}.fge-secondary-button:enabled:active{background:#fff;color:var(--fge-gray-bolder-color);border-color:var(--gray-4)}.fge-link-primary-button{all:unset}.fge-link-primary-button span{font-weight:400;color:var(--fge-orange-color);font-size:.95rem}.fge-link-primary-button:hover{text-decoration:underline;text-decoration-color:var(--fge-orange-color);cursor:pointer}.fge-link-primary-button:enabled:active{background:transparent}.fge-link-primary-button:focus{box-shadow:none}.fge-link-secondary-button{all:unset;padding:.25rem 0}.fge-link-secondary-button span{font-weight:400;color:var(--fge-gray-color);font-size:.85rem}.fge-link-secondary-button:hover{text-decoration:underline;cursor:pointer}.fge-link-secondary-button:enabled:active{background:transparent}.fge-link-secondary-button:focus{box-shadow:none}.fge-gray-1-label{color:#4d4d4d;font-size:1rem}.fge-text-gray{color:var(--fge-gray-color);font-size:1rem;font-family:var(--fge-font-family)}.fge-lines{overflow:auto;text-align:center}.fge-lines:before,.fge-lines:after{background-color:var(--fge-gray-lines-color);content:"";display:inline-block;height:1px;position:relative;vertical-align:middle;width:28%}.fge-lines:before{right:.5em;margin-left:-50%}.fge-lines:after{left:.5em;margin-right:-50%}.fge-horizontal-line{overflow:hidden;text-align:center}.fge-horizontal-line:before,.fge-horizontal-line:after{background-color:var(--fge-gray-lines-color);content:"";display:inline-block;height:1px;position:relative;vertical-align:middle;width:50%}.fge-auth-error{text-align:center;color:var(--fge-red-error-color);font-size:.867rem;margin:0;margin-top:.25rem}.auth-form-container>*{margin-top:.75rem}.auth-input-container{text-align:left;max-width:100%}.auth-input-container>*{font-family:var(--fge-font-family)}.auth-input-container>label{display:inline-block;padding-bottom:.1rem}.fge-auth-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;padding:.6rem 1rem .5rem;color:var(--fge-gray-color);height:40px;max-height:40px;width:100%;border:1px solid;border-color:var(--fge-light-orange-color);border-radius:1rem}.fge-auth-input.with-btn{padding-right:2rem}.fge-auth-input.with-btns{padding-right:4.5rem}.fge-auth-input.relative{position:relative!important}.fge-auth-input.uppercase{text-transform:uppercase}.fge-auth-input:enabled:focus{background:rgba(var(--primary-color-rgba),.12);outline:0 none;outline-offset:0;box-shadow:none;border-color:var(--fge-light-orange-color)!important}.fge-auth-input:hover{border-color:var(--fge-light-orange-color)!important;outline:1px solid var(--fge-light-orange-color)}html[data-theme=dark] .fge-auth-input:enabled:focus,.dark .fge-auth-input:enabled:focus{background:rgba(var(--primary-color-rgba-dark),.12)}.fge-orange-icon i{font-size:1.25rem;height:23px;color:var(--fge-orange-color)!important}.fge-orange-icon>svg{color:var(--fge-orange-color)!important}.fge-auth-input-invalid{border:1px solid var(--fge-red-error-color);font-size:1rem;box-shadow:0 0 7px #e8523d33}.fge-auth-input-invalid:enabled:focus{background:var(--fge-background-color);outline:0 none;outline-offset:0;box-shadow:none;border-color:var(--fge-red-error-color)!important}.fge-auth-input-invalid:hover{outline:1px solid var(--fge-red-error-color)!important}html[data-theme=dark] .fge-text-gray,html[data-theme=dark] .fge-gray-1-label,html[data-theme=dark] .fge-form-label,html[data-theme=dark] .fge-auth-input,.dark .fge-text-gray,.dark .fge-gray-1-label,.dark .fge-form-label,.dark .fge-auth-input{color:#fff}.auth-svg-primary .stroke-content{stroke:var(--fge-orange-color)}.auth-svg-primary .fill-content{color:var(--fge-orange-color)}.auth-svg-gray .stroke-content{stroke:var(--fge-gray-color)}.auth-svg-gray .fill-content{color:var(--fge-gray-color)}.auth-relative-container{height:40px;position:relative}.auth-btn-container{display:flex;gap:30px}.auth-btn-container.margin-top{margin-top:45px}.btn-only-icon{-webkit-appearance:button;-moz-appearance:button;appearance:button;background-color:transparent;border:none;border-radius:50%;display:flex;justify-content:center;align-items:center;padding:4px}.btn-only-icon:hover{cursor:pointer;background-color:var(--fge-lighter-orange-color)}.btn-only-icon>svg{width:24px;height:24px}.btn-only-icon.absolute{position:absolute;top:4px;right:4px}.btn-only-icon.absolute-2{position:absolute;top:4px;right:32px}.tooltip{background-color:var(--fge-gray-color);color:#fff;font-weight:400;font-family:Roboto,Arial,Helvetica,sans-serif;padding:4px 8px;border-radius:8px}.arrow-svg{fill:var(--fge-gray-color)}.auth-hide-btn{display:none}.auth-modal-container{position:fixed;background-color:#fff;font-family:Roboto,Arial,Helvetica,sans-serif;top:50%;left:50%;transform:translate(-50%,-50%);max-height:85vh;width:90vw;max-width:450px;padding:25px;z-index:99999!important;border-radius:8px;box-shadow:0 2px 10px #0006}.auth-modal-container .auth-dialog-title{font-size:1.25rem;font-weight:400;color:var(--text-color);padding-bottom:.75rem;border-bottom:1px solid var(--fge-soft-gray-icon);margin-bottom:1rem}.auth-modal-container .auth-title-container{display:flex;align-items:center;justify-content:space-between}.auth-modal-container .auth-title-container>p{margin-bottom:0}.auth-modal-container .auth-title-container .close-icon{width:28px;height:28px;cursor:pointer;background-color:transparent;border:none;border-radius:50%;padding:.5rem;display:flex;align-items:center;justify-content:center}.auth-modal-container .auth-title-container .close-icon:hover{background-color:var(--fge-bg-hover-item)}.auth-modal-container .auth-title-container .close-icon>svg{width:14px;height:14px;color:var(--text-color)}.auth-modal-container .dialog-body{color:var(--text-color)}.auth-modal-container .dialog-body>p{margin-top:1rem}.auth-modal-container .dialog-body .body-title{color:var(--fge-orange-color);text-align:center;font-size:1.25rem}.auth-modal-container .dialog-body .icon{width:100%;height:75px;text-align:center}.auth-modal-container .dialog-body .icon>svg{width:75px;height:75px;margin-bottom:1rem}.auth-modal-container .dialog-footer{display:flex;align-items:center;justify-content:center;gap:1rem;margin-top:1.5rem}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;background-color:#00000080}.dialog-text-center{text-align:center}.Toastify__toast-container{z-index:99999!important}.Toastify__toast--error{font-family:var(--fge-font-family);border:1px solid var(--fge-toast-error);border-left-width:20px;border-top-left-radius:1.5rem!important}.Toastify__toast--error .Toastify__toast-icon{width:20px!important}.Toastify__toast--error svg{height:20px;width:20px!important}.Toastify__toast--success{font-family:var(--fge-font-family);border:1px solid var(--fge-toast-success);border-left-width:20px;border-top-left-radius:1.5rem!important}.Toastify__toast--success .Toastify__toast-icon{width:20px!important}.Toastify__toast--success svg{fill:var(--fge-toast-success);color:var(--fge-toast-success);height:20px;width:20px!important}.toast-title{font-family:var(--fge-font-family);font-weight:600;margin-bottom:4px;font-size:1.12rem}.toast-description{font-family:var(--fge-font-family)}
|
|
2
2
|
`,document.head.appendChild(Rh);function Z9(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const Dh=Z9(a);function Mh(e){var o,i,s;if(!e||typeof e!="object")return!1;const t=e;return((o=t.response)==null?void 0:o.status)===401||((s=(i=t.response)==null?void 0:i.data)==null?void 0:s.status)===401?!0:e.status===401}function Ph(e){if(!e||typeof e!="object")return;const t=e;return t.config?t.config:e.config}const z9=["v1/auth/token/refresh","v1/auth/login","v1/auth/logout"];function Lh(e){const t=(e==null?void 0:e.url)??"";return z9.some(n=>t.includes(n))}function as(e,t){if(!t)return;const n=e.headers;if(typeof(n==null?void 0:n.set)=="function"){n.set("Authorization",`Bearer ${t}`);return}e.headers.Authorization=`Bearer ${t}`}function j9(e){var s,l;if(!e||typeof e!="object")return!1;const t=e,n=t.usuario;if(!n||typeof n!="object")return!1;const r=n.id!=null||!!n.ci||!!((s=n.nombreCompleto)!=null&&s.trim())||!!((l=n.nombre)!=null&&l.trim()),o=Array.isArray(t.roles),i=Array.isArray(t.permisos);return r&&o&&i}function Fh(e){const t=e.user;if(!(t!=null&&t.id)&&!(t!=null&&t.nombreCompleto)&&!(t!=null&&t.ci))return;const n={user:{id:t.id,nombreCompleto:t.nombreCompleto,fotoUrl:t.fotoUrl,ci:t.ci,profesion:t.profesion,whatsapp:t.whatsapp,telegram:t.telegram,sms:t.sms,emailValidado:t.emailValidado,email:t.email,celular:t.celular,notificacionDefault:t.notificacionDefault,dobleAutenticacion:t.dobleAutenticacion},roles:e.roles?e.roles.map(r=>String(r)):void 0,permisos:e.permisos?e.permisos.map(r=>String(r)):void 0,apps:e.apps?e.apps.map(r=>({nombre:String(r.nombre??""),codigo:String(r.codigo??""),url:String(r.url??""),msFileIdLogo:String(r.msFileIdLogo??"")})):void 0,funcionario:e.funcionario?{funcionarioId:e.funcionario.funcionarioId,usuarioId:e.funcionario.usuarioId,nombreCompleto:e.funcionario.nombreCompleto,cargo:e.funcionario.cargo,cargoId:e.funcionario.cargoId,division:e.funcionario.division,divisionId:e.funcionario.divisionId,oficinaId:e.funcionario.oficinaId,municipio:e.funcionario.municipio,municipioId:e.funcionario.municipioId,entidad:e.funcionario.entidad,entidadId:e.funcionario.entidadId,institucionId:e.funcionario.institucionId,institucion:e.funcionario.institucion,departamento:e.funcionario.departamento,departamentoId:e.funcionario.departamentoId}:void 0};return Ud(n)}function Ud(e){return JSON.parse(JSON.stringify(e))}function H9(e,t){if(!t)return e;const n={...e,...t.roles?{roles:[...t.roles]}:{},...t.permisos?{permisos:[...t.permisos]}:{},...t.apps?{apps:[...t.apps]}:{},...t.funcionario?{funcionario:{...t.funcionario}}:{}};return t.user&&(n.user={...e.user,...t.user}),n}function Zo(e){var t,n;return e?e.id!=null||!!((t=e.nombreCompleto)!=null&&t.trim())||!!((n=e.ci)!=null&&n.trim()):!1}const q9="fge-auth-session-sync",os="fge_auth_refresh_lock",W9="fge_auth_refresh_token",Zd="fge_auth_tab_sync_evt",G9=15e3,K9=100;let zd=null,Fn=null;const jd=new Set;function is(){return zd||(zd=typeof crypto<"u"&&crypto.randomUUID?crypto.randomUUID():`tab-${Date.now()}-${Math.random().toString(36).slice(2)}`),zd}function Uh(e){if(!e||typeof e!="object")return null;const t=e;return!t.type||!t.tabId||!t.at?null:t}function Zh(e){e.tabId!==is()&&jd.forEach(t=>t(e))}function Y9(){Fn||typeof BroadcastChannel>"u"||(Fn=new BroadcastChannel(q9),Fn.onmessage=e=>{const t=Uh(e.data);t&&Zh(t)})}function zh(e){if(!(typeof window>"u"))try{localStorage.setItem(Zd,JSON.stringify(e)),localStorage.removeItem(Zd)}catch{}}function J9(){typeof window>"u"||window.addEventListener("storage",e=>{if(!(e.key!==Zd||!e.newValue))try{const t=Uh(JSON.parse(e.newValue));t&&Zh(t)}catch{}})}let jh=!1;function Fl(){jh||typeof window>"u"||(jh=!0,Y9(),J9())}function Hh(e){return Fl(),jd.add(e),()=>jd.delete(e)}function qh(e,t,n){Fl();const r=Ud({type:"tokens-updated",tabId:is(),token:e,refreshToken:t,sessionSnapshot:n,at:Date.now()});try{Fn==null||Fn.postMessage(r)}catch{Fn==null||Fn.postMessage(Ud({type:"tokens-updated",tabId:r.tabId,token:e,refreshToken:t,at:r.at}))}zh(r)}function X9(){Fl();const e={type:"session-cleared",tabId:is(),at:Date.now()};Fn==null||Fn.postMessage(e),zh(e)}function Ul(){try{const e=localStorage.getItem(os);if(!e)return null;const t=JSON.parse(e);return!t.owner||!t.expiresAt?null:t.expiresAt<=Date.now()?(localStorage.removeItem(os),null):{owner:t.owner,expiresAt:t.expiresAt}}catch{return localStorage.removeItem(os),null}}function Q9(){const e=is(),t=Ul();if(t&&t.owner!==e)return{acquired:!1,owner:t.owner};localStorage.setItem(os,JSON.stringify({owner:e,expiresAt:Date.now()+G9}));const n=Ul();return(n==null?void 0:n.owner)===e?{acquired:!0,owner:e}:{acquired:!1,owner:(n==null?void 0:n.owner)??e}}function N9(e){const t=Ul();(t==null?void 0:t.owner)===e&&localStorage.removeItem(os)}function $9(e){return new Promise(t=>setTimeout(t,e))}async function ey(e=15e3){const t=Date.now()+e;for(;Date.now()<t;){const r=Q9();if(r.acquired)return r;await $9(K9)}const n=Ul();return{acquired:!1,owner:(n==null?void 0:n.owner)??is()}}function Wh(e,t,n=5e3,r){const o=()=>{const i=r==null?void 0:r();return!!(i!=null&&i.token&&i.token!==e||i!=null&&i.refreshToken&&i.refreshToken!==t)};return o()?Promise.resolve(!0):typeof window>"u"?Promise.resolve(!1):new Promise(i=>{const s=u=>{clearTimeout(c),l(),i(u)},l=Hh(u=>{if(u.type==="session-cleared"){s(!1);return}u.type==="tokens-updated"&&queueMicrotask(()=>{o()&&s(!0)})}),c=window.setTimeout(()=>s(o()),n)})}function Gh(){typeof localStorage>"u"||localStorage.removeItem(W9)}var Kh=!1;function Zl(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)}function Hd(e,t){if(Array.isArray(e)){e.splice(t,1);return}delete e[t]}function ty(){return Yh().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Yh(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const ny=typeof Proxy=="function",ry="devtools-plugin:setup",ay="plugin:settings:set";let zo,qd;function oy(){var e;return zo!==void 0||(typeof window<"u"&&window.performance?(zo=!0,qd=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(zo=!0,qd=globalThis.perf_hooks.performance):zo=!1),zo}function iy(){return oy()?qd.now():Date.now()}class sy{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const s in t.settings){const l=t.settings[s];r[s]=l.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let i=Object.assign({},r);try{const s=localStorage.getItem(o),l=JSON.parse(s);Object.assign(i,l)}catch{}this.fallbacks={getSettings(){return i},setSettings(s){try{localStorage.setItem(o,JSON.stringify(s))}catch{}i=s},now(){return iy()}},n&&n.on(ay,(s,l)=>{s===this.plugin.id&&this.fallbacks.setSettings(l)}),this.proxiedOn=new Proxy({},{get:(s,l)=>this.target?this.target.on[l]:(...c)=>{this.onQueue.push({method:l,args:c})}}),this.proxiedTarget=new Proxy({},{get:(s,l)=>this.target?this.target[l]:l==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(l)?(...c)=>(this.targetQueue.push({method:l,args:c,resolve:()=>{}}),this.fallbacks[l](...c)):(...c)=>new Promise(u=>{this.targetQueue.push({method:l,args:c,resolve:u})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function Jh(e,t){const n=e,r=Yh(),o=ty(),i=ny&&n.enableEarlyProxy;if(o&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!i))o.emit(ry,e,t);else{const s=i?new sy(n,o):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:s}),s&&t(s.proxiedTarget)}}/*!
|
|
3
3
|
* pinia v2.1.7
|
|
4
4
|
* (c) 2023 Eduardo San Martin Morote
|
|
@@ -20,7 +20,7 @@ This will fail in production.`);l=ss,l._s.has(r)||(i?Jd(r,t,o,l):d3(r,o,l),proce
|
|
|
20
20
|
|
|
21
21
|
If you want to hide the \`${e}\`, you can wrap it with our VisuallyHidden component.
|
|
22
22
|
|
|
23
|
-
For more information, see https://www.radix-vue.com/components/${n}`,l=`Warning: Missing \`Description\` or \`aria-describedby="undefined"\` for ${t}.`;a.onMounted(()=>{var c;document.getElementById(r)||console.warn(s);const u=(c=i.value)==null?void 0:c.getAttribute("aria-describedby");o&&u&&(document.getElementById(o)||console.warn(l))})}const Lm=a.defineComponent({__name:"DialogContentImpl",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=Jr(),{forwardRef:i,currentElement:s}=Ee();return o.titleId||(o.titleId=Ea(void 0,"radix-vue-dialog-title")),o.descriptionId||(o.descriptionId=Ea(void 0,"radix-vue-dialog-description")),a.onMounted(()=>{o.contentElement=s,pn()!==document.body&&(o.triggerElement.value=pn())}),process.env.NODE_ENV!=="production"&&jE({titleName:"DialogTitle",contentName:"DialogContent",componentLink:"dialog.html#title",titleId:o.titleId,descriptionId:o.descriptionId,contentElement:s}),(l,c)=>(a.openBlock(),a.createBlock(a.unref(v1),{"as-child":"",loop:"",trapped:n.trapFocus,onMountAutoFocus:c[5]||(c[5]=u=>r("openAutoFocus",u)),onUnmountAutoFocus:c[6]||(c[6]=u=>r("closeAutoFocus",u))},{default:a.withCtx(()=>[a.createVNode(a.unref(Ac),a.mergeProps({id:a.unref(o).contentId,ref:a.unref(i),as:l.as,"as-child":l.asChild,"disable-outside-pointer-events":l.disableOutsidePointerEvents,role:"dialog","aria-describedby":a.unref(o).descriptionId,"aria-labelledby":a.unref(o).titleId,"data-state":a.unref(Pm)(a.unref(o).open.value)},l.$attrs,{onDismiss:c[0]||(c[0]=u=>a.unref(o).onOpenChange(!1)),onEscapeKeyDown:c[1]||(c[1]=u=>r("escapeKeyDown",u)),onFocusOutside:c[2]||(c[2]=u=>r("focusOutside",u)),onInteractOutside:c[3]||(c[3]=u=>r("interactOutside",u)),onPointerDownOutside:c[4]||(c[4]=u=>r("pointerDownOutside",u))}),{default:a.withCtx(()=>[a.renderSlot(l.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),HE=a.defineComponent({__name:"DialogContentModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=Jr(),i=Cs(r),{forwardRef:s,currentElement:l}=Ee();return h1(l),(c,u)=>(a.openBlock(),a.createBlock(Lm,a.mergeProps({...n,...a.unref(i)},{ref:a.unref(s),"trap-focus":a.unref(o).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:u[0]||(u[0]=d=>{var f;d.defaultPrevented||(d.preventDefault(),(f=a.unref(o).triggerElement.value)==null||f.focus())}),onPointerDownOutside:u[1]||(u[1]=d=>{const f=d.detail.originalEvent,h=f.button===0&&f.ctrlKey===!0;(f.button===2||h)&&d.preventDefault()}),onFocusOutside:u[2]||(u[2]=d=>{d.preventDefault()})}),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16,["trap-focus"]))}}),qE=a.defineComponent({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=Cs(t);Ee();const o=Jr(),i=a.ref(!1),s=a.ref(!1);return(l,c)=>(a.openBlock(),a.createBlock(Lm,a.mergeProps({...n,...a.unref(r)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:c[0]||(c[0]=u=>{var d;u.defaultPrevented||(i.value||(d=a.unref(o).triggerElement.value)==null||d.focus(),u.preventDefault()),i.value=!1,s.value=!1}),onInteractOutside:c[1]||(c[1]=u=>{var d;u.defaultPrevented||(i.value=!0,u.detail.originalEvent.type==="pointerdown"&&(s.value=!0));const f=u.target;(d=a.unref(o).triggerElement.value)!=null&&d.contains(f)&&u.preventDefault(),u.detail.originalEvent.type==="focusin"&&s.value&&u.preventDefault()})}),{default:a.withCtx(()=>[a.renderSlot(l.$slots,"default")]),_:3},16))}}),Bs=a.defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=Jr(),i=Cs(r),{forwardRef:s}=Ee();return(l,c)=>(a.openBlock(),a.createBlock(a.unref(lo),{present:l.forceMount||a.unref(o).open.value},{default:a.withCtx(()=>[a.unref(o).modal.value?(a.openBlock(),a.createBlock(HE,a.mergeProps({key:0,ref:a.unref(s)},{...n,...a.unref(i),...l.$attrs}),{default:a.withCtx(()=>[a.renderSlot(l.$slots,"default")]),_:3},16)):(a.openBlock(),a.createBlock(qE,a.mergeProps({key:1,ref:a.unref(s)},{...n,...a.unref(i),...l.$attrs}),{default:a.withCtx(()=>[a.renderSlot(l.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),WE=a.defineComponent({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean},as:{}},setup(e){const t=Jr();return l1(!0),Ee(),(n,r)=>(a.openBlock(),a.createBlock(a.unref(Ie),{as:n.as,"as-child":n.asChild,"data-state":a.unref(t).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),Is=a.defineComponent({__name:"DialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){const t=Jr(),{forwardRef:n}=Ee();return(r,o)=>{var i;return(i=a.unref(t))!=null&&i.modal.value?(a.openBlock(),a.createBlock(a.unref(lo),{key:0,present:r.forceMount||a.unref(t).open.value},{default:a.withCtx(()=>[a.createVNode(WE,a.mergeProps(r.$attrs,{ref:a.unref(n),as:r.as,"as-child":r.asChild}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):a.createCommentVNode("",!0)}}}),co=a.defineComponent({__name:"DialogClose",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e;Ee();const n=Jr();return(r,o)=>(a.openBlock(),a.createBlock(a.unref(Ie),a.mergeProps(t,{type:r.as==="button"?"button":void 0,onClick:o[0]||(o[0]=i=>a.unref(n).onOpenChange(!1))}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["type"]))}}),Vs=a.defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{default:"h2"}},setup(e){const t=e,n=Jr();return Ee(),(r,o)=>(a.openBlock(),a.createBlock(a.unref(Ie),a.mergeProps(t,{id:a.unref(n).titleId}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["id"]))}}),[Fm,GE]=Tt("AvatarRoot"),KE=a.defineComponent({__name:"AvatarRoot",props:{asChild:{type:Boolean},as:{default:"span"}},setup(e){return Ee(),GE({imageLoadingStatus:a.ref("loading")}),(t,n)=>(a.openBlock(),a.createBlock(a.unref(Ie),{"as-child":t.asChild,as:t.as},{default:a.withCtx(()=>[a.renderSlot(t.$slots,"default")]),_:3},8,["as-child","as"]))}});function YE(e,t){const n=a.ref("idle"),r=a.ref(!1),o=i=>()=>{r.value&&(n.value=i)};return a.onMounted(()=>{r.value=!0,a.watch([()=>e.value,()=>t==null?void 0:t.value],([i,s])=>{if(!i)n.value="error";else{const l=new window.Image;n.value="loading",l.onload=o("loaded"),l.onerror=o("error"),l.src=i,s&&(l.referrerPolicy=s)}},{immediate:!0})}),a.onUnmounted(()=>{r.value=!1}),n}const JE=a.defineComponent({__name:"AvatarImage",props:{src:{},referrerPolicy:{},asChild:{type:Boolean},as:{default:"img"}},emits:["loadingStatusChange"],setup(e,{emit:t}){const n=e,r=t,{src:o,referrerPolicy:i}=a.toRefs(n);Ee();const s=Fm(),l=YE(o,i);return a.watch(l,c=>{r("loadingStatusChange",c),c!=="idle"&&(s.imageLoadingStatus.value=c)},{immediate:!0}),(c,u)=>a.withDirectives((a.openBlock(),a.createBlock(a.unref(Ie),{role:"img","as-child":c.asChild,as:c.as,src:a.unref(o),"referrer-policy":a.unref(i)},{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},8,["as-child","as","src","referrer-policy"])),[[a.vShow,a.unref(l)==="loaded"]])}}),XE=a.defineComponent({__name:"AvatarFallback",props:{delayMs:{default:0},asChild:{type:Boolean},as:{default:"span"}},setup(e){const t=e,n=Fm();Ee();const r=a.ref(!1);let o;return a.watch(n.imageLoadingStatus,i=>{i==="loading"&&(r.value=!1,t.delayMs?o=setTimeout(()=>{r.value=!0,clearTimeout(o)},t.delayMs):r.value=!0)},{immediate:!0}),(i,s)=>r.value&&a.unref(n).imageLoadingStatus.value!=="loaded"?(a.openBlock(),a.createBlock(a.unref(Ie),{key:0,"as-child":i.asChild,as:i.as},{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},8,["as-child","as"])):a.createCommentVNode("",!0)}});function QE(e){function t(r){return Array.isArray(e.date.value)?e.date.value.some(o=>Yo(o,r)):e.date.value?Yo(e.date.value,r):!1}const n=a.computed(()=>{var r,o,i,s;if(Array.isArray(e.date.value)){if(!e.date.value.length)return!1;for(const l of e.date.value)if((r=e.isDateDisabled)!=null&&r.call(e,l)||(o=e.isDateUnavailable)!=null&&o.call(e,l))return!0}else{if(!e.date.value)return!1;if((i=e.isDateDisabled)!=null&&i.call(e,e.date.value)||(s=e.isDateUnavailable)!=null&&s.call(e,e.date.value))return!0}return!1});return{isDateSelected:t,isInvalid:n}}function NE(e,t){const n=t(e),r=n.compare(e),o={};return r>=7&&(o.day=1),r>=_r(e)&&(o.month=1),n.set({...o})}function $E(e,t){const n=t(e),r=e.compare(n),o={};return r>=7&&(o.day=35),r>=_r(e)&&(o.month=13),n.set({...o})}function ex(e,t){return t(e)}function tx(e,t){return t(e)}function nx(e){const t=Sm(e.locale.value),n=a.computed(()=>{const w={calendar:e.placeholder.value.calendar.identifier};return e.placeholder.value.calendar.identifier==="gregory"&&e.placeholder.value.era==="BC"&&(w.era="short"),w}),r=a.ref(ao({dateObj:e.placeholder.value,weekStartsOn:e.weekStartsOn.value,locale:e.locale.value,fixedWeeks:e.fixedWeeks.value,numberOfMonths:e.numberOfMonths.value})),o=a.computed(()=>r.value.map(w=>w.value));function i(w){return!o.value.some(y=>cp(w,y))}const s=(w="month",y)=>{if(!e.maxValue.value||!r.value.length)return!1;if(e.disabled.value)return!0;const k=r.value[r.value.length-1].value;if(y||e.nextPage.value){const m=NE(k,y||e.nextPage.value);return gc(m,e.maxValue.value)}if(w==="year"){const m=k.add({years:1}).set({day:1,month:1});return gc(m,e.maxValue.value)}const v=k.add({months:1}).set({day:1});return gc(v,e.maxValue.value)},l=(w="month",y)=>{if(!e.minValue.value||!r.value.length)return!1;if(e.disabled.value)return!0;const k=r.value[0].value;if(y||e.prevPage.value){const m=$E(k,y||e.prevPage.value);return ni(m,e.minValue.value)}if(w==="year"){const m=k.subtract({years:1}).set({day:35,month:13});return ni(m,e.minValue.value)}const v=k.subtract({months:1}).set({day:35});return ni(v,e.minValue.value)};function c(w){var y;return!!((y=e.isDateDisabled)!=null&&y.call(e,w)||e.disabled.value||e.maxValue.value&&gc(w,e.maxValue.value)||e.minValue.value&&ni(w,e.minValue.value))}const u=w=>{var y;return!!((y=e.isDateUnavailable)!=null&&y.call(e,w))},d=a.computed(()=>r.value.length?r.value[0].rows[0].map(w=>t.dayOfWeek(zn(w),e.weekdayFormat.value)):[]),f=(w="month",y)=>{const k=r.value[0].value;if(y||e.nextPage.value){const b=ex(k,y||e.nextPage.value),_=ao({dateObj:b,weekStartsOn:e.weekStartsOn.value,locale:e.locale.value,fixedWeeks:e.fixedWeeks.value,numberOfMonths:e.numberOfMonths.value});r.value=_;const E={};if(!y){const x=_[0].value.compare(k);x>=_r(k)&&(E.day=1),x>=365&&(E.month=1)}e.placeholder.value=_[0].value.set({...E});return}const v=w==="month"?k.add({months:e.pagedNavigation.value?e.numberOfMonths.value:1}):k.add({years:1}),m=ao({dateObj:v,weekStartsOn:e.weekStartsOn.value,locale:e.locale.value,fixedWeeks:e.fixedWeeks.value,numberOfMonths:e.numberOfMonths.value});r.value=m,e.placeholder.value=m[0].value.set({day:1})},h=(w="month",y)=>{const k=r.value[0].value;if(y||e.prevPage.value){const b=tx(k,y||e.prevPage.value),_=ao({dateObj:b,weekStartsOn:e.weekStartsOn.value,locale:e.locale.value,fixedWeeks:e.fixedWeeks.value,numberOfMonths:e.numberOfMonths.value});r.value=_;const E={};if(!y){const x=k.compare(_[0].value);x>=_r(k)&&(E.day=1),x>=365&&(E.month=1)}e.placeholder.value=_[0].value.set({...E});return}const v=w==="month"?k.subtract({months:e.pagedNavigation.value?e.numberOfMonths.value:1}):k.subtract({years:1}),m=ao({dateObj:v,weekStartsOn:e.weekStartsOn.value,locale:e.locale.value,fixedWeeks:e.fixedWeeks.value,numberOfMonths:e.numberOfMonths.value});r.value=m,e.placeholder.value=m[0].value.set({day:1})};a.watch(e.placeholder,w=>{o.value.some(y=>cp(y,w))||(r.value=ao({dateObj:w,weekStartsOn:e.weekStartsOn.value,locale:e.locale.value,fixedWeeks:e.fixedWeeks.value,numberOfMonths:e.numberOfMonths.value}))}),a.watch([e.locale,e.weekStartsOn,e.fixedWeeks,e.numberOfMonths],()=>{r.value=ao({dateObj:e.placeholder.value,weekStartsOn:e.weekStartsOn.value,locale:e.locale.value,fixedWeeks:e.fixedWeeks.value,numberOfMonths:e.numberOfMonths.value})});const p=a.computed(()=>{if(!r.value.length)return"";if(e.locale.value!==t.getLocale()&&t.setLocale(e.locale.value),r.value.length===1){const _=r.value[0].value;return`${t.fullMonthAndYear(zn(_),n.value)}`}const w=zn(r.value[0].value),y=zn(r.value[r.value.length-1].value),k=t.fullMonth(w,n.value),v=t.fullMonth(y,n.value),m=t.fullYear(w,n.value),b=t.fullYear(y,n.value);return m===b?`${k} - ${v} ${b}`:`${k} ${m} - ${v} ${b}`}),g=a.computed(()=>`${e.calendarLabel.value??"Event Date"}, ${p.value}`);return{isDateDisabled:c,isDateUnavailable:u,isNextButtonDisabled:s,isPrevButtonDisabled:l,grid:r,weekdays:d,visibleView:o,isOutsideVisibleView:i,formatter:t,nextPage:f,prevPage:h,headingValue:p,fullCalendarLabel:g}}const rx={style:{border:"0px",clip:"rect(0px, 0px, 0px, 0px)","clip-path":"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0px",position:"absolute","white-space":"nowrap",width:"1px"}},ax={role:"heading","aria-level":"2"},[li,ox]=Tt("CalendarRoot"),ix=a.defineComponent({__name:"CalendarRoot",props:{modelValue:{},multiple:{type:Boolean,default:!1},defaultValue:{default:void 0},defaultPlaceholder:{},placeholder:{default:void 0},pagedNavigation:{type:Boolean,default:!1},preventDeselect:{type:Boolean,default:!1},weekStartsOn:{default:0},weekdayFormat:{default:"narrow"},calendarLabel:{},fixedWeeks:{type:Boolean,default:!1},maxValue:{},minValue:{},locale:{default:"en"},numberOfMonths:{default:1},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},initialFocus:{type:Boolean,default:!1},isDateDisabled:{type:Function,default:void 0},isDateUnavailable:{type:Function,default:void 0},dir:{},nextPage:{},prevPage:{},asChild:{type:Boolean},as:{default:"div"}},emits:["update:modelValue","update:placeholder"],setup(e,{emit:t}){const n=e,r=t,{locale:o,disabled:i,readonly:s,initialFocus:l,pagedNavigation:c,weekStartsOn:u,weekdayFormat:d,fixedWeeks:f,multiple:h,minValue:p,maxValue:g,numberOfMonths:w,preventDeselect:y,isDateDisabled:k,isDateUnavailable:v,calendarLabel:m,defaultValue:b,nextPage:_,prevPage:E,dir:x}=a.toRefs(n),{primitiveElement:O,currentElement:B}=Ts(),S=so(x),A=Yt(n,"modelValue",r,{defaultValue:b.value,passive:n.modelValue===void 0}),D=$f({defaultPlaceholder:n.placeholder,defaultValue:A.value,locale:n.locale}),q=Yt(n,"placeholder",r,{defaultValue:n.defaultPlaceholder??D.copy(),passive:n.placeholder===void 0});function F(De){q.value=De.copy()}const{fullCalendarLabel:X,headingValue:fe,isDateDisabled:ae,isDateUnavailable:Z,isNextButtonDisabled:z,isPrevButtonDisabled:ne,weekdays:Y,isOutsideVisibleView:de,nextPage:he,prevPage:_e,formatter:st,grid:se}=nx({locale:o,placeholder:q,weekStartsOn:u,fixedWeeks:f,numberOfMonths:w,minValue:p,maxValue:g,disabled:i,weekdayFormat:d,pagedNavigation:c,isDateDisabled:k.value,isDateUnavailable:v.value,calendarLabel:m,nextPage:_,prevPage:E}),{isInvalid:ge,isDateSelected:Rt}=QE({date:A,isDateDisabled:ae,isDateUnavailable:Z});a.watch(A,De=>{if(Array.isArray(De)&&De.length){const Ze=De[De.length-1];Ze&&!ms(q.value,Ze)&&F(Ze)}else!Array.isArray(De)&&De&&!ms(q.value,De)&&F(De)});function an(De){if(h.value){if(!A.value)A.value=[De.copy()];else if(Array.isArray(A.value)){if(A.value.findIndex(Ze=>Yo(Ze,De))===-1)A.value=[...A.value,De];else if(!y.value){const Ze=A.value.filter(ct=>!Yo(ct,De));if(!Ze.length){q.value=De.copy(),A.value=void 0;return}A.value=Ze.map(ct=>ct.copy())}}}else{if(!A.value){A.value=De.copy();return}!y.value&&ms(A.value,De)?(q.value=De.copy(),A.value=void 0):A.value=De.copy()}}return a.onMounted(()=>{l.value&&Vk(B.value)}),ox({isDateUnavailable:Z,dir:S,isDateDisabled:ae,locale:o,formatter:st,modelValue:A,placeholder:q,disabled:i,initialFocus:l,pagedNavigation:c,weekStartsOn:u,weekdayFormat:d,fixedWeeks:f,multiple:h,numberOfMonths:w,readonly:s,preventDeselect:y,fullCalendarLabel:X,headingValue:fe,isInvalid:ge,isDateSelected:Rt,isNextButtonDisabled:z,isPrevButtonDisabled:ne,isOutsideVisibleView:de,nextPage:he,prevPage:_e,parentElement:B,onPlaceholderChange:F,onDateChange:an}),(De,Ze)=>(a.openBlock(),a.createBlock(a.unref(Ie),{ref_key:"primitiveElement",ref:O,as:De.as,"as-child":De.asChild,role:"application","aria-label":a.unref(X),"data-readonly":a.unref(s)?"":void 0,"data-disabled":a.unref(i)?"":void 0,"data-invalid":a.unref(ge)?"":void 0,dir:a.unref(S)},{default:a.withCtx(()=>[a.renderSlot(De.$slots,"default",{date:a.unref(q),grid:a.unref(se),weekDays:a.unref(Y),weekStartsOn:a.unref(u),locale:a.unref(o),fixedWeeks:a.unref(f)}),a.createElementVNode("div",rx,[a.createElementVNode("div",ax,a.toDisplayString(a.unref(X)),1)])]),_:3},8,["as","as-child","aria-label","data-readonly","data-disabled","data-invalid","dir"]))}}),sx=a.defineComponent({__name:"CalendarHeader",props:{asChild:{type:Boolean},as:{default:"div"}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(Ie),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),lx=a.defineComponent({__name:"CalendarHeading",props:{asChild:{type:Boolean},as:{default:"div"}},setup(e){const t=e,n=li();return(r,o)=>(a.openBlock(),a.createBlock(a.unref(Ie),a.mergeProps(t,{"data-disabled":a.unref(n).disabled.value?"":void 0}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{headingValue:a.unref(n).headingValue.value},()=>[a.createTextVNode(a.toDisplayString(a.unref(n).headingValue.value),1)])]),_:3},16,["data-disabled"]))}}),cx=a.defineComponent({__name:"CalendarGrid",props:{asChild:{type:Boolean},as:{default:"table"}},setup(e){const t=e,n=li(),r=a.computed(()=>n.disabled.value?!0:void 0),o=a.computed(()=>n.readonly.value?!0:void 0);return(i,s)=>(a.openBlock(),a.createBlock(a.unref(Ie),a.mergeProps(t,{tabindex:"-1",role:"grid","aria-readonly":o.value,"aria-disabled":r.value,"data-readonly":o.value&&"","data-disabled":r.value&&""}),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16,["aria-readonly","aria-disabled","data-readonly","data-disabled"]))}}),ux=a.defineComponent({__name:"CalendarCell",props:{date:{},asChild:{type:Boolean},as:{default:"td"}},setup(e){const t=li();return(n,r)=>{var o,i;return a.openBlock(),a.createBlock(a.unref(Ie),{as:n.as,"as-child":n.asChild,role:"gridcell","aria-selected":a.unref(t).isDateSelected(n.date)?!0:void 0,"aria-disabled":a.unref(t).isDateDisabled(n.date)||((i=(o=a.unref(t)).isDateUnavailable)==null?void 0:i.call(o,n.date)),"data-disabled":a.unref(t).isDateDisabled(n.date)?"":void 0},{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},8,["as","as-child","aria-selected","aria-disabled","data-disabled"])}}}),dx=a.defineComponent({__name:"CalendarHeadCell",props:{asChild:{type:Boolean},as:{default:"th"}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(Ie),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),fx=a.defineComponent({__name:"CalendarNext",props:{step:{default:"month"},nextPage:{},asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=a.computed(()=>r.disabled.value||r.isNextButtonDisabled(t.step,t.nextPage)),r=li();return(o,i)=>(a.openBlock(),a.createBlock(a.unref(Ie),{as:t.as,"as-child":t.asChild,"aria-label":"Next page",type:o.as==="button"?"button":void 0,"aria-disabled":n.value||void 0,"data-disabled":n.value||void 0,disabled:n.value,onClick:i[0]||(i[0]=s=>a.unref(r).nextPage(t.step,t.nextPage))},{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default",{},()=>[a.createTextVNode("Next page")])]),_:3},8,["as","as-child","type","aria-disabled","data-disabled","disabled"]))}}),hx=a.defineComponent({__name:"CalendarPrev",props:{step:{default:"month"},prevPage:{},asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=a.computed(()=>r.disabled.value||r.isPrevButtonDisabled(t.step,t.prevPage)),r=li();return(o,i)=>(a.openBlock(),a.createBlock(a.unref(Ie),{"aria-label":"Previous page",as:t.as,"as-child":t.asChild,type:o.as==="button"?"button":void 0,"aria-disabled":n.value||void 0,"data-disabled":n.value||void 0,disabled:n.value,onClick:i[0]||(i[0]=s=>a.unref(r).prevPage(t.step,t.prevPage))},{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default",{},()=>[a.createTextVNode("Prev page")])]),_:3},8,["as","as-child","type","aria-disabled","data-disabled","disabled"]))}}),px=a.defineComponent({__name:"CalendarGridHead",props:{asChild:{type:Boolean},as:{default:"thead"}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(Ie),a.mergeProps(t,{"aria-hidden":"true"}),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),mx=a.defineComponent({__name:"CalendarGridBody",props:{asChild:{type:Boolean},as:{default:"tbody"}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(Ie),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),gx=a.defineComponent({__name:"CalendarGridRow",props:{asChild:{type:Boolean},as:{default:"tr"}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(Ie),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),vx=a.defineComponent({__name:"CalendarCellTrigger",props:{day:{},month:{},asChild:{type:Boolean},as:{default:"div"}},setup(e){const t=e,n=Ss(),r=li(),{primitiveElement:o,currentElement:i}=Ts(),s=a.computed(()=>t.day.day.toLocaleString(r.locale.value)),l=a.computed(()=>r.formatter.custom(zn(t.day),{weekday:"long",month:"long",day:"numeric",year:"numeric"})),c=a.computed(()=>r.isDateDisabled(t.day)),u=a.computed(()=>{var m;return(m=r.isDateUnavailable)==null?void 0:m.call(r,t.day)}),d=a.computed(()=>Dw(t.day,gs())),f=a.computed(()=>!Rw(t.day,t.month)),h=a.computed(()=>r.isOutsideVisibleView(t.day)),p=a.computed(()=>!r.disabled.value&&Yo(t.day,r.placeholder.value)),g=a.computed(()=>r.isDateSelected(t.day)),w="[data-radix-vue-calendar-cell-trigger]:not([data-disabled]):not([data-outside-view]):not([data-outside-visible-view])";function y(m){var b;r.readonly.value||r.isDateDisabled(m)||(b=r.isDateUnavailable)!=null&&b.call(r,m)||r.onDateChange(m)}function k(){y(t.day)}function v(m){m.preventDefault(),m.stopPropagation();const b=r.parentElement.value,_=b?Array.from(b.querySelectorAll(w)):[];let E=_.indexOf(i.value);const x=7,O=r.dir.value==="rtl"?-1:1;switch(m.code){case n.ARROW_RIGHT:E+=O;break;case n.ARROW_LEFT:E-=O;break;case n.ARROW_UP:E-=x;break;case n.ARROW_DOWN:E+=x;break;case n.ENTER:case n.SPACE_CODE:y(t.day);return;default:return}if(E>=0&&E<_.length){_[E].focus();return}if(E<0){if(r.isPrevButtonDisabled("month"))return;r.prevPage(),a.nextTick(()=>{const B=b?Array.from(b.querySelectorAll(w)):[];if(!r.pagedNavigation.value){const S=_r(r.placeholder.value);B[S-Math.abs(E)].focus();return}B[B.length-Math.abs(E)].focus()});return}if(E>=_.length){if(r.isNextButtonDisabled("month"))return;r.nextPage(),a.nextTick(()=>{const B=b?Array.from(b.querySelectorAll(w)):[];if(!r.pagedNavigation.value){const S=_r(r.placeholder.value.add({months:r.numberOfMonths.value-1}));B[B.length-S+E-_.length].focus();return}B[E-_.length].focus()})}}return(m,b)=>(a.openBlock(),a.createBlock(a.unref(Ie),a.mergeProps({ref_key:"primitiveElement",ref:o},t,{role:"button","aria-label":l.value,"data-radix-vue-calendar-cell-trigger":"","aria-disabled":c.value||u.value?!0:void 0,"data-selected":g.value?!0:void 0,"data-value":m.day.toString(),"data-disabled":c.value?"":void 0,"data-unavailable":u.value?"":void 0,"data-today":d.value?"":void 0,"data-outside-view":f.value?"":void 0,"data-outside-visible-view":h.value?"":void 0,"data-focused":p.value?"":void 0,tabindex:p.value?0:f.value||c.value?void 0:-1,onClick:k,onKeydown:[a.withKeys(v,["up","down","left","right","space","enter"]),b[0]||(b[0]=a.withKeys(a.withModifiers(()=>{},["prevent"]),["enter"]))]}),{default:a.withCtx(()=>[a.renderSlot(m.$slots,"default",{dayValue:s.value},()=>[a.createTextVNode(a.toDisplayString(s.value),1)])]),_:3},16,["aria-label","aria-disabled","data-selected","data-value","data-disabled","data-unavailable","data-today","data-outside-view","data-outside-visible-view","data-focused","tabindex"]))}});function Oc(e){return e==="indeterminate"}function Um(e){return Oc(e)?"indeterminate":e?"checked":"unchecked"}const yx=["value","checked","name","disabled","required"],[bx,wx]=Tt("CheckboxRoot"),_x=a.defineComponent({inheritAttrs:!1,__name:"CheckboxRoot",props:{defaultChecked:{type:Boolean},checked:{type:[Boolean,String],default:void 0},disabled:{type:Boolean},required:{type:Boolean},name:{},value:{default:"on"},id:{},asChild:{type:Boolean},as:{default:"button"}},emits:["update:checked"],setup(e,{emit:t}){const n=e,r=t,{disabled:o}=a.toRefs(n),i=Yt(n,"checked",r,{defaultValue:n.defaultChecked,passive:n.checked===void 0}),{forwardRef:s,currentElement:l}=Ee(),c=u1(l),u=a.computed(()=>{var d;return n.id&&l.value?(d=document.querySelector(`[for="${n.id}"]`))==null?void 0:d.innerText:void 0});return wx({disabled:o,state:i}),(d,f)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createVNode(a.unref(Ie),a.mergeProps(d.$attrs,{id:d.id,ref:a.unref(s),role:"checkbox","as-child":n.asChild,as:d.as,type:d.as==="button"?"button":void 0,"aria-checked":a.unref(Oc)(a.unref(i))?"mixed":a.unref(i),"aria-required":n.required,"aria-label":d.$attrs["aria-label"]||u.value,"data-state":a.unref(Um)(a.unref(i)),"data-disabled":a.unref(o)?"":void 0,disabled:a.unref(o),onKeydown:a.withKeys(a.withModifiers(()=>{},["prevent"]),["enter"]),onClick:f[0]||(f[0]=h=>i.value=a.unref(Oc)(a.unref(i))?!0:!a.unref(i))}),{default:a.withCtx(()=>[a.renderSlot(d.$slots,"default",{checked:a.unref(i)})]),_:3},16,["id","as-child","as","type","aria-checked","aria-required","aria-label","data-state","data-disabled","disabled","onKeydown"]),a.unref(c)?(a.openBlock(),a.createElementBlock("input",{key:0,type:"checkbox",tabindex:"-1","aria-hidden":"true",value:d.value,checked:!!a.unref(i),name:n.name,disabled:n.disabled,required:n.required,style:{transform:"translateX(-100%)",position:"absolute",pointerEvents:"none",opacity:0,margin:0}},null,8,yx)):a.createCommentVNode("",!0)],64))}}),kx=a.defineComponent({__name:"CheckboxIndicator",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(e){const{forwardRef:t}=Ee(),n=bx();return(r,o)=>(a.openBlock(),a.createBlock(a.unref(lo),{present:r.forceMount||a.unref(Oc)(a.unref(n).state.value)||a.unref(n).state.value===!0},{default:a.withCtx(()=>[a.createVNode(a.unref(Ie),a.mergeProps({ref:a.unref(t),"data-state":a.unref(Um)(a.unref(n).state.value),"data-disabled":a.unref(n).disabled.value?"":void 0,style:{pointerEvents:"none"},"as-child":r.asChild,as:r.as},r.$attrs),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["data-state","data-disabled","as-child","as"])]),_:3},8,["present"]))}}),[Zm,Ex]=Tt("PopperRoot"),w1=a.defineComponent({inheritAttrs:!1,__name:"PopperRoot",setup(e){const t=a.ref();return Ex({anchor:t,onAnchorChange:n=>t.value=n}),(n,r)=>a.renderSlot(n.$slots,"default")}}),_1=a.defineComponent({__name:"PopperAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(e){const t=e,{forwardRef:n,currentElement:r}=Ee(),o=Zm();return a.watchEffect(()=>{o.onAnchorChange(t.element??r.value)}),(i,s)=>(a.openBlock(),a.createBlock(a.unref(Ie),{ref:a.unref(n),as:i.as,"as-child":i.asChild},{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},8,["as","as-child"]))}});function xx(e){return e!==null}function Cx(e){return{name:"transformOrigin",options:e,fn(t){var n,r,o;const{placement:i,rects:s,middlewareData:l}=t,c=((n=l.arrow)==null?void 0:n.centerOffset)!==0,u=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[f,h]=k1(i),p={start:"0%",center:"50%",end:"100%"}[h],g=(((r=l.arrow)==null?void 0:r.x)??0)+u/2,w=(((o=l.arrow)==null?void 0:o.y)??0)+d/2;let y="",k="";return f==="bottom"?(y=c?p:`${g}px`,k=`${-d}px`):f==="top"?(y=c?p:`${g}px`,k=`${s.floating.height+d}px`):f==="right"?(y=`${-d}px`,k=c?p:`${w}px`):f==="left"&&(y=`${s.floating.width+d}px`,k=c?p:`${w}px`),{data:{x:y,y:k}}}}}function k1(e){const[t,n="center"]=e.split("-");return[t,n]}const zm={side:"bottom",sideOffset:0,align:"center",alignOffset:0,arrowPadding:0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,updatePositionStrategy:"optimized",prioritizePosition:!1},[Sx,Tx]=Tt("PopperContent"),E1=a.defineComponent({inheritAttrs:!1,__name:"PopperContent",props:a.mergeDefaults({side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...zm}),emits:["placed"],setup(e,{emit:t}){const n=e,r=t,o=Zm(),{forwardRef:i,currentElement:s}=Ee(),l=a.ref(),c=a.ref(),{width:u,height:d}=mE(c),f=a.computed(()=>n.side+(n.align!=="center"?`-${n.align}`:"")),h=a.computed(()=>typeof n.collisionPadding=="number"?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),p=a.computed(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),g=a.computed(()=>({padding:h.value,boundary:p.value.filter(xx),altBoundary:p.value.length>0})),w=Rk(()=>[hk({mainAxis:n.sideOffset+d.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&dm({...g.value}),n.avoidCollisions&&pk({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky==="partial"?yk():void 0,...g.value}),!n.prioritizePosition&&n.avoidCollisions&&dm({...g.value}),mk({...g.value,apply:({elements:S,rects:A,availableWidth:D,availableHeight:q})=>{const{width:F,height:X}=A.reference,fe=S.floating.style;fe.setProperty("--radix-popper-available-width",`${D}px`),fe.setProperty("--radix-popper-available-height",`${q}px`),fe.setProperty("--radix-popper-anchor-width",`${F}px`),fe.setProperty("--radix-popper-anchor-height",`${X}px`)}}),c.value&&_k({element:c.value,padding:n.arrowPadding}),Cx({arrowWidth:u.value,arrowHeight:d.value}),n.hideWhenDetached&&gk({strategy:"referenceHidden",...g.value})]),{floatingStyles:y,placement:k,isPositioned:v,middlewareData:m}=kk(o.anchor,l,{strategy:"fixed",placement:f,whileElementsMounted:(...S)=>fk(...S,{animationFrame:n.updatePositionStrategy==="always"}),middleware:w}),b=a.computed(()=>k1(k.value)[0]),_=a.computed(()=>k1(k.value)[1]);a.watchPostEffect(()=>{v.value&&r("placed")});const E=a.computed(()=>{var S;return((S=m.value.arrow)==null?void 0:S.centerOffset)!==0}),x=a.ref("");a.watchEffect(()=>{s.value&&(x.value=window.getComputedStyle(s.value).zIndex)});const O=a.computed(()=>{var S;return((S=m.value.arrow)==null?void 0:S.x)??0}),B=a.computed(()=>{var S;return((S=m.value.arrow)==null?void 0:S.y)??0});return Tx({placedSide:b,onArrowChange:S=>c.value=S,arrowX:O,arrowY:B,shouldHideArrow:E}),(S,A)=>{var D,q,F;return a.openBlock(),a.createElementBlock("div",{ref_key:"floatingRef",ref:l,"data-radix-popper-content-wrapper":"",style:a.normalizeStyle({...a.unref(y),transform:a.unref(v)?a.unref(y).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:x.value,"--radix-popper-transform-origin":[(D=a.unref(m).transformOrigin)==null?void 0:D.x,(q=a.unref(m).transformOrigin)==null?void 0:q.y].join(" "),...((F=a.unref(m).hide)==null?void 0:F.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[a.createVNode(a.unref(Ie),a.mergeProps({ref:a.unref(i)},S.$attrs,{"as-child":n.asChild,as:S.as,"data-side":b.value,"data-align":_.value,style:{animation:a.unref(v)?void 0:"none"}}),{default:a.withCtx(()=>[a.renderSlot(S.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),Ax=a.createElementVNode("polygon",{points:"0,0 30,0 15,10"},null,-1),Ox=a.defineComponent({__name:"Arrow",props:{width:{default:10},height:{default:5},asChild:{type:Boolean},as:{default:"svg"}},setup(e){const t=e;return Ee(),(n,r)=>(a.openBlock(),a.createBlock(a.unref(Ie),a.mergeProps(t,{width:n.width,height:n.height,viewBox:n.asChild?void 0:"0 0 30 10",preserveAspectRatio:n.asChild?void 0:"none"}),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default",{},()=>[Ax])]),_:3},16,["width","height","viewBox","preserveAspectRatio"]))}}),Bx={top:"bottom",right:"left",bottom:"top",left:"right"},jm=a.defineComponent({inheritAttrs:!1,__name:"PopperArrow",props:{width:{},height:{},asChild:{type:Boolean},as:{default:"svg"}},setup(e){const{forwardRef:t}=Ee(),n=Sx(),r=a.computed(()=>Bx[n.placedSide.value]);return(o,i)=>{var s,l,c,u;return a.openBlock(),a.createElementBlock("span",{ref:d=>{a.unref(n).onArrowChange(d)},style:a.normalizeStyle({position:"absolute",left:(s=a.unref(n).arrowX)!=null&&s.value?`${(l=a.unref(n).arrowX)==null?void 0:l.value}px`:void 0,top:(c=a.unref(n).arrowY)!=null&&c.value?`${(u=a.unref(n).arrowY)==null?void 0:u.value}px`:void 0,[r.value]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.unref(n).placedSide.value],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.unref(n).placedSide.value],visibility:a.unref(n).shouldHideArrow.value?"hidden":void 0})},[a.createVNode(Ox,a.mergeProps(o.$attrs,{ref:a.unref(t),style:{display:"block"},as:o.as,"as-child":o.asChild,width:o.width,height:o.height}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["as","as-child","width","height"])],4)}}}),Ix=a.defineComponent({__name:"VisuallyHidden",props:{asChild:{type:Boolean},as:{default:"span"}},setup(e){return Ee(),(t,n)=>(a.openBlock(),a.createBlock(a.unref(Ie),{as:t.as,"as-child":t.asChild,style:{position:"absolute",border:0,width:"1px",display:"inline-block",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}},{default:a.withCtx(()=>[a.renderSlot(t.$slots,"default")]),_:3},8,["as","as-child"]))}}),Vx="data-radix-vue-collection-item",[x1,Rx]=Tt("CollectionProvider");function Dx(e=Vx){const t=a.ref(new Map),n=a.ref(),r=Rx({collectionRef:n,itemMap:t,attrName:e}),{getItems:o}=qm(r),i=a.computed(()=>Array.from(r.itemMap.value.values())),s=a.computed(()=>r.itemMap.value.size);return{getItems:o,reactiveItems:i,itemMapSize:s}}const Mx=a.defineComponent({name:"CollectionSlot",setup(e,{slots:t}){const n=x1(),{primitiveElement:r,currentElement:o}=Ts();return a.watch(o,()=>{n.collectionRef.value=o.value}),()=>a.h(p1,{ref:r},t)}}),Hm=a.defineComponent({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(e,{slots:t,attrs:n}){const r=x1(),{primitiveElement:o,currentElement:i}=Ts();return a.watchEffect(s=>{if(i.value){const l=a.markRaw(i.value);r.itemMap.value.set(l,{ref:i.value,value:e.value}),s(()=>r.itemMap.value.delete(l))}}),()=>a.h(p1,{...n,[r.attrName]:"",ref:o},t)}});function qm(e){const t=e??x1();return{getItems:()=>{const n=t.collectionRef.value;if(!n)return[];const r=Array.from(n.querySelectorAll(`[${t.attrName}]`));return Array.from(t.itemMap.value.values()).sort((o,i)=>r.indexOf(o.ref)-r.indexOf(i.ref))}}}const Px=a.defineComponent({__name:"MenuAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(_1),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}});function Lx(){const e=a.ref(!1);return a.onMounted(()=>{ka("keydown",()=>{e.value=!0},{capture:!0,passive:!0}),ka(["pointerdown","pointermove"],()=>{e.value=!1},{capture:!0,passive:!0})}),e}const Fx=wm(Lx),[Bc,Ux]=Tt(["MenuRoot","MenuSub"],"MenuContext"),[C1,Zx]=Tt("MenuRoot"),zx=a.defineComponent({__name:"MenuRoot",props:{open:{type:Boolean,default:!1},dir:{},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=t,{modal:o,dir:i}=a.toRefs(n),s=so(i),l=Yt(n,"open",r),c=a.ref(),u=Fx();return Ux({open:l,onOpenChange:d=>{l.value=d},content:c,onContentChange:d=>{c.value=d}}),Zx({onClose:()=>{l.value=!1},isUsingKeyboardRef:u,dir:s,modal:o}),(d,f)=>(a.openBlock(),a.createBlock(a.unref(w1),null,{default:a.withCtx(()=>[a.renderSlot(d.$slots,"default")]),_:3}))}}),jx="rovingFocusGroup.onEntryFocus",Hx={bubbles:!1,cancelable:!0},qx={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Wx(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Gx(e,t,n){const r=Wx(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return qx[r]}function Wm(e,t=!1){const n=pn();for(const r of e)if(r===n||(r.focus({preventScroll:t}),pn()!==n))return}function Kx(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const[Yx,Jx]=Tt("RovingFocusGroup"),Gm=a.defineComponent({__name:"RovingFocusGroup",props:{orientation:{default:void 0},dir:{},loop:{type:Boolean,default:!1},currentTabStopId:{},defaultCurrentTabStopId:{},preventScrollOnEntryFocus:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["entryFocus","update:currentTabStopId"],setup(e,{expose:t,emit:n}){const r=e,o=n,{loop:i,orientation:s,dir:l}=a.toRefs(r),c=so(l),u=Yt(r,"currentTabStopId",o,{defaultValue:r.defaultCurrentTabStopId,passive:r.currentTabStopId===void 0}),d=a.ref(!1),f=a.ref(!1),h=a.ref(0),{getItems:p}=Dx();function g(y){const k=!f.value;if(y.currentTarget&&y.target===y.currentTarget&&k&&!d.value){const v=new CustomEvent(jx,Hx);if(y.currentTarget.dispatchEvent(v),o("entryFocus",v),!v.defaultPrevented){const m=p().map(x=>x.ref).filter(x=>x.dataset.disabled!==""),b=m.find(x=>x.getAttribute("data-active")==="true"),_=m.find(x=>x.id===u.value),E=[b,_,...m].filter(Boolean);Wm(E,r.preventScrollOnEntryFocus)}}f.value=!1}function w(){setTimeout(()=>{f.value=!1},1)}return t({getItems:p}),Jx({loop:i,dir:c,orientation:s,currentTabStopId:u,onItemFocus:y=>{u.value=y},onItemShiftTab:()=>{d.value=!0},onFocusableItemAdd:()=>{h.value++},onFocusableItemRemove:()=>{h.value--}}),(y,k)=>(a.openBlock(),a.createBlock(a.unref(Mx),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Ie),{tabindex:d.value||h.value===0?-1:0,"data-orientation":a.unref(s),as:y.as,"as-child":y.asChild,dir:a.unref(c),style:{outline:"none"},onMousedown:k[0]||(k[0]=v=>f.value=!0),onMouseup:w,onFocus:g,onBlur:k[1]||(k[1]=v=>d.value=!1)},{default:a.withCtx(()=>[a.renderSlot(y.$slots,"default")]),_:3},8,["tabindex","data-orientation","as","as-child","dir"])]),_:3}))}}),Xx=a.defineComponent({__name:"RovingFocusItem",props:{tabStopId:{},focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!0},allowShiftKey:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(e){const t=e,n=Yx(),r=a.computed(()=>t.tabStopId||Ea()),o=a.computed(()=>n.currentTabStopId.value===r.value),{getItems:i}=qm();a.onMounted(()=>{t.focusable&&n.onFocusableItemAdd()}),a.onUnmounted(()=>{t.focusable&&n.onFocusableItemRemove()});function s(l){if(l.key==="Tab"&&l.shiftKey){n.onItemShiftTab();return}if(l.target!==l.currentTarget)return;const c=Gx(l,n.orientation.value,n.dir.value);if(c!==void 0){if(l.metaKey||l.ctrlKey||l.altKey||!t.allowShiftKey&&l.shiftKey)return;l.preventDefault();let u=[...i().map(d=>d.ref).filter(d=>d.dataset.disabled!=="")];if(c==="last")u.reverse();else if(c==="prev"||c==="next"){c==="prev"&&u.reverse();const d=u.indexOf(l.currentTarget);u=n.loop.value?Kx(u,d+1):u.slice(d+1)}a.nextTick(()=>Wm(u))}}return(l,c)=>(a.openBlock(),a.createBlock(a.unref(Hm),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Ie),{tabindex:o.value?0:-1,"data-orientation":a.unref(n).orientation.value,"data-active":l.active,"data-disabled":l.focusable?void 0:"",as:l.as,"as-child":l.asChild,onMousedown:c[0]||(c[0]=u=>{l.focusable?a.unref(n).onItemFocus(r.value):u.preventDefault()}),onFocus:c[1]||(c[1]=u=>a.unref(n).onItemFocus(r.value)),onKeydown:s},{default:a.withCtx(()=>[a.renderSlot(l.$slots,"default")]),_:3},8,["tabindex","data-orientation","data-active","data-disabled","as","as-child"])]),_:3}))}}),[Km,Qx]=Tt("MenuContent"),Ym=a.defineComponent({__name:"MenuContentImpl",props:a.mergeDefaults({loop:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},disableOutsideScroll:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...zm}),emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus","dismiss"],setup(e,{emit:t}){const n=e,r=t,o=Bc(),i=C1(),{trapFocus:s,disableOutsidePointerEvents:l,loop:c}=a.toRefs(n);Tm(),l1(l.value);const u=a.ref(""),d=a.ref(0),f=a.ref(0),h=a.ref(null),p=a.ref("right"),g=a.ref(0),w=a.ref(null),{createCollection:y}=nE(),{forwardRef:k,currentElement:v}=Ee(),m=y(v);a.watch(v,S=>{o.onContentChange(S)});const{handleTypeaheadSearch:b}=yE(m);a.onUnmounted(()=>{window.clearTimeout(d.value)});function _(S){var A,D;return p.value===((A=h.value)==null?void 0:A.side)&&UE(S,(D=h.value)==null?void 0:D.area)}async function E(S){var A;r("openAutoFocus",S),!S.defaultPrevented&&(S.preventDefault(),(A=v.value)==null||A.focus({preventScroll:!0}))}function x(S){if(S.defaultPrevented)return;const A=S.target.closest("[data-radix-menu-content]")===S.currentTarget,D=S.ctrlKey||S.altKey||S.metaKey,q=S.key.length===1,F=Yk(S,pn(),v.value,{loop:c.value,arrowKeyOptions:"vertical",dir:i==null?void 0:i.dir.value,focus:!0,attributeName:"[data-radix-vue-collection-item]:not([data-disabled])"});if(F)return F==null?void 0:F.focus();if(S.code==="Space"||(A&&(S.key==="Tab"&&S.preventDefault(),!D&&q&&b(S.key)),S.target!==v.value)||!PE.includes(S.key))return;S.preventDefault();const X=m.value;Mm.includes(S.key)&&X.reverse(),LE(X)}function O(S){var A,D;(D=(A=S==null?void 0:S.currentTarget)==null?void 0:A.contains)!=null&&D.call(A,S.target)||(window.clearTimeout(d.value),u.value="")}function B(S){var A;if(!b1(S))return;const D=S.target,q=g.value!==S.clientX;if((A=S==null?void 0:S.currentTarget)!=null&&A.contains(D)&&q){const F=S.clientX>g.value?"right":"left";p.value=F,g.value=S.clientX}}return Qx({onItemEnter:S=>!!_(S),onItemLeave:S=>{var A;_(S)||((A=v.value)==null||A.focus(),w.value=null)},onTriggerLeave:S=>!!_(S),searchRef:u,pointerGraceTimerRef:f,onPointerGraceIntentChange:S=>{h.value=S}}),(S,A)=>(a.openBlock(),a.createBlock(a.unref(v1),{"as-child":"",trapped:a.unref(s),onMountAutoFocus:E,onUnmountAutoFocus:A[7]||(A[7]=D=>r("closeAutoFocus",D))},{default:a.withCtx(()=>[a.createVNode(a.unref(Ac),{"as-child":"","disable-outside-pointer-events":a.unref(l),onEscapeKeyDown:A[2]||(A[2]=D=>r("escapeKeyDown",D)),onPointerDownOutside:A[3]||(A[3]=D=>r("pointerDownOutside",D)),onFocusOutside:A[4]||(A[4]=D=>r("focusOutside",D)),onInteractOutside:A[5]||(A[5]=D=>r("interactOutside",D)),onDismiss:A[6]||(A[6]=D=>r("dismiss"))},{default:a.withCtx(()=>[a.createVNode(a.unref(Gm),{"current-tab-stop-id":w.value,"onUpdate:currentTabStopId":A[0]||(A[0]=D=>w.value=D),"as-child":"",orientation:"vertical",dir:a.unref(i).dir.value,loop:a.unref(c),onEntryFocus:A[1]||(A[1]=D=>{r("entryFocus",D),a.unref(i).isUsingKeyboardRef.value||D.preventDefault()})},{default:a.withCtx(()=>[a.createVNode(a.unref(E1),{ref:a.unref(k),role:"menu",as:S.as,"as-child":S.asChild,"aria-orientation":"vertical","data-radix-menu-content":"","data-state":a.unref(Pm)(a.unref(o).open.value),dir:a.unref(i).dir.value,side:S.side,"side-offset":S.sideOffset,align:S.align,"align-offset":S.alignOffset,"avoid-collisions":S.avoidCollisions,"collision-boundary":S.collisionBoundary,"collision-padding":S.collisionPadding,"arrow-padding":S.arrowPadding,"prioritize-position":S.prioritizePosition,sticky:S.sticky,"hide-when-detached":S.hideWhenDetached,onKeydown:x,onBlur:O,onPointermove:B},{default:a.withCtx(()=>[a.renderSlot(S.$slots,"default")]),_:3},8,["as","as-child","data-state","dir","side","side-offset","align","align-offset","avoid-collisions","collision-boundary","collision-padding","arrow-padding","prioritize-position","sticky","hide-when-detached"])]),_:3},8,["current-tab-stop-id","dir","loop"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),Nx=a.defineComponent({inheritAttrs:!1,__name:"MenuItemImpl",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(e){const t=e,n=Km(),{forwardRef:r}=Ee(),o=a.ref(!1);async function i(l){if(!l.defaultPrevented&&b1(l)){if(t.disabled)n.onItemLeave(l);else if(!n.onItemEnter(l)){const c=l.currentTarget;c==null||c.focus({preventScroll:!0})}}}async function s(l){await a.nextTick(),!l.defaultPrevented&&b1(l)&&n.onItemLeave(l)}return(l,c)=>(a.openBlock(),a.createBlock(a.unref(Hm),{value:{textValue:l.textValue}},{default:a.withCtx(()=>[a.createVNode(a.unref(Ie),a.mergeProps({ref:a.unref(r),role:"menuitem",tabindex:"-1"},l.$attrs,{as:l.as,"as-child":l.asChild,"data-radix-vue-collection-item":"","aria-disabled":l.disabled||void 0,"data-disabled":l.disabled?"":void 0,"data-highlighted":o.value?"":void 0,onPointermove:i,onPointerleave:s,onFocus:c[0]||(c[0]=async u=>{await a.nextTick(),!(u.defaultPrevented||l.disabled)&&(o.value=!0)}),onBlur:c[1]||(c[1]=async u=>{await a.nextTick(),!u.defaultPrevented&&(o.value=!1)})}),{default:a.withCtx(()=>[a.renderSlot(l.$slots,"default")]),_:3},16,["as","as-child","aria-disabled","data-disabled","data-highlighted"])]),_:3},8,["value"]))}}),$x=a.defineComponent({__name:"MenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(e,{emit:t}){const n=e,r=t,{forwardRef:o,currentElement:i}=Ee(),s=C1(),l=Km(),c=a.ref(!1);async function u(){const d=i.value;if(!n.disabled&&d){const f=new CustomEvent(DE,{bubbles:!0,cancelable:!0});r("select",f),await a.nextTick(),f.defaultPrevented?c.value=!1:s.onClose()}}return(d,f)=>(a.openBlock(),a.createBlock(Nx,a.mergeProps(n,{ref:a.unref(o),onClick:u,onPointerdown:f[0]||(f[0]=()=>{c.value=!0}),onPointerup:f[1]||(f[1]=async h=>{var p;await a.nextTick(),!h.defaultPrevented&&(c.value||(p=h.currentTarget)==null||p.click())}),onKeydown:f[2]||(f[2]=async h=>{const p=a.unref(l).searchRef.value!=="";d.disabled||p&&h.key===" "||a.unref(y1).includes(h.key)&&(h.currentTarget.click(),h.preventDefault())})}),{default:a.withCtx(()=>[a.renderSlot(d.$slots,"default")]),_:3},16))}}),eC=a.defineComponent({__name:"MenuRootContentModal",props:{loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=Yr(n,r),i=Bc(),{forwardRef:s,currentElement:l}=Ee();return h1(l),(c,u)=>(a.openBlock(),a.createBlock(Ym,a.mergeProps(a.unref(o),{ref:a.unref(s),"trap-focus":a.unref(i).open.value,"disable-outside-pointer-events":a.unref(i).open.value,"disable-outside-scroll":!0,onDismiss:u[0]||(u[0]=d=>a.unref(i).onOpenChange(!1)),onFocusOutside:u[1]||(u[1]=a.withModifiers(d=>r("focusOutside",d),["prevent"]))}),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16,["trap-focus","disable-outside-pointer-events"]))}}),tC=a.defineComponent({__name:"MenuRootContentNonModal",props:{loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=Yr(e,t),r=Bc();return(o,i)=>(a.openBlock(),a.createBlock(Ym,a.mergeProps(a.unref(n),{"trap-focus":!1,"disable-outside-pointer-events":!1,"disable-outside-scroll":!1,onDismiss:i[0]||(i[0]=s=>a.unref(r).onOpenChange(!1))}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16))}}),nC=a.defineComponent({__name:"MenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=Yr(e,t),r=Bc(),o=C1();return(i,s)=>(a.openBlock(),a.createBlock(a.unref(lo),{present:i.forceMount||a.unref(r).open.value},{default:a.withCtx(()=>[a.unref(o).modal.value?(a.openBlock(),a.createBlock(eC,a.normalizeProps(a.mergeProps({key:0},{...i.$attrs,...a.unref(n)})),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16)):(a.openBlock(),a.createBlock(tC,a.normalizeProps(a.mergeProps({key:1},{...i.$attrs,...a.unref(n)})),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),rC=a.defineComponent({__name:"MenuPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(Tc),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),aC=["hour","minute","second"];function Jm(e){const{formatter:t}=e,n=n1.map(r=>[r,e.value[r]]);if("hour"in e.value){const r=vm.map(i=>i==="dayPeriod"?[i,t.dayPeriod(zn(e.value))]:[i,e.value[i]]),o=[...n,...r];return Object.fromEntries(o)}return Object.fromEntries(n)}function oC(e){const t=ym.map(n=>n==="dayPeriod"?[n,"AM"]:[n,null]).filter(([n])=>n==="literal"||n===null||e==="minute"&&n==="second"||e==="hour"&&(n==="second"||n==="minute")?!1:e==="day"?!aC.includes(n)&&n!=="dayPeriod":!0);return Object.fromEntries(t)}function iC(e){const{segmentValues:t,formatter:n,locale:r}=e;function o(i){if("hour"in t){const s=t[i];return s!==null?i==="day"&&t.month!==null?n.part(e.dateRef.set({[i]:s,month:t.month}),i,{hourCycle:e.hourCycle===24?"h24":void 0}):n.part(e.dateRef.set({[i]:s}),i,{hourCycle:e.hourCycle===24?"h24":void 0}):t1(i,"",r.value)}else{if(Bk(i)){const s=t[i];return s!==null?i==="day"&&t.month!==null?n.part(e.dateRef.set({[i]:s,month:t.month}),i):n.part(e.dateRef.set({[i]:s}),i):t1(i,"",r.value)}return""}}return Object.keys(t).reduce((i,s)=>{if(!bm(s))return i;if("hour"in t&&s==="dayPeriod"){const l=t[s];l!==null?i[s]=l:i[s]=t1(s,"AM",r.value)}else i[s]=o(s);return i},{})}function sC(e){const{granularity:t,formatter:n,contentObj:r,hideTimeZone:o,hourCycle:i}=e;return n.toParts(e.dateRef,Ik(t,i)).map(s=>["literal","timeZoneName",null].includes(s.type)||!bm(s.type)?{part:s.type,value:s.value}:{part:s.type,value:r[s.type]}).filter(s=>!(s.part===null||s.value===null||s.part==="timeZoneName"&&(!mc(e.dateRef)||o)))}function lC(e){const t=iC(e),n=sC({contentObj:t,...e});return{obj:t,arr:n}}function Ca(e){const t=Ss();return e===t.ARROW_RIGHT||e===t.ARROW_LEFT}function uo(e){return!Number.isNaN(Number.parseInt(e))}function Sa(e){const t=Ss();return!!([t.ENTER,t.ARROW_UP,t.ARROW_DOWN,t.ARROW_LEFT,t.ARROW_RIGHT,t.BACKSPACE,t.SPACE,"a","A","p","P"].includes(e)||uo(e))}function Xm(e){return Array.from(e.querySelectorAll("[data-radix-vue-date-field-segment]")).filter(t=>t.getAttribute("data-radix-vue-date-field-segment")!=="literal")}const cC=["id","value","name","disabled","required"],[uC,dC]=Tt("DateFieldRoot"),fC=a.defineComponent({inheritAttrs:!1,__name:"DateFieldRoot",props:{defaultValue:{default:void 0},defaultPlaceholder:{},placeholder:{default:void 0},modelValue:{},hourCycle:{},granularity:{},hideTimeZone:{type:Boolean},maxValue:{},minValue:{},locale:{default:"en"},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},isDateUnavailable:{type:Function,default:void 0},name:{},required:{type:Boolean},id:{},dir:{},asChild:{type:Boolean},as:{}},emits:["update:modelValue","update:placeholder"],setup(e,{expose:t,emit:n}){const r=e,o=n,{locale:i,disabled:s,readonly:l,isDateUnavailable:c,granularity:u,defaultValue:d,dir:f}=a.toRefs(r),h=Sm(r.locale),p=so(f),{primitiveElement:g,currentElement:w}=Ts(),y=a.ref(new Set);a.onMounted(()=>{Xm(w.value).forEach(Z=>y.value.add(Z))});const k=Yt(r,"modelValue",o,{defaultValue:d.value,passive:r.modelValue===void 0}),v=$f({defaultPlaceholder:r.placeholder,granularity:u.value,defaultValue:k.value,locale:r.locale}),m=Yt(r,"placeholder",o,{defaultValue:r.defaultPlaceholder??v.copy(),passive:r.placeholder===void 0}),b=a.computed(()=>r.granularity?Uf(m.value)?r.granularity:"day":Uf(m.value)?"minute":"day"),_=a.computed(()=>{var Z;return k.value?!!((Z=c.value)!=null&&Z.call(c,k.value)||r.minValue&&ni(k.value,r.minValue)||r.maxValue&&ni(r.maxValue,k.value)):!1}),E=oC(b.value),x=a.ref(k.value?{...Jm({value:k.value,formatter:h})}:{...E}),O=a.computed(()=>lC({granularity:b.value,dateRef:m.value,formatter:h,hideTimeZone:r.hideTimeZone,hourCycle:r.hourCycle,segmentValues:x.value,locale:i})),B=a.computed(()=>O.value.arr),S=a.computed(()=>B.value.filter(({part:Z})=>Z!=="literal"));a.watch(i,Z=>{h.getLocale()!==Z&&(h.setLocale(Z),a.nextTick(()=>{y.value.clear(),Xm(w.value).forEach(z=>y.value.add(z))}))}),a.watch(k,Z=>{!mm(Z)&&m.value.compare(Z)!==0&&(m.value=Z.copy())}),a.watch([k,i],([Z])=>{mm(Z)?Object.values(x.value).every(z=>z!==null)&&Z===void 0&&(x.value={...E}):x.value={...Jm({value:Z,formatter:h})}});const A=a.ref(null),D=a.computed(()=>Array.from(y.value).findIndex(Z=>{var z;return Z.getAttribute("data-radix-vue-date-field-segment")===((z=A.value)==null?void 0:z.getAttribute("data-radix-vue-date-field-segment"))})),q=a.computed(()=>{const Z=p.value==="rtl"?-1:1;return(Z<0?D.value<0:D.value>y.value.size-1)?null:Array.from(y.value)[D.value+Z]}),F=a.computed(()=>{const Z=p.value==="rtl"?-1:1;return(Z>0?D.value<0:D.value>y.value.size-1)?null:Array.from(y.value)[D.value-Z]}),X=Ss();function fe(Z){var z,ne;Ca(Z.key)&&(Z.key===X.ARROW_LEFT&&((z=F.value)==null||z.focus()),Z.key===X.ARROW_RIGHT&&((ne=q.value)==null||ne.focus()))}function ae(Z){A.value=Z}return dC({isDateUnavailable:c.value,locale:i,modelValue:k,placeholder:m,disabled:s,formatter:h,hourCycle:r.hourCycle,readonly:l,segmentValues:x,isInvalid:_,segmentContents:S,elements:y,setFocusedElement:ae,focusNext(){var Z;(Z=q.value)==null||Z.focus()}}),t({setFocusedElement:ae}),(Z,z)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createVNode(a.unref(Ie),a.mergeProps(Z.$attrs,{ref_key:"primitiveElement",ref:g,role:"group","aria-disabled":a.unref(s)?!0:void 0,"data-disabled":a.unref(s)?"":void 0,"data-readonly":a.unref(l)?"":void 0,"data-invalid":_.value?"":void 0,dir:a.unref(p),onKeydown:a.withKeys(fe,["left","right"])}),{default:a.withCtx(()=>[a.renderSlot(Z.$slots,"default",{modelValue:a.unref(k),segments:B.value,isInvalid:_.value})]),_:3},16,["aria-disabled","data-disabled","data-readonly","data-invalid","dir"]),a.createElementVNode("input",{id:Z.id,type:"text",tabindex:"-1","aria-hidden":"true",value:a.unref(k)?a.unref(k).toString():"",name:Z.name,disabled:a.unref(s),required:Z.required,style:{transform:"translateX(-100%)",position:"absolute",pointerEvents:"none",opacity:0,margin:0},onFocus:z[0]||(z[0]=ne=>{var Y,de;return(de=(Y=Array.from(y.value))==null?void 0:Y[0])==null?void 0:de.focus()})},null,40,cC)],64))}});function Ta(e){return{role:"spinbutton",contenteditable:!0,tabindex:e.disabled?void 0:0,spellcheck:!1,inputmode:"numeric",autocorrect:"off",enterkeyhint:"next",style:"caret-color: transparent;"}}function hC(e){const{segmentValues:t,placeholder:n}=e,r=t.day===null,o=t.day?n.set({day:t.day}):n,i=o.day,s=1,l=_r(o),c=r?"Empty":`${i}`;return{...Ta(e),"aria-label":"day,","aria-valuemin":s,"aria-valuemax":l,"aria-valuenow":i,"aria-valuetext":c,"data-placeholder":r?"":void 0}}function pC(e){const{segmentValues:t,placeholder:n,formatter:r}=e,o=t.month===null,i=t.month?n.set({month:t.month}):n,s=i.month,l=1,c=12,u=o?"Empty":`${s} - ${r.fullMonth(zn(i))}`;return{...Ta(e),"aria-label":"month, ",contenteditable:!0,"aria-valuemin":l,"aria-valuemax":c,"aria-valuenow":s,"aria-valuetext":u,"data-placeholder":o?"":void 0}}function mC(e){const{segmentValues:t,placeholder:n}=e,r=t.year===null,o=t.year?n.set({year:t.year}):n,i=1,s=9999,l=o.year,c=r?"Empty":`${l}`;return{...Ta(e),"aria-label":"year, ","aria-valuemin":i,"aria-valuemax":s,"aria-valuenow":l,"aria-valuetext":c,"data-placeholder":r?"":void 0}}function gC(e){const{segmentValues:t,hourCycle:n,placeholder:r}=e;if(!("hour"in t)||!("hour"in r))return{};const o=t.hour===null,i=t.hour?r.set({hour:t.hour}):r,s=n===12?1:0,l=n===12?12:23,c=i.hour,u=o?"Empty":`${c} ${t.dayPeriod??""}`;return{...Ta(e),"aria-label":"hour, ","aria-valuemin":s,"aria-valuemax":l,"aria-valuenow":c,"aria-valuetext":u,"data-placeholder":o?"":void 0}}function vC(e){const{segmentValues:t,placeholder:n}=e;if(!("minute"in t)||!("minute"in n))return{};const r=t.minute===null,o=(t.minute?n.set({minute:t.minute}):n).minute,i=0,s=59,l=r?"Empty":`${o}`;return{...Ta(e),"aria-label":"minute, ","aria-valuemin":i,"aria-valuemax":s,"aria-valuenow":o,"aria-valuetext":l,"data-placeholder":r?"":void 0}}function yC(e){const{segmentValues:t,placeholder:n}=e;if(!("second"in t)||!("second"in n))return{};const r=t.second===null,o=(t.second?n.set({second:t.second}):n).second,i=0,s=59,l=r?"Empty":`${o}`;return{...Ta(e),"aria-label":"second, ","aria-valuemin":i,"aria-valuemax":s,"aria-valuenow":o,"aria-valuetext":l,"data-placeholder":r?"":void 0}}function bC(e){const{segmentValues:t}=e;if(!("dayPeriod"in t))return{};const n=0,r=12,o=t.hour?t.hour>12?t.hour-12:t.hour:0,i=t.dayPeriod??"AM";return{...Ta(e),inputmode:"text","aria-label":"AM/PM","aria-valuemin":n,"aria-valuemax":r,"aria-valuenow":o,"aria-valuetext":i}}function wC(e){return{"aria-hidden":!0,"data-segment":"literal"}}function _C(e){return{role:"textbox","aria-label":"timezone, ","data-readonly":!0,"data-segment":"timeZoneName",tabindex:e.disabled?void 0:0,style:"caret-color: transparent;"}}function kC(e){const{segmentValues:t,placeholder:n}=e,r=0,o=0,i=0,s="era"in t?t.era:n.era;return{...Ta(e),"aria-label":"era","aria-valuemin":r,"aria-valuemax":o,"aria-valuenow":i,"aria-valuetext":s}}const EC={day:{attrs:hC},month:{attrs:pC},year:{attrs:mC},hour:{attrs:gC},minute:{attrs:vC},second:{attrs:yC},dayPeriod:{attrs:bC},literal:{attrs:wC},timeZoneName:{attrs:_C},era:{attrs:kC}};function xC(e){const t=Ss();function n({e:m,part:b,dateRef:_,prevValue:E}){const x=m.key===t.ARROW_UP?1:-1,O=0,B=59;if(E===null)return x>0?O:B;const S=[b,x];return _.set({[b]:E}).cycle(...S)[b]}function r(m){if(e.hasLeftFocus.value=!1,m===null)return m;const b=m.toString();return b.length===1?(e.modelValue.value=void 0,null):Number.parseInt(b.slice(0,-1))}function o({e:m,part:b,dateRef:_,prevValue:E,hourCycle:x}){const O=m.key===t.ARROW_UP?1:-1;if(E===null)return _[b];if(b==="hour"&&"hour"in _){const S=[b,O,{hourCycle:x}];return _.set({[b]:E}).cycle(...S)[b]}const B=[b,O];return b==="day"&&e.segmentValues.value.month!==null?_.set({[b]:E,month:e.segmentValues.value.month}).cycle(...B)[b]:_.set({[b]:E}).cycle(...B)[b]}function i(m,b,_){let E=!1;const x=Math.floor(m/10);if(e.hasLeftFocus.value&&(e.hasLeftFocus.value=!1,_=null),_===null)return b===0?(e.lastKeyZero.value=!0,{value:null,moveToNext:E}):((e.lastKeyZero.value||b>x)&&(E=!0),e.lastKeyZero.value=!1,{value:b,moveToNext:E});const O=_.toString().length,B=Number.parseInt(_.toString()+b.toString());return O===2||B>m?((b>x||B>m)&&(E=!0),{value:b,moveToNext:E}):(E=!0,{value:B,moveToNext:E})}function s(m,b){let _=!1;const E=Math.floor(59/10);if(e.hasLeftFocus.value&&(e.hasLeftFocus.value=!1,b=null),b===null)return m===0?(e.lastKeyZero.value=!0,{value:0,moveToNext:_}):((e.lastKeyZero.value||m>E)&&(_=!0),e.lastKeyZero.value=!1,{value:m,moveToNext:_});const x=b.toString().length,O=Number.parseInt(b.toString()+m.toString());return x===2||O>59?(m>E&&(_=!0),{value:m,moveToNext:_}):(_=!0,{value:O,moveToNext:_})}function l(m,b){let _=!1;const E=Math.floor(24/10);if(e.hasLeftFocus.value&&(e.hasLeftFocus.value=!1,b=null),b===null)return m===0?(e.lastKeyZero.value=!0,{value:0,moveToNext:_}):((e.lastKeyZero.value||m>E)&&(_=!0),e.lastKeyZero.value=!1,{value:m,moveToNext:_});const x=b.toString().length,O=Number.parseInt(b.toString()+m.toString());return x===2||O>24?(m>E&&(_=!0),{value:m,moveToNext:_}):(_=!0,{value:O,moveToNext:_})}function c(m,b){let _=!1;if(e.hasLeftFocus.value&&(e.hasLeftFocus.value=!1,b=null),b===null)return{value:m===0?1:m,moveToNext:_};const E=b.toString()+m.toString();return E.length>4?{value:m===0?1:m,moveToNext:_}:(E.length===4&&(_=!0),{value:Number.parseInt(E),moveToNext:_})}const u=a.computed(()=>{var m;return((m=EC[e.part])==null?void 0:m.attrs({disabled:e.disabled.value,placeholder:e.placeholder.value,hourCycle:e.hourCycle,segmentValues:e.segmentValues.value,formatter:e.formatter}))??{}});function d(m){if(!Sa(m.key)||Ca(m.key))return;const b=e.segmentValues.value.day;if(m.key===t.ARROW_DOWN||m.key===t.ARROW_UP){e.segmentValues.value.day=o({e:m,part:"day",dateRef:e.placeholder.value,prevValue:b});return}if(uo(m.key)){const _=Number.parseInt(m.key),E=e.segmentValues.value.month,x=_r(E?e.placeholder.value.set({month:E}):e.placeholder.value),{value:O,moveToNext:B}=i(x,_,b);e.segmentValues.value.day=O,B&&e.focusNext()}m.key===t.BACKSPACE&&(e.hasLeftFocus.value=!1,e.segmentValues.value.day=r(b))}function f(m){if(!Sa(m.key)||Ca(m.key))return;const b=e.segmentValues.value.month;if(m.key===t.ARROW_DOWN||m.key===t.ARROW_UP){e.segmentValues.value.month=o({e:m,part:"month",dateRef:e.placeholder.value,prevValue:b});return}if(uo(m.key)){const _=Number.parseInt(m.key),{value:E,moveToNext:x}=i(12,_,b);e.segmentValues.value.month=E,x&&e.focusNext()}m.key===t.BACKSPACE&&(e.hasLeftFocus.value=!1,e.segmentValues.value.month=r(b))}function h(m){if(!Sa(m.key)||Ca(m.key))return;const b=e.segmentValues.value.year;if(m.key===t.ARROW_DOWN||m.key===t.ARROW_UP){e.segmentValues.value.year=o({e:m,part:"year",dateRef:e.placeholder.value,prevValue:b});return}if(uo(m.key)){const _=Number.parseInt(m.key),{value:E,moveToNext:x}=c(_,b);e.segmentValues.value.year=E,x&&e.focusNext()}m.key===t.BACKSPACE&&(e.hasLeftFocus.value=!1,e.segmentValues.value.year=r(b))}function p(m){const b=e.placeholder.value;if(!Sa(m.key)||Ca(m.key)||!("hour"in b)||!("hour"in e.segmentValues.value))return;const _=e.segmentValues.value.hour,E=e.hourCycle;if(m.key===t.ARROW_UP||m.key===t.ARROW_DOWN){e.segmentValues.value.hour=o({e:m,part:"hour",dateRef:e.placeholder.value,prevValue:_,hourCycle:E}),"dayPeriod"in e.segmentValues.value&&(e.segmentValues.value.hour<12?e.segmentValues.value.dayPeriod="AM":e.segmentValues.value.hour&&(e.segmentValues.value.dayPeriod="PM"));return}if(uo(m.key)){const x=Number.parseInt(m.key),{value:O,moveToNext:B}=l(x,_);"dayPeriod"in e.segmentValues.value&&O&&O>12?e.segmentValues.value.dayPeriod="PM":"dayPeriod"in e.segmentValues.value&&O&&(e.segmentValues.value.dayPeriod="AM"),e.segmentValues.value.hour=O,B&&e.focusNext()}m.key===t.BACKSPACE&&(e.hasLeftFocus.value=!1,e.segmentValues.value.hour=r(_))}function g(m){const b=e.placeholder.value;if(!Sa(m.key)||Ca(m.key)||!("minute"in b)||!("minute"in e.segmentValues.value))return;const _=e.segmentValues.value.minute;if(e.segmentValues.value.minute=n({e:m,part:"minute",dateRef:e.placeholder.value,prevValue:_}),uo(m.key)){const E=Number.parseInt(m.key),{value:x,moveToNext:O}=s(E,_);e.segmentValues.value.minute=x,O&&e.focusNext()}m.key===t.BACKSPACE&&(e.hasLeftFocus.value=!1,e.segmentValues.value.minute=r(_))}function w(m){const b=e.placeholder.value;if(!Sa(m.key)||Ca(m.key)||!("second"in b)||!("second"in e.segmentValues.value))return;const _=e.segmentValues.value.second;if(e.segmentValues.value.second=n({e:m,part:"second",dateRef:e.placeholder.value,prevValue:_}),uo(m.key)){const E=Number.parseInt(m.key),{value:x,moveToNext:O}=s(E,_);e.segmentValues.value.second=x,O&&e.focusNext()}m.key===t.BACKSPACE&&(e.hasLeftFocus.value=!1,e.segmentValues.value.second=r(_))}function y(m){if(!((!Sa(m.key)||Ca(m.key))&&m.key!=="a"&&m.key!=="p"||!("hour"in e.placeholder.value)||!("dayPeriod"in e.segmentValues.value))){if(m.key===t.ARROW_UP||m.key===t.ARROW_DOWN){if(e.segmentValues.value.dayPeriod==="AM"){e.segmentValues.value.dayPeriod="PM",e.segmentValues.value.hour=e.segmentValues.value.hour+12;return}e.segmentValues.value.dayPeriod="AM",e.segmentValues.value.hour=e.segmentValues.value.hour-12;return}if(["a","A"].includes(m.key)&&e.segmentValues.value.dayPeriod!=="AM"){e.segmentValues.value.dayPeriod="AM",e.segmentValues.value.hour=e.segmentValues.value.hour-12;return}["p","P"].includes(m.key)&&e.segmentValues.value.dayPeriod!=="PM"&&(e.segmentValues.value.dayPeriod="PM",e.segmentValues.value.hour=e.segmentValues.value.hour+12)}}function k(m){e.disabled.value&&m.preventDefault()}function v(m){const b=e.disabled.value,_=e.readonly.value;if(m.key!==t.TAB&&m.preventDefault(),!(b||_)&&({day:d,month:f,year:h,hour:p,minute:g,second:w,dayPeriod:y,timeZoneName:()=>{}}[e.part](m),![t.ARROW_LEFT,t.ARROW_RIGHT].includes(m.key)&&m.key!==t.TAB&&m.key!==t.SHIFT&&Sa(m.key)&&Object.values(e.segmentValues.value).every(E=>E!==null))){const E={...e.segmentValues.value};let x=e.placeholder.value.copy();Object.keys(E).forEach(O=>{const B=E[O];x=x.set({[O]:B})}),e.modelValue.value=x.copy()}}return{handleSegmentClick:k,handleSegmentKeydown:v,attributes:u}}const CC=a.defineComponent({__name:"DateFieldInput",props:{part:{},asChild:{type:Boolean},as:{}},setup(e){const t=e,n=uC(),r=a.ref(!0),o=a.ref(!1),{handleSegmentClick:i,handleSegmentKeydown:s,attributes:l}=xC({hasLeftFocus:r,lastKeyZero:o,placeholder:n.placeholder,hourCycle:n.hourCycle,segmentValues:n.segmentValues,formatter:n.formatter,part:t.part,disabled:n.disabled,readonly:n.readonly,focusNext:n.focusNext,modelValue:n.modelValue}),c=a.computed(()=>n.disabled.value),u=a.computed(()=>n.readonly.value),d=a.computed(()=>n.isInvalid.value);return(f,h)=>(a.openBlock(),a.createBlock(a.unref(Ie),a.mergeProps({as:f.as,"as-child":f.asChild},a.unref(l),{contenteditable:c.value||u.value?!1:f.part!=="literal","data-radix-vue-date-field-segment":f.part,"aria-disabled":c.value?!0:void 0,"aria-readonly":u.value?!0:void 0,"data-disabled":c.value?"":void 0,"data-invalid":d.value?"":void 0,"aria-invalid":d.value?!0:void 0},a.toHandlers(f.part!=="literal"?{mousedown:a.unref(i),keydown:a.unref(s),focusout:()=>{r.value=!0},focusin:p=>{a.unref(n).setFocusedElement(p.target)}}:{})),{default:a.withCtx(()=>[a.renderSlot(f.$slots,"default")]),_:3},16,["as","as-child","contenteditable","data-radix-vue-date-field-segment","aria-disabled","aria-readonly","data-disabled","data-invalid","aria-invalid"]))}}),SC=a.defineComponent({__name:"DatePickerHeader",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(sx),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),TC=a.defineComponent({__name:"DatePickerHeading",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(lx),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(({headingValue:o})=>[a.renderSlot(n.$slots,"default",{headingValue:o},()=>[a.createTextVNode(a.toDisplayString(o),1)])]),_:3},16))}}),AC=a.defineComponent({__name:"DatePickerGrid",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(cx),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),OC=a.defineComponent({__name:"DatePickerCell",props:{date:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(ux),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),BC=a.defineComponent({__name:"DatePickerHeadCell",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(dx),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),IC=a.defineComponent({__name:"DatePickerNext",props:{step:{},nextPage:{type:Function},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(fx),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),VC=a.defineComponent({__name:"DatePickerPrev",props:{step:{},prevPage:{type:Function},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(hx),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),RC=a.defineComponent({__name:"DatePickerGridHead",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(px),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),DC=a.defineComponent({__name:"DatePickerGridBody",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(mx),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),Qm=a.defineComponent({__name:"DatePickerGridRow",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(gx),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),MC=a.defineComponent({__name:"DatePickerCellTrigger",props:{day:{},month:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(vx),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),Nm=a.defineComponent({__name:"DatePickerInput",props:{part:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(CC),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),[S1,PC]=Tt("DatePickerRoot"),LC=a.defineComponent({inheritAttrs:!1,__name:"DatePickerRoot",props:{defaultValue:{default:void 0},defaultPlaceholder:{},placeholder:{default:void 0},modelValue:{},hourCycle:{},granularity:{},hideTimeZone:{type:Boolean},maxValue:{},minValue:{},locale:{default:"en"},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},isDateUnavailable:{type:Function,default:void 0},name:{},required:{type:Boolean},id:{},dir:{},asChild:{type:Boolean},as:{},defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},modal:{type:Boolean,default:!1},isDateDisabled:{type:Function,default:void 0},pagedNavigation:{type:Boolean,default:!1},weekStartsOn:{default:0},weekdayFormat:{default:"narrow"},fixedWeeks:{type:Boolean,default:!1},numberOfMonths:{default:1},preventDeselect:{type:Boolean,default:!1}},emits:["update:modelValue","update:placeholder","update:open"],setup(e,{emit:t}){const n=e,r=t,{locale:o,disabled:i,readonly:s,pagedNavigation:l,weekStartsOn:c,weekdayFormat:u,fixedWeeks:d,numberOfMonths:f,preventDeselect:h,isDateDisabled:p,isDateUnavailable:g,defaultOpen:w,modal:y,id:k,name:v,required:m,minValue:b,maxValue:_,granularity:E,hideTimeZone:x,hourCycle:O,defaultValue:B,dir:S}=a.toRefs(n),A=so(S),D=Yt(n,"modelValue",r,{defaultValue:B.value,passive:n.modelValue===void 0}),q=a.computed(()=>$f({defaultPlaceholder:n.placeholder,granularity:n.granularity,defaultValue:D.value,locale:n.locale})),F=Yt(n,"placeholder",r,{defaultValue:n.defaultPlaceholder??q.value.copy(),passive:n.placeholder===void 0}),X=Yt(n,"open",r,{defaultValue:w.value,passive:n.open===void 0}),fe=a.ref();return a.watch(D,ae=>{ae&&ae.compare(F.value)!==0&&(F.value=ae.copy())}),PC({isDateUnavailable:g.value,isDateDisabled:p.value,locale:o,disabled:i,pagedNavigation:l,weekStartsOn:c,weekdayFormat:u,fixedWeeks:d,numberOfMonths:f,readonly:s,preventDeselect:h,modelValue:D,placeholder:F,defaultOpen:w,modal:y,open:X,id:k,name:v,required:m,minValue:b,maxValue:_,granularity:E,hideTimeZone:x,hourCycle:O,dateFieldRef:fe,dir:A,onDateChange(ae){!ae||!D.value?D.value=(ae==null?void 0:ae.copy())??void 0:!h.value&&ae&&D.value.compare(ae)===0?D.value=void 0:D.value=ae.copy()},onPlaceholderChange(ae){F.value=ae.copy()}}),(ae,Z)=>(a.openBlock(),a.createBlock(a.unref(JC),{open:a.unref(X),"onUpdate:open":Z[0]||(Z[0]=z=>a.isRef(X)?X.value=z:null),"default-open":a.unref(w),modal:a.unref(y)},{default:a.withCtx(()=>[a.renderSlot(ae.$slots,"default")]),_:3},8,["open","default-open","modal"]))}}),FC=a.defineComponent({__name:"DatePickerCalendar",setup(e){const t=S1();return(n,r)=>(a.openBlock(),a.createBlock(a.unref(ix),a.mergeProps({isDateDisabled:a.unref(t).isDateDisabled,isDateUnavailable:a.unref(t).isDateUnavailable,minValue:a.unref(t).minValue.value,maxValue:a.unref(t).maxValue.value,locale:a.unref(t).locale.value,disabled:a.unref(t).disabled.value,pagedNavigation:a.unref(t).pagedNavigation.value,weekStartsOn:a.unref(t).weekStartsOn.value,weekdayFormat:a.unref(t).weekdayFormat.value,fixedWeeks:a.unref(t).fixedWeeks.value,numberOfMonths:a.unref(t).numberOfMonths.value,readonly:a.unref(t).readonly.value,preventDeselect:a.unref(t).preventDeselect.value,dir:a.unref(t).dir.value},{"model-value":a.unref(t).modelValue.value,placeholder:a.unref(t).placeholder.value,"initial-focus":"",multiple:!1,"onUpdate:modelValue":r[0]||(r[0]=o=>{o&&a.unref(t).modelValue.value&&a.unref(ms)(o,a.unref(t).modelValue.value)||a.unref(t).onDateChange(o)}),"onUpdate:placeholder":r[1]||(r[1]=o=>{a.unref(ms)(o,a.unref(t).placeholder.value)||a.unref(t).onPlaceholderChange(o)})}),{default:a.withCtx(({weekDays:o,grid:i,date:s,weekStartsOn:l,locale:c,fixedWeeks:u})=>[a.renderSlot(n.$slots,"default",{date:s,grid:i,weekDays:o,weekStartsOn:l,locale:c,fixedWeeks:u})]),_:3},16,["model-value","placeholder"]))}}),UC=a.defineComponent({__name:"DatePickerField",setup(e){const t=S1();return(n,r)=>(a.openBlock(),a.createBlock(a.unref(fC),a.mergeProps({ref:a.unref(t).dateFieldRef,"model-value":a.unref(t).modelValue.value,placeholder:a.unref(t).placeholder.value},{id:a.unref(t).id.value,name:a.unref(t).name.value,disabled:a.unref(t).disabled.value,minValue:a.unref(t).minValue.value,maxValue:a.unref(t).maxValue.value,readonly:a.unref(t).readonly.value,hourCycle:a.unref(t).hourCycle.value,granularity:a.unref(t).granularity.value,hideTimeZone:a.unref(t).hideTimeZone.value,locale:a.unref(t).locale.value,isDateUnavailable:a.unref(t).isDateUnavailable,required:a.unref(t).required.value,dir:a.unref(t).dir.value},{"onUpdate:modelValue":r[0]||(r[0]=o=>{o&&a.unref(t).modelValue.value&&o.compare(a.unref(t).modelValue.value)===0||a.unref(t).onDateChange(o)}),"onUpdate:placeholder":r[1]||(r[1]=o=>{o.compare(a.unref(t).placeholder.value)!==0&&a.unref(t).onPlaceholderChange(o)})}),{default:a.withCtx(({segments:o,modelValue:i})=>[a.renderSlot(n.$slots,"default",{segments:o,modelValue:i})]),_:3},16,["model-value","placeholder"]))}}),ZC=a.defineComponent({__name:"DatePickerArrow",props:{width:{},height:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(tS),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),zC=a.defineComponent({__name:"DatePickerTrigger",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e,n=S1();return(r,o)=>(a.openBlock(),a.createBlock(a.unref(XC),a.mergeProps({"data-radix-vue-date-field-segment":"trigger"},t,{disabled:a.unref(n).disabled.value,onFocusin:o[0]||(o[0]=i=>{var s;(s=a.unref(n).dateFieldRef.value)==null||s.setFocusedElement(i.target)})}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["disabled"]))}}),jC=a.defineComponent({__name:"DatePickerContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=Yr(e,t);return(r,o)=>(a.openBlock(),a.createBlock(a.unref(QC),null,{default:a.withCtx(()=>[a.createVNode(a.unref(eS),a.normalizeProps(a.guardReactiveProps({...a.unref(n),...r.$attrs})),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16)]),_:3}))}}),[$m,HC]=Tt("DropdownMenuRoot"),qC=a.defineComponent({__name:"DropdownMenuRoot",props:{defaultOpen:{type:Boolean},open:{type:Boolean,default:void 0},dir:{},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=t;Ee();const o=Yt(n,"open",r,{defaultValue:n.defaultOpen,passive:n.open===void 0}),i=a.ref(),{modal:s,dir:l}=a.toRefs(n),c=so(l);return HC({open:o,onOpenChange:u=>{o.value=u},onOpenToggle:()=>{o.value=!o.value},triggerId:"",triggerElement:i,contentId:"",modal:s,dir:c}),(u,d)=>(a.openBlock(),a.createBlock(a.unref(zx),{open:a.unref(o),"onUpdate:open":d[0]||(d[0]=f=>a.isRef(o)?o.value=f:null),dir:a.unref(c),modal:a.unref(s)},{default:a.withCtx(()=>[a.renderSlot(u.$slots,"default",{open:a.unref(o)})]),_:3},8,["open","dir","modal"]))}}),WC=a.defineComponent({__name:"DropdownMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=$m(),{forwardRef:r,currentElement:o}=Ee();return a.onMounted(()=>{n.triggerElement=o}),n.triggerId||(n.triggerId=Ea(void 0,"radix-vue-dropdown-menu-trigger")),(i,s)=>(a.openBlock(),a.createBlock(a.unref(Px),{"as-child":""},{default:a.withCtx(()=>[a.createVNode(a.unref(Ie),{id:a.unref(n).triggerId,ref:a.unref(r),type:i.as==="button"?"button":void 0,"as-child":t.asChild,as:i.as,"aria-haspopup":"menu","aria-expanded":a.unref(n).open.value,"aria-controls":a.unref(n).open.value?a.unref(n).contentId:void 0,"data-disabled":i.disabled?"":void 0,disabled:i.disabled,"data-state":a.unref(n).open.value?"open":"closed",onClick:s[0]||(s[0]=async l=>{var c;!i.disabled&&l.button===0&&l.ctrlKey===!1&&((c=a.unref(n))==null||c.onOpenToggle(),await a.nextTick(),a.unref(n).open.value&&l.preventDefault())}),onKeydown:s[1]||(s[1]=a.withKeys(l=>{i.disabled||(["Enter"," "].includes(l.key)&&a.unref(n).onOpenToggle(),l.key==="ArrowDown"&&a.unref(n).onOpenChange(!0),["Enter"," ","ArrowDown"].includes(l.key)&&l.preventDefault())},["enter","space","arrow-down"]))},{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},8,["id","type","as-child","as","aria-expanded","aria-controls","data-disabled","disabled","data-state"])]),_:3}))}}),GC=a.defineComponent({__name:"DropdownMenuPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(rC),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),KC=a.defineComponent({__name:"DropdownMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(e,{emit:t}){const n=Yr(e,t);Ee();const r=$m(),o=a.ref(!1);function i(s){s.defaultPrevented||(o.value||setTimeout(()=>{var l;(l=r.triggerElement.value)==null||l.focus()},0),o.value=!1,s.preventDefault())}return r.contentId||(r.contentId=Ea(void 0,"radix-vue-dropdown-menu-content")),(s,l)=>{var c;return a.openBlock(),a.createBlock(a.unref(nC),a.mergeProps(a.unref(n),{id:a.unref(r).contentId,"aria-labelledby":(c=a.unref(r))==null?void 0:c.triggerId,style:{"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"},onCloseAutoFocus:i,onInteractOutside:l[0]||(l[0]=u=>{var d;if(u.defaultPrevented)return;const f=u.detail.originalEvent,h=f.button===0&&f.ctrlKey===!0,p=f.button===2||h;(!a.unref(r).modal.value||p)&&(o.value=!0),(d=a.unref(r).triggerElement.value)!=null&&d.contains(u.target)&&u.preventDefault()})}),{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default")]),_:3},16,["id","aria-labelledby"])}}}),Rs=a.defineComponent({__name:"DropdownMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(e,{emit:t}){const n=e,r=Cs(t);return Ee(),(o,i)=>(a.openBlock(),a.createBlock(a.unref($x),a.normalizeProps(a.guardReactiveProps({...n,...a.unref(r)})),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16))}}),[Ds,YC]=Tt("PopoverRoot"),JC=a.defineComponent({__name:"PopoverRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},modal:{type:Boolean,default:!1}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=t,{modal:o}=a.toRefs(n),i=Yt(n,"open",r,{defaultValue:n.defaultOpen,passive:n.open===void 0}),s=a.ref(),l=a.ref(!1);return YC({contentId:"",modal:o,open:i,onOpenChange:c=>{i.value=c},onOpenToggle:()=>{i.value=!i.value},triggerElement:s,hasCustomAnchor:l}),(c,u)=>(a.openBlock(),a.createBlock(a.unref(w1),null,{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default",{open:a.unref(i)})]),_:3}))}}),XC=a.defineComponent({__name:"PopoverTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=Ds(),{forwardRef:r,currentElement:o}=Ee();return a.onMounted(()=>{n.triggerElement.value=o.value}),(i,s)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(n).hasCustomAnchor.value?a.unref(Ie):a.unref(_1)),{"as-child":""},{default:a.withCtx(()=>[a.createVNode(a.unref(Ie),{ref:a.unref(r),type:i.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":a.unref(n).open.value,"aria-controls":a.unref(n).contentId,"data-state":a.unref(n).open.value?"open":"closed",as:i.as,"as-child":t.asChild,onClick:a.unref(n).onOpenToggle},{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},8,["type","aria-expanded","aria-controls","data-state","as","as-child","onClick"])]),_:3}))}}),QC=a.defineComponent({__name:"PopoverPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(Tc),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),e4=a.defineComponent({__name:"PopoverContentImpl",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=d1(n),{forwardRef:i}=Ee(),s=Ds();return Tm(),(l,c)=>(a.openBlock(),a.createBlock(a.unref(v1),{"as-child":"",loop:"",trapped:l.trapFocus,onMountAutoFocus:c[5]||(c[5]=u=>r("openAutoFocus",u)),onUnmountAutoFocus:c[6]||(c[6]=u=>r("closeAutoFocus",u))},{default:a.withCtx(()=>[a.createVNode(a.unref(Ac),{"as-child":"","disable-outside-pointer-events":l.disableOutsidePointerEvents,onPointerDownOutside:c[0]||(c[0]=u=>r("pointerDownOutside",u)),onInteractOutside:c[1]||(c[1]=u=>r("interactOutside",u)),onEscapeKeyDown:c[2]||(c[2]=u=>r("escapeKeyDown",u)),onFocusOutside:c[3]||(c[3]=u=>r("focusOutside",u)),onDismiss:c[4]||(c[4]=u=>a.unref(s).onOpenChange(!1))},{default:a.withCtx(()=>[a.createVNode(a.unref(E1),a.mergeProps(a.unref(o),{id:a.unref(s).contentId,ref:a.unref(i),"data-state":a.unref(s).open.value?"open":"closed",role:"dialog",style:{"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:a.withCtx(()=>[a.renderSlot(l.$slots,"default")]),_:3},16,["id","data-state"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),NC=a.defineComponent({__name:"PopoverContentModal",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=Ds(),i=a.ref(!1);l1(!0);const s=Yr(n,r),{forwardRef:l,currentElement:c}=Ee();return h1(c),(u,d)=>(a.openBlock(),a.createBlock(e4,a.mergeProps(a.unref(s),{ref:a.unref(l),"trap-focus":a.unref(o).open.value,"disable-outside-pointer-events":"",onCloseAutoFocus:d[0]||(d[0]=a.withModifiers(f=>{var h;r("closeAutoFocus",f),i.value||(h=a.unref(o).triggerElement.value)==null||h.focus()},["prevent"])),onPointerDownOutside:d[1]||(d[1]=f=>{r("pointerDownOutside",f);const h=f.detail.originalEvent,p=h.button===0&&h.ctrlKey===!0,g=h.button===2||p;i.value=g}),onFocusOutside:d[2]||(d[2]=a.withModifiers(()=>{},["prevent"]))}),{default:a.withCtx(()=>[a.renderSlot(u.$slots,"default")]),_:3},16,["trap-focus"]))}}),$C=a.defineComponent({__name:"PopoverContentNonModal",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=Ds(),i=a.ref(!1),s=a.ref(!1),l=Yr(n,r);return(c,u)=>(a.openBlock(),a.createBlock(e4,a.mergeProps(a.unref(l),{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:u[0]||(u[0]=d=>{var f;r("closeAutoFocus",d),d.defaultPrevented||(i.value||(f=a.unref(o).triggerElement.value)==null||f.focus(),d.preventDefault()),i.value=!1,s.value=!1}),onInteractOutside:u[1]||(u[1]=async d=>{var f;r("interactOutside",d),d.defaultPrevented||(i.value=!0,d.detail.originalEvent.type==="pointerdown"&&(s.value=!0));const h=d.target;(f=a.unref(o).triggerElement.value)!=null&&f.contains(h)&&d.preventDefault(),d.detail.originalEvent.type==="focusin"&&s.value&&d.preventDefault()})}),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16))}}),eS=a.defineComponent({__name:"PopoverContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=Ds(),i=Yr(n,r),{forwardRef:s}=Ee();return o.contentId||(o.contentId=Ea(void 0,"radix-vue-popover-content")),(l,c)=>(a.openBlock(),a.createBlock(a.unref(lo),{present:l.forceMount||a.unref(o).open.value},{default:a.withCtx(()=>[a.unref(o).modal.value?(a.openBlock(),a.createBlock(NC,a.mergeProps({key:0},a.unref(i),{ref:a.unref(s)}),{default:a.withCtx(()=>[a.renderSlot(l.$slots,"default")]),_:3},16)):(a.openBlock(),a.createBlock($C,a.mergeProps({key:1},a.unref(i),{ref:a.unref(s)}),{default:a.withCtx(()=>[a.renderSlot(l.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),tS=a.defineComponent({__name:"PopoverArrow",props:{width:{default:10},height:{default:5},asChild:{type:Boolean},as:{default:"svg"}},setup(e){const t=e;return Ee(),(n,r)=>(a.openBlock(),a.createBlock(a.unref(jm),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),[nS,rS]=Tt("RadioGroupRoot"),Ic=a.defineComponent({__name:"RadioGroupRoot",props:{modelValue:{},defaultValue:{},disabled:{type:Boolean,default:!1},name:{},required:{type:Boolean,default:!1},orientation:{default:void 0},dir:{},loop:{type:Boolean,default:!0},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,{forwardRef:o}=Ee(),i=Yt(n,"modelValue",r,{defaultValue:n.defaultValue,passive:n.modelValue===void 0}),{disabled:s,loop:l,orientation:c,name:u,required:d,dir:f}=a.toRefs(n),h=so(f);return rS({modelValue:i,changeModelValue:p=>{i.value=p},disabled:s,loop:l,orientation:c,name:u==null?void 0:u.value,required:d}),(p,g)=>(a.openBlock(),a.createBlock(a.unref(Gm),{"as-child":"",orientation:a.unref(c),dir:a.unref(h),loop:a.unref(l)},{default:a.withCtx(()=>[a.createVNode(a.unref(Ie),{ref:a.unref(o),role:"radiogroup","data-disabled":a.unref(s)?"":void 0,"as-child":p.asChild,as:p.as,required:a.unref(d),"aria-orientation":a.unref(c),"aria-required":a.unref(d),dir:a.unref(h),name:a.unref(u)},{default:a.withCtx(()=>[a.renderSlot(p.$slots,"default",{modelValue:a.unref(i)})]),_:3},8,["data-disabled","as-child","as","required","aria-orientation","aria-required","dir","name"])]),_:3},8,["orientation","dir","loop"]))}}),aS=["value","checked","name","disabled","required"],oS=a.defineComponent({__name:"Radio",props:{id:{},value:{},disabled:{type:Boolean,default:!1},required:{type:Boolean},checked:{type:Boolean,default:void 0},name:{},asChild:{type:Boolean},as:{default:"button"}},emits:["update:checked"],setup(e,{emit:t}){const n=e,r=Yt(n,"checked",t,{passive:n.checked===void 0}),{value:o}=a.toRefs(n),{forwardRef:i,currentElement:s}=Ee(),l=u1(s),c=a.computed(()=>{var d;return n.id&&s.value?((d=document.querySelector(`[for="${n.id}"]`))==null?void 0:d.innerText)??n.value:void 0});function u(d){r.value=!0,l.value&&d.stopPropagation()}return(d,f)=>(a.openBlock(),a.createBlock(a.unref(Ie),a.mergeProps(d.$attrs,{id:d.id,ref:a.unref(i),role:"radio",type:d.as==="button"?"button":void 0,as:d.as,"aria-checked":a.unref(r),"aria-label":c.value,"as-child":d.asChild,disabled:d.disabled?"":void 0,"data-state":a.unref(r)?"checked":"unchecked","data-disabled":d.disabled?"":void 0,value:a.unref(o),required:d.required,name:d.name,onClick:a.withModifiers(u,["stop"])}),{default:a.withCtx(()=>[a.renderSlot(d.$slots,"default",{checked:a.unref(r)}),a.unref(l)?(a.openBlock(),a.createElementBlock("input",{key:0,type:"radio",tabindex:"-1","aria-hidden":"true",value:a.unref(o),checked:!!a.unref(r),name:d.name,disabled:d.disabled,required:d.required,style:{transform:"translateX(-100%)",position:"absolute",pointerEvents:"none",opacity:0,margin:0}},null,8,aS)):a.createCommentVNode("",!0)]),_:3},16,["id","type","as","aria-checked","aria-label","as-child","disabled","data-state","data-disabled","value","required","name"]))}}),[iS,sS]=Tt("RadioGroupItem"),ci=a.defineComponent({inheritAttrs:!1,__name:"RadioGroupItem",props:{id:{},value:{},disabled:{type:Boolean,default:!1},required:{type:Boolean},name:{},asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,{forwardRef:n,currentElement:r}=Ee(),o=nS(),i=a.computed(()=>o.disabled.value||t.disabled),s=a.computed(()=>o.required.value||t.required),l=a.computed(()=>{var f;return((f=o.modelValue)==null?void 0:f.value)===t.value});sS({disabled:i,checked:l});const c=a.ref(!1),u=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"];ka("keydown",f=>{u.includes(f.key)&&(c.value=!0)}),ka("keyup",()=>{c.value=!1});function d(){setTimeout(()=>{var f;c.value&&((f=r.value)==null||f.click())},0)}return(f,h)=>(a.openBlock(),a.createBlock(a.unref(Xx),{checked:l.value,disabled:i.value,"as-child":"",focusable:!i.value,active:l.value},{default:a.withCtx(()=>[a.createVNode(oS,a.mergeProps({...f.$attrs,...t},{ref:a.unref(n),checked:l.value,required:s.value,disabled:i.value,"onUpdate:checked":h[0]||(h[0]=p=>a.unref(o).changeModelValue(f.value)),onKeydown:h[1]||(h[1]=a.withKeys(a.withModifiers(()=>{},["prevent"]),["enter"])),onFocus:d}),{default:a.withCtx(()=>[a.renderSlot(f.$slots,"default")]),_:3},16,["checked","required","disabled"])]),_:3},8,["checked","disabled","focusable","active"]))}}),Vc=a.defineComponent({__name:"RadioGroupIndicator",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(e){const{forwardRef:t}=Ee(),n=iS();return(r,o)=>(a.openBlock(),a.createBlock(a.unref(lo),{present:r.forceMount||a.unref(n).checked.value},{default:a.withCtx(()=>[a.createVNode(a.unref(Ie),a.mergeProps({ref:a.unref(t),"data-state":a.unref(n).checked.value?"checked":"unchecked","data-disabled":a.unref(n).disabled.value?"":void 0,"as-child":r.asChild,as:r.as},r.$attrs),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["data-state","data-disabled","as-child","as"])]),_:3},8,["present"]))}});function lS(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}lS();const cS=["name","disabled","required","value","checked","data-state","data-disabled"],[uS,dS]=Tt("SwitchRoot"),fS=a.defineComponent({__name:"SwitchRoot",props:{defaultChecked:{type:Boolean},checked:{type:Boolean,default:void 0},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},value:{default:"on"},asChild:{type:Boolean},as:{default:"button"}},emits:["update:checked"],setup(e,{emit:t}){const n=e,r=t,{disabled:o}=a.toRefs(n),i=Yt(n,"checked",r,{defaultValue:n.defaultChecked,passive:n.checked===void 0});function s(){o.value||(i.value=!i.value)}const{forwardRef:l,currentElement:c}=Ee(),u=u1(c),d=a.computed(()=>{var f;return n.id&&c.value?(f=document.querySelector(`[for="${n.id}"]`))==null?void 0:f.innerText:void 0});return dS({checked:i,toggleCheck:s,disabled:o}),(f,h)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createVNode(a.unref(Ie),a.mergeProps(f.$attrs,{id:f.id,ref:a.unref(l),role:"switch",type:f.as==="button"?"button":void 0,value:f.value,"aria-label":f.$attrs["aria-label"]||d.value,"aria-checked":a.unref(i),"aria-required":f.required,"data-state":a.unref(i)?"checked":"unchecked","data-disabled":a.unref(o)?"":void 0,"as-child":f.asChild,as:f.as,disabled:a.unref(o),onClick:s,onKeydown:a.withKeys(a.withModifiers(s,["prevent"]),["enter"])}),{default:a.withCtx(()=>[a.renderSlot(f.$slots,"default",{checked:a.unref(i)})]),_:3},16,["id","type","value","aria-label","aria-checked","aria-required","data-state","data-disabled","as-child","as","disabled","onKeydown"]),a.unref(u)?(a.openBlock(),a.createElementBlock("input",{key:0,type:"checkbox",name:f.name,tabindex:"-1","aria-hidden":"true",disabled:a.unref(o),required:f.required,value:f.value,checked:!!a.unref(i),"data-state":a.unref(i)?"checked":"unchecked","data-disabled":a.unref(o)?"":void 0,style:{transform:"translateX(-100%)",position:"absolute",pointerEvents:"none",opacity:0,margin:0}},null,8,cS)):a.createCommentVNode("",!0)],64))}}),hS=a.defineComponent({__name:"SwitchThumb",props:{asChild:{type:Boolean},as:{default:"span"}},setup(e){const t=uS();return Ee(),(n,r)=>{var o;return a.openBlock(),a.createBlock(a.unref(Ie),{"data-state":(o=a.unref(t).checked)!=null&&o.value?"checked":"unchecked","data-disabled":a.unref(t).disabled.value?"":void 0,"as-child":n.asChild,as:n.as},{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},8,["data-state","data-disabled","as-child","as"])}}}),t4="tooltip.open",[T1,pS]=Tt("TooltipProvider"),Ms=a.defineComponent({inheritAttrs:!1,__name:"TooltipProvider",props:{delayDuration:{default:700},skipDelayDuration:{default:300},disableHoverableContent:{type:Boolean,default:!1},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean,default:!1}},setup(e){const t=e,{delayDuration:n,skipDelayDuration:r,disableHoverableContent:o,disableClosingTrigger:i,ignoreNonKeyboardFocus:s,disabled:l}=a.toRefs(t);Ee();const c=a.ref(!0),u=a.ref(!1),{start:d,stop:f}=Em(()=>{c.value=!0},r,{immediate:!1});return pS({isOpenDelayed:c,delayDuration:n,onOpen(){f(),c.value=!1},onClose(){d()},isPointerInTransitRef:u,disableHoverableContent:o,disableClosingTrigger:i,disabled:l,ignoreNonKeyboardFocus:s}),(h,p)=>a.renderSlot(h.$slots,"default")}}),[Rc,mS]=Tt("TooltipRoot"),Ps=a.defineComponent({__name:"TooltipRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},delayDuration:{default:void 0},disableHoverableContent:{type:Boolean,default:void 0},disableClosingTrigger:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},ignoreNonKeyboardFocus:{type:Boolean,default:void 0}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=t;Ee();const o=T1(),i=a.computed(()=>n.disableHoverableContent??o.disableHoverableContent.value),s=a.computed(()=>n.disableClosingTrigger??o.disableClosingTrigger.value),l=a.computed(()=>n.disabled??o.disabled.value),c=a.computed(()=>n.delayDuration??o.delayDuration.value),u=a.computed(()=>n.ignoreNonKeyboardFocus??o.ignoreNonKeyboardFocus.value),d=Yt(n,"open",r,{defaultValue:n.defaultOpen,passive:n.open===void 0});a.watch(d,m=>{o.onClose&&(m?(o.onOpen(),document.dispatchEvent(new CustomEvent(t4))):o.onClose())});const f=a.ref(!1),h=a.ref(),p=a.computed(()=>d.value?f.value?"delayed-open":"instant-open":"closed"),{start:g,stop:w}=Em(()=>{f.value=!0,d.value=!0},c,{immediate:!1});function y(){w(),f.value=!1,d.value=!0}function k(){w(),d.value=!1}function v(){g()}return mS({contentId:"",open:d,stateAttribute:p,trigger:h,onTriggerChange(m){h.value=m},onTriggerEnter(){o.isOpenDelayed.value?v():y()},onTriggerLeave(){i.value?k():w()},onOpen:y,onClose:k,disableHoverableContent:i,disableClosingTrigger:s,disabled:l,ignoreNonKeyboardFocus:u}),(m,b)=>(a.openBlock(),a.createBlock(a.unref(w1),null,{default:a.withCtx(()=>[a.renderSlot(m.$slots,"default",{open:a.unref(d)})]),_:3}))}}),Ls=a.defineComponent({__name:"TooltipTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=Rc(),r=T1();n.contentId||(n.contentId=Ea(void 0,"radix-vue-tooltip-content"));const{forwardRef:o,currentElement:i}=Ee(),s=a.ref(!1),l=a.ref(!1),c=a.computed(()=>n.disabled.value?{}:{click:w,focus:p,pointermove:f,pointerleave:h,pointerdown:d,blur:g});a.onMounted(()=>{n.onTriggerChange(i.value)});function u(){setTimeout(()=>{s.value=!1},1)}function d(){s.value=!0,document.addEventListener("pointerup",u,{once:!0})}function f(y){y.pointerType!=="touch"&&!l.value&&!r.isPointerInTransitRef.value&&(n.onTriggerEnter(),l.value=!0)}function h(){n.onTriggerLeave(),l.value=!1}function p(y){var k,v;s.value||n.ignoreNonKeyboardFocus.value&&!((v=(k=y.target).matches)!=null&&v.call(k,":focus-visible"))||n.onOpen()}function g(){n.onClose()}function w(){n.disableClosingTrigger.value||n.onClose()}return(y,k)=>(a.openBlock(),a.createBlock(a.unref(_1),{"as-child":""},{default:a.withCtx(()=>[a.createVNode(a.unref(Ie),a.mergeProps({ref:a.unref(o),"aria-describedby":a.unref(n).open.value?a.unref(n).contentId:void 0,"data-state":a.unref(n).stateAttribute.value,as:y.as,"as-child":t.asChild,"data-grace-area-trigger":""},a.toHandlers(c.value)),{default:a.withCtx(()=>[a.renderSlot(y.$slots,"default")]),_:3},16,["aria-describedby","data-state","as","as-child"])]),_:3}))}}),n4=a.defineComponent({__name:"TooltipContentImpl",props:{ariaLabel:{},asChild:{type:Boolean},as:{},side:{default:"top"},sideOffset:{default:0},align:{default:"center"},alignOffset:{},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{default:()=>[]},collisionPadding:{default:0},arrowPadding:{default:0},sticky:{default:"partial"},hideWhenDetached:{type:Boolean,default:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,r=t,o=Rc(),{forwardRef:i}=Ee(),s=a.useSlots(),l=a.computed(()=>{var d;return(d=s.default)==null?void 0:d.call(s)}),c=a.computed(()=>{var d;if(n.ariaLabel)return n.ariaLabel;let f="";function h(p){typeof p.children=="string"&&p.type!==a.Comment?f+=p.children:Array.isArray(p.children)&&p.children.forEach(g=>h(g))}return(d=l.value)==null||d.forEach(p=>h(p)),f}),u=a.computed(()=>{const{ariaLabel:d,...f}=n;return f});return a.onMounted(()=>{ka(window,"scroll",d=>{const f=d.target;f!=null&&f.contains(o.trigger.value)&&o.onClose()}),ka(window,t4,o.onClose)}),(d,f)=>(a.openBlock(),a.createBlock(a.unref(Ac),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:f[0]||(f[0]=h=>r("escapeKeyDown",h)),onPointerDownOutside:f[1]||(f[1]=h=>{var p;a.unref(o).disableClosingTrigger.value&&(p=a.unref(o).trigger.value)!=null&&p.contains(h.target)&&h.preventDefault(),r("pointerDownOutside",h)}),onFocusOutside:f[2]||(f[2]=a.withModifiers(()=>{},["prevent"])),onDismiss:f[3]||(f[3]=h=>a.unref(o).onClose())},{default:a.withCtx(()=>[a.createVNode(a.unref(E1),a.mergeProps({ref:a.unref(i),"data-state":a.unref(o).stateAttribute.value},{...d.$attrs,...u.value},{style:{"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:a.withCtx(()=>[a.renderSlot(d.$slots,"default"),a.createVNode(a.unref(Ix),{id:a.unref(o).contentId,role:"tooltip"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(c.value),1)]),_:1},8,["id"])]),_:3},16,["data-state"])]),_:3}))}}),gS=a.defineComponent({__name:"TooltipContentHoverable",props:{ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean}},setup(e){const t=d1(e),{forwardRef:n,currentElement:r}=Ee(),{trigger:o,onClose:i}=Rc(),s=T1(),{isPointerInTransit:l,onPointerExit:c}=rE(o,r);return s.isPointerInTransitRef=l,c(()=>{i()}),(u,d)=>(a.openBlock(),a.createBlock(n4,a.mergeProps({ref:a.unref(n)},a.unref(t)),{default:a.withCtx(()=>[a.renderSlot(u.$slots,"default")]),_:3},16))}}),Fs=a.defineComponent({__name:"TooltipContent",props:{forceMount:{type:Boolean},ariaLabel:{},asChild:{type:Boolean},as:{},side:{default:"top"},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,r=t,o=Rc(),i=Yr(n,r),{forwardRef:s}=Ee();return(l,c)=>(a.openBlock(),a.createBlock(a.unref(lo),{present:l.forceMount||a.unref(o).open.value},{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(o).disableHoverableContent.value?n4:gS),a.mergeProps({ref:a.unref(s)},a.unref(i)),{default:a.withCtx(()=>[a.renderSlot(l.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),Us=a.defineComponent({__name:"TooltipArrow",props:{width:{default:10},height:{default:5},asChild:{type:Boolean},as:{default:"svg"}},setup(e){const t=e;return Ee(),(n,r)=>(a.openBlock(),a.createBlock(a.unref(jm),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),Zs=a.defineComponent({__name:"TooltipPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(Tc),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),zs={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},ui={LIGHT:"light",DARK:"dark",COLORED:"colored",AUTO:"auto"},ln={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},vS={BOUNCE:"bounce",SLIDE:"slide",FLIP:"flip",ZOOM:"zoom",NONE:"none"},r4={dangerouslyHTMLString:!1,multiple:!0,position:zs.TOP_RIGHT,autoClose:5e3,transition:"bounce",hideProgressBar:!1,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,className:"",bodyClassName:"",style:{},progressClassName:"",progressStyle:{},role:"alert",theme:"light"},yS={rtl:!1,newestOnTop:!1,toastClassName:""},a4={...r4,...yS};({...r4,type:ln.DEFAULT});var tt=(e=>(e[e.COLLAPSE_DURATION=300]="COLLAPSE_DURATION",e[e.DEBOUNCE_DURATION=50]="DEBOUNCE_DURATION",e.CSS_NAMESPACE="Toastify",e))(tt||{}),A1=(e=>(e.ENTRANCE_ANIMATION_END="d",e))(A1||{});const bS={enter:"Toastify--animate Toastify__bounce-enter",exit:"Toastify--animate Toastify__bounce-exit",appendPosition:!0},wS={enter:"Toastify--animate Toastify__slide-enter",exit:"Toastify--animate Toastify__slide-exit",appendPosition:!0},_S={enter:"Toastify--animate Toastify__zoom-enter",exit:"Toastify--animate Toastify__zoom-exit"},kS={enter:"Toastify--animate Toastify__flip-enter",exit:"Toastify--animate Toastify__flip-exit"},o4="Toastify--animate Toastify__none-enter";function i4(e,t=!1){var n;let r=bS;if(!e||typeof e=="string")switch(e){case"flip":r=kS;break;case"zoom":r=_S;break;case"slide":r=wS;break}else r=e;if(t)r.enter=o4;else if(r.enter===o4){const o=(n=r.exit.split("__")[1])==null?void 0:n.split("-")[0];r.enter=`Toastify--animate Toastify__${o}-enter`}return r}function ES(e){return e.containerId||String(e.position)}const Dc="will-unmount";function xS(e=zs.TOP_RIGHT){return!!document.querySelector(`.${tt.CSS_NAMESPACE}__toast-container--${e}`)}function CS(e=zs.TOP_RIGHT){return`${tt.CSS_NAMESPACE}__toast-container--${e}`}function SS(e,t,n=!1){const r=[`${tt.CSS_NAMESPACE}__toast-container`,`${tt.CSS_NAMESPACE}__toast-container--${e}`,n?`${tt.CSS_NAMESPACE}__toast-container--rtl`:null].filter(Boolean).join(" ");return fi(t)?t({position:e,rtl:n,defaultClassName:r}):`${r} ${t||""}`}function TS(e){var t;const{position:n,containerClassName:r,rtl:o=!1,style:i={}}=e,s=tt.CSS_NAMESPACE,l=CS(n),c=document.querySelector(`.${s}`),u=document.querySelector(`.${l}`),d=!!u&&!((t=u.className)!=null&&t.includes(Dc)),f=c||document.createElement("div"),h=document.createElement("div");h.className=SS(n,r,o),h.dataset.testid=`${tt.CSS_NAMESPACE}__toast-container--${n}`,h.id=ES(e);for(const p in i)if(Object.prototype.hasOwnProperty.call(i,p)){const g=i[p];h.style[p]=g}return c||(f.className=tt.CSS_NAMESPACE,document.body.appendChild(f)),d||f.appendChild(h),h}function O1(e){var t,n,r;const o=typeof e=="string"?e:((t=e.currentTarget)==null?void 0:t.id)||((n=e.target)==null?void 0:n.id),i=document.getElementById(o);i&&i.removeEventListener("animationend",O1,!1);try{js[o].unmount(),(r=document.getElementById(o))==null||r.remove(),delete js[o],delete Jt[o]}catch{}}const js=a.reactive({});function AS(e,t){const n=document.getElementById(String(t));n&&(js[n.id]=e)}function B1(e,t=!0){const n=String(e);if(!js[n])return;const r=document.getElementById(n);r&&r.classList.add(Dc),t?(BS(e),r&&r.addEventListener("animationend",O1,!1)):O1(n),xr.items=xr.items.filter(o=>o.containerId!==e)}function OS(e){for(const t in js)B1(t,e);xr.items=[]}function s4(e,t){const n=document.getElementById(e.toastId);if(n){let r=e;r={...r,...i4(r.transition)};const o=r.appendPosition?`${r.exit}--${r.position}`:r.exit;n.className+=` ${o}`,t&&t(n)}}function BS(e){for(const t in Jt)if(t===e)for(const n of Jt[t]||[])s4(n)}function IS(e){const t=di().find(n=>n.toastId===e);return t==null?void 0:t.containerId}function I1(e){return document.getElementById(e)}function VS(e){const t=I1(e.containerId);return t&&t.classList.contains(Dc)}function l4(e){var t;const n=a.isVNode(e.content)?a.toRaw(e.content.props):null;return n??a.toRaw((t=e.data)!=null?t:{})}function RS(e){return e?xr.items.filter(t=>t.containerId===e).length>0:xr.items.length>0}function DS(){if(xr.items.length>0){const e=xr.items.shift();Mc(e==null?void 0:e.toastContent,e==null?void 0:e.toastProps)}}const Jt=a.reactive({}),xr=a.reactive({items:[]});function di(){const e=a.toRaw(Jt);return Object.values(e).reduce((t,n)=>[...t,...n],[])}function MS(e){return di().find(t=>t.toastId===e)}function Mc(e,t={}){if(VS(t)){const n=I1(t.containerId);n&&n.addEventListener("animationend",V1.bind(null,e,t),!1)}else V1(e,t)}function V1(e,t={}){const n=I1(t.containerId);n&&n.removeEventListener("animationend",V1.bind(null,e,t),!1);const r=Jt[t.containerId]||[],o=r.length>0;if(!o&&!xS(t.position)){const i=TS(t),s=a.createApp(eT,t);s.mount(i),AS(s,i.id)}o&&!t.updateId&&(t.position=r[0].position),a.nextTick(()=>{t.updateId?On.update(t):On.add(e,t)})}const On={add(e,t){const{containerId:n=""}=t;n&&(Jt[n]=Jt[n]||[],Jt[n].find(r=>r.toastId===t.toastId)||setTimeout(()=>{var r,o;t.newestOnTop?(r=Jt[n])==null||r.unshift(t):(o=Jt[n])==null||o.push(t),t.onOpen&&t.onOpen(l4(t))},t.delay||0))},remove(e){if(e){const t=IS(e);if(t){const n=Jt[t];let r=n.find(o=>o.toastId===e);Jt[t]=n.filter(o=>o.toastId!==e),!Jt[t].length&&!RS(t)&&B1(t,!1),DS(),a.nextTick(()=>{r!=null&&r.onClose&&(r.onClose(l4(r)),r=void 0)})}}},update(e={}){const{containerId:t=""}=e;if(t&&e.updateId){Jt[t]=Jt[t]||[];const n=Jt[t].find(i=>i.toastId===e.toastId),r=(n==null?void 0:n.position)!==e.position||(n==null?void 0:n.transition)!==e.transition,o={...e,disabledEnterTransition:!r,updateId:void 0};On.dismissForce(e==null?void 0:e.toastId),setTimeout(()=>{K(o.content,o)},e.delay||0)}},clear(e,t=!0){e?B1(e,t):OS(t)},dismissCallback(e){var t;const n=(t=e.currentTarget)==null?void 0:t.id,r=document.getElementById(n);r&&(r.removeEventListener("animationend",On.dismissCallback,!1),setTimeout(()=>{On.remove(n)}))},dismiss(e){if(e){const t=di();for(const n of t)if(n.toastId===e){s4(n,r=>{r.addEventListener("animationend",On.dismissCallback,!1)});break}}},dismissForce(e){if(e){const t=di();for(const n of t)if(n.toastId===e){const r=document.getElementById(e);r&&(r.remove(),r.removeEventListener("animationend",On.dismissCallback,!1),On.remove(e));break}}}},c4=a.reactive({}),Pc=a.reactive({});function u4(){return Math.random().toString(36).substring(2,9)}function PS(e){return typeof e=="number"&&!isNaN(e)}function R1(e){return typeof e=="string"}function fi(e){return typeof e=="function"}function Lc(...e){return a.mergeProps(...e)}function Fc(e){return typeof e=="object"&&(!!(e!=null&&e.render)||!!(e!=null&&e.setup)||typeof(e==null?void 0:e.type)=="object")}function LS(e={}){c4[`${tt.CSS_NAMESPACE}-default-options`]=e}function FS(){return c4[`${tt.CSS_NAMESPACE}-default-options`]||a4}function US(){return document.documentElement.classList.contains("dark")?"dark":"light"}var Uc=(e=>(e[e.Enter=0]="Enter",e[e.Exit=1]="Exit",e))(Uc||{});const d4={containerId:{type:[String,Number],required:!1,default:""},clearOnUrlChange:{type:Boolean,required:!1,default:!0},disabledEnterTransition:{type:Boolean,required:!1,default:!1},dangerouslyHTMLString:{type:Boolean,required:!1,default:!1},multiple:{type:Boolean,required:!1,default:!0},limit:{type:Number,required:!1,default:void 0},position:{type:String,required:!1,default:zs.TOP_LEFT},bodyClassName:{type:String,required:!1,default:""},autoClose:{type:[Number,Boolean],required:!1,default:!1},closeButton:{type:[Boolean,Function,Object],required:!1,default:void 0},transition:{type:[String,Object],required:!1,default:"bounce"},hideProgressBar:{type:Boolean,required:!1,default:!1},pauseOnHover:{type:Boolean,required:!1,default:!0},pauseOnFocusLoss:{type:Boolean,required:!1,default:!0},closeOnClick:{type:Boolean,required:!1,default:!0},progress:{type:Number,required:!1,default:void 0},progressClassName:{type:String,required:!1,default:""},toastStyle:{type:Object,required:!1,default(){return{}}},progressStyle:{type:Object,required:!1,default(){return{}}},role:{type:String,required:!1,default:"alert"},theme:{type:String,required:!1,default:ui.AUTO},content:{type:[String,Object,Function],required:!1,default:""},toastId:{type:[String,Number],required:!1,default:""},data:{type:[Object,String],required:!1,default(){return{}}},type:{type:String,required:!1,default:ln.DEFAULT},icon:{type:[Boolean,String,Number,Object,Function],required:!1,default:void 0},delay:{type:Number,required:!1,default:void 0},onOpen:{type:Function,required:!1,default:void 0},onClose:{type:Function,required:!1,default:void 0},onClick:{type:Function,required:!1,default:void 0},isLoading:{type:Boolean,required:!1,default:void 0},rtl:{type:Boolean,required:!1,default:!1},toastClassName:{type:String,required:!1,default:""},updateId:{type:[String,Number],required:!1,default:""}},ZS={autoClose:{type:[Number,Boolean],required:!0},isRunning:{type:Boolean,required:!1,default:void 0},type:{type:String,required:!1,default:ln.DEFAULT},theme:{type:String,required:!1,default:ui.AUTO},hide:{type:Boolean,required:!1,default:void 0},className:{type:[String,Function],required:!1,default:""},controlledProgress:{type:Boolean,required:!1,default:void 0},rtl:{type:Boolean,required:!1,default:void 0},isIn:{type:Boolean,required:!1,default:void 0},progress:{type:Number,required:!1,default:void 0},closeToast:{type:Function,required:!1,default:void 0}},zS=a.defineComponent({name:"ProgressBar",props:ZS,setup(e,{attrs:t}){const n=a.ref(),r=a.computed(()=>e.hide?"true":"false"),o=a.computed(()=>({...t.style||{},animationDuration:`${e.autoClose===!0?5e3:e.autoClose}ms`,animationPlayState:e.isRunning?"running":"paused",opacity:e.hide||e.autoClose===!1?0:1,transform:e.controlledProgress?`scaleX(${e.progress})`:"none"})),i=a.computed(()=>[`${tt.CSS_NAMESPACE}__progress-bar`,e.controlledProgress?`${tt.CSS_NAMESPACE}__progress-bar--controlled`:`${tt.CSS_NAMESPACE}__progress-bar--animated`,`${tt.CSS_NAMESPACE}__progress-bar-theme--${e.theme}`,`${tt.CSS_NAMESPACE}__progress-bar--${e.type}`,e.rtl?`${tt.CSS_NAMESPACE}__progress-bar--rtl`:null].filter(Boolean).join(" ")),s=a.computed(()=>`${i.value} ${(t==null?void 0:t.class)||""}`),l=()=>{n.value&&(n.value.onanimationend=null,n.value.ontransitionend=null)},c=()=>{e.isIn&&e.closeToast&&e.autoClose!==!1&&(e.closeToast(),l())},u=a.computed(()=>e.controlledProgress?null:c),d=a.computed(()=>e.controlledProgress?c:null);return a.watchEffect(()=>{n.value&&(l(),n.value.onanimationend=u.value,n.value.ontransitionend=d.value)}),()=>a.createVNode("div",{ref:n,role:"progressbar","aria-hidden":r.value,"aria-label":"notification timer",class:s.value,style:o.value},null)}}),jS=a.defineComponent({name:"CloseButton",inheritAttrs:!1,props:{theme:{type:String,required:!1,default:ui.AUTO},type:{type:String,required:!1,default:ui.LIGHT},ariaLabel:{type:String,required:!1,default:"close"},closeToast:{type:Function,required:!1,default:void 0}},setup(e){return()=>a.createVNode("button",{class:`${tt.CSS_NAMESPACE}__close-button ${tt.CSS_NAMESPACE}__close-button--${e.theme}`,type:"button",onClick:t=>{t.stopPropagation(),e.closeToast&&e.closeToast(t)},"aria-label":e.ariaLabel},[a.createVNode("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},[a.createVNode("path",{"fill-rule":"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"},null)])])}}),Zc=({theme:e,type:t,path:n,...r})=>a.createVNode("svg",a.mergeProps({viewBox:"0 0 24 24",width:"100%",height:"100%",fill:e==="colored"?"currentColor":`var(--toastify-icon-color-${t})`},r),[a.createVNode("path",{d:n},null)]);function HS(e){return a.createVNode(Zc,a.mergeProps(e,{path:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}),null)}function qS(e){return a.createVNode(Zc,a.mergeProps(e,{path:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}),null)}function WS(e){return a.createVNode(Zc,a.mergeProps(e,{path:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}),null)}function GS(e){return a.createVNode(Zc,a.mergeProps(e,{path:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}),null)}function KS(){return a.createVNode("div",{class:`${tt.CSS_NAMESPACE}__spinner`},null)}const D1={info:qS,warning:HS,success:WS,error:GS,spinner:KS},YS=e=>e in D1;function JS({theme:e,type:t,isLoading:n,icon:r}){let o;const i={theme:e,type:t};return n?o=D1.spinner():r===!1?o=void 0:Fc(r)?o=a.toRaw(r):fi(r)?o=r(i):a.isVNode(r)?o=a.cloneVNode(r,i):R1(r)||PS(r)?o=r:YS(t)&&(o=D1[t](i)),o}const XS=()=>{};function QS(e,t,n=tt.COLLAPSE_DURATION){const{scrollHeight:r,style:o}=e,i=n;requestAnimationFrame(()=>{o.minHeight="initial",o.height=r+"px",o.transition=`all ${i}ms`,requestAnimationFrame(()=>{o.height="0",o.padding="0",o.margin="0",setTimeout(t,i)})})}function NS(e){const t=a.ref(!1),n=a.ref(!1),r=a.ref(!1),o=a.ref(Uc.Enter),i=a.reactive({...e,appendPosition:e.appendPosition||!1,collapse:typeof e.collapse>"u"?!0:e.collapse,collapseDuration:e.collapseDuration||tt.COLLAPSE_DURATION}),s=i.done||XS,l=a.computed(()=>i.appendPosition?`${i.enter}--${i.position}`:i.enter),c=a.computed(()=>i.appendPosition?`${i.exit}--${i.position}`:i.exit),u=a.computed(()=>e.pauseOnHover?{onMouseenter:y,onMouseleave:w}:{});function d(){const v=l.value.split(" ");h().addEventListener(A1.ENTRANCE_ANIMATION_END,w,{once:!0});const m=_=>{const E=h();_.target===E&&(E.dispatchEvent(new Event(A1.ENTRANCE_ANIMATION_END)),E.removeEventListener("animationend",m),E.removeEventListener("animationcancel",m),o.value===Uc.Enter&&_.type!=="animationcancel"&&E.classList.remove(...v))},b=()=>{const _=h();_.classList.add(...v),_.addEventListener("animationend",m),_.addEventListener("animationcancel",m)};e.pauseOnFocusLoss&&p(),b()}function f(){if(!h())return;const v=()=>{const b=h();b.removeEventListener("animationend",v),i.collapse?QS(b,s,i.collapseDuration):s()},m=()=>{const b=h();o.value=Uc.Exit,b&&(b.className+=` ${c.value}`,b.addEventListener("animationend",v))};n.value||(r.value?v():setTimeout(m))}function h(){return e.toastRef.value}function p(){document.hasFocus()||y(),window.addEventListener("focus",w),window.addEventListener("blur",y)}function g(){window.removeEventListener("focus",w),window.removeEventListener("blur",y)}function w(){(!e.loading.value||e.isLoading===void 0)&&(t.value=!0)}function y(){t.value=!1}function k(v){v&&(v.stopPropagation(),v.preventDefault()),n.value=!1}return a.watchEffect(f),a.watchEffect(()=>{const v=di();n.value=v.findIndex(m=>m.toastId===i.toastId)>-1}),a.watchEffect(()=>{e.isLoading!==void 0&&(e.loading.value?y():w())}),a.onMounted(d),a.onUnmounted(()=>{e.pauseOnFocusLoss&&g()}),{isIn:n,isRunning:t,hideToast:k,eventHandlers:u}}const $S=a.defineComponent({name:"ToastItem",inheritAttrs:!1,props:d4,setup(e){const t=a.ref(),n=a.computed(()=>!!e.isLoading),r=a.computed(()=>e.progress!==void 0&&e.progress!==null),o=a.computed(()=>JS(e)),i=a.computed(()=>[`${tt.CSS_NAMESPACE}__toast`,`${tt.CSS_NAMESPACE}__toast-theme--${e.theme}`,`${tt.CSS_NAMESPACE}__toast--${e.type}`,e.rtl?`${tt.CSS_NAMESPACE}__toast--rtl`:void 0,e.toastClassName||""].filter(Boolean).join(" ")),{isRunning:s,isIn:l,hideToast:c,eventHandlers:u}=NS({toastRef:t,loading:n,done:()=>{On.remove(e.toastId)},...i4(e.transition,e.disabledEnterTransition),...e});return()=>a.createVNode("div",a.mergeProps({id:e.toastId,class:i.value,style:e.toastStyle||{},ref:t,"data-testid":`toast-item-${e.toastId}`,onClick:d=>{e.closeOnClick&&c(),e.onClick&&e.onClick(d)}},u.value),[a.createVNode("div",{role:e.role,"data-testid":"toast-body",class:`${tt.CSS_NAMESPACE}__toast-body ${e.bodyClassName||""}`},[o.value!=null&&a.createVNode("div",{"data-testid":`toast-icon-${e.type}`,class:[`${tt.CSS_NAMESPACE}__toast-icon`,e.isLoading?"":`${tt.CSS_NAMESPACE}--animate-icon ${tt.CSS_NAMESPACE}__zoom-enter`].join(" ")},[Fc(o.value)?a.h(a.toRaw(o.value),{theme:e.theme,type:e.type}):fi(o.value)?o.value({theme:e.theme,type:e.type}):o.value]),a.createVNode("div",{"data-testid":"toast-content"},[Fc(e.content)?a.h(a.toRaw(e.content),{toastProps:a.toRaw(e),closeToast:c,data:e.data}):fi(e.content)?e.content({toastProps:a.toRaw(e),closeToast:c,data:e.data}):e.dangerouslyHTMLString?a.h("div",{innerHTML:e.content}):e.content])]),(e.closeButton===void 0||e.closeButton===!0)&&a.createVNode(jS,{theme:e.theme,closeToast:d=>{d.stopPropagation(),d.preventDefault(),c()}},null),Fc(e.closeButton)?a.h(a.toRaw(e.closeButton),{closeToast:c,type:e.type,theme:e.theme}):fi(e.closeButton)?e.closeButton({closeToast:c,type:e.type,theme:e.theme}):null,a.createVNode(zS,{className:e.progressClassName,style:e.progressStyle,rtl:e.rtl,theme:e.theme,isIn:l.value,type:e.type,hide:e.hideProgressBar,isRunning:s.value,autoClose:e.autoClose,controlledProgress:r.value,progress:e.progress,closeToast:e.isLoading?void 0:c},null)])}});let Hs=0;function f4(){typeof window>"u"||(Hs&&window.cancelAnimationFrame(Hs),Hs=window.requestAnimationFrame(f4),Pc.lastUrl!==window.location.href&&(Pc.lastUrl=window.location.href,On.clear()))}const eT=a.defineComponent({name:"ToastifyContainer",inheritAttrs:!1,props:d4,setup(e){const t=a.computed(()=>e.containerId),n=a.computed(()=>Jt[t.value]||[]),r=a.computed(()=>n.value.filter(o=>o.position===e.position));return a.onMounted(()=>{typeof window<"u"&&e.clearOnUrlChange&&window.requestAnimationFrame(f4)}),a.onUnmounted(()=>{typeof window<"u"&&Hs&&(window.cancelAnimationFrame(Hs),Pc.lastUrl="")}),()=>a.createVNode(a.Fragment,null,[r.value.map(o=>{const{toastId:i=""}=o;return a.createVNode($S,a.mergeProps({key:i},o),null)})])}});let M1=!1;function h4(){const e=[];return di().forEach(t=>{const n=document.getElementById(t.containerId);n&&!n.classList.contains(Dc)&&e.push(t)}),e}function tT(e){const t=h4().length,n=e??0;return n>0&&t+xr.items.length>=n}function nT(e){tT(e.limit)&&!e.updateId&&xr.items.push({toastId:e.toastId,containerId:e.containerId,toastContent:e.content,toastProps:e})}function Aa(e,t,n={}){if(M1)return;n=Lc(FS(),{type:t},a.toRaw(n)),(!n.toastId||typeof n.toastId!="string"&&typeof n.toastId!="number")&&(n.toastId=u4()),n={...n,content:e,containerId:n.containerId||String(n.position)};const r=Number(n==null?void 0:n.progress);return r<0&&(n.progress=0),r>1&&(n.progress=1),n.theme==="auto"&&(n.theme=US()),nT(n),Pc.lastUrl=window.location.href,n.multiple?xr.items.length?n.updateId&&Mc(e,n):Mc(e,n):(M1=!0,K.clearAll(void 0,!1),setTimeout(()=>{Mc(e,n)},0),setTimeout(()=>{M1=!1},390)),n.toastId}const K=(e,t)=>Aa(e,ln.DEFAULT,t);K.info=(e,t)=>Aa(e,ln.DEFAULT,{...t,type:ln.INFO}),K.error=(e,t)=>Aa(e,ln.DEFAULT,{...t,type:ln.ERROR}),K.warning=(e,t)=>Aa(e,ln.DEFAULT,{...t,type:ln.WARNING}),K.warn=K.warning,K.success=(e,t)=>Aa(e,ln.DEFAULT,{...t,type:ln.SUCCESS}),K.loading=(e,t)=>Aa(e,ln.DEFAULT,Lc(t,{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1})),K.dark=(e,t)=>Aa(e,ln.DEFAULT,Lc(t,{theme:ui.DARK})),K.remove=e=>{e?On.dismiss(e):On.clear()},K.clearAll=(e,t)=>{a.nextTick(()=>{On.clear(e,t)})},K.isActive=e=>{let t=!1;return t=h4().findIndex(n=>n.toastId===e)>-1,t},K.update=(e,t={})=>{setTimeout(()=>{const n=MS(e);if(n){const r=a.toRaw(n),{content:o}=r,i={...r,...t,toastId:t.toastId||e,updateId:u4()},s=i.render||o;delete i.render,Aa(s,i.type,i)}},0)},K.done=e=>{K.update(e,{isLoading:!1,progress:1})},K.promise=rT;function rT(e,{pending:t,error:n,success:r},o){var i,s,l;let c;const u={...o||{},autoClose:!1};t&&(c=R1(t)?K.loading(t,u):K.loading(t.render,{...u,...t}));const d={autoClose:(i=o==null?void 0:o.autoClose)!=null?i:!0,closeOnClick:(s=o==null?void 0:o.closeOnClick)!=null?s:!0,closeButton:(l=o==null?void 0:o.autoClose)!=null?l:null,isLoading:void 0,draggable:null,delay:100},f=(p,g,w)=>{if(g==null){K.remove(c);return}const y={type:p,...d,...o,data:w},k=R1(g)?{render:g}:g;return c?K.update(c,{...y,...k,isLoading:!1}):K(k.render,{...y,...k,isLoading:!1}),w},h=fi(e)?e():e;return h.then(p=>{f("success",r,p)}).catch(p=>{f("error",n,p)}),h}K.POSITION=zs,K.THEME=ui,K.TYPE=ln,K.TRANSITIONS=vS;const aT={install(e,t={}){oT(t)}};typeof window<"u"&&(window.Vue3Toastify=aT);function oT(e={}){const t=Lc(a4,e);LS(t)}const iT={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 31 31"},sT=["fill"],lT=a.createElementVNode("path",{fill:"#fff",d:"m20.8403 24.9997-4.64-7.22h-.03l-4.6499 7.22h-2.95l6.0799-9.14-5.87-8.92h3.12l4.38 6.83h.03l4.5-6.83h2.91l-5.9499 8.69 6.1799 9.37h-3.12.01Z",opacity:"1"},null,-1),ot=a.defineComponent({__name:"ErrorIcon",setup(e){const t=a.computed(()=>window.getComputedStyle(document.documentElement).getPropertyValue("--fge-toast-error"));return(n,r)=>(a.openBlock(),a.createElementBlock("svg",iT,[a.createElementVNode("path",{fill:t.value,d:"M15.9609 30.4998c8.2843 0 15-6.7158 15-15 0-8.2843-6.7157-15-15-15-8.2842 0-15 6.7157-15 15 0 8.2842 6.7158 15 15 15Z"},null,8,sT),lT]))}}),cT={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 31 31"},uT=[a.createElementVNode("path",{d:"M15.96 30.5c8.285 0 15-6.716 15-15 0-8.284-6.715-15-15-15-8.283 0-15 6.716-15 15 0 8.284 6.717 15 15 15Z"},null,-1),a.createElementVNode("path",{fill:"#fff",d:"m14.953 18.83-.32-8.73V6.93h2.74v3.18l-.31 8.71h-2.12l.01.01Zm-.25 6.18v-3.72h2.53v3.72h-2.53Z"},null,-1)];function dT(e,t){return a.openBlock(),a.createElementBlock("svg",cT,[...uT])}const jn={render:dT},cn=({error:e,setErrors:t,toastTitle:n="Error",autoClose:r=5e3,hideProgressBar:o=!0})=>{var s;if((e==null?void 0:e.sesionFinalizada)===!0)return;const i=(s=e==null?void 0:e.response)==null?void 0:s.validationErrors;if(e.message&&K.error(`<p class="toast-title">${n}</p><p class="toast-description">${e.message}</p>`,{autoClose:r,hideProgressBar:o,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0}),i){let l={};for(const[c,u]of Object.entries(i))l={...l,[c]:u[0]};t(l);return}},zc=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{8,15})/),P1=new RegExp(/^[0-9]+$/),fT=new RegExp(/^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/),fo=new RegExp(/^[a-zA-Z0-9]+$/),L1=640,p4=50*1024,m4=5*1024*1024,g4=2048,v4=.92,hT=300,pT=80,mT=35,gT=230,vT=.14,yT=.5,bT=.37,wT=.24,_T=.5,kT="https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@1.0.1/wasm",ET="https://storage.googleapis.com/mediapipe-models/face_detector/blaze_face_short_range/float16/latest/blaze_face_short_range.tflite",xT=360,F1=.82,U1=.52,y4=(1-F1)/2,b4=(1-U1)/2,w4=.22,_4=.85,CT=1.35,ST=1.95,TT=.5,AT=.5,OT=.18,k4=22,BT=.34,IT=.05,E4=.04,x4=.96,VT=1.2,RT=2.25,DT=.12,MT=480,PT=["anverso","reverso","selfie"],LT=["telegram","email","sms"],C4=["telegram","email"],Z1="Tu sesión de registro venció por seguridad. Vuelve a validar tus datos para continuar.",FT="Quedan menos de 2 minutos para completar el registro. Si vence, deberá volver a validar sus datos.",UT=120,ho={PENDIENTE_DOCUMENTOS:"REGISTRO_PENDIENTE_DOCUMENTOS",PENDIENTE_APROBACION:"REGISTRO_PENDIENTE_APROBACION",OBSERVADO:"REGISTRO_OBSERVADO",RECHAZADO:"REGISTRO_RECHAZADO"},ZT={consentimiento:"Permiso",anverso:"Anverso",reverso:"Reverso",selfie:"Selfie",resumen:"Envío"},z1={anverso:{titulo:"Anverso del carnet",instruccion:"Coloque el anverso de su carnet dentro del marco, con buena iluminación.",guia:"documento",facingMode:"environment"},reverso:{titulo:"Reverso del carnet",instruccion:"Voltee el carnet y encuadre el reverso dentro del marco.",guia:"documento",facingMode:"environment"},selfie:{titulo:"Selfie con carnet",instruccion:"Tome una selfie sosteniendo su carnet junto al rostro, ambos visibles.",guia:"selfie",facingMode:"user"}},zT=["token expirado","token inválido","token de registro","tipo de token incorrecto"];function jT(e){if(!e||typeof e!="object")return!1;const t=e;if(t.status!==401)return!1;const n=String(t.message??"").toLowerCase();return n?zT.some(r=>n.includes(r)):!0}const HT=["telegram","email","sms"],qT={telegram:"Telegram",email:"el correo electrónico",sms:"SMS"};function WT(e){return LT.includes(e)}function j1(e){if(!Array.isArray(e))return[...C4];const t=new Set;for(const n of e)WT(n)&&t.add(n);return t.size===0?[...C4]:HT.filter(n=>t.has(n))}function GT(e,t){return e==="telegram"?t.verificadoTelegram:e==="email"?t.verificadoEmail:t.verificadoSms}function KT(e,t){return e.some(n=>GT(n,t))}function S4(e){const t=e.map(r=>qT[r]);if(t.length===0)return"un medio de contacto";if(t.length===1)return t[0];const n=t[t.length-1];return`${t.slice(0,-1).join(", ")} o ${n}`}function T4(e){return`Verifica ${S4(e)} para continuar.`}function A4(e,t="continuar"){return`Debe verificar ${S4(e)} antes de ${t==="completar"?"completar el registro":"continuar"}.`}function YT(e,t){const n=e.trim();if(!n)return"";if(t==="email"){const[r,o]=n.split("@");return!o||!r?n:`${r.slice(0,1)}***@${o}`}return n.length<=4?n:`***${n.slice(-4)}`}function JT(e){return e==="email"?"Verificar correo electrónico":e==="sms"?"Verificar SMS":e==="telegram"?"Confirmación vía Telegram":"Verificación de medio"}function XT(e,t){if(!e)return"Ingrese el código enviado a su medio de contacto.";const n=YT(e,t);return t==="telegram"?`Siga las instrucciones de Telegram para el número ${n}.`:`Enviamos un código a ${n}.`}const qs=f3("STATE_STORE",()=>{const e=a.ref("STATE_STORE"),t=a.ref(!1);return{id:e,isLoading:t,setLoading:r=>{t.value=r}}});class po extends Error{}class QT extends po{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class NT extends po{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class $T extends po{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class hi extends po{}class O4 extends po{constructor(t){super(`Invalid unit ${t}`)}}class mn extends po{}class Oa extends po{constructor(){super("Zone is an abstract class")}}const Q="numeric",ir="short",Bn="long",jc={year:Q,month:Q,day:Q},B4={year:Q,month:ir,day:Q},eA={year:Q,month:ir,day:Q,weekday:ir},I4={year:Q,month:Bn,day:Q},V4={year:Q,month:Bn,day:Q,weekday:Bn},R4={hour:Q,minute:Q},D4={hour:Q,minute:Q,second:Q},M4={hour:Q,minute:Q,second:Q,timeZoneName:ir},P4={hour:Q,minute:Q,second:Q,timeZoneName:Bn},L4={hour:Q,minute:Q,hourCycle:"h23"},F4={hour:Q,minute:Q,second:Q,hourCycle:"h23"},U4={hour:Q,minute:Q,second:Q,hourCycle:"h23",timeZoneName:ir},Z4={hour:Q,minute:Q,second:Q,hourCycle:"h23",timeZoneName:Bn},z4={year:Q,month:Q,day:Q,hour:Q,minute:Q},j4={year:Q,month:Q,day:Q,hour:Q,minute:Q,second:Q},H4={year:Q,month:ir,day:Q,hour:Q,minute:Q},q4={year:Q,month:ir,day:Q,hour:Q,minute:Q,second:Q},tA={year:Q,month:ir,day:Q,weekday:ir,hour:Q,minute:Q},W4={year:Q,month:Bn,day:Q,hour:Q,minute:Q,timeZoneName:ir},G4={year:Q,month:Bn,day:Q,hour:Q,minute:Q,second:Q,timeZoneName:ir},K4={year:Q,month:Bn,day:Q,weekday:Bn,hour:Q,minute:Q,timeZoneName:Bn},Y4={year:Q,month:Bn,day:Q,weekday:Bn,hour:Q,minute:Q,second:Q,timeZoneName:Bn};class Ws{get type(){throw new Oa}get name(){throw new Oa}get ianaName(){return this.name}get isUniversal(){throw new Oa}offsetName(t,n){throw new Oa}formatOffset(t,n){throw new Oa}offset(t){throw new Oa}equals(t){throw new Oa}get isValid(){throw new Oa}}let H1=null;class Hc extends Ws{static get instance(){return H1===null&&(H1=new Hc),H1}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return y5(t,n,r)}formatOffset(t,n){return Js(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}let qc={};function nA(e){return qc[e]||(qc[e]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),qc[e]}const rA={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function aA(e,t){const n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,o,i,s,l,c,u,d]=r;return[s,o,i,l,c,u,d]}function oA(e,t){const n=e.formatToParts(t),r=[];for(let o=0;o<n.length;o++){const{type:i,value:s}=n[o],l=rA[i];i==="era"?r[l]=s:xe(l)||(r[l]=parseInt(s,10))}return r}let Wc={};class Qr extends Ws{static create(t){return Wc[t]||(Wc[t]=new Qr(t)),Wc[t]}static resetCache(){Wc={},qc={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch{return!1}}constructor(t){super(),this.zoneName=t,this.valid=Qr.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return y5(t,n,r,this.name)}formatOffset(t,n){return Js(this.offset(t),n)}offset(t){const n=new Date(t);if(isNaN(n))return NaN;const r=nA(this.name);let[o,i,s,l,c,u,d]=r.formatToParts?oA(r,n):aA(r,n);l==="BC"&&(o=-Math.abs(o)+1);const h=Xc({year:o,month:i,day:s,hour:c===24?0:c,minute:u,second:d,millisecond:0});let p=+n;const g=p%1e3;return p-=g>=0?g:1e3+g,(h-p)/(60*1e3)}equals(t){return t.type==="iana"&&t.name===this.name}get isValid(){return this.valid}}let J4={};function iA(e,t={}){const n=JSON.stringify([e,t]);let r=J4[n];return r||(r=new Intl.ListFormat(e,t),J4[n]=r),r}let q1={};function W1(e,t={}){const n=JSON.stringify([e,t]);let r=q1[n];return r||(r=new Intl.DateTimeFormat(e,t),q1[n]=r),r}let G1={};function sA(e,t={}){const n=JSON.stringify([e,t]);let r=G1[n];return r||(r=new Intl.NumberFormat(e,t),G1[n]=r),r}let K1={};function lA(e,t={}){const{base:n,...r}=t,o=JSON.stringify([e,r]);let i=K1[o];return i||(i=new Intl.RelativeTimeFormat(e,t),K1[o]=i),i}let Gs=null;function cA(){return Gs||(Gs=new Intl.DateTimeFormat().resolvedOptions().locale,Gs)}let X4={};function uA(e){let t=X4[e];if(!t){const n=new Intl.Locale(e);t="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,X4[e]=t}return t}function dA(e){const t=e.indexOf("-x-");t!==-1&&(e=e.substring(0,t));const n=e.indexOf("-u-");if(n===-1)return[e];{let r,o;try{r=W1(e).resolvedOptions(),o=e}catch{const c=e.substring(0,n);r=W1(c).resolvedOptions(),o=c}const{numberingSystem:i,calendar:s}=r;return[o,i,s]}}function fA(e,t,n){return(n||t)&&(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function hA(e){const t=[];for(let n=1;n<=12;n++){const r=we.utc(2009,n,1);t.push(e(r))}return t}function pA(e){const t=[];for(let n=1;n<=7;n++){const r=we.utc(2016,11,13+n);t.push(e(r))}return t}function Gc(e,t,n,r){const o=e.listingMode();return o==="error"?null:o==="en"?n(t):r(t)}function mA(e){return e.numberingSystem&&e.numberingSystem!=="latn"?!1:e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem==="latn"}class gA{constructor(t,n,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:o,floor:i,...s}=r;if(!n||Object.keys(s).length>0){const l={useGrouping:!1,...r};r.padTo>0&&(l.minimumIntegerDigits=r.padTo),this.inf=sA(t,l)}}format(t){if(this.inf){const n=this.floor?Math.floor(t):t;return this.inf.format(n)}else{const n=this.floor?Math.floor(t):e2(t,3);return Mt(n,this.padTo)}}}class vA{constructor(t,n,r){this.opts=r,this.originalZone=void 0;let o;if(this.opts.timeZone)this.dt=t;else if(t.zone.type==="fixed"){const s=-1*(t.offset/60),l=s>=0?`Etc/GMT+${s}`:`Etc/GMT${s}`;t.offset!==0&&Qr.create(l).valid?(o=l,this.dt=t):(o="UTC",this.dt=t.offset===0?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else t.zone.type==="system"?this.dt=t:t.zone.type==="iana"?(this.dt=t,o=t.zone.name):(o="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const i={...this.opts};i.timeZone=i.timeZone||o,this.dtf=W1(n,i)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(n=>{if(n.type==="timeZoneName"){const r=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...n,value:r}}else return n}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class yA{constructor(t,n,r){this.opts={style:"long",...r},!n&&p5()&&(this.rtf=lA(t,r))}format(t,n){return this.rtf?this.rtf.format(t,n):FA(n,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}const bA={firstDay:1,minimalDays:4,weekend:[6,7]};class it{static fromOpts(t){return it.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,n,r,o,i=!1){const s=t||At.defaultLocale,l=s||(i?"en-US":cA()),c=n||At.defaultNumberingSystem,u=r||At.defaultOutputCalendar,d=N1(o)||At.defaultWeekSettings;return new it(l,c,u,d,s)}static resetCache(){Gs=null,q1={},G1={},K1={}}static fromObject({locale:t,numberingSystem:n,outputCalendar:r,weekSettings:o}={}){return it.create(t,n,r,o)}constructor(t,n,r,o,i){const[s,l,c]=dA(t);this.locale=s,this.numberingSystem=n||l||null,this.outputCalendar=r||c||null,this.weekSettings=o,this.intl=fA(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=mA(this)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return t&&n?"en":"intl"}clone(t){return!t||Object.getOwnPropertyNames(t).length===0?this:it.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,N1(t.weekSettings)||this.weekSettings,t.defaultToEN||!1)}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,n=!1){return Gc(this,t,_5,()=>{const r=n?{month:t,day:"numeric"}:{month:t},o=n?"format":"standalone";return this.monthsCache[o][t]||(this.monthsCache[o][t]=hA(i=>this.extract(i,r,"month"))),this.monthsCache[o][t]})}weekdays(t,n=!1){return Gc(this,t,x5,()=>{const r=n?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},o=n?"format":"standalone";return this.weekdaysCache[o][t]||(this.weekdaysCache[o][t]=pA(i=>this.extract(i,r,"weekday"))),this.weekdaysCache[o][t]})}meridiems(){return Gc(this,void 0,()=>C5,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[we.utc(2016,11,13,9),we.utc(2016,11,13,19)].map(n=>this.extract(n,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Gc(this,t,S5,()=>{const n={era:t};return this.eraCache[t]||(this.eraCache[t]=[we.utc(-40,1,1),we.utc(2017,1,1)].map(r=>this.extract(r,n,"era"))),this.eraCache[t]})}extract(t,n,r){const o=this.dtFormatter(t,n),i=o.formatToParts(),s=i.find(l=>l.type.toLowerCase()===r);return s?s.value:null}numberFormatter(t={}){return new gA(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new vA(t,this.intl,n)}relFormatter(t={}){return new yA(this.intl,this.isEnglish(),t)}listFormatter(t={}){return iA(this.intl,t)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:m5()?uA(this.locale):bA}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}}let Y1=null;class un extends Ws{static get utcInstance(){return Y1===null&&(Y1=new un(0)),Y1}static instance(t){return t===0?un.utcInstance:new un(t)}static parseSpecifier(t){if(t){const n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new un(Qc(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Js(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Js(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return Js(this.fixed,n)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return t.type==="fixed"&&t.fixed===this.fixed}get isValid(){return!0}}class wA extends Ws{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function Ba(e,t){if(xe(e)||e===null)return t;if(e instanceof Ws)return e;if(EA(e)){const n=e.toLowerCase();return n==="default"?t:n==="local"||n==="system"?Hc.instance:n==="utc"||n==="gmt"?un.utcInstance:un.parseSpecifier(n)||Qr.create(e)}else return mo(e)?un.instance(e):typeof e=="object"&&"offset"in e&&typeof e.offset=="function"?e:new wA(e)}let Q4=()=>Date.now(),N4="system",$4=null,e5=null,t5=null,n5=60,r5,a5=null;class At{static get now(){return Q4}static set now(t){Q4=t}static set defaultZone(t){N4=t}static get defaultZone(){return Ba(N4,Hc.instance)}static get defaultLocale(){return $4}static set defaultLocale(t){$4=t}static get defaultNumberingSystem(){return e5}static set defaultNumberingSystem(t){e5=t}static get defaultOutputCalendar(){return t5}static set defaultOutputCalendar(t){t5=t}static get defaultWeekSettings(){return a5}static set defaultWeekSettings(t){a5=N1(t)}static get twoDigitCutoffYear(){return n5}static set twoDigitCutoffYear(t){n5=t%100}static get throwOnInvalid(){return r5}static set throwOnInvalid(t){r5=t}static resetCaches(){it.resetCache(),Qr.resetCache()}}class sr{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const o5=[0,31,59,90,120,151,181,212,243,273,304,334],i5=[0,31,60,91,121,152,182,213,244,274,305,335];function Hn(e,t){return new sr("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function J1(e,t,n){const r=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const o=r.getUTCDay();return o===0?7:o}function s5(e,t,n){return n+(Ks(e)?i5:o5)[t-1]}function l5(e,t){const n=Ks(e)?i5:o5,r=n.findIndex(i=>i<t),o=t-n[r];return{month:r+1,day:o}}function X1(e,t){return(e-t+7)%7+1}function Kc(e,t=4,n=1){const{year:r,month:o,day:i}=e,s=s5(r,o,i),l=X1(J1(r,o,i),n);let c=Math.floor((s-l+14-t)/7),u;return c<1?(u=r-1,c=Ys(u,t,n)):c>Ys(r,t,n)?(u=r+1,c=1):u=r,{weekYear:u,weekNumber:c,weekday:l,...$c(e)}}function c5(e,t=4,n=1){const{weekYear:r,weekNumber:o,weekday:i}=e,s=X1(J1(r,1,t),n),l=mi(r);let c=o*7+i-s-7+t,u;c<1?(u=r-1,c+=mi(u)):c>l?(u=r+1,c-=mi(r)):u=r;const{month:d,day:f}=l5(u,c);return{year:u,month:d,day:f,...$c(e)}}function Q1(e){const{year:t,month:n,day:r}=e,o=s5(t,n,r);return{year:t,ordinal:o,...$c(e)}}function u5(e){const{year:t,ordinal:n}=e,{month:r,day:o}=l5(t,n);return{year:t,month:r,day:o,...$c(e)}}function d5(e,t){if(!xe(e.localWeekday)||!xe(e.localWeekNumber)||!xe(e.localWeekYear)){if(!xe(e.weekday)||!xe(e.weekNumber)||!xe(e.weekYear))throw new hi("Cannot mix locale-based week fields with ISO-based week fields");return xe(e.localWeekday)||(e.weekday=e.localWeekday),xe(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),xe(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function _A(e,t=4,n=1){const r=Yc(e.weekYear),o=qn(e.weekNumber,1,Ys(e.weekYear,t,n)),i=qn(e.weekday,1,7);return r?o?i?!1:Hn("weekday",e.weekday):Hn("week",e.weekNumber):Hn("weekYear",e.weekYear)}function kA(e){const t=Yc(e.year),n=qn(e.ordinal,1,mi(e.year));return t?n?!1:Hn("ordinal",e.ordinal):Hn("year",e.year)}function f5(e){const t=Yc(e.year),n=qn(e.month,1,12),r=qn(e.day,1,Jc(e.year,e.month));return t?n?r?!1:Hn("day",e.day):Hn("month",e.month):Hn("year",e.year)}function h5(e){const{hour:t,minute:n,second:r,millisecond:o}=e,i=qn(t,0,23)||t===24&&n===0&&r===0&&o===0,s=qn(n,0,59),l=qn(r,0,59),c=qn(o,0,999);return i?s?l?c?!1:Hn("millisecond",o):Hn("second",r):Hn("minute",n):Hn("hour",t)}function xe(e){return typeof e>"u"}function mo(e){return typeof e=="number"}function Yc(e){return typeof e=="number"&&e%1===0}function EA(e){return typeof e=="string"}function xA(e){return Object.prototype.toString.call(e)==="[object Date]"}function p5(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function m5(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function CA(e){return Array.isArray(e)?e:[e]}function g5(e,t,n){if(e.length!==0)return e.reduce((r,o)=>{const i=[t(o),o];return r&&n(r[0],i[0])===r[0]?r:i},null)[1]}function SA(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function pi(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function N1(e){if(e==null)return null;if(typeof e!="object")throw new mn("Week settings must be an object");if(!qn(e.firstDay,1,7)||!qn(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(t=>!qn(t,1,7)))throw new mn("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function qn(e,t,n){return Yc(e)&&e>=t&&e<=n}function TA(e,t){return e-t*Math.floor(e/t)}function Mt(e,t=2){const n=e<0;let r;return n?r="-"+(""+-e).padStart(t,"0"):r=(""+e).padStart(t,"0"),r}function Ia(e){if(!(xe(e)||e===null||e===""))return parseInt(e,10)}function go(e){if(!(xe(e)||e===null||e===""))return parseFloat(e)}function $1(e){if(!(xe(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function e2(e,t,n=!1){const r=10**t;return(n?Math.trunc:Math.round)(e*r)/r}function Ks(e){return e%4===0&&(e%100!==0||e%400===0)}function mi(e){return Ks(e)?366:365}function Jc(e,t){const n=TA(t-1,12)+1,r=e+(t-n)/12;return n===2?Ks(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function Xc(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function v5(e,t,n){return-X1(J1(e,1,t),n)+t-1}function Ys(e,t=4,n=1){const r=v5(e,t,n),o=v5(e+1,t,n);return(mi(e)-r+o)/7}function t2(e){return e>99?e:e>At.twoDigitCutoffYear?1900+e:2e3+e}function y5(e,t,n,r=null){const o=new Date(e),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(i.timeZone=r);const s={timeZoneName:t,...i},l=new Intl.DateTimeFormat(n,s).formatToParts(o).find(c=>c.type.toLowerCase()==="timezonename");return l?l.value:null}function Qc(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);const r=parseInt(t,10)||0,o=n<0||Object.is(n,-0)?-r:r;return n*60+o}function b5(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new mn(`Invalid unit value ${e}`);return t}function Nc(e,t){const n={};for(const r in e)if(pi(e,r)){const o=e[r];if(o==null)continue;n[t(r)]=b5(o)}return n}function Js(e,t){const n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),o=e>=0?"+":"-";switch(t){case"short":return`${o}${Mt(n,2)}:${Mt(r,2)}`;case"narrow":return`${o}${n}${r>0?`:${r}`:""}`;case"techie":return`${o}${Mt(n,2)}${Mt(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function $c(e){return SA(e,["hour","minute","second","millisecond"])}const AA=["January","February","March","April","May","June","July","August","September","October","November","December"],w5=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],OA=["J","F","M","A","M","J","J","A","S","O","N","D"];function _5(e){switch(e){case"narrow":return[...OA];case"short":return[...w5];case"long":return[...AA];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const k5=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],E5=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],BA=["M","T","W","T","F","S","S"];function x5(e){switch(e){case"narrow":return[...BA];case"short":return[...E5];case"long":return[...k5];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const C5=["AM","PM"],IA=["Before Christ","Anno Domini"],VA=["BC","AD"],RA=["B","A"];function S5(e){switch(e){case"narrow":return[...RA];case"short":return[...VA];case"long":return[...IA];default:return null}}function DA(e){return C5[e.hour<12?0:1]}function MA(e,t){return x5(t)[e.weekday-1]}function PA(e,t){return _5(t)[e.month-1]}function LA(e,t){return S5(t)[e.year<0?0:1]}function FA(e,t,n="always",r=!1){const o={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=["hours","minutes","seconds"].indexOf(e)===-1;if(n==="auto"&&i){const f=e==="days";switch(t){case 1:return f?"tomorrow":`next ${o[e][0]}`;case-1:return f?"yesterday":`last ${o[e][0]}`;case 0:return f?"today":`this ${o[e][0]}`}}const s=Object.is(t,-0)||t<0,l=Math.abs(t),c=l===1,u=o[e],d=r?c?u[1]:u[2]||u[1]:c?o[e][0]:e;return s?`${l} ${d} ago`:`in ${l} ${d}`}function T5(e,t){let n="";for(const r of e)r.literal?n+=r.val:n+=t(r.val);return n}const UA={D:jc,DD:B4,DDD:I4,DDDD:V4,t:R4,tt:D4,ttt:M4,tttt:P4,T:L4,TT:F4,TTT:U4,TTTT:Z4,f:z4,ff:H4,fff:W4,ffff:K4,F:j4,FF:q4,FFF:G4,FFFF:Y4};class rn{static create(t,n={}){return new rn(t,n)}static parseFormat(t){let n=null,r="",o=!1;const i=[];for(let s=0;s<t.length;s++){const l=t.charAt(s);l==="'"?(r.length>0&&i.push({literal:o||/^\s+$/.test(r),val:r}),n=null,r="",o=!o):o||l===n?r+=l:(r.length>0&&i.push({literal:/^\s+$/.test(r),val:r}),r=l,n=l)}return r.length>0&&i.push({literal:o||/^\s+$/.test(r),val:r}),i}static macroTokenToFormatOpts(t){return UA[t]}constructor(t,n){this.opts=n,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,n){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...n}).format()}dtFormatter(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n})}formatDateTime(t,n){return this.dtFormatter(t,n).format()}formatDateTimeParts(t,n){return this.dtFormatter(t,n).formatToParts()}formatInterval(t,n){return this.dtFormatter(t.start,n).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,n){return this.dtFormatter(t,n).resolvedOptions()}num(t,n=0){if(this.opts.forceSimple)return Mt(t,n);const r={...this.opts};return n>0&&(r.padTo=n),this.loc.numberFormatter(r).format(t)}formatDateTimeFromString(t,n){const r=this.loc.listingMode()==="en",o=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",i=(p,g)=>this.loc.extract(t,p,g),s=p=>t.isOffsetFixed&&t.offset===0&&p.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,p.format):"",l=()=>r?DA(t):i({hour:"numeric",hourCycle:"h12"},"dayperiod"),c=(p,g)=>r?PA(t,p):i(g?{month:p}:{month:p,day:"numeric"},"month"),u=(p,g)=>r?MA(t,p):i(g?{weekday:p}:{weekday:p,month:"long",day:"numeric"},"weekday"),d=p=>{const g=rn.macroTokenToFormatOpts(p);return g?this.formatWithSystemDefault(t,g):p},f=p=>r?LA(t,p):i({era:p},"era"),h=p=>{switch(p){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12===0?12:t.hour%12);case"hh":return this.num(t.hour%12===0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return l();case"d":return o?i({day:"numeric"},"day"):this.num(t.day);case"dd":return o?i({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return u("short",!0);case"cccc":return u("long",!0);case"ccccc":return u("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return u("short",!1);case"EEEE":return u("long",!1);case"EEEEE":return u("narrow",!1);case"L":return o?i({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return o?i({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return c("short",!0);case"LLLL":return c("long",!0);case"LLLLL":return c("narrow",!0);case"M":return o?i({month:"numeric"},"month"):this.num(t.month);case"MM":return o?i({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return c("short",!1);case"MMMM":return c("long",!1);case"MMMMM":return c("narrow",!1);case"y":return o?i({year:"numeric"},"year"):this.num(t.year);case"yy":return o?i({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return o?i({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return o?i({year:"numeric"},"year"):this.num(t.year,6);case"G":return f("short");case"GG":return f("long");case"GGGGG":return f("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return d(p)}};return T5(rn.parseFormat(n),h)}formatDurationFromString(t,n){const r=c=>{switch(c[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},o=c=>u=>{const d=r(u);return d?this.num(c.get(d),u.length):u},i=rn.parseFormat(n),s=i.reduce((c,{literal:u,val:d})=>u?c:c.concat(d),[]),l=t.shiftTo(...s.map(r).filter(c=>c));return T5(i,o(l))}}const A5=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function gi(...e){const t=e.reduce((n,r)=>n+r.source,"");return RegExp(`^${t}$`)}function vi(...e){return t=>e.reduce(([n,r,o],i)=>{const[s,l,c]=i(t,o);return[{...n,...s},l||r,c]},[{},null,1]).slice(0,2)}function yi(e,...t){if(e==null)return[null,null];for(const[n,r]of t){const o=n.exec(e);if(o)return r(o)}return[null,null]}function O5(...e){return(t,n)=>{const r={};let o;for(o=0;o<e.length;o++)r[e[o]]=Ia(t[n+o]);return[r,null,n+o]}}const B5=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,ZA=`(?:${B5.source}?(?:\\[(${A5.source})\\])?)?`,n2=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,I5=RegExp(`${n2.source}${ZA}`),r2=RegExp(`(?:T${I5.source})?`),zA=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,jA=/(\d{4})-?W(\d\d)(?:-?(\d))?/,HA=/(\d{4})-?(\d{3})/,qA=O5("weekYear","weekNumber","weekDay"),WA=O5("year","ordinal"),GA=/(\d{4})-(\d\d)-(\d\d)/,V5=RegExp(`${n2.source} ?(?:${B5.source}|(${A5.source}))?`),KA=RegExp(`(?: ${V5.source})?`);function bi(e,t,n){const r=e[t];return xe(r)?n:Ia(r)}function YA(e,t){return[{year:bi(e,t),month:bi(e,t+1,1),day:bi(e,t+2,1)},null,t+3]}function wi(e,t){return[{hours:bi(e,t,0),minutes:bi(e,t+1,0),seconds:bi(e,t+2,0),milliseconds:$1(e[t+3])},null,t+4]}function Xs(e,t){const n=!e[t]&&!e[t+1],r=Qc(e[t+1],e[t+2]),o=n?null:un.instance(r);return[{},o,t+3]}function Qs(e,t){const n=e[t]?Qr.create(e[t]):null;return[{},n,t+1]}const JA=RegExp(`^T?${n2.source}$`),XA=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function QA(e){const[t,n,r,o,i,s,l,c,u]=e,d=t[0]==="-",f=c&&c[0]==="-",h=(p,g=!1)=>p!==void 0&&(g||p&&d)?-p:p;return[{years:h(go(n)),months:h(go(r)),weeks:h(go(o)),days:h(go(i)),hours:h(go(s)),minutes:h(go(l)),seconds:h(go(c),c==="-0"),milliseconds:h($1(u),f)}]}const NA={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function a2(e,t,n,r,o,i,s){const l={year:t.length===2?t2(Ia(t)):Ia(t),month:w5.indexOf(n)+1,day:Ia(r),hour:Ia(o),minute:Ia(i)};return s&&(l.second=Ia(s)),e&&(l.weekday=e.length>3?k5.indexOf(e)+1:E5.indexOf(e)+1),l}const $A=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function eO(e){const[,t,n,r,o,i,s,l,c,u,d,f]=e,h=a2(t,o,r,n,i,s,l);let p;return c?p=NA[c]:u?p=0:p=Qc(d,f),[h,new un(p)]}function tO(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const nO=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,rO=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,aO=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function R5(e){const[,t,n,r,o,i,s,l]=e;return[a2(t,o,r,n,i,s,l),un.utcInstance]}function oO(e){const[,t,n,r,o,i,s,l]=e;return[a2(t,l,n,r,o,i,s),un.utcInstance]}const iO=gi(zA,r2),sO=gi(jA,r2),lO=gi(HA,r2),cO=gi(I5),D5=vi(YA,wi,Xs,Qs),uO=vi(qA,wi,Xs,Qs),dO=vi(WA,wi,Xs,Qs),fO=vi(wi,Xs,Qs);function hO(e){return yi(e,[iO,D5],[sO,uO],[lO,dO],[cO,fO])}function pO(e){return yi(tO(e),[$A,eO])}function mO(e){return yi(e,[nO,R5],[rO,R5],[aO,oO])}function gO(e){return yi(e,[XA,QA])}const vO=vi(wi);function yO(e){return yi(e,[JA,vO])}const bO=gi(GA,KA),wO=gi(V5),_O=vi(wi,Xs,Qs);function kO(e){return yi(e,[bO,D5],[wO,_O])}const M5="Invalid Duration",P5={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},EO={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...P5},Wn=146097/400,_i=146097/4800,xO={years:{quarters:4,months:12,weeks:Wn/7,days:Wn,hours:Wn*24,minutes:Wn*24*60,seconds:Wn*24*60*60,milliseconds:Wn*24*60*60*1e3},quarters:{months:3,weeks:Wn/28,days:Wn/4,hours:Wn*24/4,minutes:Wn*24*60/4,seconds:Wn*24*60*60/4,milliseconds:Wn*24*60*60*1e3/4},months:{weeks:_i/7,days:_i,hours:_i*24,minutes:_i*24*60,seconds:_i*24*60*60,milliseconds:_i*24*60*60*1e3},...P5},vo=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],CO=vo.slice(0).reverse();function Va(e,t,n=!1){const r={values:n?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new We(r)}function L5(e,t){let n=t.milliseconds??0;for(const r of CO.slice(1))t[r]&&(n+=t[r]*e[r].milliseconds);return n}function F5(e,t){const n=L5(e,t)<0?-1:1;vo.reduceRight((r,o)=>{if(xe(t[o]))return r;if(r){const i=t[r]*n,s=e[o][r],l=Math.floor(i/s);t[o]+=l*n,t[r]-=l*s*n}return o},null),vo.reduce((r,o)=>{if(xe(t[o]))return r;if(r){const i=t[r]%1;t[r]-=i,t[o]+=i*e[r][o]}return o},null)}function SO(e){const t={};for(const[n,r]of Object.entries(e))r!==0&&(t[n]=r);return t}class We{constructor(t){const n=t.conversionAccuracy==="longterm"||!1;let r=n?xO:EO;t.matrix&&(r=t.matrix),this.values=t.values,this.loc=t.loc||it.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(t,n){return We.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(t==null||typeof t!="object")throw new mn(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new We({values:Nc(t,We.normalizeUnit),loc:it.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(mo(t))return We.fromMillis(t);if(We.isDuration(t))return t;if(typeof t=="object")return We.fromObject(t);throw new mn(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){const[r]=gO(t);return r?We.fromObject(r,n):We.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){const[r]=yO(t);return r?We.fromObject(r,n):We.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new mn("need to specify a reason the Duration is invalid");const r=t instanceof sr?t:new sr(t,n);if(At.throwOnInvalid)throw new $T(r);return new We({invalid:r})}static normalizeUnit(t){const n={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t&&t.toLowerCase()];if(!n)throw new O4(t);return n}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,n={}){const r={...n,floor:n.round!==!1&&n.floor!==!1};return this.isValid?rn.create(this.loc,r).formatDurationFromString(this,t):M5}toHuman(t={}){if(!this.isValid)return M5;const n=vo.map(r=>{const o=this.values[r];return xe(o)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:r.slice(0,-1)}).format(o)}).filter(r=>r);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return this.years!==0&&(t+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(t+=this.months+this.quarters*3+"M"),this.weeks!==0&&(t+=this.weeks+"W"),this.days!==0&&(t+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(t+="T"),this.hours!==0&&(t+=this.hours+"H"),this.minutes!==0&&(t+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(t+=e2(this.seconds+this.milliseconds/1e3,3)+"S"),t==="P"&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const n=this.toMillis();return n<0||n>=864e5?null:(t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1},we.fromMillis(n,{zone:"UTC"}).toISOTime(t))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?L5(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const n=We.fromDurationLike(t),r={};for(const o of vo)(pi(n.values,o)||pi(this.values,o))&&(r[o]=n.get(o)+this.get(o));return Va(this,{values:r},!0)}minus(t){if(!this.isValid)return this;const n=We.fromDurationLike(t);return this.plus(n.negate())}mapUnits(t){if(!this.isValid)return this;const n={};for(const r of Object.keys(this.values))n[r]=b5(t(this.values[r],r));return Va(this,{values:n},!0)}get(t){return this[We.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n={...this.values,...Nc(t,We.normalizeUnit)};return Va(this,{values:n})}reconfigure({locale:t,numberingSystem:n,conversionAccuracy:r,matrix:o}={}){const s={loc:this.loc.clone({locale:t,numberingSystem:n}),matrix:o,conversionAccuracy:r};return Va(this,s)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return F5(this.matrix,t),Va(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=SO(this.normalize().shiftToAll().toObject());return Va(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(s=>We.normalizeUnit(s));const n={},r={},o=this.toObject();let i;for(const s of vo)if(t.indexOf(s)>=0){i=s;let l=0;for(const u in r)l+=this.matrix[u][s]*r[u],r[u]=0;mo(o[s])&&(l+=o[s]);const c=Math.trunc(l);n[s]=c,r[s]=(l*1e3-c*1e3)/1e3}else mo(o[s])&&(r[s]=o[s]);for(const s in r)r[s]!==0&&(n[i]+=s===i?r[s]:r[s]/this.matrix[i][s]);return F5(this.matrix,n),Va(this,{values:n},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const n of Object.keys(this.values))t[n]=this.values[n]===0?0:-this.values[n];return Va(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid||!this.loc.equals(t.loc))return!1;function n(r,o){return r===void 0||r===0?o===void 0||o===0:r===o}for(const r of vo)if(!n(this.values[r],t.values[r]))return!1;return!0}}const ki="Invalid Interval";function TO(e,t){return!e||!e.isValid?wt.invalid("missing or invalid start"):!t||!t.isValid?wt.invalid("missing or invalid end"):t<e?wt.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null}class wt{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,n=null){if(!t)throw new mn("need to specify a reason the Interval is invalid");const r=t instanceof sr?t:new sr(t,n);if(At.throwOnInvalid)throw new NT(r);return new wt({invalid:r})}static fromDateTimes(t,n){const r=$s(t),o=$s(n),i=TO(r,o);return i??new wt({start:r,end:o})}static after(t,n){const r=We.fromDurationLike(n),o=$s(t);return wt.fromDateTimes(o,o.plus(r))}static before(t,n){const r=We.fromDurationLike(n),o=$s(t);return wt.fromDateTimes(o.minus(r),o)}static fromISO(t,n){const[r,o]=(t||"").split("/",2);if(r&&o){let i,s;try{i=we.fromISO(r,n),s=i.isValid}catch{s=!1}let l,c;try{l=we.fromISO(o,n),c=l.isValid}catch{c=!1}if(s&&c)return wt.fromDateTimes(i,l);if(s){const u=We.fromISO(o,n);if(u.isValid)return wt.after(i,u)}else if(c){const u=We.fromISO(r,n);if(u.isValid)return wt.before(l,u)}}return wt.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",n){if(!this.isValid)return NaN;const r=this.start.startOf(t,n);let o;return n!=null&&n.useLocaleWeeks?o=this.end.reconfigure({locale:r.locale}):o=this.end,o=o.startOf(t,n),Math.floor(o.diff(r,t).get(t))+(o.valueOf()!==this.end.valueOf())}hasSame(t){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,t):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return this.isValid?this.s>t:!1}isBefore(t){return this.isValid?this.e<=t:!1}contains(t){return this.isValid?this.s<=t&&this.e>t:!1}set({start:t,end:n}={}){return this.isValid?wt.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map($s).filter(s=>this.contains(s)).sort((s,l)=>s.toMillis()-l.toMillis()),r=[];let{s:o}=this,i=0;for(;o<this.e;){const s=n[i]||this.e,l=+s>+this.e?this.e:s;r.push(wt.fromDateTimes(o,l)),o=l,i+=1}return r}splitBy(t){const n=We.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:r}=this,o=1,i;const s=[];for(;r<this.e;){const l=this.start.plus(n.mapUnits(c=>c*o));i=+l>+this.e?this.e:l,s.push(wt.fromDateTimes(r,i)),r=i,o+=1}return s}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return this.isValid?+this.e==+t.s:!1}abutsEnd(t){return this.isValid?+t.e==+this.s:!1}engulfs(t){return this.isValid?this.s<=t.s&&this.e>=t.e:!1}equals(t){return!this.isValid||!t.isValid?!1:this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const n=this.s>t.s?this.s:t.s,r=this.e<t.e?this.e:t.e;return n>=r?null:wt.fromDateTimes(n,r)}union(t){if(!this.isValid)return this;const n=this.s<t.s?this.s:t.s,r=this.e>t.e?this.e:t.e;return wt.fromDateTimes(n,r)}static merge(t){const[n,r]=t.sort((o,i)=>o.s-i.s).reduce(([o,i],s)=>i?i.overlaps(s)||i.abutsStart(s)?[o,i.union(s)]:[o.concat([i]),s]:[o,s],[[],null]);return r&&n.push(r),n}static xor(t){let n=null,r=0;const o=[],i=t.map(c=>[{time:c.s,type:"s"},{time:c.e,type:"e"}]),s=Array.prototype.concat(...i),l=s.sort((c,u)=>c.time-u.time);for(const c of l)r+=c.type==="s"?1:-1,r===1?n=c.time:(n&&+n!=+c.time&&o.push(wt.fromDateTimes(n,c.time)),n=null);return wt.merge(o)}difference(...t){return wt.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:ki}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=jc,n={}){return this.isValid?rn.create(this.s.loc.clone(n),t).formatInterval(this):ki}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:ki}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:ki}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:ki}toFormat(t,{separator:n=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:ki}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):We.invalid(this.invalidReason)}mapEndpoints(t){return wt.fromDateTimes(t(this.s),t(this.e))}}class eu{static hasDST(t=At.defaultZone){const n=we.now().setZone(t).set({month:12});return!t.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(t){return Qr.isValidZone(t)}static normalizeZone(t){return Ba(t,At.defaultZone)}static getStartOfWeek({locale:t=null,locObj:n=null}={}){return(n||it.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:n=null}={}){return(n||it.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:n=null}={}){return(n||it.create(t)).getWeekendDays().slice()}static months(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null,outputCalendar:i="gregory"}={}){return(o||it.create(n,r,i)).months(t)}static monthsFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null,outputCalendar:i="gregory"}={}){return(o||it.create(n,r,i)).months(t,!0)}static weekdays(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null}={}){return(o||it.create(n,r,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null}={}){return(o||it.create(n,r,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return it.create(t).meridiems()}static eras(t="short",{locale:n=null}={}){return it.create(n,null,"gregory").eras(t)}static features(){return{relative:p5(),localeWeek:m5()}}}function U5(e,t){const n=o=>o.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(t)-n(e);return Math.floor(We.fromMillis(r).as("days"))}function AO(e,t,n){const r=[["years",(c,u)=>u.year-c.year],["quarters",(c,u)=>u.quarter-c.quarter+(u.year-c.year)*4],["months",(c,u)=>u.month-c.month+(u.year-c.year)*12],["weeks",(c,u)=>{const d=U5(c,u);return(d-d%7)/7}],["days",U5]],o={},i=e;let s,l;for(const[c,u]of r)n.indexOf(c)>=0&&(s=c,o[c]=u(e,t),l=i.plus(o),l>t?(o[c]--,e=i.plus(o),e>t&&(l=e,o[c]--,e=i.plus(o))):e=l);return[e,o,l,s]}function OO(e,t,n,r){let[o,i,s,l]=AO(e,t,n);const c=t-o,u=n.filter(f=>["hours","minutes","seconds","milliseconds"].indexOf(f)>=0);u.length===0&&(s<t&&(s=o.plus({[l]:1})),s!==o&&(i[l]=(i[l]||0)+c/(s-o)));const d=We.fromObject(i,r);return u.length>0?We.fromMillis(c,r).shiftTo(...u).plus(d):d}const o2={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Z5={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},BO=o2.hanidec.replace(/[\[|\]]/g,"").split("");function IO(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);if(e[n].search(o2.hanidec)!==-1)t+=BO.indexOf(e[n]);else for(const o in Z5){const[i,s]=Z5[o];r>=i&&r<=s&&(t+=r-i)}}return parseInt(t,10)}else return t}function lr({numberingSystem:e},t=""){return new RegExp(`${o2[e||"latn"]}${t}`)}const VO="missing Intl.DateTimeFormat.formatToParts support";function Qe(e,t=n=>n){return{regex:e,deser:([n])=>t(IO(n))}}const z5="[ ]",j5=new RegExp(z5,"g");function RO(e){return e.replace(/\./g,"\\.?").replace(j5,z5)}function H5(e){return e.replace(/\./g,"").replace(j5," ").toLowerCase()}function cr(e,t){return e===null?null:{regex:RegExp(e.map(RO).join("|")),deser:([n])=>e.findIndex(r=>H5(n)===H5(r))+t}}function q5(e,t){return{regex:e,deser:([,n,r])=>Qc(n,r),groups:t}}function tu(e){return{regex:e,deser:([t])=>t}}function DO(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function MO(e,t){const n=lr(t),r=lr(t,"{2}"),o=lr(t,"{3}"),i=lr(t,"{4}"),s=lr(t,"{6}"),l=lr(t,"{1,2}"),c=lr(t,"{1,3}"),u=lr(t,"{1,6}"),d=lr(t,"{1,9}"),f=lr(t,"{2,4}"),h=lr(t,"{4,6}"),p=y=>({regex:RegExp(DO(y.val)),deser:([k])=>k,literal:!0}),w=(y=>{if(e.literal)return p(y);switch(y.val){case"G":return cr(t.eras("short"),0);case"GG":return cr(t.eras("long"),0);case"y":return Qe(u);case"yy":return Qe(f,t2);case"yyyy":return Qe(i);case"yyyyy":return Qe(h);case"yyyyyy":return Qe(s);case"M":return Qe(l);case"MM":return Qe(r);case"MMM":return cr(t.months("short",!0),1);case"MMMM":return cr(t.months("long",!0),1);case"L":return Qe(l);case"LL":return Qe(r);case"LLL":return cr(t.months("short",!1),1);case"LLLL":return cr(t.months("long",!1),1);case"d":return Qe(l);case"dd":return Qe(r);case"o":return Qe(c);case"ooo":return Qe(o);case"HH":return Qe(r);case"H":return Qe(l);case"hh":return Qe(r);case"h":return Qe(l);case"mm":return Qe(r);case"m":return Qe(l);case"q":return Qe(l);case"qq":return Qe(r);case"s":return Qe(l);case"ss":return Qe(r);case"S":return Qe(c);case"SSS":return Qe(o);case"u":return tu(d);case"uu":return tu(l);case"uuu":return Qe(n);case"a":return cr(t.meridiems(),0);case"kkkk":return Qe(i);case"kk":return Qe(f,t2);case"W":return Qe(l);case"WW":return Qe(r);case"E":case"c":return Qe(n);case"EEE":return cr(t.weekdays("short",!1),1);case"EEEE":return cr(t.weekdays("long",!1),1);case"ccc":return cr(t.weekdays("short",!0),1);case"cccc":return cr(t.weekdays("long",!0),1);case"Z":case"ZZ":return q5(new RegExp(`([+-]${l.source})(?::(${r.source}))?`),2);case"ZZZ":return q5(new RegExp(`([+-]${l.source})(${r.source})?`),2);case"z":return tu(/[a-z_+-/]{1,256}?/i);case" ":return tu(/[^\S\n\r]/);default:return p(y)}})(e)||{invalidReason:VO};return w.token=e,w}const PO={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function LO(e,t,n){const{type:r,value:o}=e;if(r==="literal"){const c=/^\s+$/.test(o);return{literal:!c,val:c?" ":o}}const i=t[r];let s=r;r==="hour"&&(t.hour12!=null?s=t.hour12?"hour12":"hour24":t.hourCycle!=null?t.hourCycle==="h11"||t.hourCycle==="h12"?s="hour12":s="hour24":s=n.hour12?"hour12":"hour24");let l=PO[s];if(typeof l=="object"&&(l=l[i]),l)return{literal:!1,val:l}}function FO(e){return[`^${e.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,e]}function UO(e,t,n){const r=e.match(t);if(r){const o={};let i=1;for(const s in n)if(pi(n,s)){const l=n[s],c=l.groups?l.groups+1:1;!l.literal&&l.token&&(o[l.token.val[0]]=l.deser(r.slice(i,i+c))),i+=c}return[r,o]}else return[r,{}]}function ZO(e){const t=i=>{switch(i){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let n=null,r;return xe(e.z)||(n=Qr.create(e.z)),xe(e.Z)||(n||(n=new un(e.Z)),r=e.Z),xe(e.q)||(e.M=(e.q-1)*3+1),xe(e.h)||(e.h<12&&e.a===1?e.h+=12:e.h===12&&e.a===0&&(e.h=0)),e.G===0&&e.y&&(e.y=-e.y),xe(e.u)||(e.S=$1(e.u)),[Object.keys(e).reduce((i,s)=>{const l=t(s);return l&&(i[l]=e[s]),i},{}),n,r]}let i2=null;function zO(){return i2||(i2=we.fromMillis(1555555555555)),i2}function jO(e,t){if(e.literal)return e;const n=rn.macroTokenToFormatOpts(e.val),r=K5(n,t);return r==null||r.includes(void 0)?e:r}function W5(e,t){return Array.prototype.concat(...e.map(n=>jO(n,t)))}function G5(e,t,n){const r=W5(rn.parseFormat(n),e),o=r.map(s=>MO(s,e)),i=o.find(s=>s.invalidReason);if(i)return{input:t,tokens:r,invalidReason:i.invalidReason};{const[s,l]=FO(o),c=RegExp(s,"i"),[u,d]=UO(t,c,l),[f,h,p]=d?ZO(d):[null,null,void 0];if(pi(d,"a")&&pi(d,"H"))throw new hi("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:r,regex:c,rawMatches:u,matches:d,result:f,zone:h,specificOffset:p}}}function HO(e,t,n){const{result:r,zone:o,specificOffset:i,invalidReason:s}=G5(e,t,n);return[r,o,i,s]}function K5(e,t){if(!e)return null;const r=rn.create(t,e).dtFormatter(zO()),o=r.formatToParts(),i=r.resolvedOptions();return o.map(s=>LO(s,e,i))}const s2="Invalid DateTime",Y5=864e13;function nu(e){return new sr("unsupported zone",`the zone "${e.name}" is not supported`)}function l2(e){return e.weekData===null&&(e.weekData=Kc(e.c)),e.weekData}function c2(e){return e.localWeekData===null&&(e.localWeekData=Kc(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function yo(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new we({...n,...t,old:n})}function J5(e,t,n){let r=e-t*60*1e3;const o=n.offset(r);if(t===o)return[r,t];r-=(o-t)*60*1e3;const i=n.offset(r);return o===i?[r,o]:[e-Math.min(o,i)*60*1e3,Math.max(o,i)]}function ru(e,t){e+=t*60*1e3;const n=new Date(e);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function au(e,t,n){return J5(Xc(e),t,n)}function X5(e,t){const n=e.o,r=e.c.year+Math.trunc(t.years),o=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,i={...e.c,year:r,month:o,day:Math.min(e.c.day,Jc(r,o))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},s=We.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),l=Xc(i);let[c,u]=J5(l,n,e.zone);return s!==0&&(c+=s,u=e.zone.offset(c)),{ts:c,o:u}}function Ns(e,t,n,r,o,i){const{setZone:s,zone:l}=n;if(e&&Object.keys(e).length!==0||t){const c=t||l,u=we.fromObject(e,{...n,zone:c,specificOffset:i});return s?u:u.setZone(l)}else return we.invalid(new sr("unparsable",`the input "${o}" can't be parsed as ${r}`))}function ou(e,t,n=!0){return e.isValid?rn.create(it.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function u2(e,t){const n=e.c.year>9999||e.c.year<0;let r="";return n&&e.c.year>=0&&(r+="+"),r+=Mt(e.c.year,n?6:4),t?(r+="-",r+=Mt(e.c.month),r+="-",r+=Mt(e.c.day)):(r+=Mt(e.c.month),r+=Mt(e.c.day)),r}function Q5(e,t,n,r,o,i){let s=Mt(e.c.hour);return t?(s+=":",s+=Mt(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(s+=":")):s+=Mt(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(s+=Mt(e.c.second),(e.c.millisecond!==0||!r)&&(s+=".",s+=Mt(e.c.millisecond,3))),o&&(e.isOffsetFixed&&e.offset===0&&!i?s+="Z":e.o<0?(s+="-",s+=Mt(Math.trunc(-e.o/60)),s+=":",s+=Mt(Math.trunc(-e.o%60))):(s+="+",s+=Mt(Math.trunc(e.o/60)),s+=":",s+=Mt(Math.trunc(e.o%60)))),i&&(s+="["+e.zone.ianaName+"]"),s}const N5={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qO={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},WO={ordinal:1,hour:0,minute:0,second:0,millisecond:0},$5=["year","month","day","hour","minute","second","millisecond"],GO=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],KO=["year","ordinal","hour","minute","second","millisecond"];function YO(e){const t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new O4(e);return t}function eg(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return YO(e)}}function tg(e,t){const n=Ba(t.zone,At.defaultZone),r=it.fromObject(t),o=At.now();let i,s;if(xe(e.year))i=o;else{for(const u of $5)xe(e[u])&&(e[u]=N5[u]);const l=f5(e)||h5(e);if(l)return we.invalid(l);const c=n.offset(o);[i,s]=au(e,c,n)}return new we({ts:i,zone:n,loc:r,o:s})}function ng(e,t,n){const r=xe(n.round)?!0:n.round,o=(s,l)=>(s=e2(s,r||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(s,l)),i=s=>n.calendary?t.hasSame(e,s)?0:t.startOf(s).diff(e.startOf(s),s).get(s):t.diff(e,s).get(s);if(n.unit)return o(i(n.unit),n.unit);for(const s of n.units){const l=i(s);if(Math.abs(l)>=1)return o(l,s)}return o(e>t?-0:0,n.units[n.units.length-1])}function rg(e){let t={},n;return e.length>0&&typeof e[e.length-1]=="object"?(t=e[e.length-1],n=Array.from(e).slice(0,e.length-1)):n=Array.from(e),[t,n]}class we{constructor(t){const n=t.zone||At.defaultZone;let r=t.invalid||(Number.isNaN(t.ts)?new sr("invalid input"):null)||(n.isValid?null:nu(n));this.ts=xe(t.ts)?At.now():t.ts;let o=null,i=null;if(!r)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(n))[o,i]=[t.old.c,t.old.o];else{const l=n.offset(this.ts);o=ru(this.ts,l),r=Number.isNaN(o.year)?new sr("invalid input"):null,o=r?null:o,i=r?null:l}this._zone=n,this.loc=t.loc||it.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=o,this.o=i,this.isLuxonDateTime=!0}static now(){return new we({})}static local(){const[t,n]=rg(arguments),[r,o,i,s,l,c,u]=n;return tg({year:r,month:o,day:i,hour:s,minute:l,second:c,millisecond:u},t)}static utc(){const[t,n]=rg(arguments),[r,o,i,s,l,c,u]=n;return t.zone=un.utcInstance,tg({year:r,month:o,day:i,hour:s,minute:l,second:c,millisecond:u},t)}static fromJSDate(t,n={}){const r=xA(t)?t.valueOf():NaN;if(Number.isNaN(r))return we.invalid("invalid input");const o=Ba(n.zone,At.defaultZone);return o.isValid?new we({ts:r,zone:o,loc:it.fromObject(n)}):we.invalid(nu(o))}static fromMillis(t,n={}){if(mo(t))return t<-Y5||t>Y5?we.invalid("Timestamp out of range"):new we({ts:t,zone:Ba(n.zone,At.defaultZone),loc:it.fromObject(n)});throw new mn(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,n={}){if(mo(t))return new we({ts:t*1e3,zone:Ba(n.zone,At.defaultZone),loc:it.fromObject(n)});throw new mn("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const r=Ba(n.zone,At.defaultZone);if(!r.isValid)return we.invalid(nu(r));const o=it.fromObject(n),i=Nc(t,eg),{minDaysInFirstWeek:s,startOfWeek:l}=d5(i,o),c=At.now(),u=xe(n.specificOffset)?r.offset(c):n.specificOffset,d=!xe(i.ordinal),f=!xe(i.year),h=!xe(i.month)||!xe(i.day),p=f||h,g=i.weekYear||i.weekNumber;if((p||d)&&g)throw new hi("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&d)throw new hi("Can't mix ordinal dates with month/day");const w=g||i.weekday&&!p;let y,k,v=ru(c,u);w?(y=GO,k=qO,v=Kc(v,s,l)):d?(y=KO,k=WO,v=Q1(v)):(y=$5,k=N5);let m=!1;for(const S of y){const A=i[S];xe(A)?m?i[S]=k[S]:i[S]=v[S]:m=!0}const b=w?_A(i,s,l):d?kA(i):f5(i),_=b||h5(i);if(_)return we.invalid(_);const E=w?c5(i,s,l):d?u5(i):i,[x,O]=au(E,u,r),B=new we({ts:x,zone:r,o:O,loc:o});return i.weekday&&p&&t.weekday!==B.weekday?we.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${B.toISO()}`):B}static fromISO(t,n={}){const[r,o]=hO(t);return Ns(r,o,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[r,o]=pO(t);return Ns(r,o,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[r,o]=mO(t);return Ns(r,o,n,"HTTP",n)}static fromFormat(t,n,r={}){if(xe(t)||xe(n))throw new mn("fromFormat requires an input string and a format");const{locale:o=null,numberingSystem:i=null}=r,s=it.fromOpts({locale:o,numberingSystem:i,defaultToEN:!0}),[l,c,u,d]=HO(s,t,n);return d?we.invalid(d):Ns(l,c,r,`format ${n}`,t,u)}static fromString(t,n,r={}){return we.fromFormat(t,n,r)}static fromSQL(t,n={}){const[r,o]=kO(t);return Ns(r,o,n,"SQL",t)}static invalid(t,n=null){if(!t)throw new mn("need to specify a reason the DateTime is invalid");const r=t instanceof sr?t:new sr(t,n);if(At.throwOnInvalid)throw new QT(r);return new we({invalid:r})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,n={}){const r=K5(t,it.fromObject(n));return r?r.map(o=>o?o.val:null).join(""):null}static expandFormat(t,n={}){return W5(rn.parseFormat(t),it.fromObject(n)).map(o=>o.val).join("")}get(t){return this[t]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?l2(this).weekYear:NaN}get weekNumber(){return this.isValid?l2(this).weekNumber:NaN}get weekday(){return this.isValid?l2(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?c2(this).weekday:NaN}get localWeekNumber(){return this.isValid?c2(this).weekNumber:NaN}get localWeekYear(){return this.isValid?c2(this).weekYear:NaN}get ordinal(){return this.isValid?Q1(this.c).ordinal:NaN}get monthShort(){return this.isValid?eu.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?eu.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?eu.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?eu.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,n=6e4,r=Xc(this.c),o=this.zone.offset(r-t),i=this.zone.offset(r+t),s=this.zone.offset(r-o*n),l=this.zone.offset(r-i*n);if(s===l)return[this];const c=r-s*n,u=r-l*n,d=ru(c,s),f=ru(u,l);return d.hour===f.hour&&d.minute===f.minute&&d.second===f.second&&d.millisecond===f.millisecond?[yo(this,{ts:c}),yo(this,{ts:u})]:[this]}get isInLeapYear(){return Ks(this.year)}get daysInMonth(){return Jc(this.year,this.month)}get daysInYear(){return this.isValid?mi(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ys(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ys(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:r,calendar:o}=rn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:o}}toUTC(t=0,n={}){return this.setZone(un.instance(t),n)}toLocal(){return this.setZone(At.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(t=Ba(t,At.defaultZone),t.equals(this.zone))return this;if(t.isValid){let o=this.ts;if(n||r){const i=t.offset(this.ts),s=this.toObject();[o]=au(s,i,t)}return yo(this,{ts:o,zone:t})}else return we.invalid(nu(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:r}={}){const o=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:r});return yo(this,{loc:o})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=Nc(t,eg),{minDaysInFirstWeek:r,startOfWeek:o}=d5(n,this.loc),i=!xe(n.weekYear)||!xe(n.weekNumber)||!xe(n.weekday),s=!xe(n.ordinal),l=!xe(n.year),c=!xe(n.month)||!xe(n.day),u=l||c,d=n.weekYear||n.weekNumber;if((u||s)&&d)throw new hi("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&s)throw new hi("Can't mix ordinal dates with month/day");let f;i?f=c5({...Kc(this.c,r,o),...n},r,o):xe(n.ordinal)?(f={...this.toObject(),...n},xe(n.day)&&(f.day=Math.min(Jc(f.year,f.month),f.day))):f=u5({...Q1(this.c),...n});const[h,p]=au(f,this.o,this.zone);return yo(this,{ts:h,o:p})}plus(t){if(!this.isValid)return this;const n=We.fromDurationLike(t);return yo(this,X5(this,n))}minus(t){if(!this.isValid)return this;const n=We.fromDurationLike(t).negate();return yo(this,X5(this,n))}startOf(t,{useLocaleWeeks:n=!1}={}){if(!this.isValid)return this;const r={},o=We.normalizeUnit(t);switch(o){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break}if(o==="weeks")if(n){const i=this.loc.getStartOfWeek(),{weekday:s}=this;s<i&&(r.weekNumber=this.weekNumber-1),r.weekday=i}else r.weekday=1;if(o==="quarters"){const i=Math.ceil(this.month/3);r.month=(i-1)*3+1}return this.set(r)}endOf(t,n){return this.isValid?this.plus({[t]:1}).startOf(t,n).minus(1):this}toFormat(t,n={}){return this.isValid?rn.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,t):s2}toLocaleString(t=jc,n={}){return this.isValid?rn.create(this.loc.clone(n),t).formatDateTime(this):s2}toLocaleParts(t={}){return this.isValid?rn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:n=!1,suppressMilliseconds:r=!1,includeOffset:o=!0,extendedZone:i=!1}={}){if(!this.isValid)return null;const s=t==="extended";let l=u2(this,s);return l+="T",l+=Q5(this,s,n,r,o,i),l}toISODate({format:t="extended"}={}){return this.isValid?u2(this,t==="extended"):null}toISOWeekDate(){return ou(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:n=!1,includeOffset:r=!0,includePrefix:o=!1,extendedZone:i=!1,format:s="extended"}={}){return this.isValid?(o?"T":"")+Q5(this,s==="extended",n,t,r,i):null}toRFC2822(){return ou(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ou(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?u2(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:n=!1,includeOffsetSpace:r=!0}={}){let o="HH:mm:ss.SSS";return(n||t)&&(r&&(o+=" "),n?o+="z":t&&(o+="ZZ")),ou(this,o,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():s2}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const n={...this.c};return t.includeConfig&&(n.outputCalendar=this.outputCalendar,n.numberingSystem=this.loc.numberingSystem,n.locale=this.loc.locale),n}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,n="milliseconds",r={}){if(!this.isValid||!t.isValid)return We.invalid("created by diffing an invalid DateTime");const o={locale:this.locale,numberingSystem:this.numberingSystem,...r},i=CA(n).map(We.normalizeUnit),s=t.valueOf()>this.valueOf(),l=s?this:t,c=s?t:this,u=OO(l,c,i,o);return s?u.negate():u}diffNow(t="milliseconds",n={}){return this.diff(we.now(),t,n)}until(t){return this.isValid?wt.fromDateTimes(this,t):this}hasSame(t,n,r){if(!this.isValid)return!1;const o=t.valueOf(),i=this.setZone(t.zone,{keepLocalTime:!0});return i.startOf(n,r)<=o&&o<=i.endOf(n,r)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const n=t.base||we.fromObject({},{zone:this.zone}),r=t.padding?this<n?-t.padding:t.padding:0;let o=["years","months","days","hours","minutes","seconds"],i=t.unit;return Array.isArray(t.unit)&&(o=t.unit,i=void 0),ng(n,this.plus(r),{...t,numeric:"always",units:o,unit:i})}toRelativeCalendar(t={}){return this.isValid?ng(t.base||we.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(we.isDateTime))throw new mn("min requires all arguments be DateTimes");return g5(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(we.isDateTime))throw new mn("max requires all arguments be DateTimes");return g5(t,n=>n.valueOf(),Math.max)}static fromFormatExplain(t,n,r={}){const{locale:o=null,numberingSystem:i=null}=r,s=it.fromOpts({locale:o,numberingSystem:i,defaultToEN:!0});return G5(s,t,n)}static fromStringExplain(t,n,r={}){return we.fromFormatExplain(t,n,r)}static get DATE_SHORT(){return jc}static get DATE_MED(){return B4}static get DATE_MED_WITH_WEEKDAY(){return eA}static get DATE_FULL(){return I4}static get DATE_HUGE(){return V4}static get TIME_SIMPLE(){return R4}static get TIME_WITH_SECONDS(){return D4}static get TIME_WITH_SHORT_OFFSET(){return M4}static get TIME_WITH_LONG_OFFSET(){return P4}static get TIME_24_SIMPLE(){return L4}static get TIME_24_WITH_SECONDS(){return F4}static get TIME_24_WITH_SHORT_OFFSET(){return U4}static get TIME_24_WITH_LONG_OFFSET(){return Z4}static get DATETIME_SHORT(){return z4}static get DATETIME_SHORT_WITH_SECONDS(){return j4}static get DATETIME_MED(){return H4}static get DATETIME_MED_WITH_SECONDS(){return q4}static get DATETIME_MED_WITH_WEEKDAY(){return tA}static get DATETIME_FULL(){return W4}static get DATETIME_FULL_WITH_SECONDS(){return G4}static get DATETIME_HUGE(){return K4}static get DATETIME_HUGE_WITH_SECONDS(){return Y4}}function $s(e){if(we.isDateTime(e))return e;if(e&&e.valueOf&&mo(e.valueOf()))return we.fromJSDate(e);if(e&&typeof e=="object")return we.fromObject(e);throw new mn(`Unknown datetime argument: ${e}, of type ${typeof e}`)}const JO=()=>/iPhone|iPad|iPod|Android|webOS|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);function iu(e="fge"){const t=a.ref({whatsapp:null,telegram:null,email:null,sms:null}),n=et(),r=a.ref(),o=a.ref(),i=a.ref(),s=a.ref(),l=a.ref(),c=a.ref(),u=a.ref(!1),d=a.ref(0);let f=null;a.onMounted(()=>{const x=Xd(e+"-estados");x&&(t.value={...JSON.parse(x)}),f=setInterval(()=>{d.value=Date.now()},1e3)}),a.onUnmounted(()=>{f&&clearInterval(f)});const h=x=>x==="telegram"||t.value[x]===null||typeof t.value[x]=="number"&&t.value[x]<Date.now(),p=(x,O)=>{const B=O||120;t.value[x]=we.now().plus({seconds:B}).toMillis(),Qd({name:e+"-estados",value:JSON.stringify(t.value),seconds:B})},g=async({callbackApi:x,code:O,counterTime:B=120,abrirTelegramDialog:S=!0,tiempoVigencia:A})=>{var q,F,X,fe,ae,Z;const D={contacto:o.value,medio:c.value,code:O,registroToken:O};if(h(c.value)){const z=await x(D);if(!z)return{error:!0,message:"Error al enviar el mensaje"};if(z.error)return K.error(`<p class="toast-title">Error</p><p class="toast-description">${z.message}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0}),z;{const ne=((F=(q=z.response)==null?void 0:q.data)==null?void 0:F.tiempoVigencia)||A;c.value!=="telegram"&&p(c.value,ne),((fe=(X=z.response)==null?void 0:X.data)==null?void 0:fe.medioActualizado)===!0||(c.value==="telegram"&&S?a.nextTick(()=>{_()}):K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${z.message||"Mensaje enviado"}!</p>`,{autoClose:5e3,hideProgressBar:!0,icon:jn,closeOnClick:!1,dangerouslyHTMLString:!0}));const de=ne||A||B;a.nextTick(()=>{var he;(he=r.value)==null||he.reInit(de)})}return z}else{if(c.value==="telegram"){const ne=await x(D);return ne?(ne.error?K.error(`<p class="toast-title">Error</p><p class="toast-description">${ne.message}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0}):!(((Z=(ae=ne.response)==null?void 0:ae.data)==null?void 0:Z.medioActualizado)===!0)&&S&&a.nextTick(()=>{_()}),a.nextTick(()=>{var Y;(Y=r.value)==null||Y.reInit(B)}),ne):{error:!0,message:"Error al enviar el mensaje"}}const z=typeof t.value[c.value]=="number"?Math.ceil((t.value[c.value]-Date.now())/1e3):120;return K.error(`<p class="toast-title">Espera requerida</p><p class="toast-description">Debes esperar ${z} segundo${z!==1?"s":""} antes de solicitar un nuevo código.</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0}),a.nextTick(()=>{a.nextTick(()=>{w(c.value)})}),{error:!0,message:`Debe esperar ${z} segundo${z!==1?"s":""} antes de volver a solicitar un código`}}},w=x=>{var O;if(typeof t.value[x]=="number"&&t.value[x]>Date.now()){const B=Math.round(Math.abs(t.value[x]-Date.now())/1e3);(O=r.value)==null||O.reInit(B)}},y=x=>{if(t.value[x]===null)return 0;if(typeof t.value[x]=="number"){const O=Math.ceil((t.value[x]-Date.now())/1e3);return O>0?O:0}return 0},k=a.computed(()=>(d.value,y("whatsapp"))),v=a.computed(()=>0),m=a.computed(()=>(d.value,y("email"))),b=a.computed(()=>(d.value,y("sms"))),_=()=>{u.value=!0};return{refCounter:r,currentContacto:o,message2Fa:i,currentMedio:c,openTelegram:u,sePuedeReenviarMensaje:h,enviarMensaje:g,openTelegramPage:()=>{if(!JO()){window.open(`https://web.telegram.org/k/#@${n.tgBot}`,"_blank");return}const x=document.createElement("a");x.href=`tg://resolve?domain=${n.tgBot}`,x.target="_blank",x.onclick=function(){setTimeout(function(){if(document.visibilityState==="visible"){const O=window.open(`https://web.telegram.org/k/#@${n.tgBot}`,"_blank");O==null||O.focus()}x.remove()},1e3)},x.click()},tiempoRestanteWhatsapp:k,tiempoRestanteTelegram:v,tiempoRestanteEmail:m,tiempoRestanteSms:b,getTiempoRestante:y,reIniciarContador:w,message2FaContexto:s,url2FaContexto:l}}const ur=St.create({headers:{"Content-Type":"application/json","Cache-Control":"no-cache"},timeout:3e4});ur.interceptors.request.use(e=>{const t=et();if(e.baseURL=t.apiBaseURLAuthNv?`${t.apiBaseURLAuthNv}`:`${t.apiBaseURL}/api`,typeof FormData<"u"&&e.data instanceof FormData){const n=e.headers;n&&typeof n=="object"&&(delete n["Content-Type"],delete n["content-type"])}return e}),ur.interceptors.response.use(e=>{const t=e.data;return t&&typeof t=="object"&&t.error===!0?Promise.reject({error:!0,message:t.message,response:t.response??null,status:t.status||e.status}):t},e=>{var n,r;if(e&&typeof e=="object"&&e.error===!0)return Promise.reject(e);const t=(n=e.response)==null?void 0:n.data;return Promise.reject({error:!0,message:(t==null?void 0:t.message)??e.message??"Ha ocurrido un error",response:(t==null?void 0:t.response)??t??null,status:(t==null?void 0:t.status)??((r=e.response)==null?void 0:r.status)??500})});function su(){return!!et().apiBaseURLAuthNv}const XO=async e=>{const t=su()?"/v1/auth/usuario/validar":"/v1/validar/usuario";return ur.post(t,e).then(n=>n).catch(n=>{var r;throw(r=n.response)!=null&&r.data?n.response.data:n})},QO=async e=>{const t=su()?"/v1/auth/usuario/registrar":"/v1/registrar/usuario";return ur.post(t,e).then(n=>n).catch(n=>{var r;throw(r=n.response)!=null&&r.data?n.response.data:n})},NO=async e=>{if(su()){const n={whatsapp:1,telegram:2,email:3,sms:5},r=e.registroToken||e.code;if(!r)throw{error:!0,message:"Falta el token de registro. Vuelva a validar sus datos personales.",status:400};return ur.post("/v1/auth/usuario/registro/enviar-codigo-medio",{registroToken:r,medio:n[e.medio]??e.medio,email:e.email??(e.medio==="email"?e.contacto:void 0),celular:e.celular??(e.medio!=="email"?e.contacto:void 0)}).then(o=>o).catch(o=>{var i;throw(i=o.response)!=null&&i.data?o.response.data:o})}return ur.post("/v1/enviar/codigo/verificacion",e).then(n=>n).catch(n=>{var r;throw(r=n.response)!=null&&r.data?n.response.data:n})},$O=async e=>{if(su()){const t={whatsapp:1,telegram:2,email:3,sms:5};return ur.post("/v1/auth/usuario/registro/confirmar-codigo-medio",{registroToken:e.registroToken??e.code,medio:t[e.medio]??e.medio,codigo:e.code_confirmacion}).then(n=>n).catch(n=>{var r;throw(r=n.response)!=null&&r.data?n.response.data:n})}return ur.post("/v1/confirmar/codigo/verificacion",e).then(t=>t).catch(t=>{var n;throw(n=t.response)!=null&&n.data?t.response.data:t})},eB=async e=>{const t=new FormData;return t.append("token",e.token),t.append("tipo",e.tipo),t.append("file",e.file),ur.post("/v1/auth/usuario/registro/evidencia",t).then(n=>n).catch(n=>{var r;throw(r=n.response)!=null&&r.data?n.response.data:n})},tB=async e=>ur.get("/v1/auth/usuario/registro/evidencias",{params:{token:e}}).then(t=>t).catch(t=>{var n;throw(n=t.response)!=null&&n.data?t.response.data:t}),nB=async e=>ur.post("/v1/auth/usuario/registro/confirmar-evidencias",e).then(t=>t).catch(t=>{var n;throw(n=t.response)!=null&&n.data?t.response.data:t});function rB(e){return e==="anverso"||e==="reverso"||e==="selfie"}function d2(e){return Array.isArray(e)?e.filter(rB):[]}function el(e){return e==="anverso"||e==="reverso"||e==="selfie"}function aB(){const e=[oe.object().shape({ci:oe.string().required().label("Cédula de identidad"),nombres:oe.string().required().label("Nombre"),paterno:oe.string().when("materno",([P])=>P?oe.string().notRequired():oe.string().required().label("Apellido paterno o materno")),materno:oe.string().when("paterno",([P])=>P?oe.string().notRequired():oe.string().required().label("Apellido paterno o materno")),fechaNacimiento:oe.mixed().required().label("Fecha de nacimiento")},[["materno","paterno"]]),oe.object().shape({celular:oe.string().required().matches(P1).min(8).max(8).label("Celular"),email:oe.string().transform(P=>typeof P=="string"&&P.trim()===""?void 0:P).email().notRequired().label("E-mail"),direccion:oe.string().required().label("Dirección"),password:oe.string().required().matches(zc).min(8).max(15).label("Contraseña"),repetirPassword:oe.string().required().oneOf([oe.ref("password")]).label("Confirmación de la contraseña")}),oe.object().shape({codigoContacto:oe.string().required().matches(fo).max(10).label("Código")})],t=et(),n=qs(),r=a.ref(""),o=a.ref(j1(void 0)),i=a.ref(!1),s=a.ref(!1);let l=null;const c=a.ref(!1),u=a.ref(null),d=a.reactive({anverso:!1,reverso:!1,selfie:!1}),f=a.ref(!1),h=a.ref(!1),p=a.ref(!1),g=a.ref(!1),w=a.ref("datos"),y=a.computed(()=>!!t.apiBaseURLAuthNv),k=a.computed(()=>{var Be;const P=((Be=u.value)==null?void 0:Be.fotos)??[];return P.length?P:PT}),v=a.computed(()=>{const P=[];if(c.value||P.push("datos","contacto"),y.value){P.push("consentimiento");for(const Be of k.value)P.push(Be);P.push("resumen")}return P}),m=a.computed(()=>v.value.filter(P=>el(P))),b=a.computed(()=>{if(!el(w.value))return null;const P=m.value.indexOf(w.value);return P<0?null:{current:P+1,total:m.value.length}}),_=a.computed(()=>w.value==="datos"?e[0]:p.value?O.value==="telegram"?oe.object().shape({codigoContacto:oe.string().required().matches(fo).min(4).max(4).label("Código")}):e[2]:w.value==="contacto"&&!c.value?e[1]:oe.object().shape({})),{refCounter:E,currentContacto:x,currentMedio:O,openTelegram:B,enviarMensaje:S,openTelegramPage:A,message2FaContexto:D,url2FaContexto:q,getTiempoRestante:F,reIniciarContador:X,tiempoRestanteEmail:fe,tiempoRestanteSms:ae,tiempoRestanteWhatsapp:Z}=iu("registro"),z=a.reactive({verificadoEmail:!1,verificadoTelegram:!1,verificadoWhatsapp:!1,verificadoSms:!1}),{values:ne,handleSubmit:Y,errors:de,setErrors:he,validateField:_e,resetForm:st,setFieldValue:se,setFieldError:ge}=je.useForm({validationSchema:_,keepValuesOnUnmount:!0}),{value:Rt}=je.useField("fechaNacimiento"),an=a.computed(()=>{const P=O.value;return!P||P==="telegram"?0:P==="email"?fe.value:P==="sms"?ae.value:P==="whatsapp"?Z.value:F(P)});function De(P){return P==="email"?z.verificadoEmail:P==="telegram"?z.verificadoTelegram:P==="sms"?z.verificadoSms:P==="whatsapp"?z.verificadoWhatsapp:!1}function Ze(){se("codigoContacto",void 0),D.value=null,q.value=null}function ct(){p.value=!1,se("codigoContacto",void 0)}function te(){!g.value||!O.value||(p.value=!0,a.nextTick(()=>{const P=O.value;P&&P!=="telegram"&&X(P)}))}function ve(){g.value=!1,p.value=!1,se("codigoContacto",void 0),O.value=void 0,x.value=null,D.value=null,q.value=null}function N(){const P=v.value.indexOf(w.value);P>=0&&P<v.value.length-1&&(w.value=v.value[P+1])}function C(){const P=v.value.indexOf(w.value);P>0&&(w.value=v.value[P-1])}function V(){w.value="datos",st(),c.value=!1,r.value="",u.value=null,f.value=!1,p.value=!1,g.value=!1,i.value=!1,o.value=j1(void 0),z.verificadoEmail=!1,z.verificadoTelegram=!1,z.verificadoSms=!1,z.verificadoWhatsapp=!1,O.value=void 0,x.value=null,D.value=null,q.value=null,d.anverso=!1,d.reverso=!1,d.selfie=!1,T()}function T(){l&&(clearTimeout(l),l=null),s.value=!1}function U(P){T();const Be=Number(P);if(!Number.isFinite(Be)||Be<=0)return;const lt=Math.max(0,(Be-UT)*1e3);l=setTimeout(()=>{s.value=!!r.value},lt)}function j(P,Be){K.error(`<p class="toast-title">${P}</p><p class="toast-description">${Be}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0})}function R(P,Be,lt=5e3){K.success(`<p class="toast-title">${P}</p><p class="toast-description">${Be}</p>`,{autoClose:lt,hideProgressBar:!0,icon:jn,closeOnClick:!1,dangerouslyHTMLString:!0})}function G(){ve(),T(),r.value="",se("codigoRegistro",""),se("password",""),se("repetirPassword",""),se("codigoContacto",void 0),z.verificadoEmail=!1,z.verificadoTelegram=!1,z.verificadoSms=!1,z.verificadoWhatsapp=!1,d.anverso=!1,d.reverso=!1,d.selfie=!1,c.value=!1,f.value=!1,i.value=!0,w.value="datos"}function W(P){return jT(P)?(G(),j("Sesión de registro vencida",Z1),!0):!1}a.onUnmounted(()=>{T()}),a.watch(()=>ne.celular,()=>{z.verificadoTelegram&&(z.verificadoTelegram=!1),z.verificadoSms&&(z.verificadoSms=!1)}),a.watch(()=>ne.email,()=>{z.verificadoEmail&&(z.verificadoEmail=!1)}),a.watch(()=>O.value,()=>{Ze()});const Se=Y(async P=>{var lt,at,sn,Ct,Gt;n.setLoading(!0);const Be=new Date(`${P.fechaNacimiento.month}-${P.fechaNacimiento.day}-${P.fechaNacimiento.year}`);try{const tn={ci:P.ci,nombres:(lt=P.nombres)==null?void 0:lt.trim(),paterno:(at=P.paterno)==null?void 0:at.trim(),materno:(sn=P.materno)==null?void 0:sn.trim(),fechaNacimiento:Be,aplicacion:t.aplicacion},ua=await XO(tn),ns=((Ct=ua==null?void 0:ua.data)==null?void 0:Ct.response)!==void 0?ua.data:ua,Cn=((Gt=ns.response)==null?void 0:Gt.data)??ns.response??{},rs=Cn.registroToken??Cn.completitudToken??Cn.codigo;if(!rs)throw{message:ns.message||"No se recibió el token de registro."};r.value=rs??"",se("codigoRegistro",rs),c.value=!!(Cn.completitudToken||Cn.usuarioId),o.value=j1(Cn.mediosDisponibles),i.value=!1,U(Cn.expiresInSeconds),u.value=Cn.observacion?{motivo:Cn.observacion.motivo,texto:Cn.observacion.texto,fotos:d2(Cn.observacion.fotos)}:null,await a.nextTick();const Ll=v.value[1];if(Ll&&(w.value=Ll),y.value&&r.value)try{await I()}catch(Ld){if(W(Ld))return}}catch(tn){if(W(tn))return;if(tn.response&&Array.isArray(tn.response)){cn({error:tn.response,setErrors:he});return}tn.message&&j("Error",tn.message)}finally{n.setLoading(!1)}}),$e=async({medio:P,contacto:Be})=>{var Cn,rs,Ll,Ld,R9,D9,M9,P9;if(P==="sms"&&!o.value.includes("sms")){j("SMS no disponible","La verificación por SMS no está disponible. Utilice Telegram o correo electrónico.");return}if(g.value&&O.value===P&&P!=="telegram"&&!De(P)){te();return}if(P==="email"){if(!ne.email){ge("email","Email es requerido para verificar");return}const{valid:dt}=await _e("email");if(!dt||z.verificadoEmail)return}const at=P==="telegram",sn=P==="whatsapp",Ct=P==="sms";if(at||sn||Ct){if(at&&z.verificadoTelegram||sn&&z.verificadoWhatsapp||Ct&&z.verificadoSms)return;const{valid:dt}=await _e("celular");if(!dt)return}const Gt=O.value,tn=x.value,ua=g.value,ns=()=>{O.value=Gt,x.value=tn,g.value=ua};try{n.setLoading(!0),O.value=P,x.value=Be,Ze();const dt=await rt(!1);if(dt!=null&&dt.error){ns(),n.setLoading(!1);return}if(((rs=(Cn=dt==null?void 0:dt.response)==null?void 0:Cn.data)==null?void 0:rs.medioActualizado)===!0){P==="whatsapp"?z.verificadoWhatsapp=!0:P==="telegram"?z.verificadoTelegram=!0:P==="email"?z.verificadoEmail=!0:P==="sms"&&(z.verificadoSms=!0),R("Operación exitosa",dt.message||"Medio verificado exitosamente"),n.setLoading(!1);return}const jW=((Ld=(Ll=dt==null?void 0:dt.response)==null?void 0:Ll.data)==null?void 0:Ld.mensajeServicio)||null,L9=((D9=(R9=dt==null?void 0:dt.response)==null?void 0:R9.data)==null?void 0:D9.tiempoVigencia)||null,HW=((P9=(M9=dt==null?void 0:dt.response)==null?void 0:M9.data)==null?void 0:P9.url)||null;P==="telegram"?(D.value=null,q.value=HW):(D.value=jW||(dt==null?void 0:dt.message)||null,q.value=null),(P==="email"||P==="whatsapp"||P==="sms")&&L9&&a.nextTick(()=>{var F9;return(F9=E.value)==null?void 0:F9.reInit(L9)}),g.value=!0,p.value=!0,n.setLoading(!1)}catch(dt){if(ns(),n.setLoading(!1),W(dt))return;j("Error",dt.message)}},Re=async()=>{try{const{valid:P}=await _e("codigoContacto");if(!P)return;const Be=r.value||ne.codigoRegistro,lt=await $O({code_confirmacion:ne.codigoContacto,code:Be,registroToken:Be,medio:O.value});R("Operación exitosa",lt.message),O.value==="email"?z.verificadoEmail=!0:O.value==="whatsapp"?z.verificadoWhatsapp=!0:O.value==="telegram"?z.verificadoTelegram=!0:O.value==="sms"&&(z.verificadoSms=!0),ve()}catch(P){if(W(P))return;j("Error",P.message)}},rt=async(P=!1)=>{try{return await S({callbackApi:NO,code:r.value||ne.codigoRegistro,abrirTelegramDialog:P,counterTime:120})}catch(Be){if(W(Be))return{error:!0,message:Z1};throw Be}},Le=()=>{ct()},xt=()=>{if(w.value==="datos"){t.goLoginPage();return}C()},xn=()=>{V()},yt=a.computed(()=>KT(o.value,z));function ca(){return yt.value}const H=P=>{const Be=P==="email"?ne.email:ne.celular;$e({medio:P,contacto:Be})},pe=Y(async()=>{if(!ca()){j("Verificación requerida",A4(o.value,"continuar"));return}N()}),ue=()=>{if(!f.value){K.error('<p class="toast-title">Consentimiento requerido</p><p class="toast-description">Debe aceptar el tratamiento de las fotografías de identidad.</p>',{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0});return}N()},re=()=>{const P=w.value;if(el(P)){if(!d[P]){K.error('<p class="toast-title">Fotografía requerida</p><p class="toast-description">Debe capturar y confirmar la fotografía antes de continuar.</p>',{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0});return}N()}},Oe=Y(async P=>{var Be,lt;if(!c.value&&!ca()){j("Verificación requerida",A4(o.value,"completar"));return}n.setLoading(!0);try{const at=k.value;if(y.value&&!at.every(tn=>d[tn])){j("Fotografías requeridas","Debe cargar las fotografías indicadas de su documento.");return}if(y.value&&!f.value){j("Consentimiento requerido","Debe aceptar el tratamiento de las fotografías de identidad.");return}if(c.value){const tn=await nB({token:r.value,aceptoTerminosIdentidad:f.value});R("¡Registro completado!",tn.message,1e4),setTimeout(()=>t.goLoginPage(),2e3);return}const sn=new Date(`${P.fechaNacimiento.month}-${P.fechaNacimiento.day}-${P.fechaNacimiento.year}`),Ct={...P,email:((Be=P.email)==null?void 0:Be.trim())||void 0,direccion:(lt=P.direccion)==null?void 0:lt.trim(),aplicacion:t.aplicacion,fechaNacimiento:sn,registroToken:r.value||P.codigoRegistro,aceptoTerminosIdentidad:f.value},Gt=await QO(Ct);R("¡Registro completado!",Gt.message,1e4),setTimeout(()=>t.goLoginPage(),2e3)}catch(at){if(W(at))return;if(at.response&&Array.isArray(at.response)){cn({error:at.response,setErrors:he});return}at.message&&j("Error",at.message)}finally{n.setLoading(!1)}}),I=async()=>{var at,sn,Ct,Gt;if(!r.value)return;const P=await tB(r.value),Be=((sn=(at=P.response)==null?void 0:at.data)==null?void 0:sn.subidas)??[],lt=((Gt=(Ct=P.response)==null?void 0:Ct.data)==null?void 0:Gt.faltantes)??[];d.anverso=Be.includes("anverso")&&!lt.includes("anverso"),d.reverso=Be.includes("reverso")&&!lt.includes("reverso"),d.selfie=Be.includes("selfie")&&!lt.includes("selfie")},ze=async(P,Be)=>{var lt,at,sn,Ct;if(r.value){h.value=!0;try{const Gt=await eB({token:r.value,tipo:P,file:Be}),tn=(at=(lt=Gt.response)==null?void 0:lt.data)==null?void 0:at.token;tn&&(r.value=tn,U((Ct=(sn=Gt.response)==null?void 0:sn.data)==null?void 0:Ct.expiresInSeconds));try{await I()}catch(ua){if(W(ua))return;d[P]=!0}R("Fotografía cargada",Gt.message||"Evidencia registrada correctamente.",3e3),w.value===P&&N()}catch(Gt){if(W(Gt))return;j("Error",(Gt==null?void 0:Gt.message)||"No se pudo cargar la fotografía.")}finally{h.value=!1}}},on=a.computed(()=>el(w.value)?w.value:null);(async()=>{var lt;const P=t.tomarRegistroPendiente();if(!(P!=null&&P.completitudToken))return;r.value=P.completitudToken,se("codigoRegistro",P.completitudToken),c.value=!0,P.ci&&se("ci",P.ci),P.observacion?u.value={motivo:P.observacion.motivo,texto:P.observacion.texto,fotos:P.observacion.fotos??d2(P.faltantes)}:(lt=P.faltantes)!=null&<.length&&(u.value={fotos:d2(P.faltantes)}),await a.nextTick();const Be=v.value.find(at=>at==="consentimiento")??v.value.find(at=>el(at))??v.value[0];Be&&(w.value=Be);try{await I()}catch(at){if(W(at))return}})();const en=a.computed(()=>JT(O.value)),Me=a.computed(()=>XT(x.value,O.value));return{refCounter:E,currentContacto:x,values:ne,currentStepId:w,visibleSteps:v,mediosVerificados:z,mediosDisponibles:o,puedeContinuarContacto:yt,avisoSesionExpirada:i,avisoSesionPorVencer:s,fechaNacimiento:Rt,errors:de,openTelegram:B,currentMedio:O,otpDialogOpen:p,otpPendiente:g,otpTiempoRestante:an,otpTitulo:en,otpDescripcion:Me,message2FaContexto:D,url2FaContexto:q,onValidarDatosUsuario:Se,onRegistrarUsuario:Oe,onContinuarDesdeContacto:pe,onContinuarDesdeConsentimiento:ue,onContinuarDesdeCaptura:re,onEnviarMensaje:rt,onEnviarCodigoAlUsuario:$e,onEnviarCodigoVerificacion:Re,onVerificarMedioRegistro:H,onCancelarVerificacion:Le,abrirOtpPendiente:te,cerrarOtpDialog:ct,onCancelarRegistro:xt,onReiniciarRegistro:xn,openTelegramPage:A,usaAuthNv:y,evidencias:d,tiposEvidenciaVisibles:k,aceptoTerminosIdentidad:f,observacionRegistro:u,esUsuarioExistente:c,onEvidenciaConfirmada:ze,uploadingEvidencia:h,kycProgress:b,pasoCapturaActual:on,goBack:C}}const oB={key:0,class:"fge-auth-error"},pt=a.defineComponent({__name:"FgeErrorMessage",props:{error:{required:!0}},setup(e){return(t,n)=>e.error?(a.openBlock(),a.createElementBlock("p",oB,a.toDisplayString(e.error),1)):a.createCommentVNode("",!0)}}),iB={xmlns:"http://www.w3.org/2000/svg",width:"600",height:"200"},sB=[a.createElementVNode("text",{x:"50%",y:"80",style:{"font-family":'"Arial Black","Roboto",sans-serif',"font-weight":"900","font-size":"30px",fill:"#4a6a91"},"text-anchor":"middle"},"ECOSISTEMA",-1),a.createElementVNode("text",{x:"50%",y:"110",style:{"font-family":'"Arial",sans-serif',"font-weight":"700","font-size":"15px",fill:"#7f8083ff","letter-spacing":".15em"},"text-anchor":"middle"},"MINISTERIO PÚBLICO",-1)];function lB(e,t){return a.openBlock(),a.createElementBlock("svg",iB,[...sB])}const cB={render:lB},uB={class:"fge-logo-container"},dB=a.defineComponent({__name:"FgeHeader",setup(e){return(t,n)=>(a.openBlock(),a.createElementBlock("div",uB,[a.createVNode(a.unref(cB))]))}}),Ut=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},f2=Ut(dB,[["__scopeId","data-v-ea2fb273"]]),fB={style:{position:"relative"}},hB=["type","placeholder","name"],pB=[a.createElementVNode("path",{d:"M.2 10a11 11 0 0 1 19.6 0A11 11 0 0 1 .2 10zm9.8 4a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm0-2a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"},null,-1)],mB=[a.createElementVNode("path",{d:"M12.81 4.36l-1.77 1.78a4 4 0 0 0-4.9 4.9l-2.76 2.75C2.06 12.79.96 11.49.2 10a11 11 0 0 1 12.6-5.64zm3.8 1.85c1.33 1 2.43 2.3 3.2 3.79a11 11 0 0 1-12.62 5.64l1.77-1.78a4 4 0 0 0 4.9-4.9l2.76-2.75zm-.25-3.99l1.42 1.42L3.64 17.78l-1.42-1.42L16.36 2.22z"},null,-1)],Ra=a.defineComponent({__name:"FgePassword",props:{class:{},errorClasses:{},name:{},placeholder:{},failedValidationMessage:{type:Boolean,default:!1},validationRegex:{type:[String,Boolean],default:!1},iconSize:{default:"1.25rem"},iconColor:{default:"var(--fge-orange-color)"}},emits:["input"],setup(e,{emit:t}){const n=e,r=t,o=a.ref("password"),i=a.ref(""),s=a.computed(()=>!i.value||!n.validationRegex||!n.failedValidationMessage?!0:u()),l=a.computed(()=>({height:n.iconSize,width:n.iconSize,color:n.iconColor,fill:"currentColor"})),c=()=>{o.value=o.value==="password"?"text":"password"},u=()=>typeof n.validationRegex=="string"?new RegExp(n.validationRegex,"g").test(i.value):!1;return(d,f)=>(a.openBlock(),a.createElementBlock("div",null,[a.createElementVNode("div",fB,[a.withDirectives(a.createElementVNode("input",{autocomplete:"off",style:{position:"relative"},type:o.value,placeholder:d.placeholder,class:a.normalizeClass(d.class),name:d.name,"onUpdate:modelValue":f[0]||(f[0]=h=>i.value=h),onInput:f[1]||(f[1]=h=>r("input",h.target.value))},null,42,hB),[[a.vModelDynamic,i.value]]),a.createElementVNode("a",{style:{cursor:"pointer",position:"absolute",top:"50%",right:"10px",transform:"translateY(-50%)"},onClick:a.withModifiers(c,["prevent"])},[a.withDirectives((a.openBlock(),a.createElementBlock("svg",{style:a.normalizeStyle(l.value),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},pB,4)),[[a.vShow,o.value==="password"]]),a.withDirectives((a.openBlock(),a.createElementBlock("svg",{style:a.normalizeStyle(l.value),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},mB,4)),[[a.vShow,o.value!=="password"]])])]),a.withDirectives(a.createElementVNode("div",{style:{"margin-top":"0.5rem"},class:a.normalizeClass(d.errorClasses)},a.toDisplayString(d.failedValidationMessage),3),[[a.vShow,!s.value]])]))}});function ag(e,t,n){if(e<=n)return{width:e,height:t};const r=n/e;return{width:n,height:Math.round(t*r)}}function lu(e,t,n){return new Promise((r,o)=>{e.toBlob(i=>{if(!i){o(new Error("No se pudo generar la imagen."));return}r(new File([i],t,{type:"image/jpeg"}))},"image/jpeg",n)})}async function gB(e,t,n={}){const r=n.maxWidth??g4,o=n.quality??v4,i=n.minPx??L1,s=n.minBytes??p4,l=n.maxBytes??m4,c=e.videoWidth,u=e.videoHeight;if(!c||!u)throw new Error("La cámara aún no está lista. Espere un momento.");if(Math.min(c,u)<i)throw new Error(`La imagen debe tener al menos ${i} px en el lado menor.`);const f=ag(c,u,r),h=document.createElement("canvas");h.width=f.width,h.height=f.height;const p=h.getContext("2d");if(!p)throw new Error("No se pudo procesar la imagen.");p.drawImage(e,0,0,f.width,f.height);let g=await lu(h,t,o);if(g.size<s)throw new Error("La imagen es demasiado pequeña. Acérquese o mejore la iluminación.");if(g.size>l&&(g=await lu(h,t,Math.min(o,.85))),g.size>l)throw new Error("La imagen supera el tamaño máximo permitido.");return g}async function vB(e,t,n={}){if(!e.type.startsWith("image/"))throw new Error("El archivo seleccionado no es una imagen.");const r=await createImageBitmap(e),o=Math.min(r.width,r.height),i=n.minPx??L1;if(o<i)throw r.close(),new Error(`La imagen debe tener al menos ${i} px en el lado menor.`);const s=n.maxWidth??g4,l=ag(r.width,r.height,s),c=document.createElement("canvas");c.width=l.width,c.height=l.height;const u=c.getContext("2d");if(!u)throw r.close(),new Error("No se pudo procesar la imagen.");u.drawImage(r,0,0,l.width,l.height),r.close();const d=n.quality??v4,f=n.minBytes??p4,h=n.maxBytes??m4;let p=await lu(c,t,d);if(p.size<f)throw new Error("La imagen es demasiado pequeña.");if(p.size>h&&(p=await lu(c,t,Math.min(d,.85))),p.size>h)throw new Error("La imagen supera el tamaño máximo permitido.");return p}function og(e,t="live"){const n=[],r=t==="upload";if(!e.detected)return n.push(r?"No se detecta un carnet en la imagen. Suba una foto donde el documento sea visible.":"No se detecta un documento. Coloque el carnet dentro del marco."),{valid:!1,documentDetected:!1,documentCoverage:e.coverage,documentAlignedOk:!1,documentTiltOk:!1,messages:n};const o=r?E4:w4,i=r?x4:_4,s=e.coverage>=o&&e.coverage<=i;s||(e.coverage<o?n.push(r?"El carnet se ve muy pequeño en la imagen. Use una foto más cercana.":"Acérquese para que el carnet ocupe más espacio."):n.push(r?"El carnet ocupa demasiado espacio en la imagen. Use una foto con más contexto.":"Aleje un poco el carnet para que encaje dentro del marco."));const l=r?!0:Math.hypot(e.centerX-TT,e.centerY-AT)<=OT;l||n.push("Centre el carnet dentro del marco.");const c=r?!0:e.tiltDegrees<=k4;c||n.push("Mantenga el carnet más recto, sin inclinarlo demasiado.");const u=s&&l&&c;return u&&(n.length=0,n.push(r?"Carnet detectado en la imagen.":"Documento detectado correctamente.")),{valid:u,documentDetected:!0,documentCoverage:e.coverage,documentAlignedOk:l,documentTiltOk:c,messages:n}}function ig(e,t,n="live"){const r=[...t.messages];return e.valid?t.valid&&(r.length=0,r.push(n==="upload"?"Imagen válida para continuar.":"Imagen lista para capturar.")):r.push(...e.messages.filter(o=>!r.includes(o))),{...e,documentDetected:t.documentDetected,documentCoverage:t.documentCoverage,documentAlignedOk:t.documentAlignedOk,documentTiltOk:t.documentTiltOk,valid:e.valid&&t.valid,messages:r}}function sg(e,t,n){const r=e.length,o=[];if(!t||!n)return{valid:!1,faceDetected:!1,faceCount:0,faceSizeOk:!1,faceCenteredOk:!1,messages:["Esperando imagen de la cámara..."]};if(r===0)return o.push("No se detecta un rostro. Ubíquese dentro del óvalo."),{valid:!1,faceDetected:!1,faceCount:0,faceSizeOk:!1,faceCenteredOk:!1,messages:o};if(r>1)return o.push("Se detectó más de un rostro. Solo debe aparecer usted."),{valid:!1,faceDetected:!0,faceCount:r,faceSizeOk:!1,faceCenteredOk:!1,messages:o};const i=e[0].boundingBox;if(!i)return o.push("No se pudo leer el rostro. Intente de nuevo."),{valid:!1,faceDetected:!0,faceCount:1,faceSizeOk:!1,faceCenteredOk:!1,messages:o};const l=i.width/t>=vT;l||o.push("Acérquese un poco más para que su rostro sea más visible.");const c=(i.originX+i.width/2)/t,u=(i.originY+i.height/2)/n,f=Math.hypot(c-yT,u-bT)<=wT;f||o.push("Centre su rostro dentro del óvalo.");const h=l&&f;return h&&(o.length=0,o.push("Rostro detectado correctamente.")),{valid:h,faceDetected:!0,faceCount:1,faceSizeOk:l,faceCenteredOk:f,messages:o}}function lg(e,t){const n=[...t.messages];return e.valid?t.valid&&(n.length=0,n.push("Imagen lista para capturar.")):n.push(...e.messages.filter(r=>!n.includes(r))),{...e,faceDetected:t.faceDetected,faceCount:t.faceCount,faceSizeOk:t.faceSizeOk,faceCenteredOk:t.faceCenteredOk,valid:e.valid&&t.valid,messages:n}}const yB=y4+F1,bB=b4+U1,wB={useGuideRegion:!0,minCoverage:w4,maxCoverage:_4,minAspectRatio:CT,maxAspectRatio:ST,minRectangularity:BT,minEdgePoints:60,minDocWidthRatio:.35,minDocHeightRatio:.35,requireBalancedSides:!0,multiThreshold:!1},_B={useGuideRegion:!1,minCoverage:E4,maxCoverage:x4,minAspectRatio:VT,maxAspectRatio:RT,minRectangularity:DT,minEdgePoints:30,minDocWidthRatio:.08,minDocHeightRatio:.06,requireBalancedSides:!1,multiThreshold:!0};function kB(e){return e==="upload"?_B:wB}function cg(e){return e instanceof HTMLVideoElement?{width:e.videoWidth,height:e.videoHeight}:{width:e.width,height:e.height}}function EB(e,t){const{width:n,height:r}=cg(e);if(!n||!r)return null;const o=n>t?t/n:1,i=Math.max(1,Math.round(n*o)),s=Math.max(1,Math.round(r*o)),l=document.createElement("canvas");l.width=i,l.height=s;const c=l.getContext("2d",{willReadFrequently:!0});return c?(c.drawImage(e,0,0,i,s),{data:c.getImageData(0,0,i,s).data,width:i,height:s}):null}function cu(){return{detected:!1,coverage:0,aspectRatio:0,centerX:.5,centerY:.5,tiltDegrees:k4,rectangularity:0}}function xB(e,t,n){const r=new Float32Array(t*n);for(let o=0,i=0;i<r.length;i++,o+=4)r[i]=.299*e[o]+.587*e[o+1]+.114*e[o+2];return r}function CB(e,t,n){const r=new Float32Array(e.length);for(let o=1;o<n-1;o++)for(let i=1;i<t-1;i++){const s=o*t+i;r[s]=(e[s-t-1]+e[s-t]+e[s-t+1]+e[s-1]+e[s]+e[s+1]+e[s+t-1]+e[s+t]+e[s+t+1])/9}return r}function SB(e,t,n){const r=new Float32Array(e.length);for(let o=1;o<n-1;o++)for(let i=1;i<t-1;i++){const s=o*t+i,l=-e[s-t-1]+e[s-t+1]+-2*e[s-1]+2*e[s+1]+-e[s+t-1]+e[s+t+1],c=-e[s-t-1]-2*e[s-t]-e[s-t+1]+e[s+t-1]+2*e[s+t]+e[s+t+1];r[s]=Math.hypot(l,c)}return r}function TB(e,t,n,r){const o=e/n,i=t/r;return o>=y4&&o<=yB&&i>=b4&&i<=bB}function ug(e,t,n,r,o){return o.useGuideRegion?TB(e,t,n,r):!0}function AB(e,t,n,r){const o=[];for(let i=1;i<n-1;i++)for(let s=1;s<t-1;s++){if(!ug(s,i,t,n,r))continue;const l=e[i*t+s];l>0&&o.push(l)}return o}function OB(e,t){if(e.length<30)return[];e.sort((l,c)=>l-c);const n=e[Math.floor(e.length*.9)],r=e[Math.floor(e.length*.75)],o=e[Math.floor(e.length*.6)],i=e[Math.floor(e.length*.45)],s=t.multiThreshold?[Math.max(28,(i+r)/2),Math.max(22,(i+o)/2),Math.max(18,i*.85)]:[Math.max(35,(o+n)/2)];return[...new Set(s.map(l=>Math.round(l)))]}function BB(e,t,n,r,o){const i=[];for(let s=1;s<n-1;s++)for(let l=1;l<t-1;l++)ug(l,s,t,n,o)&&e[s*t+l]>=r&&i.push({x:l,y:s});return i}function uu(e,t){if(!e.length)return 0;const n=[...e].sort((o,i)=>o-i),r=Math.min(n.length-1,Math.floor(n.length*t));return n[r]}function IB(e){if(e.length<20)return 0;let t=0,n=0;for(const s of e)t+=s.x,n+=s.y;t/=e.length,n/=e.length;let r=0,o=0,i=0;for(const s of e){const l=s.x-t,c=s.y-n;r+=l*l,o+=c*c,i+=l*c}return Math.abs(Math.atan2(2*i,r-o)*.5*(180/Math.PI))}function VB(e,t){const n=t.right-t.left,r=t.bottom-t.top,o=Math.max(2,Math.min(n,r)*.1);let i=0;for(const s of e){const l=s.y<=t.top+o,c=s.y>=t.bottom-o,u=s.x<=t.left+o,d=s.x>=t.right-o;(l||c||u||d)&&i++}return i/e.length}function RB(e,t){const n=t.right-t.left,r=t.bottom-t.top,o=Math.max(2,Math.min(n,r)*.12);let i=0,s=0,l=0,c=0;for(const d of e)d.y<=t.top+o?i++:d.y>=t.bottom-o?s++:d.x<=t.left+o?l++:d.x>=t.right-o&&c++;const u=e.length;return[i/u,s/u,l/u,c/u]}function DB(e){return e.every(t=>t>=IT)}function MB(e,t,n,r,o,i){if(e.length<r.minEdgePoints)return null;const s=e.map(x=>x.x),l=e.map(x=>x.y),c={left:uu(s,o),right:uu(s,i),top:uu(l,o),bottom:uu(l,i)},u=c.right-c.left,d=c.bottom-c.top,f=r.useGuideRegion?F1*t:t,h=r.useGuideRegion?U1*n:n,p=f*h;if(u<f*r.minDocWidthRatio||d<h*r.minDocHeightRatio)return null;const g=u*d/p,w=Math.max(u,d)/Math.min(u,d),y=(c.left+c.right)/2/t,k=(c.top+c.bottom)/2/n,v=VB(e,c),m=RB(e,c),b=IB(e),_=!r.requireBalancedSides||DB(m);return{detected:g>=r.minCoverage&&g<=r.maxCoverage&&w>=r.minAspectRatio&&w<=r.maxAspectRatio&&v>=r.minRectangularity&&_,coverage:g,aspectRatio:w,centerX:y,centerY:k,tiltDegrees:b,rectangularity:v}}function PB(e,t,n,r){const o=kB(r),i=xB(e,t,n),s=CB(i,t,n),l=SB(s,t,n),c=AB(l,t,n,o),u=OB(c,o);if(!u.length)return cu();const d=r==="upload"?[[.12,.88],[.08,.92]]:[[.1,.9]];let f=null;for(const h of u){const p=BB(l,t,n,h,o);for(const[g,w]of d){const y=MB(p,t,n,o,g,w);if(y){if(y.detected)return y;(!f||y.coverage>f.coverage)&&(f=y)}}}if(r==="upload"&&f&&f.coverage>=o.minCoverage){const h={...o,minRectangularity:Math.min(o.minRectangularity,.08),minAspectRatio:1.15,maxAspectRatio:2.4};if(f.aspectRatio>=h.minAspectRatio&&f.aspectRatio<=h.maxAspectRatio&&f.rectangularity>=h.minRectangularity&&f.coverage<=h.maxCoverage)return{...f,detected:!0}}return f??cu()}function dg(e,t="live"){const{width:n,height:r}=cg(e);if(!n||!r)return{result:cu(),frameWidth:0,frameHeight:0};const i=EB(e,t==="upload"?MT:xT);return i?{result:PB(i.data,i.width,i.height,t),frameWidth:n,frameHeight:r}:{result:cu(),frameWidth:n,frameHeight:r}}function fg(e){return e==="anverso"||e==="reverso"}var bo=typeof self<"u"?self:{};function hg(e,t){e:{for(var n=["CLOSURE_FLAGS"],r=bo,o=0;o<n.length;o++)if((r=r[n[o]])==null){n=null;break e}n=r}return(e=n&&n[e])!=null?e:t}function ft(e,t){e=e.split(".");for(var n,r=bo;e.length&&(n=e.shift());)e.length||t===void 0?r=r[n]&&r[n]!==Object.prototype[n]?r[n]:r[n]={}:r[n]=t}function wo(){throw Error("Invalid UTF8")}function pg(e,t){return t=String.fromCharCode.apply(null,t),e==null?t:e+t}var h2,LB,du=void 0,FB=typeof TextDecoder<"u",UB=typeof TextEncoder<"u";function mg(e){if(UB)e=(LB||(LB=new TextEncoder)).encode(e);else{let n=0,r=new Uint8Array(3*e.length);for(let o=0;o<e.length;o++){var t=e.charCodeAt(o);if(t<128)r[n++]=t;else{if(t<2048)r[n++]=t>>6|192;else{if(t>=55296&&t<=57343){if(t<=56319&&o<e.length){let i=e.charCodeAt(++o);if(i>=56320&&i<=57343){t=1024*(t-55296)+i-56320+65536,r[n++]=t>>18|240,r[n++]=t>>12&63|128,r[n++]=t>>6&63|128,r[n++]=63&t|128;continue}o--}t=65533}r[n++]=t>>12|224,r[n++]=t>>6&63|128}r[n++]=63&t|128}}e=n===r.length?r:r.subarray(0,n)}return e}function gg(e){bo.setTimeout(()=>{throw e},0)}var ZB=hg(610401301,!1),vg=hg(748402147,!0);function yg(){var e=bo.navigator;return e&&(e=e.userAgent)?e:""}var p2,bg=bo.navigator;function fu(e){return fu[" "](e),e}p2=bg&&bg.userAgentData||null,fu[" "]=function(){};var wg={},tl=null;function zB(e){var t=e.length,n=3*t/4;n%3?n=Math.floor(n):"=.".indexOf(e[t-1])!=-1&&(n="=.".indexOf(e[t-2])!=-1?n-2:n-1);var r=new Uint8Array(n),o=0;return function(i,s){function l(u){for(;c<i.length;){let d=i.charAt(c++),f=tl[d];if(f!=null)return f;if(!/^[\s\xa0]*$/.test(d))throw Error("Unknown base64 encoding at char: "+d)}return u}_g();for(var c=0;;){let u=l(-1),d=l(0),f=l(64),h=l(64);if(h===64&&u===-1)break;s(u<<2|d>>4),f!=64&&(s(d<<4&240|f>>2),h!=64&&s(f<<6&192|h))}}(e,function(i){r[o++]=i}),o!==n?r.subarray(0,o):r}function _g(){if(!tl){tl={};var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),t=["+/=","+/","-_=","-_.","-_"];for(let n=0;n<5;n++){let r=e.concat(t[n].split(""));wg[n]=r;for(let o=0;o<r.length;o++){let i=r[o];tl[i]===void 0&&(tl[i]=o)}}}}var jB=typeof Uint8Array<"u",kg=!(!(ZB&&p2&&p2.brands.length>0)&&(yg().indexOf("Trident")!=-1||yg().indexOf("MSIE")!=-1))&&typeof btoa=="function",Eg=/[-_.]/g,HB={"-":"+",_:"/",".":"="};function qB(e){return HB[e]||""}function xg(e){if(!kg)return zB(e);e=Eg.test(e)?e.replace(Eg,qB):e,e=atob(e);var t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}function m2(e){return jB&&e!=null&&e instanceof Uint8Array}var Ei={};function _o(){return WB||(WB=new Cr(null,Ei))}function g2(e){Cg(Ei);var t=e.g;return(t=t==null||m2(t)?t:typeof t=="string"?xg(t):null)==null?t:e.g=t}var WB,Cr=class{h(){return new Uint8Array(g2(this)||0)}constructor(t,n){if(Cg(n),this.g=t,t!=null&&t.length===0)throw Error("ByteString should be constructed with non-empty values")}};function Cg(e){if(e!==Ei)throw Error("illegal external caller")}function Sg(e,t){e.__closure__error__context__984382||(e.__closure__error__context__984382={}),e.__closure__error__context__984382.severity=t}var GB=void 0;function nl(e){return Sg(e=Error(e),"warning"),e}function xi(e,t){if(e!=null){var n=GB??(GB={}),r=n[e]||0;r>=t||(n[e]=r+1,Sg(e=Error(),"incident"),gg(e))}}function ko(){return typeof BigInt=="function"}var Ci=typeof Symbol=="function"&&typeof Symbol()=="symbol";function Sr(e,t,n=!1){return typeof Symbol=="function"&&typeof Symbol()=="symbol"?n&&Symbol.for&&e?Symbol.for(e):e!=null?Symbol(e):Symbol():t}var Da,KB=Sr("jas",void 0,!0),Tg=Sr(void 0,"0di"),rl=Sr(void 0,"1oa"),In=Sr(void 0,Symbol()),YB=Sr(void 0,"0ub"),JB=Sr(void 0,"0ubs"),v2=Sr(void 0,"0ubsb"),XB=Sr(void 0,"0actk"),Si=Sr("m_m","kb",!0),Ag=Sr(),Og={Va:{value:0,configurable:!0,writable:!0,enumerable:!1}},Bg=Object.defineProperties,le=Ci?KB:"Va",Ig=[];function al(e,t){Ci||le in e||Bg(e,Og),e[le]|=t}function Pt(e,t){Ci||le in e||Bg(e,Og),e[le]=t}function ol(e){return al(e,34),e}function il(e){return al(e,8192),e}Pt(Ig,7),Da=Object.freeze(Ig);var Ti={};function gn(e,t){return t===void 0?e.h!==Eo&&!!(2&e.A[le]):!!(2&t)&&e.h!==Eo}var Eo={};function hu(e,t){if(e!=null){if(typeof e=="string")e=e?new Cr(e,Ei):_o();else if(e.constructor!==Cr)if(m2(e))e=e.length?new Cr(new Uint8Array(e),Ei):_o();else{if(!t)throw Error();e=void 0}}return e}let Vg=class{constructor(t,n,r){this.g=t,this.h=n,this.j=r}next(){var t=this.g.next();return t.done||(t.value=this.h.call(this.j,t.value)),t}[Symbol.iterator](){return this}};var QB=Object.freeze({});function Rg(e,t,n){var r,o=128&t?0:-1,i=e.length;(r=!!i)&&(r=(r=e[i-1])!=null&&typeof r=="object"&&r.constructor===Object);var s=i+(r?-1:0);for(t=128&t?1:0;t<s;t++)n(t-o,e[t]);if(r){e=e[i-1];for(let l in e)!isNaN(l)&&n(+l,e[l])}}var Dg={};function Ai(e){return 128&e?Dg:void 0}function pu(e){return e.ib=!0,e}var NB=pu(e=>typeof e=="number"),Mg=pu(e=>typeof e=="string"),$B=pu(e=>typeof e=="boolean"),mu=typeof bo.BigInt=="function"&&typeof bo.BigInt(0)=="bigint";function Lt(e){var t=e;if(Mg(t)){if(!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(t))throw Error(String(t))}else if(NB(t)&&!Number.isSafeInteger(t))throw Error(String(t));return mu?BigInt(e):e=$B(e)?e?"1":"0":Mg(e)?e.trim()||"0":String(e)}var y2=pu(e=>mu?e>=tI&&e<=rI:e[0]==="-"?Pg(e,eI):Pg(e,nI)),eI=Number.MIN_SAFE_INTEGER.toString(),tI=mu?BigInt(Number.MIN_SAFE_INTEGER):void 0,nI=Number.MAX_SAFE_INTEGER.toString(),rI=mu?BigInt(Number.MAX_SAFE_INTEGER):void 0;function Pg(e,t){if(e.length>t.length)return!1;if(e.length<t.length||e===t)return!0;for(let n=0;n<e.length;n++){let r=e[n],o=t[n];if(r>o)return!1;if(r<o)return!0}}var Lg,aI=typeof Uint8Array.prototype.slice=="function",Ge=0,nt=0;function b2(e){var t=e>>>0;Ge=t,nt=(e-t)/4294967296>>>0}function xo(e){if(e<0){b2(-e);let[t,n]=k2(Ge,nt);Ge=t>>>0,nt=n>>>0}else b2(e)}function w2(e){var t=Lg||(Lg=new DataView(new ArrayBuffer(8)));t.setFloat32(0,+e,!0),nt=0,Ge=t.getUint32(0,!0)}function Fg(e,t){var n=4294967296*t+(e>>>0);return Number.isSafeInteger(n)?n:Oi(e,t)}function oI(e,t){return Lt(ko()?BigInt.asUintN(64,(BigInt(t>>>0)<<BigInt(32))+BigInt(e>>>0)):Oi(e,t))}function Ug(e,t){return ko()?Lt(BigInt.asIntN(64,(BigInt.asUintN(32,BigInt(t))<<BigInt(32))+BigInt.asUintN(32,BigInt(e)))):Lt(_2(e,t))}function Oi(e,t){if(e>>>=0,(t>>>=0)<=2097151)var n=""+(4294967296*t+e);else ko()?n=""+(BigInt(t)<<BigInt(32)|BigInt(e)):(e=(16777215&e)+6777216*(n=16777215&(e>>>24|t<<8))+6710656*(t=t>>16&65535),n+=8147497*t,t*=2,e>=1e7&&(n+=e/1e7>>>0,e%=1e7),n>=1e7&&(t+=n/1e7>>>0,n%=1e7),n=t+Zg(n)+Zg(e));return n}function Zg(e){return e=String(e),"0000000".slice(e.length)+e}function _2(e,t){if(2147483648&t)if(ko())e=""+(BigInt(0|t)<<BigInt(32)|BigInt(e>>>0));else{let[n,r]=k2(e,t);e="-"+Oi(n,r)}else e=Oi(e,t);return e}function sl(e){if(e.length<16)xo(Number(e));else if(ko())e=BigInt(e),Ge=Number(e&BigInt(4294967295))>>>0,nt=Number(e>>BigInt(32)&BigInt(4294967295));else{let t=+(e[0]==="-");nt=Ge=0;let n=e.length;for(let r=t,o=(n-t)%6+t;o<=n;r=o,o+=6){let i=Number(e.slice(r,o));nt*=1e6,(Ge=1e6*Ge+i)>=4294967296&&(nt+=Math.trunc(Ge/4294967296),nt>>>=0,Ge>>>=0)}if(t){let[r,o]=k2(Ge,nt);Ge=r,nt=o}}}function k2(e,t){return t=~t,e?e=1+~e:t+=1,[e,t]}function Gn(e){return Array.prototype.slice.call(e)}var Co=typeof BigInt=="function"?BigInt.asIntN:void 0,E2=typeof BigInt=="function"?BigInt.asUintN:void 0,Tr=Number.isSafeInteger,ll=Number.isFinite,Ma=Math.trunc,iI=Lt(0);function zg(e){if(typeof e!="number")throw Error(`Value of float/double field must be a number, found ${typeof e}: ${e}`);return e}function dr(e){return e==null||typeof e=="number"?e:e==="NaN"||e==="Infinity"||e==="-Infinity"?Number(e):void 0}function gu(e){if(typeof e!="boolean"){var t=typeof e;throw Error(`Expected boolean but got ${t!="object"?t:e?Array.isArray(e)?"array":t:"null"}: ${e}`)}return e}var sI=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function Bi(e){switch(typeof e){case"bigint":return!0;case"number":return ll(e);case"string":return sI.test(e);default:return!1}}function Nr(e){if(e!=null){if(!ll(e))throw nl("enum");e|=0}return e}function So(e){if(e==null)return e;if(typeof e=="string"&&e)e=+e;else if(typeof e!="number")return;return ll(e)?0|e:void 0}function jg(e){if(e==null)return e;if(typeof e=="string"&&e)e=+e;else if(typeof e!="number")return;return ll(e)?e>>>0:void 0}function Hg(e,t){if(t??(t=1024),!Bi(e))throw nl("int64");var n=typeof e;switch(t){case 512:switch(n){case"string":return yu(e);case"bigint":return String(Co(64,e));default:return Kg(e)}case 1024:switch(n){case"string":return Yg(e);case"bigint":return Lt(Co(64,e));default:return Jg(e)}case 0:switch(n){case"string":return yu(e);case"bigint":return Lt(Co(64,e));default:return vu(e)}default:return function(r,o=`unexpected value ${r}!`){throw Error(o)}(t,"Unknown format requested type for int64")}}function qg(e){var t=e.length;return(e[0]==="-"?t<20||t===20&&e<="-9223372036854775808":t<19||t===19&&e<="9223372036854775807")?e:(sl(e),_2(Ge,nt))}function Wg(e){if(e[0]==="-")var t=!1;else t=(t=e.length)<20||t===20&&e<="18446744073709551615";return t?e:(sl(e),Oi(Ge,nt))}function vu(e){if(e=Ma(e),!Tr(e)){xo(e);var t=Ge,n=nt;(e=2147483648&n)&&(n=~n>>>0,(t=1+~t>>>0)==0&&(n=n+1>>>0)),e=typeof(t=Fg(t,n))=="number"?e?-t:t:e?"-"+t:t}return e}function Gg(e){return(e=Ma(e))>=0&&Tr(e)||(xo(e),e=Fg(Ge,nt)),e}function Kg(e){return e=Ma(e),Tr(e)?e=String(e):(xo(e),e=_2(Ge,nt)),e}function yu(e){var t=Ma(Number(e));return Tr(t)?String(t):((t=e.indexOf("."))!==-1&&(e=e.substring(0,t)),qg(e))}function Yg(e){var t=Ma(Number(e));return Tr(t)?Lt(t):((t=e.indexOf("."))!==-1&&(e=e.substring(0,t)),ko()?Lt(Co(64,BigInt(e))):Lt(qg(e)))}function Jg(e){return Tr(e)?Lt(vu(e)):Lt(Kg(e))}function bu(e){var t=typeof e;return e==null?e:t==="bigint"?Lt(Co(64,e)):Bi(e)?t==="string"?Yg(e):Jg(e):void 0}function x2(e){if(e==null)return e;var t=typeof e;if(t==="bigint")return String(Co(64,e));if(Bi(e)){if(t==="string")return yu(e);if(t==="number")return vu(e)}}function Xg(e){if(e==null||typeof e=="string"||e instanceof Cr)return e}function Qg(e){if(typeof e!="string")throw Error();return e}function $r(e){if(e!=null&&typeof e!="string")throw Error();return e}function Xt(e){return e==null||typeof e=="string"?e:void 0}function C2(e,t,n,r){return e!=null&&e[Si]===Ti?e:Array.isArray(e)?((r=(n=0|e[le])|32&r|2&r)!==n&&Pt(e,r),new t(e)):(n?2&r?((e=t[Tg])||(ol((e=new t).A),e=t[Tg]=e),t=e):t=new t:t=void 0,t)}function lI(e,t,n){return(e=t?Hg(e,1024):bu(e))==null?n?iI:void 0:e}function cI(e){return e}var uI={},dI=function(){try{return fu(new class extends Map{constructor(){super()}}),!1}catch{return!0}}();class S2{constructor(){this.g=new Map}get(t){return this.g.get(t)}set(t,n){return this.g.set(t,n),this.size=this.g.size,this}delete(t){return t=this.g.delete(t),this.size=this.g.size,t}clear(){this.g.clear(),this.size=this.g.size}has(t){return this.g.has(t)}entries(){return this.g.entries()}keys(){return this.g.keys()}values(){return this.g.values()}forEach(t,n){return this.g.forEach(t,n)}[Symbol.iterator](){return this.entries()}}var fI=dI?(Object.setPrototypeOf(S2.prototype,Map.prototype),Object.defineProperties(S2.prototype,{size:{value:0,configurable:!0,enumerable:!0,writable:!0}}),S2):class extends Map{constructor(){super()}};function Ng(e){return e}function T2(e){if(2&e.M)throw Error("Cannot mutate an immutable Map")}var hI,ea=class extends fI{constructor(t,n,r=Ng,o=Ng){super(),this.M=0|t[le],this.N=n,this.ba=r,this.na=this.N?pI:o;for(let i=0;i<t.length;i++){let s=t[i],l=r(s[0],!1,!0),c=s[1];n?c===void 0&&(c=null):c=o(s[1],!1,!0,void 0,void 0,this.M),super.set(l,c)}}ea(t){return il(Array.from(super.entries(),t))}clear(){T2(this),super.clear()}delete(t){return T2(this),super.delete(this.ba(t,!0,!1))}entries(){if(this.N){var t=super.keys();t=new Vg(t,mI,this)}else t=super.entries();return t}values(){if(this.N){var t=super.keys();t=new Vg(t,ea.prototype.get,this)}else t=super.values();return t}forEach(t,n){this.N?super.forEach((r,o,i)=>{t.call(n,i.get(o),o,i)}):super.forEach(t,n)}set(t,n){return T2(this),(t=this.ba(t,!0,!1))==null?this:n==null?(super.delete(t),this):super.set(t,this.na(n,!0,!0,this.N,!1,this.M))}gb(t){var n=this.ba(t[0],!1,!0);t=t[1],t=this.N?t===void 0?null:t:this.na(t,!1,!0,void 0,!1,this.M),super.set(n,t)}has(t){return super.has(this.ba(t,!1,!1))}get(t){t=this.ba(t,!1,!1);var n=super.get(t);if(n!==void 0){var r=this.N;return r?((r=this.na(n,!1,!0,r,this.Fa,this.M))!==n&&super.set(t,r),r):n}}[Symbol.iterator](){return this.entries()}};function pI(e,t,n,r,o,i){return e=C2(e,r,n,i),o&&(e=B2(e)),e}function mI(e){return[e,this.get(e)]}function $g(){return hI||(hI=new ea(ol([]),void 0,void 0,void 0,uI))}function wu(e){return In?e[In]:void 0}function _u(e,t){for(let n in e)!isNaN(n)&&t(e,+n,e[n])}ea.prototype.toJSON=void 0;var gI,vI,A2=class{},yI={cb:!0};function bI(e,t){t<100||xi(JB,1)}function ku(e,t,n,r){var o=r!==void 0;r=!!r;var i,s=In;!o&&Ci&&s&&(i=e[s])&&_u(i,bI),s=[];var l=e.length;i=4294967295;var c=!1,u=!!(64&t),d=u?128&t?0:-1:void 0;if(!(1&t)){var f=l&&e[l-1];f!=null&&typeof f=="object"&&f.constructor===Object?i=--l:f=void 0,!u||128&t||o||(c=!0,i=cI(i-d,d,e,f,void 0)+d)}t=void 0;for(var h=0;h<l;h++){let p=e[h];if(p!=null&&(p=n(p,r))!=null)if(u&&h>=i){let g=h-d;(t??(t={}))[g]=p}else s[h]=p}if(f)for(let p in f){if((l=f[p])==null||(l=n(l,r))==null)continue;let g;h=+p,u&&!Number.isNaN(h)&&(g=h+d)<i?s[g]=l:(t??(t={}))[p]=l}return t&&(c?s.push(t):s[i]=t),o&&In&&(e=wu(e))&&e instanceof A2&&(s[In]=function(p){var g=new A2;return _u(p,(w,y,k)=>{g[y]=Gn(k)}),g.ka=p.ka,g}(e)),s}function wI(e){return e[0]=cl(e[0]),e[1]=cl(e[1]),e}function cl(e){switch(typeof e){case"number":return Number.isFinite(e)?e:""+e;case"bigint":return y2(e)?Number(e):""+e;case"boolean":return e?1:0;case"object":if(Array.isArray(e)){var t=0|e[le];return e.length===0&&1&t?void 0:ku(e,t,cl)}if(e!=null&&e[Si]===Ti)return e6(e);if(e instanceof Cr){if((t=e.g)==null)e="";else if(typeof t=="string")e=t;else{if(kg){for(var n="",r=0,o=t.length-10240;r<o;)n+=String.fromCharCode.apply(null,t.subarray(r,r+=10240));n+=String.fromCharCode.apply(null,r?t.subarray(r):t),t=btoa(n)}else{n===void 0&&(n=0),_g(),n=wg[n],r=Array(Math.floor(t.length/3)),o=n[64]||"";let u=0,d=0;for(;u<t.length-2;u+=3){var i=t[u],s=t[u+1],l=t[u+2],c=n[i>>2];i=n[(3&i)<<4|s>>4],s=n[(15&s)<<2|l>>6],l=n[63&l],r[d++]=c+i+s+l}switch(c=0,l=o,t.length-u){case 2:l=n[(15&(c=t[u+1]))<<2]||o;case 1:t=t[u],r[d]=n[t>>2]+n[(3&t)<<4|c>>4]+l+o}t=r.join("")}e=e.g=t}return e}return e instanceof ea?e=e.size!==0?e.ea(wI):void 0:void 0}return e}function e6(e){return ku(e=e.A,0|e[le],cl)}function To(e,t){return t6(e,t[0],t[1])}function t6(e,t,n,r=0){if(e==null){var o=32;n?(e=[n],o|=128):e=[],t&&(o=-16760833&o|(1023&t)<<14)}else{if(!Array.isArray(e))throw Error("narr");if(o=0|e[le],vg&&1&o)throw Error("rfarr");if(2048&o&&!(2&o)&&function(){if(vg)throw Error("carr");xi(XB,5)}(),256&o)throw Error("farr");if(64&o)return(o|r)!==o&&Pt(e,o|r),e;if(n&&(o|=128,n!==e[0]))throw Error("mid");e:{o|=64;var i=(n=e).length;if(i){var s=i-1;let c=n[s];if(c!=null&&typeof c=="object"&&c.constructor===Object){if((s-=t=128&o?0:-1)>=1024)throw Error("pvtlmt");for(var l in c)(i=+l)<s&&(n[i+t]=c[l],delete c[l]);o=-16760833&o|(1023&s)<<14;break e}}if(t){if((l=Math.max(t,i-(128&o?0:-1)))>1024)throw Error("spvt");o=-16760833&o|(1023&l)<<14}}}return Pt(e,64|o|r),e}function _I(e,t){if(typeof e!="object")return e;if(Array.isArray(e)){var n=0|e[le];return e.length===0&&1&n?void 0:n6(e,n,t)}if(e!=null&&e[Si]===Ti)return r6(e);if(e instanceof ea){if(2&(t=e.M))return e;if(!e.size)return;if(n=ol(e.ea()),e.N)for(e=0;e<n.length;e++){let r=n[e],o=r[1];o=o==null||typeof o!="object"?void 0:o!=null&&o[Si]===Ti?r6(o):Array.isArray(o)?n6(o,0|o[le],!!(32&t)):void 0,r[1]=o}return n}return e instanceof Cr?e:void 0}function n6(e,t,n){return 2&t||(!n||4096&t||16&t?e=Ii(e,t,!1,n&&!(16&t)):(al(e,34),4&t&&Object.freeze(e))),e}function O2(e,t,n){return e=new e.constructor(t),n&&(e.h=Eo),e.m=Eo,e}function r6(e){var t=e.A,n=0|t[le];return gn(e,n)?e:I2(e,t,n)?O2(e,t):Ii(t,n)}function Ii(e,t,n,r){return r??(r=!!(34&t)),e=ku(e,t,_I,r),r=32,n&&(r|=2),Pt(e,t=16769217&t|r),e}function B2(e){var t=e.A,n=0|t[le];return gn(e,n)?I2(e,t,n)?O2(e,t,!0):new e.constructor(Ii(t,n,!1)):e}function Vi(e){if(e.h!==Eo)return!1;var t=e.A;return al(t=Ii(t,0|t[le]),2048),e.A=t,e.h=void 0,e.m=void 0,!0}function Ao(e){if(!Vi(e)&&gn(e,0|e.A[le]))throw Error()}function Pa(e,t){t===void 0&&(t=0|e[le]),32&t&&!(4096&t)&&Pt(e,4096|t)}function I2(e,t,n){return!!(2&n)||!(!(32&n)||4096&n)&&(Pt(t,2|n),e.h=Eo,!0)}var a6=Lt(0),La={};function _t(e,t,n,r){if((t=ta(e.A,t,void 0,r))!==null||n&&e.m!==Eo)return t}function ta(e,t,n,r){if(t===-1)return null;var o=t+(n?0:-1),i=e.length-1;if(!(i<1+(n?0:-1))){if(o>=i){var s=e[i];if(s!=null&&typeof s=="object"&&s.constructor===Object){n=s[t];var l=!0}else{if(o!==i)return;n=s}}else n=e[o];if(r&&n!=null){if((r=r(n))==null)return r;if(!Object.is(r,n))return l?s[t]=r:e[o]=r,r}return n}}function Ce(e,t,n,r){Ao(e);var o=e.A;return Ot(o,0|o[le],t,n,r),e}function Ot(e,t,n,r,o){var i=n+(o?0:-1),s=e.length-1;if(s>=1+(o?0:-1)&&i>=s){let l=e[s];if(l!=null&&typeof l=="object"&&l.constructor===Object)return l[n]=r,t}return i<=s?(e[i]=r,t):(r!==void 0&&(n>=(s=(t??(t=0|e[le]))>>14&1023||536870912)?r!=null&&(e[s+(o?0:-1)]={[n]:r}):e[i]=r),t)}function o6(e,t,n,r){var o=e.A;return d6(o,0|o[le],t,e=c6(e,r)===n?n:-1)!==void 0}function Oo(){return QB===void 0?2:4}function Bo(e,t,n,r,o){var i=e.A,s=0|i[le];r=gn(e,s)?1:r,o=!!o||r===3,r===2&&Vi(e)&&(s=0|(i=e.A)[le]);var l=(e=V2(i,t))===Da?7:0|e[le],c=R2(l,s),u=!(4&c);if(u){4&c&&(e=Gn(e),l=0,c=Za(c,s),s=Ot(i,s,t,e));let d=0,f=0;for(;d<e.length;d++){let h=n(e[d]);h!=null&&(e[f++]=h)}f<d&&(e.length=f),n=-513&c|4,c=n&=-1025,c&=-4097}return c!==l&&(Pt(e,c),2&c&&Object.freeze(e)),i6(e,c,i,s,t,r,u,o)}function i6(e,t,n,r,o,i,s,l){var c=t;return i===1||i===4&&(2&t||!(16&t)&&32&r)?Fa(t)||((t|=!e.length||s&&!(4096&t)||32&r&&!(4096&t||16&t)?2:256)!==c&&Pt(e,t),Object.freeze(e)):(i===2&&Fa(t)&&(e=Gn(e),c=0,t=Za(t,r),r=Ot(n,r,o,e)),Fa(t)||(l||(t|=16),t!==c&&Pt(e,t))),2&t||!(4096&t||16&t)||Pa(n,r),e}function V2(e,t,n){return e=ta(e,t,n),Array.isArray(e)?e:Da}function R2(e,t){return 2&t&&(e|=2),1|e}function Fa(e){return!!(2&e)&&!!(4&e)||!!(256&e)}function s6(e){return hu(e,!0)}function l6(e){e=Gn(e);for(let t=0;t<e.length;t++){let n=e[t]=Gn(e[t]);Array.isArray(n[1])&&(n[1]=ol(n[1]))}return il(e)}function ul(e,t,n,r){Ao(e),Ot(e=e.A,0|e[le],t,(r==="0"?Number(n)===0:n===r)?void 0:n)}function Ua(e,t,n){if(2&t)throw Error();var r=Ai(t),o=V2(e,n,r),i=o===Da?7:0|o[le],s=R2(i,t);return(2&s||Fa(s)||16&s)&&(s===i||Fa(s)||Pt(o,s),o=Gn(o),i=0,s=Za(s,t),Ot(e,t,n,o,r)),(s&=-13)!==i&&Pt(o,s),o}function c6(e,t){return M2(D2(e=e.A),e,void 0,t)}function D2(e){if(Ci)return e[rl]??(e[rl]=new Map);if(rl in e)return e[rl];var t=new Map;return Object.defineProperty(e,rl,{value:t}),t}function u6(e,t,n,r,o){var i=D2(e),s=M2(i,e,t,n,o);return s!==r&&(s&&(t=Ot(e,t,s,void 0,o)),i.set(n,r)),t}function M2(e,t,n,r,o){var i=e.get(r);if(i!=null)return i;i=0;for(let s=0;s<r.length;s++){let l=r[s];ta(t,l,o)!=null&&(i!==0&&(n=Ot(t,n,i,void 0,o)),i=l)}return e.set(r,i),i}function P2(e,t,n){var r=0|e[le],o=Ai(r),i=ta(e,n,o);if(i!=null&&i[Si]===Ti){if(!gn(i))return Vi(i),i.A;var s=i.A}else Array.isArray(i)&&(s=i);if(s){let l=0|s[le];2&l&&(s=Ii(s,l))}return(s=To(s,t))!==i&&Ot(e,r,n,s,o),s}function d6(e,t,n,r,o){var i=!1;if((r=ta(e,r,o,s=>{var l=C2(s,n,!1,t);return i=l!==s&&l!=null,l}))!=null)return i&&!gn(r)&&Pa(e,t),r}function Ye(e,t,n,r){var o=e.A,i=0|o[le];if((t=d6(o,i,t,n,r))==null)return t;if(!gn(e,i=0|o[le])){let s=B2(t);s!==t&&(Vi(e)&&(i=0|(o=e.A)[le]),Pa(o,i=Ot(o,i,n,t=s,r)))}return t}function f6(e,t,n,r,o,i,s,l){var c=gn(e,n);i=c?1:i,s=!!s||i===3,c=l&&!c,(i===2||c)&&Vi(e)&&(n=0|(t=e.A)[le]);var u=(e=V2(t,o))===Da?7:0|e[le],d=R2(u,n);if(l=!(4&d)){var f=e,h=n;let p=!!(2&d);p&&(h|=2);let g=!p,w=!0,y=0,k=0;for(;y<f.length;y++){let v=C2(f[y],r,!1,h);if(v instanceof r){if(!p){let m=gn(v);g&&(g=!m),w&&(w=m)}f[k++]=v}}k<y&&(f.length=k),d|=4,d=w?-4097&d:4096|d,d=g?8|d:-9&d}if(d!==u&&(Pt(e,d),2&d&&Object.freeze(e)),c&&!(8&d||!e.length&&(i===1||i===4&&(2&d||!(16&d)&&32&n)))){for(Fa(d)&&(e=Gn(e),d=Za(d,n),n=Ot(t,n,o,e)),r=e,c=d,u=0;u<r.length;u++)(f=r[u])!==(d=B2(f))&&(r[u]=d);c|=8,Pt(e,d=c=r.length?4096|c:-4097&c)}return i6(e,d,t,n,o,i,l,s)}function na(e,t,n){var r=e.A;return f6(e,r,0|r[le],t,n,Oo(),!1,!0)}function h6(e){return e==null&&(e=void 0),e}function ye(e,t,n,r,o){return Ce(e,n,r=h6(r),o),r&&!gn(r)&&Pa(e.A),e}function Ar(e,t,n,r){e:{var o=r=h6(r);Ao(e);let i=e.A,s=0|i[le];if(o==null){let l=D2(i);if(M2(l,i,s,n)!==t)break e;l.set(n,0)}else s=u6(i,s,n,t);Ot(i,s,t,o)}return r&&!gn(r)&&Pa(e.A),e}function L2(e,t,n){Ao(e);var r=e.A,o=0|r[le];if(n==null)return Ot(r,o,t),e;var i=n===Da?7:0|n[le],s=i,l=Fa(i),c=l||Object.isFrozen(n),u=!0,d=!0;for(let h=0;h<n.length;h++){var f=n[h];l||(f=gn(f),u&&(u=!f),d&&(d=f))}return l||(i=u?13:5,i=d?-4097&i:4096|i),c&&i===s||(n=Gn(n),s=0,i=Za(i,o)),i!==s&&Pt(n,i),o=Ot(r,o,t,n),2&i||!(4096&i||16&i)||Pa(r,o),e}function Za(e,t){return-273&(2&t?2|e:-3&e)}function dl(e,t,n,r){var o=r;Ao(e),e=f6(e,r=e.A,0|r[le],n,t,2,!0),o=o??new n,e.push(o),t=n=e===Da?7:0|e[le],(o=gn(o))?(n&=-9,e.length===1&&(n&=-4097)):n|=4096,n!==t&&Pt(e,n),o||Pa(r)}function Kn(e,t,n){return So(_t(e,t,n))}function Bt(e,t){return _t(e,t,void 0,dr)??0}function p6(e,t,n){return Ye(e,t,n=c6(e,c0)===n?n:-1,void 0)}function F2(e,t){ul(e,3,t==null?t:gu(t),!1)}function Or(e,t,n){if(n!=null){if(typeof n!="number"||!ll(n))throw nl("int32");n|=0}Ce(e,t,n)}function U2(e,t,n){return Ce(e,t,n==null?n:Hg(n))}function Eu(e,t,n){return Ce(e,t,n==null?n:function(r){if(!Bi(r))throw nl("uint64");switch(typeof r){case"string":var o=Ma(Number(r));return Tr(o)&&o>=0?r=Lt(o):((o=r.indexOf("."))!==-1&&(r=r.substring(0,o)),r=ko()?Lt(E2(64,BigInt(r))):Lt(Wg(r))),r;case"bigint":return Lt(E2(64,r));default:return Tr(r)?r=Lt(Gg(r)):((r=Ma(r))>=0&&Tr(r)?r=String(r):(xo(r),r=Oi(Ge,nt)),r=Lt(r)),r}}(n))}function be(e,t,n){Ce(e,t,n==null?n:zg(n))}function Ri(e,t,n){ul(e,t,n==null?n:zg(n),0)}function Vn(e,t,n){ul(e,t,$r(n),"")}function xu(e,t,n){{Ao(e);let s=e.A,l=0|s[le];if(n==null)Ot(s,l,t);else{var r=e=n===Da?7:0|n[le],o=Fa(e),i=o||Object.isFrozen(n);for(o||(e=0),i||(n=Gn(n),r=0,e=Za(e,l),i=!1),e|=5,e|=(4&e?512&e?512:1024&e?1024:0:void 0)??1024,o=0;o<n.length;o++){let c=n[o],u=Qg(c);Object.is(c,u)||(i&&(n=Gn(n),r=0,e=Za(e,l),i=!1),n[o]=u)}e!==r&&(i&&(n=Gn(n),e=Za(e,l)),Pt(n,e)),Ot(s,l,t,n)}}}function Cu(e,t,n){Ao(e),Bo(e,t,Xt,2,!0).push(Qg(n))}var Di=class{constructor(e,t,n){if(this.buffer=e,n&&!t)throw Error();this.g=t}};function Su(e,t){if(typeof e=="string")return new Di(xg(e),t);if(Array.isArray(e))return new Di(new Uint8Array(e),t);if(e.constructor===Uint8Array)return new Di(e,!1);if(e.constructor===ArrayBuffer)return e=new Uint8Array(e),new Di(e,!1);if(e.constructor===Cr)return t=g2(e)||new Uint8Array(0),new Di(t,!0,e);if(e instanceof Uint8Array)return e=e.constructor===Uint8Array?e:new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Di(e,!1);throw Error()}function Z2(e,t){var n=0,r=0,o=0,i=e.h,s=e.g;do{var l=i[s++];n|=(127&l)<<o,o+=7}while(o<32&&128&l);if(o>32)for(r|=(127&l)>>4,o=3;o<32&&128&l;o+=7)r|=(127&(l=i[s++]))<<o;if(Io(e,s),!(128&l))return t(n>>>0,r>>>0);throw Error()}function z2(e){for(var t=0,n=e.g,r=n+10,o=e.h;n<r;){let i=o[n++];if(t|=i,!(128&i))return Io(e,n),!!(127&t)}throw Error()}function ra(e){var t=e.h,n=e.g,r=t[n++],o=127&r;if(128&r&&(o|=(127&(r=t[n++]))<<7,128&r&&(o|=(127&(r=t[n++]))<<14,128&r&&(o|=(127&(r=t[n++]))<<21,128&r&&(o|=(r=t[n++])<<28,128&r&&128&t[n++]&&128&t[n++]&&128&t[n++]&&128&t[n++]&&128&t[n++])))))throw Error();return Io(e,n),o}function Br(e){return ra(e)>>>0}function Tu(e){return Z2(e,Ug)}function j2(e){var t=e.h,n=e.g,r=t[n],o=t[n+1],i=t[n+2];return t=t[n+3],Io(e,e.g+4),(r|o<<8|i<<16|t<<24)>>>0}function Au(e){var t=j2(e);e=2*(t>>31)+1;var n=t>>>23&255;return t&=8388607,n==255?t?NaN:e*(1/0):n==0?1401298464324817e-60*e*t:e*Math.pow(2,n-150)*(t+8388608)}function kI(e){return ra(e)}function Io(e,t){if(e.g=t,t>e.j)throw Error()}function m6(e,t){if(t<0)throw Error();var n=e.g;if((t=n+t)>e.j)throw Error();return e.g=t,n}function g6(e,t){if(t==0)return _o();var n=m6(e,t);return e.fa&&e.o?n=e.h.subarray(n,n+t):(e=e.h,n=n===(t=n+t)?new Uint8Array(0):aI?e.slice(n,t):new Uint8Array(e.subarray(n,t))),n.length==0?_o():new Cr(n,Ei)}var EI=class{constructor(t,n,r,o){this.h=null,this.o=!1,this.g=this.j=this.m=0,this.init(t,n,r,o)}init(t,n,r,{fa:o=!1,ma:i=!1}={}){this.fa=o,this.ma=i,t&&(t=Su(t,this.ma),this.h=t.buffer,this.o=t.g,this.m=n||0,this.j=r!==void 0?this.m+r:this.h.length,this.g=this.m)}clear(){this.h=null,this.o=!1,this.g=this.j=this.m=0,this.fa=!1}},v6=[],Mi=0;function y6(e,t,n,r){if(Bu.length){let o=Bu.pop();return o.v(r),o.g.init(e,t,n,r),o}return new xI(e,t,n,r)}function b6(e){e.g.clear(),e.j=-1,e.h=-1,Bu.length<100&&Bu.push(e)}function w6(e){var t=e.g;if(t.g==t.j)return!1;e.m=e.g.g;var n=Br(e.g);if(t=n>>>3,!((n&=7)>=0&&n<=5)||t<1)throw Error();return e.j=t,e.h=n,!0}function Ou(e){try{switch(e.h){case 0:e.h!=0?Ou(e):z2(e.g);break;case 1:var t=e.g;Io(t,t.g+8);break;case 2:if(e.h!=2)Ou(e);else{var n=Br(e.g),r=e.g;Io(r,r.g+n)}break;case 5:var o=e.g;Io(o,o.g+4);break;case 3:_6();let i=e.j;try{for(;;){if(!w6(e))throw Error();if(e.h==4){if(e.j!=i)throw Error();break}Ou(e)}}catch(s){throw s instanceof RangeError?new SyntaxError:s}finally{Mi>0&&Mi--}break;default:throw Error()}}catch(i){throw i instanceof RangeError?new SyntaxError:i}}function _6(){if(Mi>=100)throw new SyntaxError;Mi++}function fl(e,t,n){var r=e.g.j,o=Br(e.g),i=(o=e.g.g+o)-r;if(i<=0&&(e.g.j=o,n(t,e,void 0,void 0,void 0),i=o-e.g.g),i)throw Error();return e.g.g=o,e.g.j=r,t}function H2(e){var t=Br(e.g),n=m6(e=e.g,t);if(e=e.h,FB){var r,o=e;(r=h2)||(r=h2=new TextDecoder("utf-8",{fatal:!0})),t=n+t,o=n===0&&t===o.length?o:o.subarray(n,t);try{var i=r.decode(o)}catch(l){if(du===void 0){try{r.decode(new Uint8Array([128]))}catch{}try{r.decode(new Uint8Array([97])),du=!0}catch{du=!1}}throw!du&&(h2=void 0),l}}else{t=(i=n)+t,n=[];let l,c=null;for(;i<t;){var s=e[i++];s<128?n.push(s):s<224?i>=t?wo():(l=e[i++],s<194||(192&l)!=128?(i--,wo()):n.push((31&s)<<6|63&l)):s<240?i>=t-1?wo():(l=e[i++],(192&l)!=128||s===224&&l<160||s===237&&l>=160||(192&(r=e[i++]))!=128?(i--,wo()):n.push((15&s)<<12|(63&l)<<6|63&r)):s<=244?i>=t-2?wo():(l=e[i++],(192&l)!=128||l-144+(s<<28)>>30||(192&(r=e[i++]))!=128||(192&(o=e[i++]))!=128?(i--,wo()):(s=(7&s)<<18|(63&l)<<12|(63&r)<<6|63&o,s-=65536,n.push(55296+(s>>10&1023),56320+(1023&s)))):wo(),n.length>=8192&&(c=pg(c,n),n.length=0)}i=pg(c,n)}return i}function q2(e){var t=Br(e.g);return g6(e.g,t)}function hl(e,t,n){var r=Br(e.g);for(r=e.g.g+r;e.g.g<r;)n.push(t(e.g))}var xI=class{constructor(t,n,r,o){if(v6.length){let i=v6.pop();i.init(t,n,r,o),t=i}else t=new EI(t,n,r,o);this.g=t,this.m=this.g.g,this.h=this.j=-1,this.v(o)}v({ra:t=!1}={}){this.ra=t}},Bu=[];function CI(e){return new Iu(4294967295&e,Math.floor(e/4294967296))}function k6(e){return e?/^\d+$/.test(e)?(sl(e),new Iu(Ge,nt)):null:SI||(SI=new Iu(0,0))}var SI,Iu=class{constructor(t,n){this.h=t>>>0,this.g=n>>>0}};function TI(e){return new Ru(4294967295&e,Math.floor(e/4294967296))}function E6(e){return e?/^-?\d+$/.test(e)?(sl(e),new Ru(Ge,nt)):null:AI||(AI=new Ru(0,0))}var AI,x6,C6,S6,W2,T6,pl,Vu,Ru=class{constructor(t,n){this.h=t>>>0,this.g=n>>>0}};function A6(e,t,n){return typeof BigInt64Array<"u"?(pl||(pl=new BigInt64Array(1),Vu=new Uint32Array(pl.buffer),pl[0]=BigInt(1),T6=Vu[0]===1),pl[0]=e,new t(Vu[e=T6?0:1],Vu[1-e])):(W2||(x6=BigInt(Number.MIN_SAFE_INTEGER),C6=BigInt(Number.MAX_SAFE_INTEGER),S6=BigInt(4294967295),W2=BigInt(32)),e>=x6&&e<=C6?n(Number(e)):(e=BigInt.asUintN(64,e),new t(Number(e&S6),Number(e>>W2))))}function aa(e,t,n){for(;n>0||t>127;)e.g.push(127&t|128),t=(t>>>7|n<<25)>>>0,n>>>=7;e.g.push(t)}function Pi(e,t){for(;t>127;)e.g.push(127&t|128),t>>>=7;e.g.push(t)}function ml(e,t){if(t>=0)Pi(e,t);else{for(let n=0;n<9;n++)e.g.push(127&t|128),t>>=7;e.g.push(1)}}function OI(e,t){sl(t),function(n){var r=nt>>31;n(Ge<<1^r,(nt<<1|Ge>>>31)^r)}((n,r)=>{aa(e,n>>>0,r>>>0)})}function gl(e,t){e.g.push(t>>>0&255),e.g.push(t>>>8&255),e.g.push(t>>>16&255),e.g.push(t>>>24&255)}var BI=class{constructor(){this.g=[]}length(){return this.g.length}end(){var t=this.g;return this.g=[],t}};function Li(e,t){t.length!==0&&(e.j.push(t),e.h+=t.length)}function dn(e,t,n){Pi(e.g,8*t+n)}function G2(e,t){return dn(e,t,2),t=e.g.end(),Li(e,t),t.push(e.h),t}function K2(e,t){var n=t.pop();for(n=e.h+e.g.length()-n;n>127;)t.push(127&n|128),n>>>=7,e.h++;t.push(n),e.h++}function O6(e,t,n){if(n!=null)switch(dn(e,t,0),typeof n){case"number":e=e.g,xo(n),aa(e,Ge,nt);break;case"bigint":n=A6(n,Ru,TI),aa(e.g,n.h,n.g);break;default:n=E6(n),aa(e.g,n.h,n.g)}}function vl(e,t,n){dn(e,t,2),Pi(e.g,n.length),Li(e,e.g.end()),Li(e,n)}function Du(e,t,n,r){n!=null&&(t=G2(e,t),r(n,e),K2(e,t))}var II=class{constructor(){this.j=[],this.h=0,this.g=new BI}};function B6(e){typeof e=="string"&&E6(e)}function Yn(){var e=class{constructor(){throw Error()}};return Object.setPrototypeOf(e,e.prototype),e}var Y2=Yn(),I6=Yn(),J2=Yn(),Mu=Yn(),X2=Yn(),Pu=Yn(),VI=Yn(),RI=Yn(),Lu=Yn(),DI=Yn(),Fu=Yn(),Q2=Yn();function Ir(e,t,n){var r=e.A;In&&In in r&&(r=r[In])&&delete r[t.g],t.h?t.o(e,t.h,t.g,n,t.j):t.o(e,t.g,n,t.j)}var $=class{constructor(e,t){this.A=t6(e,t,void 0,2048)}toJSON(){return e6(this)}o(){var o;var e=wV,t=this.A,n=e.g,r=In;if(Ci&&r&&((o=t[r])==null?void 0:o[n])!=null&&xi(YB,3),t=e.g,Ag&&In&&Ag===void 0&&(r=(n=this.A)[In])&&(r=r.ka))try{r(n,t,yI)}catch(i){gg(i)}return e.h?e.m(this,e.h,e.g,e.j):e.m(this,e.g,e.defaultValue,e.j)}clone(){var e=this.A,t=0|e[le];return I2(this,e,t)?O2(this,e,!0):new this.constructor(Ii(e,t,!1))}};$.prototype[Si]=Ti,$.prototype.toString=function(){return this.A.toString()};var Fi=class{constructor(e,t,n){this.g=e,this.h=t,e=Y2,this.j=!!e&&n===e||!1}};function Uu(e,t){return new Fi(e,t,Y2)}function V6(e,t,n,r,o){Du(e,n,F6(t,r),o)}var R6,D6,MI=Uu(function(e,t,n,r,o){return e.h===2&&(fl(e,P2(t,r,n),o),!0)},V6),PI=Uu(function(e,t,n,r,o){return e.h===2&&(fl(e,P2(t,r,n),o),!0)},V6),Zu=Symbol(),zu=Symbol(),N2=Symbol(),M6=Symbol(),P6=Symbol();function Vo(e,t,n,r){var o=r[e];if(o)return o;(o={}).Ea=r,o.ca=function(f){switch(typeof f){case"boolean":return gI||(gI=[0,void 0,!0]);case"number":return f>0?void 0:f===0?vI||(vI=[0,void 0]):[-f,void 0];case"string":return[0,f];case"object":return f}}(r[0]);var i=r[1],s=1;i&&i.constructor===Object&&(o.ia=i,typeof(i=r[++s])=="function"&&(o.wa=!0,R6??(R6=i),D6??(D6=r[s+1]),i=r[s+=2]));for(var l={};i&&Array.isArray(i)&&i.length&&typeof i[0]=="number"&&i[0]>0;){for(var c=0;c<i.length;c++)l[i[c]]=i;i=r[++s]}for(c=1;i!==void 0;){let f;typeof i=="number"&&(c+=i,i=r[++s]);var u=void 0;if(i instanceof Fi?f=i:(f=MI,s--),f==null?void 0:f.j){i=r[++s],u=r;var d=s;typeof i=="function"&&(i=i(),u[d]=i),u=i}for(d=c+1,typeof(i=r[++s])=="number"&&i<0&&(d-=i,i=r[++s]);c<d;c++){let h=l[c];u?n(o,c,f,u,h):t(o,c,f,h)}}return r[e]=o}function L6(e){return Array.isArray(e)?e[0]instanceof Fi?e:[PI,e]:[e,void 0]}function F6(e,t){return e instanceof $?e.A:Array.isArray(e)?To(e,t):void 0}function $2(e,t,n,r){var o=n.g;e[t]=r?(i,s,l)=>o(i,s,l,r):o}function e0(e,t,n,r,o){var i,s,l=n.g;e[t]=(c,u,d)=>l(c,u,d,s||(s=Vo(zu,$2,e0,r).ca),i||(i=t0(r)),o)}function t0(e){var t=e[N2];if(t!=null)return t;var n=Vo(zu,$2,e0,e);return t=n.wa?(r,o)=>R6(r,o,n):(r,o)=>{e:{_6();try{for(;w6(o)&&o.h!=4;){let h=o.j,p=n[h];if(p==null){let g=n.ia;if(g){let w=g[h];if(w){let y=FI(w);y!=null&&(p=n[h]=y)}}}if(p==null||!p(o,r,h)){var i=o;let g=i.m;if(Ou(i),i.ra)var s=void 0;else{let w=i.g.g-g;i.g.g=g,s=g6(i.g,w)}i=void 0;var l=r,c=h,u=s;u&&((i=l[In]??(l[In]=new A2))[c]??(i[c]=[])).push(u)}}let f=wu(r);f&&(f.ka=n.Ea[P6]);var d=!0;break e}catch(f){throw f instanceof RangeError?new SyntaxError:f}finally{Mi>0&&Mi--}d=void 0}return d},e[N2]=t,e[P6]=LI.bind(e),t}function LI(e,t,n,r){var o=this[zu],i=this[N2],s=To(void 0,o.ca),l=wu(e);if(l){var c=!1,u=o.ia;if(u){if(o=(d,f,h)=>{if(h.length!==0)if(u[f])for(let p of h){d=y6(p);try{c=!0,i(s,d)}finally{b6(d)}}else r==null||r(e,f,h)},t==null)_u(l,o);else if(l!=null){let d=l[t];d&&o(l,t,d)}if(c){let d=0|e[le];if(2&d&&2048&d&&!(n!=null&&n.cb))throw Error();let f=Ai(d),h=(p,g)=>{if(ta(e,p,f)!=null){if((n==null?void 0:n.lb)===1)return;throw Error()}g!=null&&(d=Ot(e,d,p,g,f)),delete l[p]};t==null?Rg(s,0|s[le],(p,g)=>{h(p,g)}):h(t,ta(s,t,f))}}}}function FI(e){var t=(e=L6(e))[0].g;if(e=e[1]){let n=t0(e),r=Vo(zu,$2,e0,e).ca;return(o,i,s)=>t(o,i,s,r,n)}return t}function ju(e,t,n){e[t]=n.h}function Hu(e,t,n,r){var o,i,s=n.h;e[t]=(l,c,u)=>s(l,c,u,i||(i=Vo(Zu,ju,Hu,r).ca),o||(o=U6(r)))}function U6(e){var t=e[M6];if(!t){let n=Vo(Zu,ju,Hu,e);t=(r,o)=>Z6(r,o,n),e[M6]=t}return t}function Z6(e,t,n){Rg(e,0|e[le],(r,o)=>{if(o!=null){var i=function(s,l){var c=s[l];if(c)return c;if((c=s.ia)&&(c=c[l])){var u=(c=L6(c))[0].h;if(c=c[1]){let d=U6(c),f=Vo(Zu,ju,Hu,c).ca;c=s.wa?D6(f,d):(h,p,g)=>u(h,p,g,f,d)}else c=u;return s[l]=c}}(n,r);i?i(t,o,r):r<500||xi(v2,3)}}),(e=wu(e))&&_u(e,(r,o,i)=>{for(Li(t,t.g.end()),r=0;r<i.length;r++)Li(t,g2(i[r])||new Uint8Array(0))})}var UI=Lt(0);function oa(e,t,n){if(Array.isArray(t)){var r=0|t[le];if(4&r)return t;for(var o=0,i=0;o<t.length;o++){let s=e(t[o]);s!=null&&(t[i++]=s)}return i<o&&(t.length=i),e=1|r,n&&(e=-1537&e|4),e!==r&&Pt(t,e),n&&2&e&&Object.freeze(t),t}}var z6=(e,t)=>{var n=new II;Z6(e.A,n,Vo(Zu,ju,Hu,t)),Li(n,n.g.end()),e=new Uint8Array(n.h);var r=(t=n.j).length,o=0;for(let i=0;i<r;i++){let s=t[i];e.set(s,o),o+=s.length}return n.j=[e],e};function It(e,t,n){return new Fi(e,t,n)}function ia(e,t,n){return new Fi(e,t,n)}function Zt(e,t,n){Ot(e,0|e[le],t,n,Ai(0|e[le]))}var ZI=Uu(function(e,t,n,r,o){if(e.h!==2)return!1;if(e=Gn(e=fl(e,To([void 0,void 0],r),o)),o=Ai(r=0|t[le]),2&r)throw Error();var i=ta(t,n,o);if(i instanceof ea)2&i.M?((i=i.ea()).push(e),Ot(t,r,n,i,o)):i.gb(e);else if(Array.isArray(i)){var s=0|i[le];8192&s||Pt(i,s|=8192),2&s&&Ot(t,r,n,i=l6(i),o),i.push(e)}else Ot(t,r,n,il([e]),o);return!0},function(e,t,n,r,o){if(t instanceof ea)t.forEach((i,s)=>{Du(e,n,To([s,i],r),o)});else if(Array.isArray(t)){for(let i=0;i<t.length;i++){let s=t[i];Array.isArray(s)&&Du(e,n,To(s,r),o)}il(t)}});function j6(e,t,n){(t=dr(t))!=null&&(dn(e,n,5),e=e.g,w2(t),gl(e,Ge))}function n0(e,t,n){(t=x2(t))!=null&&(B6(t),O6(e,n,t))}function H6(e,t,n){(t=So(t))!=null&&t!=null&&(dn(e,n,0),ml(e.g,t))}function q6(e,t,n){(t=t==null||typeof t=="boolean"?t:typeof t=="number"?!!t:void 0)!=null&&(dn(e,n,0),e.g.g.push(t?1:0))}function W6(e,t,n){(t=Xt(t))!=null&&vl(e,n,mg(t))}function G6(e,t,n,r,o){Du(e,n,F6(t,r),o)}function r0(e,t,n){(t=Xg(t))!=null&&vl(e,n,Su(t,!0).buffer)}function K6(e,t,n){(t=jg(t))!=null&&t!=null&&(dn(e,n,0),Pi(e.g,t))}function Y6(e,t,n){(t=So(t))!=null&&(t=parseInt(t,10),dn(e,n,0),ml(e.g,t))}function J6(e,t,n){return(e.h===5||e.h===2)&&(t=Ua(t,0|t[le],n),e.h==2?hl(e,Au,t):t.push(Au(e.g)),!0)}function X6(e,t,n){return e.h===0&&(Zt(t,n,Tu(e.g)),!0)}function Q6(e,t,n){return(e.h===0||e.h===2)&&(t=Ua(t,0|t[le],n),e.h==2?hl(e,ra,t):t.push(ra(e.g)),!0)}function N6(e,t,n){return e.h===2&&(Zt(t,n,(e=q2(e))===_o()?void 0:e),!0)}var $6=It(function(e,t,n){if(e.h!==1)return!1;var r=e.g;e=j2(r);var o=j2(r);r=2*(o>>31)+1;var i=o>>>20&2047;return e=4294967296*(1048575&o)+e,Zt(t,n,i==2047?e?NaN:r*(1/0):i==0?5e-324*r*e:r*Math.pow(2,i-1075)*(e+4503599627370496)),!0},function(e,t,n){(t=dr(t))!=null&&(dn(e,n,1),e=e.g,(n=Lg||(Lg=new DataView(new ArrayBuffer(8)))).setFloat64(0,+t,!0),Ge=n.getUint32(0,!0),nt=n.getUint32(4,!0),gl(e,Ge),gl(e,nt))},DI),kt=It(function(e,t,n){return e.h===5&&(Zt(t,n,Au(e.g)),!0)},j6,Lu),zI=ia(J6,function(e,t,n){if((t=oa(dr,t,!0))!=null)for(let s=0;s<t.length;s++){var r=e,o=n,i=t[s];i!=null&&(dn(r,o,5),r=r.g,w2(i),gl(r,Ge))}},Lu),a0=ia(J6,function(e,t,n){if((t=oa(dr,t,!0))!=null&&t.length){dn(e,n,2),Pi(e.g,4*t.length);for(let r=0;r<t.length;r++)n=e.g,w2(t[r]),gl(n,Ge)}},Lu),e8=It(function(e,t,n){return e.h===5&&(Zt(t,n,(e=Au(e.g))===0?void 0:e),!0)},j6,Lu),yl=It(function(e,t,n){return X6(e,t,n)},n0,Pu),ht=It(function(e,t,n){return X6(e,t,n)},n0,Pu),jI=ia(function(e,t,n){return e.h!==0&&e.h!==2?e=!1:(t=Ua(t,0|t[le],n),e.h==2?hl(e,Tu,t):t.push(Tu(e.g)),e=!0),e},function(e,t,n){if((t=oa(x2,t,!1))!=null)for(let r=0;r<t.length;r++)O6(e,n,t[r])},Pu),qu=It(function(e,t,n){return e.h!==0?t=!1:(Zt(t,n,(e=Tu(e.g))===UI?void 0:e),t=!0),t},n0,Pu),Wu=It(function(e,t,n){return e.h!==0?e=!1:(Zt(t,n,Z2(e.g,oI)),e=!0),e},function(e,t,n){if(t=function(r){if(r==null)return r;var o=typeof r;if(o==="bigint")return String(E2(64,r));if(Bi(r)){if(o==="string")return o=Ma(Number(r)),Tr(o)&&o>=0?r=String(o):((o=r.indexOf("."))!==-1&&(r=r.substring(0,o)),r=Wg(r)),r;if(o==="number")return Gg(r)}}(t),t!=null&&(typeof t=="string"&&k6(t),t!=null))switch(dn(e,n,0),typeof t){case"number":e=e.g,xo(t),aa(e,Ge,nt);break;case"bigint":n=A6(t,Iu,CI),aa(e.g,n.h,n.g);break;default:n=k6(t),aa(e.g,n.h,n.g)}},VI),He=It(function(e,t,n){return e.h===0&&(Zt(t,n,ra(e.g)),!0)},H6,Mu),t8=ia(Q6,function(e,t,n){if((t=oa(So,t,!0))!=null)for(let s=0;s<t.length;s++){var r=e,o=n,i=t[s];i!=null&&(dn(r,o,0),ml(r.g,i))}},Mu),Ui=ia(Q6,function(e,t,n){if((t=oa(So,t,!0))!=null&&t.length){n=G2(e,n);for(let r=0;r<t.length;r++)ml(e.g,t[r]);K2(e,n)}},Mu),Ro=It(function(e,t,n){return e.h===0&&(Zt(t,n,(e=ra(e.g))===0?void 0:e),!0)},H6,Mu),Ve=It(function(e,t,n){return e.h===0&&(Zt(t,n,z2(e.g)),!0)},q6,I6),za=It(function(e,t,n){return e.h===0&&(Zt(t,n,(e=z2(e.g))===!1?void 0:e),!0)},q6,I6),Qt=ia(function(e,t,n){return e.h===2&&(e=H2(e),Ua(t,0|t[le],n).push(e),!0)},function(e,t,n){if((t=oa(Xt,t,!0))!=null)for(let s=0;s<t.length;s++){var r=e,o=n,i=t[s];i!=null&&vl(r,o,mg(i))}},J2),sa=It(function(e,t,n){return e.h===2&&(Zt(t,n,(e=H2(e))===""?void 0:e),!0)},W6,J2),J=It(function(e,t,n){return e.h===2&&(Zt(t,n,H2(e)),!0)},W6,J2),ut=function(e,t,n=Y2){return new Fi(e,t,n)}(function(e,t,n,r,o){return e.h===2&&(r=To(void 0,r),Ua(t,0|t[le],n).push(r),fl(e,r,o),!0)},function(e,t,n,r,o){if(Array.isArray(t)){for(let i=0;i<t.length;i++)G6(e,t[i],n,r,o);1&(e=0|t[le])||Pt(t,1|e)}}),Fe=Uu(function(e,t,n,r,o,i){if(e.h!==2)return!1;var s=0|t[le];return u6(t,s,i,n,Ai(s)),fl(e,t=P2(t,r,n),o),!0},G6),Zi=It(function(e,t,n){return e.h===2&&(Zt(t,n,q2(e)),!0)},r0,Fu),n8=ia(function(e,t,n){return e.h===2&&(e=q2(e),Ua(t,0|t[le],n).push(e),!0)},function(e,t,n){if((t=oa(Xg,t,!1))!=null)for(let s=0;s<t.length;s++){var r=e,o=n,i=t[s];i!=null&&vl(r,o,Su(i,!0).buffer)}},Fu),r8=It(function(e,t,n){return e.h===0&&(Zt(t,n,Br(e.g)),!0)},K6,X2),HI=ia(function(e,t,n){return(e.h===0||e.h===2)&&(t=Ua(t,0|t[le],n),e.h==2?hl(e,Br,t):t.push(Br(e.g)),!0)},function(e,t,n){if((t=oa(jg,t,!0))!=null)for(let s=0;s<t.length;s++){var r=e,o=n,i=t[s];i!=null&&(dn(r,o,0),Pi(r.g,i))}},X2),qI=It(function(e,t,n){return e.h===0&&(Zt(t,n,(e=Br(e.g))===0?void 0:e),!0)},K6,X2),ce=It(function(e,t,n){return e.h===0&&(Zt(t,n,ra(e.g)),!0)},Y6,Q2),Gu=It(function(e,t,n){return e.h===0&&(Zt(t,n,(e=ra(e.g))===0?void 0:e),!0)},Y6,Q2),WI=It(function(e,t,n){return e.h!==0?e=!1:(Zt(t,n,function(r){return Z2(r,(o,i)=>{var s=-(1&o);return Ug(o=(o>>>1|i<<31)^s,i>>>1^s)})}(e.g)),e=!0),e},function(e,t,n){if((t=x2(t))!=null&&(B6(t),t!=null))switch(dn(e,n,0),typeof t){case"number":e=e.g,t=(n=t)<0,b2(n=2*Math.abs(n)),n=Ge;let r=nt;t&&(n==0?r==0?r=n=4294967295:(r--,n=4294967295):n--),aa(e,Ge=n,nt=r);break;case"bigint":e=e.g,t=t<<BigInt(1)^t>>BigInt(63),Ge=Number(BigInt.asUintN(32,t)),nt=Number(BigInt.asUintN(32,t>>BigInt(32))),aa(e,Ge,nt);break;default:OI(e.g,t)}},RI);class GI{constructor(t,n){var r=Rn;this.g=t,this.h=n,this.m=Ye,this.o=ye,this.defaultValue=void 0,this.j=r.jb!=null?Dg:void 0}register(){fu(this)}}function Vr(e,t){return new GI(e,t)}function ja(e,t){return(n,r)=>{e:{let i={ma:!0};r&&Object.assign(i,r),n=y6(n,void 0,void 0,i);try{let s=new e,l=s.A;t0(t)(l,n);var o=s;break e}catch(s){throw s instanceof RangeError?new SyntaxError:s}finally{b6(n)}o=void 0}return o}}function o0(e){return t=>z6(t,e)}function bl(e){return function(){return z6(this,e)}}var KI=[0,Zi,n8,Ve,J],YI=[0,sa,[0,Gu,[0,qu,Ro],Gu,-1,[0,ce],Gu,-1],It(N6,r0,Fu)],i0,a8=class extends ${constructor(e){super(e)}},o8=[0,sa,It(N6,function(e,t,n){if(t!=null){if(t instanceof $){let r=t.mb;return void(r?(t=r(t),t!=null&&vl(e,n,Su(t,!0).buffer)):xi(v2,3))}if(Array.isArray(t))return void xi(v2,3)}r0(e,t,n)},Fu)],JI=[0,1,[0,12,He,10,Ve],[0,7,[0,He,-1]]],i8=globalThis.trustedTypes,XI=class{constructor(e){this.g=e}toString(){return this.g+""}};function s8(e){var t;return i0===void 0&&(i0=function(){var n=null;if(!i8)return n;try{let r=o=>o;n=i8.createPolicy("goog#html",{createHTML:r,createScript:r,createScriptURL:r})}catch{}return n}()),e=(t=i0)?t.createScriptURL(e):e,new XI(e)}function Ku(e,...t){if(t.length===0)return s8(e[0]);var n=e[0];for(let r=0;r<t.length;r++)n+=encodeURIComponent(t[r])+e[r+1];return s8(n)}var l8=[0,He,ce,Ve,-1,Ui,ce,-1,Ve,-1],c8=[0,ce,-1,Ve],s0=class extends ${constructor(e){super(e)}},u8=[0,Ve,J,Ve,ce,-1,ia(function(e,t,n){return(e.h===0||e.h===2)&&(t=Ua(t,0|t[le],n),e.h==2?hl(e,kI,t):t.push(ra(e.g)),!0)},function(e,t,n){if((t=oa(So,t,!0))!=null&&t.length){n=G2(e,n);for(let r=0;r<t.length;r++)ml(e.g,t[r]);K2(e,n)}},Q2),J,-1,[0,Ve,-1],ce,Ve,-1,c8],d8=[0,3,Ve,-1,2,[0,[2],He,Fe,[0,r8]],[0,ce,Ve,ce,Ve,ce,4,[0,Ve,J,-1,Ve]],[0,[3,4],J,-1,Fe,[0,He],Fe,[0,ce,-1]],[0]],f8=[0,J,-2],h8=class extends ${constructor(e){super(e)}},p8=[0],QI=class extends ${constructor(e){super(e)}},m8=[0,He,Ve,1,Ve,-4],Rn=class extends ${constructor(e){super(e,2)}},zt={};zt[336783863]=[0,J,Ve,-1,He,[0,[1,2,3,4,5,6,7,8,9],Fe,p8,Fe,u8,Fe,f8,Fe,m8,Fe,l8,Fe,[0,J,-2],Fe,[0,J,ce],Fe,d8,Fe,c8],[0,J],Ve,[0,[1,3],[2,4],Fe,[0,Ui],-1,Fe,[0,Qt],-1,ut,[0,J,-1]],J];var g8=[0,qu,-1,za,-3,qu,Ui,sa,Ro,qu,-1,za,Ro,za,-2,sa];function mt(e,t){Cu(e,3,t)}function qe(e,t){Cu(e,4,t)}var vn=class extends ${constructor(e){super(e,500)}v(e){return ye(this,0,7,e)}},wl=[-1,{}],v8=[0,J,1,wl],y8=[0,J,Qt,wl];function Jn(e,t){dl(e,1,vn,t)}function gt(e,t){Cu(e,10,t)}function Ne(e,t){Cu(e,15,t)}var Dn=class extends ${constructor(e){super(e,500)}v(e){return ye(this,0,1001,e)}},b8=[-500,ut,[-500,sa,-1,Qt,-3,[-2,zt,Ve],ut,o8,Ro,-1,v8,y8,ut,[0,sa,za],sa,g8,Ro,Qt,987,Qt],4,ut,[-500,J,-1,[-1,{}],998,J],ut,[-500,J,Qt,-1,[-2,{},Ve],997,Qt,-1],Ro,ut,[-500,J,Qt,wl,998,Qt],Qt,Ro,v8,y8,ut,[0,sa,-1,wl],Qt,-2,g8,sa,-1,za,[0,za,qI],978,wl,ut,o8];Dn.prototype.g=bl(b8);var NI=ja(Dn,b8),$I=class extends ${constructor(e){super(e)}},w8=class extends ${constructor(e){super(e)}g(){return na(this,$I,1)}},_8=[0,ut,[0,He,kt,J,-1]],Yu=ja(w8,_8),eV=class extends ${constructor(e){super(e)}},tV=class extends ${constructor(e){super(e)}},l0=class extends ${constructor(e){super(e)}j(){return Ye(this,eV,2)}g(){return na(this,tV,5)}},k8=ja(class extends ${constructor(e){super(e)}},[0,Qt,Ui,a0,[0,ce,[0,He,-3],[0,kt,-3],[0,He,-1,[0,ut,[0,He,-2]]],ut,[0,kt,-1,J,kt]],J,-1,ht,ut,[0,He,kt],Qt,ht]),E8=class extends ${constructor(e){super(e)}},zi=ja(class extends ${constructor(e){super(e)}},[0,ut,[0,kt,-4]]),x8=class extends ${constructor(e){super(e)}},_l=ja(class extends ${constructor(e){super(e)}},[0,ut,[0,kt,-4]]),nV=class extends ${constructor(e){super(e)}},rV=[0,He,-1,a0,ce],C8=class extends ${constructor(e){super(e)}};C8.prototype.g=bl([0,kt,-4,ht]);var aV=class extends ${constructor(e){super(e)}},oV=ja(class extends ${constructor(e){super(e)}},[0,ut,[0,1,He,J,_8],ht]),S8=class extends ${constructor(e){super(e)}},iV=class extends ${constructor(e){super(e)}g(){var e=_t(this,1,void 0,s6);return e??_o()}},sV=class extends ${constructor(e){super(e)}},c0=[1,2],lV=ja(class extends ${constructor(e){super(e)}},[0,ut,[0,c0,Fe,[0,a0],Fe,[0,Zi],He,J],ht]),u0=class extends ${constructor(e){super(e)}},T8=[0,J,He,kt,Qt,-1],A8=class extends ${constructor(e){super(e)}},cV=[0,Ve,-1],Ju=class extends ${constructor(e){super(e)}g(){return o6(this,s0,2,Do)}},Do=[1,2,3,4,5,6],Xu=class extends ${constructor(e){super(e)}g(){return _t(this,1,void 0,s6)!=null}j(){return Xt(_t(this,2))!=null}},vt=class extends ${constructor(e){super(e)}},O8=[0,Zi,J,[0,He,ht,-1],[0,Wu,ht]],Vt=[0,O8,Ve,[0,Do,Fe,m8,Fe,u8,Fe,l8,Fe,p8,Fe,f8,Fe,d8],ce],uV=o0(Vt),Qu=class extends ${constructor(e){super(e)}},d0=[0,Vt,kt,-1,He],dV=Vr(502141897,Qu);zt[502141897]=d0;var fV=ja(class extends ${constructor(e){super(e)}},[0,[0,ce,-1,zI,HI],rV]),B8=class extends ${constructor(e){super(e)}},I8=class extends ${constructor(e){super(e)}},f0=[0,Vt,kt,[0,Vt],Ve],hV=Vr(508968150,I8);zt[508968150]=[0,Vt,d0,f0,kt,[0,[0,O8]]],zt[508968149]=f0;var ji=class extends ${constructor(e){super(e)}j(){return Ye(this,u0,2)}g(){Ce(this,2)}},V8=[0,Vt,T8];zt[478825465]=V8;var pV=class extends ${constructor(e){super(e)}},R8=class extends ${constructor(e){super(e)}},h0=class extends ${constructor(e){super(e)}},p0=class extends ${constructor(e){super(e)}},D8=class extends ${constructor(e){super(e)}},M8=[0,Vt,[0,Vt],V8,-1],P8=[0,Vt,kt,He],m0=[0,Vt,kt],L8=[0,Vt,P8,m0,kt],mV=Vr(479097054,D8);zt[479097054]=[0,Vt,L8,M8],zt[463370452]=M8,zt[464864288]=P8;var gV=Vr(462713202,p0);zt[462713202]=L8,zt[474472470]=m0;var vV=class extends ${constructor(e){super(e)}},F8=class extends ${constructor(e){super(e)}},U8=class extends ${constructor(e){super(e)}},Z8=class extends ${constructor(e){super(e)}},g0=[0,Vt,kt,-1,He],v0=[0,Vt,kt,Ve];Z8.prototype.g=bl([0,Vt,m0,[0,Vt],d0,f0,g0,v0]);var z8=class extends ${constructor(e){super(e)}},yV=Vr(456383383,z8);zt[456383383]=[0,Vt,T8];var j8=class extends ${constructor(e){super(e)}},bV=Vr(476348187,j8);zt[476348187]=[0,Vt,cV];var H8=class extends ${constructor(e){super(e)}},q8=class extends ${constructor(e){super(e)}},W8=[0,ce,-1],wV=Vr(458105876,class extends ${constructor(e){super(e)}g(){var e=this.A,t=0|e[le],n=gn(this,t);return e=function(r,o,i,s){var l=q8;!s&&Vi(r)&&(i=0|(o=r.A)[le]);var c=ta(o,2);if(r=!1,c==null){if(s)return $g();c=[]}else if(c.constructor===ea){if(!(2&c.M)||s)return c;c=c.ea()}else Array.isArray(c)?r=!!(2&c[le]):c=[];if(s){if(!c.length)return $g();r||(r=!0,ol(c))}else r&&(r=!1,il(c),c=l6(c));return!r&&32&i&&al(c,32),i=Ot(o,i,2,s=new ea(c,l,lI,void 0)),r||Pa(o,i),s}(this,e,t,n),!n&&q8&&(e.Fa=!0),e}});zt[458105876]=[0,W8,ZI,[!0,ht,[0,J,-1,Qt]],[0,Ui,Ve,ce],Ve];var y0=class extends ${constructor(e){super(e)}},G8=Vr(458105758,y0);zt[458105758]=[0,Vt,J,W8];var _V=class extends ${constructor(e){super(e)}},kV=class extends ${constructor(e){super(e)}},EV=class extends ${constructor(e){super(e)}},xV=o0([0,ut,[0,Gu,ut,[0,e8,-1],za]]),b0=class extends ${constructor(e){super(e)}},K8=[0,e8,-1,za],CV=class extends ${constructor(e){super(e)}},Y8=class extends ${constructor(e){super(e)}},w0=[1,2];Y8.prototype.g=bl([0,w0,Fe,K8,Fe,[0,ut,K8]]);var J8=class extends ${constructor(e){super(e)}},SV=Vr(443442058,J8);zt[443442058]=[0,Vt,J,He,kt,Qt,-1,Ve,kt],zt[514774813]=g0;var X8=class extends ${constructor(e){super(e)}},TV=Vr(516587230,X8);function _0(e,t){return t=t?t.clone():new u0,e.displayNamesLocale!==void 0?Ce(t,1,$r(e.displayNamesLocale)):e.displayNamesLocale===void 0&&Ce(t,1),e.maxResults!==void 0?Or(t,2,e.maxResults):"maxResults"in e&&Ce(t,2),e.scoreThreshold!==void 0?be(t,3,e.scoreThreshold):"scoreThreshold"in e&&Ce(t,3),e.categoryAllowlist!==void 0?xu(t,4,e.categoryAllowlist):"categoryAllowlist"in e&&Ce(t,4),e.categoryDenylist!==void 0?xu(t,5,e.categoryDenylist):"categoryDenylist"in e&&Ce(t,5),t}function Q8(e){var t=Number(e);return Number.isSafeInteger(t)?t:String(e)}function k0(e,t=-1,n=""){return{categories:e.map(r=>({index:Kn(r,1)??0??-1,score:Bt(r,2)??0,categoryName:Xt(_t(r,3))??""??"",displayName:Xt(_t(r,4))??""??""})),headIndex:t,headName:n}}function AV(e){var t={classifications:na(e,aV,1).map(n=>{var r;return k0(((r=Ye(n,w8,4))==null?void 0:r.g())??[],Kn(n,2)??0,Xt(_t(n,3))??"")})};return function(n){return n==null?n:typeof n=="bigint"?(y2(n)?n=Number(n):(n=Co(64,n),n=y2(n)?Number(n):String(n)),n):Bi(n)?typeof n=="number"?vu(n):yu(n):void 0}(_t(e,2,void 0,bu))!=null&&(t.timestampMs=Q8(_t(e,2,void 0,bu)??a6)),t}function N8(e){var s,l;var t=Bo(e,3,dr,Oo()),n=Bo(e,2,So,Oo()),r=Bo(e,1,Xt,Oo()),o=Bo(e,9,Xt,Oo()),i={categories:[],keypoints:[]};for(let c=0;c<t.length;c++)i.categories.push({score:t[c],index:n[c]??-1,categoryName:r[c]??"",displayName:o[c]??""});if((t=(s=Ye(e,l0,4))==null?void 0:s.j())&&(i.boundingBox={originX:Kn(t,1,La)??0,originY:Kn(t,2,La)??0,width:Kn(t,3,La)??0,height:Kn(t,4,La)??0,angle:0}),(l=Ye(e,l0,4))==null?void 0:l.g().length)for(let c of Ye(e,l0,4).g())i.keypoints.push({x:_t(c,1,La,dr)??0,y:_t(c,2,La,dr)??0,score:_t(c,4,La,dr)??0,label:Xt(_t(c,3,La))??""});return i}function Nu(e){var t=[];for(let n of na(e,x8,1))t.push({x:Bt(n,1)??0,y:Bt(n,2)??0,z:Bt(n,3)??0,visibility:Bt(n,4)??0});return t}function kl(e){var t=[];for(let n of na(e,E8,1))t.push({x:Bt(n,1)??0,y:Bt(n,2)??0,z:Bt(n,3)??0,visibility:Bt(n,4)??0});return t}function $8(e){return Array.from(e,t=>t>127?t-256:t)}function e7(e,t){if(e.length!==t.length)throw Error(`Cannot compute cosine similarity between embeddings of different sizes (${e.length} vs. ${t.length}).`);var n=0,r=0,o=0;for(let i=0;i<e.length;i++)n+=e[i]*t[i],r+=e[i]*e[i],o+=t[i]*t[i];if(r<=0||o<=0)throw Error("Cannot compute cosine similarity on embedding with 0 norm.");return n/Math.sqrt(r*o)}zt[516587230]=[0,Vt,g0,v0,kt],zt[518928384]=v0;var $u,OV=new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11]);async function t7(e){if(e)return!0;if($u===void 0)try{await WebAssembly.instantiate(OV),$u=!0}catch{$u=!1}return $u}async function ed(e,t,n){return{wasmLoaderPath:`${t}/${e}_${n=`wasm${n?"_module":""}${await t7(n)?"":"_nosimd"}_internal`}.js`,wasmBinaryPath:`${t}/${e}_${n}.wasm`}}var Hi=class{};function n7(e){return Ce(new E0,1,Nr(e))}Hi.forVisionTasks=function(e,t=!1){return ed("vision",e??Ku``,t)},Hi.forTextTasks=function(e,t=!1){return ed("text",e??Ku``,t)},Hi.forGenAiTasks=function(e,t=!1){return ed("genai",e??Ku``,t)},Hi.forAudioTasks=function(e,t=!1){return ed("audio",e??Ku``,t)},Hi.isSimdSupported=function(e=!1){return t7(e)};var E0=class extends ${constructor(e){super(e)}},BV=class extends ${constructor(e){super(e)}},r7=[0,ce,2,Wu,-2,ht,ut,[0,ce,ht]],IV=class extends ${constructor(e){super(e)}},VV=class extends ${constructor(e){super(e)}};function x0(e,t){return Ce(e,1,Nr(t))}function C0(e,t){return Ce(e,2,Nr(t))}var S0=class extends ${constructor(e){super(e)}},td=[3,4,5,6,7],RV=class extends ${constructor(e){super(e)}},a7=class extends ${constructor(e){super(e)}};a7.prototype.g=bl([0,[0,ce,J,-3,ce],[0,td,ce,-1,Fe,[0,ce,J,Wu],Fe,r7,Fe,[0,1,r7],Fe,[0,ce],Fe,[0,ce,J,Wu]]]);var DV=class{constructor(){this.g=typeof AbortController<"u"}async send(e,t,n){var r=this.g?new AbortController:void 0,o=r&&e.la>0?setTimeout(()=>{r.abort()},e.la):void 0;try{let i=await fetch(e.url,{method:e.bb,headers:{...e.ab},...e.body&&{body:e.body},...e.withCredentials&&{credentials:"include"},signal:e.la&&r?r.signal:null});i.status===200?t==null||t(await i.text()):n==null||n(i.status)}catch(i){(i==null?void 0:i.name)==="AbortError"?n==null||n(408):n==null||n(400)}finally{clearTimeout(o)}}},MV=class extends ${constructor(e){super(e,37)}},o7=[-4,{},JI,ce,YI],i7=[0,J,ce,1,J,-1,ce,1,ce,1,ht],s7=[0,ce,J,-2],l7=[0,J,ce],c7=[0,J,ce],u7=[0,Ve,-3],d7=[0,ce,J,-1,ht,He,-1,J,-5,ut,[0,J,-4],-1,Ve,[0,Ve,-3],ce],PV=class extends ${constructor(e){super(e,19)}},LV=o0([-19,{},[0,ce,1,[0,J,-6,ht,He,J,-1,ht],1,[0,J,1,J,-5],J,-1,[0,ce,J,-8],[0,J,-3],[0,J,ce,J,-2],[0,J,-1,ce,J,-1,ce,J,-1,[0,ut,[0,J,-1],Ve,J,-5],[0,ce,Ve,He,-2]],ht,[0,J,-3,ht,He,J,-1],[0,ce,J,-1],[0,J,-9],[0,J,-6,ce,J,1,J,Ve,ce,-1,Ve,J,-2,ce,J,ce,J,He,-1],1,[0,ce],1,[0,J,-4],1,i7,[0,[1,2,3,4,5,6],Fe,i7,Fe,l7,Fe,c7,Fe,[0,ce],Fe,d7,Fe,s7],l7,c7,d7,[0,[0,ce,J,-1,ht,He,-1,J,-4,ut,[0,J,-4],-1,1,u7],[0,ce,J,-1,ht,He,-1,J,-4,u7]],s7,[0,J,[0,He,-3,ce],ce,-2,[0,He,-1],Ve],4,[0,J,ce,J,-1,ht,ce,J,-1,ce,He,-1]],ce,ut,[-37,{},yl,J,ut,[0,J,-1],Zi,1,Zi,[0,Qt,-1,t8,jI,-1],J,[0,He,J,-1],Ve,He,ht,J,-1,WI,KI,yl,Zi,ce,t8,ht,-1,[0,ce,-1],J,Ve,J,Ui,J,-1,$6,1,$6,o7,Ve,[0,ce,[0,kt,He,-2],[0,kt]],[0,ce,ht]],yl,n8,J,-1,yl,ce,-1,[0,Ve,-1,ce,Ve],[0,ht,-1,J],[0,yl,Ve,ht],ht,1,r8,1,o7]),FV=class{constructor(e){this.h=[],this.m=new DV,this.j=e??"",this.g=setInterval(()=>{this.flush()},6e4)}close(){this.g!==void 0&&(clearInterval(this.g),this.g=void 0),this.flush()}flush(e,t){if(this.error)t==null||t("net-send-failed");else if(this.h.length===0)e==null||e();else{var n=this.h;this.h=[],n=function(r){var o=new PV;return L2(o=Ce(o,2,Nr(1786)),3,r)}(n),n=LV(n),this.m.send({url:"https://odml.pa.googleapis.com/v1/log",bb:"POST",la:1e4,body:n,hb:2,ab:{"Content-Type":"application/x-protobuf","x-goog-api-key":this.j},withCredentials:!1},()=>{e==null||e()},r=>{this.error=Error(`Logging failed with HTTP error: ${r}`),this.h=[],this.g!==void 0&&(clearInterval(this.g),this.g=void 0),t==null||t("net-send-failed",r)})}}};class f7{constructor(){this.aa=this.U=this.X=this.R=this.V=this.T=this.P=0}}function T0(e,t){var n=new a7;n=ye(n,0,1,e.B),n=ye(n,0,2,t),t=Ce(t=new MV,6,hu(n=n.g(),!1)),(e=e.l).error||e.h.push(t)}function h7(e,t){var n={P:t.P-e.j.P,T:t.T-e.j.T,V:t.V-e.j.V,R:t.R-e.j.R,X:t.X-e.j.X,U:t.U,aa:t.aa},r=C0(x0(new S0,e.C),1);n=p7(e,n),T0(e,r=Ar(r,4,td,n)),e.j=t}function p7(e,t){var n=new BV;return e=Eu(e=U2(e=Ce(n,1,Nr(e.D)),7,t.R),5,t.U),e=Eu(e,6,t.aa),t.V>0&&Eu(e,4,t.X/t.V),t.P!==0&&(n=U2(n=n7(3),2,t.P),dl(e,8,E0,n)),t.T!==0&&(t=U2(n=n7(4),2,t.T),dl(e,8,E0,t)),e}var UV=class{constructor(e,t,n){this.u=performance.now(),this.m=performance.now(),this.h=new Map,this.o=0,this.g=new f7,this.j=new f7,this.l=new FV(n),this.C=function(r){switch(r){case"AudioClassifier":return 4;case"AudioEmbedder":return 5;case"TextClassifier":return 6;case"TextEmbedder":return 7;case"GestureRecognizer":return 8;case"HandDetector":return 9;case"HandLandmarker":return 10;case"ImageClassifier":return 11;case"ImageEmbedder":return 12;case"ImageSegmenter":return 13;case"ObjectDetector":return 14;case"FaceDetector":return 15;case"FaceLandmarker":return 16;case"InteractiveSegmenter":case"InteractiveSegmenterLegacy":return 18;case"HolisticLandmarker":return 20;case"LlmInference":return 21;case"LanguageDetector":return 22;case"PoseLandmarker":return 23;default:return 0}}(e),this.D=function(r){switch(r){case"IMAGE":return 11;case"VIDEO":return 12;case"LIVE_STREAM":return 13;case"AUDIO_CLIPS":return 14;case"AUDIO_STREAM":return 15;default:return 10}}(t),e=new RV,typeof window>"u"?t=0:(t=navigator.userAgent,t=/Android/i.test(t)?1:/iPhone|iPad|iPod/i.test(t)?2:/Windows/i.test(t)?5:/Macintosh/i.test(t)?4:/Linux/i.test(t)?3:0),e=Ce(e,1,Nr(t)),e=Ce(e,2,$r("")),e=Ce(e,3,$r("")),e=Ce(e,4,$r("1.0.1")),e=Ce(e,5,$r("")),this.B=Ce(e,6,Nr(4))}ya(){var e=new VV;e=Eu(e=Ce(e,1,Nr(this.D)),3,performance.now()-this.u),T0(this,e=Ar(C0(x0(new S0,this.C),0),3,td,e)),this.m=performance.now()}za(e){var t=this.h.get(e);if(t!==void 0&&(this.h.delete(e),e=performance.now()-t,++this.g.V,this.g.X+=e,this.g.U=Math.max(this.g.U,e),this.o=Math.max(this.o,e),performance.now()>this.m+3e4)){for(let[n,r]of this.h.entries())e=n,r<t&&(this.g.R++,this.h.delete(e));t={...this.g,aa:performance.now()-this.m},this.g.U=0,this.m=performance.now(),h7(this,t)}}xa(){var e={...this.g,R:this.g.R+this.h.size,U:this.o,aa:performance.now()-this.u};h7(this,e);var t=new IV;t=ye(t,0,2,e=p7(this,e)),T0(this,t=Ar(e=C0(x0(new S0,this.C),2),5,td,t))}close(){var e=this.l;typeof e.close=="function"?e.close():e.flush()}};function A0(){var e=navigator;return typeof OffscreenCanvas<"u"&&(!function(t=navigator){return(t=t.userAgent).includes("Safari")&&!t.includes("Chrome")}(e)||!!((e=e.userAgent.match(/Version\/([\d]+).*Safari/))&&e.length>=1&&Number(e[1])>=17))}async function m7(e){if(typeof importScripts!="function"){let t=document.createElement("script");return t.src=e.toString(),t.crossOrigin="anonymous",new Promise((n,r)=>{t.addEventListener("load",()=>{n()},!1),t.addEventListener("error",o=>{r(o)},!1),document.body.appendChild(t)})}try{importScripts(e.toString())}catch(t){if(!(t instanceof TypeError))throw t;{let n=self.import;n?await n(e.toString()):await import(e.toString())}}}function O0(e){return e.videoWidth!==void 0?[e.videoWidth,e.videoHeight]:e.naturalWidth!==void 0?[e.naturalWidth,e.naturalHeight]:e.displayWidth!==void 0?[e.displayWidth,e.displayHeight]:[e.width,e.height]}function me(e,t,n){e.m||console.error("No wasm multistream support detected: ensure dependency inclusion of :gl_graph_runner_internal_multi_input target"),n(t=e.i.stringToNewUTF8(t)),e.i._free(t)}function g7(e,t,n){if(!e.i.canvas)throw Error("No OpenGL canvas configured.");if(n?e.i._bindTextureToStream(n):e.i._bindTextureToCanvas(),!(n=e.i.canvas.getContext("webgl2")||e.i.canvas.getContext("webgl")))throw Error("Failed to obtain WebGL context from the provided canvas. `getContext()` should only be invoked with `webgl` or `webgl2`.");e.i.gpuOriginForWebTexturesIsBottomLeft&&n.pixelStorei(n.UNPACK_FLIP_Y_WEBGL,!0),n.texImage2D(n.TEXTURE_2D,0,n.RGBA,n.RGBA,n.UNSIGNED_BYTE,t),e.i.gpuOriginForWebTexturesIsBottomLeft&&n.pixelStorei(n.UNPACK_FLIP_Y_WEBGL,!1);var[r,o]=O0(t);return!e.j||r===e.i.canvas.width&&o===e.i.canvas.height||(e.i.canvas.width=r,e.i.canvas.height=o),[r,o]}function v7(e,t,n){e.m||console.error("No wasm multistream support detected: ensure dependency inclusion of :gl_graph_runner_internal_multi_input target");var r=new Uint32Array(t.length);for(let o=0;o<t.length;o++)r[o]=e.i.stringToNewUTF8(t[o]);t=e.i._malloc(4*r.length),e.i.HEAPU32.set(r,t>>2),n(t);for(let o of r)e.i._free(o);e.i._free(t)}function Rr(e,t,n){e.i.simpleListeners=e.i.simpleListeners||{},e.i.simpleListeners[t]=n}function Ha(e,t,n){var r=[];e.i.simpleListeners=e.i.simpleListeners||{},e.i.simpleListeners[t]=(o,i,s)=>{i?(n(r,s),r=[]):r.push(o)}}var y7=class{constructor(e,t){this.j=!0,this.i=e,this.g=null,this.h=0,this.m=typeof this.i._addIntToInputStream=="function",t!==void 0?this.i.canvas=t:A0()?this.i.canvas=new OffscreenCanvas(1,1):(console.warn("OffscreenCanvas not supported and GraphRunner constructor glCanvas parameter is undefined. Creating backup canvas."),this.i.canvas=document.createElement("canvas"))}async initializeGraph(e){var t=await(await fetch(e)).arrayBuffer();e=!(e.endsWith(".pbtxt")||e.endsWith(".textproto")),this.setGraph(new Uint8Array(t),e)}setGraphFromString(e){this.setGraph(new TextEncoder().encode(e),!1)}setGraph(e,t){var n=e.length,r=this.i._malloc(n);this.i.HEAPU8.set(e,r),t?this.i._changeBinaryGraph(n,r):this.i._changeTextGraph(n,r),this.i._free(r)}configureAudio(e,t,n,r,o){this.i._configureAudio||console.warn('Attempting to use configureAudio without support for input audio. Is build dep ":gl_graph_runner_audio" missing?'),me(this,r||"input_audio",i=>{me(this,o=o||"audio_header",s=>{this.i._configureAudio(i,s,e,t??0,n)})})}setAutoResizeCanvas(e){this.j=e}setAutoRenderToScreen(e){this.i._setAutoRenderToScreen(e)}setGpuBufferVerticalFlip(e){this.i.gpuOriginForWebTexturesIsBottomLeft=e}ja(e){Rr(this,"__graph_config__",t=>{e(t)}),me(this,"__graph_config__",t=>{this.i._getGraphConfig(t,void 0)}),delete this.i.simpleListeners.__graph_config__}attachErrorListener(e){this.i.errorListener=e}attachEmptyPacketListener(e,t){this.i.emptyPacketListeners=this.i.emptyPacketListeners||{},this.i.emptyPacketListeners[e]=t}addAudioToStream(e,t,n){this.addAudioToStreamWithShape(e,0,0,t,n)}addAudioToStreamWithShape(e,t,n,r,o){var i=4*e.length;this.h!==i&&(this.g&&this.i._free(this.g),this.g=this.i._malloc(i),this.h=i),this.i.HEAPF32.set(e,this.g/4),me(this,r,s=>{this.i._addAudioToInputStream(this.g,t,n,s,o)})}addGpuBufferToStream(e,t,n){me(this,t,r=>{var[o,i]=g7(this,e,r);this.i._addBoundTextureToStream(r,o,i,n)})}addBoolToStream(e,t,n){me(this,t,r=>{this.i._addBoolToInputStream(e,r,n)})}addDoubleToStream(e,t,n){me(this,t,r=>{this.i._addDoubleToInputStream(e,r,n)})}addFloatToStream(e,t,n){me(this,t,r=>{this.i._addFloatToInputStream(e,r,n)})}addIntToStream(e,t,n){me(this,t,r=>{this.i._addIntToInputStream(e,r,n)})}addUintToStream(e,t,n){me(this,t,r=>{this.i._addUintToInputStream(e,r,n)})}addStringToStream(e,t,n){me(this,t,r=>{me(this,e,o=>{this.i._addStringToInputStream(o,r,n)})})}addStringRecordToStream(e,t,n){me(this,t,r=>{v7(this,Object.keys(e),o=>{v7(this,Object.values(e),i=>{this.i._addFlatHashMapToInputStream(o,i,Object.keys(e).length,r,n)})})})}addProtoToStream(e,t,n,r){me(this,n,o=>{me(this,t,i=>{var s=this.i._malloc(e.length);this.i.HEAPU8.set(e,s),this.i._addProtoToInputStream(s,e.length,i,o,r),this.i._free(s)})})}addEmptyPacketToStream(e,t){me(this,e,n=>{this.i._addEmptyPacketToInputStream(n,t)})}addBoolVectorToStream(e,t,n){me(this,t,r=>{var o=this.i._allocateBoolVector(e.length);if(!o)throw Error("Unable to allocate new bool vector on heap.");for(let i of e)this.i._addBoolVectorEntry(o,i);this.i._addBoolVectorToInputStream(o,r,n)})}addDoubleVectorToStream(e,t,n){me(this,t,r=>{var o=this.i._allocateDoubleVector(e.length);if(!o)throw Error("Unable to allocate new double vector on heap.");for(let i of e)this.i._addDoubleVectorEntry(o,i);this.i._addDoubleVectorToInputStream(o,r,n)})}addFloatVectorToStream(e,t,n){me(this,t,r=>{var o=this.i._allocateFloatVector(e.length);if(!o)throw Error("Unable to allocate new float vector on heap.");for(let i of e)this.i._addFloatVectorEntry(o,i);this.i._addFloatVectorToInputStream(o,r,n)})}addIntVectorToStream(e,t,n){me(this,t,r=>{var o=this.i._allocateIntVector(e.length);if(!o)throw Error("Unable to allocate new int vector on heap.");for(let i of e)this.i._addIntVectorEntry(o,i);this.i._addIntVectorToInputStream(o,r,n)})}addUintVectorToStream(e,t,n){me(this,t,r=>{var o=this.i._allocateUintVector(e.length);if(!o)throw Error("Unable to allocate new unsigned int vector on heap.");for(let i of e)this.i._addUintVectorEntry(o,i);this.i._addUintVectorToInputStream(o,r,n)})}addStringVectorToStream(e,t,n){me(this,t,r=>{var o=this.i._allocateStringVector(e.length);if(!o)throw Error("Unable to allocate new string vector on heap.");for(let i of e)me(this,i,s=>{this.i._addStringVectorEntry(o,s)});this.i._addStringVectorToInputStream(o,r,n)})}addBoolToInputSidePacket(e,t){me(this,t,n=>{this.i._addBoolToInputSidePacket(e,n)})}addDoubleToInputSidePacket(e,t){me(this,t,n=>{this.i._addDoubleToInputSidePacket(e,n)})}addFloatToInputSidePacket(e,t){me(this,t,n=>{this.i._addFloatToInputSidePacket(e,n)})}addIntToInputSidePacket(e,t){me(this,t,n=>{this.i._addIntToInputSidePacket(e,n)})}addUintToInputSidePacket(e,t){me(this,t,n=>{this.i._addUintToInputSidePacket(e,n)})}addStringToInputSidePacket(e,t){me(this,t,n=>{me(this,e,r=>{this.i._addStringToInputSidePacket(r,n)})})}addProtoToInputSidePacket(e,t,n){me(this,n,r=>{me(this,t,o=>{var i=this.i._malloc(e.length);this.i.HEAPU8.set(e,i),this.i._addProtoToInputSidePacket(i,e.length,o,r),this.i._free(i)})})}addBoolVectorToInputSidePacket(e,t){me(this,t,n=>{var r=this.i._allocateBoolVector(e.length);if(!r)throw Error("Unable to allocate new bool vector on heap.");for(let o of e)this.i._addBoolVectorEntry(r,o);this.i._addBoolVectorToInputSidePacket(r,n)})}addDoubleVectorToInputSidePacket(e,t){me(this,t,n=>{var r=this.i._allocateDoubleVector(e.length);if(!r)throw Error("Unable to allocate new double vector on heap.");for(let o of e)this.i._addDoubleVectorEntry(r,o);this.i._addDoubleVectorToInputSidePacket(r,n)})}addFloatVectorToInputSidePacket(e,t){me(this,t,n=>{var r=this.i._allocateFloatVector(e.length);if(!r)throw Error("Unable to allocate new float vector on heap.");for(let o of e)this.i._addFloatVectorEntry(r,o);this.i._addFloatVectorToInputSidePacket(r,n)})}addIntVectorToInputSidePacket(e,t){me(this,t,n=>{var r=this.i._allocateIntVector(e.length);if(!r)throw Error("Unable to allocate new int vector on heap.");for(let o of e)this.i._addIntVectorEntry(r,o);this.i._addIntVectorToInputSidePacket(r,n)})}addUintVectorToInputSidePacket(e,t){me(this,t,n=>{var r=this.i._allocateUintVector(e.length);if(!r)throw Error("Unable to allocate new unsigned int vector on heap.");for(let o of e)this.i._addUintVectorEntry(r,o);this.i._addUintVectorToInputSidePacket(r,n)})}addStringVectorToInputSidePacket(e,t){me(this,t,n=>{var r=this.i._allocateStringVector(e.length);if(!r)throw Error("Unable to allocate new string vector on heap.");for(let o of e)me(this,o,i=>{this.i._addStringVectorEntry(r,i)});this.i._addStringVectorToInputSidePacket(r,n)})}attachBoolListener(e,t){Rr(this,e,t),me(this,e,n=>{this.i._attachBoolListener(n)})}attachBoolVectorListener(e,t){Ha(this,e,t),me(this,e,n=>{this.i._attachBoolVectorListener(n)})}attachIntListener(e,t){Rr(this,e,t),me(this,e,n=>{this.i._attachIntListener(n)})}attachIntVectorListener(e,t){Ha(this,e,t),me(this,e,n=>{this.i._attachIntVectorListener(n)})}attachUintListener(e,t){Rr(this,e,t),me(this,e,n=>{this.i._attachUintListener(n)})}attachUintVectorListener(e,t){Ha(this,e,t),me(this,e,n=>{this.i._attachUintVectorListener(n)})}attachDoubleListener(e,t){Rr(this,e,t),me(this,e,n=>{this.i._attachDoubleListener(n)})}attachDoubleVectorListener(e,t){Ha(this,e,t),me(this,e,n=>{this.i._attachDoubleVectorListener(n)})}attachFloatListener(e,t){Rr(this,e,t),me(this,e,n=>{this.i._attachFloatListener(n)})}attachFloatVectorListener(e,t){Ha(this,e,t),me(this,e,n=>{this.i._attachFloatVectorListener(n)})}attachStringListener(e,t){Rr(this,e,t),me(this,e,n=>{this.i._attachStringListener(n)})}attachStringVectorListener(e,t){Ha(this,e,t),me(this,e,n=>{this.i._attachStringVectorListener(n)})}attachProtoListener(e,t,n){Rr(this,e,t),me(this,e,r=>{this.i._attachProtoListener(r,n||!1)})}attachProtoVectorListener(e,t,n){Ha(this,e,t),me(this,e,r=>{this.i._attachProtoVectorListener(r,n||!1)})}attachAudioListener(e,t,n){this.i._attachAudioListener||console.warn('Attempting to use attachAudioListener without support for output audio. Is build dep ":gl_graph_runner_audio_out" missing?'),Rr(this,e,(r,o)=>{r=new Float32Array(r.buffer,r.byteOffset,r.length/4),t(r,o)}),me(this,e,r=>{this.i._attachAudioListener(r,n||!1)})}finishProcessing(){this.i._waitUntilIdle()}closeGraph(){this.i._closeGraph(),this.i.simpleListeners=void 0,this.i.emptyPacketListeners=void 0}};function b7(e){return class extends e{get pa(){return this.i}Sa(){if(typeof this.pa._mediapipeLoggerGetEncodedApiKey=="function"){let t=this.pa._mediapipeLoggerGetEncodedApiKey();return this.pa._decodeBase64(t)}}}}function w7(e){return class extends e{Za(){this.i._registerModelResourcesGraphService()}}}var ZV=b7(w7(y7)),zV=class extends ZV{};async function jV(e,t,n,r){return e=await(async(o,i,s,l,c)=>{if(i&&await m7(i),!self.ModuleFactory||s&&(await m7(s),!self.ModuleFactory))throw Error("ModuleFactory not set.");return self.Module&&c&&((i=self.Module).locateFile=c.locateFile,c.mainScriptUrlOrBlob&&(i.mainScriptUrlOrBlob=c.mainScriptUrlOrBlob)),c=await self.ModuleFactory(self.Module||c),self.ModuleFactory=self.Module=void 0,new o(c,l)})(e,n.wasmLoaderPath,n.assetLoaderPath,t,{locateFile:o=>o.endsWith(".wasm")?n.wasmBinaryPath.toString():n.assetBinaryPath&&o.endsWith(".data")?n.assetBinaryPath.toString():o}),function(o,i){i=i.runningMode??"";var s=o.g.Sa();o.m=new UV(o.C(),i,s)}(e,r),await e.v(r),e}async function nd(e,t,n,r){return jV(e,t,n,r)}function B0(e,t){var n=Ye(e.baseOptions,Xu,1)||new Xu;typeof t=="string"?(Ce(n,2,$r(t)),Ce(n,1)):t instanceof Uint8Array&&(Ce(n,1,hu(t,!1)),Ce(n,2)),ye(e.baseOptions,0,1,n)}function _7(e){try{let t=e.K.length;if(t===1)throw Error(e.K[0].message);if(t>1)throw Error("Encountered multiple errors: "+e.K.map(n=>n.message).join(", "))}finally{e.K=[]}}function ie(e,t){e.I=Math.max(e.I,t)}function rd(e,t){e.D=new vn,Vn(e.D,2,"PassThroughCalculator"),mt(e.D,"free_memory"),qe(e.D,"free_memory_unused_out"),gt(t,"free_memory"),Jn(t,e.D)}function qi(e,t){mt(e.D,t),qe(e.D,t+"_unused_out")}function ad(e){e.g.addBoolToStream(!0,"free_memory",e.I)}var od=class{constructor(e){this.g=e,this.K=[],this.I=0,this.g.setAutoRenderToScreen(!1)}j(e,t=!0){var n,r,o,i,s,l;if(t){let c=e.baseOptions||{};if((n=e.baseOptions)!=null&&n.modelAssetBuffer&&((r=e.baseOptions)!=null&&r.modelAssetPath))throw Error("Cannot set both baseOptions.modelAssetPath and baseOptions.modelAssetBuffer");if(!((o=Ye(this.baseOptions,Xu,1))!=null&&o.g()||(i=Ye(this.baseOptions,Xu,1))!=null&&i.j()||(s=e.baseOptions)!=null&&s.modelAssetBuffer||(l=e.baseOptions)!=null&&l.modelAssetPath))throw Error("Either baseOptions.modelAssetPath or baseOptions.modelAssetBuffer must be set");if(function(u,d){var f=Ye(u.baseOptions,Ju,3);if(!f){var h=f=new Ju,p=new h8;Ar(h,4,Do,p)}"delegate"in d&&(d.delegate==="GPU"?(d=f,h=new s0,Ar(d,2,Do,h)):(d=f,h=new h8,Ar(d,4,Do,h))),ye(u.baseOptions,0,3,f)}(this,c),c.modelAssetPath)return fetch(c.modelAssetPath.toString()).then(u=>{if(u.ok)return u.arrayBuffer();throw Error(`Failed to fetch model: ${c.modelAssetPath} (${u.status})`)}).then(u=>{try{this.g.i.FS_unlink("/model.dat")}catch{}this.g.i.FS_createDataFile("/","model.dat",new Uint8Array(u),!0,!1,!1),B0(this,"/model.dat"),this.o(),this.L()});if(c.modelAssetBuffer instanceof Uint8Array)B0(this,c.modelAssetBuffer);else if(c.modelAssetBuffer)return async function(u){for(var d=[],f=0;;){let{done:h,value:p}=await u.read();if(h)break;d.push(p),f+=p.length}if(d.length===0)return new Uint8Array(0);if(d.length===1)return d[0];u=new Uint8Array(f),f=0;for(let h of d)u.set(h,f),f+=h.length;return u}(c.modelAssetBuffer).then(u=>{B0(this,u),this.o(),this.L()})}return this.o(),this.L(),Promise.resolve()}L(){}ja(){var e;if(this.g.ja(t=>{e=NI(t)}),!e)throw Error("Failed to retrieve CalculatorGraphConfig");return e}setGraph(e,t){var n;this.g.attachErrorListener((r,o)=>{this.K.push(Error(o))}),this.g.Za(),this.g.setGraph(e,t),(n=this.m)==null||n.ya(),this.D=void 0,_7(this)}finishProcessing(e){this.g.finishProcessing(),_7(this),this.m&&e!==void 0&&this.m.za(e)}close(){var e,t;this.D=void 0,(e=this.m)==null||e.xa(),(t=this.m)==null||t.close(),this.g.closeGraph()}};function qa(e,t){if(!e)throw Error(`Unable to obtain required WebGL resource: ${t}`);return e}od.prototype.close=od.prototype.close;class HV{constructor(t,n,r,o){this.g=t,this.h=n,this.m=r,this.j=o}bind(){this.g.bindVertexArray(this.h)}close(){this.g.deleteVertexArray(this.h),this.g.deleteBuffer(this.m),this.g.deleteBuffer(this.j)}}function k7(e,t,n){var r=e.g;if(n=qa(r.createShader(n),"Failed to create WebGL shader"),r.shaderSource(n,t),r.compileShader(n),!r.getShaderParameter(n,r.COMPILE_STATUS))throw Error(`Could not compile WebGL shader: ${r.getShaderInfoLog(n)}`);return r.attachShader(e.h,n),n}function E7(e,t){var n=e.g,r=qa(n.createVertexArray(),"Failed to create vertex array");n.bindVertexArray(r);var o=qa(n.createBuffer(),"Failed to create buffer");n.bindBuffer(n.ARRAY_BUFFER,o),n.enableVertexAttribArray(e.F),n.vertexAttribPointer(e.F,2,n.FLOAT,!1,0,0),n.bufferData(n.ARRAY_BUFFER,new Float32Array([-1,-1,-1,1,1,1,1,-1]),n.STATIC_DRAW);var i=qa(n.createBuffer(),"Failed to create buffer");return n.bindBuffer(n.ARRAY_BUFFER,i),n.enableVertexAttribArray(e.K),n.vertexAttribPointer(e.K,2,n.FLOAT,!1,0,0),n.bufferData(n.ARRAY_BUFFER,new Float32Array(t?[0,1,0,0,1,0,1,1]:[0,0,0,1,1,1,1,0]),n.STATIC_DRAW),n.bindBuffer(n.ARRAY_BUFFER,null),n.bindVertexArray(null),new HV(n,r,o,i)}function I0(e,t){if(e.g){if(t!==e.g)throw Error("Cannot change GL context once initialized")}else e.g=t}function qV(e,t,n,r){return I0(e,t),e.h||(e.m(),e.I()),n?(e.l||(e.l=E7(e,!0)),n=e.l):(e.D||(e.D=E7(e,!1)),n=e.D),t.useProgram(e.h),n.bind(),e.j(),e=r(),n.g.bindVertexArray(null),e}function x7(e,t,n){return I0(e,t),e=qa(t.createTexture(),"Failed to create texture"),t.bindTexture(t.TEXTURE_2D,e),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,n??t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,n??t.LINEAR),t.bindTexture(t.TEXTURE_2D,null),e}function C7(e,t,n){I0(e,t),e.C||(e.C=qa(t.createFramebuffer(),"Failed to create framebuffe.")),t.bindFramebuffer(t.FRAMEBUFFER,e.C),t.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,n,0)}function WV(e){var t;(t=e.g)==null||t.bindFramebuffer(e.g.FRAMEBUFFER,null)}var V0=class{B(){return`
|
|
23
|
+
For more information, see https://www.radix-vue.com/components/${n}`,l=`Warning: Missing \`Description\` or \`aria-describedby="undefined"\` for ${t}.`;a.onMounted(()=>{var c;document.getElementById(r)||console.warn(s);const u=(c=i.value)==null?void 0:c.getAttribute("aria-describedby");o&&u&&(document.getElementById(o)||console.warn(l))})}const Lm=a.defineComponent({__name:"DialogContentImpl",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=Jr(),{forwardRef:i,currentElement:s}=Ee();return o.titleId||(o.titleId=Ea(void 0,"radix-vue-dialog-title")),o.descriptionId||(o.descriptionId=Ea(void 0,"radix-vue-dialog-description")),a.onMounted(()=>{o.contentElement=s,pn()!==document.body&&(o.triggerElement.value=pn())}),process.env.NODE_ENV!=="production"&&jE({titleName:"DialogTitle",contentName:"DialogContent",componentLink:"dialog.html#title",titleId:o.titleId,descriptionId:o.descriptionId,contentElement:s}),(l,c)=>(a.openBlock(),a.createBlock(a.unref(v1),{"as-child":"",loop:"",trapped:n.trapFocus,onMountAutoFocus:c[5]||(c[5]=u=>r("openAutoFocus",u)),onUnmountAutoFocus:c[6]||(c[6]=u=>r("closeAutoFocus",u))},{default:a.withCtx(()=>[a.createVNode(a.unref(Ac),a.mergeProps({id:a.unref(o).contentId,ref:a.unref(i),as:l.as,"as-child":l.asChild,"disable-outside-pointer-events":l.disableOutsidePointerEvents,role:"dialog","aria-describedby":a.unref(o).descriptionId,"aria-labelledby":a.unref(o).titleId,"data-state":a.unref(Pm)(a.unref(o).open.value)},l.$attrs,{onDismiss:c[0]||(c[0]=u=>a.unref(o).onOpenChange(!1)),onEscapeKeyDown:c[1]||(c[1]=u=>r("escapeKeyDown",u)),onFocusOutside:c[2]||(c[2]=u=>r("focusOutside",u)),onInteractOutside:c[3]||(c[3]=u=>r("interactOutside",u)),onPointerDownOutside:c[4]||(c[4]=u=>r("pointerDownOutside",u))}),{default:a.withCtx(()=>[a.renderSlot(l.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),HE=a.defineComponent({__name:"DialogContentModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=Jr(),i=Cs(r),{forwardRef:s,currentElement:l}=Ee();return h1(l),(c,u)=>(a.openBlock(),a.createBlock(Lm,a.mergeProps({...n,...a.unref(i)},{ref:a.unref(s),"trap-focus":a.unref(o).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:u[0]||(u[0]=d=>{var f;d.defaultPrevented||(d.preventDefault(),(f=a.unref(o).triggerElement.value)==null||f.focus())}),onPointerDownOutside:u[1]||(u[1]=d=>{const f=d.detail.originalEvent,h=f.button===0&&f.ctrlKey===!0;(f.button===2||h)&&d.preventDefault()}),onFocusOutside:u[2]||(u[2]=d=>{d.preventDefault()})}),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16,["trap-focus"]))}}),qE=a.defineComponent({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=Cs(t);Ee();const o=Jr(),i=a.ref(!1),s=a.ref(!1);return(l,c)=>(a.openBlock(),a.createBlock(Lm,a.mergeProps({...n,...a.unref(r)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:c[0]||(c[0]=u=>{var d;u.defaultPrevented||(i.value||(d=a.unref(o).triggerElement.value)==null||d.focus(),u.preventDefault()),i.value=!1,s.value=!1}),onInteractOutside:c[1]||(c[1]=u=>{var d;u.defaultPrevented||(i.value=!0,u.detail.originalEvent.type==="pointerdown"&&(s.value=!0));const f=u.target;(d=a.unref(o).triggerElement.value)!=null&&d.contains(f)&&u.preventDefault(),u.detail.originalEvent.type==="focusin"&&s.value&&u.preventDefault()})}),{default:a.withCtx(()=>[a.renderSlot(l.$slots,"default")]),_:3},16))}}),Bs=a.defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=Jr(),i=Cs(r),{forwardRef:s}=Ee();return(l,c)=>(a.openBlock(),a.createBlock(a.unref(lo),{present:l.forceMount||a.unref(o).open.value},{default:a.withCtx(()=>[a.unref(o).modal.value?(a.openBlock(),a.createBlock(HE,a.mergeProps({key:0,ref:a.unref(s)},{...n,...a.unref(i),...l.$attrs}),{default:a.withCtx(()=>[a.renderSlot(l.$slots,"default")]),_:3},16)):(a.openBlock(),a.createBlock(qE,a.mergeProps({key:1,ref:a.unref(s)},{...n,...a.unref(i),...l.$attrs}),{default:a.withCtx(()=>[a.renderSlot(l.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),WE=a.defineComponent({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean},as:{}},setup(e){const t=Jr();return l1(!0),Ee(),(n,r)=>(a.openBlock(),a.createBlock(a.unref(Ie),{as:n.as,"as-child":n.asChild,"data-state":a.unref(t).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),Is=a.defineComponent({__name:"DialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){const t=Jr(),{forwardRef:n}=Ee();return(r,o)=>{var i;return(i=a.unref(t))!=null&&i.modal.value?(a.openBlock(),a.createBlock(a.unref(lo),{key:0,present:r.forceMount||a.unref(t).open.value},{default:a.withCtx(()=>[a.createVNode(WE,a.mergeProps(r.$attrs,{ref:a.unref(n),as:r.as,"as-child":r.asChild}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):a.createCommentVNode("",!0)}}}),co=a.defineComponent({__name:"DialogClose",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e;Ee();const n=Jr();return(r,o)=>(a.openBlock(),a.createBlock(a.unref(Ie),a.mergeProps(t,{type:r.as==="button"?"button":void 0,onClick:o[0]||(o[0]=i=>a.unref(n).onOpenChange(!1))}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["type"]))}}),Vs=a.defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{default:"h2"}},setup(e){const t=e,n=Jr();return Ee(),(r,o)=>(a.openBlock(),a.createBlock(a.unref(Ie),a.mergeProps(t,{id:a.unref(n).titleId}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["id"]))}}),[Fm,GE]=Tt("AvatarRoot"),KE=a.defineComponent({__name:"AvatarRoot",props:{asChild:{type:Boolean},as:{default:"span"}},setup(e){return Ee(),GE({imageLoadingStatus:a.ref("loading")}),(t,n)=>(a.openBlock(),a.createBlock(a.unref(Ie),{"as-child":t.asChild,as:t.as},{default:a.withCtx(()=>[a.renderSlot(t.$slots,"default")]),_:3},8,["as-child","as"]))}});function YE(e,t){const n=a.ref("idle"),r=a.ref(!1),o=i=>()=>{r.value&&(n.value=i)};return a.onMounted(()=>{r.value=!0,a.watch([()=>e.value,()=>t==null?void 0:t.value],([i,s])=>{if(!i)n.value="error";else{const l=new window.Image;n.value="loading",l.onload=o("loaded"),l.onerror=o("error"),l.src=i,s&&(l.referrerPolicy=s)}},{immediate:!0})}),a.onUnmounted(()=>{r.value=!1}),n}const JE=a.defineComponent({__name:"AvatarImage",props:{src:{},referrerPolicy:{},asChild:{type:Boolean},as:{default:"img"}},emits:["loadingStatusChange"],setup(e,{emit:t}){const n=e,r=t,{src:o,referrerPolicy:i}=a.toRefs(n);Ee();const s=Fm(),l=YE(o,i);return a.watch(l,c=>{r("loadingStatusChange",c),c!=="idle"&&(s.imageLoadingStatus.value=c)},{immediate:!0}),(c,u)=>a.withDirectives((a.openBlock(),a.createBlock(a.unref(Ie),{role:"img","as-child":c.asChild,as:c.as,src:a.unref(o),"referrer-policy":a.unref(i)},{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},8,["as-child","as","src","referrer-policy"])),[[a.vShow,a.unref(l)==="loaded"]])}}),XE=a.defineComponent({__name:"AvatarFallback",props:{delayMs:{default:0},asChild:{type:Boolean},as:{default:"span"}},setup(e){const t=e,n=Fm();Ee();const r=a.ref(!1);let o;return a.watch(n.imageLoadingStatus,i=>{i==="loading"&&(r.value=!1,t.delayMs?o=setTimeout(()=>{r.value=!0,clearTimeout(o)},t.delayMs):r.value=!0)},{immediate:!0}),(i,s)=>r.value&&a.unref(n).imageLoadingStatus.value!=="loaded"?(a.openBlock(),a.createBlock(a.unref(Ie),{key:0,"as-child":i.asChild,as:i.as},{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},8,["as-child","as"])):a.createCommentVNode("",!0)}});function QE(e){function t(r){return Array.isArray(e.date.value)?e.date.value.some(o=>Yo(o,r)):e.date.value?Yo(e.date.value,r):!1}const n=a.computed(()=>{var r,o,i,s;if(Array.isArray(e.date.value)){if(!e.date.value.length)return!1;for(const l of e.date.value)if((r=e.isDateDisabled)!=null&&r.call(e,l)||(o=e.isDateUnavailable)!=null&&o.call(e,l))return!0}else{if(!e.date.value)return!1;if((i=e.isDateDisabled)!=null&&i.call(e,e.date.value)||(s=e.isDateUnavailable)!=null&&s.call(e,e.date.value))return!0}return!1});return{isDateSelected:t,isInvalid:n}}function NE(e,t){const n=t(e),r=n.compare(e),o={};return r>=7&&(o.day=1),r>=_r(e)&&(o.month=1),n.set({...o})}function $E(e,t){const n=t(e),r=e.compare(n),o={};return r>=7&&(o.day=35),r>=_r(e)&&(o.month=13),n.set({...o})}function ex(e,t){return t(e)}function tx(e,t){return t(e)}function nx(e){const t=Sm(e.locale.value),n=a.computed(()=>{const w={calendar:e.placeholder.value.calendar.identifier};return e.placeholder.value.calendar.identifier==="gregory"&&e.placeholder.value.era==="BC"&&(w.era="short"),w}),r=a.ref(ao({dateObj:e.placeholder.value,weekStartsOn:e.weekStartsOn.value,locale:e.locale.value,fixedWeeks:e.fixedWeeks.value,numberOfMonths:e.numberOfMonths.value})),o=a.computed(()=>r.value.map(w=>w.value));function i(w){return!o.value.some(y=>cp(w,y))}const s=(w="month",y)=>{if(!e.maxValue.value||!r.value.length)return!1;if(e.disabled.value)return!0;const k=r.value[r.value.length-1].value;if(y||e.nextPage.value){const m=NE(k,y||e.nextPage.value);return gc(m,e.maxValue.value)}if(w==="year"){const m=k.add({years:1}).set({day:1,month:1});return gc(m,e.maxValue.value)}const v=k.add({months:1}).set({day:1});return gc(v,e.maxValue.value)},l=(w="month",y)=>{if(!e.minValue.value||!r.value.length)return!1;if(e.disabled.value)return!0;const k=r.value[0].value;if(y||e.prevPage.value){const m=$E(k,y||e.prevPage.value);return ni(m,e.minValue.value)}if(w==="year"){const m=k.subtract({years:1}).set({day:35,month:13});return ni(m,e.minValue.value)}const v=k.subtract({months:1}).set({day:35});return ni(v,e.minValue.value)};function c(w){var y;return!!((y=e.isDateDisabled)!=null&&y.call(e,w)||e.disabled.value||e.maxValue.value&&gc(w,e.maxValue.value)||e.minValue.value&&ni(w,e.minValue.value))}const u=w=>{var y;return!!((y=e.isDateUnavailable)!=null&&y.call(e,w))},d=a.computed(()=>r.value.length?r.value[0].rows[0].map(w=>t.dayOfWeek(zn(w),e.weekdayFormat.value)):[]),f=(w="month",y)=>{const k=r.value[0].value;if(y||e.nextPage.value){const b=ex(k,y||e.nextPage.value),_=ao({dateObj:b,weekStartsOn:e.weekStartsOn.value,locale:e.locale.value,fixedWeeks:e.fixedWeeks.value,numberOfMonths:e.numberOfMonths.value});r.value=_;const E={};if(!y){const x=_[0].value.compare(k);x>=_r(k)&&(E.day=1),x>=365&&(E.month=1)}e.placeholder.value=_[0].value.set({...E});return}const v=w==="month"?k.add({months:e.pagedNavigation.value?e.numberOfMonths.value:1}):k.add({years:1}),m=ao({dateObj:v,weekStartsOn:e.weekStartsOn.value,locale:e.locale.value,fixedWeeks:e.fixedWeeks.value,numberOfMonths:e.numberOfMonths.value});r.value=m,e.placeholder.value=m[0].value.set({day:1})},h=(w="month",y)=>{const k=r.value[0].value;if(y||e.prevPage.value){const b=tx(k,y||e.prevPage.value),_=ao({dateObj:b,weekStartsOn:e.weekStartsOn.value,locale:e.locale.value,fixedWeeks:e.fixedWeeks.value,numberOfMonths:e.numberOfMonths.value});r.value=_;const E={};if(!y){const x=k.compare(_[0].value);x>=_r(k)&&(E.day=1),x>=365&&(E.month=1)}e.placeholder.value=_[0].value.set({...E});return}const v=w==="month"?k.subtract({months:e.pagedNavigation.value?e.numberOfMonths.value:1}):k.subtract({years:1}),m=ao({dateObj:v,weekStartsOn:e.weekStartsOn.value,locale:e.locale.value,fixedWeeks:e.fixedWeeks.value,numberOfMonths:e.numberOfMonths.value});r.value=m,e.placeholder.value=m[0].value.set({day:1})};a.watch(e.placeholder,w=>{o.value.some(y=>cp(y,w))||(r.value=ao({dateObj:w,weekStartsOn:e.weekStartsOn.value,locale:e.locale.value,fixedWeeks:e.fixedWeeks.value,numberOfMonths:e.numberOfMonths.value}))}),a.watch([e.locale,e.weekStartsOn,e.fixedWeeks,e.numberOfMonths],()=>{r.value=ao({dateObj:e.placeholder.value,weekStartsOn:e.weekStartsOn.value,locale:e.locale.value,fixedWeeks:e.fixedWeeks.value,numberOfMonths:e.numberOfMonths.value})});const p=a.computed(()=>{if(!r.value.length)return"";if(e.locale.value!==t.getLocale()&&t.setLocale(e.locale.value),r.value.length===1){const _=r.value[0].value;return`${t.fullMonthAndYear(zn(_),n.value)}`}const w=zn(r.value[0].value),y=zn(r.value[r.value.length-1].value),k=t.fullMonth(w,n.value),v=t.fullMonth(y,n.value),m=t.fullYear(w,n.value),b=t.fullYear(y,n.value);return m===b?`${k} - ${v} ${b}`:`${k} ${m} - ${v} ${b}`}),g=a.computed(()=>`${e.calendarLabel.value??"Event Date"}, ${p.value}`);return{isDateDisabled:c,isDateUnavailable:u,isNextButtonDisabled:s,isPrevButtonDisabled:l,grid:r,weekdays:d,visibleView:o,isOutsideVisibleView:i,formatter:t,nextPage:f,prevPage:h,headingValue:p,fullCalendarLabel:g}}const rx={style:{border:"0px",clip:"rect(0px, 0px, 0px, 0px)","clip-path":"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0px",position:"absolute","white-space":"nowrap",width:"1px"}},ax={role:"heading","aria-level":"2"},[li,ox]=Tt("CalendarRoot"),ix=a.defineComponent({__name:"CalendarRoot",props:{modelValue:{},multiple:{type:Boolean,default:!1},defaultValue:{default:void 0},defaultPlaceholder:{},placeholder:{default:void 0},pagedNavigation:{type:Boolean,default:!1},preventDeselect:{type:Boolean,default:!1},weekStartsOn:{default:0},weekdayFormat:{default:"narrow"},calendarLabel:{},fixedWeeks:{type:Boolean,default:!1},maxValue:{},minValue:{},locale:{default:"en"},numberOfMonths:{default:1},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},initialFocus:{type:Boolean,default:!1},isDateDisabled:{type:Function,default:void 0},isDateUnavailable:{type:Function,default:void 0},dir:{},nextPage:{},prevPage:{},asChild:{type:Boolean},as:{default:"div"}},emits:["update:modelValue","update:placeholder"],setup(e,{emit:t}){const n=e,r=t,{locale:o,disabled:i,readonly:s,initialFocus:l,pagedNavigation:c,weekStartsOn:u,weekdayFormat:d,fixedWeeks:f,multiple:h,minValue:p,maxValue:g,numberOfMonths:w,preventDeselect:y,isDateDisabled:k,isDateUnavailable:v,calendarLabel:m,defaultValue:b,nextPage:_,prevPage:E,dir:x}=a.toRefs(n),{primitiveElement:O,currentElement:B}=Ts(),S=so(x),A=Yt(n,"modelValue",r,{defaultValue:b.value,passive:n.modelValue===void 0}),D=$f({defaultPlaceholder:n.placeholder,defaultValue:A.value,locale:n.locale}),q=Yt(n,"placeholder",r,{defaultValue:n.defaultPlaceholder??D.copy(),passive:n.placeholder===void 0});function F(De){q.value=De.copy()}const{fullCalendarLabel:X,headingValue:fe,isDateDisabled:ae,isDateUnavailable:Z,isNextButtonDisabled:z,isPrevButtonDisabled:ne,weekdays:Y,isOutsideVisibleView:de,nextPage:he,prevPage:_e,formatter:st,grid:se}=nx({locale:o,placeholder:q,weekStartsOn:u,fixedWeeks:f,numberOfMonths:w,minValue:p,maxValue:g,disabled:i,weekdayFormat:d,pagedNavigation:c,isDateDisabled:k.value,isDateUnavailable:v.value,calendarLabel:m,nextPage:_,prevPage:E}),{isInvalid:ge,isDateSelected:Rt}=QE({date:A,isDateDisabled:ae,isDateUnavailable:Z});a.watch(A,De=>{if(Array.isArray(De)&&De.length){const Ze=De[De.length-1];Ze&&!ms(q.value,Ze)&&F(Ze)}else!Array.isArray(De)&&De&&!ms(q.value,De)&&F(De)});function an(De){if(h.value){if(!A.value)A.value=[De.copy()];else if(Array.isArray(A.value)){if(A.value.findIndex(Ze=>Yo(Ze,De))===-1)A.value=[...A.value,De];else if(!y.value){const Ze=A.value.filter(ct=>!Yo(ct,De));if(!Ze.length){q.value=De.copy(),A.value=void 0;return}A.value=Ze.map(ct=>ct.copy())}}}else{if(!A.value){A.value=De.copy();return}!y.value&&ms(A.value,De)?(q.value=De.copy(),A.value=void 0):A.value=De.copy()}}return a.onMounted(()=>{l.value&&Vk(B.value)}),ox({isDateUnavailable:Z,dir:S,isDateDisabled:ae,locale:o,formatter:st,modelValue:A,placeholder:q,disabled:i,initialFocus:l,pagedNavigation:c,weekStartsOn:u,weekdayFormat:d,fixedWeeks:f,multiple:h,numberOfMonths:w,readonly:s,preventDeselect:y,fullCalendarLabel:X,headingValue:fe,isInvalid:ge,isDateSelected:Rt,isNextButtonDisabled:z,isPrevButtonDisabled:ne,isOutsideVisibleView:de,nextPage:he,prevPage:_e,parentElement:B,onPlaceholderChange:F,onDateChange:an}),(De,Ze)=>(a.openBlock(),a.createBlock(a.unref(Ie),{ref_key:"primitiveElement",ref:O,as:De.as,"as-child":De.asChild,role:"application","aria-label":a.unref(X),"data-readonly":a.unref(s)?"":void 0,"data-disabled":a.unref(i)?"":void 0,"data-invalid":a.unref(ge)?"":void 0,dir:a.unref(S)},{default:a.withCtx(()=>[a.renderSlot(De.$slots,"default",{date:a.unref(q),grid:a.unref(se),weekDays:a.unref(Y),weekStartsOn:a.unref(u),locale:a.unref(o),fixedWeeks:a.unref(f)}),a.createElementVNode("div",rx,[a.createElementVNode("div",ax,a.toDisplayString(a.unref(X)),1)])]),_:3},8,["as","as-child","aria-label","data-readonly","data-disabled","data-invalid","dir"]))}}),sx=a.defineComponent({__name:"CalendarHeader",props:{asChild:{type:Boolean},as:{default:"div"}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(Ie),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),lx=a.defineComponent({__name:"CalendarHeading",props:{asChild:{type:Boolean},as:{default:"div"}},setup(e){const t=e,n=li();return(r,o)=>(a.openBlock(),a.createBlock(a.unref(Ie),a.mergeProps(t,{"data-disabled":a.unref(n).disabled.value?"":void 0}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{headingValue:a.unref(n).headingValue.value},()=>[a.createTextVNode(a.toDisplayString(a.unref(n).headingValue.value),1)])]),_:3},16,["data-disabled"]))}}),cx=a.defineComponent({__name:"CalendarGrid",props:{asChild:{type:Boolean},as:{default:"table"}},setup(e){const t=e,n=li(),r=a.computed(()=>n.disabled.value?!0:void 0),o=a.computed(()=>n.readonly.value?!0:void 0);return(i,s)=>(a.openBlock(),a.createBlock(a.unref(Ie),a.mergeProps(t,{tabindex:"-1",role:"grid","aria-readonly":o.value,"aria-disabled":r.value,"data-readonly":o.value&&"","data-disabled":r.value&&""}),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16,["aria-readonly","aria-disabled","data-readonly","data-disabled"]))}}),ux=a.defineComponent({__name:"CalendarCell",props:{date:{},asChild:{type:Boolean},as:{default:"td"}},setup(e){const t=li();return(n,r)=>{var o,i;return a.openBlock(),a.createBlock(a.unref(Ie),{as:n.as,"as-child":n.asChild,role:"gridcell","aria-selected":a.unref(t).isDateSelected(n.date)?!0:void 0,"aria-disabled":a.unref(t).isDateDisabled(n.date)||((i=(o=a.unref(t)).isDateUnavailable)==null?void 0:i.call(o,n.date)),"data-disabled":a.unref(t).isDateDisabled(n.date)?"":void 0},{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},8,["as","as-child","aria-selected","aria-disabled","data-disabled"])}}}),dx=a.defineComponent({__name:"CalendarHeadCell",props:{asChild:{type:Boolean},as:{default:"th"}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(Ie),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),fx=a.defineComponent({__name:"CalendarNext",props:{step:{default:"month"},nextPage:{},asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=a.computed(()=>r.disabled.value||r.isNextButtonDisabled(t.step,t.nextPage)),r=li();return(o,i)=>(a.openBlock(),a.createBlock(a.unref(Ie),{as:t.as,"as-child":t.asChild,"aria-label":"Next page",type:o.as==="button"?"button":void 0,"aria-disabled":n.value||void 0,"data-disabled":n.value||void 0,disabled:n.value,onClick:i[0]||(i[0]=s=>a.unref(r).nextPage(t.step,t.nextPage))},{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default",{},()=>[a.createTextVNode("Next page")])]),_:3},8,["as","as-child","type","aria-disabled","data-disabled","disabled"]))}}),hx=a.defineComponent({__name:"CalendarPrev",props:{step:{default:"month"},prevPage:{},asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=a.computed(()=>r.disabled.value||r.isPrevButtonDisabled(t.step,t.prevPage)),r=li();return(o,i)=>(a.openBlock(),a.createBlock(a.unref(Ie),{"aria-label":"Previous page",as:t.as,"as-child":t.asChild,type:o.as==="button"?"button":void 0,"aria-disabled":n.value||void 0,"data-disabled":n.value||void 0,disabled:n.value,onClick:i[0]||(i[0]=s=>a.unref(r).prevPage(t.step,t.prevPage))},{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default",{},()=>[a.createTextVNode("Prev page")])]),_:3},8,["as","as-child","type","aria-disabled","data-disabled","disabled"]))}}),px=a.defineComponent({__name:"CalendarGridHead",props:{asChild:{type:Boolean},as:{default:"thead"}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(Ie),a.mergeProps(t,{"aria-hidden":"true"}),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),mx=a.defineComponent({__name:"CalendarGridBody",props:{asChild:{type:Boolean},as:{default:"tbody"}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(Ie),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),gx=a.defineComponent({__name:"CalendarGridRow",props:{asChild:{type:Boolean},as:{default:"tr"}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(Ie),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),vx=a.defineComponent({__name:"CalendarCellTrigger",props:{day:{},month:{},asChild:{type:Boolean},as:{default:"div"}},setup(e){const t=e,n=Ss(),r=li(),{primitiveElement:o,currentElement:i}=Ts(),s=a.computed(()=>t.day.day.toLocaleString(r.locale.value)),l=a.computed(()=>r.formatter.custom(zn(t.day),{weekday:"long",month:"long",day:"numeric",year:"numeric"})),c=a.computed(()=>r.isDateDisabled(t.day)),u=a.computed(()=>{var m;return(m=r.isDateUnavailable)==null?void 0:m.call(r,t.day)}),d=a.computed(()=>Dw(t.day,gs())),f=a.computed(()=>!Rw(t.day,t.month)),h=a.computed(()=>r.isOutsideVisibleView(t.day)),p=a.computed(()=>!r.disabled.value&&Yo(t.day,r.placeholder.value)),g=a.computed(()=>r.isDateSelected(t.day)),w="[data-radix-vue-calendar-cell-trigger]:not([data-disabled]):not([data-outside-view]):not([data-outside-visible-view])";function y(m){var b;r.readonly.value||r.isDateDisabled(m)||(b=r.isDateUnavailable)!=null&&b.call(r,m)||r.onDateChange(m)}function k(){y(t.day)}function v(m){m.preventDefault(),m.stopPropagation();const b=r.parentElement.value,_=b?Array.from(b.querySelectorAll(w)):[];let E=_.indexOf(i.value);const x=7,O=r.dir.value==="rtl"?-1:1;switch(m.code){case n.ARROW_RIGHT:E+=O;break;case n.ARROW_LEFT:E-=O;break;case n.ARROW_UP:E-=x;break;case n.ARROW_DOWN:E+=x;break;case n.ENTER:case n.SPACE_CODE:y(t.day);return;default:return}if(E>=0&&E<_.length){_[E].focus();return}if(E<0){if(r.isPrevButtonDisabled("month"))return;r.prevPage(),a.nextTick(()=>{const B=b?Array.from(b.querySelectorAll(w)):[];if(!r.pagedNavigation.value){const S=_r(r.placeholder.value);B[S-Math.abs(E)].focus();return}B[B.length-Math.abs(E)].focus()});return}if(E>=_.length){if(r.isNextButtonDisabled("month"))return;r.nextPage(),a.nextTick(()=>{const B=b?Array.from(b.querySelectorAll(w)):[];if(!r.pagedNavigation.value){const S=_r(r.placeholder.value.add({months:r.numberOfMonths.value-1}));B[B.length-S+E-_.length].focus();return}B[E-_.length].focus()})}}return(m,b)=>(a.openBlock(),a.createBlock(a.unref(Ie),a.mergeProps({ref_key:"primitiveElement",ref:o},t,{role:"button","aria-label":l.value,"data-radix-vue-calendar-cell-trigger":"","aria-disabled":c.value||u.value?!0:void 0,"data-selected":g.value?!0:void 0,"data-value":m.day.toString(),"data-disabled":c.value?"":void 0,"data-unavailable":u.value?"":void 0,"data-today":d.value?"":void 0,"data-outside-view":f.value?"":void 0,"data-outside-visible-view":h.value?"":void 0,"data-focused":p.value?"":void 0,tabindex:p.value?0:f.value||c.value?void 0:-1,onClick:k,onKeydown:[a.withKeys(v,["up","down","left","right","space","enter"]),b[0]||(b[0]=a.withKeys(a.withModifiers(()=>{},["prevent"]),["enter"]))]}),{default:a.withCtx(()=>[a.renderSlot(m.$slots,"default",{dayValue:s.value},()=>[a.createTextVNode(a.toDisplayString(s.value),1)])]),_:3},16,["aria-label","aria-disabled","data-selected","data-value","data-disabled","data-unavailable","data-today","data-outside-view","data-outside-visible-view","data-focused","tabindex"]))}});function Oc(e){return e==="indeterminate"}function Um(e){return Oc(e)?"indeterminate":e?"checked":"unchecked"}const yx=["value","checked","name","disabled","required"],[bx,wx]=Tt("CheckboxRoot"),_x=a.defineComponent({inheritAttrs:!1,__name:"CheckboxRoot",props:{defaultChecked:{type:Boolean},checked:{type:[Boolean,String],default:void 0},disabled:{type:Boolean},required:{type:Boolean},name:{},value:{default:"on"},id:{},asChild:{type:Boolean},as:{default:"button"}},emits:["update:checked"],setup(e,{emit:t}){const n=e,r=t,{disabled:o}=a.toRefs(n),i=Yt(n,"checked",r,{defaultValue:n.defaultChecked,passive:n.checked===void 0}),{forwardRef:s,currentElement:l}=Ee(),c=u1(l),u=a.computed(()=>{var d;return n.id&&l.value?(d=document.querySelector(`[for="${n.id}"]`))==null?void 0:d.innerText:void 0});return wx({disabled:o,state:i}),(d,f)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createVNode(a.unref(Ie),a.mergeProps(d.$attrs,{id:d.id,ref:a.unref(s),role:"checkbox","as-child":n.asChild,as:d.as,type:d.as==="button"?"button":void 0,"aria-checked":a.unref(Oc)(a.unref(i))?"mixed":a.unref(i),"aria-required":n.required,"aria-label":d.$attrs["aria-label"]||u.value,"data-state":a.unref(Um)(a.unref(i)),"data-disabled":a.unref(o)?"":void 0,disabled:a.unref(o),onKeydown:a.withKeys(a.withModifiers(()=>{},["prevent"]),["enter"]),onClick:f[0]||(f[0]=h=>i.value=a.unref(Oc)(a.unref(i))?!0:!a.unref(i))}),{default:a.withCtx(()=>[a.renderSlot(d.$slots,"default",{checked:a.unref(i)})]),_:3},16,["id","as-child","as","type","aria-checked","aria-required","aria-label","data-state","data-disabled","disabled","onKeydown"]),a.unref(c)?(a.openBlock(),a.createElementBlock("input",{key:0,type:"checkbox",tabindex:"-1","aria-hidden":"true",value:d.value,checked:!!a.unref(i),name:n.name,disabled:n.disabled,required:n.required,style:{transform:"translateX(-100%)",position:"absolute",pointerEvents:"none",opacity:0,margin:0}},null,8,yx)):a.createCommentVNode("",!0)],64))}}),kx=a.defineComponent({__name:"CheckboxIndicator",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(e){const{forwardRef:t}=Ee(),n=bx();return(r,o)=>(a.openBlock(),a.createBlock(a.unref(lo),{present:r.forceMount||a.unref(Oc)(a.unref(n).state.value)||a.unref(n).state.value===!0},{default:a.withCtx(()=>[a.createVNode(a.unref(Ie),a.mergeProps({ref:a.unref(t),"data-state":a.unref(Um)(a.unref(n).state.value),"data-disabled":a.unref(n).disabled.value?"":void 0,style:{pointerEvents:"none"},"as-child":r.asChild,as:r.as},r.$attrs),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["data-state","data-disabled","as-child","as"])]),_:3},8,["present"]))}}),[Zm,Ex]=Tt("PopperRoot"),w1=a.defineComponent({inheritAttrs:!1,__name:"PopperRoot",setup(e){const t=a.ref();return Ex({anchor:t,onAnchorChange:n=>t.value=n}),(n,r)=>a.renderSlot(n.$slots,"default")}}),_1=a.defineComponent({__name:"PopperAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(e){const t=e,{forwardRef:n,currentElement:r}=Ee(),o=Zm();return a.watchEffect(()=>{o.onAnchorChange(t.element??r.value)}),(i,s)=>(a.openBlock(),a.createBlock(a.unref(Ie),{ref:a.unref(n),as:i.as,"as-child":i.asChild},{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},8,["as","as-child"]))}});function xx(e){return e!==null}function Cx(e){return{name:"transformOrigin",options:e,fn(t){var n,r,o;const{placement:i,rects:s,middlewareData:l}=t,c=((n=l.arrow)==null?void 0:n.centerOffset)!==0,u=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[f,h]=k1(i),p={start:"0%",center:"50%",end:"100%"}[h],g=(((r=l.arrow)==null?void 0:r.x)??0)+u/2,w=(((o=l.arrow)==null?void 0:o.y)??0)+d/2;let y="",k="";return f==="bottom"?(y=c?p:`${g}px`,k=`${-d}px`):f==="top"?(y=c?p:`${g}px`,k=`${s.floating.height+d}px`):f==="right"?(y=`${-d}px`,k=c?p:`${w}px`):f==="left"&&(y=`${s.floating.width+d}px`,k=c?p:`${w}px`),{data:{x:y,y:k}}}}}function k1(e){const[t,n="center"]=e.split("-");return[t,n]}const zm={side:"bottom",sideOffset:0,align:"center",alignOffset:0,arrowPadding:0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,updatePositionStrategy:"optimized",prioritizePosition:!1},[Sx,Tx]=Tt("PopperContent"),E1=a.defineComponent({inheritAttrs:!1,__name:"PopperContent",props:a.mergeDefaults({side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...zm}),emits:["placed"],setup(e,{emit:t}){const n=e,r=t,o=Zm(),{forwardRef:i,currentElement:s}=Ee(),l=a.ref(),c=a.ref(),{width:u,height:d}=mE(c),f=a.computed(()=>n.side+(n.align!=="center"?`-${n.align}`:"")),h=a.computed(()=>typeof n.collisionPadding=="number"?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),p=a.computed(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),g=a.computed(()=>({padding:h.value,boundary:p.value.filter(xx),altBoundary:p.value.length>0})),w=Rk(()=>[hk({mainAxis:n.sideOffset+d.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&dm({...g.value}),n.avoidCollisions&&pk({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky==="partial"?yk():void 0,...g.value}),!n.prioritizePosition&&n.avoidCollisions&&dm({...g.value}),mk({...g.value,apply:({elements:S,rects:A,availableWidth:D,availableHeight:q})=>{const{width:F,height:X}=A.reference,fe=S.floating.style;fe.setProperty("--radix-popper-available-width",`${D}px`),fe.setProperty("--radix-popper-available-height",`${q}px`),fe.setProperty("--radix-popper-anchor-width",`${F}px`),fe.setProperty("--radix-popper-anchor-height",`${X}px`)}}),c.value&&_k({element:c.value,padding:n.arrowPadding}),Cx({arrowWidth:u.value,arrowHeight:d.value}),n.hideWhenDetached&&gk({strategy:"referenceHidden",...g.value})]),{floatingStyles:y,placement:k,isPositioned:v,middlewareData:m}=kk(o.anchor,l,{strategy:"fixed",placement:f,whileElementsMounted:(...S)=>fk(...S,{animationFrame:n.updatePositionStrategy==="always"}),middleware:w}),b=a.computed(()=>k1(k.value)[0]),_=a.computed(()=>k1(k.value)[1]);a.watchPostEffect(()=>{v.value&&r("placed")});const E=a.computed(()=>{var S;return((S=m.value.arrow)==null?void 0:S.centerOffset)!==0}),x=a.ref("");a.watchEffect(()=>{s.value&&(x.value=window.getComputedStyle(s.value).zIndex)});const O=a.computed(()=>{var S;return((S=m.value.arrow)==null?void 0:S.x)??0}),B=a.computed(()=>{var S;return((S=m.value.arrow)==null?void 0:S.y)??0});return Tx({placedSide:b,onArrowChange:S=>c.value=S,arrowX:O,arrowY:B,shouldHideArrow:E}),(S,A)=>{var D,q,F;return a.openBlock(),a.createElementBlock("div",{ref_key:"floatingRef",ref:l,"data-radix-popper-content-wrapper":"",style:a.normalizeStyle({...a.unref(y),transform:a.unref(v)?a.unref(y).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:x.value,"--radix-popper-transform-origin":[(D=a.unref(m).transformOrigin)==null?void 0:D.x,(q=a.unref(m).transformOrigin)==null?void 0:q.y].join(" "),...((F=a.unref(m).hide)==null?void 0:F.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[a.createVNode(a.unref(Ie),a.mergeProps({ref:a.unref(i)},S.$attrs,{"as-child":n.asChild,as:S.as,"data-side":b.value,"data-align":_.value,style:{animation:a.unref(v)?void 0:"none"}}),{default:a.withCtx(()=>[a.renderSlot(S.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),Ax=a.createElementVNode("polygon",{points:"0,0 30,0 15,10"},null,-1),Ox=a.defineComponent({__name:"Arrow",props:{width:{default:10},height:{default:5},asChild:{type:Boolean},as:{default:"svg"}},setup(e){const t=e;return Ee(),(n,r)=>(a.openBlock(),a.createBlock(a.unref(Ie),a.mergeProps(t,{width:n.width,height:n.height,viewBox:n.asChild?void 0:"0 0 30 10",preserveAspectRatio:n.asChild?void 0:"none"}),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default",{},()=>[Ax])]),_:3},16,["width","height","viewBox","preserveAspectRatio"]))}}),Bx={top:"bottom",right:"left",bottom:"top",left:"right"},jm=a.defineComponent({inheritAttrs:!1,__name:"PopperArrow",props:{width:{},height:{},asChild:{type:Boolean},as:{default:"svg"}},setup(e){const{forwardRef:t}=Ee(),n=Sx(),r=a.computed(()=>Bx[n.placedSide.value]);return(o,i)=>{var s,l,c,u;return a.openBlock(),a.createElementBlock("span",{ref:d=>{a.unref(n).onArrowChange(d)},style:a.normalizeStyle({position:"absolute",left:(s=a.unref(n).arrowX)!=null&&s.value?`${(l=a.unref(n).arrowX)==null?void 0:l.value}px`:void 0,top:(c=a.unref(n).arrowY)!=null&&c.value?`${(u=a.unref(n).arrowY)==null?void 0:u.value}px`:void 0,[r.value]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.unref(n).placedSide.value],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.unref(n).placedSide.value],visibility:a.unref(n).shouldHideArrow.value?"hidden":void 0})},[a.createVNode(Ox,a.mergeProps(o.$attrs,{ref:a.unref(t),style:{display:"block"},as:o.as,"as-child":o.asChild,width:o.width,height:o.height}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["as","as-child","width","height"])],4)}}}),Ix=a.defineComponent({__name:"VisuallyHidden",props:{asChild:{type:Boolean},as:{default:"span"}},setup(e){return Ee(),(t,n)=>(a.openBlock(),a.createBlock(a.unref(Ie),{as:t.as,"as-child":t.asChild,style:{position:"absolute",border:0,width:"1px",display:"inline-block",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}},{default:a.withCtx(()=>[a.renderSlot(t.$slots,"default")]),_:3},8,["as","as-child"]))}}),Vx="data-radix-vue-collection-item",[x1,Rx]=Tt("CollectionProvider");function Dx(e=Vx){const t=a.ref(new Map),n=a.ref(),r=Rx({collectionRef:n,itemMap:t,attrName:e}),{getItems:o}=qm(r),i=a.computed(()=>Array.from(r.itemMap.value.values())),s=a.computed(()=>r.itemMap.value.size);return{getItems:o,reactiveItems:i,itemMapSize:s}}const Mx=a.defineComponent({name:"CollectionSlot",setup(e,{slots:t}){const n=x1(),{primitiveElement:r,currentElement:o}=Ts();return a.watch(o,()=>{n.collectionRef.value=o.value}),()=>a.h(p1,{ref:r},t)}}),Hm=a.defineComponent({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(e,{slots:t,attrs:n}){const r=x1(),{primitiveElement:o,currentElement:i}=Ts();return a.watchEffect(s=>{if(i.value){const l=a.markRaw(i.value);r.itemMap.value.set(l,{ref:i.value,value:e.value}),s(()=>r.itemMap.value.delete(l))}}),()=>a.h(p1,{...n,[r.attrName]:"",ref:o},t)}});function qm(e){const t=e??x1();return{getItems:()=>{const n=t.collectionRef.value;if(!n)return[];const r=Array.from(n.querySelectorAll(`[${t.attrName}]`));return Array.from(t.itemMap.value.values()).sort((o,i)=>r.indexOf(o.ref)-r.indexOf(i.ref))}}}const Px=a.defineComponent({__name:"MenuAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(_1),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}});function Lx(){const e=a.ref(!1);return a.onMounted(()=>{ka("keydown",()=>{e.value=!0},{capture:!0,passive:!0}),ka(["pointerdown","pointermove"],()=>{e.value=!1},{capture:!0,passive:!0})}),e}const Fx=wm(Lx),[Bc,Ux]=Tt(["MenuRoot","MenuSub"],"MenuContext"),[C1,Zx]=Tt("MenuRoot"),zx=a.defineComponent({__name:"MenuRoot",props:{open:{type:Boolean,default:!1},dir:{},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=t,{modal:o,dir:i}=a.toRefs(n),s=so(i),l=Yt(n,"open",r),c=a.ref(),u=Fx();return Ux({open:l,onOpenChange:d=>{l.value=d},content:c,onContentChange:d=>{c.value=d}}),Zx({onClose:()=>{l.value=!1},isUsingKeyboardRef:u,dir:s,modal:o}),(d,f)=>(a.openBlock(),a.createBlock(a.unref(w1),null,{default:a.withCtx(()=>[a.renderSlot(d.$slots,"default")]),_:3}))}}),jx="rovingFocusGroup.onEntryFocus",Hx={bubbles:!1,cancelable:!0},qx={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Wx(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Gx(e,t,n){const r=Wx(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return qx[r]}function Wm(e,t=!1){const n=pn();for(const r of e)if(r===n||(r.focus({preventScroll:t}),pn()!==n))return}function Kx(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const[Yx,Jx]=Tt("RovingFocusGroup"),Gm=a.defineComponent({__name:"RovingFocusGroup",props:{orientation:{default:void 0},dir:{},loop:{type:Boolean,default:!1},currentTabStopId:{},defaultCurrentTabStopId:{},preventScrollOnEntryFocus:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["entryFocus","update:currentTabStopId"],setup(e,{expose:t,emit:n}){const r=e,o=n,{loop:i,orientation:s,dir:l}=a.toRefs(r),c=so(l),u=Yt(r,"currentTabStopId",o,{defaultValue:r.defaultCurrentTabStopId,passive:r.currentTabStopId===void 0}),d=a.ref(!1),f=a.ref(!1),h=a.ref(0),{getItems:p}=Dx();function g(y){const k=!f.value;if(y.currentTarget&&y.target===y.currentTarget&&k&&!d.value){const v=new CustomEvent(jx,Hx);if(y.currentTarget.dispatchEvent(v),o("entryFocus",v),!v.defaultPrevented){const m=p().map(x=>x.ref).filter(x=>x.dataset.disabled!==""),b=m.find(x=>x.getAttribute("data-active")==="true"),_=m.find(x=>x.id===u.value),E=[b,_,...m].filter(Boolean);Wm(E,r.preventScrollOnEntryFocus)}}f.value=!1}function w(){setTimeout(()=>{f.value=!1},1)}return t({getItems:p}),Jx({loop:i,dir:c,orientation:s,currentTabStopId:u,onItemFocus:y=>{u.value=y},onItemShiftTab:()=>{d.value=!0},onFocusableItemAdd:()=>{h.value++},onFocusableItemRemove:()=>{h.value--}}),(y,k)=>(a.openBlock(),a.createBlock(a.unref(Mx),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Ie),{tabindex:d.value||h.value===0?-1:0,"data-orientation":a.unref(s),as:y.as,"as-child":y.asChild,dir:a.unref(c),style:{outline:"none"},onMousedown:k[0]||(k[0]=v=>f.value=!0),onMouseup:w,onFocus:g,onBlur:k[1]||(k[1]=v=>d.value=!1)},{default:a.withCtx(()=>[a.renderSlot(y.$slots,"default")]),_:3},8,["tabindex","data-orientation","as","as-child","dir"])]),_:3}))}}),Xx=a.defineComponent({__name:"RovingFocusItem",props:{tabStopId:{},focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!0},allowShiftKey:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(e){const t=e,n=Yx(),r=a.computed(()=>t.tabStopId||Ea()),o=a.computed(()=>n.currentTabStopId.value===r.value),{getItems:i}=qm();a.onMounted(()=>{t.focusable&&n.onFocusableItemAdd()}),a.onUnmounted(()=>{t.focusable&&n.onFocusableItemRemove()});function s(l){if(l.key==="Tab"&&l.shiftKey){n.onItemShiftTab();return}if(l.target!==l.currentTarget)return;const c=Gx(l,n.orientation.value,n.dir.value);if(c!==void 0){if(l.metaKey||l.ctrlKey||l.altKey||!t.allowShiftKey&&l.shiftKey)return;l.preventDefault();let u=[...i().map(d=>d.ref).filter(d=>d.dataset.disabled!=="")];if(c==="last")u.reverse();else if(c==="prev"||c==="next"){c==="prev"&&u.reverse();const d=u.indexOf(l.currentTarget);u=n.loop.value?Kx(u,d+1):u.slice(d+1)}a.nextTick(()=>Wm(u))}}return(l,c)=>(a.openBlock(),a.createBlock(a.unref(Hm),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Ie),{tabindex:o.value?0:-1,"data-orientation":a.unref(n).orientation.value,"data-active":l.active,"data-disabled":l.focusable?void 0:"",as:l.as,"as-child":l.asChild,onMousedown:c[0]||(c[0]=u=>{l.focusable?a.unref(n).onItemFocus(r.value):u.preventDefault()}),onFocus:c[1]||(c[1]=u=>a.unref(n).onItemFocus(r.value)),onKeydown:s},{default:a.withCtx(()=>[a.renderSlot(l.$slots,"default")]),_:3},8,["tabindex","data-orientation","data-active","data-disabled","as","as-child"])]),_:3}))}}),[Km,Qx]=Tt("MenuContent"),Ym=a.defineComponent({__name:"MenuContentImpl",props:a.mergeDefaults({loop:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},disableOutsideScroll:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...zm}),emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus","dismiss"],setup(e,{emit:t}){const n=e,r=t,o=Bc(),i=C1(),{trapFocus:s,disableOutsidePointerEvents:l,loop:c}=a.toRefs(n);Tm(),l1(l.value);const u=a.ref(""),d=a.ref(0),f=a.ref(0),h=a.ref(null),p=a.ref("right"),g=a.ref(0),w=a.ref(null),{createCollection:y}=nE(),{forwardRef:k,currentElement:v}=Ee(),m=y(v);a.watch(v,S=>{o.onContentChange(S)});const{handleTypeaheadSearch:b}=yE(m);a.onUnmounted(()=>{window.clearTimeout(d.value)});function _(S){var A,D;return p.value===((A=h.value)==null?void 0:A.side)&&UE(S,(D=h.value)==null?void 0:D.area)}async function E(S){var A;r("openAutoFocus",S),!S.defaultPrevented&&(S.preventDefault(),(A=v.value)==null||A.focus({preventScroll:!0}))}function x(S){if(S.defaultPrevented)return;const A=S.target.closest("[data-radix-menu-content]")===S.currentTarget,D=S.ctrlKey||S.altKey||S.metaKey,q=S.key.length===1,F=Yk(S,pn(),v.value,{loop:c.value,arrowKeyOptions:"vertical",dir:i==null?void 0:i.dir.value,focus:!0,attributeName:"[data-radix-vue-collection-item]:not([data-disabled])"});if(F)return F==null?void 0:F.focus();if(S.code==="Space"||(A&&(S.key==="Tab"&&S.preventDefault(),!D&&q&&b(S.key)),S.target!==v.value)||!PE.includes(S.key))return;S.preventDefault();const X=m.value;Mm.includes(S.key)&&X.reverse(),LE(X)}function O(S){var A,D;(D=(A=S==null?void 0:S.currentTarget)==null?void 0:A.contains)!=null&&D.call(A,S.target)||(window.clearTimeout(d.value),u.value="")}function B(S){var A;if(!b1(S))return;const D=S.target,q=g.value!==S.clientX;if((A=S==null?void 0:S.currentTarget)!=null&&A.contains(D)&&q){const F=S.clientX>g.value?"right":"left";p.value=F,g.value=S.clientX}}return Qx({onItemEnter:S=>!!_(S),onItemLeave:S=>{var A;_(S)||((A=v.value)==null||A.focus(),w.value=null)},onTriggerLeave:S=>!!_(S),searchRef:u,pointerGraceTimerRef:f,onPointerGraceIntentChange:S=>{h.value=S}}),(S,A)=>(a.openBlock(),a.createBlock(a.unref(v1),{"as-child":"",trapped:a.unref(s),onMountAutoFocus:E,onUnmountAutoFocus:A[7]||(A[7]=D=>r("closeAutoFocus",D))},{default:a.withCtx(()=>[a.createVNode(a.unref(Ac),{"as-child":"","disable-outside-pointer-events":a.unref(l),onEscapeKeyDown:A[2]||(A[2]=D=>r("escapeKeyDown",D)),onPointerDownOutside:A[3]||(A[3]=D=>r("pointerDownOutside",D)),onFocusOutside:A[4]||(A[4]=D=>r("focusOutside",D)),onInteractOutside:A[5]||(A[5]=D=>r("interactOutside",D)),onDismiss:A[6]||(A[6]=D=>r("dismiss"))},{default:a.withCtx(()=>[a.createVNode(a.unref(Gm),{"current-tab-stop-id":w.value,"onUpdate:currentTabStopId":A[0]||(A[0]=D=>w.value=D),"as-child":"",orientation:"vertical",dir:a.unref(i).dir.value,loop:a.unref(c),onEntryFocus:A[1]||(A[1]=D=>{r("entryFocus",D),a.unref(i).isUsingKeyboardRef.value||D.preventDefault()})},{default:a.withCtx(()=>[a.createVNode(a.unref(E1),{ref:a.unref(k),role:"menu",as:S.as,"as-child":S.asChild,"aria-orientation":"vertical","data-radix-menu-content":"","data-state":a.unref(Pm)(a.unref(o).open.value),dir:a.unref(i).dir.value,side:S.side,"side-offset":S.sideOffset,align:S.align,"align-offset":S.alignOffset,"avoid-collisions":S.avoidCollisions,"collision-boundary":S.collisionBoundary,"collision-padding":S.collisionPadding,"arrow-padding":S.arrowPadding,"prioritize-position":S.prioritizePosition,sticky:S.sticky,"hide-when-detached":S.hideWhenDetached,onKeydown:x,onBlur:O,onPointermove:B},{default:a.withCtx(()=>[a.renderSlot(S.$slots,"default")]),_:3},8,["as","as-child","data-state","dir","side","side-offset","align","align-offset","avoid-collisions","collision-boundary","collision-padding","arrow-padding","prioritize-position","sticky","hide-when-detached"])]),_:3},8,["current-tab-stop-id","dir","loop"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),Nx=a.defineComponent({inheritAttrs:!1,__name:"MenuItemImpl",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(e){const t=e,n=Km(),{forwardRef:r}=Ee(),o=a.ref(!1);async function i(l){if(!l.defaultPrevented&&b1(l)){if(t.disabled)n.onItemLeave(l);else if(!n.onItemEnter(l)){const c=l.currentTarget;c==null||c.focus({preventScroll:!0})}}}async function s(l){await a.nextTick(),!l.defaultPrevented&&b1(l)&&n.onItemLeave(l)}return(l,c)=>(a.openBlock(),a.createBlock(a.unref(Hm),{value:{textValue:l.textValue}},{default:a.withCtx(()=>[a.createVNode(a.unref(Ie),a.mergeProps({ref:a.unref(r),role:"menuitem",tabindex:"-1"},l.$attrs,{as:l.as,"as-child":l.asChild,"data-radix-vue-collection-item":"","aria-disabled":l.disabled||void 0,"data-disabled":l.disabled?"":void 0,"data-highlighted":o.value?"":void 0,onPointermove:i,onPointerleave:s,onFocus:c[0]||(c[0]=async u=>{await a.nextTick(),!(u.defaultPrevented||l.disabled)&&(o.value=!0)}),onBlur:c[1]||(c[1]=async u=>{await a.nextTick(),!u.defaultPrevented&&(o.value=!1)})}),{default:a.withCtx(()=>[a.renderSlot(l.$slots,"default")]),_:3},16,["as","as-child","aria-disabled","data-disabled","data-highlighted"])]),_:3},8,["value"]))}}),$x=a.defineComponent({__name:"MenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(e,{emit:t}){const n=e,r=t,{forwardRef:o,currentElement:i}=Ee(),s=C1(),l=Km(),c=a.ref(!1);async function u(){const d=i.value;if(!n.disabled&&d){const f=new CustomEvent(DE,{bubbles:!0,cancelable:!0});r("select",f),await a.nextTick(),f.defaultPrevented?c.value=!1:s.onClose()}}return(d,f)=>(a.openBlock(),a.createBlock(Nx,a.mergeProps(n,{ref:a.unref(o),onClick:u,onPointerdown:f[0]||(f[0]=()=>{c.value=!0}),onPointerup:f[1]||(f[1]=async h=>{var p;await a.nextTick(),!h.defaultPrevented&&(c.value||(p=h.currentTarget)==null||p.click())}),onKeydown:f[2]||(f[2]=async h=>{const p=a.unref(l).searchRef.value!=="";d.disabled||p&&h.key===" "||a.unref(y1).includes(h.key)&&(h.currentTarget.click(),h.preventDefault())})}),{default:a.withCtx(()=>[a.renderSlot(d.$slots,"default")]),_:3},16))}}),eC=a.defineComponent({__name:"MenuRootContentModal",props:{loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=Yr(n,r),i=Bc(),{forwardRef:s,currentElement:l}=Ee();return h1(l),(c,u)=>(a.openBlock(),a.createBlock(Ym,a.mergeProps(a.unref(o),{ref:a.unref(s),"trap-focus":a.unref(i).open.value,"disable-outside-pointer-events":a.unref(i).open.value,"disable-outside-scroll":!0,onDismiss:u[0]||(u[0]=d=>a.unref(i).onOpenChange(!1)),onFocusOutside:u[1]||(u[1]=a.withModifiers(d=>r("focusOutside",d),["prevent"]))}),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16,["trap-focus","disable-outside-pointer-events"]))}}),tC=a.defineComponent({__name:"MenuRootContentNonModal",props:{loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=Yr(e,t),r=Bc();return(o,i)=>(a.openBlock(),a.createBlock(Ym,a.mergeProps(a.unref(n),{"trap-focus":!1,"disable-outside-pointer-events":!1,"disable-outside-scroll":!1,onDismiss:i[0]||(i[0]=s=>a.unref(r).onOpenChange(!1))}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16))}}),nC=a.defineComponent({__name:"MenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=Yr(e,t),r=Bc(),o=C1();return(i,s)=>(a.openBlock(),a.createBlock(a.unref(lo),{present:i.forceMount||a.unref(r).open.value},{default:a.withCtx(()=>[a.unref(o).modal.value?(a.openBlock(),a.createBlock(eC,a.normalizeProps(a.mergeProps({key:0},{...i.$attrs,...a.unref(n)})),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16)):(a.openBlock(),a.createBlock(tC,a.normalizeProps(a.mergeProps({key:1},{...i.$attrs,...a.unref(n)})),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),rC=a.defineComponent({__name:"MenuPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(Tc),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),aC=["hour","minute","second"];function Jm(e){const{formatter:t}=e,n=n1.map(r=>[r,e.value[r]]);if("hour"in e.value){const r=vm.map(i=>i==="dayPeriod"?[i,t.dayPeriod(zn(e.value))]:[i,e.value[i]]),o=[...n,...r];return Object.fromEntries(o)}return Object.fromEntries(n)}function oC(e){const t=ym.map(n=>n==="dayPeriod"?[n,"AM"]:[n,null]).filter(([n])=>n==="literal"||n===null||e==="minute"&&n==="second"||e==="hour"&&(n==="second"||n==="minute")?!1:e==="day"?!aC.includes(n)&&n!=="dayPeriod":!0);return Object.fromEntries(t)}function iC(e){const{segmentValues:t,formatter:n,locale:r}=e;function o(i){if("hour"in t){const s=t[i];return s!==null?i==="day"&&t.month!==null?n.part(e.dateRef.set({[i]:s,month:t.month}),i,{hourCycle:e.hourCycle===24?"h24":void 0}):n.part(e.dateRef.set({[i]:s}),i,{hourCycle:e.hourCycle===24?"h24":void 0}):t1(i,"",r.value)}else{if(Bk(i)){const s=t[i];return s!==null?i==="day"&&t.month!==null?n.part(e.dateRef.set({[i]:s,month:t.month}),i):n.part(e.dateRef.set({[i]:s}),i):t1(i,"",r.value)}return""}}return Object.keys(t).reduce((i,s)=>{if(!bm(s))return i;if("hour"in t&&s==="dayPeriod"){const l=t[s];l!==null?i[s]=l:i[s]=t1(s,"AM",r.value)}else i[s]=o(s);return i},{})}function sC(e){const{granularity:t,formatter:n,contentObj:r,hideTimeZone:o,hourCycle:i}=e;return n.toParts(e.dateRef,Ik(t,i)).map(s=>["literal","timeZoneName",null].includes(s.type)||!bm(s.type)?{part:s.type,value:s.value}:{part:s.type,value:r[s.type]}).filter(s=>!(s.part===null||s.value===null||s.part==="timeZoneName"&&(!mc(e.dateRef)||o)))}function lC(e){const t=iC(e),n=sC({contentObj:t,...e});return{obj:t,arr:n}}function Ca(e){const t=Ss();return e===t.ARROW_RIGHT||e===t.ARROW_LEFT}function uo(e){return!Number.isNaN(Number.parseInt(e))}function Sa(e){const t=Ss();return!!([t.ENTER,t.ARROW_UP,t.ARROW_DOWN,t.ARROW_LEFT,t.ARROW_RIGHT,t.BACKSPACE,t.SPACE,"a","A","p","P"].includes(e)||uo(e))}function Xm(e){return Array.from(e.querySelectorAll("[data-radix-vue-date-field-segment]")).filter(t=>t.getAttribute("data-radix-vue-date-field-segment")!=="literal")}const cC=["id","value","name","disabled","required"],[uC,dC]=Tt("DateFieldRoot"),fC=a.defineComponent({inheritAttrs:!1,__name:"DateFieldRoot",props:{defaultValue:{default:void 0},defaultPlaceholder:{},placeholder:{default:void 0},modelValue:{},hourCycle:{},granularity:{},hideTimeZone:{type:Boolean},maxValue:{},minValue:{},locale:{default:"en"},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},isDateUnavailable:{type:Function,default:void 0},name:{},required:{type:Boolean},id:{},dir:{},asChild:{type:Boolean},as:{}},emits:["update:modelValue","update:placeholder"],setup(e,{expose:t,emit:n}){const r=e,o=n,{locale:i,disabled:s,readonly:l,isDateUnavailable:c,granularity:u,defaultValue:d,dir:f}=a.toRefs(r),h=Sm(r.locale),p=so(f),{primitiveElement:g,currentElement:w}=Ts(),y=a.ref(new Set);a.onMounted(()=>{Xm(w.value).forEach(Z=>y.value.add(Z))});const k=Yt(r,"modelValue",o,{defaultValue:d.value,passive:r.modelValue===void 0}),v=$f({defaultPlaceholder:r.placeholder,granularity:u.value,defaultValue:k.value,locale:r.locale}),m=Yt(r,"placeholder",o,{defaultValue:r.defaultPlaceholder??v.copy(),passive:r.placeholder===void 0}),b=a.computed(()=>r.granularity?Uf(m.value)?r.granularity:"day":Uf(m.value)?"minute":"day"),_=a.computed(()=>{var Z;return k.value?!!((Z=c.value)!=null&&Z.call(c,k.value)||r.minValue&&ni(k.value,r.minValue)||r.maxValue&&ni(r.maxValue,k.value)):!1}),E=oC(b.value),x=a.ref(k.value?{...Jm({value:k.value,formatter:h})}:{...E}),O=a.computed(()=>lC({granularity:b.value,dateRef:m.value,formatter:h,hideTimeZone:r.hideTimeZone,hourCycle:r.hourCycle,segmentValues:x.value,locale:i})),B=a.computed(()=>O.value.arr),S=a.computed(()=>B.value.filter(({part:Z})=>Z!=="literal"));a.watch(i,Z=>{h.getLocale()!==Z&&(h.setLocale(Z),a.nextTick(()=>{y.value.clear(),Xm(w.value).forEach(z=>y.value.add(z))}))}),a.watch(k,Z=>{!mm(Z)&&m.value.compare(Z)!==0&&(m.value=Z.copy())}),a.watch([k,i],([Z])=>{mm(Z)?Object.values(x.value).every(z=>z!==null)&&Z===void 0&&(x.value={...E}):x.value={...Jm({value:Z,formatter:h})}});const A=a.ref(null),D=a.computed(()=>Array.from(y.value).findIndex(Z=>{var z;return Z.getAttribute("data-radix-vue-date-field-segment")===((z=A.value)==null?void 0:z.getAttribute("data-radix-vue-date-field-segment"))})),q=a.computed(()=>{const Z=p.value==="rtl"?-1:1;return(Z<0?D.value<0:D.value>y.value.size-1)?null:Array.from(y.value)[D.value+Z]}),F=a.computed(()=>{const Z=p.value==="rtl"?-1:1;return(Z>0?D.value<0:D.value>y.value.size-1)?null:Array.from(y.value)[D.value-Z]}),X=Ss();function fe(Z){var z,ne;Ca(Z.key)&&(Z.key===X.ARROW_LEFT&&((z=F.value)==null||z.focus()),Z.key===X.ARROW_RIGHT&&((ne=q.value)==null||ne.focus()))}function ae(Z){A.value=Z}return dC({isDateUnavailable:c.value,locale:i,modelValue:k,placeholder:m,disabled:s,formatter:h,hourCycle:r.hourCycle,readonly:l,segmentValues:x,isInvalid:_,segmentContents:S,elements:y,setFocusedElement:ae,focusNext(){var Z;(Z=q.value)==null||Z.focus()}}),t({setFocusedElement:ae}),(Z,z)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createVNode(a.unref(Ie),a.mergeProps(Z.$attrs,{ref_key:"primitiveElement",ref:g,role:"group","aria-disabled":a.unref(s)?!0:void 0,"data-disabled":a.unref(s)?"":void 0,"data-readonly":a.unref(l)?"":void 0,"data-invalid":_.value?"":void 0,dir:a.unref(p),onKeydown:a.withKeys(fe,["left","right"])}),{default:a.withCtx(()=>[a.renderSlot(Z.$slots,"default",{modelValue:a.unref(k),segments:B.value,isInvalid:_.value})]),_:3},16,["aria-disabled","data-disabled","data-readonly","data-invalid","dir"]),a.createElementVNode("input",{id:Z.id,type:"text",tabindex:"-1","aria-hidden":"true",value:a.unref(k)?a.unref(k).toString():"",name:Z.name,disabled:a.unref(s),required:Z.required,style:{transform:"translateX(-100%)",position:"absolute",pointerEvents:"none",opacity:0,margin:0},onFocus:z[0]||(z[0]=ne=>{var Y,de;return(de=(Y=Array.from(y.value))==null?void 0:Y[0])==null?void 0:de.focus()})},null,40,cC)],64))}});function Ta(e){return{role:"spinbutton",contenteditable:!0,tabindex:e.disabled?void 0:0,spellcheck:!1,inputmode:"numeric",autocorrect:"off",enterkeyhint:"next",style:"caret-color: transparent;"}}function hC(e){const{segmentValues:t,placeholder:n}=e,r=t.day===null,o=t.day?n.set({day:t.day}):n,i=o.day,s=1,l=_r(o),c=r?"Empty":`${i}`;return{...Ta(e),"aria-label":"day,","aria-valuemin":s,"aria-valuemax":l,"aria-valuenow":i,"aria-valuetext":c,"data-placeholder":r?"":void 0}}function pC(e){const{segmentValues:t,placeholder:n,formatter:r}=e,o=t.month===null,i=t.month?n.set({month:t.month}):n,s=i.month,l=1,c=12,u=o?"Empty":`${s} - ${r.fullMonth(zn(i))}`;return{...Ta(e),"aria-label":"month, ",contenteditable:!0,"aria-valuemin":l,"aria-valuemax":c,"aria-valuenow":s,"aria-valuetext":u,"data-placeholder":o?"":void 0}}function mC(e){const{segmentValues:t,placeholder:n}=e,r=t.year===null,o=t.year?n.set({year:t.year}):n,i=1,s=9999,l=o.year,c=r?"Empty":`${l}`;return{...Ta(e),"aria-label":"year, ","aria-valuemin":i,"aria-valuemax":s,"aria-valuenow":l,"aria-valuetext":c,"data-placeholder":r?"":void 0}}function gC(e){const{segmentValues:t,hourCycle:n,placeholder:r}=e;if(!("hour"in t)||!("hour"in r))return{};const o=t.hour===null,i=t.hour?r.set({hour:t.hour}):r,s=n===12?1:0,l=n===12?12:23,c=i.hour,u=o?"Empty":`${c} ${t.dayPeriod??""}`;return{...Ta(e),"aria-label":"hour, ","aria-valuemin":s,"aria-valuemax":l,"aria-valuenow":c,"aria-valuetext":u,"data-placeholder":o?"":void 0}}function vC(e){const{segmentValues:t,placeholder:n}=e;if(!("minute"in t)||!("minute"in n))return{};const r=t.minute===null,o=(t.minute?n.set({minute:t.minute}):n).minute,i=0,s=59,l=r?"Empty":`${o}`;return{...Ta(e),"aria-label":"minute, ","aria-valuemin":i,"aria-valuemax":s,"aria-valuenow":o,"aria-valuetext":l,"data-placeholder":r?"":void 0}}function yC(e){const{segmentValues:t,placeholder:n}=e;if(!("second"in t)||!("second"in n))return{};const r=t.second===null,o=(t.second?n.set({second:t.second}):n).second,i=0,s=59,l=r?"Empty":`${o}`;return{...Ta(e),"aria-label":"second, ","aria-valuemin":i,"aria-valuemax":s,"aria-valuenow":o,"aria-valuetext":l,"data-placeholder":r?"":void 0}}function bC(e){const{segmentValues:t}=e;if(!("dayPeriod"in t))return{};const n=0,r=12,o=t.hour?t.hour>12?t.hour-12:t.hour:0,i=t.dayPeriod??"AM";return{...Ta(e),inputmode:"text","aria-label":"AM/PM","aria-valuemin":n,"aria-valuemax":r,"aria-valuenow":o,"aria-valuetext":i}}function wC(e){return{"aria-hidden":!0,"data-segment":"literal"}}function _C(e){return{role:"textbox","aria-label":"timezone, ","data-readonly":!0,"data-segment":"timeZoneName",tabindex:e.disabled?void 0:0,style:"caret-color: transparent;"}}function kC(e){const{segmentValues:t,placeholder:n}=e,r=0,o=0,i=0,s="era"in t?t.era:n.era;return{...Ta(e),"aria-label":"era","aria-valuemin":r,"aria-valuemax":o,"aria-valuenow":i,"aria-valuetext":s}}const EC={day:{attrs:hC},month:{attrs:pC},year:{attrs:mC},hour:{attrs:gC},minute:{attrs:vC},second:{attrs:yC},dayPeriod:{attrs:bC},literal:{attrs:wC},timeZoneName:{attrs:_C},era:{attrs:kC}};function xC(e){const t=Ss();function n({e:m,part:b,dateRef:_,prevValue:E}){const x=m.key===t.ARROW_UP?1:-1,O=0,B=59;if(E===null)return x>0?O:B;const S=[b,x];return _.set({[b]:E}).cycle(...S)[b]}function r(m){if(e.hasLeftFocus.value=!1,m===null)return m;const b=m.toString();return b.length===1?(e.modelValue.value=void 0,null):Number.parseInt(b.slice(0,-1))}function o({e:m,part:b,dateRef:_,prevValue:E,hourCycle:x}){const O=m.key===t.ARROW_UP?1:-1;if(E===null)return _[b];if(b==="hour"&&"hour"in _){const S=[b,O,{hourCycle:x}];return _.set({[b]:E}).cycle(...S)[b]}const B=[b,O];return b==="day"&&e.segmentValues.value.month!==null?_.set({[b]:E,month:e.segmentValues.value.month}).cycle(...B)[b]:_.set({[b]:E}).cycle(...B)[b]}function i(m,b,_){let E=!1;const x=Math.floor(m/10);if(e.hasLeftFocus.value&&(e.hasLeftFocus.value=!1,_=null),_===null)return b===0?(e.lastKeyZero.value=!0,{value:null,moveToNext:E}):((e.lastKeyZero.value||b>x)&&(E=!0),e.lastKeyZero.value=!1,{value:b,moveToNext:E});const O=_.toString().length,B=Number.parseInt(_.toString()+b.toString());return O===2||B>m?((b>x||B>m)&&(E=!0),{value:b,moveToNext:E}):(E=!0,{value:B,moveToNext:E})}function s(m,b){let _=!1;const E=Math.floor(59/10);if(e.hasLeftFocus.value&&(e.hasLeftFocus.value=!1,b=null),b===null)return m===0?(e.lastKeyZero.value=!0,{value:0,moveToNext:_}):((e.lastKeyZero.value||m>E)&&(_=!0),e.lastKeyZero.value=!1,{value:m,moveToNext:_});const x=b.toString().length,O=Number.parseInt(b.toString()+m.toString());return x===2||O>59?(m>E&&(_=!0),{value:m,moveToNext:_}):(_=!0,{value:O,moveToNext:_})}function l(m,b){let _=!1;const E=Math.floor(24/10);if(e.hasLeftFocus.value&&(e.hasLeftFocus.value=!1,b=null),b===null)return m===0?(e.lastKeyZero.value=!0,{value:0,moveToNext:_}):((e.lastKeyZero.value||m>E)&&(_=!0),e.lastKeyZero.value=!1,{value:m,moveToNext:_});const x=b.toString().length,O=Number.parseInt(b.toString()+m.toString());return x===2||O>24?(m>E&&(_=!0),{value:m,moveToNext:_}):(_=!0,{value:O,moveToNext:_})}function c(m,b){let _=!1;if(e.hasLeftFocus.value&&(e.hasLeftFocus.value=!1,b=null),b===null)return{value:m===0?1:m,moveToNext:_};const E=b.toString()+m.toString();return E.length>4?{value:m===0?1:m,moveToNext:_}:(E.length===4&&(_=!0),{value:Number.parseInt(E),moveToNext:_})}const u=a.computed(()=>{var m;return((m=EC[e.part])==null?void 0:m.attrs({disabled:e.disabled.value,placeholder:e.placeholder.value,hourCycle:e.hourCycle,segmentValues:e.segmentValues.value,formatter:e.formatter}))??{}});function d(m){if(!Sa(m.key)||Ca(m.key))return;const b=e.segmentValues.value.day;if(m.key===t.ARROW_DOWN||m.key===t.ARROW_UP){e.segmentValues.value.day=o({e:m,part:"day",dateRef:e.placeholder.value,prevValue:b});return}if(uo(m.key)){const _=Number.parseInt(m.key),E=e.segmentValues.value.month,x=_r(E?e.placeholder.value.set({month:E}):e.placeholder.value),{value:O,moveToNext:B}=i(x,_,b);e.segmentValues.value.day=O,B&&e.focusNext()}m.key===t.BACKSPACE&&(e.hasLeftFocus.value=!1,e.segmentValues.value.day=r(b))}function f(m){if(!Sa(m.key)||Ca(m.key))return;const b=e.segmentValues.value.month;if(m.key===t.ARROW_DOWN||m.key===t.ARROW_UP){e.segmentValues.value.month=o({e:m,part:"month",dateRef:e.placeholder.value,prevValue:b});return}if(uo(m.key)){const _=Number.parseInt(m.key),{value:E,moveToNext:x}=i(12,_,b);e.segmentValues.value.month=E,x&&e.focusNext()}m.key===t.BACKSPACE&&(e.hasLeftFocus.value=!1,e.segmentValues.value.month=r(b))}function h(m){if(!Sa(m.key)||Ca(m.key))return;const b=e.segmentValues.value.year;if(m.key===t.ARROW_DOWN||m.key===t.ARROW_UP){e.segmentValues.value.year=o({e:m,part:"year",dateRef:e.placeholder.value,prevValue:b});return}if(uo(m.key)){const _=Number.parseInt(m.key),{value:E,moveToNext:x}=c(_,b);e.segmentValues.value.year=E,x&&e.focusNext()}m.key===t.BACKSPACE&&(e.hasLeftFocus.value=!1,e.segmentValues.value.year=r(b))}function p(m){const b=e.placeholder.value;if(!Sa(m.key)||Ca(m.key)||!("hour"in b)||!("hour"in e.segmentValues.value))return;const _=e.segmentValues.value.hour,E=e.hourCycle;if(m.key===t.ARROW_UP||m.key===t.ARROW_DOWN){e.segmentValues.value.hour=o({e:m,part:"hour",dateRef:e.placeholder.value,prevValue:_,hourCycle:E}),"dayPeriod"in e.segmentValues.value&&(e.segmentValues.value.hour<12?e.segmentValues.value.dayPeriod="AM":e.segmentValues.value.hour&&(e.segmentValues.value.dayPeriod="PM"));return}if(uo(m.key)){const x=Number.parseInt(m.key),{value:O,moveToNext:B}=l(x,_);"dayPeriod"in e.segmentValues.value&&O&&O>12?e.segmentValues.value.dayPeriod="PM":"dayPeriod"in e.segmentValues.value&&O&&(e.segmentValues.value.dayPeriod="AM"),e.segmentValues.value.hour=O,B&&e.focusNext()}m.key===t.BACKSPACE&&(e.hasLeftFocus.value=!1,e.segmentValues.value.hour=r(_))}function g(m){const b=e.placeholder.value;if(!Sa(m.key)||Ca(m.key)||!("minute"in b)||!("minute"in e.segmentValues.value))return;const _=e.segmentValues.value.minute;if(e.segmentValues.value.minute=n({e:m,part:"minute",dateRef:e.placeholder.value,prevValue:_}),uo(m.key)){const E=Number.parseInt(m.key),{value:x,moveToNext:O}=s(E,_);e.segmentValues.value.minute=x,O&&e.focusNext()}m.key===t.BACKSPACE&&(e.hasLeftFocus.value=!1,e.segmentValues.value.minute=r(_))}function w(m){const b=e.placeholder.value;if(!Sa(m.key)||Ca(m.key)||!("second"in b)||!("second"in e.segmentValues.value))return;const _=e.segmentValues.value.second;if(e.segmentValues.value.second=n({e:m,part:"second",dateRef:e.placeholder.value,prevValue:_}),uo(m.key)){const E=Number.parseInt(m.key),{value:x,moveToNext:O}=s(E,_);e.segmentValues.value.second=x,O&&e.focusNext()}m.key===t.BACKSPACE&&(e.hasLeftFocus.value=!1,e.segmentValues.value.second=r(_))}function y(m){if(!((!Sa(m.key)||Ca(m.key))&&m.key!=="a"&&m.key!=="p"||!("hour"in e.placeholder.value)||!("dayPeriod"in e.segmentValues.value))){if(m.key===t.ARROW_UP||m.key===t.ARROW_DOWN){if(e.segmentValues.value.dayPeriod==="AM"){e.segmentValues.value.dayPeriod="PM",e.segmentValues.value.hour=e.segmentValues.value.hour+12;return}e.segmentValues.value.dayPeriod="AM",e.segmentValues.value.hour=e.segmentValues.value.hour-12;return}if(["a","A"].includes(m.key)&&e.segmentValues.value.dayPeriod!=="AM"){e.segmentValues.value.dayPeriod="AM",e.segmentValues.value.hour=e.segmentValues.value.hour-12;return}["p","P"].includes(m.key)&&e.segmentValues.value.dayPeriod!=="PM"&&(e.segmentValues.value.dayPeriod="PM",e.segmentValues.value.hour=e.segmentValues.value.hour+12)}}function k(m){e.disabled.value&&m.preventDefault()}function v(m){const b=e.disabled.value,_=e.readonly.value;if(m.key!==t.TAB&&m.preventDefault(),!(b||_)&&({day:d,month:f,year:h,hour:p,minute:g,second:w,dayPeriod:y,timeZoneName:()=>{}}[e.part](m),![t.ARROW_LEFT,t.ARROW_RIGHT].includes(m.key)&&m.key!==t.TAB&&m.key!==t.SHIFT&&Sa(m.key)&&Object.values(e.segmentValues.value).every(E=>E!==null))){const E={...e.segmentValues.value};let x=e.placeholder.value.copy();Object.keys(E).forEach(O=>{const B=E[O];x=x.set({[O]:B})}),e.modelValue.value=x.copy()}}return{handleSegmentClick:k,handleSegmentKeydown:v,attributes:u}}const CC=a.defineComponent({__name:"DateFieldInput",props:{part:{},asChild:{type:Boolean},as:{}},setup(e){const t=e,n=uC(),r=a.ref(!0),o=a.ref(!1),{handleSegmentClick:i,handleSegmentKeydown:s,attributes:l}=xC({hasLeftFocus:r,lastKeyZero:o,placeholder:n.placeholder,hourCycle:n.hourCycle,segmentValues:n.segmentValues,formatter:n.formatter,part:t.part,disabled:n.disabled,readonly:n.readonly,focusNext:n.focusNext,modelValue:n.modelValue}),c=a.computed(()=>n.disabled.value),u=a.computed(()=>n.readonly.value),d=a.computed(()=>n.isInvalid.value);return(f,h)=>(a.openBlock(),a.createBlock(a.unref(Ie),a.mergeProps({as:f.as,"as-child":f.asChild},a.unref(l),{contenteditable:c.value||u.value?!1:f.part!=="literal","data-radix-vue-date-field-segment":f.part,"aria-disabled":c.value?!0:void 0,"aria-readonly":u.value?!0:void 0,"data-disabled":c.value?"":void 0,"data-invalid":d.value?"":void 0,"aria-invalid":d.value?!0:void 0},a.toHandlers(f.part!=="literal"?{mousedown:a.unref(i),keydown:a.unref(s),focusout:()=>{r.value=!0},focusin:p=>{a.unref(n).setFocusedElement(p.target)}}:{})),{default:a.withCtx(()=>[a.renderSlot(f.$slots,"default")]),_:3},16,["as","as-child","contenteditable","data-radix-vue-date-field-segment","aria-disabled","aria-readonly","data-disabled","data-invalid","aria-invalid"]))}}),SC=a.defineComponent({__name:"DatePickerHeader",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(sx),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),TC=a.defineComponent({__name:"DatePickerHeading",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(lx),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(({headingValue:o})=>[a.renderSlot(n.$slots,"default",{headingValue:o},()=>[a.createTextVNode(a.toDisplayString(o),1)])]),_:3},16))}}),AC=a.defineComponent({__name:"DatePickerGrid",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(cx),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),OC=a.defineComponent({__name:"DatePickerCell",props:{date:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(ux),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),BC=a.defineComponent({__name:"DatePickerHeadCell",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(dx),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),IC=a.defineComponent({__name:"DatePickerNext",props:{step:{},nextPage:{type:Function},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(fx),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),VC=a.defineComponent({__name:"DatePickerPrev",props:{step:{},prevPage:{type:Function},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(hx),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),RC=a.defineComponent({__name:"DatePickerGridHead",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(px),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),DC=a.defineComponent({__name:"DatePickerGridBody",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(mx),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),Qm=a.defineComponent({__name:"DatePickerGridRow",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(gx),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),MC=a.defineComponent({__name:"DatePickerCellTrigger",props:{day:{},month:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(vx),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),Nm=a.defineComponent({__name:"DatePickerInput",props:{part:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(CC),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),[S1,PC]=Tt("DatePickerRoot"),LC=a.defineComponent({inheritAttrs:!1,__name:"DatePickerRoot",props:{defaultValue:{default:void 0},defaultPlaceholder:{},placeholder:{default:void 0},modelValue:{},hourCycle:{},granularity:{},hideTimeZone:{type:Boolean},maxValue:{},minValue:{},locale:{default:"en"},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},isDateUnavailable:{type:Function,default:void 0},name:{},required:{type:Boolean},id:{},dir:{},asChild:{type:Boolean},as:{},defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},modal:{type:Boolean,default:!1},isDateDisabled:{type:Function,default:void 0},pagedNavigation:{type:Boolean,default:!1},weekStartsOn:{default:0},weekdayFormat:{default:"narrow"},fixedWeeks:{type:Boolean,default:!1},numberOfMonths:{default:1},preventDeselect:{type:Boolean,default:!1}},emits:["update:modelValue","update:placeholder","update:open"],setup(e,{emit:t}){const n=e,r=t,{locale:o,disabled:i,readonly:s,pagedNavigation:l,weekStartsOn:c,weekdayFormat:u,fixedWeeks:d,numberOfMonths:f,preventDeselect:h,isDateDisabled:p,isDateUnavailable:g,defaultOpen:w,modal:y,id:k,name:v,required:m,minValue:b,maxValue:_,granularity:E,hideTimeZone:x,hourCycle:O,defaultValue:B,dir:S}=a.toRefs(n),A=so(S),D=Yt(n,"modelValue",r,{defaultValue:B.value,passive:n.modelValue===void 0}),q=a.computed(()=>$f({defaultPlaceholder:n.placeholder,granularity:n.granularity,defaultValue:D.value,locale:n.locale})),F=Yt(n,"placeholder",r,{defaultValue:n.defaultPlaceholder??q.value.copy(),passive:n.placeholder===void 0}),X=Yt(n,"open",r,{defaultValue:w.value,passive:n.open===void 0}),fe=a.ref();return a.watch(D,ae=>{ae&&ae.compare(F.value)!==0&&(F.value=ae.copy())}),PC({isDateUnavailable:g.value,isDateDisabled:p.value,locale:o,disabled:i,pagedNavigation:l,weekStartsOn:c,weekdayFormat:u,fixedWeeks:d,numberOfMonths:f,readonly:s,preventDeselect:h,modelValue:D,placeholder:F,defaultOpen:w,modal:y,open:X,id:k,name:v,required:m,minValue:b,maxValue:_,granularity:E,hideTimeZone:x,hourCycle:O,dateFieldRef:fe,dir:A,onDateChange(ae){!ae||!D.value?D.value=(ae==null?void 0:ae.copy())??void 0:!h.value&&ae&&D.value.compare(ae)===0?D.value=void 0:D.value=ae.copy()},onPlaceholderChange(ae){F.value=ae.copy()}}),(ae,Z)=>(a.openBlock(),a.createBlock(a.unref(JC),{open:a.unref(X),"onUpdate:open":Z[0]||(Z[0]=z=>a.isRef(X)?X.value=z:null),"default-open":a.unref(w),modal:a.unref(y)},{default:a.withCtx(()=>[a.renderSlot(ae.$slots,"default")]),_:3},8,["open","default-open","modal"]))}}),FC=a.defineComponent({__name:"DatePickerCalendar",setup(e){const t=S1();return(n,r)=>(a.openBlock(),a.createBlock(a.unref(ix),a.mergeProps({isDateDisabled:a.unref(t).isDateDisabled,isDateUnavailable:a.unref(t).isDateUnavailable,minValue:a.unref(t).minValue.value,maxValue:a.unref(t).maxValue.value,locale:a.unref(t).locale.value,disabled:a.unref(t).disabled.value,pagedNavigation:a.unref(t).pagedNavigation.value,weekStartsOn:a.unref(t).weekStartsOn.value,weekdayFormat:a.unref(t).weekdayFormat.value,fixedWeeks:a.unref(t).fixedWeeks.value,numberOfMonths:a.unref(t).numberOfMonths.value,readonly:a.unref(t).readonly.value,preventDeselect:a.unref(t).preventDeselect.value,dir:a.unref(t).dir.value},{"model-value":a.unref(t).modelValue.value,placeholder:a.unref(t).placeholder.value,"initial-focus":"",multiple:!1,"onUpdate:modelValue":r[0]||(r[0]=o=>{o&&a.unref(t).modelValue.value&&a.unref(ms)(o,a.unref(t).modelValue.value)||a.unref(t).onDateChange(o)}),"onUpdate:placeholder":r[1]||(r[1]=o=>{a.unref(ms)(o,a.unref(t).placeholder.value)||a.unref(t).onPlaceholderChange(o)})}),{default:a.withCtx(({weekDays:o,grid:i,date:s,weekStartsOn:l,locale:c,fixedWeeks:u})=>[a.renderSlot(n.$slots,"default",{date:s,grid:i,weekDays:o,weekStartsOn:l,locale:c,fixedWeeks:u})]),_:3},16,["model-value","placeholder"]))}}),UC=a.defineComponent({__name:"DatePickerField",setup(e){const t=S1();return(n,r)=>(a.openBlock(),a.createBlock(a.unref(fC),a.mergeProps({ref:a.unref(t).dateFieldRef,"model-value":a.unref(t).modelValue.value,placeholder:a.unref(t).placeholder.value},{id:a.unref(t).id.value,name:a.unref(t).name.value,disabled:a.unref(t).disabled.value,minValue:a.unref(t).minValue.value,maxValue:a.unref(t).maxValue.value,readonly:a.unref(t).readonly.value,hourCycle:a.unref(t).hourCycle.value,granularity:a.unref(t).granularity.value,hideTimeZone:a.unref(t).hideTimeZone.value,locale:a.unref(t).locale.value,isDateUnavailable:a.unref(t).isDateUnavailable,required:a.unref(t).required.value,dir:a.unref(t).dir.value},{"onUpdate:modelValue":r[0]||(r[0]=o=>{o&&a.unref(t).modelValue.value&&o.compare(a.unref(t).modelValue.value)===0||a.unref(t).onDateChange(o)}),"onUpdate:placeholder":r[1]||(r[1]=o=>{o.compare(a.unref(t).placeholder.value)!==0&&a.unref(t).onPlaceholderChange(o)})}),{default:a.withCtx(({segments:o,modelValue:i})=>[a.renderSlot(n.$slots,"default",{segments:o,modelValue:i})]),_:3},16,["model-value","placeholder"]))}}),ZC=a.defineComponent({__name:"DatePickerArrow",props:{width:{},height:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(tS),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),zC=a.defineComponent({__name:"DatePickerTrigger",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e,n=S1();return(r,o)=>(a.openBlock(),a.createBlock(a.unref(XC),a.mergeProps({"data-radix-vue-date-field-segment":"trigger"},t,{disabled:a.unref(n).disabled.value,onFocusin:o[0]||(o[0]=i=>{var s;(s=a.unref(n).dateFieldRef.value)==null||s.setFocusedElement(i.target)})}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["disabled"]))}}),jC=a.defineComponent({__name:"DatePickerContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=Yr(e,t);return(r,o)=>(a.openBlock(),a.createBlock(a.unref(QC),null,{default:a.withCtx(()=>[a.createVNode(a.unref(eS),a.normalizeProps(a.guardReactiveProps({...a.unref(n),...r.$attrs})),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16)]),_:3}))}}),[$m,HC]=Tt("DropdownMenuRoot"),qC=a.defineComponent({__name:"DropdownMenuRoot",props:{defaultOpen:{type:Boolean},open:{type:Boolean,default:void 0},dir:{},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=t;Ee();const o=Yt(n,"open",r,{defaultValue:n.defaultOpen,passive:n.open===void 0}),i=a.ref(),{modal:s,dir:l}=a.toRefs(n),c=so(l);return HC({open:o,onOpenChange:u=>{o.value=u},onOpenToggle:()=>{o.value=!o.value},triggerId:"",triggerElement:i,contentId:"",modal:s,dir:c}),(u,d)=>(a.openBlock(),a.createBlock(a.unref(zx),{open:a.unref(o),"onUpdate:open":d[0]||(d[0]=f=>a.isRef(o)?o.value=f:null),dir:a.unref(c),modal:a.unref(s)},{default:a.withCtx(()=>[a.renderSlot(u.$slots,"default",{open:a.unref(o)})]),_:3},8,["open","dir","modal"]))}}),WC=a.defineComponent({__name:"DropdownMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=$m(),{forwardRef:r,currentElement:o}=Ee();return a.onMounted(()=>{n.triggerElement=o}),n.triggerId||(n.triggerId=Ea(void 0,"radix-vue-dropdown-menu-trigger")),(i,s)=>(a.openBlock(),a.createBlock(a.unref(Px),{"as-child":""},{default:a.withCtx(()=>[a.createVNode(a.unref(Ie),{id:a.unref(n).triggerId,ref:a.unref(r),type:i.as==="button"?"button":void 0,"as-child":t.asChild,as:i.as,"aria-haspopup":"menu","aria-expanded":a.unref(n).open.value,"aria-controls":a.unref(n).open.value?a.unref(n).contentId:void 0,"data-disabled":i.disabled?"":void 0,disabled:i.disabled,"data-state":a.unref(n).open.value?"open":"closed",onClick:s[0]||(s[0]=async l=>{var c;!i.disabled&&l.button===0&&l.ctrlKey===!1&&((c=a.unref(n))==null||c.onOpenToggle(),await a.nextTick(),a.unref(n).open.value&&l.preventDefault())}),onKeydown:s[1]||(s[1]=a.withKeys(l=>{i.disabled||(["Enter"," "].includes(l.key)&&a.unref(n).onOpenToggle(),l.key==="ArrowDown"&&a.unref(n).onOpenChange(!0),["Enter"," ","ArrowDown"].includes(l.key)&&l.preventDefault())},["enter","space","arrow-down"]))},{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},8,["id","type","as-child","as","aria-expanded","aria-controls","data-disabled","disabled","data-state"])]),_:3}))}}),GC=a.defineComponent({__name:"DropdownMenuPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(rC),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),KC=a.defineComponent({__name:"DropdownMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(e,{emit:t}){const n=Yr(e,t);Ee();const r=$m(),o=a.ref(!1);function i(s){s.defaultPrevented||(o.value||setTimeout(()=>{var l;(l=r.triggerElement.value)==null||l.focus()},0),o.value=!1,s.preventDefault())}return r.contentId||(r.contentId=Ea(void 0,"radix-vue-dropdown-menu-content")),(s,l)=>{var c;return a.openBlock(),a.createBlock(a.unref(nC),a.mergeProps(a.unref(n),{id:a.unref(r).contentId,"aria-labelledby":(c=a.unref(r))==null?void 0:c.triggerId,style:{"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"},onCloseAutoFocus:i,onInteractOutside:l[0]||(l[0]=u=>{var d;if(u.defaultPrevented)return;const f=u.detail.originalEvent,h=f.button===0&&f.ctrlKey===!0,p=f.button===2||h;(!a.unref(r).modal.value||p)&&(o.value=!0),(d=a.unref(r).triggerElement.value)!=null&&d.contains(u.target)&&u.preventDefault()})}),{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default")]),_:3},16,["id","aria-labelledby"])}}}),Rs=a.defineComponent({__name:"DropdownMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(e,{emit:t}){const n=e,r=Cs(t);return Ee(),(o,i)=>(a.openBlock(),a.createBlock(a.unref($x),a.normalizeProps(a.guardReactiveProps({...n,...a.unref(r)})),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16))}}),[Ds,YC]=Tt("PopoverRoot"),JC=a.defineComponent({__name:"PopoverRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},modal:{type:Boolean,default:!1}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=t,{modal:o}=a.toRefs(n),i=Yt(n,"open",r,{defaultValue:n.defaultOpen,passive:n.open===void 0}),s=a.ref(),l=a.ref(!1);return YC({contentId:"",modal:o,open:i,onOpenChange:c=>{i.value=c},onOpenToggle:()=>{i.value=!i.value},triggerElement:s,hasCustomAnchor:l}),(c,u)=>(a.openBlock(),a.createBlock(a.unref(w1),null,{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default",{open:a.unref(i)})]),_:3}))}}),XC=a.defineComponent({__name:"PopoverTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=Ds(),{forwardRef:r,currentElement:o}=Ee();return a.onMounted(()=>{n.triggerElement.value=o.value}),(i,s)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(n).hasCustomAnchor.value?a.unref(Ie):a.unref(_1)),{"as-child":""},{default:a.withCtx(()=>[a.createVNode(a.unref(Ie),{ref:a.unref(r),type:i.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":a.unref(n).open.value,"aria-controls":a.unref(n).contentId,"data-state":a.unref(n).open.value?"open":"closed",as:i.as,"as-child":t.asChild,onClick:a.unref(n).onOpenToggle},{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},8,["type","aria-expanded","aria-controls","data-state","as","as-child","onClick"])]),_:3}))}}),QC=a.defineComponent({__name:"PopoverPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(Tc),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),e4=a.defineComponent({__name:"PopoverContentImpl",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=d1(n),{forwardRef:i}=Ee(),s=Ds();return Tm(),(l,c)=>(a.openBlock(),a.createBlock(a.unref(v1),{"as-child":"",loop:"",trapped:l.trapFocus,onMountAutoFocus:c[5]||(c[5]=u=>r("openAutoFocus",u)),onUnmountAutoFocus:c[6]||(c[6]=u=>r("closeAutoFocus",u))},{default:a.withCtx(()=>[a.createVNode(a.unref(Ac),{"as-child":"","disable-outside-pointer-events":l.disableOutsidePointerEvents,onPointerDownOutside:c[0]||(c[0]=u=>r("pointerDownOutside",u)),onInteractOutside:c[1]||(c[1]=u=>r("interactOutside",u)),onEscapeKeyDown:c[2]||(c[2]=u=>r("escapeKeyDown",u)),onFocusOutside:c[3]||(c[3]=u=>r("focusOutside",u)),onDismiss:c[4]||(c[4]=u=>a.unref(s).onOpenChange(!1))},{default:a.withCtx(()=>[a.createVNode(a.unref(E1),a.mergeProps(a.unref(o),{id:a.unref(s).contentId,ref:a.unref(i),"data-state":a.unref(s).open.value?"open":"closed",role:"dialog",style:{"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:a.withCtx(()=>[a.renderSlot(l.$slots,"default")]),_:3},16,["id","data-state"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),NC=a.defineComponent({__name:"PopoverContentModal",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=Ds(),i=a.ref(!1);l1(!0);const s=Yr(n,r),{forwardRef:l,currentElement:c}=Ee();return h1(c),(u,d)=>(a.openBlock(),a.createBlock(e4,a.mergeProps(a.unref(s),{ref:a.unref(l),"trap-focus":a.unref(o).open.value,"disable-outside-pointer-events":"",onCloseAutoFocus:d[0]||(d[0]=a.withModifiers(f=>{var h;r("closeAutoFocus",f),i.value||(h=a.unref(o).triggerElement.value)==null||h.focus()},["prevent"])),onPointerDownOutside:d[1]||(d[1]=f=>{r("pointerDownOutside",f);const h=f.detail.originalEvent,p=h.button===0&&h.ctrlKey===!0,g=h.button===2||p;i.value=g}),onFocusOutside:d[2]||(d[2]=a.withModifiers(()=>{},["prevent"]))}),{default:a.withCtx(()=>[a.renderSlot(u.$slots,"default")]),_:3},16,["trap-focus"]))}}),$C=a.defineComponent({__name:"PopoverContentNonModal",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=Ds(),i=a.ref(!1),s=a.ref(!1),l=Yr(n,r);return(c,u)=>(a.openBlock(),a.createBlock(e4,a.mergeProps(a.unref(l),{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:u[0]||(u[0]=d=>{var f;r("closeAutoFocus",d),d.defaultPrevented||(i.value||(f=a.unref(o).triggerElement.value)==null||f.focus(),d.preventDefault()),i.value=!1,s.value=!1}),onInteractOutside:u[1]||(u[1]=async d=>{var f;r("interactOutside",d),d.defaultPrevented||(i.value=!0,d.detail.originalEvent.type==="pointerdown"&&(s.value=!0));const h=d.target;(f=a.unref(o).triggerElement.value)!=null&&f.contains(h)&&d.preventDefault(),d.detail.originalEvent.type==="focusin"&&s.value&&d.preventDefault()})}),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16))}}),eS=a.defineComponent({__name:"PopoverContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=Ds(),i=Yr(n,r),{forwardRef:s}=Ee();return o.contentId||(o.contentId=Ea(void 0,"radix-vue-popover-content")),(l,c)=>(a.openBlock(),a.createBlock(a.unref(lo),{present:l.forceMount||a.unref(o).open.value},{default:a.withCtx(()=>[a.unref(o).modal.value?(a.openBlock(),a.createBlock(NC,a.mergeProps({key:0},a.unref(i),{ref:a.unref(s)}),{default:a.withCtx(()=>[a.renderSlot(l.$slots,"default")]),_:3},16)):(a.openBlock(),a.createBlock($C,a.mergeProps({key:1},a.unref(i),{ref:a.unref(s)}),{default:a.withCtx(()=>[a.renderSlot(l.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),tS=a.defineComponent({__name:"PopoverArrow",props:{width:{default:10},height:{default:5},asChild:{type:Boolean},as:{default:"svg"}},setup(e){const t=e;return Ee(),(n,r)=>(a.openBlock(),a.createBlock(a.unref(jm),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),[nS,rS]=Tt("RadioGroupRoot"),Ic=a.defineComponent({__name:"RadioGroupRoot",props:{modelValue:{},defaultValue:{},disabled:{type:Boolean,default:!1},name:{},required:{type:Boolean,default:!1},orientation:{default:void 0},dir:{},loop:{type:Boolean,default:!0},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,{forwardRef:o}=Ee(),i=Yt(n,"modelValue",r,{defaultValue:n.defaultValue,passive:n.modelValue===void 0}),{disabled:s,loop:l,orientation:c,name:u,required:d,dir:f}=a.toRefs(n),h=so(f);return rS({modelValue:i,changeModelValue:p=>{i.value=p},disabled:s,loop:l,orientation:c,name:u==null?void 0:u.value,required:d}),(p,g)=>(a.openBlock(),a.createBlock(a.unref(Gm),{"as-child":"",orientation:a.unref(c),dir:a.unref(h),loop:a.unref(l)},{default:a.withCtx(()=>[a.createVNode(a.unref(Ie),{ref:a.unref(o),role:"radiogroup","data-disabled":a.unref(s)?"":void 0,"as-child":p.asChild,as:p.as,required:a.unref(d),"aria-orientation":a.unref(c),"aria-required":a.unref(d),dir:a.unref(h),name:a.unref(u)},{default:a.withCtx(()=>[a.renderSlot(p.$slots,"default",{modelValue:a.unref(i)})]),_:3},8,["data-disabled","as-child","as","required","aria-orientation","aria-required","dir","name"])]),_:3},8,["orientation","dir","loop"]))}}),aS=["value","checked","name","disabled","required"],oS=a.defineComponent({__name:"Radio",props:{id:{},value:{},disabled:{type:Boolean,default:!1},required:{type:Boolean},checked:{type:Boolean,default:void 0},name:{},asChild:{type:Boolean},as:{default:"button"}},emits:["update:checked"],setup(e,{emit:t}){const n=e,r=Yt(n,"checked",t,{passive:n.checked===void 0}),{value:o}=a.toRefs(n),{forwardRef:i,currentElement:s}=Ee(),l=u1(s),c=a.computed(()=>{var d;return n.id&&s.value?((d=document.querySelector(`[for="${n.id}"]`))==null?void 0:d.innerText)??n.value:void 0});function u(d){r.value=!0,l.value&&d.stopPropagation()}return(d,f)=>(a.openBlock(),a.createBlock(a.unref(Ie),a.mergeProps(d.$attrs,{id:d.id,ref:a.unref(i),role:"radio",type:d.as==="button"?"button":void 0,as:d.as,"aria-checked":a.unref(r),"aria-label":c.value,"as-child":d.asChild,disabled:d.disabled?"":void 0,"data-state":a.unref(r)?"checked":"unchecked","data-disabled":d.disabled?"":void 0,value:a.unref(o),required:d.required,name:d.name,onClick:a.withModifiers(u,["stop"])}),{default:a.withCtx(()=>[a.renderSlot(d.$slots,"default",{checked:a.unref(r)}),a.unref(l)?(a.openBlock(),a.createElementBlock("input",{key:0,type:"radio",tabindex:"-1","aria-hidden":"true",value:a.unref(o),checked:!!a.unref(r),name:d.name,disabled:d.disabled,required:d.required,style:{transform:"translateX(-100%)",position:"absolute",pointerEvents:"none",opacity:0,margin:0}},null,8,aS)):a.createCommentVNode("",!0)]),_:3},16,["id","type","as","aria-checked","aria-label","as-child","disabled","data-state","data-disabled","value","required","name"]))}}),[iS,sS]=Tt("RadioGroupItem"),ci=a.defineComponent({inheritAttrs:!1,__name:"RadioGroupItem",props:{id:{},value:{},disabled:{type:Boolean,default:!1},required:{type:Boolean},name:{},asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,{forwardRef:n,currentElement:r}=Ee(),o=nS(),i=a.computed(()=>o.disabled.value||t.disabled),s=a.computed(()=>o.required.value||t.required),l=a.computed(()=>{var f;return((f=o.modelValue)==null?void 0:f.value)===t.value});sS({disabled:i,checked:l});const c=a.ref(!1),u=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"];ka("keydown",f=>{u.includes(f.key)&&(c.value=!0)}),ka("keyup",()=>{c.value=!1});function d(){setTimeout(()=>{var f;c.value&&((f=r.value)==null||f.click())},0)}return(f,h)=>(a.openBlock(),a.createBlock(a.unref(Xx),{checked:l.value,disabled:i.value,"as-child":"",focusable:!i.value,active:l.value},{default:a.withCtx(()=>[a.createVNode(oS,a.mergeProps({...f.$attrs,...t},{ref:a.unref(n),checked:l.value,required:s.value,disabled:i.value,"onUpdate:checked":h[0]||(h[0]=p=>a.unref(o).changeModelValue(f.value)),onKeydown:h[1]||(h[1]=a.withKeys(a.withModifiers(()=>{},["prevent"]),["enter"])),onFocus:d}),{default:a.withCtx(()=>[a.renderSlot(f.$slots,"default")]),_:3},16,["checked","required","disabled"])]),_:3},8,["checked","disabled","focusable","active"]))}}),Vc=a.defineComponent({__name:"RadioGroupIndicator",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(e){const{forwardRef:t}=Ee(),n=iS();return(r,o)=>(a.openBlock(),a.createBlock(a.unref(lo),{present:r.forceMount||a.unref(n).checked.value},{default:a.withCtx(()=>[a.createVNode(a.unref(Ie),a.mergeProps({ref:a.unref(t),"data-state":a.unref(n).checked.value?"checked":"unchecked","data-disabled":a.unref(n).disabled.value?"":void 0,"as-child":r.asChild,as:r.as},r.$attrs),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["data-state","data-disabled","as-child","as"])]),_:3},8,["present"]))}});function lS(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}lS();const cS=["name","disabled","required","value","checked","data-state","data-disabled"],[uS,dS]=Tt("SwitchRoot"),fS=a.defineComponent({__name:"SwitchRoot",props:{defaultChecked:{type:Boolean},checked:{type:Boolean,default:void 0},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},value:{default:"on"},asChild:{type:Boolean},as:{default:"button"}},emits:["update:checked"],setup(e,{emit:t}){const n=e,r=t,{disabled:o}=a.toRefs(n),i=Yt(n,"checked",r,{defaultValue:n.defaultChecked,passive:n.checked===void 0});function s(){o.value||(i.value=!i.value)}const{forwardRef:l,currentElement:c}=Ee(),u=u1(c),d=a.computed(()=>{var f;return n.id&&c.value?(f=document.querySelector(`[for="${n.id}"]`))==null?void 0:f.innerText:void 0});return dS({checked:i,toggleCheck:s,disabled:o}),(f,h)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createVNode(a.unref(Ie),a.mergeProps(f.$attrs,{id:f.id,ref:a.unref(l),role:"switch",type:f.as==="button"?"button":void 0,value:f.value,"aria-label":f.$attrs["aria-label"]||d.value,"aria-checked":a.unref(i),"aria-required":f.required,"data-state":a.unref(i)?"checked":"unchecked","data-disabled":a.unref(o)?"":void 0,"as-child":f.asChild,as:f.as,disabled:a.unref(o),onClick:s,onKeydown:a.withKeys(a.withModifiers(s,["prevent"]),["enter"])}),{default:a.withCtx(()=>[a.renderSlot(f.$slots,"default",{checked:a.unref(i)})]),_:3},16,["id","type","value","aria-label","aria-checked","aria-required","data-state","data-disabled","as-child","as","disabled","onKeydown"]),a.unref(u)?(a.openBlock(),a.createElementBlock("input",{key:0,type:"checkbox",name:f.name,tabindex:"-1","aria-hidden":"true",disabled:a.unref(o),required:f.required,value:f.value,checked:!!a.unref(i),"data-state":a.unref(i)?"checked":"unchecked","data-disabled":a.unref(o)?"":void 0,style:{transform:"translateX(-100%)",position:"absolute",pointerEvents:"none",opacity:0,margin:0}},null,8,cS)):a.createCommentVNode("",!0)],64))}}),hS=a.defineComponent({__name:"SwitchThumb",props:{asChild:{type:Boolean},as:{default:"span"}},setup(e){const t=uS();return Ee(),(n,r)=>{var o;return a.openBlock(),a.createBlock(a.unref(Ie),{"data-state":(o=a.unref(t).checked)!=null&&o.value?"checked":"unchecked","data-disabled":a.unref(t).disabled.value?"":void 0,"as-child":n.asChild,as:n.as},{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},8,["data-state","data-disabled","as-child","as"])}}}),t4="tooltip.open",[T1,pS]=Tt("TooltipProvider"),Ms=a.defineComponent({inheritAttrs:!1,__name:"TooltipProvider",props:{delayDuration:{default:700},skipDelayDuration:{default:300},disableHoverableContent:{type:Boolean,default:!1},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean,default:!1}},setup(e){const t=e,{delayDuration:n,skipDelayDuration:r,disableHoverableContent:o,disableClosingTrigger:i,ignoreNonKeyboardFocus:s,disabled:l}=a.toRefs(t);Ee();const c=a.ref(!0),u=a.ref(!1),{start:d,stop:f}=Em(()=>{c.value=!0},r,{immediate:!1});return pS({isOpenDelayed:c,delayDuration:n,onOpen(){f(),c.value=!1},onClose(){d()},isPointerInTransitRef:u,disableHoverableContent:o,disableClosingTrigger:i,disabled:l,ignoreNonKeyboardFocus:s}),(h,p)=>a.renderSlot(h.$slots,"default")}}),[Rc,mS]=Tt("TooltipRoot"),Ps=a.defineComponent({__name:"TooltipRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},delayDuration:{default:void 0},disableHoverableContent:{type:Boolean,default:void 0},disableClosingTrigger:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},ignoreNonKeyboardFocus:{type:Boolean,default:void 0}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=t;Ee();const o=T1(),i=a.computed(()=>n.disableHoverableContent??o.disableHoverableContent.value),s=a.computed(()=>n.disableClosingTrigger??o.disableClosingTrigger.value),l=a.computed(()=>n.disabled??o.disabled.value),c=a.computed(()=>n.delayDuration??o.delayDuration.value),u=a.computed(()=>n.ignoreNonKeyboardFocus??o.ignoreNonKeyboardFocus.value),d=Yt(n,"open",r,{defaultValue:n.defaultOpen,passive:n.open===void 0});a.watch(d,m=>{o.onClose&&(m?(o.onOpen(),document.dispatchEvent(new CustomEvent(t4))):o.onClose())});const f=a.ref(!1),h=a.ref(),p=a.computed(()=>d.value?f.value?"delayed-open":"instant-open":"closed"),{start:g,stop:w}=Em(()=>{f.value=!0,d.value=!0},c,{immediate:!1});function y(){w(),f.value=!1,d.value=!0}function k(){w(),d.value=!1}function v(){g()}return mS({contentId:"",open:d,stateAttribute:p,trigger:h,onTriggerChange(m){h.value=m},onTriggerEnter(){o.isOpenDelayed.value?v():y()},onTriggerLeave(){i.value?k():w()},onOpen:y,onClose:k,disableHoverableContent:i,disableClosingTrigger:s,disabled:l,ignoreNonKeyboardFocus:u}),(m,b)=>(a.openBlock(),a.createBlock(a.unref(w1),null,{default:a.withCtx(()=>[a.renderSlot(m.$slots,"default",{open:a.unref(d)})]),_:3}))}}),Ls=a.defineComponent({__name:"TooltipTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=Rc(),r=T1();n.contentId||(n.contentId=Ea(void 0,"radix-vue-tooltip-content"));const{forwardRef:o,currentElement:i}=Ee(),s=a.ref(!1),l=a.ref(!1),c=a.computed(()=>n.disabled.value?{}:{click:w,focus:p,pointermove:f,pointerleave:h,pointerdown:d,blur:g});a.onMounted(()=>{n.onTriggerChange(i.value)});function u(){setTimeout(()=>{s.value=!1},1)}function d(){s.value=!0,document.addEventListener("pointerup",u,{once:!0})}function f(y){y.pointerType!=="touch"&&!l.value&&!r.isPointerInTransitRef.value&&(n.onTriggerEnter(),l.value=!0)}function h(){n.onTriggerLeave(),l.value=!1}function p(y){var k,v;s.value||n.ignoreNonKeyboardFocus.value&&!((v=(k=y.target).matches)!=null&&v.call(k,":focus-visible"))||n.onOpen()}function g(){n.onClose()}function w(){n.disableClosingTrigger.value||n.onClose()}return(y,k)=>(a.openBlock(),a.createBlock(a.unref(_1),{"as-child":""},{default:a.withCtx(()=>[a.createVNode(a.unref(Ie),a.mergeProps({ref:a.unref(o),"aria-describedby":a.unref(n).open.value?a.unref(n).contentId:void 0,"data-state":a.unref(n).stateAttribute.value,as:y.as,"as-child":t.asChild,"data-grace-area-trigger":""},a.toHandlers(c.value)),{default:a.withCtx(()=>[a.renderSlot(y.$slots,"default")]),_:3},16,["aria-describedby","data-state","as","as-child"])]),_:3}))}}),n4=a.defineComponent({__name:"TooltipContentImpl",props:{ariaLabel:{},asChild:{type:Boolean},as:{},side:{default:"top"},sideOffset:{default:0},align:{default:"center"},alignOffset:{},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{default:()=>[]},collisionPadding:{default:0},arrowPadding:{default:0},sticky:{default:"partial"},hideWhenDetached:{type:Boolean,default:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,r=t,o=Rc(),{forwardRef:i}=Ee(),s=a.useSlots(),l=a.computed(()=>{var d;return(d=s.default)==null?void 0:d.call(s)}),c=a.computed(()=>{var d;if(n.ariaLabel)return n.ariaLabel;let f="";function h(p){typeof p.children=="string"&&p.type!==a.Comment?f+=p.children:Array.isArray(p.children)&&p.children.forEach(g=>h(g))}return(d=l.value)==null||d.forEach(p=>h(p)),f}),u=a.computed(()=>{const{ariaLabel:d,...f}=n;return f});return a.onMounted(()=>{ka(window,"scroll",d=>{const f=d.target;f!=null&&f.contains(o.trigger.value)&&o.onClose()}),ka(window,t4,o.onClose)}),(d,f)=>(a.openBlock(),a.createBlock(a.unref(Ac),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:f[0]||(f[0]=h=>r("escapeKeyDown",h)),onPointerDownOutside:f[1]||(f[1]=h=>{var p;a.unref(o).disableClosingTrigger.value&&(p=a.unref(o).trigger.value)!=null&&p.contains(h.target)&&h.preventDefault(),r("pointerDownOutside",h)}),onFocusOutside:f[2]||(f[2]=a.withModifiers(()=>{},["prevent"])),onDismiss:f[3]||(f[3]=h=>a.unref(o).onClose())},{default:a.withCtx(()=>[a.createVNode(a.unref(E1),a.mergeProps({ref:a.unref(i),"data-state":a.unref(o).stateAttribute.value},{...d.$attrs,...u.value},{style:{"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:a.withCtx(()=>[a.renderSlot(d.$slots,"default"),a.createVNode(a.unref(Ix),{id:a.unref(o).contentId,role:"tooltip"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(c.value),1)]),_:1},8,["id"])]),_:3},16,["data-state"])]),_:3}))}}),gS=a.defineComponent({__name:"TooltipContentHoverable",props:{ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean}},setup(e){const t=d1(e),{forwardRef:n,currentElement:r}=Ee(),{trigger:o,onClose:i}=Rc(),s=T1(),{isPointerInTransit:l,onPointerExit:c}=rE(o,r);return s.isPointerInTransitRef=l,c(()=>{i()}),(u,d)=>(a.openBlock(),a.createBlock(n4,a.mergeProps({ref:a.unref(n)},a.unref(t)),{default:a.withCtx(()=>[a.renderSlot(u.$slots,"default")]),_:3},16))}}),Fs=a.defineComponent({__name:"TooltipContent",props:{forceMount:{type:Boolean},ariaLabel:{},asChild:{type:Boolean},as:{},side:{default:"top"},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,r=t,o=Rc(),i=Yr(n,r),{forwardRef:s}=Ee();return(l,c)=>(a.openBlock(),a.createBlock(a.unref(lo),{present:l.forceMount||a.unref(o).open.value},{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(o).disableHoverableContent.value?n4:gS),a.mergeProps({ref:a.unref(s)},a.unref(i)),{default:a.withCtx(()=>[a.renderSlot(l.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),Us=a.defineComponent({__name:"TooltipArrow",props:{width:{default:10},height:{default:5},asChild:{type:Boolean},as:{default:"svg"}},setup(e){const t=e;return Ee(),(n,r)=>(a.openBlock(),a.createBlock(a.unref(jm),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),Zs=a.defineComponent({__name:"TooltipPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(a.unref(Tc),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),zs={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},ui={LIGHT:"light",DARK:"dark",COLORED:"colored",AUTO:"auto"},ln={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},vS={BOUNCE:"bounce",SLIDE:"slide",FLIP:"flip",ZOOM:"zoom",NONE:"none"},r4={dangerouslyHTMLString:!1,multiple:!0,position:zs.TOP_RIGHT,autoClose:5e3,transition:"bounce",hideProgressBar:!1,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,className:"",bodyClassName:"",style:{},progressClassName:"",progressStyle:{},role:"alert",theme:"light"},yS={rtl:!1,newestOnTop:!1,toastClassName:""},a4={...r4,...yS};({...r4,type:ln.DEFAULT});var tt=(e=>(e[e.COLLAPSE_DURATION=300]="COLLAPSE_DURATION",e[e.DEBOUNCE_DURATION=50]="DEBOUNCE_DURATION",e.CSS_NAMESPACE="Toastify",e))(tt||{}),A1=(e=>(e.ENTRANCE_ANIMATION_END="d",e))(A1||{});const bS={enter:"Toastify--animate Toastify__bounce-enter",exit:"Toastify--animate Toastify__bounce-exit",appendPosition:!0},wS={enter:"Toastify--animate Toastify__slide-enter",exit:"Toastify--animate Toastify__slide-exit",appendPosition:!0},_S={enter:"Toastify--animate Toastify__zoom-enter",exit:"Toastify--animate Toastify__zoom-exit"},kS={enter:"Toastify--animate Toastify__flip-enter",exit:"Toastify--animate Toastify__flip-exit"},o4="Toastify--animate Toastify__none-enter";function i4(e,t=!1){var n;let r=bS;if(!e||typeof e=="string")switch(e){case"flip":r=kS;break;case"zoom":r=_S;break;case"slide":r=wS;break}else r=e;if(t)r.enter=o4;else if(r.enter===o4){const o=(n=r.exit.split("__")[1])==null?void 0:n.split("-")[0];r.enter=`Toastify--animate Toastify__${o}-enter`}return r}function ES(e){return e.containerId||String(e.position)}const Dc="will-unmount";function xS(e=zs.TOP_RIGHT){return!!document.querySelector(`.${tt.CSS_NAMESPACE}__toast-container--${e}`)}function CS(e=zs.TOP_RIGHT){return`${tt.CSS_NAMESPACE}__toast-container--${e}`}function SS(e,t,n=!1){const r=[`${tt.CSS_NAMESPACE}__toast-container`,`${tt.CSS_NAMESPACE}__toast-container--${e}`,n?`${tt.CSS_NAMESPACE}__toast-container--rtl`:null].filter(Boolean).join(" ");return fi(t)?t({position:e,rtl:n,defaultClassName:r}):`${r} ${t||""}`}function TS(e){var t;const{position:n,containerClassName:r,rtl:o=!1,style:i={}}=e,s=tt.CSS_NAMESPACE,l=CS(n),c=document.querySelector(`.${s}`),u=document.querySelector(`.${l}`),d=!!u&&!((t=u.className)!=null&&t.includes(Dc)),f=c||document.createElement("div"),h=document.createElement("div");h.className=SS(n,r,o),h.dataset.testid=`${tt.CSS_NAMESPACE}__toast-container--${n}`,h.id=ES(e);for(const p in i)if(Object.prototype.hasOwnProperty.call(i,p)){const g=i[p];h.style[p]=g}return c||(f.className=tt.CSS_NAMESPACE,document.body.appendChild(f)),d||f.appendChild(h),h}function O1(e){var t,n,r;const o=typeof e=="string"?e:((t=e.currentTarget)==null?void 0:t.id)||((n=e.target)==null?void 0:n.id),i=document.getElementById(o);i&&i.removeEventListener("animationend",O1,!1);try{js[o].unmount(),(r=document.getElementById(o))==null||r.remove(),delete js[o],delete Jt[o]}catch{}}const js=a.reactive({});function AS(e,t){const n=document.getElementById(String(t));n&&(js[n.id]=e)}function B1(e,t=!0){const n=String(e);if(!js[n])return;const r=document.getElementById(n);r&&r.classList.add(Dc),t?(BS(e),r&&r.addEventListener("animationend",O1,!1)):O1(n),xr.items=xr.items.filter(o=>o.containerId!==e)}function OS(e){for(const t in js)B1(t,e);xr.items=[]}function s4(e,t){const n=document.getElementById(e.toastId);if(n){let r=e;r={...r,...i4(r.transition)};const o=r.appendPosition?`${r.exit}--${r.position}`:r.exit;n.className+=` ${o}`,t&&t(n)}}function BS(e){for(const t in Jt)if(t===e)for(const n of Jt[t]||[])s4(n)}function IS(e){const t=di().find(n=>n.toastId===e);return t==null?void 0:t.containerId}function I1(e){return document.getElementById(e)}function VS(e){const t=I1(e.containerId);return t&&t.classList.contains(Dc)}function l4(e){var t;const n=a.isVNode(e.content)?a.toRaw(e.content.props):null;return n??a.toRaw((t=e.data)!=null?t:{})}function RS(e){return e?xr.items.filter(t=>t.containerId===e).length>0:xr.items.length>0}function DS(){if(xr.items.length>0){const e=xr.items.shift();Mc(e==null?void 0:e.toastContent,e==null?void 0:e.toastProps)}}const Jt=a.reactive({}),xr=a.reactive({items:[]});function di(){const e=a.toRaw(Jt);return Object.values(e).reduce((t,n)=>[...t,...n],[])}function MS(e){return di().find(t=>t.toastId===e)}function Mc(e,t={}){if(VS(t)){const n=I1(t.containerId);n&&n.addEventListener("animationend",V1.bind(null,e,t),!1)}else V1(e,t)}function V1(e,t={}){const n=I1(t.containerId);n&&n.removeEventListener("animationend",V1.bind(null,e,t),!1);const r=Jt[t.containerId]||[],o=r.length>0;if(!o&&!xS(t.position)){const i=TS(t),s=a.createApp(eT,t);s.mount(i),AS(s,i.id)}o&&!t.updateId&&(t.position=r[0].position),a.nextTick(()=>{t.updateId?On.update(t):On.add(e,t)})}const On={add(e,t){const{containerId:n=""}=t;n&&(Jt[n]=Jt[n]||[],Jt[n].find(r=>r.toastId===t.toastId)||setTimeout(()=>{var r,o;t.newestOnTop?(r=Jt[n])==null||r.unshift(t):(o=Jt[n])==null||o.push(t),t.onOpen&&t.onOpen(l4(t))},t.delay||0))},remove(e){if(e){const t=IS(e);if(t){const n=Jt[t];let r=n.find(o=>o.toastId===e);Jt[t]=n.filter(o=>o.toastId!==e),!Jt[t].length&&!RS(t)&&B1(t,!1),DS(),a.nextTick(()=>{r!=null&&r.onClose&&(r.onClose(l4(r)),r=void 0)})}}},update(e={}){const{containerId:t=""}=e;if(t&&e.updateId){Jt[t]=Jt[t]||[];const n=Jt[t].find(i=>i.toastId===e.toastId),r=(n==null?void 0:n.position)!==e.position||(n==null?void 0:n.transition)!==e.transition,o={...e,disabledEnterTransition:!r,updateId:void 0};On.dismissForce(e==null?void 0:e.toastId),setTimeout(()=>{K(o.content,o)},e.delay||0)}},clear(e,t=!0){e?B1(e,t):OS(t)},dismissCallback(e){var t;const n=(t=e.currentTarget)==null?void 0:t.id,r=document.getElementById(n);r&&(r.removeEventListener("animationend",On.dismissCallback,!1),setTimeout(()=>{On.remove(n)}))},dismiss(e){if(e){const t=di();for(const n of t)if(n.toastId===e){s4(n,r=>{r.addEventListener("animationend",On.dismissCallback,!1)});break}}},dismissForce(e){if(e){const t=di();for(const n of t)if(n.toastId===e){const r=document.getElementById(e);r&&(r.remove(),r.removeEventListener("animationend",On.dismissCallback,!1),On.remove(e));break}}}},c4=a.reactive({}),Pc=a.reactive({});function u4(){return Math.random().toString(36).substring(2,9)}function PS(e){return typeof e=="number"&&!isNaN(e)}function R1(e){return typeof e=="string"}function fi(e){return typeof e=="function"}function Lc(...e){return a.mergeProps(...e)}function Fc(e){return typeof e=="object"&&(!!(e!=null&&e.render)||!!(e!=null&&e.setup)||typeof(e==null?void 0:e.type)=="object")}function LS(e={}){c4[`${tt.CSS_NAMESPACE}-default-options`]=e}function FS(){return c4[`${tt.CSS_NAMESPACE}-default-options`]||a4}function US(){return document.documentElement.classList.contains("dark")?"dark":"light"}var Uc=(e=>(e[e.Enter=0]="Enter",e[e.Exit=1]="Exit",e))(Uc||{});const d4={containerId:{type:[String,Number],required:!1,default:""},clearOnUrlChange:{type:Boolean,required:!1,default:!0},disabledEnterTransition:{type:Boolean,required:!1,default:!1},dangerouslyHTMLString:{type:Boolean,required:!1,default:!1},multiple:{type:Boolean,required:!1,default:!0},limit:{type:Number,required:!1,default:void 0},position:{type:String,required:!1,default:zs.TOP_LEFT},bodyClassName:{type:String,required:!1,default:""},autoClose:{type:[Number,Boolean],required:!1,default:!1},closeButton:{type:[Boolean,Function,Object],required:!1,default:void 0},transition:{type:[String,Object],required:!1,default:"bounce"},hideProgressBar:{type:Boolean,required:!1,default:!1},pauseOnHover:{type:Boolean,required:!1,default:!0},pauseOnFocusLoss:{type:Boolean,required:!1,default:!0},closeOnClick:{type:Boolean,required:!1,default:!0},progress:{type:Number,required:!1,default:void 0},progressClassName:{type:String,required:!1,default:""},toastStyle:{type:Object,required:!1,default(){return{}}},progressStyle:{type:Object,required:!1,default(){return{}}},role:{type:String,required:!1,default:"alert"},theme:{type:String,required:!1,default:ui.AUTO},content:{type:[String,Object,Function],required:!1,default:""},toastId:{type:[String,Number],required:!1,default:""},data:{type:[Object,String],required:!1,default(){return{}}},type:{type:String,required:!1,default:ln.DEFAULT},icon:{type:[Boolean,String,Number,Object,Function],required:!1,default:void 0},delay:{type:Number,required:!1,default:void 0},onOpen:{type:Function,required:!1,default:void 0},onClose:{type:Function,required:!1,default:void 0},onClick:{type:Function,required:!1,default:void 0},isLoading:{type:Boolean,required:!1,default:void 0},rtl:{type:Boolean,required:!1,default:!1},toastClassName:{type:String,required:!1,default:""},updateId:{type:[String,Number],required:!1,default:""}},ZS={autoClose:{type:[Number,Boolean],required:!0},isRunning:{type:Boolean,required:!1,default:void 0},type:{type:String,required:!1,default:ln.DEFAULT},theme:{type:String,required:!1,default:ui.AUTO},hide:{type:Boolean,required:!1,default:void 0},className:{type:[String,Function],required:!1,default:""},controlledProgress:{type:Boolean,required:!1,default:void 0},rtl:{type:Boolean,required:!1,default:void 0},isIn:{type:Boolean,required:!1,default:void 0},progress:{type:Number,required:!1,default:void 0},closeToast:{type:Function,required:!1,default:void 0}},zS=a.defineComponent({name:"ProgressBar",props:ZS,setup(e,{attrs:t}){const n=a.ref(),r=a.computed(()=>e.hide?"true":"false"),o=a.computed(()=>({...t.style||{},animationDuration:`${e.autoClose===!0?5e3:e.autoClose}ms`,animationPlayState:e.isRunning?"running":"paused",opacity:e.hide||e.autoClose===!1?0:1,transform:e.controlledProgress?`scaleX(${e.progress})`:"none"})),i=a.computed(()=>[`${tt.CSS_NAMESPACE}__progress-bar`,e.controlledProgress?`${tt.CSS_NAMESPACE}__progress-bar--controlled`:`${tt.CSS_NAMESPACE}__progress-bar--animated`,`${tt.CSS_NAMESPACE}__progress-bar-theme--${e.theme}`,`${tt.CSS_NAMESPACE}__progress-bar--${e.type}`,e.rtl?`${tt.CSS_NAMESPACE}__progress-bar--rtl`:null].filter(Boolean).join(" ")),s=a.computed(()=>`${i.value} ${(t==null?void 0:t.class)||""}`),l=()=>{n.value&&(n.value.onanimationend=null,n.value.ontransitionend=null)},c=()=>{e.isIn&&e.closeToast&&e.autoClose!==!1&&(e.closeToast(),l())},u=a.computed(()=>e.controlledProgress?null:c),d=a.computed(()=>e.controlledProgress?c:null);return a.watchEffect(()=>{n.value&&(l(),n.value.onanimationend=u.value,n.value.ontransitionend=d.value)}),()=>a.createVNode("div",{ref:n,role:"progressbar","aria-hidden":r.value,"aria-label":"notification timer",class:s.value,style:o.value},null)}}),jS=a.defineComponent({name:"CloseButton",inheritAttrs:!1,props:{theme:{type:String,required:!1,default:ui.AUTO},type:{type:String,required:!1,default:ui.LIGHT},ariaLabel:{type:String,required:!1,default:"close"},closeToast:{type:Function,required:!1,default:void 0}},setup(e){return()=>a.createVNode("button",{class:`${tt.CSS_NAMESPACE}__close-button ${tt.CSS_NAMESPACE}__close-button--${e.theme}`,type:"button",onClick:t=>{t.stopPropagation(),e.closeToast&&e.closeToast(t)},"aria-label":e.ariaLabel},[a.createVNode("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},[a.createVNode("path",{"fill-rule":"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"},null)])])}}),Zc=({theme:e,type:t,path:n,...r})=>a.createVNode("svg",a.mergeProps({viewBox:"0 0 24 24",width:"100%",height:"100%",fill:e==="colored"?"currentColor":`var(--toastify-icon-color-${t})`},r),[a.createVNode("path",{d:n},null)]);function HS(e){return a.createVNode(Zc,a.mergeProps(e,{path:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}),null)}function qS(e){return a.createVNode(Zc,a.mergeProps(e,{path:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}),null)}function WS(e){return a.createVNode(Zc,a.mergeProps(e,{path:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}),null)}function GS(e){return a.createVNode(Zc,a.mergeProps(e,{path:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}),null)}function KS(){return a.createVNode("div",{class:`${tt.CSS_NAMESPACE}__spinner`},null)}const D1={info:qS,warning:HS,success:WS,error:GS,spinner:KS},YS=e=>e in D1;function JS({theme:e,type:t,isLoading:n,icon:r}){let o;const i={theme:e,type:t};return n?o=D1.spinner():r===!1?o=void 0:Fc(r)?o=a.toRaw(r):fi(r)?o=r(i):a.isVNode(r)?o=a.cloneVNode(r,i):R1(r)||PS(r)?o=r:YS(t)&&(o=D1[t](i)),o}const XS=()=>{};function QS(e,t,n=tt.COLLAPSE_DURATION){const{scrollHeight:r,style:o}=e,i=n;requestAnimationFrame(()=>{o.minHeight="initial",o.height=r+"px",o.transition=`all ${i}ms`,requestAnimationFrame(()=>{o.height="0",o.padding="0",o.margin="0",setTimeout(t,i)})})}function NS(e){const t=a.ref(!1),n=a.ref(!1),r=a.ref(!1),o=a.ref(Uc.Enter),i=a.reactive({...e,appendPosition:e.appendPosition||!1,collapse:typeof e.collapse>"u"?!0:e.collapse,collapseDuration:e.collapseDuration||tt.COLLAPSE_DURATION}),s=i.done||XS,l=a.computed(()=>i.appendPosition?`${i.enter}--${i.position}`:i.enter),c=a.computed(()=>i.appendPosition?`${i.exit}--${i.position}`:i.exit),u=a.computed(()=>e.pauseOnHover?{onMouseenter:y,onMouseleave:w}:{});function d(){const v=l.value.split(" ");h().addEventListener(A1.ENTRANCE_ANIMATION_END,w,{once:!0});const m=_=>{const E=h();_.target===E&&(E.dispatchEvent(new Event(A1.ENTRANCE_ANIMATION_END)),E.removeEventListener("animationend",m),E.removeEventListener("animationcancel",m),o.value===Uc.Enter&&_.type!=="animationcancel"&&E.classList.remove(...v))},b=()=>{const _=h();_.classList.add(...v),_.addEventListener("animationend",m),_.addEventListener("animationcancel",m)};e.pauseOnFocusLoss&&p(),b()}function f(){if(!h())return;const v=()=>{const b=h();b.removeEventListener("animationend",v),i.collapse?QS(b,s,i.collapseDuration):s()},m=()=>{const b=h();o.value=Uc.Exit,b&&(b.className+=` ${c.value}`,b.addEventListener("animationend",v))};n.value||(r.value?v():setTimeout(m))}function h(){return e.toastRef.value}function p(){document.hasFocus()||y(),window.addEventListener("focus",w),window.addEventListener("blur",y)}function g(){window.removeEventListener("focus",w),window.removeEventListener("blur",y)}function w(){(!e.loading.value||e.isLoading===void 0)&&(t.value=!0)}function y(){t.value=!1}function k(v){v&&(v.stopPropagation(),v.preventDefault()),n.value=!1}return a.watchEffect(f),a.watchEffect(()=>{const v=di();n.value=v.findIndex(m=>m.toastId===i.toastId)>-1}),a.watchEffect(()=>{e.isLoading!==void 0&&(e.loading.value?y():w())}),a.onMounted(d),a.onUnmounted(()=>{e.pauseOnFocusLoss&&g()}),{isIn:n,isRunning:t,hideToast:k,eventHandlers:u}}const $S=a.defineComponent({name:"ToastItem",inheritAttrs:!1,props:d4,setup(e){const t=a.ref(),n=a.computed(()=>!!e.isLoading),r=a.computed(()=>e.progress!==void 0&&e.progress!==null),o=a.computed(()=>JS(e)),i=a.computed(()=>[`${tt.CSS_NAMESPACE}__toast`,`${tt.CSS_NAMESPACE}__toast-theme--${e.theme}`,`${tt.CSS_NAMESPACE}__toast--${e.type}`,e.rtl?`${tt.CSS_NAMESPACE}__toast--rtl`:void 0,e.toastClassName||""].filter(Boolean).join(" ")),{isRunning:s,isIn:l,hideToast:c,eventHandlers:u}=NS({toastRef:t,loading:n,done:()=>{On.remove(e.toastId)},...i4(e.transition,e.disabledEnterTransition),...e});return()=>a.createVNode("div",a.mergeProps({id:e.toastId,class:i.value,style:e.toastStyle||{},ref:t,"data-testid":`toast-item-${e.toastId}`,onClick:d=>{e.closeOnClick&&c(),e.onClick&&e.onClick(d)}},u.value),[a.createVNode("div",{role:e.role,"data-testid":"toast-body",class:`${tt.CSS_NAMESPACE}__toast-body ${e.bodyClassName||""}`},[o.value!=null&&a.createVNode("div",{"data-testid":`toast-icon-${e.type}`,class:[`${tt.CSS_NAMESPACE}__toast-icon`,e.isLoading?"":`${tt.CSS_NAMESPACE}--animate-icon ${tt.CSS_NAMESPACE}__zoom-enter`].join(" ")},[Fc(o.value)?a.h(a.toRaw(o.value),{theme:e.theme,type:e.type}):fi(o.value)?o.value({theme:e.theme,type:e.type}):o.value]),a.createVNode("div",{"data-testid":"toast-content"},[Fc(e.content)?a.h(a.toRaw(e.content),{toastProps:a.toRaw(e),closeToast:c,data:e.data}):fi(e.content)?e.content({toastProps:a.toRaw(e),closeToast:c,data:e.data}):e.dangerouslyHTMLString?a.h("div",{innerHTML:e.content}):e.content])]),(e.closeButton===void 0||e.closeButton===!0)&&a.createVNode(jS,{theme:e.theme,closeToast:d=>{d.stopPropagation(),d.preventDefault(),c()}},null),Fc(e.closeButton)?a.h(a.toRaw(e.closeButton),{closeToast:c,type:e.type,theme:e.theme}):fi(e.closeButton)?e.closeButton({closeToast:c,type:e.type,theme:e.theme}):null,a.createVNode(zS,{className:e.progressClassName,style:e.progressStyle,rtl:e.rtl,theme:e.theme,isIn:l.value,type:e.type,hide:e.hideProgressBar,isRunning:s.value,autoClose:e.autoClose,controlledProgress:r.value,progress:e.progress,closeToast:e.isLoading?void 0:c},null)])}});let Hs=0;function f4(){typeof window>"u"||(Hs&&window.cancelAnimationFrame(Hs),Hs=window.requestAnimationFrame(f4),Pc.lastUrl!==window.location.href&&(Pc.lastUrl=window.location.href,On.clear()))}const eT=a.defineComponent({name:"ToastifyContainer",inheritAttrs:!1,props:d4,setup(e){const t=a.computed(()=>e.containerId),n=a.computed(()=>Jt[t.value]||[]),r=a.computed(()=>n.value.filter(o=>o.position===e.position));return a.onMounted(()=>{typeof window<"u"&&e.clearOnUrlChange&&window.requestAnimationFrame(f4)}),a.onUnmounted(()=>{typeof window<"u"&&Hs&&(window.cancelAnimationFrame(Hs),Pc.lastUrl="")}),()=>a.createVNode(a.Fragment,null,[r.value.map(o=>{const{toastId:i=""}=o;return a.createVNode($S,a.mergeProps({key:i},o),null)})])}});let M1=!1;function h4(){const e=[];return di().forEach(t=>{const n=document.getElementById(t.containerId);n&&!n.classList.contains(Dc)&&e.push(t)}),e}function tT(e){const t=h4().length,n=e??0;return n>0&&t+xr.items.length>=n}function nT(e){tT(e.limit)&&!e.updateId&&xr.items.push({toastId:e.toastId,containerId:e.containerId,toastContent:e.content,toastProps:e})}function Aa(e,t,n={}){if(M1)return;n=Lc(FS(),{type:t},a.toRaw(n)),(!n.toastId||typeof n.toastId!="string"&&typeof n.toastId!="number")&&(n.toastId=u4()),n={...n,content:e,containerId:n.containerId||String(n.position)};const r=Number(n==null?void 0:n.progress);return r<0&&(n.progress=0),r>1&&(n.progress=1),n.theme==="auto"&&(n.theme=US()),nT(n),Pc.lastUrl=window.location.href,n.multiple?xr.items.length?n.updateId&&Mc(e,n):Mc(e,n):(M1=!0,K.clearAll(void 0,!1),setTimeout(()=>{Mc(e,n)},0),setTimeout(()=>{M1=!1},390)),n.toastId}const K=(e,t)=>Aa(e,ln.DEFAULT,t);K.info=(e,t)=>Aa(e,ln.DEFAULT,{...t,type:ln.INFO}),K.error=(e,t)=>Aa(e,ln.DEFAULT,{...t,type:ln.ERROR}),K.warning=(e,t)=>Aa(e,ln.DEFAULT,{...t,type:ln.WARNING}),K.warn=K.warning,K.success=(e,t)=>Aa(e,ln.DEFAULT,{...t,type:ln.SUCCESS}),K.loading=(e,t)=>Aa(e,ln.DEFAULT,Lc(t,{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1})),K.dark=(e,t)=>Aa(e,ln.DEFAULT,Lc(t,{theme:ui.DARK})),K.remove=e=>{e?On.dismiss(e):On.clear()},K.clearAll=(e,t)=>{a.nextTick(()=>{On.clear(e,t)})},K.isActive=e=>{let t=!1;return t=h4().findIndex(n=>n.toastId===e)>-1,t},K.update=(e,t={})=>{setTimeout(()=>{const n=MS(e);if(n){const r=a.toRaw(n),{content:o}=r,i={...r,...t,toastId:t.toastId||e,updateId:u4()},s=i.render||o;delete i.render,Aa(s,i.type,i)}},0)},K.done=e=>{K.update(e,{isLoading:!1,progress:1})},K.promise=rT;function rT(e,{pending:t,error:n,success:r},o){var i,s,l;let c;const u={...o||{},autoClose:!1};t&&(c=R1(t)?K.loading(t,u):K.loading(t.render,{...u,...t}));const d={autoClose:(i=o==null?void 0:o.autoClose)!=null?i:!0,closeOnClick:(s=o==null?void 0:o.closeOnClick)!=null?s:!0,closeButton:(l=o==null?void 0:o.autoClose)!=null?l:null,isLoading:void 0,draggable:null,delay:100},f=(p,g,w)=>{if(g==null){K.remove(c);return}const y={type:p,...d,...o,data:w},k=R1(g)?{render:g}:g;return c?K.update(c,{...y,...k,isLoading:!1}):K(k.render,{...y,...k,isLoading:!1}),w},h=fi(e)?e():e;return h.then(p=>{f("success",r,p)}).catch(p=>{f("error",n,p)}),h}K.POSITION=zs,K.THEME=ui,K.TYPE=ln,K.TRANSITIONS=vS;const aT={install(e,t={}){oT(t)}};typeof window<"u"&&(window.Vue3Toastify=aT);function oT(e={}){const t=Lc(a4,e);LS(t)}const iT={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 31 31"},sT=["fill"],lT=a.createElementVNode("path",{fill:"#fff",d:"m20.8403 24.9997-4.64-7.22h-.03l-4.6499 7.22h-2.95l6.0799-9.14-5.87-8.92h3.12l4.38 6.83h.03l4.5-6.83h2.91l-5.9499 8.69 6.1799 9.37h-3.12.01Z",opacity:"1"},null,-1),ot=a.defineComponent({__name:"ErrorIcon",setup(e){const t=a.computed(()=>window.getComputedStyle(document.documentElement).getPropertyValue("--fge-toast-error"));return(n,r)=>(a.openBlock(),a.createElementBlock("svg",iT,[a.createElementVNode("path",{fill:t.value,d:"M15.9609 30.4998c8.2843 0 15-6.7158 15-15 0-8.2843-6.7157-15-15-15-8.2842 0-15 6.7157-15 15 0 8.2842 6.7158 15 15 15Z"},null,8,sT),lT]))}}),cT={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 31 31"},uT=[a.createElementVNode("path",{d:"M15.96 30.5c8.285 0 15-6.716 15-15 0-8.284-6.715-15-15-15-8.283 0-15 6.716-15 15 0 8.284 6.717 15 15 15Z"},null,-1),a.createElementVNode("path",{fill:"#fff",d:"m14.953 18.83-.32-8.73V6.93h2.74v3.18l-.31 8.71h-2.12l.01.01Zm-.25 6.18v-3.72h2.53v3.72h-2.53Z"},null,-1)];function dT(e,t){return a.openBlock(),a.createElementBlock("svg",cT,[...uT])}const jn={render:dT},cn=({error:e,setErrors:t,toastTitle:n="Error",autoClose:r=5e3,hideProgressBar:o=!0})=>{var s;if((e==null?void 0:e.sesionFinalizada)===!0)return;const i=(s=e==null?void 0:e.response)==null?void 0:s.validationErrors;if(e.message&&K.error(`<p class="toast-title">${n}</p><p class="toast-description">${e.message}</p>`,{autoClose:r,hideProgressBar:o,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0}),i){let l={};for(const[c,u]of Object.entries(i))l={...l,[c]:u[0]};t(l);return}},zc=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{8,15})/),P1=new RegExp(/^[0-9]+$/),fT=new RegExp(/^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/),fo=new RegExp(/^[a-zA-Z0-9]+$/),L1=640,p4=50*1024,m4=5*1024*1024,g4=2048,v4=.92,hT=300,pT=80,mT=35,gT=230,vT=.14,yT=.5,bT=.37,wT=.24,_T=.5,kT="https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@1.0.1/wasm",ET="https://storage.googleapis.com/mediapipe-models/face_detector/blaze_face_short_range/float16/latest/blaze_face_short_range.tflite",xT=360,F1=.82,U1=.52,y4=(1-F1)/2,b4=(1-U1)/2,w4=.22,_4=.85,CT=1.35,ST=1.95,TT=.5,AT=.5,OT=.18,k4=22,BT=.34,IT=.05,E4=.04,x4=.96,VT=1.2,RT=2.25,DT=.12,MT=480,PT=["anverso","reverso","selfie"],LT=["telegram","email","sms"],C4=["telegram","email"],Z1="Tu sesión de registro venció por seguridad. Vuelve a validar tus datos para continuar.",FT="Quedan menos de 2 minutos para completar el registro. Si vence, deberá volver a validar sus datos.",UT=120,ho={PENDIENTE_DOCUMENTOS:"REGISTRO_PENDIENTE_DOCUMENTOS",PENDIENTE_APROBACION:"REGISTRO_PENDIENTE_APROBACION",OBSERVADO:"REGISTRO_OBSERVADO",RECHAZADO:"REGISTRO_RECHAZADO"},ZT={consentimiento:"Permiso",anverso:"Anverso",reverso:"Reverso",selfie:"Selfie",resumen:"Envío"},z1={anverso:{titulo:"Anverso del carnet",instruccion:"Coloque el anverso de su carnet dentro del marco, con buena iluminación.",guia:"documento",facingMode:"environment"},reverso:{titulo:"Reverso del carnet",instruccion:"Voltee el carnet y encuadre el reverso dentro del marco.",guia:"documento",facingMode:"environment"},selfie:{titulo:"Selfie con carnet",instruccion:"Tome una selfie sosteniendo su carnet junto al rostro, ambos visibles.",guia:"selfie",facingMode:"user"}},zT=["token expirado","token inválido","token de registro","tipo de token incorrecto"];function jT(e){if(!e||typeof e!="object")return!1;const t=e;if(t.status!==401)return!1;const n=String(t.message??"").toLowerCase();return n?zT.some(r=>n.includes(r)):!0}const HT=["telegram","email","sms"],qT={telegram:"Telegram",email:"el correo electrónico",sms:"SMS"};function WT(e){return LT.includes(e)}function j1(e){if(!Array.isArray(e))return[...C4];const t=new Set;for(const n of e)WT(n)&&t.add(n);return t.size===0?[...C4]:HT.filter(n=>t.has(n))}function GT(e,t){return e==="telegram"?t.verificadoTelegram:e==="email"?t.verificadoEmail:t.verificadoSms}function KT(e,t){return e.some(n=>GT(n,t))}function S4(e){const t=e.map(r=>qT[r]);if(t.length===0)return"un medio de contacto";if(t.length===1)return t[0];const n=t[t.length-1];return`${t.slice(0,-1).join(", ")} o ${n}`}function T4(e){return`Verifica ${S4(e)} para continuar.`}function A4(e,t="continuar"){return`Debe verificar ${S4(e)} antes de ${t==="completar"?"completar el registro":"continuar"}.`}function YT(e,t){const n=e.trim();if(!n)return"";if(t==="email"){const[r,o]=n.split("@");return!o||!r?n:`${r.slice(0,1)}***@${o}`}return n.length<=4?n:`***${n.slice(-4)}`}function JT(e){return e==="email"?"Verificar correo electrónico":e==="sms"?"Verificar SMS":e==="telegram"?"Confirmación vía Telegram":"Verificación de medio"}function XT(e,t){if(!e)return"Ingrese el código enviado a su medio de contacto.";const n=YT(e,t);return t==="telegram"?`Siga las instrucciones de Telegram para el número ${n}.`:`Enviamos un código a ${n}.`}const qs=f3("STATE_STORE",()=>{const e=a.ref("STATE_STORE"),t=a.ref(!1);return{id:e,isLoading:t,setLoading:r=>{t.value=r}}});class po extends Error{}class QT extends po{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class NT extends po{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class $T extends po{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class hi extends po{}class O4 extends po{constructor(t){super(`Invalid unit ${t}`)}}class mn extends po{}class Oa extends po{constructor(){super("Zone is an abstract class")}}const Q="numeric",ir="short",Bn="long",jc={year:Q,month:Q,day:Q},B4={year:Q,month:ir,day:Q},eA={year:Q,month:ir,day:Q,weekday:ir},I4={year:Q,month:Bn,day:Q},V4={year:Q,month:Bn,day:Q,weekday:Bn},R4={hour:Q,minute:Q},D4={hour:Q,minute:Q,second:Q},M4={hour:Q,minute:Q,second:Q,timeZoneName:ir},P4={hour:Q,minute:Q,second:Q,timeZoneName:Bn},L4={hour:Q,minute:Q,hourCycle:"h23"},F4={hour:Q,minute:Q,second:Q,hourCycle:"h23"},U4={hour:Q,minute:Q,second:Q,hourCycle:"h23",timeZoneName:ir},Z4={hour:Q,minute:Q,second:Q,hourCycle:"h23",timeZoneName:Bn},z4={year:Q,month:Q,day:Q,hour:Q,minute:Q},j4={year:Q,month:Q,day:Q,hour:Q,minute:Q,second:Q},H4={year:Q,month:ir,day:Q,hour:Q,minute:Q},q4={year:Q,month:ir,day:Q,hour:Q,minute:Q,second:Q},tA={year:Q,month:ir,day:Q,weekday:ir,hour:Q,minute:Q},W4={year:Q,month:Bn,day:Q,hour:Q,minute:Q,timeZoneName:ir},G4={year:Q,month:Bn,day:Q,hour:Q,minute:Q,second:Q,timeZoneName:ir},K4={year:Q,month:Bn,day:Q,weekday:Bn,hour:Q,minute:Q,timeZoneName:Bn},Y4={year:Q,month:Bn,day:Q,weekday:Bn,hour:Q,minute:Q,second:Q,timeZoneName:Bn};class Ws{get type(){throw new Oa}get name(){throw new Oa}get ianaName(){return this.name}get isUniversal(){throw new Oa}offsetName(t,n){throw new Oa}formatOffset(t,n){throw new Oa}offset(t){throw new Oa}equals(t){throw new Oa}get isValid(){throw new Oa}}let H1=null;class Hc extends Ws{static get instance(){return H1===null&&(H1=new Hc),H1}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return y5(t,n,r)}formatOffset(t,n){return Js(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}let qc={};function nA(e){return qc[e]||(qc[e]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),qc[e]}const rA={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function aA(e,t){const n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,o,i,s,l,c,u,d]=r;return[s,o,i,l,c,u,d]}function oA(e,t){const n=e.formatToParts(t),r=[];for(let o=0;o<n.length;o++){const{type:i,value:s}=n[o],l=rA[i];i==="era"?r[l]=s:xe(l)||(r[l]=parseInt(s,10))}return r}let Wc={};class Qr extends Ws{static create(t){return Wc[t]||(Wc[t]=new Qr(t)),Wc[t]}static resetCache(){Wc={},qc={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch{return!1}}constructor(t){super(),this.zoneName=t,this.valid=Qr.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return y5(t,n,r,this.name)}formatOffset(t,n){return Js(this.offset(t),n)}offset(t){const n=new Date(t);if(isNaN(n))return NaN;const r=nA(this.name);let[o,i,s,l,c,u,d]=r.formatToParts?oA(r,n):aA(r,n);l==="BC"&&(o=-Math.abs(o)+1);const h=Xc({year:o,month:i,day:s,hour:c===24?0:c,minute:u,second:d,millisecond:0});let p=+n;const g=p%1e3;return p-=g>=0?g:1e3+g,(h-p)/(60*1e3)}equals(t){return t.type==="iana"&&t.name===this.name}get isValid(){return this.valid}}let J4={};function iA(e,t={}){const n=JSON.stringify([e,t]);let r=J4[n];return r||(r=new Intl.ListFormat(e,t),J4[n]=r),r}let q1={};function W1(e,t={}){const n=JSON.stringify([e,t]);let r=q1[n];return r||(r=new Intl.DateTimeFormat(e,t),q1[n]=r),r}let G1={};function sA(e,t={}){const n=JSON.stringify([e,t]);let r=G1[n];return r||(r=new Intl.NumberFormat(e,t),G1[n]=r),r}let K1={};function lA(e,t={}){const{base:n,...r}=t,o=JSON.stringify([e,r]);let i=K1[o];return i||(i=new Intl.RelativeTimeFormat(e,t),K1[o]=i),i}let Gs=null;function cA(){return Gs||(Gs=new Intl.DateTimeFormat().resolvedOptions().locale,Gs)}let X4={};function uA(e){let t=X4[e];if(!t){const n=new Intl.Locale(e);t="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,X4[e]=t}return t}function dA(e){const t=e.indexOf("-x-");t!==-1&&(e=e.substring(0,t));const n=e.indexOf("-u-");if(n===-1)return[e];{let r,o;try{r=W1(e).resolvedOptions(),o=e}catch{const c=e.substring(0,n);r=W1(c).resolvedOptions(),o=c}const{numberingSystem:i,calendar:s}=r;return[o,i,s]}}function fA(e,t,n){return(n||t)&&(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function hA(e){const t=[];for(let n=1;n<=12;n++){const r=we.utc(2009,n,1);t.push(e(r))}return t}function pA(e){const t=[];for(let n=1;n<=7;n++){const r=we.utc(2016,11,13+n);t.push(e(r))}return t}function Gc(e,t,n,r){const o=e.listingMode();return o==="error"?null:o==="en"?n(t):r(t)}function mA(e){return e.numberingSystem&&e.numberingSystem!=="latn"?!1:e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem==="latn"}class gA{constructor(t,n,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:o,floor:i,...s}=r;if(!n||Object.keys(s).length>0){const l={useGrouping:!1,...r};r.padTo>0&&(l.minimumIntegerDigits=r.padTo),this.inf=sA(t,l)}}format(t){if(this.inf){const n=this.floor?Math.floor(t):t;return this.inf.format(n)}else{const n=this.floor?Math.floor(t):e2(t,3);return Mt(n,this.padTo)}}}class vA{constructor(t,n,r){this.opts=r,this.originalZone=void 0;let o;if(this.opts.timeZone)this.dt=t;else if(t.zone.type==="fixed"){const s=-1*(t.offset/60),l=s>=0?`Etc/GMT+${s}`:`Etc/GMT${s}`;t.offset!==0&&Qr.create(l).valid?(o=l,this.dt=t):(o="UTC",this.dt=t.offset===0?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else t.zone.type==="system"?this.dt=t:t.zone.type==="iana"?(this.dt=t,o=t.zone.name):(o="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const i={...this.opts};i.timeZone=i.timeZone||o,this.dtf=W1(n,i)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(n=>{if(n.type==="timeZoneName"){const r=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...n,value:r}}else return n}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class yA{constructor(t,n,r){this.opts={style:"long",...r},!n&&p5()&&(this.rtf=lA(t,r))}format(t,n){return this.rtf?this.rtf.format(t,n):FA(n,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}const bA={firstDay:1,minimalDays:4,weekend:[6,7]};class it{static fromOpts(t){return it.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,n,r,o,i=!1){const s=t||At.defaultLocale,l=s||(i?"en-US":cA()),c=n||At.defaultNumberingSystem,u=r||At.defaultOutputCalendar,d=N1(o)||At.defaultWeekSettings;return new it(l,c,u,d,s)}static resetCache(){Gs=null,q1={},G1={},K1={}}static fromObject({locale:t,numberingSystem:n,outputCalendar:r,weekSettings:o}={}){return it.create(t,n,r,o)}constructor(t,n,r,o,i){const[s,l,c]=dA(t);this.locale=s,this.numberingSystem=n||l||null,this.outputCalendar=r||c||null,this.weekSettings=o,this.intl=fA(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=mA(this)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return t&&n?"en":"intl"}clone(t){return!t||Object.getOwnPropertyNames(t).length===0?this:it.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,N1(t.weekSettings)||this.weekSettings,t.defaultToEN||!1)}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,n=!1){return Gc(this,t,_5,()=>{const r=n?{month:t,day:"numeric"}:{month:t},o=n?"format":"standalone";return this.monthsCache[o][t]||(this.monthsCache[o][t]=hA(i=>this.extract(i,r,"month"))),this.monthsCache[o][t]})}weekdays(t,n=!1){return Gc(this,t,x5,()=>{const r=n?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},o=n?"format":"standalone";return this.weekdaysCache[o][t]||(this.weekdaysCache[o][t]=pA(i=>this.extract(i,r,"weekday"))),this.weekdaysCache[o][t]})}meridiems(){return Gc(this,void 0,()=>C5,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[we.utc(2016,11,13,9),we.utc(2016,11,13,19)].map(n=>this.extract(n,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Gc(this,t,S5,()=>{const n={era:t};return this.eraCache[t]||(this.eraCache[t]=[we.utc(-40,1,1),we.utc(2017,1,1)].map(r=>this.extract(r,n,"era"))),this.eraCache[t]})}extract(t,n,r){const o=this.dtFormatter(t,n),i=o.formatToParts(),s=i.find(l=>l.type.toLowerCase()===r);return s?s.value:null}numberFormatter(t={}){return new gA(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new vA(t,this.intl,n)}relFormatter(t={}){return new yA(this.intl,this.isEnglish(),t)}listFormatter(t={}){return iA(this.intl,t)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:m5()?uA(this.locale):bA}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}}let Y1=null;class un extends Ws{static get utcInstance(){return Y1===null&&(Y1=new un(0)),Y1}static instance(t){return t===0?un.utcInstance:new un(t)}static parseSpecifier(t){if(t){const n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new un(Qc(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Js(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Js(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return Js(this.fixed,n)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return t.type==="fixed"&&t.fixed===this.fixed}get isValid(){return!0}}class wA extends Ws{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function Ba(e,t){if(xe(e)||e===null)return t;if(e instanceof Ws)return e;if(EA(e)){const n=e.toLowerCase();return n==="default"?t:n==="local"||n==="system"?Hc.instance:n==="utc"||n==="gmt"?un.utcInstance:un.parseSpecifier(n)||Qr.create(e)}else return mo(e)?un.instance(e):typeof e=="object"&&"offset"in e&&typeof e.offset=="function"?e:new wA(e)}let Q4=()=>Date.now(),N4="system",$4=null,e5=null,t5=null,n5=60,r5,a5=null;class At{static get now(){return Q4}static set now(t){Q4=t}static set defaultZone(t){N4=t}static get defaultZone(){return Ba(N4,Hc.instance)}static get defaultLocale(){return $4}static set defaultLocale(t){$4=t}static get defaultNumberingSystem(){return e5}static set defaultNumberingSystem(t){e5=t}static get defaultOutputCalendar(){return t5}static set defaultOutputCalendar(t){t5=t}static get defaultWeekSettings(){return a5}static set defaultWeekSettings(t){a5=N1(t)}static get twoDigitCutoffYear(){return n5}static set twoDigitCutoffYear(t){n5=t%100}static get throwOnInvalid(){return r5}static set throwOnInvalid(t){r5=t}static resetCaches(){it.resetCache(),Qr.resetCache()}}class sr{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const o5=[0,31,59,90,120,151,181,212,243,273,304,334],i5=[0,31,60,91,121,152,182,213,244,274,305,335];function Hn(e,t){return new sr("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function J1(e,t,n){const r=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const o=r.getUTCDay();return o===0?7:o}function s5(e,t,n){return n+(Ks(e)?i5:o5)[t-1]}function l5(e,t){const n=Ks(e)?i5:o5,r=n.findIndex(i=>i<t),o=t-n[r];return{month:r+1,day:o}}function X1(e,t){return(e-t+7)%7+1}function Kc(e,t=4,n=1){const{year:r,month:o,day:i}=e,s=s5(r,o,i),l=X1(J1(r,o,i),n);let c=Math.floor((s-l+14-t)/7),u;return c<1?(u=r-1,c=Ys(u,t,n)):c>Ys(r,t,n)?(u=r+1,c=1):u=r,{weekYear:u,weekNumber:c,weekday:l,...$c(e)}}function c5(e,t=4,n=1){const{weekYear:r,weekNumber:o,weekday:i}=e,s=X1(J1(r,1,t),n),l=mi(r);let c=o*7+i-s-7+t,u;c<1?(u=r-1,c+=mi(u)):c>l?(u=r+1,c-=mi(r)):u=r;const{month:d,day:f}=l5(u,c);return{year:u,month:d,day:f,...$c(e)}}function Q1(e){const{year:t,month:n,day:r}=e,o=s5(t,n,r);return{year:t,ordinal:o,...$c(e)}}function u5(e){const{year:t,ordinal:n}=e,{month:r,day:o}=l5(t,n);return{year:t,month:r,day:o,...$c(e)}}function d5(e,t){if(!xe(e.localWeekday)||!xe(e.localWeekNumber)||!xe(e.localWeekYear)){if(!xe(e.weekday)||!xe(e.weekNumber)||!xe(e.weekYear))throw new hi("Cannot mix locale-based week fields with ISO-based week fields");return xe(e.localWeekday)||(e.weekday=e.localWeekday),xe(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),xe(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function _A(e,t=4,n=1){const r=Yc(e.weekYear),o=qn(e.weekNumber,1,Ys(e.weekYear,t,n)),i=qn(e.weekday,1,7);return r?o?i?!1:Hn("weekday",e.weekday):Hn("week",e.weekNumber):Hn("weekYear",e.weekYear)}function kA(e){const t=Yc(e.year),n=qn(e.ordinal,1,mi(e.year));return t?n?!1:Hn("ordinal",e.ordinal):Hn("year",e.year)}function f5(e){const t=Yc(e.year),n=qn(e.month,1,12),r=qn(e.day,1,Jc(e.year,e.month));return t?n?r?!1:Hn("day",e.day):Hn("month",e.month):Hn("year",e.year)}function h5(e){const{hour:t,minute:n,second:r,millisecond:o}=e,i=qn(t,0,23)||t===24&&n===0&&r===0&&o===0,s=qn(n,0,59),l=qn(r,0,59),c=qn(o,0,999);return i?s?l?c?!1:Hn("millisecond",o):Hn("second",r):Hn("minute",n):Hn("hour",t)}function xe(e){return typeof e>"u"}function mo(e){return typeof e=="number"}function Yc(e){return typeof e=="number"&&e%1===0}function EA(e){return typeof e=="string"}function xA(e){return Object.prototype.toString.call(e)==="[object Date]"}function p5(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function m5(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function CA(e){return Array.isArray(e)?e:[e]}function g5(e,t,n){if(e.length!==0)return e.reduce((r,o)=>{const i=[t(o),o];return r&&n(r[0],i[0])===r[0]?r:i},null)[1]}function SA(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function pi(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function N1(e){if(e==null)return null;if(typeof e!="object")throw new mn("Week settings must be an object");if(!qn(e.firstDay,1,7)||!qn(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(t=>!qn(t,1,7)))throw new mn("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function qn(e,t,n){return Yc(e)&&e>=t&&e<=n}function TA(e,t){return e-t*Math.floor(e/t)}function Mt(e,t=2){const n=e<0;let r;return n?r="-"+(""+-e).padStart(t,"0"):r=(""+e).padStart(t,"0"),r}function Ia(e){if(!(xe(e)||e===null||e===""))return parseInt(e,10)}function go(e){if(!(xe(e)||e===null||e===""))return parseFloat(e)}function $1(e){if(!(xe(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function e2(e,t,n=!1){const r=10**t;return(n?Math.trunc:Math.round)(e*r)/r}function Ks(e){return e%4===0&&(e%100!==0||e%400===0)}function mi(e){return Ks(e)?366:365}function Jc(e,t){const n=TA(t-1,12)+1,r=e+(t-n)/12;return n===2?Ks(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function Xc(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function v5(e,t,n){return-X1(J1(e,1,t),n)+t-1}function Ys(e,t=4,n=1){const r=v5(e,t,n),o=v5(e+1,t,n);return(mi(e)-r+o)/7}function t2(e){return e>99?e:e>At.twoDigitCutoffYear?1900+e:2e3+e}function y5(e,t,n,r=null){const o=new Date(e),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(i.timeZone=r);const s={timeZoneName:t,...i},l=new Intl.DateTimeFormat(n,s).formatToParts(o).find(c=>c.type.toLowerCase()==="timezonename");return l?l.value:null}function Qc(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);const r=parseInt(t,10)||0,o=n<0||Object.is(n,-0)?-r:r;return n*60+o}function b5(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new mn(`Invalid unit value ${e}`);return t}function Nc(e,t){const n={};for(const r in e)if(pi(e,r)){const o=e[r];if(o==null)continue;n[t(r)]=b5(o)}return n}function Js(e,t){const n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),o=e>=0?"+":"-";switch(t){case"short":return`${o}${Mt(n,2)}:${Mt(r,2)}`;case"narrow":return`${o}${n}${r>0?`:${r}`:""}`;case"techie":return`${o}${Mt(n,2)}${Mt(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function $c(e){return SA(e,["hour","minute","second","millisecond"])}const AA=["January","February","March","April","May","June","July","August","September","October","November","December"],w5=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],OA=["J","F","M","A","M","J","J","A","S","O","N","D"];function _5(e){switch(e){case"narrow":return[...OA];case"short":return[...w5];case"long":return[...AA];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const k5=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],E5=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],BA=["M","T","W","T","F","S","S"];function x5(e){switch(e){case"narrow":return[...BA];case"short":return[...E5];case"long":return[...k5];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const C5=["AM","PM"],IA=["Before Christ","Anno Domini"],VA=["BC","AD"],RA=["B","A"];function S5(e){switch(e){case"narrow":return[...RA];case"short":return[...VA];case"long":return[...IA];default:return null}}function DA(e){return C5[e.hour<12?0:1]}function MA(e,t){return x5(t)[e.weekday-1]}function PA(e,t){return _5(t)[e.month-1]}function LA(e,t){return S5(t)[e.year<0?0:1]}function FA(e,t,n="always",r=!1){const o={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=["hours","minutes","seconds"].indexOf(e)===-1;if(n==="auto"&&i){const f=e==="days";switch(t){case 1:return f?"tomorrow":`next ${o[e][0]}`;case-1:return f?"yesterday":`last ${o[e][0]}`;case 0:return f?"today":`this ${o[e][0]}`}}const s=Object.is(t,-0)||t<0,l=Math.abs(t),c=l===1,u=o[e],d=r?c?u[1]:u[2]||u[1]:c?o[e][0]:e;return s?`${l} ${d} ago`:`in ${l} ${d}`}function T5(e,t){let n="";for(const r of e)r.literal?n+=r.val:n+=t(r.val);return n}const UA={D:jc,DD:B4,DDD:I4,DDDD:V4,t:R4,tt:D4,ttt:M4,tttt:P4,T:L4,TT:F4,TTT:U4,TTTT:Z4,f:z4,ff:H4,fff:W4,ffff:K4,F:j4,FF:q4,FFF:G4,FFFF:Y4};class rn{static create(t,n={}){return new rn(t,n)}static parseFormat(t){let n=null,r="",o=!1;const i=[];for(let s=0;s<t.length;s++){const l=t.charAt(s);l==="'"?(r.length>0&&i.push({literal:o||/^\s+$/.test(r),val:r}),n=null,r="",o=!o):o||l===n?r+=l:(r.length>0&&i.push({literal:/^\s+$/.test(r),val:r}),r=l,n=l)}return r.length>0&&i.push({literal:o||/^\s+$/.test(r),val:r}),i}static macroTokenToFormatOpts(t){return UA[t]}constructor(t,n){this.opts=n,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,n){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...n}).format()}dtFormatter(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n})}formatDateTime(t,n){return this.dtFormatter(t,n).format()}formatDateTimeParts(t,n){return this.dtFormatter(t,n).formatToParts()}formatInterval(t,n){return this.dtFormatter(t.start,n).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,n){return this.dtFormatter(t,n).resolvedOptions()}num(t,n=0){if(this.opts.forceSimple)return Mt(t,n);const r={...this.opts};return n>0&&(r.padTo=n),this.loc.numberFormatter(r).format(t)}formatDateTimeFromString(t,n){const r=this.loc.listingMode()==="en",o=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",i=(p,g)=>this.loc.extract(t,p,g),s=p=>t.isOffsetFixed&&t.offset===0&&p.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,p.format):"",l=()=>r?DA(t):i({hour:"numeric",hourCycle:"h12"},"dayperiod"),c=(p,g)=>r?PA(t,p):i(g?{month:p}:{month:p,day:"numeric"},"month"),u=(p,g)=>r?MA(t,p):i(g?{weekday:p}:{weekday:p,month:"long",day:"numeric"},"weekday"),d=p=>{const g=rn.macroTokenToFormatOpts(p);return g?this.formatWithSystemDefault(t,g):p},f=p=>r?LA(t,p):i({era:p},"era"),h=p=>{switch(p){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12===0?12:t.hour%12);case"hh":return this.num(t.hour%12===0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return l();case"d":return o?i({day:"numeric"},"day"):this.num(t.day);case"dd":return o?i({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return u("short",!0);case"cccc":return u("long",!0);case"ccccc":return u("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return u("short",!1);case"EEEE":return u("long",!1);case"EEEEE":return u("narrow",!1);case"L":return o?i({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return o?i({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return c("short",!0);case"LLLL":return c("long",!0);case"LLLLL":return c("narrow",!0);case"M":return o?i({month:"numeric"},"month"):this.num(t.month);case"MM":return o?i({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return c("short",!1);case"MMMM":return c("long",!1);case"MMMMM":return c("narrow",!1);case"y":return o?i({year:"numeric"},"year"):this.num(t.year);case"yy":return o?i({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return o?i({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return o?i({year:"numeric"},"year"):this.num(t.year,6);case"G":return f("short");case"GG":return f("long");case"GGGGG":return f("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return d(p)}};return T5(rn.parseFormat(n),h)}formatDurationFromString(t,n){const r=c=>{switch(c[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},o=c=>u=>{const d=r(u);return d?this.num(c.get(d),u.length):u},i=rn.parseFormat(n),s=i.reduce((c,{literal:u,val:d})=>u?c:c.concat(d),[]),l=t.shiftTo(...s.map(r).filter(c=>c));return T5(i,o(l))}}const A5=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function gi(...e){const t=e.reduce((n,r)=>n+r.source,"");return RegExp(`^${t}$`)}function vi(...e){return t=>e.reduce(([n,r,o],i)=>{const[s,l,c]=i(t,o);return[{...n,...s},l||r,c]},[{},null,1]).slice(0,2)}function yi(e,...t){if(e==null)return[null,null];for(const[n,r]of t){const o=n.exec(e);if(o)return r(o)}return[null,null]}function O5(...e){return(t,n)=>{const r={};let o;for(o=0;o<e.length;o++)r[e[o]]=Ia(t[n+o]);return[r,null,n+o]}}const B5=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,ZA=`(?:${B5.source}?(?:\\[(${A5.source})\\])?)?`,n2=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,I5=RegExp(`${n2.source}${ZA}`),r2=RegExp(`(?:T${I5.source})?`),zA=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,jA=/(\d{4})-?W(\d\d)(?:-?(\d))?/,HA=/(\d{4})-?(\d{3})/,qA=O5("weekYear","weekNumber","weekDay"),WA=O5("year","ordinal"),GA=/(\d{4})-(\d\d)-(\d\d)/,V5=RegExp(`${n2.source} ?(?:${B5.source}|(${A5.source}))?`),KA=RegExp(`(?: ${V5.source})?`);function bi(e,t,n){const r=e[t];return xe(r)?n:Ia(r)}function YA(e,t){return[{year:bi(e,t),month:bi(e,t+1,1),day:bi(e,t+2,1)},null,t+3]}function wi(e,t){return[{hours:bi(e,t,0),minutes:bi(e,t+1,0),seconds:bi(e,t+2,0),milliseconds:$1(e[t+3])},null,t+4]}function Xs(e,t){const n=!e[t]&&!e[t+1],r=Qc(e[t+1],e[t+2]),o=n?null:un.instance(r);return[{},o,t+3]}function Qs(e,t){const n=e[t]?Qr.create(e[t]):null;return[{},n,t+1]}const JA=RegExp(`^T?${n2.source}$`),XA=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function QA(e){const[t,n,r,o,i,s,l,c,u]=e,d=t[0]==="-",f=c&&c[0]==="-",h=(p,g=!1)=>p!==void 0&&(g||p&&d)?-p:p;return[{years:h(go(n)),months:h(go(r)),weeks:h(go(o)),days:h(go(i)),hours:h(go(s)),minutes:h(go(l)),seconds:h(go(c),c==="-0"),milliseconds:h($1(u),f)}]}const NA={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function a2(e,t,n,r,o,i,s){const l={year:t.length===2?t2(Ia(t)):Ia(t),month:w5.indexOf(n)+1,day:Ia(r),hour:Ia(o),minute:Ia(i)};return s&&(l.second=Ia(s)),e&&(l.weekday=e.length>3?k5.indexOf(e)+1:E5.indexOf(e)+1),l}const $A=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function eO(e){const[,t,n,r,o,i,s,l,c,u,d,f]=e,h=a2(t,o,r,n,i,s,l);let p;return c?p=NA[c]:u?p=0:p=Qc(d,f),[h,new un(p)]}function tO(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const nO=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,rO=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,aO=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function R5(e){const[,t,n,r,o,i,s,l]=e;return[a2(t,o,r,n,i,s,l),un.utcInstance]}function oO(e){const[,t,n,r,o,i,s,l]=e;return[a2(t,l,n,r,o,i,s),un.utcInstance]}const iO=gi(zA,r2),sO=gi(jA,r2),lO=gi(HA,r2),cO=gi(I5),D5=vi(YA,wi,Xs,Qs),uO=vi(qA,wi,Xs,Qs),dO=vi(WA,wi,Xs,Qs),fO=vi(wi,Xs,Qs);function hO(e){return yi(e,[iO,D5],[sO,uO],[lO,dO],[cO,fO])}function pO(e){return yi(tO(e),[$A,eO])}function mO(e){return yi(e,[nO,R5],[rO,R5],[aO,oO])}function gO(e){return yi(e,[XA,QA])}const vO=vi(wi);function yO(e){return yi(e,[JA,vO])}const bO=gi(GA,KA),wO=gi(V5),_O=vi(wi,Xs,Qs);function kO(e){return yi(e,[bO,D5],[wO,_O])}const M5="Invalid Duration",P5={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},EO={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...P5},Wn=146097/400,_i=146097/4800,xO={years:{quarters:4,months:12,weeks:Wn/7,days:Wn,hours:Wn*24,minutes:Wn*24*60,seconds:Wn*24*60*60,milliseconds:Wn*24*60*60*1e3},quarters:{months:3,weeks:Wn/28,days:Wn/4,hours:Wn*24/4,minutes:Wn*24*60/4,seconds:Wn*24*60*60/4,milliseconds:Wn*24*60*60*1e3/4},months:{weeks:_i/7,days:_i,hours:_i*24,minutes:_i*24*60,seconds:_i*24*60*60,milliseconds:_i*24*60*60*1e3},...P5},vo=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],CO=vo.slice(0).reverse();function Va(e,t,n=!1){const r={values:n?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new We(r)}function L5(e,t){let n=t.milliseconds??0;for(const r of CO.slice(1))t[r]&&(n+=t[r]*e[r].milliseconds);return n}function F5(e,t){const n=L5(e,t)<0?-1:1;vo.reduceRight((r,o)=>{if(xe(t[o]))return r;if(r){const i=t[r]*n,s=e[o][r],l=Math.floor(i/s);t[o]+=l*n,t[r]-=l*s*n}return o},null),vo.reduce((r,o)=>{if(xe(t[o]))return r;if(r){const i=t[r]%1;t[r]-=i,t[o]+=i*e[r][o]}return o},null)}function SO(e){const t={};for(const[n,r]of Object.entries(e))r!==0&&(t[n]=r);return t}class We{constructor(t){const n=t.conversionAccuracy==="longterm"||!1;let r=n?xO:EO;t.matrix&&(r=t.matrix),this.values=t.values,this.loc=t.loc||it.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(t,n){return We.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(t==null||typeof t!="object")throw new mn(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new We({values:Nc(t,We.normalizeUnit),loc:it.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(mo(t))return We.fromMillis(t);if(We.isDuration(t))return t;if(typeof t=="object")return We.fromObject(t);throw new mn(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){const[r]=gO(t);return r?We.fromObject(r,n):We.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){const[r]=yO(t);return r?We.fromObject(r,n):We.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new mn("need to specify a reason the Duration is invalid");const r=t instanceof sr?t:new sr(t,n);if(At.throwOnInvalid)throw new $T(r);return new We({invalid:r})}static normalizeUnit(t){const n={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t&&t.toLowerCase()];if(!n)throw new O4(t);return n}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,n={}){const r={...n,floor:n.round!==!1&&n.floor!==!1};return this.isValid?rn.create(this.loc,r).formatDurationFromString(this,t):M5}toHuman(t={}){if(!this.isValid)return M5;const n=vo.map(r=>{const o=this.values[r];return xe(o)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:r.slice(0,-1)}).format(o)}).filter(r=>r);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return this.years!==0&&(t+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(t+=this.months+this.quarters*3+"M"),this.weeks!==0&&(t+=this.weeks+"W"),this.days!==0&&(t+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(t+="T"),this.hours!==0&&(t+=this.hours+"H"),this.minutes!==0&&(t+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(t+=e2(this.seconds+this.milliseconds/1e3,3)+"S"),t==="P"&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const n=this.toMillis();return n<0||n>=864e5?null:(t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1},we.fromMillis(n,{zone:"UTC"}).toISOTime(t))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?L5(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const n=We.fromDurationLike(t),r={};for(const o of vo)(pi(n.values,o)||pi(this.values,o))&&(r[o]=n.get(o)+this.get(o));return Va(this,{values:r},!0)}minus(t){if(!this.isValid)return this;const n=We.fromDurationLike(t);return this.plus(n.negate())}mapUnits(t){if(!this.isValid)return this;const n={};for(const r of Object.keys(this.values))n[r]=b5(t(this.values[r],r));return Va(this,{values:n},!0)}get(t){return this[We.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n={...this.values,...Nc(t,We.normalizeUnit)};return Va(this,{values:n})}reconfigure({locale:t,numberingSystem:n,conversionAccuracy:r,matrix:o}={}){const s={loc:this.loc.clone({locale:t,numberingSystem:n}),matrix:o,conversionAccuracy:r};return Va(this,s)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return F5(this.matrix,t),Va(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=SO(this.normalize().shiftToAll().toObject());return Va(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(s=>We.normalizeUnit(s));const n={},r={},o=this.toObject();let i;for(const s of vo)if(t.indexOf(s)>=0){i=s;let l=0;for(const u in r)l+=this.matrix[u][s]*r[u],r[u]=0;mo(o[s])&&(l+=o[s]);const c=Math.trunc(l);n[s]=c,r[s]=(l*1e3-c*1e3)/1e3}else mo(o[s])&&(r[s]=o[s]);for(const s in r)r[s]!==0&&(n[i]+=s===i?r[s]:r[s]/this.matrix[i][s]);return F5(this.matrix,n),Va(this,{values:n},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const n of Object.keys(this.values))t[n]=this.values[n]===0?0:-this.values[n];return Va(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid||!this.loc.equals(t.loc))return!1;function n(r,o){return r===void 0||r===0?o===void 0||o===0:r===o}for(const r of vo)if(!n(this.values[r],t.values[r]))return!1;return!0}}const ki="Invalid Interval";function TO(e,t){return!e||!e.isValid?wt.invalid("missing or invalid start"):!t||!t.isValid?wt.invalid("missing or invalid end"):t<e?wt.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null}class wt{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,n=null){if(!t)throw new mn("need to specify a reason the Interval is invalid");const r=t instanceof sr?t:new sr(t,n);if(At.throwOnInvalid)throw new NT(r);return new wt({invalid:r})}static fromDateTimes(t,n){const r=$s(t),o=$s(n),i=TO(r,o);return i??new wt({start:r,end:o})}static after(t,n){const r=We.fromDurationLike(n),o=$s(t);return wt.fromDateTimes(o,o.plus(r))}static before(t,n){const r=We.fromDurationLike(n),o=$s(t);return wt.fromDateTimes(o.minus(r),o)}static fromISO(t,n){const[r,o]=(t||"").split("/",2);if(r&&o){let i,s;try{i=we.fromISO(r,n),s=i.isValid}catch{s=!1}let l,c;try{l=we.fromISO(o,n),c=l.isValid}catch{c=!1}if(s&&c)return wt.fromDateTimes(i,l);if(s){const u=We.fromISO(o,n);if(u.isValid)return wt.after(i,u)}else if(c){const u=We.fromISO(r,n);if(u.isValid)return wt.before(l,u)}}return wt.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",n){if(!this.isValid)return NaN;const r=this.start.startOf(t,n);let o;return n!=null&&n.useLocaleWeeks?o=this.end.reconfigure({locale:r.locale}):o=this.end,o=o.startOf(t,n),Math.floor(o.diff(r,t).get(t))+(o.valueOf()!==this.end.valueOf())}hasSame(t){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,t):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return this.isValid?this.s>t:!1}isBefore(t){return this.isValid?this.e<=t:!1}contains(t){return this.isValid?this.s<=t&&this.e>t:!1}set({start:t,end:n}={}){return this.isValid?wt.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map($s).filter(s=>this.contains(s)).sort((s,l)=>s.toMillis()-l.toMillis()),r=[];let{s:o}=this,i=0;for(;o<this.e;){const s=n[i]||this.e,l=+s>+this.e?this.e:s;r.push(wt.fromDateTimes(o,l)),o=l,i+=1}return r}splitBy(t){const n=We.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:r}=this,o=1,i;const s=[];for(;r<this.e;){const l=this.start.plus(n.mapUnits(c=>c*o));i=+l>+this.e?this.e:l,s.push(wt.fromDateTimes(r,i)),r=i,o+=1}return s}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return this.isValid?+this.e==+t.s:!1}abutsEnd(t){return this.isValid?+t.e==+this.s:!1}engulfs(t){return this.isValid?this.s<=t.s&&this.e>=t.e:!1}equals(t){return!this.isValid||!t.isValid?!1:this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const n=this.s>t.s?this.s:t.s,r=this.e<t.e?this.e:t.e;return n>=r?null:wt.fromDateTimes(n,r)}union(t){if(!this.isValid)return this;const n=this.s<t.s?this.s:t.s,r=this.e>t.e?this.e:t.e;return wt.fromDateTimes(n,r)}static merge(t){const[n,r]=t.sort((o,i)=>o.s-i.s).reduce(([o,i],s)=>i?i.overlaps(s)||i.abutsStart(s)?[o,i.union(s)]:[o.concat([i]),s]:[o,s],[[],null]);return r&&n.push(r),n}static xor(t){let n=null,r=0;const o=[],i=t.map(c=>[{time:c.s,type:"s"},{time:c.e,type:"e"}]),s=Array.prototype.concat(...i),l=s.sort((c,u)=>c.time-u.time);for(const c of l)r+=c.type==="s"?1:-1,r===1?n=c.time:(n&&+n!=+c.time&&o.push(wt.fromDateTimes(n,c.time)),n=null);return wt.merge(o)}difference(...t){return wt.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:ki}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=jc,n={}){return this.isValid?rn.create(this.s.loc.clone(n),t).formatInterval(this):ki}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:ki}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:ki}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:ki}toFormat(t,{separator:n=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:ki}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):We.invalid(this.invalidReason)}mapEndpoints(t){return wt.fromDateTimes(t(this.s),t(this.e))}}class eu{static hasDST(t=At.defaultZone){const n=we.now().setZone(t).set({month:12});return!t.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(t){return Qr.isValidZone(t)}static normalizeZone(t){return Ba(t,At.defaultZone)}static getStartOfWeek({locale:t=null,locObj:n=null}={}){return(n||it.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:n=null}={}){return(n||it.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:n=null}={}){return(n||it.create(t)).getWeekendDays().slice()}static months(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null,outputCalendar:i="gregory"}={}){return(o||it.create(n,r,i)).months(t)}static monthsFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null,outputCalendar:i="gregory"}={}){return(o||it.create(n,r,i)).months(t,!0)}static weekdays(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null}={}){return(o||it.create(n,r,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null}={}){return(o||it.create(n,r,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return it.create(t).meridiems()}static eras(t="short",{locale:n=null}={}){return it.create(n,null,"gregory").eras(t)}static features(){return{relative:p5(),localeWeek:m5()}}}function U5(e,t){const n=o=>o.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(t)-n(e);return Math.floor(We.fromMillis(r).as("days"))}function AO(e,t,n){const r=[["years",(c,u)=>u.year-c.year],["quarters",(c,u)=>u.quarter-c.quarter+(u.year-c.year)*4],["months",(c,u)=>u.month-c.month+(u.year-c.year)*12],["weeks",(c,u)=>{const d=U5(c,u);return(d-d%7)/7}],["days",U5]],o={},i=e;let s,l;for(const[c,u]of r)n.indexOf(c)>=0&&(s=c,o[c]=u(e,t),l=i.plus(o),l>t?(o[c]--,e=i.plus(o),e>t&&(l=e,o[c]--,e=i.plus(o))):e=l);return[e,o,l,s]}function OO(e,t,n,r){let[o,i,s,l]=AO(e,t,n);const c=t-o,u=n.filter(f=>["hours","minutes","seconds","milliseconds"].indexOf(f)>=0);u.length===0&&(s<t&&(s=o.plus({[l]:1})),s!==o&&(i[l]=(i[l]||0)+c/(s-o)));const d=We.fromObject(i,r);return u.length>0?We.fromMillis(c,r).shiftTo(...u).plus(d):d}const o2={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Z5={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},BO=o2.hanidec.replace(/[\[|\]]/g,"").split("");function IO(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);if(e[n].search(o2.hanidec)!==-1)t+=BO.indexOf(e[n]);else for(const o in Z5){const[i,s]=Z5[o];r>=i&&r<=s&&(t+=r-i)}}return parseInt(t,10)}else return t}function lr({numberingSystem:e},t=""){return new RegExp(`${o2[e||"latn"]}${t}`)}const VO="missing Intl.DateTimeFormat.formatToParts support";function Qe(e,t=n=>n){return{regex:e,deser:([n])=>t(IO(n))}}const z5="[ ]",j5=new RegExp(z5,"g");function RO(e){return e.replace(/\./g,"\\.?").replace(j5,z5)}function H5(e){return e.replace(/\./g,"").replace(j5," ").toLowerCase()}function cr(e,t){return e===null?null:{regex:RegExp(e.map(RO).join("|")),deser:([n])=>e.findIndex(r=>H5(n)===H5(r))+t}}function q5(e,t){return{regex:e,deser:([,n,r])=>Qc(n,r),groups:t}}function tu(e){return{regex:e,deser:([t])=>t}}function DO(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function MO(e,t){const n=lr(t),r=lr(t,"{2}"),o=lr(t,"{3}"),i=lr(t,"{4}"),s=lr(t,"{6}"),l=lr(t,"{1,2}"),c=lr(t,"{1,3}"),u=lr(t,"{1,6}"),d=lr(t,"{1,9}"),f=lr(t,"{2,4}"),h=lr(t,"{4,6}"),p=y=>({regex:RegExp(DO(y.val)),deser:([k])=>k,literal:!0}),w=(y=>{if(e.literal)return p(y);switch(y.val){case"G":return cr(t.eras("short"),0);case"GG":return cr(t.eras("long"),0);case"y":return Qe(u);case"yy":return Qe(f,t2);case"yyyy":return Qe(i);case"yyyyy":return Qe(h);case"yyyyyy":return Qe(s);case"M":return Qe(l);case"MM":return Qe(r);case"MMM":return cr(t.months("short",!0),1);case"MMMM":return cr(t.months("long",!0),1);case"L":return Qe(l);case"LL":return Qe(r);case"LLL":return cr(t.months("short",!1),1);case"LLLL":return cr(t.months("long",!1),1);case"d":return Qe(l);case"dd":return Qe(r);case"o":return Qe(c);case"ooo":return Qe(o);case"HH":return Qe(r);case"H":return Qe(l);case"hh":return Qe(r);case"h":return Qe(l);case"mm":return Qe(r);case"m":return Qe(l);case"q":return Qe(l);case"qq":return Qe(r);case"s":return Qe(l);case"ss":return Qe(r);case"S":return Qe(c);case"SSS":return Qe(o);case"u":return tu(d);case"uu":return tu(l);case"uuu":return Qe(n);case"a":return cr(t.meridiems(),0);case"kkkk":return Qe(i);case"kk":return Qe(f,t2);case"W":return Qe(l);case"WW":return Qe(r);case"E":case"c":return Qe(n);case"EEE":return cr(t.weekdays("short",!1),1);case"EEEE":return cr(t.weekdays("long",!1),1);case"ccc":return cr(t.weekdays("short",!0),1);case"cccc":return cr(t.weekdays("long",!0),1);case"Z":case"ZZ":return q5(new RegExp(`([+-]${l.source})(?::(${r.source}))?`),2);case"ZZZ":return q5(new RegExp(`([+-]${l.source})(${r.source})?`),2);case"z":return tu(/[a-z_+-/]{1,256}?/i);case" ":return tu(/[^\S\n\r]/);default:return p(y)}})(e)||{invalidReason:VO};return w.token=e,w}const PO={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function LO(e,t,n){const{type:r,value:o}=e;if(r==="literal"){const c=/^\s+$/.test(o);return{literal:!c,val:c?" ":o}}const i=t[r];let s=r;r==="hour"&&(t.hour12!=null?s=t.hour12?"hour12":"hour24":t.hourCycle!=null?t.hourCycle==="h11"||t.hourCycle==="h12"?s="hour12":s="hour24":s=n.hour12?"hour12":"hour24");let l=PO[s];if(typeof l=="object"&&(l=l[i]),l)return{literal:!1,val:l}}function FO(e){return[`^${e.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,e]}function UO(e,t,n){const r=e.match(t);if(r){const o={};let i=1;for(const s in n)if(pi(n,s)){const l=n[s],c=l.groups?l.groups+1:1;!l.literal&&l.token&&(o[l.token.val[0]]=l.deser(r.slice(i,i+c))),i+=c}return[r,o]}else return[r,{}]}function ZO(e){const t=i=>{switch(i){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let n=null,r;return xe(e.z)||(n=Qr.create(e.z)),xe(e.Z)||(n||(n=new un(e.Z)),r=e.Z),xe(e.q)||(e.M=(e.q-1)*3+1),xe(e.h)||(e.h<12&&e.a===1?e.h+=12:e.h===12&&e.a===0&&(e.h=0)),e.G===0&&e.y&&(e.y=-e.y),xe(e.u)||(e.S=$1(e.u)),[Object.keys(e).reduce((i,s)=>{const l=t(s);return l&&(i[l]=e[s]),i},{}),n,r]}let i2=null;function zO(){return i2||(i2=we.fromMillis(1555555555555)),i2}function jO(e,t){if(e.literal)return e;const n=rn.macroTokenToFormatOpts(e.val),r=K5(n,t);return r==null||r.includes(void 0)?e:r}function W5(e,t){return Array.prototype.concat(...e.map(n=>jO(n,t)))}function G5(e,t,n){const r=W5(rn.parseFormat(n),e),o=r.map(s=>MO(s,e)),i=o.find(s=>s.invalidReason);if(i)return{input:t,tokens:r,invalidReason:i.invalidReason};{const[s,l]=FO(o),c=RegExp(s,"i"),[u,d]=UO(t,c,l),[f,h,p]=d?ZO(d):[null,null,void 0];if(pi(d,"a")&&pi(d,"H"))throw new hi("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:r,regex:c,rawMatches:u,matches:d,result:f,zone:h,specificOffset:p}}}function HO(e,t,n){const{result:r,zone:o,specificOffset:i,invalidReason:s}=G5(e,t,n);return[r,o,i,s]}function K5(e,t){if(!e)return null;const r=rn.create(t,e).dtFormatter(zO()),o=r.formatToParts(),i=r.resolvedOptions();return o.map(s=>LO(s,e,i))}const s2="Invalid DateTime",Y5=864e13;function nu(e){return new sr("unsupported zone",`the zone "${e.name}" is not supported`)}function l2(e){return e.weekData===null&&(e.weekData=Kc(e.c)),e.weekData}function c2(e){return e.localWeekData===null&&(e.localWeekData=Kc(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function yo(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new we({...n,...t,old:n})}function J5(e,t,n){let r=e-t*60*1e3;const o=n.offset(r);if(t===o)return[r,t];r-=(o-t)*60*1e3;const i=n.offset(r);return o===i?[r,o]:[e-Math.min(o,i)*60*1e3,Math.max(o,i)]}function ru(e,t){e+=t*60*1e3;const n=new Date(e);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function au(e,t,n){return J5(Xc(e),t,n)}function X5(e,t){const n=e.o,r=e.c.year+Math.trunc(t.years),o=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,i={...e.c,year:r,month:o,day:Math.min(e.c.day,Jc(r,o))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},s=We.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),l=Xc(i);let[c,u]=J5(l,n,e.zone);return s!==0&&(c+=s,u=e.zone.offset(c)),{ts:c,o:u}}function Ns(e,t,n,r,o,i){const{setZone:s,zone:l}=n;if(e&&Object.keys(e).length!==0||t){const c=t||l,u=we.fromObject(e,{...n,zone:c,specificOffset:i});return s?u:u.setZone(l)}else return we.invalid(new sr("unparsable",`the input "${o}" can't be parsed as ${r}`))}function ou(e,t,n=!0){return e.isValid?rn.create(it.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function u2(e,t){const n=e.c.year>9999||e.c.year<0;let r="";return n&&e.c.year>=0&&(r+="+"),r+=Mt(e.c.year,n?6:4),t?(r+="-",r+=Mt(e.c.month),r+="-",r+=Mt(e.c.day)):(r+=Mt(e.c.month),r+=Mt(e.c.day)),r}function Q5(e,t,n,r,o,i){let s=Mt(e.c.hour);return t?(s+=":",s+=Mt(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(s+=":")):s+=Mt(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(s+=Mt(e.c.second),(e.c.millisecond!==0||!r)&&(s+=".",s+=Mt(e.c.millisecond,3))),o&&(e.isOffsetFixed&&e.offset===0&&!i?s+="Z":e.o<0?(s+="-",s+=Mt(Math.trunc(-e.o/60)),s+=":",s+=Mt(Math.trunc(-e.o%60))):(s+="+",s+=Mt(Math.trunc(e.o/60)),s+=":",s+=Mt(Math.trunc(e.o%60)))),i&&(s+="["+e.zone.ianaName+"]"),s}const N5={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qO={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},WO={ordinal:1,hour:0,minute:0,second:0,millisecond:0},$5=["year","month","day","hour","minute","second","millisecond"],GO=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],KO=["year","ordinal","hour","minute","second","millisecond"];function YO(e){const t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new O4(e);return t}function eg(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return YO(e)}}function tg(e,t){const n=Ba(t.zone,At.defaultZone),r=it.fromObject(t),o=At.now();let i,s;if(xe(e.year))i=o;else{for(const u of $5)xe(e[u])&&(e[u]=N5[u]);const l=f5(e)||h5(e);if(l)return we.invalid(l);const c=n.offset(o);[i,s]=au(e,c,n)}return new we({ts:i,zone:n,loc:r,o:s})}function ng(e,t,n){const r=xe(n.round)?!0:n.round,o=(s,l)=>(s=e2(s,r||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(s,l)),i=s=>n.calendary?t.hasSame(e,s)?0:t.startOf(s).diff(e.startOf(s),s).get(s):t.diff(e,s).get(s);if(n.unit)return o(i(n.unit),n.unit);for(const s of n.units){const l=i(s);if(Math.abs(l)>=1)return o(l,s)}return o(e>t?-0:0,n.units[n.units.length-1])}function rg(e){let t={},n;return e.length>0&&typeof e[e.length-1]=="object"?(t=e[e.length-1],n=Array.from(e).slice(0,e.length-1)):n=Array.from(e),[t,n]}class we{constructor(t){const n=t.zone||At.defaultZone;let r=t.invalid||(Number.isNaN(t.ts)?new sr("invalid input"):null)||(n.isValid?null:nu(n));this.ts=xe(t.ts)?At.now():t.ts;let o=null,i=null;if(!r)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(n))[o,i]=[t.old.c,t.old.o];else{const l=n.offset(this.ts);o=ru(this.ts,l),r=Number.isNaN(o.year)?new sr("invalid input"):null,o=r?null:o,i=r?null:l}this._zone=n,this.loc=t.loc||it.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=o,this.o=i,this.isLuxonDateTime=!0}static now(){return new we({})}static local(){const[t,n]=rg(arguments),[r,o,i,s,l,c,u]=n;return tg({year:r,month:o,day:i,hour:s,minute:l,second:c,millisecond:u},t)}static utc(){const[t,n]=rg(arguments),[r,o,i,s,l,c,u]=n;return t.zone=un.utcInstance,tg({year:r,month:o,day:i,hour:s,minute:l,second:c,millisecond:u},t)}static fromJSDate(t,n={}){const r=xA(t)?t.valueOf():NaN;if(Number.isNaN(r))return we.invalid("invalid input");const o=Ba(n.zone,At.defaultZone);return o.isValid?new we({ts:r,zone:o,loc:it.fromObject(n)}):we.invalid(nu(o))}static fromMillis(t,n={}){if(mo(t))return t<-Y5||t>Y5?we.invalid("Timestamp out of range"):new we({ts:t,zone:Ba(n.zone,At.defaultZone),loc:it.fromObject(n)});throw new mn(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,n={}){if(mo(t))return new we({ts:t*1e3,zone:Ba(n.zone,At.defaultZone),loc:it.fromObject(n)});throw new mn("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const r=Ba(n.zone,At.defaultZone);if(!r.isValid)return we.invalid(nu(r));const o=it.fromObject(n),i=Nc(t,eg),{minDaysInFirstWeek:s,startOfWeek:l}=d5(i,o),c=At.now(),u=xe(n.specificOffset)?r.offset(c):n.specificOffset,d=!xe(i.ordinal),f=!xe(i.year),h=!xe(i.month)||!xe(i.day),p=f||h,g=i.weekYear||i.weekNumber;if((p||d)&&g)throw new hi("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&d)throw new hi("Can't mix ordinal dates with month/day");const w=g||i.weekday&&!p;let y,k,v=ru(c,u);w?(y=GO,k=qO,v=Kc(v,s,l)):d?(y=KO,k=WO,v=Q1(v)):(y=$5,k=N5);let m=!1;for(const S of y){const A=i[S];xe(A)?m?i[S]=k[S]:i[S]=v[S]:m=!0}const b=w?_A(i,s,l):d?kA(i):f5(i),_=b||h5(i);if(_)return we.invalid(_);const E=w?c5(i,s,l):d?u5(i):i,[x,O]=au(E,u,r),B=new we({ts:x,zone:r,o:O,loc:o});return i.weekday&&p&&t.weekday!==B.weekday?we.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${B.toISO()}`):B}static fromISO(t,n={}){const[r,o]=hO(t);return Ns(r,o,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[r,o]=pO(t);return Ns(r,o,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[r,o]=mO(t);return Ns(r,o,n,"HTTP",n)}static fromFormat(t,n,r={}){if(xe(t)||xe(n))throw new mn("fromFormat requires an input string and a format");const{locale:o=null,numberingSystem:i=null}=r,s=it.fromOpts({locale:o,numberingSystem:i,defaultToEN:!0}),[l,c,u,d]=HO(s,t,n);return d?we.invalid(d):Ns(l,c,r,`format ${n}`,t,u)}static fromString(t,n,r={}){return we.fromFormat(t,n,r)}static fromSQL(t,n={}){const[r,o]=kO(t);return Ns(r,o,n,"SQL",t)}static invalid(t,n=null){if(!t)throw new mn("need to specify a reason the DateTime is invalid");const r=t instanceof sr?t:new sr(t,n);if(At.throwOnInvalid)throw new QT(r);return new we({invalid:r})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,n={}){const r=K5(t,it.fromObject(n));return r?r.map(o=>o?o.val:null).join(""):null}static expandFormat(t,n={}){return W5(rn.parseFormat(t),it.fromObject(n)).map(o=>o.val).join("")}get(t){return this[t]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?l2(this).weekYear:NaN}get weekNumber(){return this.isValid?l2(this).weekNumber:NaN}get weekday(){return this.isValid?l2(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?c2(this).weekday:NaN}get localWeekNumber(){return this.isValid?c2(this).weekNumber:NaN}get localWeekYear(){return this.isValid?c2(this).weekYear:NaN}get ordinal(){return this.isValid?Q1(this.c).ordinal:NaN}get monthShort(){return this.isValid?eu.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?eu.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?eu.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?eu.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,n=6e4,r=Xc(this.c),o=this.zone.offset(r-t),i=this.zone.offset(r+t),s=this.zone.offset(r-o*n),l=this.zone.offset(r-i*n);if(s===l)return[this];const c=r-s*n,u=r-l*n,d=ru(c,s),f=ru(u,l);return d.hour===f.hour&&d.minute===f.minute&&d.second===f.second&&d.millisecond===f.millisecond?[yo(this,{ts:c}),yo(this,{ts:u})]:[this]}get isInLeapYear(){return Ks(this.year)}get daysInMonth(){return Jc(this.year,this.month)}get daysInYear(){return this.isValid?mi(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ys(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ys(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:r,calendar:o}=rn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:o}}toUTC(t=0,n={}){return this.setZone(un.instance(t),n)}toLocal(){return this.setZone(At.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(t=Ba(t,At.defaultZone),t.equals(this.zone))return this;if(t.isValid){let o=this.ts;if(n||r){const i=t.offset(this.ts),s=this.toObject();[o]=au(s,i,t)}return yo(this,{ts:o,zone:t})}else return we.invalid(nu(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:r}={}){const o=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:r});return yo(this,{loc:o})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=Nc(t,eg),{minDaysInFirstWeek:r,startOfWeek:o}=d5(n,this.loc),i=!xe(n.weekYear)||!xe(n.weekNumber)||!xe(n.weekday),s=!xe(n.ordinal),l=!xe(n.year),c=!xe(n.month)||!xe(n.day),u=l||c,d=n.weekYear||n.weekNumber;if((u||s)&&d)throw new hi("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&s)throw new hi("Can't mix ordinal dates with month/day");let f;i?f=c5({...Kc(this.c,r,o),...n},r,o):xe(n.ordinal)?(f={...this.toObject(),...n},xe(n.day)&&(f.day=Math.min(Jc(f.year,f.month),f.day))):f=u5({...Q1(this.c),...n});const[h,p]=au(f,this.o,this.zone);return yo(this,{ts:h,o:p})}plus(t){if(!this.isValid)return this;const n=We.fromDurationLike(t);return yo(this,X5(this,n))}minus(t){if(!this.isValid)return this;const n=We.fromDurationLike(t).negate();return yo(this,X5(this,n))}startOf(t,{useLocaleWeeks:n=!1}={}){if(!this.isValid)return this;const r={},o=We.normalizeUnit(t);switch(o){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break}if(o==="weeks")if(n){const i=this.loc.getStartOfWeek(),{weekday:s}=this;s<i&&(r.weekNumber=this.weekNumber-1),r.weekday=i}else r.weekday=1;if(o==="quarters"){const i=Math.ceil(this.month/3);r.month=(i-1)*3+1}return this.set(r)}endOf(t,n){return this.isValid?this.plus({[t]:1}).startOf(t,n).minus(1):this}toFormat(t,n={}){return this.isValid?rn.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,t):s2}toLocaleString(t=jc,n={}){return this.isValid?rn.create(this.loc.clone(n),t).formatDateTime(this):s2}toLocaleParts(t={}){return this.isValid?rn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:n=!1,suppressMilliseconds:r=!1,includeOffset:o=!0,extendedZone:i=!1}={}){if(!this.isValid)return null;const s=t==="extended";let l=u2(this,s);return l+="T",l+=Q5(this,s,n,r,o,i),l}toISODate({format:t="extended"}={}){return this.isValid?u2(this,t==="extended"):null}toISOWeekDate(){return ou(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:n=!1,includeOffset:r=!0,includePrefix:o=!1,extendedZone:i=!1,format:s="extended"}={}){return this.isValid?(o?"T":"")+Q5(this,s==="extended",n,t,r,i):null}toRFC2822(){return ou(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ou(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?u2(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:n=!1,includeOffsetSpace:r=!0}={}){let o="HH:mm:ss.SSS";return(n||t)&&(r&&(o+=" "),n?o+="z":t&&(o+="ZZ")),ou(this,o,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():s2}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const n={...this.c};return t.includeConfig&&(n.outputCalendar=this.outputCalendar,n.numberingSystem=this.loc.numberingSystem,n.locale=this.loc.locale),n}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,n="milliseconds",r={}){if(!this.isValid||!t.isValid)return We.invalid("created by diffing an invalid DateTime");const o={locale:this.locale,numberingSystem:this.numberingSystem,...r},i=CA(n).map(We.normalizeUnit),s=t.valueOf()>this.valueOf(),l=s?this:t,c=s?t:this,u=OO(l,c,i,o);return s?u.negate():u}diffNow(t="milliseconds",n={}){return this.diff(we.now(),t,n)}until(t){return this.isValid?wt.fromDateTimes(this,t):this}hasSame(t,n,r){if(!this.isValid)return!1;const o=t.valueOf(),i=this.setZone(t.zone,{keepLocalTime:!0});return i.startOf(n,r)<=o&&o<=i.endOf(n,r)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const n=t.base||we.fromObject({},{zone:this.zone}),r=t.padding?this<n?-t.padding:t.padding:0;let o=["years","months","days","hours","minutes","seconds"],i=t.unit;return Array.isArray(t.unit)&&(o=t.unit,i=void 0),ng(n,this.plus(r),{...t,numeric:"always",units:o,unit:i})}toRelativeCalendar(t={}){return this.isValid?ng(t.base||we.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(we.isDateTime))throw new mn("min requires all arguments be DateTimes");return g5(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(we.isDateTime))throw new mn("max requires all arguments be DateTimes");return g5(t,n=>n.valueOf(),Math.max)}static fromFormatExplain(t,n,r={}){const{locale:o=null,numberingSystem:i=null}=r,s=it.fromOpts({locale:o,numberingSystem:i,defaultToEN:!0});return G5(s,t,n)}static fromStringExplain(t,n,r={}){return we.fromFormatExplain(t,n,r)}static get DATE_SHORT(){return jc}static get DATE_MED(){return B4}static get DATE_MED_WITH_WEEKDAY(){return eA}static get DATE_FULL(){return I4}static get DATE_HUGE(){return V4}static get TIME_SIMPLE(){return R4}static get TIME_WITH_SECONDS(){return D4}static get TIME_WITH_SHORT_OFFSET(){return M4}static get TIME_WITH_LONG_OFFSET(){return P4}static get TIME_24_SIMPLE(){return L4}static get TIME_24_WITH_SECONDS(){return F4}static get TIME_24_WITH_SHORT_OFFSET(){return U4}static get TIME_24_WITH_LONG_OFFSET(){return Z4}static get DATETIME_SHORT(){return z4}static get DATETIME_SHORT_WITH_SECONDS(){return j4}static get DATETIME_MED(){return H4}static get DATETIME_MED_WITH_SECONDS(){return q4}static get DATETIME_MED_WITH_WEEKDAY(){return tA}static get DATETIME_FULL(){return W4}static get DATETIME_FULL_WITH_SECONDS(){return G4}static get DATETIME_HUGE(){return K4}static get DATETIME_HUGE_WITH_SECONDS(){return Y4}}function $s(e){if(we.isDateTime(e))return e;if(e&&e.valueOf&&mo(e.valueOf()))return we.fromJSDate(e);if(e&&typeof e=="object")return we.fromObject(e);throw new mn(`Unknown datetime argument: ${e}, of type ${typeof e}`)}const JO=()=>/iPhone|iPad|iPod|Android|webOS|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);function iu(e="fge"){const t=a.ref({whatsapp:null,telegram:null,email:null,sms:null}),n=et(),r=a.ref(),o=a.ref(),i=a.ref(),s=a.ref(),l=a.ref(),c=a.ref(),u=a.ref(!1),d=a.ref(0);let f=null;a.onMounted(()=>{const x=Xd(e+"-estados");x&&(t.value={...JSON.parse(x)}),f=setInterval(()=>{d.value=Date.now()},1e3)}),a.onUnmounted(()=>{f&&clearInterval(f)});const h=x=>x==="telegram"||t.value[x]===null||typeof t.value[x]=="number"&&t.value[x]<Date.now(),p=(x,O)=>{const B=O||120;t.value[x]=we.now().plus({seconds:B}).toMillis(),Qd({name:e+"-estados",value:JSON.stringify(t.value),seconds:B})},g=async({callbackApi:x,code:O,counterTime:B=120,abrirTelegramDialog:S=!0,tiempoVigencia:A})=>{var q,F,X,fe,ae,Z;const D={contacto:o.value,medio:c.value,code:O,registroToken:O};if(h(c.value)){const z=await x(D);if(!z)return{error:!0,message:"Error al enviar el mensaje"};if(z.error)return K.error(`<p class="toast-title">Error</p><p class="toast-description">${z.message}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0}),z;{const ne=((F=(q=z.response)==null?void 0:q.data)==null?void 0:F.tiempoVigencia)||A;c.value!=="telegram"&&p(c.value,ne),((fe=(X=z.response)==null?void 0:X.data)==null?void 0:fe.medioActualizado)===!0||(c.value==="telegram"&&S?a.nextTick(()=>{_()}):K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${z.message||"Mensaje enviado"}!</p>`,{autoClose:5e3,hideProgressBar:!0,icon:jn,closeOnClick:!1,dangerouslyHTMLString:!0}));const de=ne||A||B;a.nextTick(()=>{var he;(he=r.value)==null||he.reInit(de)})}return z}else{if(c.value==="telegram"){const ne=await x(D);return ne?(ne.error?K.error(`<p class="toast-title">Error</p><p class="toast-description">${ne.message}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0}):!(((Z=(ae=ne.response)==null?void 0:ae.data)==null?void 0:Z.medioActualizado)===!0)&&S&&a.nextTick(()=>{_()}),a.nextTick(()=>{var Y;(Y=r.value)==null||Y.reInit(B)}),ne):{error:!0,message:"Error al enviar el mensaje"}}const z=typeof t.value[c.value]=="number"?Math.ceil((t.value[c.value]-Date.now())/1e3):120;return K.error(`<p class="toast-title">Espera requerida</p><p class="toast-description">Debes esperar ${z} segundo${z!==1?"s":""} antes de solicitar un nuevo código.</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0}),a.nextTick(()=>{a.nextTick(()=>{w(c.value)})}),{error:!0,message:`Debe esperar ${z} segundo${z!==1?"s":""} antes de volver a solicitar un código`}}},w=x=>{var O;if(typeof t.value[x]=="number"&&t.value[x]>Date.now()){const B=Math.round(Math.abs(t.value[x]-Date.now())/1e3);(O=r.value)==null||O.reInit(B)}},y=x=>{if(t.value[x]===null)return 0;if(typeof t.value[x]=="number"){const O=Math.ceil((t.value[x]-Date.now())/1e3);return O>0?O:0}return 0},k=a.computed(()=>(d.value,y("whatsapp"))),v=a.computed(()=>0),m=a.computed(()=>(d.value,y("email"))),b=a.computed(()=>(d.value,y("sms"))),_=()=>{u.value=!0};return{refCounter:r,currentContacto:o,message2Fa:i,currentMedio:c,openTelegram:u,sePuedeReenviarMensaje:h,enviarMensaje:g,openTelegramPage:()=>{if(!JO()){window.open(`https://web.telegram.org/k/#@${n.tgBot}`,"_blank");return}const x=document.createElement("a");x.href=`tg://resolve?domain=${n.tgBot}`,x.target="_blank",x.onclick=function(){setTimeout(function(){if(document.visibilityState==="visible"){const O=window.open(`https://web.telegram.org/k/#@${n.tgBot}`,"_blank");O==null||O.focus()}x.remove()},1e3)},x.click()},tiempoRestanteWhatsapp:k,tiempoRestanteTelegram:v,tiempoRestanteEmail:m,tiempoRestanteSms:b,getTiempoRestante:y,reIniciarContador:w,message2FaContexto:s,url2FaContexto:l}}const ur=St.create({headers:{"Content-Type":"application/json","Cache-Control":"no-cache"},timeout:3e4});ur.interceptors.request.use(e=>{const t=et();if(e.baseURL=t.apiBaseURLAuthNv?`${t.apiBaseURLAuthNv}`:`${t.apiBaseURL}/api`,typeof FormData<"u"&&e.data instanceof FormData){const n=e.headers;n&&typeof n=="object"&&(delete n["Content-Type"],delete n["content-type"])}return e}),ur.interceptors.response.use(e=>{const t=e.data;return t&&typeof t=="object"&&t.error===!0?Promise.reject({error:!0,message:t.message,response:t.response??null,status:t.status||e.status}):t},e=>{var n,r;if(e&&typeof e=="object"&&e.error===!0)return Promise.reject(e);const t=(n=e.response)==null?void 0:n.data;return Promise.reject({error:!0,message:(t==null?void 0:t.message)??e.message??"Ha ocurrido un error",response:(t==null?void 0:t.response)??t??null,status:(t==null?void 0:t.status)??((r=e.response)==null?void 0:r.status)??500})});function su(){return!!et().apiBaseURLAuthNv}const XO=async e=>{const t=su()?"/v1/auth/usuario/validar":"/v1/validar/usuario";return ur.post(t,e).then(n=>n).catch(n=>{var r;throw(r=n.response)!=null&&r.data?n.response.data:n})},QO=async e=>{const t=su()?"/v1/auth/usuario/registrar":"/v1/registrar/usuario";return ur.post(t,e).then(n=>n).catch(n=>{var r;throw(r=n.response)!=null&&r.data?n.response.data:n})},NO=async e=>{if(su()){const n={whatsapp:1,telegram:2,email:3,sms:5},r=e.registroToken||e.code;if(!r)throw{error:!0,message:"Falta el token de registro. Vuelva a validar sus datos personales.",status:400};return ur.post("/v1/auth/usuario/registro/enviar-codigo-medio",{registroToken:r,medio:n[e.medio]??e.medio,email:e.email??(e.medio==="email"?e.contacto:void 0),celular:e.celular??(e.medio!=="email"?e.contacto:void 0)}).then(o=>o).catch(o=>{var i;throw(i=o.response)!=null&&i.data?o.response.data:o})}return ur.post("/v1/enviar/codigo/verificacion",e).then(n=>n).catch(n=>{var r;throw(r=n.response)!=null&&r.data?n.response.data:n})},$O=async e=>{if(su()){const t={whatsapp:1,telegram:2,email:3,sms:5};return ur.post("/v1/auth/usuario/registro/confirmar-codigo-medio",{registroToken:e.registroToken??e.code,medio:t[e.medio]??e.medio,codigo:e.code_confirmacion}).then(n=>n).catch(n=>{var r;throw(r=n.response)!=null&&r.data?n.response.data:n})}return ur.post("/v1/confirmar/codigo/verificacion",e).then(t=>t).catch(t=>{var n;throw(n=t.response)!=null&&n.data?t.response.data:t})},eB=async e=>{const t=new FormData;return t.append("token",e.token),t.append("tipo",e.tipo),t.append("file",e.file),ur.post("/v1/auth/usuario/registro/evidencia",t).then(n=>n).catch(n=>{var r;throw(r=n.response)!=null&&r.data?n.response.data:n})},tB=async e=>ur.get("/v1/auth/usuario/registro/evidencias",{params:{token:e}}).then(t=>t).catch(t=>{var n;throw(n=t.response)!=null&&n.data?t.response.data:t}),nB=async e=>ur.post("/v1/auth/usuario/registro/confirmar-evidencias",e).then(t=>t).catch(t=>{var n;throw(n=t.response)!=null&&n.data?t.response.data:t});function rB(e){return e==="anverso"||e==="reverso"||e==="selfie"}function d2(e){return Array.isArray(e)?e.filter(rB):[]}function el(e){return e==="anverso"||e==="reverso"||e==="selfie"}function aB(){const e=[oe.object().shape({ci:oe.string().required().label("Cédula de identidad"),nombres:oe.string().required().label("Nombre"),paterno:oe.string().when("materno",([P])=>P?oe.string().notRequired():oe.string().required().label("Apellido paterno o materno")),materno:oe.string().when("paterno",([P])=>P?oe.string().notRequired():oe.string().required().label("Apellido paterno o materno")),fechaNacimiento:oe.mixed().required().label("Fecha de nacimiento")},[["materno","paterno"]]),oe.object().shape({celular:oe.string().required().matches(P1).min(8).max(8).label("Celular"),email:oe.string().transform(P=>typeof P=="string"&&P.trim()===""?void 0:P).email().notRequired().label("E-mail"),direccion:oe.string().required().label("Dirección"),password:oe.string().required().matches(zc).min(8).max(15).label("Contraseña"),repetirPassword:oe.string().required().oneOf([oe.ref("password")]).label("Confirmación de la contraseña")}),oe.object().shape({codigoContacto:oe.string().required().matches(fo).max(10).label("Código")})],t=et(),n=qs(),r=a.ref(""),o=a.ref(j1(void 0)),i=a.ref(!1),s=a.ref(!1);let l=null;const c=a.ref(!1),u=a.ref(null),d=a.reactive({anverso:!1,reverso:!1,selfie:!1}),f=a.ref(!1),h=a.ref(!1),p=a.ref(!1),g=a.ref(!1),w=a.ref("datos"),y=a.computed(()=>!!t.apiBaseURLAuthNv),k=a.computed(()=>{var Be;const P=((Be=u.value)==null?void 0:Be.fotos)??[];return P.length?P:PT}),v=a.computed(()=>{const P=[];if(c.value||P.push("datos","contacto"),y.value){P.push("consentimiento");for(const Be of k.value)P.push(Be);P.push("resumen")}return P}),m=a.computed(()=>v.value.filter(P=>el(P))),b=a.computed(()=>{if(!el(w.value))return null;const P=m.value.indexOf(w.value);return P<0?null:{current:P+1,total:m.value.length}}),_=a.computed(()=>w.value==="datos"?e[0]:p.value?O.value==="telegram"?oe.object().shape({codigoContacto:oe.string().required().matches(fo).min(4).max(4).label("Código")}):e[2]:w.value==="contacto"&&!c.value?e[1]:oe.object().shape({})),{refCounter:E,currentContacto:x,currentMedio:O,openTelegram:B,enviarMensaje:S,openTelegramPage:A,message2FaContexto:D,url2FaContexto:q,getTiempoRestante:F,reIniciarContador:X,tiempoRestanteEmail:fe,tiempoRestanteSms:ae,tiempoRestanteWhatsapp:Z}=iu("registro"),z=a.reactive({verificadoEmail:!1,verificadoTelegram:!1,verificadoWhatsapp:!1,verificadoSms:!1}),{values:ne,handleSubmit:Y,errors:de,setErrors:he,validateField:_e,resetForm:st,setFieldValue:se,setFieldError:ge}=je.useForm({validationSchema:_,keepValuesOnUnmount:!0}),{value:Rt}=je.useField("fechaNacimiento"),an=a.computed(()=>{const P=O.value;return!P||P==="telegram"?0:P==="email"?fe.value:P==="sms"?ae.value:P==="whatsapp"?Z.value:F(P)});function De(P){return P==="email"?z.verificadoEmail:P==="telegram"?z.verificadoTelegram:P==="sms"?z.verificadoSms:P==="whatsapp"?z.verificadoWhatsapp:!1}function Ze(){se("codigoContacto",void 0),D.value=null,q.value=null}function ct(){p.value=!1,se("codigoContacto",void 0)}function te(){!g.value||!O.value||(p.value=!0,a.nextTick(()=>{const P=O.value;P&&P!=="telegram"&&X(P)}))}function ve(){g.value=!1,p.value=!1,se("codigoContacto",void 0),O.value=void 0,x.value=null,D.value=null,q.value=null}function N(){const P=v.value.indexOf(w.value);P>=0&&P<v.value.length-1&&(w.value=v.value[P+1])}function C(){const P=v.value.indexOf(w.value);P>0&&(w.value=v.value[P-1])}function V(){w.value="datos",st(),c.value=!1,r.value="",u.value=null,f.value=!1,p.value=!1,g.value=!1,i.value=!1,o.value=j1(void 0),z.verificadoEmail=!1,z.verificadoTelegram=!1,z.verificadoSms=!1,z.verificadoWhatsapp=!1,O.value=void 0,x.value=null,D.value=null,q.value=null,d.anverso=!1,d.reverso=!1,d.selfie=!1,T()}function T(){l&&(clearTimeout(l),l=null),s.value=!1}function U(P){T();const Be=Number(P);if(!Number.isFinite(Be)||Be<=0)return;const lt=Math.max(0,(Be-UT)*1e3);l=setTimeout(()=>{s.value=!!r.value},lt)}function j(P,Be){K.error(`<p class="toast-title">${P}</p><p class="toast-description">${Be}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0})}function R(P,Be,lt=5e3){K.success(`<p class="toast-title">${P}</p><p class="toast-description">${Be}</p>`,{autoClose:lt,hideProgressBar:!0,icon:jn,closeOnClick:!1,dangerouslyHTMLString:!0})}function G(){ve(),T(),r.value="",se("codigoRegistro",""),se("password",""),se("repetirPassword",""),se("codigoContacto",void 0),z.verificadoEmail=!1,z.verificadoTelegram=!1,z.verificadoSms=!1,z.verificadoWhatsapp=!1,d.anverso=!1,d.reverso=!1,d.selfie=!1,c.value=!1,f.value=!1,i.value=!0,w.value="datos"}function W(P){return jT(P)?(G(),j("Sesión de registro vencida",Z1),!0):!1}a.onUnmounted(()=>{T()}),a.watch(()=>ne.celular,()=>{z.verificadoTelegram&&(z.verificadoTelegram=!1),z.verificadoSms&&(z.verificadoSms=!1)}),a.watch(()=>ne.email,()=>{z.verificadoEmail&&(z.verificadoEmail=!1)}),a.watch(()=>O.value,()=>{Ze()});const Se=Y(async P=>{var lt,at,sn,Ct,Gt;n.setLoading(!0);const Be=new Date(`${P.fechaNacimiento.month}-${P.fechaNacimiento.day}-${P.fechaNacimiento.year}`);try{const tn={ci:P.ci,nombres:(lt=P.nombres)==null?void 0:lt.trim(),paterno:(at=P.paterno)==null?void 0:at.trim(),materno:(sn=P.materno)==null?void 0:sn.trim(),fechaNacimiento:Be,aplicacion:t.aplicacion},ua=await XO(tn),ns=((Ct=ua==null?void 0:ua.data)==null?void 0:Ct.response)!==void 0?ua.data:ua,Cn=((Gt=ns.response)==null?void 0:Gt.data)??ns.response??{},rs=Cn.registroToken??Cn.completitudToken??Cn.codigo;if(!rs)throw{message:ns.message||"No se recibió el token de registro."};r.value=rs??"",se("codigoRegistro",rs),c.value=!!(Cn.completitudToken||Cn.usuarioId),o.value=j1(Cn.mediosDisponibles),i.value=!1,U(Cn.expiresInSeconds),u.value=Cn.observacion?{motivo:Cn.observacion.motivo,texto:Cn.observacion.texto,fotos:d2(Cn.observacion.fotos)}:null,await a.nextTick();const Ll=v.value[1];if(Ll&&(w.value=Ll),y.value&&r.value)try{await I()}catch(Ld){if(W(Ld))return}}catch(tn){if(W(tn))return;if(tn.response&&Array.isArray(tn.response)){cn({error:tn.response,setErrors:he});return}tn.message&&j("Error",tn.message)}finally{n.setLoading(!1)}}),$e=async({medio:P,contacto:Be})=>{var Cn,rs,Ll,Ld,R9,D9,M9,P9;if(P==="sms"&&!o.value.includes("sms")){j("SMS no disponible","La verificación por SMS no está disponible. Utilice Telegram o correo electrónico.");return}if(g.value&&O.value===P&&P!=="telegram"&&!De(P)){te();return}if(P==="email"){if(!ne.email){ge("email","Email es requerido para verificar");return}const{valid:dt}=await _e("email");if(!dt||z.verificadoEmail)return}const at=P==="telegram",sn=P==="whatsapp",Ct=P==="sms";if(at||sn||Ct){if(at&&z.verificadoTelegram||sn&&z.verificadoWhatsapp||Ct&&z.verificadoSms)return;const{valid:dt}=await _e("celular");if(!dt)return}const Gt=O.value,tn=x.value,ua=g.value,ns=()=>{O.value=Gt,x.value=tn,g.value=ua};try{n.setLoading(!0),O.value=P,x.value=Be,Ze();const dt=await rt(!1);if(dt!=null&&dt.error){ns(),n.setLoading(!1);return}if(((rs=(Cn=dt==null?void 0:dt.response)==null?void 0:Cn.data)==null?void 0:rs.medioActualizado)===!0){P==="whatsapp"?z.verificadoWhatsapp=!0:P==="telegram"?z.verificadoTelegram=!0:P==="email"?z.verificadoEmail=!0:P==="sms"&&(z.verificadoSms=!0),R("Operación exitosa",dt.message||"Medio verificado exitosamente"),n.setLoading(!1);return}const jW=((Ld=(Ll=dt==null?void 0:dt.response)==null?void 0:Ll.data)==null?void 0:Ld.mensajeServicio)||null,L9=((D9=(R9=dt==null?void 0:dt.response)==null?void 0:R9.data)==null?void 0:D9.tiempoVigencia)||null,HW=((P9=(M9=dt==null?void 0:dt.response)==null?void 0:M9.data)==null?void 0:P9.url)||null;P==="telegram"?(D.value=null,q.value=HW):(D.value=jW||(dt==null?void 0:dt.message)||null,q.value=null),(P==="email"||P==="whatsapp"||P==="sms")&&L9&&a.nextTick(()=>{var F9;return(F9=E.value)==null?void 0:F9.reInit(L9)}),g.value=!0,p.value=!0,n.setLoading(!1)}catch(dt){if(ns(),n.setLoading(!1),W(dt))return;j("Error",dt.message)}},Re=async()=>{try{const{valid:P}=await _e("codigoContacto");if(!P)return;const Be=r.value||ne.codigoRegistro,lt=await $O({code_confirmacion:ne.codigoContacto,code:Be,registroToken:Be,medio:O.value});R("Operación exitosa",lt.message),O.value==="email"?z.verificadoEmail=!0:O.value==="whatsapp"?z.verificadoWhatsapp=!0:O.value==="telegram"?z.verificadoTelegram=!0:O.value==="sms"&&(z.verificadoSms=!0),ve()}catch(P){if(W(P))return;j("Error",P.message)}},rt=async(P=!1)=>{try{return await S({callbackApi:NO,code:r.value||ne.codigoRegistro,abrirTelegramDialog:P,counterTime:120})}catch(Be){if(W(Be))return{error:!0,message:Z1};throw Be}},Le=()=>{ct()},xt=()=>{if(w.value==="datos"){t.goLoginPage();return}C()},xn=()=>{V()},yt=a.computed(()=>KT(o.value,z));function ca(){return yt.value}const H=P=>{const Be=P==="email"?ne.email:ne.celular;$e({medio:P,contacto:Be})},pe=Y(async()=>{if(!ca()){j("Verificación requerida",A4(o.value,"continuar"));return}N()}),ue=()=>{if(!f.value){K.error('<p class="toast-title">Consentimiento requerido</p><p class="toast-description">Debe aceptar el tratamiento de las fotografías de identidad.</p>',{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0});return}N()},re=()=>{const P=w.value;if(el(P)){if(!d[P]){K.error('<p class="toast-title">Fotografía requerida</p><p class="toast-description">Debe capturar y confirmar la fotografía antes de continuar.</p>',{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0});return}N()}},Oe=Y(async P=>{var Be,lt;if(!c.value&&!ca()){j("Verificación requerida",A4(o.value,"completar"));return}n.setLoading(!0);try{const at=k.value;if(y.value&&!at.every(tn=>d[tn])){j("Fotografías requeridas","Debe cargar las fotografías indicadas de su documento.");return}if(y.value&&!f.value){j("Consentimiento requerido","Debe aceptar el tratamiento de las fotografías de identidad.");return}if(c.value){const tn=await nB({token:r.value,aceptoTerminosIdentidad:f.value});R("¡Registro completado!",tn.message,1e4),setTimeout(()=>t.goLoginPage(),2e3);return}const sn=new Date(`${P.fechaNacimiento.month}-${P.fechaNacimiento.day}-${P.fechaNacimiento.year}`),Ct={...P,email:((Be=P.email)==null?void 0:Be.trim())||void 0,direccion:(lt=P.direccion)==null?void 0:lt.trim(),aplicacion:t.aplicacion,fechaNacimiento:sn,registroToken:r.value||P.codigoRegistro,aceptoTerminosIdentidad:f.value},Gt=await QO(Ct);R("¡Registro completado!",Gt.message,1e4),setTimeout(()=>t.goLoginPage(),2e3)}catch(at){if(W(at))return;if(at.response&&Array.isArray(at.response)){cn({error:at.response,setErrors:he});return}at.message&&j("Error",at.message)}finally{n.setLoading(!1)}}),I=async()=>{var at,sn,Ct,Gt;if(!r.value)return;const P=await tB(r.value),Be=((sn=(at=P.response)==null?void 0:at.data)==null?void 0:sn.subidas)??[],lt=((Gt=(Ct=P.response)==null?void 0:Ct.data)==null?void 0:Gt.faltantes)??[];d.anverso=Be.includes("anverso")&&!lt.includes("anverso"),d.reverso=Be.includes("reverso")&&!lt.includes("reverso"),d.selfie=Be.includes("selfie")&&!lt.includes("selfie")},ze=async(P,Be)=>{var lt,at,sn,Ct;if(r.value){h.value=!0;try{const Gt=await eB({token:r.value,tipo:P,file:Be}),tn=(at=(lt=Gt.response)==null?void 0:lt.data)==null?void 0:at.token;tn&&(r.value=tn,U((Ct=(sn=Gt.response)==null?void 0:sn.data)==null?void 0:Ct.expiresInSeconds));try{await I()}catch(ua){if(W(ua))return;d[P]=!0}R("Fotografía cargada",Gt.message||"Evidencia registrada correctamente.",3e3),w.value===P&&N()}catch(Gt){if(W(Gt))return;j("Error",(Gt==null?void 0:Gt.message)||"No se pudo cargar la fotografía.")}finally{h.value=!1}}},on=a.computed(()=>el(w.value)?w.value:null);(async()=>{var lt;const P=t.tomarRegistroPendiente();if(!(P!=null&&P.completitudToken))return;r.value=P.completitudToken,se("codigoRegistro",P.completitudToken),c.value=!0,P.ci&&se("ci",P.ci),P.observacion?u.value={motivo:P.observacion.motivo,texto:P.observacion.texto,fotos:P.observacion.fotos??d2(P.faltantes)}:(lt=P.faltantes)!=null&<.length&&(u.value={fotos:d2(P.faltantes)}),await a.nextTick();const Be=v.value.find(at=>at==="consentimiento")??v.value.find(at=>el(at))??v.value[0];Be&&(w.value=Be);try{await I()}catch(at){if(W(at))return}})();const en=a.computed(()=>JT(O.value)),Me=a.computed(()=>XT(x.value,O.value));return{refCounter:E,currentContacto:x,values:ne,currentStepId:w,visibleSteps:v,mediosVerificados:z,mediosDisponibles:o,puedeContinuarContacto:yt,avisoSesionExpirada:i,avisoSesionPorVencer:s,fechaNacimiento:Rt,errors:de,openTelegram:B,currentMedio:O,otpDialogOpen:p,otpPendiente:g,otpTiempoRestante:an,otpTitulo:en,otpDescripcion:Me,message2FaContexto:D,url2FaContexto:q,onValidarDatosUsuario:Se,onRegistrarUsuario:Oe,onContinuarDesdeContacto:pe,onContinuarDesdeConsentimiento:ue,onContinuarDesdeCaptura:re,onEnviarMensaje:rt,onEnviarCodigoAlUsuario:$e,onEnviarCodigoVerificacion:Re,onVerificarMedioRegistro:H,onCancelarVerificacion:Le,abrirOtpPendiente:te,cerrarOtpDialog:ct,onCancelarRegistro:xt,onReiniciarRegistro:xn,openTelegramPage:A,usaAuthNv:y,evidencias:d,tiposEvidenciaVisibles:k,aceptoTerminosIdentidad:f,observacionRegistro:u,esUsuarioExistente:c,onEvidenciaConfirmada:ze,uploadingEvidencia:h,kycProgress:b,pasoCapturaActual:on,goBack:C}}const oB={key:0,class:"fge-auth-error"},pt=a.defineComponent({__name:"FgeErrorMessage",props:{error:{required:!0}},setup(e){return(t,n)=>e.error?(a.openBlock(),a.createElementBlock("p",oB,a.toDisplayString(e.error),1)):a.createCommentVNode("",!0)}}),iB={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 300 100"},sB=[a.createElementVNode("text",{x:"50%",y:"45",style:{"font-family":'"Arial Black","Roboto",sans-serif',"font-weight":"900","font-size":"30px",fill:"#4a6a91"},"text-anchor":"middle"},"ECOSISTEMA",-1),a.createElementVNode("text",{x:"50%",y:"75",style:{"font-family":'"Arial",sans-serif',"font-weight":"700","font-size":"14px",fill:"#7f8083ff","letter-spacing":".15em"},"text-anchor":"middle"},"MINISTERIO PÚBLICO",-1)];function lB(e,t){return a.openBlock(),a.createElementBlock("svg",iB,[...sB])}const cB={render:lB},uB={class:"fge-logo-container"},dB=a.defineComponent({__name:"FgeHeader",setup(e){return(t,n)=>(a.openBlock(),a.createElementBlock("div",uB,[a.createVNode(a.unref(cB))]))}}),Ut=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},f2=Ut(dB,[["__scopeId","data-v-ea2fb273"]]),fB={style:{position:"relative"}},hB=["type","placeholder","name"],pB=[a.createElementVNode("path",{d:"M.2 10a11 11 0 0 1 19.6 0A11 11 0 0 1 .2 10zm9.8 4a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm0-2a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"},null,-1)],mB=[a.createElementVNode("path",{d:"M12.81 4.36l-1.77 1.78a4 4 0 0 0-4.9 4.9l-2.76 2.75C2.06 12.79.96 11.49.2 10a11 11 0 0 1 12.6-5.64zm3.8 1.85c1.33 1 2.43 2.3 3.2 3.79a11 11 0 0 1-12.62 5.64l1.77-1.78a4 4 0 0 0 4.9-4.9l2.76-2.75zm-.25-3.99l1.42 1.42L3.64 17.78l-1.42-1.42L16.36 2.22z"},null,-1)],Ra=a.defineComponent({__name:"FgePassword",props:{class:{},errorClasses:{},name:{},placeholder:{},failedValidationMessage:{type:Boolean,default:!1},validationRegex:{type:[String,Boolean],default:!1},iconSize:{default:"1.25rem"},iconColor:{default:"var(--fge-orange-color)"}},emits:["input"],setup(e,{emit:t}){const n=e,r=t,o=a.ref("password"),i=a.ref(""),s=a.computed(()=>!i.value||!n.validationRegex||!n.failedValidationMessage?!0:u()),l=a.computed(()=>({height:n.iconSize,width:n.iconSize,color:n.iconColor,fill:"currentColor"})),c=()=>{o.value=o.value==="password"?"text":"password"},u=()=>typeof n.validationRegex=="string"?new RegExp(n.validationRegex,"g").test(i.value):!1;return(d,f)=>(a.openBlock(),a.createElementBlock("div",null,[a.createElementVNode("div",fB,[a.withDirectives(a.createElementVNode("input",{autocomplete:"off",style:{position:"relative"},type:o.value,placeholder:d.placeholder,class:a.normalizeClass(d.class),name:d.name,"onUpdate:modelValue":f[0]||(f[0]=h=>i.value=h),onInput:f[1]||(f[1]=h=>r("input",h.target.value))},null,42,hB),[[a.vModelDynamic,i.value]]),a.createElementVNode("a",{style:{cursor:"pointer",position:"absolute",top:"50%",right:"10px",transform:"translateY(-50%)"},onClick:a.withModifiers(c,["prevent"])},[a.withDirectives((a.openBlock(),a.createElementBlock("svg",{style:a.normalizeStyle(l.value),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},pB,4)),[[a.vShow,o.value==="password"]]),a.withDirectives((a.openBlock(),a.createElementBlock("svg",{style:a.normalizeStyle(l.value),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},mB,4)),[[a.vShow,o.value!=="password"]])])]),a.withDirectives(a.createElementVNode("div",{style:{"margin-top":"0.5rem"},class:a.normalizeClass(d.errorClasses)},a.toDisplayString(d.failedValidationMessage),3),[[a.vShow,!s.value]])]))}});function ag(e,t,n){if(e<=n)return{width:e,height:t};const r=n/e;return{width:n,height:Math.round(t*r)}}function lu(e,t,n){return new Promise((r,o)=>{e.toBlob(i=>{if(!i){o(new Error("No se pudo generar la imagen."));return}r(new File([i],t,{type:"image/jpeg"}))},"image/jpeg",n)})}async function gB(e,t,n={}){const r=n.maxWidth??g4,o=n.quality??v4,i=n.minPx??L1,s=n.minBytes??p4,l=n.maxBytes??m4,c=e.videoWidth,u=e.videoHeight;if(!c||!u)throw new Error("La cámara aún no está lista. Espere un momento.");if(Math.min(c,u)<i)throw new Error(`La imagen debe tener al menos ${i} px en el lado menor.`);const f=ag(c,u,r),h=document.createElement("canvas");h.width=f.width,h.height=f.height;const p=h.getContext("2d");if(!p)throw new Error("No se pudo procesar la imagen.");p.drawImage(e,0,0,f.width,f.height);let g=await lu(h,t,o);if(g.size<s)throw new Error("La imagen es demasiado pequeña. Acérquese o mejore la iluminación.");if(g.size>l&&(g=await lu(h,t,Math.min(o,.85))),g.size>l)throw new Error("La imagen supera el tamaño máximo permitido.");return g}async function vB(e,t,n={}){if(!e.type.startsWith("image/"))throw new Error("El archivo seleccionado no es una imagen.");const r=await createImageBitmap(e),o=Math.min(r.width,r.height),i=n.minPx??L1;if(o<i)throw r.close(),new Error(`La imagen debe tener al menos ${i} px en el lado menor.`);const s=n.maxWidth??g4,l=ag(r.width,r.height,s),c=document.createElement("canvas");c.width=l.width,c.height=l.height;const u=c.getContext("2d");if(!u)throw r.close(),new Error("No se pudo procesar la imagen.");u.drawImage(r,0,0,l.width,l.height),r.close();const d=n.quality??v4,f=n.minBytes??p4,h=n.maxBytes??m4;let p=await lu(c,t,d);if(p.size<f)throw new Error("La imagen es demasiado pequeña.");if(p.size>h&&(p=await lu(c,t,Math.min(d,.85))),p.size>h)throw new Error("La imagen supera el tamaño máximo permitido.");return p}function og(e,t="live"){const n=[],r=t==="upload";if(!e.detected)return n.push(r?"No se detecta un carnet en la imagen. Suba una foto donde el documento sea visible.":"No se detecta un documento. Coloque el carnet dentro del marco."),{valid:!1,documentDetected:!1,documentCoverage:e.coverage,documentAlignedOk:!1,documentTiltOk:!1,messages:n};const o=r?E4:w4,i=r?x4:_4,s=e.coverage>=o&&e.coverage<=i;s||(e.coverage<o?n.push(r?"El carnet se ve muy pequeño en la imagen. Use una foto más cercana.":"Acérquese para que el carnet ocupe más espacio."):n.push(r?"El carnet ocupa demasiado espacio en la imagen. Use una foto con más contexto.":"Aleje un poco el carnet para que encaje dentro del marco."));const l=r?!0:Math.hypot(e.centerX-TT,e.centerY-AT)<=OT;l||n.push("Centre el carnet dentro del marco.");const c=r?!0:e.tiltDegrees<=k4;c||n.push("Mantenga el carnet más recto, sin inclinarlo demasiado.");const u=s&&l&&c;return u&&(n.length=0,n.push(r?"Carnet detectado en la imagen.":"Documento detectado correctamente.")),{valid:u,documentDetected:!0,documentCoverage:e.coverage,documentAlignedOk:l,documentTiltOk:c,messages:n}}function ig(e,t,n="live"){const r=[...t.messages];return e.valid?t.valid&&(r.length=0,r.push(n==="upload"?"Imagen válida para continuar.":"Imagen lista para capturar.")):r.push(...e.messages.filter(o=>!r.includes(o))),{...e,documentDetected:t.documentDetected,documentCoverage:t.documentCoverage,documentAlignedOk:t.documentAlignedOk,documentTiltOk:t.documentTiltOk,valid:e.valid&&t.valid,messages:r}}function sg(e,t,n){const r=e.length,o=[];if(!t||!n)return{valid:!1,faceDetected:!1,faceCount:0,faceSizeOk:!1,faceCenteredOk:!1,messages:["Esperando imagen de la cámara..."]};if(r===0)return o.push("No se detecta un rostro. Ubíquese dentro del óvalo."),{valid:!1,faceDetected:!1,faceCount:0,faceSizeOk:!1,faceCenteredOk:!1,messages:o};if(r>1)return o.push("Se detectó más de un rostro. Solo debe aparecer usted."),{valid:!1,faceDetected:!0,faceCount:r,faceSizeOk:!1,faceCenteredOk:!1,messages:o};const i=e[0].boundingBox;if(!i)return o.push("No se pudo leer el rostro. Intente de nuevo."),{valid:!1,faceDetected:!0,faceCount:1,faceSizeOk:!1,faceCenteredOk:!1,messages:o};const l=i.width/t>=vT;l||o.push("Acérquese un poco más para que su rostro sea más visible.");const c=(i.originX+i.width/2)/t,u=(i.originY+i.height/2)/n,f=Math.hypot(c-yT,u-bT)<=wT;f||o.push("Centre su rostro dentro del óvalo.");const h=l&&f;return h&&(o.length=0,o.push("Rostro detectado correctamente.")),{valid:h,faceDetected:!0,faceCount:1,faceSizeOk:l,faceCenteredOk:f,messages:o}}function lg(e,t){const n=[...t.messages];return e.valid?t.valid&&(n.length=0,n.push("Imagen lista para capturar.")):n.push(...e.messages.filter(r=>!n.includes(r))),{...e,faceDetected:t.faceDetected,faceCount:t.faceCount,faceSizeOk:t.faceSizeOk,faceCenteredOk:t.faceCenteredOk,valid:e.valid&&t.valid,messages:n}}const yB=y4+F1,bB=b4+U1,wB={useGuideRegion:!0,minCoverage:w4,maxCoverage:_4,minAspectRatio:CT,maxAspectRatio:ST,minRectangularity:BT,minEdgePoints:60,minDocWidthRatio:.35,minDocHeightRatio:.35,requireBalancedSides:!0,multiThreshold:!1},_B={useGuideRegion:!1,minCoverage:E4,maxCoverage:x4,minAspectRatio:VT,maxAspectRatio:RT,minRectangularity:DT,minEdgePoints:30,minDocWidthRatio:.08,minDocHeightRatio:.06,requireBalancedSides:!1,multiThreshold:!0};function kB(e){return e==="upload"?_B:wB}function cg(e){return e instanceof HTMLVideoElement?{width:e.videoWidth,height:e.videoHeight}:{width:e.width,height:e.height}}function EB(e,t){const{width:n,height:r}=cg(e);if(!n||!r)return null;const o=n>t?t/n:1,i=Math.max(1,Math.round(n*o)),s=Math.max(1,Math.round(r*o)),l=document.createElement("canvas");l.width=i,l.height=s;const c=l.getContext("2d",{willReadFrequently:!0});return c?(c.drawImage(e,0,0,i,s),{data:c.getImageData(0,0,i,s).data,width:i,height:s}):null}function cu(){return{detected:!1,coverage:0,aspectRatio:0,centerX:.5,centerY:.5,tiltDegrees:k4,rectangularity:0}}function xB(e,t,n){const r=new Float32Array(t*n);for(let o=0,i=0;i<r.length;i++,o+=4)r[i]=.299*e[o]+.587*e[o+1]+.114*e[o+2];return r}function CB(e,t,n){const r=new Float32Array(e.length);for(let o=1;o<n-1;o++)for(let i=1;i<t-1;i++){const s=o*t+i;r[s]=(e[s-t-1]+e[s-t]+e[s-t+1]+e[s-1]+e[s]+e[s+1]+e[s+t-1]+e[s+t]+e[s+t+1])/9}return r}function SB(e,t,n){const r=new Float32Array(e.length);for(let o=1;o<n-1;o++)for(let i=1;i<t-1;i++){const s=o*t+i,l=-e[s-t-1]+e[s-t+1]+-2*e[s-1]+2*e[s+1]+-e[s+t-1]+e[s+t+1],c=-e[s-t-1]-2*e[s-t]-e[s-t+1]+e[s+t-1]+2*e[s+t]+e[s+t+1];r[s]=Math.hypot(l,c)}return r}function TB(e,t,n,r){const o=e/n,i=t/r;return o>=y4&&o<=yB&&i>=b4&&i<=bB}function ug(e,t,n,r,o){return o.useGuideRegion?TB(e,t,n,r):!0}function AB(e,t,n,r){const o=[];for(let i=1;i<n-1;i++)for(let s=1;s<t-1;s++){if(!ug(s,i,t,n,r))continue;const l=e[i*t+s];l>0&&o.push(l)}return o}function OB(e,t){if(e.length<30)return[];e.sort((l,c)=>l-c);const n=e[Math.floor(e.length*.9)],r=e[Math.floor(e.length*.75)],o=e[Math.floor(e.length*.6)],i=e[Math.floor(e.length*.45)],s=t.multiThreshold?[Math.max(28,(i+r)/2),Math.max(22,(i+o)/2),Math.max(18,i*.85)]:[Math.max(35,(o+n)/2)];return[...new Set(s.map(l=>Math.round(l)))]}function BB(e,t,n,r,o){const i=[];for(let s=1;s<n-1;s++)for(let l=1;l<t-1;l++)ug(l,s,t,n,o)&&e[s*t+l]>=r&&i.push({x:l,y:s});return i}function uu(e,t){if(!e.length)return 0;const n=[...e].sort((o,i)=>o-i),r=Math.min(n.length-1,Math.floor(n.length*t));return n[r]}function IB(e){if(e.length<20)return 0;let t=0,n=0;for(const s of e)t+=s.x,n+=s.y;t/=e.length,n/=e.length;let r=0,o=0,i=0;for(const s of e){const l=s.x-t,c=s.y-n;r+=l*l,o+=c*c,i+=l*c}return Math.abs(Math.atan2(2*i,r-o)*.5*(180/Math.PI))}function VB(e,t){const n=t.right-t.left,r=t.bottom-t.top,o=Math.max(2,Math.min(n,r)*.1);let i=0;for(const s of e){const l=s.y<=t.top+o,c=s.y>=t.bottom-o,u=s.x<=t.left+o,d=s.x>=t.right-o;(l||c||u||d)&&i++}return i/e.length}function RB(e,t){const n=t.right-t.left,r=t.bottom-t.top,o=Math.max(2,Math.min(n,r)*.12);let i=0,s=0,l=0,c=0;for(const d of e)d.y<=t.top+o?i++:d.y>=t.bottom-o?s++:d.x<=t.left+o?l++:d.x>=t.right-o&&c++;const u=e.length;return[i/u,s/u,l/u,c/u]}function DB(e){return e.every(t=>t>=IT)}function MB(e,t,n,r,o,i){if(e.length<r.minEdgePoints)return null;const s=e.map(x=>x.x),l=e.map(x=>x.y),c={left:uu(s,o),right:uu(s,i),top:uu(l,o),bottom:uu(l,i)},u=c.right-c.left,d=c.bottom-c.top,f=r.useGuideRegion?F1*t:t,h=r.useGuideRegion?U1*n:n,p=f*h;if(u<f*r.minDocWidthRatio||d<h*r.minDocHeightRatio)return null;const g=u*d/p,w=Math.max(u,d)/Math.min(u,d),y=(c.left+c.right)/2/t,k=(c.top+c.bottom)/2/n,v=VB(e,c),m=RB(e,c),b=IB(e),_=!r.requireBalancedSides||DB(m);return{detected:g>=r.minCoverage&&g<=r.maxCoverage&&w>=r.minAspectRatio&&w<=r.maxAspectRatio&&v>=r.minRectangularity&&_,coverage:g,aspectRatio:w,centerX:y,centerY:k,tiltDegrees:b,rectangularity:v}}function PB(e,t,n,r){const o=kB(r),i=xB(e,t,n),s=CB(i,t,n),l=SB(s,t,n),c=AB(l,t,n,o),u=OB(c,o);if(!u.length)return cu();const d=r==="upload"?[[.12,.88],[.08,.92]]:[[.1,.9]];let f=null;for(const h of u){const p=BB(l,t,n,h,o);for(const[g,w]of d){const y=MB(p,t,n,o,g,w);if(y){if(y.detected)return y;(!f||y.coverage>f.coverage)&&(f=y)}}}if(r==="upload"&&f&&f.coverage>=o.minCoverage){const h={...o,minRectangularity:Math.min(o.minRectangularity,.08),minAspectRatio:1.15,maxAspectRatio:2.4};if(f.aspectRatio>=h.minAspectRatio&&f.aspectRatio<=h.maxAspectRatio&&f.rectangularity>=h.minRectangularity&&f.coverage<=h.maxCoverage)return{...f,detected:!0}}return f??cu()}function dg(e,t="live"){const{width:n,height:r}=cg(e);if(!n||!r)return{result:cu(),frameWidth:0,frameHeight:0};const i=EB(e,t==="upload"?MT:xT);return i?{result:PB(i.data,i.width,i.height,t),frameWidth:n,frameHeight:r}:{result:cu(),frameWidth:n,frameHeight:r}}function fg(e){return e==="anverso"||e==="reverso"}var bo=typeof self<"u"?self:{};function hg(e,t){e:{for(var n=["CLOSURE_FLAGS"],r=bo,o=0;o<n.length;o++)if((r=r[n[o]])==null){n=null;break e}n=r}return(e=n&&n[e])!=null?e:t}function ft(e,t){e=e.split(".");for(var n,r=bo;e.length&&(n=e.shift());)e.length||t===void 0?r=r[n]&&r[n]!==Object.prototype[n]?r[n]:r[n]={}:r[n]=t}function wo(){throw Error("Invalid UTF8")}function pg(e,t){return t=String.fromCharCode.apply(null,t),e==null?t:e+t}var h2,LB,du=void 0,FB=typeof TextDecoder<"u",UB=typeof TextEncoder<"u";function mg(e){if(UB)e=(LB||(LB=new TextEncoder)).encode(e);else{let n=0,r=new Uint8Array(3*e.length);for(let o=0;o<e.length;o++){var t=e.charCodeAt(o);if(t<128)r[n++]=t;else{if(t<2048)r[n++]=t>>6|192;else{if(t>=55296&&t<=57343){if(t<=56319&&o<e.length){let i=e.charCodeAt(++o);if(i>=56320&&i<=57343){t=1024*(t-55296)+i-56320+65536,r[n++]=t>>18|240,r[n++]=t>>12&63|128,r[n++]=t>>6&63|128,r[n++]=63&t|128;continue}o--}t=65533}r[n++]=t>>12|224,r[n++]=t>>6&63|128}r[n++]=63&t|128}}e=n===r.length?r:r.subarray(0,n)}return e}function gg(e){bo.setTimeout(()=>{throw e},0)}var ZB=hg(610401301,!1),vg=hg(748402147,!0);function yg(){var e=bo.navigator;return e&&(e=e.userAgent)?e:""}var p2,bg=bo.navigator;function fu(e){return fu[" "](e),e}p2=bg&&bg.userAgentData||null,fu[" "]=function(){};var wg={},tl=null;function zB(e){var t=e.length,n=3*t/4;n%3?n=Math.floor(n):"=.".indexOf(e[t-1])!=-1&&(n="=.".indexOf(e[t-2])!=-1?n-2:n-1);var r=new Uint8Array(n),o=0;return function(i,s){function l(u){for(;c<i.length;){let d=i.charAt(c++),f=tl[d];if(f!=null)return f;if(!/^[\s\xa0]*$/.test(d))throw Error("Unknown base64 encoding at char: "+d)}return u}_g();for(var c=0;;){let u=l(-1),d=l(0),f=l(64),h=l(64);if(h===64&&u===-1)break;s(u<<2|d>>4),f!=64&&(s(d<<4&240|f>>2),h!=64&&s(f<<6&192|h))}}(e,function(i){r[o++]=i}),o!==n?r.subarray(0,o):r}function _g(){if(!tl){tl={};var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),t=["+/=","+/","-_=","-_.","-_"];for(let n=0;n<5;n++){let r=e.concat(t[n].split(""));wg[n]=r;for(let o=0;o<r.length;o++){let i=r[o];tl[i]===void 0&&(tl[i]=o)}}}}var jB=typeof Uint8Array<"u",kg=!(!(ZB&&p2&&p2.brands.length>0)&&(yg().indexOf("Trident")!=-1||yg().indexOf("MSIE")!=-1))&&typeof btoa=="function",Eg=/[-_.]/g,HB={"-":"+",_:"/",".":"="};function qB(e){return HB[e]||""}function xg(e){if(!kg)return zB(e);e=Eg.test(e)?e.replace(Eg,qB):e,e=atob(e);var t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}function m2(e){return jB&&e!=null&&e instanceof Uint8Array}var Ei={};function _o(){return WB||(WB=new Cr(null,Ei))}function g2(e){Cg(Ei);var t=e.g;return(t=t==null||m2(t)?t:typeof t=="string"?xg(t):null)==null?t:e.g=t}var WB,Cr=class{h(){return new Uint8Array(g2(this)||0)}constructor(t,n){if(Cg(n),this.g=t,t!=null&&t.length===0)throw Error("ByteString should be constructed with non-empty values")}};function Cg(e){if(e!==Ei)throw Error("illegal external caller")}function Sg(e,t){e.__closure__error__context__984382||(e.__closure__error__context__984382={}),e.__closure__error__context__984382.severity=t}var GB=void 0;function nl(e){return Sg(e=Error(e),"warning"),e}function xi(e,t){if(e!=null){var n=GB??(GB={}),r=n[e]||0;r>=t||(n[e]=r+1,Sg(e=Error(),"incident"),gg(e))}}function ko(){return typeof BigInt=="function"}var Ci=typeof Symbol=="function"&&typeof Symbol()=="symbol";function Sr(e,t,n=!1){return typeof Symbol=="function"&&typeof Symbol()=="symbol"?n&&Symbol.for&&e?Symbol.for(e):e!=null?Symbol(e):Symbol():t}var Da,KB=Sr("jas",void 0,!0),Tg=Sr(void 0,"0di"),rl=Sr(void 0,"1oa"),In=Sr(void 0,Symbol()),YB=Sr(void 0,"0ub"),JB=Sr(void 0,"0ubs"),v2=Sr(void 0,"0ubsb"),XB=Sr(void 0,"0actk"),Si=Sr("m_m","kb",!0),Ag=Sr(),Og={Va:{value:0,configurable:!0,writable:!0,enumerable:!1}},Bg=Object.defineProperties,le=Ci?KB:"Va",Ig=[];function al(e,t){Ci||le in e||Bg(e,Og),e[le]|=t}function Pt(e,t){Ci||le in e||Bg(e,Og),e[le]=t}function ol(e){return al(e,34),e}function il(e){return al(e,8192),e}Pt(Ig,7),Da=Object.freeze(Ig);var Ti={};function gn(e,t){return t===void 0?e.h!==Eo&&!!(2&e.A[le]):!!(2&t)&&e.h!==Eo}var Eo={};function hu(e,t){if(e!=null){if(typeof e=="string")e=e?new Cr(e,Ei):_o();else if(e.constructor!==Cr)if(m2(e))e=e.length?new Cr(new Uint8Array(e),Ei):_o();else{if(!t)throw Error();e=void 0}}return e}let Vg=class{constructor(t,n,r){this.g=t,this.h=n,this.j=r}next(){var t=this.g.next();return t.done||(t.value=this.h.call(this.j,t.value)),t}[Symbol.iterator](){return this}};var QB=Object.freeze({});function Rg(e,t,n){var r,o=128&t?0:-1,i=e.length;(r=!!i)&&(r=(r=e[i-1])!=null&&typeof r=="object"&&r.constructor===Object);var s=i+(r?-1:0);for(t=128&t?1:0;t<s;t++)n(t-o,e[t]);if(r){e=e[i-1];for(let l in e)!isNaN(l)&&n(+l,e[l])}}var Dg={};function Ai(e){return 128&e?Dg:void 0}function pu(e){return e.ib=!0,e}var NB=pu(e=>typeof e=="number"),Mg=pu(e=>typeof e=="string"),$B=pu(e=>typeof e=="boolean"),mu=typeof bo.BigInt=="function"&&typeof bo.BigInt(0)=="bigint";function Lt(e){var t=e;if(Mg(t)){if(!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(t))throw Error(String(t))}else if(NB(t)&&!Number.isSafeInteger(t))throw Error(String(t));return mu?BigInt(e):e=$B(e)?e?"1":"0":Mg(e)?e.trim()||"0":String(e)}var y2=pu(e=>mu?e>=tI&&e<=rI:e[0]==="-"?Pg(e,eI):Pg(e,nI)),eI=Number.MIN_SAFE_INTEGER.toString(),tI=mu?BigInt(Number.MIN_SAFE_INTEGER):void 0,nI=Number.MAX_SAFE_INTEGER.toString(),rI=mu?BigInt(Number.MAX_SAFE_INTEGER):void 0;function Pg(e,t){if(e.length>t.length)return!1;if(e.length<t.length||e===t)return!0;for(let n=0;n<e.length;n++){let r=e[n],o=t[n];if(r>o)return!1;if(r<o)return!0}}var Lg,aI=typeof Uint8Array.prototype.slice=="function",Ge=0,nt=0;function b2(e){var t=e>>>0;Ge=t,nt=(e-t)/4294967296>>>0}function xo(e){if(e<0){b2(-e);let[t,n]=k2(Ge,nt);Ge=t>>>0,nt=n>>>0}else b2(e)}function w2(e){var t=Lg||(Lg=new DataView(new ArrayBuffer(8)));t.setFloat32(0,+e,!0),nt=0,Ge=t.getUint32(0,!0)}function Fg(e,t){var n=4294967296*t+(e>>>0);return Number.isSafeInteger(n)?n:Oi(e,t)}function oI(e,t){return Lt(ko()?BigInt.asUintN(64,(BigInt(t>>>0)<<BigInt(32))+BigInt(e>>>0)):Oi(e,t))}function Ug(e,t){return ko()?Lt(BigInt.asIntN(64,(BigInt.asUintN(32,BigInt(t))<<BigInt(32))+BigInt.asUintN(32,BigInt(e)))):Lt(_2(e,t))}function Oi(e,t){if(e>>>=0,(t>>>=0)<=2097151)var n=""+(4294967296*t+e);else ko()?n=""+(BigInt(t)<<BigInt(32)|BigInt(e)):(e=(16777215&e)+6777216*(n=16777215&(e>>>24|t<<8))+6710656*(t=t>>16&65535),n+=8147497*t,t*=2,e>=1e7&&(n+=e/1e7>>>0,e%=1e7),n>=1e7&&(t+=n/1e7>>>0,n%=1e7),n=t+Zg(n)+Zg(e));return n}function Zg(e){return e=String(e),"0000000".slice(e.length)+e}function _2(e,t){if(2147483648&t)if(ko())e=""+(BigInt(0|t)<<BigInt(32)|BigInt(e>>>0));else{let[n,r]=k2(e,t);e="-"+Oi(n,r)}else e=Oi(e,t);return e}function sl(e){if(e.length<16)xo(Number(e));else if(ko())e=BigInt(e),Ge=Number(e&BigInt(4294967295))>>>0,nt=Number(e>>BigInt(32)&BigInt(4294967295));else{let t=+(e[0]==="-");nt=Ge=0;let n=e.length;for(let r=t,o=(n-t)%6+t;o<=n;r=o,o+=6){let i=Number(e.slice(r,o));nt*=1e6,(Ge=1e6*Ge+i)>=4294967296&&(nt+=Math.trunc(Ge/4294967296),nt>>>=0,Ge>>>=0)}if(t){let[r,o]=k2(Ge,nt);Ge=r,nt=o}}}function k2(e,t){return t=~t,e?e=1+~e:t+=1,[e,t]}function Gn(e){return Array.prototype.slice.call(e)}var Co=typeof BigInt=="function"?BigInt.asIntN:void 0,E2=typeof BigInt=="function"?BigInt.asUintN:void 0,Tr=Number.isSafeInteger,ll=Number.isFinite,Ma=Math.trunc,iI=Lt(0);function zg(e){if(typeof e!="number")throw Error(`Value of float/double field must be a number, found ${typeof e}: ${e}`);return e}function dr(e){return e==null||typeof e=="number"?e:e==="NaN"||e==="Infinity"||e==="-Infinity"?Number(e):void 0}function gu(e){if(typeof e!="boolean"){var t=typeof e;throw Error(`Expected boolean but got ${t!="object"?t:e?Array.isArray(e)?"array":t:"null"}: ${e}`)}return e}var sI=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function Bi(e){switch(typeof e){case"bigint":return!0;case"number":return ll(e);case"string":return sI.test(e);default:return!1}}function Nr(e){if(e!=null){if(!ll(e))throw nl("enum");e|=0}return e}function So(e){if(e==null)return e;if(typeof e=="string"&&e)e=+e;else if(typeof e!="number")return;return ll(e)?0|e:void 0}function jg(e){if(e==null)return e;if(typeof e=="string"&&e)e=+e;else if(typeof e!="number")return;return ll(e)?e>>>0:void 0}function Hg(e,t){if(t??(t=1024),!Bi(e))throw nl("int64");var n=typeof e;switch(t){case 512:switch(n){case"string":return yu(e);case"bigint":return String(Co(64,e));default:return Kg(e)}case 1024:switch(n){case"string":return Yg(e);case"bigint":return Lt(Co(64,e));default:return Jg(e)}case 0:switch(n){case"string":return yu(e);case"bigint":return Lt(Co(64,e));default:return vu(e)}default:return function(r,o=`unexpected value ${r}!`){throw Error(o)}(t,"Unknown format requested type for int64")}}function qg(e){var t=e.length;return(e[0]==="-"?t<20||t===20&&e<="-9223372036854775808":t<19||t===19&&e<="9223372036854775807")?e:(sl(e),_2(Ge,nt))}function Wg(e){if(e[0]==="-")var t=!1;else t=(t=e.length)<20||t===20&&e<="18446744073709551615";return t?e:(sl(e),Oi(Ge,nt))}function vu(e){if(e=Ma(e),!Tr(e)){xo(e);var t=Ge,n=nt;(e=2147483648&n)&&(n=~n>>>0,(t=1+~t>>>0)==0&&(n=n+1>>>0)),e=typeof(t=Fg(t,n))=="number"?e?-t:t:e?"-"+t:t}return e}function Gg(e){return(e=Ma(e))>=0&&Tr(e)||(xo(e),e=Fg(Ge,nt)),e}function Kg(e){return e=Ma(e),Tr(e)?e=String(e):(xo(e),e=_2(Ge,nt)),e}function yu(e){var t=Ma(Number(e));return Tr(t)?String(t):((t=e.indexOf("."))!==-1&&(e=e.substring(0,t)),qg(e))}function Yg(e){var t=Ma(Number(e));return Tr(t)?Lt(t):((t=e.indexOf("."))!==-1&&(e=e.substring(0,t)),ko()?Lt(Co(64,BigInt(e))):Lt(qg(e)))}function Jg(e){return Tr(e)?Lt(vu(e)):Lt(Kg(e))}function bu(e){var t=typeof e;return e==null?e:t==="bigint"?Lt(Co(64,e)):Bi(e)?t==="string"?Yg(e):Jg(e):void 0}function x2(e){if(e==null)return e;var t=typeof e;if(t==="bigint")return String(Co(64,e));if(Bi(e)){if(t==="string")return yu(e);if(t==="number")return vu(e)}}function Xg(e){if(e==null||typeof e=="string"||e instanceof Cr)return e}function Qg(e){if(typeof e!="string")throw Error();return e}function $r(e){if(e!=null&&typeof e!="string")throw Error();return e}function Xt(e){return e==null||typeof e=="string"?e:void 0}function C2(e,t,n,r){return e!=null&&e[Si]===Ti?e:Array.isArray(e)?((r=(n=0|e[le])|32&r|2&r)!==n&&Pt(e,r),new t(e)):(n?2&r?((e=t[Tg])||(ol((e=new t).A),e=t[Tg]=e),t=e):t=new t:t=void 0,t)}function lI(e,t,n){return(e=t?Hg(e,1024):bu(e))==null?n?iI:void 0:e}function cI(e){return e}var uI={},dI=function(){try{return fu(new class extends Map{constructor(){super()}}),!1}catch{return!0}}();class S2{constructor(){this.g=new Map}get(t){return this.g.get(t)}set(t,n){return this.g.set(t,n),this.size=this.g.size,this}delete(t){return t=this.g.delete(t),this.size=this.g.size,t}clear(){this.g.clear(),this.size=this.g.size}has(t){return this.g.has(t)}entries(){return this.g.entries()}keys(){return this.g.keys()}values(){return this.g.values()}forEach(t,n){return this.g.forEach(t,n)}[Symbol.iterator](){return this.entries()}}var fI=dI?(Object.setPrototypeOf(S2.prototype,Map.prototype),Object.defineProperties(S2.prototype,{size:{value:0,configurable:!0,enumerable:!0,writable:!0}}),S2):class extends Map{constructor(){super()}};function Ng(e){return e}function T2(e){if(2&e.M)throw Error("Cannot mutate an immutable Map")}var hI,ea=class extends fI{constructor(t,n,r=Ng,o=Ng){super(),this.M=0|t[le],this.N=n,this.ba=r,this.na=this.N?pI:o;for(let i=0;i<t.length;i++){let s=t[i],l=r(s[0],!1,!0),c=s[1];n?c===void 0&&(c=null):c=o(s[1],!1,!0,void 0,void 0,this.M),super.set(l,c)}}ea(t){return il(Array.from(super.entries(),t))}clear(){T2(this),super.clear()}delete(t){return T2(this),super.delete(this.ba(t,!0,!1))}entries(){if(this.N){var t=super.keys();t=new Vg(t,mI,this)}else t=super.entries();return t}values(){if(this.N){var t=super.keys();t=new Vg(t,ea.prototype.get,this)}else t=super.values();return t}forEach(t,n){this.N?super.forEach((r,o,i)=>{t.call(n,i.get(o),o,i)}):super.forEach(t,n)}set(t,n){return T2(this),(t=this.ba(t,!0,!1))==null?this:n==null?(super.delete(t),this):super.set(t,this.na(n,!0,!0,this.N,!1,this.M))}gb(t){var n=this.ba(t[0],!1,!0);t=t[1],t=this.N?t===void 0?null:t:this.na(t,!1,!0,void 0,!1,this.M),super.set(n,t)}has(t){return super.has(this.ba(t,!1,!1))}get(t){t=this.ba(t,!1,!1);var n=super.get(t);if(n!==void 0){var r=this.N;return r?((r=this.na(n,!1,!0,r,this.Fa,this.M))!==n&&super.set(t,r),r):n}}[Symbol.iterator](){return this.entries()}};function pI(e,t,n,r,o,i){return e=C2(e,r,n,i),o&&(e=B2(e)),e}function mI(e){return[e,this.get(e)]}function $g(){return hI||(hI=new ea(ol([]),void 0,void 0,void 0,uI))}function wu(e){return In?e[In]:void 0}function _u(e,t){for(let n in e)!isNaN(n)&&t(e,+n,e[n])}ea.prototype.toJSON=void 0;var gI,vI,A2=class{},yI={cb:!0};function bI(e,t){t<100||xi(JB,1)}function ku(e,t,n,r){var o=r!==void 0;r=!!r;var i,s=In;!o&&Ci&&s&&(i=e[s])&&_u(i,bI),s=[];var l=e.length;i=4294967295;var c=!1,u=!!(64&t),d=u?128&t?0:-1:void 0;if(!(1&t)){var f=l&&e[l-1];f!=null&&typeof f=="object"&&f.constructor===Object?i=--l:f=void 0,!u||128&t||o||(c=!0,i=cI(i-d,d,e,f,void 0)+d)}t=void 0;for(var h=0;h<l;h++){let p=e[h];if(p!=null&&(p=n(p,r))!=null)if(u&&h>=i){let g=h-d;(t??(t={}))[g]=p}else s[h]=p}if(f)for(let p in f){if((l=f[p])==null||(l=n(l,r))==null)continue;let g;h=+p,u&&!Number.isNaN(h)&&(g=h+d)<i?s[g]=l:(t??(t={}))[p]=l}return t&&(c?s.push(t):s[i]=t),o&&In&&(e=wu(e))&&e instanceof A2&&(s[In]=function(p){var g=new A2;return _u(p,(w,y,k)=>{g[y]=Gn(k)}),g.ka=p.ka,g}(e)),s}function wI(e){return e[0]=cl(e[0]),e[1]=cl(e[1]),e}function cl(e){switch(typeof e){case"number":return Number.isFinite(e)?e:""+e;case"bigint":return y2(e)?Number(e):""+e;case"boolean":return e?1:0;case"object":if(Array.isArray(e)){var t=0|e[le];return e.length===0&&1&t?void 0:ku(e,t,cl)}if(e!=null&&e[Si]===Ti)return e6(e);if(e instanceof Cr){if((t=e.g)==null)e="";else if(typeof t=="string")e=t;else{if(kg){for(var n="",r=0,o=t.length-10240;r<o;)n+=String.fromCharCode.apply(null,t.subarray(r,r+=10240));n+=String.fromCharCode.apply(null,r?t.subarray(r):t),t=btoa(n)}else{n===void 0&&(n=0),_g(),n=wg[n],r=Array(Math.floor(t.length/3)),o=n[64]||"";let u=0,d=0;for(;u<t.length-2;u+=3){var i=t[u],s=t[u+1],l=t[u+2],c=n[i>>2];i=n[(3&i)<<4|s>>4],s=n[(15&s)<<2|l>>6],l=n[63&l],r[d++]=c+i+s+l}switch(c=0,l=o,t.length-u){case 2:l=n[(15&(c=t[u+1]))<<2]||o;case 1:t=t[u],r[d]=n[t>>2]+n[(3&t)<<4|c>>4]+l+o}t=r.join("")}e=e.g=t}return e}return e instanceof ea?e=e.size!==0?e.ea(wI):void 0:void 0}return e}function e6(e){return ku(e=e.A,0|e[le],cl)}function To(e,t){return t6(e,t[0],t[1])}function t6(e,t,n,r=0){if(e==null){var o=32;n?(e=[n],o|=128):e=[],t&&(o=-16760833&o|(1023&t)<<14)}else{if(!Array.isArray(e))throw Error("narr");if(o=0|e[le],vg&&1&o)throw Error("rfarr");if(2048&o&&!(2&o)&&function(){if(vg)throw Error("carr");xi(XB,5)}(),256&o)throw Error("farr");if(64&o)return(o|r)!==o&&Pt(e,o|r),e;if(n&&(o|=128,n!==e[0]))throw Error("mid");e:{o|=64;var i=(n=e).length;if(i){var s=i-1;let c=n[s];if(c!=null&&typeof c=="object"&&c.constructor===Object){if((s-=t=128&o?0:-1)>=1024)throw Error("pvtlmt");for(var l in c)(i=+l)<s&&(n[i+t]=c[l],delete c[l]);o=-16760833&o|(1023&s)<<14;break e}}if(t){if((l=Math.max(t,i-(128&o?0:-1)))>1024)throw Error("spvt");o=-16760833&o|(1023&l)<<14}}}return Pt(e,64|o|r),e}function _I(e,t){if(typeof e!="object")return e;if(Array.isArray(e)){var n=0|e[le];return e.length===0&&1&n?void 0:n6(e,n,t)}if(e!=null&&e[Si]===Ti)return r6(e);if(e instanceof ea){if(2&(t=e.M))return e;if(!e.size)return;if(n=ol(e.ea()),e.N)for(e=0;e<n.length;e++){let r=n[e],o=r[1];o=o==null||typeof o!="object"?void 0:o!=null&&o[Si]===Ti?r6(o):Array.isArray(o)?n6(o,0|o[le],!!(32&t)):void 0,r[1]=o}return n}return e instanceof Cr?e:void 0}function n6(e,t,n){return 2&t||(!n||4096&t||16&t?e=Ii(e,t,!1,n&&!(16&t)):(al(e,34),4&t&&Object.freeze(e))),e}function O2(e,t,n){return e=new e.constructor(t),n&&(e.h=Eo),e.m=Eo,e}function r6(e){var t=e.A,n=0|t[le];return gn(e,n)?e:I2(e,t,n)?O2(e,t):Ii(t,n)}function Ii(e,t,n,r){return r??(r=!!(34&t)),e=ku(e,t,_I,r),r=32,n&&(r|=2),Pt(e,t=16769217&t|r),e}function B2(e){var t=e.A,n=0|t[le];return gn(e,n)?I2(e,t,n)?O2(e,t,!0):new e.constructor(Ii(t,n,!1)):e}function Vi(e){if(e.h!==Eo)return!1;var t=e.A;return al(t=Ii(t,0|t[le]),2048),e.A=t,e.h=void 0,e.m=void 0,!0}function Ao(e){if(!Vi(e)&&gn(e,0|e.A[le]))throw Error()}function Pa(e,t){t===void 0&&(t=0|e[le]),32&t&&!(4096&t)&&Pt(e,4096|t)}function I2(e,t,n){return!!(2&n)||!(!(32&n)||4096&n)&&(Pt(t,2|n),e.h=Eo,!0)}var a6=Lt(0),La={};function _t(e,t,n,r){if((t=ta(e.A,t,void 0,r))!==null||n&&e.m!==Eo)return t}function ta(e,t,n,r){if(t===-1)return null;var o=t+(n?0:-1),i=e.length-1;if(!(i<1+(n?0:-1))){if(o>=i){var s=e[i];if(s!=null&&typeof s=="object"&&s.constructor===Object){n=s[t];var l=!0}else{if(o!==i)return;n=s}}else n=e[o];if(r&&n!=null){if((r=r(n))==null)return r;if(!Object.is(r,n))return l?s[t]=r:e[o]=r,r}return n}}function Ce(e,t,n,r){Ao(e);var o=e.A;return Ot(o,0|o[le],t,n,r),e}function Ot(e,t,n,r,o){var i=n+(o?0:-1),s=e.length-1;if(s>=1+(o?0:-1)&&i>=s){let l=e[s];if(l!=null&&typeof l=="object"&&l.constructor===Object)return l[n]=r,t}return i<=s?(e[i]=r,t):(r!==void 0&&(n>=(s=(t??(t=0|e[le]))>>14&1023||536870912)?r!=null&&(e[s+(o?0:-1)]={[n]:r}):e[i]=r),t)}function o6(e,t,n,r){var o=e.A;return d6(o,0|o[le],t,e=c6(e,r)===n?n:-1)!==void 0}function Oo(){return QB===void 0?2:4}function Bo(e,t,n,r,o){var i=e.A,s=0|i[le];r=gn(e,s)?1:r,o=!!o||r===3,r===2&&Vi(e)&&(s=0|(i=e.A)[le]);var l=(e=V2(i,t))===Da?7:0|e[le],c=R2(l,s),u=!(4&c);if(u){4&c&&(e=Gn(e),l=0,c=Za(c,s),s=Ot(i,s,t,e));let d=0,f=0;for(;d<e.length;d++){let h=n(e[d]);h!=null&&(e[f++]=h)}f<d&&(e.length=f),n=-513&c|4,c=n&=-1025,c&=-4097}return c!==l&&(Pt(e,c),2&c&&Object.freeze(e)),i6(e,c,i,s,t,r,u,o)}function i6(e,t,n,r,o,i,s,l){var c=t;return i===1||i===4&&(2&t||!(16&t)&&32&r)?Fa(t)||((t|=!e.length||s&&!(4096&t)||32&r&&!(4096&t||16&t)?2:256)!==c&&Pt(e,t),Object.freeze(e)):(i===2&&Fa(t)&&(e=Gn(e),c=0,t=Za(t,r),r=Ot(n,r,o,e)),Fa(t)||(l||(t|=16),t!==c&&Pt(e,t))),2&t||!(4096&t||16&t)||Pa(n,r),e}function V2(e,t,n){return e=ta(e,t,n),Array.isArray(e)?e:Da}function R2(e,t){return 2&t&&(e|=2),1|e}function Fa(e){return!!(2&e)&&!!(4&e)||!!(256&e)}function s6(e){return hu(e,!0)}function l6(e){e=Gn(e);for(let t=0;t<e.length;t++){let n=e[t]=Gn(e[t]);Array.isArray(n[1])&&(n[1]=ol(n[1]))}return il(e)}function ul(e,t,n,r){Ao(e),Ot(e=e.A,0|e[le],t,(r==="0"?Number(n)===0:n===r)?void 0:n)}function Ua(e,t,n){if(2&t)throw Error();var r=Ai(t),o=V2(e,n,r),i=o===Da?7:0|o[le],s=R2(i,t);return(2&s||Fa(s)||16&s)&&(s===i||Fa(s)||Pt(o,s),o=Gn(o),i=0,s=Za(s,t),Ot(e,t,n,o,r)),(s&=-13)!==i&&Pt(o,s),o}function c6(e,t){return M2(D2(e=e.A),e,void 0,t)}function D2(e){if(Ci)return e[rl]??(e[rl]=new Map);if(rl in e)return e[rl];var t=new Map;return Object.defineProperty(e,rl,{value:t}),t}function u6(e,t,n,r,o){var i=D2(e),s=M2(i,e,t,n,o);return s!==r&&(s&&(t=Ot(e,t,s,void 0,o)),i.set(n,r)),t}function M2(e,t,n,r,o){var i=e.get(r);if(i!=null)return i;i=0;for(let s=0;s<r.length;s++){let l=r[s];ta(t,l,o)!=null&&(i!==0&&(n=Ot(t,n,i,void 0,o)),i=l)}return e.set(r,i),i}function P2(e,t,n){var r=0|e[le],o=Ai(r),i=ta(e,n,o);if(i!=null&&i[Si]===Ti){if(!gn(i))return Vi(i),i.A;var s=i.A}else Array.isArray(i)&&(s=i);if(s){let l=0|s[le];2&l&&(s=Ii(s,l))}return(s=To(s,t))!==i&&Ot(e,r,n,s,o),s}function d6(e,t,n,r,o){var i=!1;if((r=ta(e,r,o,s=>{var l=C2(s,n,!1,t);return i=l!==s&&l!=null,l}))!=null)return i&&!gn(r)&&Pa(e,t),r}function Ye(e,t,n,r){var o=e.A,i=0|o[le];if((t=d6(o,i,t,n,r))==null)return t;if(!gn(e,i=0|o[le])){let s=B2(t);s!==t&&(Vi(e)&&(i=0|(o=e.A)[le]),Pa(o,i=Ot(o,i,n,t=s,r)))}return t}function f6(e,t,n,r,o,i,s,l){var c=gn(e,n);i=c?1:i,s=!!s||i===3,c=l&&!c,(i===2||c)&&Vi(e)&&(n=0|(t=e.A)[le]);var u=(e=V2(t,o))===Da?7:0|e[le],d=R2(u,n);if(l=!(4&d)){var f=e,h=n;let p=!!(2&d);p&&(h|=2);let g=!p,w=!0,y=0,k=0;for(;y<f.length;y++){let v=C2(f[y],r,!1,h);if(v instanceof r){if(!p){let m=gn(v);g&&(g=!m),w&&(w=m)}f[k++]=v}}k<y&&(f.length=k),d|=4,d=w?-4097&d:4096|d,d=g?8|d:-9&d}if(d!==u&&(Pt(e,d),2&d&&Object.freeze(e)),c&&!(8&d||!e.length&&(i===1||i===4&&(2&d||!(16&d)&&32&n)))){for(Fa(d)&&(e=Gn(e),d=Za(d,n),n=Ot(t,n,o,e)),r=e,c=d,u=0;u<r.length;u++)(f=r[u])!==(d=B2(f))&&(r[u]=d);c|=8,Pt(e,d=c=r.length?4096|c:-4097&c)}return i6(e,d,t,n,o,i,l,s)}function na(e,t,n){var r=e.A;return f6(e,r,0|r[le],t,n,Oo(),!1,!0)}function h6(e){return e==null&&(e=void 0),e}function ye(e,t,n,r,o){return Ce(e,n,r=h6(r),o),r&&!gn(r)&&Pa(e.A),e}function Ar(e,t,n,r){e:{var o=r=h6(r);Ao(e);let i=e.A,s=0|i[le];if(o==null){let l=D2(i);if(M2(l,i,s,n)!==t)break e;l.set(n,0)}else s=u6(i,s,n,t);Ot(i,s,t,o)}return r&&!gn(r)&&Pa(e.A),e}function L2(e,t,n){Ao(e);var r=e.A,o=0|r[le];if(n==null)return Ot(r,o,t),e;var i=n===Da?7:0|n[le],s=i,l=Fa(i),c=l||Object.isFrozen(n),u=!0,d=!0;for(let h=0;h<n.length;h++){var f=n[h];l||(f=gn(f),u&&(u=!f),d&&(d=f))}return l||(i=u?13:5,i=d?-4097&i:4096|i),c&&i===s||(n=Gn(n),s=0,i=Za(i,o)),i!==s&&Pt(n,i),o=Ot(r,o,t,n),2&i||!(4096&i||16&i)||Pa(r,o),e}function Za(e,t){return-273&(2&t?2|e:-3&e)}function dl(e,t,n,r){var o=r;Ao(e),e=f6(e,r=e.A,0|r[le],n,t,2,!0),o=o??new n,e.push(o),t=n=e===Da?7:0|e[le],(o=gn(o))?(n&=-9,e.length===1&&(n&=-4097)):n|=4096,n!==t&&Pt(e,n),o||Pa(r)}function Kn(e,t,n){return So(_t(e,t,n))}function Bt(e,t){return _t(e,t,void 0,dr)??0}function p6(e,t,n){return Ye(e,t,n=c6(e,c0)===n?n:-1,void 0)}function F2(e,t){ul(e,3,t==null?t:gu(t),!1)}function Or(e,t,n){if(n!=null){if(typeof n!="number"||!ll(n))throw nl("int32");n|=0}Ce(e,t,n)}function U2(e,t,n){return Ce(e,t,n==null?n:Hg(n))}function Eu(e,t,n){return Ce(e,t,n==null?n:function(r){if(!Bi(r))throw nl("uint64");switch(typeof r){case"string":var o=Ma(Number(r));return Tr(o)&&o>=0?r=Lt(o):((o=r.indexOf("."))!==-1&&(r=r.substring(0,o)),r=ko()?Lt(E2(64,BigInt(r))):Lt(Wg(r))),r;case"bigint":return Lt(E2(64,r));default:return Tr(r)?r=Lt(Gg(r)):((r=Ma(r))>=0&&Tr(r)?r=String(r):(xo(r),r=Oi(Ge,nt)),r=Lt(r)),r}}(n))}function be(e,t,n){Ce(e,t,n==null?n:zg(n))}function Ri(e,t,n){ul(e,t,n==null?n:zg(n),0)}function Vn(e,t,n){ul(e,t,$r(n),"")}function xu(e,t,n){{Ao(e);let s=e.A,l=0|s[le];if(n==null)Ot(s,l,t);else{var r=e=n===Da?7:0|n[le],o=Fa(e),i=o||Object.isFrozen(n);for(o||(e=0),i||(n=Gn(n),r=0,e=Za(e,l),i=!1),e|=5,e|=(4&e?512&e?512:1024&e?1024:0:void 0)??1024,o=0;o<n.length;o++){let c=n[o],u=Qg(c);Object.is(c,u)||(i&&(n=Gn(n),r=0,e=Za(e,l),i=!1),n[o]=u)}e!==r&&(i&&(n=Gn(n),e=Za(e,l)),Pt(n,e)),Ot(s,l,t,n)}}}function Cu(e,t,n){Ao(e),Bo(e,t,Xt,2,!0).push(Qg(n))}var Di=class{constructor(e,t,n){if(this.buffer=e,n&&!t)throw Error();this.g=t}};function Su(e,t){if(typeof e=="string")return new Di(xg(e),t);if(Array.isArray(e))return new Di(new Uint8Array(e),t);if(e.constructor===Uint8Array)return new Di(e,!1);if(e.constructor===ArrayBuffer)return e=new Uint8Array(e),new Di(e,!1);if(e.constructor===Cr)return t=g2(e)||new Uint8Array(0),new Di(t,!0,e);if(e instanceof Uint8Array)return e=e.constructor===Uint8Array?e:new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Di(e,!1);throw Error()}function Z2(e,t){var n=0,r=0,o=0,i=e.h,s=e.g;do{var l=i[s++];n|=(127&l)<<o,o+=7}while(o<32&&128&l);if(o>32)for(r|=(127&l)>>4,o=3;o<32&&128&l;o+=7)r|=(127&(l=i[s++]))<<o;if(Io(e,s),!(128&l))return t(n>>>0,r>>>0);throw Error()}function z2(e){for(var t=0,n=e.g,r=n+10,o=e.h;n<r;){let i=o[n++];if(t|=i,!(128&i))return Io(e,n),!!(127&t)}throw Error()}function ra(e){var t=e.h,n=e.g,r=t[n++],o=127&r;if(128&r&&(o|=(127&(r=t[n++]))<<7,128&r&&(o|=(127&(r=t[n++]))<<14,128&r&&(o|=(127&(r=t[n++]))<<21,128&r&&(o|=(r=t[n++])<<28,128&r&&128&t[n++]&&128&t[n++]&&128&t[n++]&&128&t[n++]&&128&t[n++])))))throw Error();return Io(e,n),o}function Br(e){return ra(e)>>>0}function Tu(e){return Z2(e,Ug)}function j2(e){var t=e.h,n=e.g,r=t[n],o=t[n+1],i=t[n+2];return t=t[n+3],Io(e,e.g+4),(r|o<<8|i<<16|t<<24)>>>0}function Au(e){var t=j2(e);e=2*(t>>31)+1;var n=t>>>23&255;return t&=8388607,n==255?t?NaN:e*(1/0):n==0?1401298464324817e-60*e*t:e*Math.pow(2,n-150)*(t+8388608)}function kI(e){return ra(e)}function Io(e,t){if(e.g=t,t>e.j)throw Error()}function m6(e,t){if(t<0)throw Error();var n=e.g;if((t=n+t)>e.j)throw Error();return e.g=t,n}function g6(e,t){if(t==0)return _o();var n=m6(e,t);return e.fa&&e.o?n=e.h.subarray(n,n+t):(e=e.h,n=n===(t=n+t)?new Uint8Array(0):aI?e.slice(n,t):new Uint8Array(e.subarray(n,t))),n.length==0?_o():new Cr(n,Ei)}var EI=class{constructor(t,n,r,o){this.h=null,this.o=!1,this.g=this.j=this.m=0,this.init(t,n,r,o)}init(t,n,r,{fa:o=!1,ma:i=!1}={}){this.fa=o,this.ma=i,t&&(t=Su(t,this.ma),this.h=t.buffer,this.o=t.g,this.m=n||0,this.j=r!==void 0?this.m+r:this.h.length,this.g=this.m)}clear(){this.h=null,this.o=!1,this.g=this.j=this.m=0,this.fa=!1}},v6=[],Mi=0;function y6(e,t,n,r){if(Bu.length){let o=Bu.pop();return o.v(r),o.g.init(e,t,n,r),o}return new xI(e,t,n,r)}function b6(e){e.g.clear(),e.j=-1,e.h=-1,Bu.length<100&&Bu.push(e)}function w6(e){var t=e.g;if(t.g==t.j)return!1;e.m=e.g.g;var n=Br(e.g);if(t=n>>>3,!((n&=7)>=0&&n<=5)||t<1)throw Error();return e.j=t,e.h=n,!0}function Ou(e){try{switch(e.h){case 0:e.h!=0?Ou(e):z2(e.g);break;case 1:var t=e.g;Io(t,t.g+8);break;case 2:if(e.h!=2)Ou(e);else{var n=Br(e.g),r=e.g;Io(r,r.g+n)}break;case 5:var o=e.g;Io(o,o.g+4);break;case 3:_6();let i=e.j;try{for(;;){if(!w6(e))throw Error();if(e.h==4){if(e.j!=i)throw Error();break}Ou(e)}}catch(s){throw s instanceof RangeError?new SyntaxError:s}finally{Mi>0&&Mi--}break;default:throw Error()}}catch(i){throw i instanceof RangeError?new SyntaxError:i}}function _6(){if(Mi>=100)throw new SyntaxError;Mi++}function fl(e,t,n){var r=e.g.j,o=Br(e.g),i=(o=e.g.g+o)-r;if(i<=0&&(e.g.j=o,n(t,e,void 0,void 0,void 0),i=o-e.g.g),i)throw Error();return e.g.g=o,e.g.j=r,t}function H2(e){var t=Br(e.g),n=m6(e=e.g,t);if(e=e.h,FB){var r,o=e;(r=h2)||(r=h2=new TextDecoder("utf-8",{fatal:!0})),t=n+t,o=n===0&&t===o.length?o:o.subarray(n,t);try{var i=r.decode(o)}catch(l){if(du===void 0){try{r.decode(new Uint8Array([128]))}catch{}try{r.decode(new Uint8Array([97])),du=!0}catch{du=!1}}throw!du&&(h2=void 0),l}}else{t=(i=n)+t,n=[];let l,c=null;for(;i<t;){var s=e[i++];s<128?n.push(s):s<224?i>=t?wo():(l=e[i++],s<194||(192&l)!=128?(i--,wo()):n.push((31&s)<<6|63&l)):s<240?i>=t-1?wo():(l=e[i++],(192&l)!=128||s===224&&l<160||s===237&&l>=160||(192&(r=e[i++]))!=128?(i--,wo()):n.push((15&s)<<12|(63&l)<<6|63&r)):s<=244?i>=t-2?wo():(l=e[i++],(192&l)!=128||l-144+(s<<28)>>30||(192&(r=e[i++]))!=128||(192&(o=e[i++]))!=128?(i--,wo()):(s=(7&s)<<18|(63&l)<<12|(63&r)<<6|63&o,s-=65536,n.push(55296+(s>>10&1023),56320+(1023&s)))):wo(),n.length>=8192&&(c=pg(c,n),n.length=0)}i=pg(c,n)}return i}function q2(e){var t=Br(e.g);return g6(e.g,t)}function hl(e,t,n){var r=Br(e.g);for(r=e.g.g+r;e.g.g<r;)n.push(t(e.g))}var xI=class{constructor(t,n,r,o){if(v6.length){let i=v6.pop();i.init(t,n,r,o),t=i}else t=new EI(t,n,r,o);this.g=t,this.m=this.g.g,this.h=this.j=-1,this.v(o)}v({ra:t=!1}={}){this.ra=t}},Bu=[];function CI(e){return new Iu(4294967295&e,Math.floor(e/4294967296))}function k6(e){return e?/^\d+$/.test(e)?(sl(e),new Iu(Ge,nt)):null:SI||(SI=new Iu(0,0))}var SI,Iu=class{constructor(t,n){this.h=t>>>0,this.g=n>>>0}};function TI(e){return new Ru(4294967295&e,Math.floor(e/4294967296))}function E6(e){return e?/^-?\d+$/.test(e)?(sl(e),new Ru(Ge,nt)):null:AI||(AI=new Ru(0,0))}var AI,x6,C6,S6,W2,T6,pl,Vu,Ru=class{constructor(t,n){this.h=t>>>0,this.g=n>>>0}};function A6(e,t,n){return typeof BigInt64Array<"u"?(pl||(pl=new BigInt64Array(1),Vu=new Uint32Array(pl.buffer),pl[0]=BigInt(1),T6=Vu[0]===1),pl[0]=e,new t(Vu[e=T6?0:1],Vu[1-e])):(W2||(x6=BigInt(Number.MIN_SAFE_INTEGER),C6=BigInt(Number.MAX_SAFE_INTEGER),S6=BigInt(4294967295),W2=BigInt(32)),e>=x6&&e<=C6?n(Number(e)):(e=BigInt.asUintN(64,e),new t(Number(e&S6),Number(e>>W2))))}function aa(e,t,n){for(;n>0||t>127;)e.g.push(127&t|128),t=(t>>>7|n<<25)>>>0,n>>>=7;e.g.push(t)}function Pi(e,t){for(;t>127;)e.g.push(127&t|128),t>>>=7;e.g.push(t)}function ml(e,t){if(t>=0)Pi(e,t);else{for(let n=0;n<9;n++)e.g.push(127&t|128),t>>=7;e.g.push(1)}}function OI(e,t){sl(t),function(n){var r=nt>>31;n(Ge<<1^r,(nt<<1|Ge>>>31)^r)}((n,r)=>{aa(e,n>>>0,r>>>0)})}function gl(e,t){e.g.push(t>>>0&255),e.g.push(t>>>8&255),e.g.push(t>>>16&255),e.g.push(t>>>24&255)}var BI=class{constructor(){this.g=[]}length(){return this.g.length}end(){var t=this.g;return this.g=[],t}};function Li(e,t){t.length!==0&&(e.j.push(t),e.h+=t.length)}function dn(e,t,n){Pi(e.g,8*t+n)}function G2(e,t){return dn(e,t,2),t=e.g.end(),Li(e,t),t.push(e.h),t}function K2(e,t){var n=t.pop();for(n=e.h+e.g.length()-n;n>127;)t.push(127&n|128),n>>>=7,e.h++;t.push(n),e.h++}function O6(e,t,n){if(n!=null)switch(dn(e,t,0),typeof n){case"number":e=e.g,xo(n),aa(e,Ge,nt);break;case"bigint":n=A6(n,Ru,TI),aa(e.g,n.h,n.g);break;default:n=E6(n),aa(e.g,n.h,n.g)}}function vl(e,t,n){dn(e,t,2),Pi(e.g,n.length),Li(e,e.g.end()),Li(e,n)}function Du(e,t,n,r){n!=null&&(t=G2(e,t),r(n,e),K2(e,t))}var II=class{constructor(){this.j=[],this.h=0,this.g=new BI}};function B6(e){typeof e=="string"&&E6(e)}function Yn(){var e=class{constructor(){throw Error()}};return Object.setPrototypeOf(e,e.prototype),e}var Y2=Yn(),I6=Yn(),J2=Yn(),Mu=Yn(),X2=Yn(),Pu=Yn(),VI=Yn(),RI=Yn(),Lu=Yn(),DI=Yn(),Fu=Yn(),Q2=Yn();function Ir(e,t,n){var r=e.A;In&&In in r&&(r=r[In])&&delete r[t.g],t.h?t.o(e,t.h,t.g,n,t.j):t.o(e,t.g,n,t.j)}var $=class{constructor(e,t){this.A=t6(e,t,void 0,2048)}toJSON(){return e6(this)}o(){var o;var e=wV,t=this.A,n=e.g,r=In;if(Ci&&r&&((o=t[r])==null?void 0:o[n])!=null&&xi(YB,3),t=e.g,Ag&&In&&Ag===void 0&&(r=(n=this.A)[In])&&(r=r.ka))try{r(n,t,yI)}catch(i){gg(i)}return e.h?e.m(this,e.h,e.g,e.j):e.m(this,e.g,e.defaultValue,e.j)}clone(){var e=this.A,t=0|e[le];return I2(this,e,t)?O2(this,e,!0):new this.constructor(Ii(e,t,!1))}};$.prototype[Si]=Ti,$.prototype.toString=function(){return this.A.toString()};var Fi=class{constructor(e,t,n){this.g=e,this.h=t,e=Y2,this.j=!!e&&n===e||!1}};function Uu(e,t){return new Fi(e,t,Y2)}function V6(e,t,n,r,o){Du(e,n,F6(t,r),o)}var R6,D6,MI=Uu(function(e,t,n,r,o){return e.h===2&&(fl(e,P2(t,r,n),o),!0)},V6),PI=Uu(function(e,t,n,r,o){return e.h===2&&(fl(e,P2(t,r,n),o),!0)},V6),Zu=Symbol(),zu=Symbol(),N2=Symbol(),M6=Symbol(),P6=Symbol();function Vo(e,t,n,r){var o=r[e];if(o)return o;(o={}).Ea=r,o.ca=function(f){switch(typeof f){case"boolean":return gI||(gI=[0,void 0,!0]);case"number":return f>0?void 0:f===0?vI||(vI=[0,void 0]):[-f,void 0];case"string":return[0,f];case"object":return f}}(r[0]);var i=r[1],s=1;i&&i.constructor===Object&&(o.ia=i,typeof(i=r[++s])=="function"&&(o.wa=!0,R6??(R6=i),D6??(D6=r[s+1]),i=r[s+=2]));for(var l={};i&&Array.isArray(i)&&i.length&&typeof i[0]=="number"&&i[0]>0;){for(var c=0;c<i.length;c++)l[i[c]]=i;i=r[++s]}for(c=1;i!==void 0;){let f;typeof i=="number"&&(c+=i,i=r[++s]);var u=void 0;if(i instanceof Fi?f=i:(f=MI,s--),f==null?void 0:f.j){i=r[++s],u=r;var d=s;typeof i=="function"&&(i=i(),u[d]=i),u=i}for(d=c+1,typeof(i=r[++s])=="number"&&i<0&&(d-=i,i=r[++s]);c<d;c++){let h=l[c];u?n(o,c,f,u,h):t(o,c,f,h)}}return r[e]=o}function L6(e){return Array.isArray(e)?e[0]instanceof Fi?e:[PI,e]:[e,void 0]}function F6(e,t){return e instanceof $?e.A:Array.isArray(e)?To(e,t):void 0}function $2(e,t,n,r){var o=n.g;e[t]=r?(i,s,l)=>o(i,s,l,r):o}function e0(e,t,n,r,o){var i,s,l=n.g;e[t]=(c,u,d)=>l(c,u,d,s||(s=Vo(zu,$2,e0,r).ca),i||(i=t0(r)),o)}function t0(e){var t=e[N2];if(t!=null)return t;var n=Vo(zu,$2,e0,e);return t=n.wa?(r,o)=>R6(r,o,n):(r,o)=>{e:{_6();try{for(;w6(o)&&o.h!=4;){let h=o.j,p=n[h];if(p==null){let g=n.ia;if(g){let w=g[h];if(w){let y=FI(w);y!=null&&(p=n[h]=y)}}}if(p==null||!p(o,r,h)){var i=o;let g=i.m;if(Ou(i),i.ra)var s=void 0;else{let w=i.g.g-g;i.g.g=g,s=g6(i.g,w)}i=void 0;var l=r,c=h,u=s;u&&((i=l[In]??(l[In]=new A2))[c]??(i[c]=[])).push(u)}}let f=wu(r);f&&(f.ka=n.Ea[P6]);var d=!0;break e}catch(f){throw f instanceof RangeError?new SyntaxError:f}finally{Mi>0&&Mi--}d=void 0}return d},e[N2]=t,e[P6]=LI.bind(e),t}function LI(e,t,n,r){var o=this[zu],i=this[N2],s=To(void 0,o.ca),l=wu(e);if(l){var c=!1,u=o.ia;if(u){if(o=(d,f,h)=>{if(h.length!==0)if(u[f])for(let p of h){d=y6(p);try{c=!0,i(s,d)}finally{b6(d)}}else r==null||r(e,f,h)},t==null)_u(l,o);else if(l!=null){let d=l[t];d&&o(l,t,d)}if(c){let d=0|e[le];if(2&d&&2048&d&&!(n!=null&&n.cb))throw Error();let f=Ai(d),h=(p,g)=>{if(ta(e,p,f)!=null){if((n==null?void 0:n.lb)===1)return;throw Error()}g!=null&&(d=Ot(e,d,p,g,f)),delete l[p]};t==null?Rg(s,0|s[le],(p,g)=>{h(p,g)}):h(t,ta(s,t,f))}}}}function FI(e){var t=(e=L6(e))[0].g;if(e=e[1]){let n=t0(e),r=Vo(zu,$2,e0,e).ca;return(o,i,s)=>t(o,i,s,r,n)}return t}function ju(e,t,n){e[t]=n.h}function Hu(e,t,n,r){var o,i,s=n.h;e[t]=(l,c,u)=>s(l,c,u,i||(i=Vo(Zu,ju,Hu,r).ca),o||(o=U6(r)))}function U6(e){var t=e[M6];if(!t){let n=Vo(Zu,ju,Hu,e);t=(r,o)=>Z6(r,o,n),e[M6]=t}return t}function Z6(e,t,n){Rg(e,0|e[le],(r,o)=>{if(o!=null){var i=function(s,l){var c=s[l];if(c)return c;if((c=s.ia)&&(c=c[l])){var u=(c=L6(c))[0].h;if(c=c[1]){let d=U6(c),f=Vo(Zu,ju,Hu,c).ca;c=s.wa?D6(f,d):(h,p,g)=>u(h,p,g,f,d)}else c=u;return s[l]=c}}(n,r);i?i(t,o,r):r<500||xi(v2,3)}}),(e=wu(e))&&_u(e,(r,o,i)=>{for(Li(t,t.g.end()),r=0;r<i.length;r++)Li(t,g2(i[r])||new Uint8Array(0))})}var UI=Lt(0);function oa(e,t,n){if(Array.isArray(t)){var r=0|t[le];if(4&r)return t;for(var o=0,i=0;o<t.length;o++){let s=e(t[o]);s!=null&&(t[i++]=s)}return i<o&&(t.length=i),e=1|r,n&&(e=-1537&e|4),e!==r&&Pt(t,e),n&&2&e&&Object.freeze(t),t}}var z6=(e,t)=>{var n=new II;Z6(e.A,n,Vo(Zu,ju,Hu,t)),Li(n,n.g.end()),e=new Uint8Array(n.h);var r=(t=n.j).length,o=0;for(let i=0;i<r;i++){let s=t[i];e.set(s,o),o+=s.length}return n.j=[e],e};function It(e,t,n){return new Fi(e,t,n)}function ia(e,t,n){return new Fi(e,t,n)}function Zt(e,t,n){Ot(e,0|e[le],t,n,Ai(0|e[le]))}var ZI=Uu(function(e,t,n,r,o){if(e.h!==2)return!1;if(e=Gn(e=fl(e,To([void 0,void 0],r),o)),o=Ai(r=0|t[le]),2&r)throw Error();var i=ta(t,n,o);if(i instanceof ea)2&i.M?((i=i.ea()).push(e),Ot(t,r,n,i,o)):i.gb(e);else if(Array.isArray(i)){var s=0|i[le];8192&s||Pt(i,s|=8192),2&s&&Ot(t,r,n,i=l6(i),o),i.push(e)}else Ot(t,r,n,il([e]),o);return!0},function(e,t,n,r,o){if(t instanceof ea)t.forEach((i,s)=>{Du(e,n,To([s,i],r),o)});else if(Array.isArray(t)){for(let i=0;i<t.length;i++){let s=t[i];Array.isArray(s)&&Du(e,n,To(s,r),o)}il(t)}});function j6(e,t,n){(t=dr(t))!=null&&(dn(e,n,5),e=e.g,w2(t),gl(e,Ge))}function n0(e,t,n){(t=x2(t))!=null&&(B6(t),O6(e,n,t))}function H6(e,t,n){(t=So(t))!=null&&t!=null&&(dn(e,n,0),ml(e.g,t))}function q6(e,t,n){(t=t==null||typeof t=="boolean"?t:typeof t=="number"?!!t:void 0)!=null&&(dn(e,n,0),e.g.g.push(t?1:0))}function W6(e,t,n){(t=Xt(t))!=null&&vl(e,n,mg(t))}function G6(e,t,n,r,o){Du(e,n,F6(t,r),o)}function r0(e,t,n){(t=Xg(t))!=null&&vl(e,n,Su(t,!0).buffer)}function K6(e,t,n){(t=jg(t))!=null&&t!=null&&(dn(e,n,0),Pi(e.g,t))}function Y6(e,t,n){(t=So(t))!=null&&(t=parseInt(t,10),dn(e,n,0),ml(e.g,t))}function J6(e,t,n){return(e.h===5||e.h===2)&&(t=Ua(t,0|t[le],n),e.h==2?hl(e,Au,t):t.push(Au(e.g)),!0)}function X6(e,t,n){return e.h===0&&(Zt(t,n,Tu(e.g)),!0)}function Q6(e,t,n){return(e.h===0||e.h===2)&&(t=Ua(t,0|t[le],n),e.h==2?hl(e,ra,t):t.push(ra(e.g)),!0)}function N6(e,t,n){return e.h===2&&(Zt(t,n,(e=q2(e))===_o()?void 0:e),!0)}var $6=It(function(e,t,n){if(e.h!==1)return!1;var r=e.g;e=j2(r);var o=j2(r);r=2*(o>>31)+1;var i=o>>>20&2047;return e=4294967296*(1048575&o)+e,Zt(t,n,i==2047?e?NaN:r*(1/0):i==0?5e-324*r*e:r*Math.pow(2,i-1075)*(e+4503599627370496)),!0},function(e,t,n){(t=dr(t))!=null&&(dn(e,n,1),e=e.g,(n=Lg||(Lg=new DataView(new ArrayBuffer(8)))).setFloat64(0,+t,!0),Ge=n.getUint32(0,!0),nt=n.getUint32(4,!0),gl(e,Ge),gl(e,nt))},DI),kt=It(function(e,t,n){return e.h===5&&(Zt(t,n,Au(e.g)),!0)},j6,Lu),zI=ia(J6,function(e,t,n){if((t=oa(dr,t,!0))!=null)for(let s=0;s<t.length;s++){var r=e,o=n,i=t[s];i!=null&&(dn(r,o,5),r=r.g,w2(i),gl(r,Ge))}},Lu),a0=ia(J6,function(e,t,n){if((t=oa(dr,t,!0))!=null&&t.length){dn(e,n,2),Pi(e.g,4*t.length);for(let r=0;r<t.length;r++)n=e.g,w2(t[r]),gl(n,Ge)}},Lu),e8=It(function(e,t,n){return e.h===5&&(Zt(t,n,(e=Au(e.g))===0?void 0:e),!0)},j6,Lu),yl=It(function(e,t,n){return X6(e,t,n)},n0,Pu),ht=It(function(e,t,n){return X6(e,t,n)},n0,Pu),jI=ia(function(e,t,n){return e.h!==0&&e.h!==2?e=!1:(t=Ua(t,0|t[le],n),e.h==2?hl(e,Tu,t):t.push(Tu(e.g)),e=!0),e},function(e,t,n){if((t=oa(x2,t,!1))!=null)for(let r=0;r<t.length;r++)O6(e,n,t[r])},Pu),qu=It(function(e,t,n){return e.h!==0?t=!1:(Zt(t,n,(e=Tu(e.g))===UI?void 0:e),t=!0),t},n0,Pu),Wu=It(function(e,t,n){return e.h!==0?e=!1:(Zt(t,n,Z2(e.g,oI)),e=!0),e},function(e,t,n){if(t=function(r){if(r==null)return r;var o=typeof r;if(o==="bigint")return String(E2(64,r));if(Bi(r)){if(o==="string")return o=Ma(Number(r)),Tr(o)&&o>=0?r=String(o):((o=r.indexOf("."))!==-1&&(r=r.substring(0,o)),r=Wg(r)),r;if(o==="number")return Gg(r)}}(t),t!=null&&(typeof t=="string"&&k6(t),t!=null))switch(dn(e,n,0),typeof t){case"number":e=e.g,xo(t),aa(e,Ge,nt);break;case"bigint":n=A6(t,Iu,CI),aa(e.g,n.h,n.g);break;default:n=k6(t),aa(e.g,n.h,n.g)}},VI),He=It(function(e,t,n){return e.h===0&&(Zt(t,n,ra(e.g)),!0)},H6,Mu),t8=ia(Q6,function(e,t,n){if((t=oa(So,t,!0))!=null)for(let s=0;s<t.length;s++){var r=e,o=n,i=t[s];i!=null&&(dn(r,o,0),ml(r.g,i))}},Mu),Ui=ia(Q6,function(e,t,n){if((t=oa(So,t,!0))!=null&&t.length){n=G2(e,n);for(let r=0;r<t.length;r++)ml(e.g,t[r]);K2(e,n)}},Mu),Ro=It(function(e,t,n){return e.h===0&&(Zt(t,n,(e=ra(e.g))===0?void 0:e),!0)},H6,Mu),Ve=It(function(e,t,n){return e.h===0&&(Zt(t,n,z2(e.g)),!0)},q6,I6),za=It(function(e,t,n){return e.h===0&&(Zt(t,n,(e=z2(e.g))===!1?void 0:e),!0)},q6,I6),Qt=ia(function(e,t,n){return e.h===2&&(e=H2(e),Ua(t,0|t[le],n).push(e),!0)},function(e,t,n){if((t=oa(Xt,t,!0))!=null)for(let s=0;s<t.length;s++){var r=e,o=n,i=t[s];i!=null&&vl(r,o,mg(i))}},J2),sa=It(function(e,t,n){return e.h===2&&(Zt(t,n,(e=H2(e))===""?void 0:e),!0)},W6,J2),J=It(function(e,t,n){return e.h===2&&(Zt(t,n,H2(e)),!0)},W6,J2),ut=function(e,t,n=Y2){return new Fi(e,t,n)}(function(e,t,n,r,o){return e.h===2&&(r=To(void 0,r),Ua(t,0|t[le],n).push(r),fl(e,r,o),!0)},function(e,t,n,r,o){if(Array.isArray(t)){for(let i=0;i<t.length;i++)G6(e,t[i],n,r,o);1&(e=0|t[le])||Pt(t,1|e)}}),Fe=Uu(function(e,t,n,r,o,i){if(e.h!==2)return!1;var s=0|t[le];return u6(t,s,i,n,Ai(s)),fl(e,t=P2(t,r,n),o),!0},G6),Zi=It(function(e,t,n){return e.h===2&&(Zt(t,n,q2(e)),!0)},r0,Fu),n8=ia(function(e,t,n){return e.h===2&&(e=q2(e),Ua(t,0|t[le],n).push(e),!0)},function(e,t,n){if((t=oa(Xg,t,!1))!=null)for(let s=0;s<t.length;s++){var r=e,o=n,i=t[s];i!=null&&vl(r,o,Su(i,!0).buffer)}},Fu),r8=It(function(e,t,n){return e.h===0&&(Zt(t,n,Br(e.g)),!0)},K6,X2),HI=ia(function(e,t,n){return(e.h===0||e.h===2)&&(t=Ua(t,0|t[le],n),e.h==2?hl(e,Br,t):t.push(Br(e.g)),!0)},function(e,t,n){if((t=oa(jg,t,!0))!=null)for(let s=0;s<t.length;s++){var r=e,o=n,i=t[s];i!=null&&(dn(r,o,0),Pi(r.g,i))}},X2),qI=It(function(e,t,n){return e.h===0&&(Zt(t,n,(e=Br(e.g))===0?void 0:e),!0)},K6,X2),ce=It(function(e,t,n){return e.h===0&&(Zt(t,n,ra(e.g)),!0)},Y6,Q2),Gu=It(function(e,t,n){return e.h===0&&(Zt(t,n,(e=ra(e.g))===0?void 0:e),!0)},Y6,Q2),WI=It(function(e,t,n){return e.h!==0?e=!1:(Zt(t,n,function(r){return Z2(r,(o,i)=>{var s=-(1&o);return Ug(o=(o>>>1|i<<31)^s,i>>>1^s)})}(e.g)),e=!0),e},function(e,t,n){if((t=x2(t))!=null&&(B6(t),t!=null))switch(dn(e,n,0),typeof t){case"number":e=e.g,t=(n=t)<0,b2(n=2*Math.abs(n)),n=Ge;let r=nt;t&&(n==0?r==0?r=n=4294967295:(r--,n=4294967295):n--),aa(e,Ge=n,nt=r);break;case"bigint":e=e.g,t=t<<BigInt(1)^t>>BigInt(63),Ge=Number(BigInt.asUintN(32,t)),nt=Number(BigInt.asUintN(32,t>>BigInt(32))),aa(e,Ge,nt);break;default:OI(e.g,t)}},RI);class GI{constructor(t,n){var r=Rn;this.g=t,this.h=n,this.m=Ye,this.o=ye,this.defaultValue=void 0,this.j=r.jb!=null?Dg:void 0}register(){fu(this)}}function Vr(e,t){return new GI(e,t)}function ja(e,t){return(n,r)=>{e:{let i={ma:!0};r&&Object.assign(i,r),n=y6(n,void 0,void 0,i);try{let s=new e,l=s.A;t0(t)(l,n);var o=s;break e}catch(s){throw s instanceof RangeError?new SyntaxError:s}finally{b6(n)}o=void 0}return o}}function o0(e){return t=>z6(t,e)}function bl(e){return function(){return z6(this,e)}}var KI=[0,Zi,n8,Ve,J],YI=[0,sa,[0,Gu,[0,qu,Ro],Gu,-1,[0,ce],Gu,-1],It(N6,r0,Fu)],i0,a8=class extends ${constructor(e){super(e)}},o8=[0,sa,It(N6,function(e,t,n){if(t!=null){if(t instanceof $){let r=t.mb;return void(r?(t=r(t),t!=null&&vl(e,n,Su(t,!0).buffer)):xi(v2,3))}if(Array.isArray(t))return void xi(v2,3)}r0(e,t,n)},Fu)],JI=[0,1,[0,12,He,10,Ve],[0,7,[0,He,-1]]],i8=globalThis.trustedTypes,XI=class{constructor(e){this.g=e}toString(){return this.g+""}};function s8(e){var t;return i0===void 0&&(i0=function(){var n=null;if(!i8)return n;try{let r=o=>o;n=i8.createPolicy("goog#html",{createHTML:r,createScript:r,createScriptURL:r})}catch{}return n}()),e=(t=i0)?t.createScriptURL(e):e,new XI(e)}function Ku(e,...t){if(t.length===0)return s8(e[0]);var n=e[0];for(let r=0;r<t.length;r++)n+=encodeURIComponent(t[r])+e[r+1];return s8(n)}var l8=[0,He,ce,Ve,-1,Ui,ce,-1,Ve,-1],c8=[0,ce,-1,Ve],s0=class extends ${constructor(e){super(e)}},u8=[0,Ve,J,Ve,ce,-1,ia(function(e,t,n){return(e.h===0||e.h===2)&&(t=Ua(t,0|t[le],n),e.h==2?hl(e,kI,t):t.push(ra(e.g)),!0)},function(e,t,n){if((t=oa(So,t,!0))!=null&&t.length){n=G2(e,n);for(let r=0;r<t.length;r++)ml(e.g,t[r]);K2(e,n)}},Q2),J,-1,[0,Ve,-1],ce,Ve,-1,c8],d8=[0,3,Ve,-1,2,[0,[2],He,Fe,[0,r8]],[0,ce,Ve,ce,Ve,ce,4,[0,Ve,J,-1,Ve]],[0,[3,4],J,-1,Fe,[0,He],Fe,[0,ce,-1]],[0]],f8=[0,J,-2],h8=class extends ${constructor(e){super(e)}},p8=[0],QI=class extends ${constructor(e){super(e)}},m8=[0,He,Ve,1,Ve,-4],Rn=class extends ${constructor(e){super(e,2)}},zt={};zt[336783863]=[0,J,Ve,-1,He,[0,[1,2,3,4,5,6,7,8,9],Fe,p8,Fe,u8,Fe,f8,Fe,m8,Fe,l8,Fe,[0,J,-2],Fe,[0,J,ce],Fe,d8,Fe,c8],[0,J],Ve,[0,[1,3],[2,4],Fe,[0,Ui],-1,Fe,[0,Qt],-1,ut,[0,J,-1]],J];var g8=[0,qu,-1,za,-3,qu,Ui,sa,Ro,qu,-1,za,Ro,za,-2,sa];function mt(e,t){Cu(e,3,t)}function qe(e,t){Cu(e,4,t)}var vn=class extends ${constructor(e){super(e,500)}v(e){return ye(this,0,7,e)}},wl=[-1,{}],v8=[0,J,1,wl],y8=[0,J,Qt,wl];function Jn(e,t){dl(e,1,vn,t)}function gt(e,t){Cu(e,10,t)}function Ne(e,t){Cu(e,15,t)}var Dn=class extends ${constructor(e){super(e,500)}v(e){return ye(this,0,1001,e)}},b8=[-500,ut,[-500,sa,-1,Qt,-3,[-2,zt,Ve],ut,o8,Ro,-1,v8,y8,ut,[0,sa,za],sa,g8,Ro,Qt,987,Qt],4,ut,[-500,J,-1,[-1,{}],998,J],ut,[-500,J,Qt,-1,[-2,{},Ve],997,Qt,-1],Ro,ut,[-500,J,Qt,wl,998,Qt],Qt,Ro,v8,y8,ut,[0,sa,-1,wl],Qt,-2,g8,sa,-1,za,[0,za,qI],978,wl,ut,o8];Dn.prototype.g=bl(b8);var NI=ja(Dn,b8),$I=class extends ${constructor(e){super(e)}},w8=class extends ${constructor(e){super(e)}g(){return na(this,$I,1)}},_8=[0,ut,[0,He,kt,J,-1]],Yu=ja(w8,_8),eV=class extends ${constructor(e){super(e)}},tV=class extends ${constructor(e){super(e)}},l0=class extends ${constructor(e){super(e)}j(){return Ye(this,eV,2)}g(){return na(this,tV,5)}},k8=ja(class extends ${constructor(e){super(e)}},[0,Qt,Ui,a0,[0,ce,[0,He,-3],[0,kt,-3],[0,He,-1,[0,ut,[0,He,-2]]],ut,[0,kt,-1,J,kt]],J,-1,ht,ut,[0,He,kt],Qt,ht]),E8=class extends ${constructor(e){super(e)}},zi=ja(class extends ${constructor(e){super(e)}},[0,ut,[0,kt,-4]]),x8=class extends ${constructor(e){super(e)}},_l=ja(class extends ${constructor(e){super(e)}},[0,ut,[0,kt,-4]]),nV=class extends ${constructor(e){super(e)}},rV=[0,He,-1,a0,ce],C8=class extends ${constructor(e){super(e)}};C8.prototype.g=bl([0,kt,-4,ht]);var aV=class extends ${constructor(e){super(e)}},oV=ja(class extends ${constructor(e){super(e)}},[0,ut,[0,1,He,J,_8],ht]),S8=class extends ${constructor(e){super(e)}},iV=class extends ${constructor(e){super(e)}g(){var e=_t(this,1,void 0,s6);return e??_o()}},sV=class extends ${constructor(e){super(e)}},c0=[1,2],lV=ja(class extends ${constructor(e){super(e)}},[0,ut,[0,c0,Fe,[0,a0],Fe,[0,Zi],He,J],ht]),u0=class extends ${constructor(e){super(e)}},T8=[0,J,He,kt,Qt,-1],A8=class extends ${constructor(e){super(e)}},cV=[0,Ve,-1],Ju=class extends ${constructor(e){super(e)}g(){return o6(this,s0,2,Do)}},Do=[1,2,3,4,5,6],Xu=class extends ${constructor(e){super(e)}g(){return _t(this,1,void 0,s6)!=null}j(){return Xt(_t(this,2))!=null}},vt=class extends ${constructor(e){super(e)}},O8=[0,Zi,J,[0,He,ht,-1],[0,Wu,ht]],Vt=[0,O8,Ve,[0,Do,Fe,m8,Fe,u8,Fe,l8,Fe,p8,Fe,f8,Fe,d8],ce],uV=o0(Vt),Qu=class extends ${constructor(e){super(e)}},d0=[0,Vt,kt,-1,He],dV=Vr(502141897,Qu);zt[502141897]=d0;var fV=ja(class extends ${constructor(e){super(e)}},[0,[0,ce,-1,zI,HI],rV]),B8=class extends ${constructor(e){super(e)}},I8=class extends ${constructor(e){super(e)}},f0=[0,Vt,kt,[0,Vt],Ve],hV=Vr(508968150,I8);zt[508968150]=[0,Vt,d0,f0,kt,[0,[0,O8]]],zt[508968149]=f0;var ji=class extends ${constructor(e){super(e)}j(){return Ye(this,u0,2)}g(){Ce(this,2)}},V8=[0,Vt,T8];zt[478825465]=V8;var pV=class extends ${constructor(e){super(e)}},R8=class extends ${constructor(e){super(e)}},h0=class extends ${constructor(e){super(e)}},p0=class extends ${constructor(e){super(e)}},D8=class extends ${constructor(e){super(e)}},M8=[0,Vt,[0,Vt],V8,-1],P8=[0,Vt,kt,He],m0=[0,Vt,kt],L8=[0,Vt,P8,m0,kt],mV=Vr(479097054,D8);zt[479097054]=[0,Vt,L8,M8],zt[463370452]=M8,zt[464864288]=P8;var gV=Vr(462713202,p0);zt[462713202]=L8,zt[474472470]=m0;var vV=class extends ${constructor(e){super(e)}},F8=class extends ${constructor(e){super(e)}},U8=class extends ${constructor(e){super(e)}},Z8=class extends ${constructor(e){super(e)}},g0=[0,Vt,kt,-1,He],v0=[0,Vt,kt,Ve];Z8.prototype.g=bl([0,Vt,m0,[0,Vt],d0,f0,g0,v0]);var z8=class extends ${constructor(e){super(e)}},yV=Vr(456383383,z8);zt[456383383]=[0,Vt,T8];var j8=class extends ${constructor(e){super(e)}},bV=Vr(476348187,j8);zt[476348187]=[0,Vt,cV];var H8=class extends ${constructor(e){super(e)}},q8=class extends ${constructor(e){super(e)}},W8=[0,ce,-1],wV=Vr(458105876,class extends ${constructor(e){super(e)}g(){var e=this.A,t=0|e[le],n=gn(this,t);return e=function(r,o,i,s){var l=q8;!s&&Vi(r)&&(i=0|(o=r.A)[le]);var c=ta(o,2);if(r=!1,c==null){if(s)return $g();c=[]}else if(c.constructor===ea){if(!(2&c.M)||s)return c;c=c.ea()}else Array.isArray(c)?r=!!(2&c[le]):c=[];if(s){if(!c.length)return $g();r||(r=!0,ol(c))}else r&&(r=!1,il(c),c=l6(c));return!r&&32&i&&al(c,32),i=Ot(o,i,2,s=new ea(c,l,lI,void 0)),r||Pa(o,i),s}(this,e,t,n),!n&&q8&&(e.Fa=!0),e}});zt[458105876]=[0,W8,ZI,[!0,ht,[0,J,-1,Qt]],[0,Ui,Ve,ce],Ve];var y0=class extends ${constructor(e){super(e)}},G8=Vr(458105758,y0);zt[458105758]=[0,Vt,J,W8];var _V=class extends ${constructor(e){super(e)}},kV=class extends ${constructor(e){super(e)}},EV=class extends ${constructor(e){super(e)}},xV=o0([0,ut,[0,Gu,ut,[0,e8,-1],za]]),b0=class extends ${constructor(e){super(e)}},K8=[0,e8,-1,za],CV=class extends ${constructor(e){super(e)}},Y8=class extends ${constructor(e){super(e)}},w0=[1,2];Y8.prototype.g=bl([0,w0,Fe,K8,Fe,[0,ut,K8]]);var J8=class extends ${constructor(e){super(e)}},SV=Vr(443442058,J8);zt[443442058]=[0,Vt,J,He,kt,Qt,-1,Ve,kt],zt[514774813]=g0;var X8=class extends ${constructor(e){super(e)}},TV=Vr(516587230,X8);function _0(e,t){return t=t?t.clone():new u0,e.displayNamesLocale!==void 0?Ce(t,1,$r(e.displayNamesLocale)):e.displayNamesLocale===void 0&&Ce(t,1),e.maxResults!==void 0?Or(t,2,e.maxResults):"maxResults"in e&&Ce(t,2),e.scoreThreshold!==void 0?be(t,3,e.scoreThreshold):"scoreThreshold"in e&&Ce(t,3),e.categoryAllowlist!==void 0?xu(t,4,e.categoryAllowlist):"categoryAllowlist"in e&&Ce(t,4),e.categoryDenylist!==void 0?xu(t,5,e.categoryDenylist):"categoryDenylist"in e&&Ce(t,5),t}function Q8(e){var t=Number(e);return Number.isSafeInteger(t)?t:String(e)}function k0(e,t=-1,n=""){return{categories:e.map(r=>({index:Kn(r,1)??0??-1,score:Bt(r,2)??0,categoryName:Xt(_t(r,3))??""??"",displayName:Xt(_t(r,4))??""??""})),headIndex:t,headName:n}}function AV(e){var t={classifications:na(e,aV,1).map(n=>{var r;return k0(((r=Ye(n,w8,4))==null?void 0:r.g())??[],Kn(n,2)??0,Xt(_t(n,3))??"")})};return function(n){return n==null?n:typeof n=="bigint"?(y2(n)?n=Number(n):(n=Co(64,n),n=y2(n)?Number(n):String(n)),n):Bi(n)?typeof n=="number"?vu(n):yu(n):void 0}(_t(e,2,void 0,bu))!=null&&(t.timestampMs=Q8(_t(e,2,void 0,bu)??a6)),t}function N8(e){var s,l;var t=Bo(e,3,dr,Oo()),n=Bo(e,2,So,Oo()),r=Bo(e,1,Xt,Oo()),o=Bo(e,9,Xt,Oo()),i={categories:[],keypoints:[]};for(let c=0;c<t.length;c++)i.categories.push({score:t[c],index:n[c]??-1,categoryName:r[c]??"",displayName:o[c]??""});if((t=(s=Ye(e,l0,4))==null?void 0:s.j())&&(i.boundingBox={originX:Kn(t,1,La)??0,originY:Kn(t,2,La)??0,width:Kn(t,3,La)??0,height:Kn(t,4,La)??0,angle:0}),(l=Ye(e,l0,4))==null?void 0:l.g().length)for(let c of Ye(e,l0,4).g())i.keypoints.push({x:_t(c,1,La,dr)??0,y:_t(c,2,La,dr)??0,score:_t(c,4,La,dr)??0,label:Xt(_t(c,3,La))??""});return i}function Nu(e){var t=[];for(let n of na(e,x8,1))t.push({x:Bt(n,1)??0,y:Bt(n,2)??0,z:Bt(n,3)??0,visibility:Bt(n,4)??0});return t}function kl(e){var t=[];for(let n of na(e,E8,1))t.push({x:Bt(n,1)??0,y:Bt(n,2)??0,z:Bt(n,3)??0,visibility:Bt(n,4)??0});return t}function $8(e){return Array.from(e,t=>t>127?t-256:t)}function e7(e,t){if(e.length!==t.length)throw Error(`Cannot compute cosine similarity between embeddings of different sizes (${e.length} vs. ${t.length}).`);var n=0,r=0,o=0;for(let i=0;i<e.length;i++)n+=e[i]*t[i],r+=e[i]*e[i],o+=t[i]*t[i];if(r<=0||o<=0)throw Error("Cannot compute cosine similarity on embedding with 0 norm.");return n/Math.sqrt(r*o)}zt[516587230]=[0,Vt,g0,v0,kt],zt[518928384]=v0;var $u,OV=new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11]);async function t7(e){if(e)return!0;if($u===void 0)try{await WebAssembly.instantiate(OV),$u=!0}catch{$u=!1}return $u}async function ed(e,t,n){return{wasmLoaderPath:`${t}/${e}_${n=`wasm${n?"_module":""}${await t7(n)?"":"_nosimd"}_internal`}.js`,wasmBinaryPath:`${t}/${e}_${n}.wasm`}}var Hi=class{};function n7(e){return Ce(new E0,1,Nr(e))}Hi.forVisionTasks=function(e,t=!1){return ed("vision",e??Ku``,t)},Hi.forTextTasks=function(e,t=!1){return ed("text",e??Ku``,t)},Hi.forGenAiTasks=function(e,t=!1){return ed("genai",e??Ku``,t)},Hi.forAudioTasks=function(e,t=!1){return ed("audio",e??Ku``,t)},Hi.isSimdSupported=function(e=!1){return t7(e)};var E0=class extends ${constructor(e){super(e)}},BV=class extends ${constructor(e){super(e)}},r7=[0,ce,2,Wu,-2,ht,ut,[0,ce,ht]],IV=class extends ${constructor(e){super(e)}},VV=class extends ${constructor(e){super(e)}};function x0(e,t){return Ce(e,1,Nr(t))}function C0(e,t){return Ce(e,2,Nr(t))}var S0=class extends ${constructor(e){super(e)}},td=[3,4,5,6,7],RV=class extends ${constructor(e){super(e)}},a7=class extends ${constructor(e){super(e)}};a7.prototype.g=bl([0,[0,ce,J,-3,ce],[0,td,ce,-1,Fe,[0,ce,J,Wu],Fe,r7,Fe,[0,1,r7],Fe,[0,ce],Fe,[0,ce,J,Wu]]]);var DV=class{constructor(){this.g=typeof AbortController<"u"}async send(e,t,n){var r=this.g?new AbortController:void 0,o=r&&e.la>0?setTimeout(()=>{r.abort()},e.la):void 0;try{let i=await fetch(e.url,{method:e.bb,headers:{...e.ab},...e.body&&{body:e.body},...e.withCredentials&&{credentials:"include"},signal:e.la&&r?r.signal:null});i.status===200?t==null||t(await i.text()):n==null||n(i.status)}catch(i){(i==null?void 0:i.name)==="AbortError"?n==null||n(408):n==null||n(400)}finally{clearTimeout(o)}}},MV=class extends ${constructor(e){super(e,37)}},o7=[-4,{},JI,ce,YI],i7=[0,J,ce,1,J,-1,ce,1,ce,1,ht],s7=[0,ce,J,-2],l7=[0,J,ce],c7=[0,J,ce],u7=[0,Ve,-3],d7=[0,ce,J,-1,ht,He,-1,J,-5,ut,[0,J,-4],-1,Ve,[0,Ve,-3],ce],PV=class extends ${constructor(e){super(e,19)}},LV=o0([-19,{},[0,ce,1,[0,J,-6,ht,He,J,-1,ht],1,[0,J,1,J,-5],J,-1,[0,ce,J,-8],[0,J,-3],[0,J,ce,J,-2],[0,J,-1,ce,J,-1,ce,J,-1,[0,ut,[0,J,-1],Ve,J,-5],[0,ce,Ve,He,-2]],ht,[0,J,-3,ht,He,J,-1],[0,ce,J,-1],[0,J,-9],[0,J,-6,ce,J,1,J,Ve,ce,-1,Ve,J,-2,ce,J,ce,J,He,-1],1,[0,ce],1,[0,J,-4],1,i7,[0,[1,2,3,4,5,6],Fe,i7,Fe,l7,Fe,c7,Fe,[0,ce],Fe,d7,Fe,s7],l7,c7,d7,[0,[0,ce,J,-1,ht,He,-1,J,-4,ut,[0,J,-4],-1,1,u7],[0,ce,J,-1,ht,He,-1,J,-4,u7]],s7,[0,J,[0,He,-3,ce],ce,-2,[0,He,-1],Ve],4,[0,J,ce,J,-1,ht,ce,J,-1,ce,He,-1]],ce,ut,[-37,{},yl,J,ut,[0,J,-1],Zi,1,Zi,[0,Qt,-1,t8,jI,-1],J,[0,He,J,-1],Ve,He,ht,J,-1,WI,KI,yl,Zi,ce,t8,ht,-1,[0,ce,-1],J,Ve,J,Ui,J,-1,$6,1,$6,o7,Ve,[0,ce,[0,kt,He,-2],[0,kt]],[0,ce,ht]],yl,n8,J,-1,yl,ce,-1,[0,Ve,-1,ce,Ve],[0,ht,-1,J],[0,yl,Ve,ht],ht,1,r8,1,o7]),FV=class{constructor(e){this.h=[],this.m=new DV,this.j=e??"",this.g=setInterval(()=>{this.flush()},6e4)}close(){this.g!==void 0&&(clearInterval(this.g),this.g=void 0),this.flush()}flush(e,t){if(this.error)t==null||t("net-send-failed");else if(this.h.length===0)e==null||e();else{var n=this.h;this.h=[],n=function(r){var o=new PV;return L2(o=Ce(o,2,Nr(1786)),3,r)}(n),n=LV(n),this.m.send({url:"https://odml.pa.googleapis.com/v1/log",bb:"POST",la:1e4,body:n,hb:2,ab:{"Content-Type":"application/x-protobuf","x-goog-api-key":this.j},withCredentials:!1},()=>{e==null||e()},r=>{this.error=Error(`Logging failed with HTTP error: ${r}`),this.h=[],this.g!==void 0&&(clearInterval(this.g),this.g=void 0),t==null||t("net-send-failed",r)})}}};class f7{constructor(){this.aa=this.U=this.X=this.R=this.V=this.T=this.P=0}}function T0(e,t){var n=new a7;n=ye(n,0,1,e.B),n=ye(n,0,2,t),t=Ce(t=new MV,6,hu(n=n.g(),!1)),(e=e.l).error||e.h.push(t)}function h7(e,t){var n={P:t.P-e.j.P,T:t.T-e.j.T,V:t.V-e.j.V,R:t.R-e.j.R,X:t.X-e.j.X,U:t.U,aa:t.aa},r=C0(x0(new S0,e.C),1);n=p7(e,n),T0(e,r=Ar(r,4,td,n)),e.j=t}function p7(e,t){var n=new BV;return e=Eu(e=U2(e=Ce(n,1,Nr(e.D)),7,t.R),5,t.U),e=Eu(e,6,t.aa),t.V>0&&Eu(e,4,t.X/t.V),t.P!==0&&(n=U2(n=n7(3),2,t.P),dl(e,8,E0,n)),t.T!==0&&(t=U2(n=n7(4),2,t.T),dl(e,8,E0,t)),e}var UV=class{constructor(e,t,n){this.u=performance.now(),this.m=performance.now(),this.h=new Map,this.o=0,this.g=new f7,this.j=new f7,this.l=new FV(n),this.C=function(r){switch(r){case"AudioClassifier":return 4;case"AudioEmbedder":return 5;case"TextClassifier":return 6;case"TextEmbedder":return 7;case"GestureRecognizer":return 8;case"HandDetector":return 9;case"HandLandmarker":return 10;case"ImageClassifier":return 11;case"ImageEmbedder":return 12;case"ImageSegmenter":return 13;case"ObjectDetector":return 14;case"FaceDetector":return 15;case"FaceLandmarker":return 16;case"InteractiveSegmenter":case"InteractiveSegmenterLegacy":return 18;case"HolisticLandmarker":return 20;case"LlmInference":return 21;case"LanguageDetector":return 22;case"PoseLandmarker":return 23;default:return 0}}(e),this.D=function(r){switch(r){case"IMAGE":return 11;case"VIDEO":return 12;case"LIVE_STREAM":return 13;case"AUDIO_CLIPS":return 14;case"AUDIO_STREAM":return 15;default:return 10}}(t),e=new RV,typeof window>"u"?t=0:(t=navigator.userAgent,t=/Android/i.test(t)?1:/iPhone|iPad|iPod/i.test(t)?2:/Windows/i.test(t)?5:/Macintosh/i.test(t)?4:/Linux/i.test(t)?3:0),e=Ce(e,1,Nr(t)),e=Ce(e,2,$r("")),e=Ce(e,3,$r("")),e=Ce(e,4,$r("1.0.1")),e=Ce(e,5,$r("")),this.B=Ce(e,6,Nr(4))}ya(){var e=new VV;e=Eu(e=Ce(e,1,Nr(this.D)),3,performance.now()-this.u),T0(this,e=Ar(C0(x0(new S0,this.C),0),3,td,e)),this.m=performance.now()}za(e){var t=this.h.get(e);if(t!==void 0&&(this.h.delete(e),e=performance.now()-t,++this.g.V,this.g.X+=e,this.g.U=Math.max(this.g.U,e),this.o=Math.max(this.o,e),performance.now()>this.m+3e4)){for(let[n,r]of this.h.entries())e=n,r<t&&(this.g.R++,this.h.delete(e));t={...this.g,aa:performance.now()-this.m},this.g.U=0,this.m=performance.now(),h7(this,t)}}xa(){var e={...this.g,R:this.g.R+this.h.size,U:this.o,aa:performance.now()-this.u};h7(this,e);var t=new IV;t=ye(t,0,2,e=p7(this,e)),T0(this,t=Ar(e=C0(x0(new S0,this.C),2),5,td,t))}close(){var e=this.l;typeof e.close=="function"?e.close():e.flush()}};function A0(){var e=navigator;return typeof OffscreenCanvas<"u"&&(!function(t=navigator){return(t=t.userAgent).includes("Safari")&&!t.includes("Chrome")}(e)||!!((e=e.userAgent.match(/Version\/([\d]+).*Safari/))&&e.length>=1&&Number(e[1])>=17))}async function m7(e){if(typeof importScripts!="function"){let t=document.createElement("script");return t.src=e.toString(),t.crossOrigin="anonymous",new Promise((n,r)=>{t.addEventListener("load",()=>{n()},!1),t.addEventListener("error",o=>{r(o)},!1),document.body.appendChild(t)})}try{importScripts(e.toString())}catch(t){if(!(t instanceof TypeError))throw t;{let n=self.import;n?await n(e.toString()):await import(e.toString())}}}function O0(e){return e.videoWidth!==void 0?[e.videoWidth,e.videoHeight]:e.naturalWidth!==void 0?[e.naturalWidth,e.naturalHeight]:e.displayWidth!==void 0?[e.displayWidth,e.displayHeight]:[e.width,e.height]}function me(e,t,n){e.m||console.error("No wasm multistream support detected: ensure dependency inclusion of :gl_graph_runner_internal_multi_input target"),n(t=e.i.stringToNewUTF8(t)),e.i._free(t)}function g7(e,t,n){if(!e.i.canvas)throw Error("No OpenGL canvas configured.");if(n?e.i._bindTextureToStream(n):e.i._bindTextureToCanvas(),!(n=e.i.canvas.getContext("webgl2")||e.i.canvas.getContext("webgl")))throw Error("Failed to obtain WebGL context from the provided canvas. `getContext()` should only be invoked with `webgl` or `webgl2`.");e.i.gpuOriginForWebTexturesIsBottomLeft&&n.pixelStorei(n.UNPACK_FLIP_Y_WEBGL,!0),n.texImage2D(n.TEXTURE_2D,0,n.RGBA,n.RGBA,n.UNSIGNED_BYTE,t),e.i.gpuOriginForWebTexturesIsBottomLeft&&n.pixelStorei(n.UNPACK_FLIP_Y_WEBGL,!1);var[r,o]=O0(t);return!e.j||r===e.i.canvas.width&&o===e.i.canvas.height||(e.i.canvas.width=r,e.i.canvas.height=o),[r,o]}function v7(e,t,n){e.m||console.error("No wasm multistream support detected: ensure dependency inclusion of :gl_graph_runner_internal_multi_input target");var r=new Uint32Array(t.length);for(let o=0;o<t.length;o++)r[o]=e.i.stringToNewUTF8(t[o]);t=e.i._malloc(4*r.length),e.i.HEAPU32.set(r,t>>2),n(t);for(let o of r)e.i._free(o);e.i._free(t)}function Rr(e,t,n){e.i.simpleListeners=e.i.simpleListeners||{},e.i.simpleListeners[t]=n}function Ha(e,t,n){var r=[];e.i.simpleListeners=e.i.simpleListeners||{},e.i.simpleListeners[t]=(o,i,s)=>{i?(n(r,s),r=[]):r.push(o)}}var y7=class{constructor(e,t){this.j=!0,this.i=e,this.g=null,this.h=0,this.m=typeof this.i._addIntToInputStream=="function",t!==void 0?this.i.canvas=t:A0()?this.i.canvas=new OffscreenCanvas(1,1):(console.warn("OffscreenCanvas not supported and GraphRunner constructor glCanvas parameter is undefined. Creating backup canvas."),this.i.canvas=document.createElement("canvas"))}async initializeGraph(e){var t=await(await fetch(e)).arrayBuffer();e=!(e.endsWith(".pbtxt")||e.endsWith(".textproto")),this.setGraph(new Uint8Array(t),e)}setGraphFromString(e){this.setGraph(new TextEncoder().encode(e),!1)}setGraph(e,t){var n=e.length,r=this.i._malloc(n);this.i.HEAPU8.set(e,r),t?this.i._changeBinaryGraph(n,r):this.i._changeTextGraph(n,r),this.i._free(r)}configureAudio(e,t,n,r,o){this.i._configureAudio||console.warn('Attempting to use configureAudio without support for input audio. Is build dep ":gl_graph_runner_audio" missing?'),me(this,r||"input_audio",i=>{me(this,o=o||"audio_header",s=>{this.i._configureAudio(i,s,e,t??0,n)})})}setAutoResizeCanvas(e){this.j=e}setAutoRenderToScreen(e){this.i._setAutoRenderToScreen(e)}setGpuBufferVerticalFlip(e){this.i.gpuOriginForWebTexturesIsBottomLeft=e}ja(e){Rr(this,"__graph_config__",t=>{e(t)}),me(this,"__graph_config__",t=>{this.i._getGraphConfig(t,void 0)}),delete this.i.simpleListeners.__graph_config__}attachErrorListener(e){this.i.errorListener=e}attachEmptyPacketListener(e,t){this.i.emptyPacketListeners=this.i.emptyPacketListeners||{},this.i.emptyPacketListeners[e]=t}addAudioToStream(e,t,n){this.addAudioToStreamWithShape(e,0,0,t,n)}addAudioToStreamWithShape(e,t,n,r,o){var i=4*e.length;this.h!==i&&(this.g&&this.i._free(this.g),this.g=this.i._malloc(i),this.h=i),this.i.HEAPF32.set(e,this.g/4),me(this,r,s=>{this.i._addAudioToInputStream(this.g,t,n,s,o)})}addGpuBufferToStream(e,t,n){me(this,t,r=>{var[o,i]=g7(this,e,r);this.i._addBoundTextureToStream(r,o,i,n)})}addBoolToStream(e,t,n){me(this,t,r=>{this.i._addBoolToInputStream(e,r,n)})}addDoubleToStream(e,t,n){me(this,t,r=>{this.i._addDoubleToInputStream(e,r,n)})}addFloatToStream(e,t,n){me(this,t,r=>{this.i._addFloatToInputStream(e,r,n)})}addIntToStream(e,t,n){me(this,t,r=>{this.i._addIntToInputStream(e,r,n)})}addUintToStream(e,t,n){me(this,t,r=>{this.i._addUintToInputStream(e,r,n)})}addStringToStream(e,t,n){me(this,t,r=>{me(this,e,o=>{this.i._addStringToInputStream(o,r,n)})})}addStringRecordToStream(e,t,n){me(this,t,r=>{v7(this,Object.keys(e),o=>{v7(this,Object.values(e),i=>{this.i._addFlatHashMapToInputStream(o,i,Object.keys(e).length,r,n)})})})}addProtoToStream(e,t,n,r){me(this,n,o=>{me(this,t,i=>{var s=this.i._malloc(e.length);this.i.HEAPU8.set(e,s),this.i._addProtoToInputStream(s,e.length,i,o,r),this.i._free(s)})})}addEmptyPacketToStream(e,t){me(this,e,n=>{this.i._addEmptyPacketToInputStream(n,t)})}addBoolVectorToStream(e,t,n){me(this,t,r=>{var o=this.i._allocateBoolVector(e.length);if(!o)throw Error("Unable to allocate new bool vector on heap.");for(let i of e)this.i._addBoolVectorEntry(o,i);this.i._addBoolVectorToInputStream(o,r,n)})}addDoubleVectorToStream(e,t,n){me(this,t,r=>{var o=this.i._allocateDoubleVector(e.length);if(!o)throw Error("Unable to allocate new double vector on heap.");for(let i of e)this.i._addDoubleVectorEntry(o,i);this.i._addDoubleVectorToInputStream(o,r,n)})}addFloatVectorToStream(e,t,n){me(this,t,r=>{var o=this.i._allocateFloatVector(e.length);if(!o)throw Error("Unable to allocate new float vector on heap.");for(let i of e)this.i._addFloatVectorEntry(o,i);this.i._addFloatVectorToInputStream(o,r,n)})}addIntVectorToStream(e,t,n){me(this,t,r=>{var o=this.i._allocateIntVector(e.length);if(!o)throw Error("Unable to allocate new int vector on heap.");for(let i of e)this.i._addIntVectorEntry(o,i);this.i._addIntVectorToInputStream(o,r,n)})}addUintVectorToStream(e,t,n){me(this,t,r=>{var o=this.i._allocateUintVector(e.length);if(!o)throw Error("Unable to allocate new unsigned int vector on heap.");for(let i of e)this.i._addUintVectorEntry(o,i);this.i._addUintVectorToInputStream(o,r,n)})}addStringVectorToStream(e,t,n){me(this,t,r=>{var o=this.i._allocateStringVector(e.length);if(!o)throw Error("Unable to allocate new string vector on heap.");for(let i of e)me(this,i,s=>{this.i._addStringVectorEntry(o,s)});this.i._addStringVectorToInputStream(o,r,n)})}addBoolToInputSidePacket(e,t){me(this,t,n=>{this.i._addBoolToInputSidePacket(e,n)})}addDoubleToInputSidePacket(e,t){me(this,t,n=>{this.i._addDoubleToInputSidePacket(e,n)})}addFloatToInputSidePacket(e,t){me(this,t,n=>{this.i._addFloatToInputSidePacket(e,n)})}addIntToInputSidePacket(e,t){me(this,t,n=>{this.i._addIntToInputSidePacket(e,n)})}addUintToInputSidePacket(e,t){me(this,t,n=>{this.i._addUintToInputSidePacket(e,n)})}addStringToInputSidePacket(e,t){me(this,t,n=>{me(this,e,r=>{this.i._addStringToInputSidePacket(r,n)})})}addProtoToInputSidePacket(e,t,n){me(this,n,r=>{me(this,t,o=>{var i=this.i._malloc(e.length);this.i.HEAPU8.set(e,i),this.i._addProtoToInputSidePacket(i,e.length,o,r),this.i._free(i)})})}addBoolVectorToInputSidePacket(e,t){me(this,t,n=>{var r=this.i._allocateBoolVector(e.length);if(!r)throw Error("Unable to allocate new bool vector on heap.");for(let o of e)this.i._addBoolVectorEntry(r,o);this.i._addBoolVectorToInputSidePacket(r,n)})}addDoubleVectorToInputSidePacket(e,t){me(this,t,n=>{var r=this.i._allocateDoubleVector(e.length);if(!r)throw Error("Unable to allocate new double vector on heap.");for(let o of e)this.i._addDoubleVectorEntry(r,o);this.i._addDoubleVectorToInputSidePacket(r,n)})}addFloatVectorToInputSidePacket(e,t){me(this,t,n=>{var r=this.i._allocateFloatVector(e.length);if(!r)throw Error("Unable to allocate new float vector on heap.");for(let o of e)this.i._addFloatVectorEntry(r,o);this.i._addFloatVectorToInputSidePacket(r,n)})}addIntVectorToInputSidePacket(e,t){me(this,t,n=>{var r=this.i._allocateIntVector(e.length);if(!r)throw Error("Unable to allocate new int vector on heap.");for(let o of e)this.i._addIntVectorEntry(r,o);this.i._addIntVectorToInputSidePacket(r,n)})}addUintVectorToInputSidePacket(e,t){me(this,t,n=>{var r=this.i._allocateUintVector(e.length);if(!r)throw Error("Unable to allocate new unsigned int vector on heap.");for(let o of e)this.i._addUintVectorEntry(r,o);this.i._addUintVectorToInputSidePacket(r,n)})}addStringVectorToInputSidePacket(e,t){me(this,t,n=>{var r=this.i._allocateStringVector(e.length);if(!r)throw Error("Unable to allocate new string vector on heap.");for(let o of e)me(this,o,i=>{this.i._addStringVectorEntry(r,i)});this.i._addStringVectorToInputSidePacket(r,n)})}attachBoolListener(e,t){Rr(this,e,t),me(this,e,n=>{this.i._attachBoolListener(n)})}attachBoolVectorListener(e,t){Ha(this,e,t),me(this,e,n=>{this.i._attachBoolVectorListener(n)})}attachIntListener(e,t){Rr(this,e,t),me(this,e,n=>{this.i._attachIntListener(n)})}attachIntVectorListener(e,t){Ha(this,e,t),me(this,e,n=>{this.i._attachIntVectorListener(n)})}attachUintListener(e,t){Rr(this,e,t),me(this,e,n=>{this.i._attachUintListener(n)})}attachUintVectorListener(e,t){Ha(this,e,t),me(this,e,n=>{this.i._attachUintVectorListener(n)})}attachDoubleListener(e,t){Rr(this,e,t),me(this,e,n=>{this.i._attachDoubleListener(n)})}attachDoubleVectorListener(e,t){Ha(this,e,t),me(this,e,n=>{this.i._attachDoubleVectorListener(n)})}attachFloatListener(e,t){Rr(this,e,t),me(this,e,n=>{this.i._attachFloatListener(n)})}attachFloatVectorListener(e,t){Ha(this,e,t),me(this,e,n=>{this.i._attachFloatVectorListener(n)})}attachStringListener(e,t){Rr(this,e,t),me(this,e,n=>{this.i._attachStringListener(n)})}attachStringVectorListener(e,t){Ha(this,e,t),me(this,e,n=>{this.i._attachStringVectorListener(n)})}attachProtoListener(e,t,n){Rr(this,e,t),me(this,e,r=>{this.i._attachProtoListener(r,n||!1)})}attachProtoVectorListener(e,t,n){Ha(this,e,t),me(this,e,r=>{this.i._attachProtoVectorListener(r,n||!1)})}attachAudioListener(e,t,n){this.i._attachAudioListener||console.warn('Attempting to use attachAudioListener without support for output audio. Is build dep ":gl_graph_runner_audio_out" missing?'),Rr(this,e,(r,o)=>{r=new Float32Array(r.buffer,r.byteOffset,r.length/4),t(r,o)}),me(this,e,r=>{this.i._attachAudioListener(r,n||!1)})}finishProcessing(){this.i._waitUntilIdle()}closeGraph(){this.i._closeGraph(),this.i.simpleListeners=void 0,this.i.emptyPacketListeners=void 0}};function b7(e){return class extends e{get pa(){return this.i}Sa(){if(typeof this.pa._mediapipeLoggerGetEncodedApiKey=="function"){let t=this.pa._mediapipeLoggerGetEncodedApiKey();return this.pa._decodeBase64(t)}}}}function w7(e){return class extends e{Za(){this.i._registerModelResourcesGraphService()}}}var ZV=b7(w7(y7)),zV=class extends ZV{};async function jV(e,t,n,r){return e=await(async(o,i,s,l,c)=>{if(i&&await m7(i),!self.ModuleFactory||s&&(await m7(s),!self.ModuleFactory))throw Error("ModuleFactory not set.");return self.Module&&c&&((i=self.Module).locateFile=c.locateFile,c.mainScriptUrlOrBlob&&(i.mainScriptUrlOrBlob=c.mainScriptUrlOrBlob)),c=await self.ModuleFactory(self.Module||c),self.ModuleFactory=self.Module=void 0,new o(c,l)})(e,n.wasmLoaderPath,n.assetLoaderPath,t,{locateFile:o=>o.endsWith(".wasm")?n.wasmBinaryPath.toString():n.assetBinaryPath&&o.endsWith(".data")?n.assetBinaryPath.toString():o}),function(o,i){i=i.runningMode??"";var s=o.g.Sa();o.m=new UV(o.C(),i,s)}(e,r),await e.v(r),e}async function nd(e,t,n,r){return jV(e,t,n,r)}function B0(e,t){var n=Ye(e.baseOptions,Xu,1)||new Xu;typeof t=="string"?(Ce(n,2,$r(t)),Ce(n,1)):t instanceof Uint8Array&&(Ce(n,1,hu(t,!1)),Ce(n,2)),ye(e.baseOptions,0,1,n)}function _7(e){try{let t=e.K.length;if(t===1)throw Error(e.K[0].message);if(t>1)throw Error("Encountered multiple errors: "+e.K.map(n=>n.message).join(", "))}finally{e.K=[]}}function ie(e,t){e.I=Math.max(e.I,t)}function rd(e,t){e.D=new vn,Vn(e.D,2,"PassThroughCalculator"),mt(e.D,"free_memory"),qe(e.D,"free_memory_unused_out"),gt(t,"free_memory"),Jn(t,e.D)}function qi(e,t){mt(e.D,t),qe(e.D,t+"_unused_out")}function ad(e){e.g.addBoolToStream(!0,"free_memory",e.I)}var od=class{constructor(e){this.g=e,this.K=[],this.I=0,this.g.setAutoRenderToScreen(!1)}j(e,t=!0){var n,r,o,i,s,l;if(t){let c=e.baseOptions||{};if((n=e.baseOptions)!=null&&n.modelAssetBuffer&&((r=e.baseOptions)!=null&&r.modelAssetPath))throw Error("Cannot set both baseOptions.modelAssetPath and baseOptions.modelAssetBuffer");if(!((o=Ye(this.baseOptions,Xu,1))!=null&&o.g()||(i=Ye(this.baseOptions,Xu,1))!=null&&i.j()||(s=e.baseOptions)!=null&&s.modelAssetBuffer||(l=e.baseOptions)!=null&&l.modelAssetPath))throw Error("Either baseOptions.modelAssetPath or baseOptions.modelAssetBuffer must be set");if(function(u,d){var f=Ye(u.baseOptions,Ju,3);if(!f){var h=f=new Ju,p=new h8;Ar(h,4,Do,p)}"delegate"in d&&(d.delegate==="GPU"?(d=f,h=new s0,Ar(d,2,Do,h)):(d=f,h=new h8,Ar(d,4,Do,h))),ye(u.baseOptions,0,3,f)}(this,c),c.modelAssetPath)return fetch(c.modelAssetPath.toString()).then(u=>{if(u.ok)return u.arrayBuffer();throw Error(`Failed to fetch model: ${c.modelAssetPath} (${u.status})`)}).then(u=>{try{this.g.i.FS_unlink("/model.dat")}catch{}this.g.i.FS_createDataFile("/","model.dat",new Uint8Array(u),!0,!1,!1),B0(this,"/model.dat"),this.o(),this.L()});if(c.modelAssetBuffer instanceof Uint8Array)B0(this,c.modelAssetBuffer);else if(c.modelAssetBuffer)return async function(u){for(var d=[],f=0;;){let{done:h,value:p}=await u.read();if(h)break;d.push(p),f+=p.length}if(d.length===0)return new Uint8Array(0);if(d.length===1)return d[0];u=new Uint8Array(f),f=0;for(let h of d)u.set(h,f),f+=h.length;return u}(c.modelAssetBuffer).then(u=>{B0(this,u),this.o(),this.L()})}return this.o(),this.L(),Promise.resolve()}L(){}ja(){var e;if(this.g.ja(t=>{e=NI(t)}),!e)throw Error("Failed to retrieve CalculatorGraphConfig");return e}setGraph(e,t){var n;this.g.attachErrorListener((r,o)=>{this.K.push(Error(o))}),this.g.Za(),this.g.setGraph(e,t),(n=this.m)==null||n.ya(),this.D=void 0,_7(this)}finishProcessing(e){this.g.finishProcessing(),_7(this),this.m&&e!==void 0&&this.m.za(e)}close(){var e,t;this.D=void 0,(e=this.m)==null||e.xa(),(t=this.m)==null||t.close(),this.g.closeGraph()}};function qa(e,t){if(!e)throw Error(`Unable to obtain required WebGL resource: ${t}`);return e}od.prototype.close=od.prototype.close;class HV{constructor(t,n,r,o){this.g=t,this.h=n,this.m=r,this.j=o}bind(){this.g.bindVertexArray(this.h)}close(){this.g.deleteVertexArray(this.h),this.g.deleteBuffer(this.m),this.g.deleteBuffer(this.j)}}function k7(e,t,n){var r=e.g;if(n=qa(r.createShader(n),"Failed to create WebGL shader"),r.shaderSource(n,t),r.compileShader(n),!r.getShaderParameter(n,r.COMPILE_STATUS))throw Error(`Could not compile WebGL shader: ${r.getShaderInfoLog(n)}`);return r.attachShader(e.h,n),n}function E7(e,t){var n=e.g,r=qa(n.createVertexArray(),"Failed to create vertex array");n.bindVertexArray(r);var o=qa(n.createBuffer(),"Failed to create buffer");n.bindBuffer(n.ARRAY_BUFFER,o),n.enableVertexAttribArray(e.F),n.vertexAttribPointer(e.F,2,n.FLOAT,!1,0,0),n.bufferData(n.ARRAY_BUFFER,new Float32Array([-1,-1,-1,1,1,1,1,-1]),n.STATIC_DRAW);var i=qa(n.createBuffer(),"Failed to create buffer");return n.bindBuffer(n.ARRAY_BUFFER,i),n.enableVertexAttribArray(e.K),n.vertexAttribPointer(e.K,2,n.FLOAT,!1,0,0),n.bufferData(n.ARRAY_BUFFER,new Float32Array(t?[0,1,0,0,1,0,1,1]:[0,0,0,1,1,1,1,0]),n.STATIC_DRAW),n.bindBuffer(n.ARRAY_BUFFER,null),n.bindVertexArray(null),new HV(n,r,o,i)}function I0(e,t){if(e.g){if(t!==e.g)throw Error("Cannot change GL context once initialized")}else e.g=t}function qV(e,t,n,r){return I0(e,t),e.h||(e.m(),e.I()),n?(e.l||(e.l=E7(e,!0)),n=e.l):(e.D||(e.D=E7(e,!1)),n=e.D),t.useProgram(e.h),n.bind(),e.j(),e=r(),n.g.bindVertexArray(null),e}function x7(e,t,n){return I0(e,t),e=qa(t.createTexture(),"Failed to create texture"),t.bindTexture(t.TEXTURE_2D,e),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,n??t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,n??t.LINEAR),t.bindTexture(t.TEXTURE_2D,null),e}function C7(e,t,n){I0(e,t),e.C||(e.C=qa(t.createFramebuffer(),"Failed to create framebuffe.")),t.bindFramebuffer(t.FRAMEBUFFER,e.C),t.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,n,0)}function WV(e){var t;(t=e.g)==null||t.bindFramebuffer(e.g.FRAMEBUFFER,null)}var V0=class{B(){return`
|
|
24
24
|
precision mediump float;
|
|
25
25
|
varying vec2 vTex;
|
|
26
26
|
uniform sampler2D inputTexture;
|
|
@@ -96,4 +96,4 @@ For more information, see https://www.radix-vue.com/components/${n}`,l=`Warning:
|
|
|
96
96
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(r=>n.set(r)),n}static accessor(e){const t=(this[Bv]=this[Bv]={accessors:{}}).accessors,n=this.prototype;function r(o){const i=Vl(o);t[i]||(RL(n,o),t[i]=!0)}return L.isArray(e)?e.forEach(r):r(e),this}};En.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),L.reduceDescriptors(En.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),L.freezeMethods(En);function rh(e,t){const n=this||Il,r=t||n,o=En.from(r.headers);let i=r.data;return L.forEach(e,function(s){i=s.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function Iv(e){return!!(e&&e.__CANCEL__)}function Qi(e,t,n){Ae.call(this,e??"canceled",Ae.ERR_CANCELED,t,n),this.name="CanceledError"}L.inherits(Qi,Ae,{__CANCEL__:!0});function Vv(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Ae("Request failed with status code "+n.status,[Ae.ERR_BAD_REQUEST,Ae.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function DL(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ML(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=r[i];s||(s=c),n[o]=l,r[o]=c;let d=i,f=0;for(;d!==o;)f+=n[d++],d=d%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),c-s<t)return;const h=u&&c-u;return h?Math.round(f*1e3/h):void 0}}function PL(e,t){let n=0;const r=1e3/t;let o=null;return function(){const i=this===!0,s=Date.now();if(i||s-n>r)return o&&(clearTimeout(o),o=null),n=s,e.apply(null,arguments);o||(o=setTimeout(()=>(o=null,n=Date.now(),e.apply(null,arguments)),r-(s-n)))}}const kd=(e,t,n=3)=>{let r=0;const o=ML(50,250);return PL(i=>{const s=i.loaded,l=i.lengthComputable?i.total:void 0,c=s-r,u=o(c),d=s<=l;r=s;const f={loaded:s,total:l,progress:l?s/l:void 0,bytes:c,rate:u||void 0,estimated:u&&l&&d?(l-s)/u:void 0,event:i,lengthComputable:l!=null};f[t?"download":"upload"]=!0,e(f)},n)},LL=gr.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(o){let i=o;return e&&(t.setAttribute("href",i),i=t.href),t.setAttribute("href",i),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(o){const i=L.isString(o)?r(o):o;return i.protocol===n.protocol&&i.host===n.host}}():function(){return function(){return!0}}(),FL=gr.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const s=[e+"="+encodeURIComponent(t)];L.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),L.isString(r)&&s.push("path="+r),L.isString(o)&&s.push("domain="+o),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function UL(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ZL(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Rv(e,t){return e&&!UL(t)?ZL(e,t):t}const Dv=e=>e instanceof En?{...e}:e;function Po(e,t){t=t||{};const n={};function r(u,d,f){return L.isPlainObject(u)&&L.isPlainObject(d)?L.merge.call({caseless:f},u,d):L.isPlainObject(d)?L.merge({},d):L.isArray(d)?d.slice():d}function o(u,d,f){if(L.isUndefined(d)){if(!L.isUndefined(u))return r(void 0,u,f)}else return r(u,d,f)}function i(u,d){if(!L.isUndefined(d))return r(void 0,d)}function s(u,d){if(L.isUndefined(d)){if(!L.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function l(u,d,f){if(f in t)return r(u,d);if(f in e)return r(void 0,u)}const c={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l,headers:(u,d)=>o(Dv(u),Dv(d),!0)};return L.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=c[u]||o,f=d(e[u],t[u],u);L.isUndefined(f)&&d!==l||(n[u]=f)}),n}const Mv=e=>{const t=Po({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:l}=t;t.headers=s=En.from(s),t.url=Sv(Rv(t.baseURL,t.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let c;if(L.isFormData(n)){if(gr.hasStandardBrowserEnv||gr.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((c=s.getContentType())!==!1){const[u,...d]=c?c.split(";").map(f=>f.trim()).filter(Boolean):[];s.setContentType([u||"multipart/form-data",...d].join("; "))}}if(gr.hasStandardBrowserEnv&&(r&&L.isFunction(r)&&(r=r(t)),r||r!==!1&&LL(t.url))){const u=o&&i&&FL.read(i);u&&s.set(o,u)}return t},zL=typeof XMLHttpRequest<"u",jL=zL&&function(e){return new Promise(function(t,n){const r=Mv(e);let o=r.data;const i=En.from(r.headers).normalize();let{responseType:s}=r,l;function c(){r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener("abort",l)}let u=new XMLHttpRequest;u.open(r.method.toUpperCase(),r.url,!0),u.timeout=r.timeout;function d(){if(!u)return;const h=En.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),p={data:!s||s==="text"||s==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:h,config:e,request:u};Vv(function(g){t(g),c()},function(g){n(g),c()},p),u=null}"onloadend"in u?u.onloadend=d:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(d)},u.onabort=function(){u&&(n(new Ae("Request aborted",Ae.ECONNABORTED,r,u)),u=null)},u.onerror=function(){n(new Ae("Network Error",Ae.ERR_NETWORK,r,u)),u=null},u.ontimeout=function(){let h=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const p=r.transitional||Av;r.timeoutErrorMessage&&(h=r.timeoutErrorMessage),n(new Ae(h,p.clarifyTimeoutError?Ae.ETIMEDOUT:Ae.ECONNABORTED,r,u)),u=null},o===void 0&&i.setContentType(null),"setRequestHeader"in u&&L.forEach(i.toJSON(),function(h,p){u.setRequestHeader(p,h)}),L.isUndefined(r.withCredentials)||(u.withCredentials=!!r.withCredentials),s&&s!=="json"&&(u.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&u.addEventListener("progress",kd(r.onDownloadProgress,!0)),typeof r.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",kd(r.onUploadProgress)),(r.cancelToken||r.signal)&&(l=h=>{u&&(n(!h||h.type?new Qi(null,e,u):h),u.abort(),u=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));const f=DL(r.url);if(f&&gr.protocols.indexOf(f)===-1){n(new Ae("Unsupported protocol "+f+":",Ae.ERR_BAD_REQUEST,e));return}u.send(o||null)})},HL=(e,t)=>{let n=new AbortController,r;const o=function(c){if(!r){r=!0,s();const u=c instanceof Error?c:this.reason;n.abort(u instanceof Ae?u:new Qi(u instanceof Error?u.message:u))}};let i=t&&setTimeout(()=>{o(new Ae(`timeout ${t} of ms exceeded`,Ae.ETIMEDOUT))},t);const s=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(c=>{c&&(c.removeEventListener?c.removeEventListener("abort",o):c.unsubscribe(o))}),e=null)};e.forEach(c=>c&&c.addEventListener&&c.addEventListener("abort",o));const{signal:l}=n;return l.unsubscribe=s,[l,()=>{i&&clearTimeout(i),i=null}]},qL=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,o;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},WL=async function*(e,t,n){for await(const r of e)yield*qL(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Pv=(e,t,n,r,o)=>{const i=WL(e,t,o);let s=0;return new ReadableStream({type:"bytes",async pull(l){const{done:c,value:u}=await i.next();if(c){l.close(),r();return}let d=u.byteLength;n&&n(s+=d),l.enqueue(new Uint8Array(u))},cancel(l){return r(l),i.return()}},{highWaterMark:2})},Lv=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},Ed=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Fv=Ed&&typeof ReadableStream=="function",ah=Ed&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),GL=Fv&&(()=>{let e=!1;const t=new Request(gr.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),Uv=64*1024,oh=Fv&&!!(()=>{try{return L.isReadableStream(new Response("").body)}catch{}})(),xd={stream:oh&&(e=>e.body)};Ed&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!xd[t]&&(xd[t]=L.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new Ae(`Response type '${t}' is not supported`,Ae.ERR_NOT_SUPPORT,r)})})})(new Response);const KL=async e=>{if(e==null)return 0;if(L.isBlob(e))return e.size;if(L.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(L.isArrayBufferView(e))return e.byteLength;if(L.isURLSearchParams(e)&&(e=e+""),L.isString(e))return(await ah(e)).byteLength},YL=async(e,t)=>L.toFiniteNumber(e.getContentLength())??KL(t),JL=Ed&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:s,onDownloadProgress:l,onUploadProgress:c,responseType:u,headers:d,withCredentials:f="same-origin",fetchOptions:h}=Mv(e);u=u?(u+"").toLowerCase():"text";let[p,g]=o||i||s?HL([o,i],s):[],w,y;const k=()=>{!w&&setTimeout(()=>{p&&p.unsubscribe()}),w=!0};let v;try{if(c&&GL&&n!=="get"&&n!=="head"&&(v=await YL(d,r))!==0){let E=new Request(t,{method:"POST",body:r,duplex:"half"}),x;L.isFormData(r)&&(x=E.headers.get("content-type"))&&d.setContentType(x),E.body&&(r=Pv(E.body,Uv,Lv(v,kd(c)),null,ah))}L.isString(f)||(f=f?"cors":"omit"),y=new Request(t,{...h,signal:p,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",withCredentials:f});let m=await fetch(y);const b=oh&&(u==="stream"||u==="response");if(oh&&(l||b)){const E={};["status","statusText","headers"].forEach(O=>{E[O]=m[O]});const x=L.toFiniteNumber(m.headers.get("content-length"));m=new Response(Pv(m.body,Uv,l&&Lv(x,kd(l,!0)),b&&k,ah),E)}u=u||"text";let _=await xd[L.findKey(xd,u)||"text"](m,e);return!b&&k(),g&&g(),await new Promise((E,x)=>{Vv(E,x,{data:_,headers:En.from(m.headers),status:m.status,statusText:m.statusText,config:e,request:y})})}catch(m){throw k(),m&&m.name==="TypeError"&&/fetch/i.test(m.message)?Object.assign(new Ae("Network Error",Ae.ERR_NETWORK,e,y),{cause:m.cause||m}):Ae.from(m,m&&m.code,e,y)}}),ih={http:fL,xhr:jL,fetch:JL};L.forEach(ih,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Zv=e=>`- ${e}`,XL=e=>L.isFunction(e)||e===null||e===!1,zv={getAdapter:e=>{e=L.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){n=e[i];let s;if(r=n,!XL(n)&&(r=ih[(s=String(n)).toLowerCase()],r===void 0))throw new Ae(`Unknown adapter '${s}'`);if(r)break;o[s||"#"+i]=r}if(!r){const i=Object.entries(o).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let s=t?i.length>1?`since :
|
|
97
97
|
`+i.map(Zv).join(`
|
|
98
98
|
`):" "+Zv(i[0]):"as no adapter specified";throw new Ae("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:ih};function sh(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Qi(null,e)}function jv(e){return sh(e),e.headers=En.from(e.headers),e.data=rh.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),zv.getAdapter(e.adapter||Il.adapter)(e).then(function(t){return sh(e),t.data=rh.call(e,e.transformResponse,t),t.headers=En.from(t.headers),t},function(t){return Iv(t)||(sh(e),t&&t.response&&(t.response.data=rh.call(e,e.transformResponse,t.response),t.response.headers=En.from(t.response.headers))),Promise.reject(t)})}const Hv="1.7.2",lh={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{lh[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const qv={};lh.transitional=function(e,t,n){function r(o,i){return"[Axios v"+Hv+"] Transitional option '"+o+"'"+i+(n?". "+n:"")}return(o,i,s)=>{if(e===!1)throw new Ae(r(i," has been removed"+(t?" in "+t:"")),Ae.ERR_DEPRECATED);return t&&!qv[i]&&(qv[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(o,i,s):!0}};function QL(e,t,n){if(typeof e!="object")throw new Ae("options must be an object",Ae.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],s=t[i];if(s){const l=e[i],c=l===void 0||s(l,i,e);if(c!==!0)throw new Ae("option "+i+" must be "+c,Ae.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Ae("Unknown option "+i,Ae.ERR_BAD_OPTION)}}const ch={assertOptions:QL,validators:lh},Ga=ch.validators;let Lo=class{constructor(e){this.defaults=e,this.interceptors={request:new Tv,response:new Tv}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let r;Error.captureStackTrace?Error.captureStackTrace(r={}):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";try{n.stack?o&&!String(n.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(n.stack+=`
|
|
99
|
-
`+o):n.stack=o}catch{}}throw n}}_request(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=Po(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;n!==void 0&&ch.assertOptions(n,{silentJSONParsing:Ga.transitional(Ga.boolean),forcedJSONParsing:Ga.transitional(Ga.boolean),clarifyTimeoutError:Ga.transitional(Ga.boolean)},!1),r!=null&&(L.isFunction(r)?t.paramsSerializer={serialize:r}:ch.assertOptions(r,{encode:Ga.function,serialize:Ga.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&L.merge(o.common,o[t.method]);o&&L.forEach(["delete","get","head","post","put","patch","common"],p=>{delete o[p]}),t.headers=En.concat(i,o);const s=[];let l=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(t)===!1||(l=l&&p.synchronous,s.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let u,d=0,f;if(!l){const p=[jv.bind(this),void 0];for(p.unshift.apply(p,s),p.push.apply(p,c),f=p.length,u=Promise.resolve(t);d<f;)u=u.then(p[d++],p[d++]);return u}f=s.length;let h=t;for(d=0;d<f;){const p=s[d++],g=s[d++];try{h=p(h)}catch(w){g.call(this,w);break}}try{u=jv.call(this,h)}catch(p){return Promise.reject(p)}for(d=0,f=c.length;d<f;)u=u.then(c[d++],c[d++]);return u}getUri(e){e=Po(this.defaults,e);const t=Rv(e.baseURL,e.url);return Sv(t,e.params,e.paramsSerializer)}};L.forEach(["delete","get","head","options"],function(e){Lo.prototype[e]=function(t,n){return this.request(Po(n||{},{method:e,url:t,data:(n||{}).data}))}}),L.forEach(["post","put","patch"],function(e){function t(n){return function(r,o,i){return this.request(Po(i||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:o}))}}Lo.prototype[e]=t(),Lo.prototype[e+"Form"]=t(!0)});let NL=class U9{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(l=>{r.subscribe(l),i=l}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},t(function(o,i,s){r.reason||(r.reason=new Qi(o,i,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new U9(function(n){t=n}),cancel:t}}};function $L(e){return function(t){return e.apply(null,t)}}function eF(e){return L.isObject(e)&&e.isAxiosError===!0}const uh={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(uh).forEach(([e,t])=>{uh[t]=e});function Wv(e){const t=new Lo(e),n=uv(Lo.prototype.request,t);return L.extend(n,Lo.prototype,t,{allOwnKeys:!0}),L.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Wv(Po(e,r))},n}const Et=Wv(Il);Et.Axios=Lo,Et.CanceledError=Qi,Et.CancelToken=NL,Et.isCancel=Iv,Et.VERSION=Hv,Et.toFormData=wd,Et.AxiosError=Ae,Et.Cancel=Et.CanceledError,Et.all=function(e){return Promise.all(e)},Et.spread=$L,Et.isAxiosError=eF,Et.mergeConfig=Po,Et.AxiosHeaders=En,Et.formToJSON=e=>Ov(L.isHTMLForm(e)?new FormData(e):e),Et.getAdapter=zv.getAdapter,Et.HttpStatusCode=uh,Et.default=Et;const tF=async(e,t,n,r)=>{var o;const i=window.VITE_API_MS_AGETIC?window.VITE_API_MS_AGETIC:"http://172.27.38.54:3000",s={urlRedirectLogin:window.VITE_API_BASE_URL?window.VITE_API_BASE_URL:void 0,application:window.VITE_API_APLICATION?window.VITE_API_APLICATION:"justicia-libre",verificarFuncionario:t,environment:window.VITE_DEVELOPMENT_ENVIRONMENT?window.VITE_DEVELOPMENT_ENVIRONMENT:"DEV",binnacleId:r,processKey:e,tokenMsSeguridad:n},l=await Et.post(`${i}/api/v1/auth/generar-url`,s,{headers:{"Content-Type":"application/json; charset=utf-8","ms-agetic-token":void 0}});return cv({name:"ms-agetic-token",value:(o=l.data.response)==null?void 0:o.data.token,hours:5}),l.data.response.data},nF=async(e,t,n,r)=>{var o;const i=window.VITE_API_MS_AGETIC?window.VITE_API_MS_AGETIC:"http://172.27.38.54:3000",s={urlRedirectLogin:window.VITE_API_BASE_URL?window.VITE_API_BASE_URL:void 0,application:window.VITE_API_APLICATION?window.VITE_API_APLICATION:"justicia-libre",verificarFuncionario:t,environment:window.VITE_DEVELOPMENT_ENVIRONMENT?window.VITE_DEVELOPMENT_ENVIRONMENT:"DEV",binnacleId:r,processKey:e,tokenMsSeguridad:n,deviceId:"id_mobile_device"},l=await Et.post(`${i}/api/v2/auth/generar-url`,s,{headers:{"Content-Type":"application/json; charset=utf-8","ms-agetic-token":void 0}});return cv({name:"ms-agetic-token",value:(o=l.data.response)==null?void 0:o.data.token,hours:5}),l.data.response.data},rF=async e=>{const t=window.VITE_API_MS_AGETIC?window.VITE_API_MS_AGETIC:"http://172.27.38.54:3000",n={binnacleId:e};return(await Et.post(`${t}/api/v1/auth/session-auth`,n,{headers:{Authorization:`Bearer ${lv("ms-agetic-token")}`,"Content-Type":"application/json; charset=utf-8","ms-agetic-token":void 0}})).data.response.data},aF=e=>`${window.VITE_API_MS_AGETIC_FRONT?window.VITE_API_MS_AGETIC_FRONT:"http://172.27.38.54:8080"}/logout?urlRedirectLogout=${window.VITE_API_BASE_URL?window.VITE_API_BASE_URL:void 0}&binnacleId=${e}`;function Gv(){const e=a.ref(),t=new Map;let n;const r=()=>{for(const[f,h]of t.entries())h.type===Nt.LOGOUT?(h.resolve({error:!1,message:"Sesion cerrada con exito"}),t.delete(f)):h.creationTime+1e3*60*5<new Date().getTime()&&(h.reject({error:!0,message:"Ha ocurrido un error, intente nuevamente"}),t.delete(f));t.size===0&&n&&(clearInterval(n),n=void 0)};a.onMounted(()=>{let f=!1;for(const[p]of t.entries())if(window.name===p){f=!0;break}const h=new BroadcastChannel(N7);e.value=h,!f&&(e.value.onmessage=async p=>{const g=p.data;!g||await o(g)||i(g)||s(g)||l(g)})}),a.onBeforeUnmount(()=>{e.value&&e.value.close(),n&&clearInterval(n)});const o=async f=>{if(f.event!==Nt.LOGIN&&f.event!==Nt.ALREADY_LOGIN)return!1;const h=t.get(f.data.processKey);if(!h)return!1;if(t.delete(f.data.processKey),f.event===Nt.LOGIN){const p=f.data.data;try{const g=await rF(p.binnacleId);kP("digital",JSON.stringify(p)),h.resolve({error:!1,message:"Inicio de sesión exitoso",data:{...g.session,binnacleId:p.binnacleId}})}catch{h.reject({error:!0,message:"Ha ocurrido un error al iniciar sesión, intente nuevamente"})}return!0}return h.reject({error:!0,message:"Ya cuentas con una sesión activa"}),!0},i=f=>{if(f.event===Nt.LOGOUT){const h=t.get(f.data.processKey);return h?(t.delete(f.data.processKey),localStorage.removeItem("digital"),h.resolve({error:!1,message:"Sesión finalizada"}),!0):!1}return!1},s=f=>{const h=t.get(f.data.processKey);if(h)return f.event===Nt.VALIDATE_FILE?(h.resolve({error:!1,message:"Aprobación exitosa",data:f.data}),t.delete(f.data.processKey),!0):!1},l=f=>{const h=f.data.processKey,p=t.get(h);p&&f.event===Nt.FORCE_CLOSE&&(t.delete(h),p.reject({error:!0,message:"Ha ocurrido un error, intente nuevamente"}))},c=async(f=!0,h,p=!1)=>new Promise(async(g,w)=>{var y,k;const v=pd(),m=p?void 0:Ji("digital")?JSON.parse(Ji("digital")).binnacleId:void 0,b=md();try{const{url:_}=await tF(v,f,h,m);window.open(_,v,b?void 0:"width=700,height=700,resizable=no")}catch(_){if(((k=(y=_==null?void 0:_.response)==null?void 0:y.data)==null?void 0:k.message)==="No se pudo conectar con AGETIC - CIUDADANIA DIGITAL")return window.open(window.VITE_API_AGETIC_ANUNCIOS,v,b?void 0:"width=700,height=700,resizable=no"),w(_.response.data);if(_)return w({error:!0,message:"Ha ocurrido un error al iniciar sesión, intente nuevamente"})}d(),t.set(v,{creationTime:new Date().getTime(),processKey:v,type:Nt.LOGIN,resolve:g,reject:w})}),u=async(f=!0,h,p=!1)=>new Promise(async(g,w)=>{const y=pd(),k=p?void 0:Ji("digital")?JSON.parse(Ji("digital")).binnacleId:void 0,{url:v}=await nF(y,f,h,k),m=md();try{window.open(v,y,m?void 0:"width=700,height=700,resizable=no")}catch(b){if(b)return w({error:!0,message:"Ha ocurrido un error al iniciar sesión, intente nuevamente"})}d(),t.set(y,{creationTime:new Date().getTime(),processKey:y,type:Nt.LOGIN,resolve:g,reject:w})}),d=()=>{n||(n=setInterval(r,1e3))};return{loginCD:c,logoutCD:async f=>new Promise((h,p)=>{const g=pd(),w=f.binnacleId,y=Ji("digital");if(!y)return p({error:!0,message:"No existe una sesión de agetic activa"});const k=JSON.parse(y),v=aF(w||k.binnacleId),m=md();if(!window.open(v,g,m?void 0:"width=700,height=700,resizable=no"))return p({error:!0,message:"Ha ocurrido un error al cerrar sesión, intente nuevamente"});d(),EP("digital"),t.set(g,{creationTime:new Date().getTime(),processKey:g,type:Nt.LOGOUT,resolve:h,reject:p})}),validateFile:async f=>new Promise(async(h,p)=>{const g=pd(),w=f.documentId,y=Ji("digital");if(!y)return p({error:!0,message:"Ha ocurrido un error, intente nuevamente"});d();const k=JSON.parse(y),v=`${window.VITE_API_BASE_URL?window.VITE_API_BASE_URL:void 0}`,m=`${window.VITE_API_MS_AGETIC_FRONT?window.VITE_API_MS_AGETIC_FRONT:"http://172.27.38.54:8080"}/aprobacion?urlRedirectClient=${encodeURIComponent(`${v}`)}&documentId=${encodeURIComponent(w)}&binnacleId=${encodeURIComponent(k.binnacleId)}${f.urlNotificationDocument?`&urlNotificationDocument=${encodeURIComponent(f.urlNotificationDocument)}`:""}&token=${encodeURIComponent(lv("ms-agetic-token"))}&processKey=${encodeURIComponent(g)}`,b=md();if(!window.open(m,g,b?void 0:"width=700,height=700,resizable=no"))return p({error:!0,message:"Ha ocurrido un error, intente nuevamente"});t.set(g,{creationTime:new Date().getTime(),processKey:g,type:Nt.VALIDATE_FILE,resolve:h,reject:p})}),loginCDMsAuth:u}}const oF={install(e,t){uP(),window.VITE_API_BASE_URL=t.VITE_API_BASE_URL,window.VITE_API_APLICATION=t.VITE_API_APLICATION,window.VITE_API_MS_AGETIC=t.VITE_API_MS_AGETIC,window.VITE_API_MS_AGETIC_FRONT=t.VITE_API_MS_AGETIC_FRONT,window.VITE_DEVELOPMENT_ENVIRONMENT=t.VITE_DEVELOPMENT_ENVIRONMENT,window.VITE_API_AGETIC_ANUNCIOS=t.VITE_API_AGETIC_ANUNCIOS,window.VITE_API_LOCAL_FIRMATIC=t.VITE_API_LOCAL_FIRMATIC||""}};function iF(){const e=et(),{loginCD:t,loginCDMsAuth:n}=Gv();a.onMounted(()=>{o()});const r=async()=>e.usaAuthNvEnLogin?await n(e.verificarFunc):await t(e.verificarFunc),o=()=>{const l=new URLSearchParams(window.location.search).get("agetic");if(!l)return;const c=JSON.parse(decodeURI(l));i(c)},i=async s=>{var l;if(!s.error)if(s.response.binnacleId){const c={ci:s.response.ciudadanoDigital.documento_identidad.numero_documento,binnacleId:s.response.binnacleId,appTag:e.aplicacion};await e.onLoginCiudadania(c),new URLSearchParams(window.location.search).delete("agetic"),window.history.replaceState({},"",`${window.location.pathname}`)}else K.error(`<p class="toast-title">Error</p><p class="toast-description">${(l=s.response)==null?void 0:l.message}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0})};return{redirectCD:r}}function Rl(e){return!e||typeof e!="object"||Array.isArray(e)?null:e}function sF(e){const t=Rl(e==null?void 0:e.response);if(!t)return{};const n=Rl(t.response);if(n){const o=Rl(n.data);return o||n}const r=Rl(t.data);return r||t}function dh(e){return Rl(e.observacion)}function lF(e,t){if(typeof t.code=="string")return t.code;if(t.reintentarDesde&&!t.completitudToken)return ho.RECHAZADO;if(dh(t))return ho.OBSERVADO;if(t.completitudToken)return ho.PENDIENTE_DOCUMENTOS}function Kv(e){return Array.isArray(e)?e.map(t=>String(t)).filter(t=>t.length>0):[]}function cF(e){const t=Kv(e.faltantes);if(t.length)return t;const n=dh(e);return Kv(n==null?void 0:n.fotos)}function uF(e){const t=sF(e),n=lF(e,t),r=typeof t.completitudToken=="string"?t.completitudToken:void 0,o=dh(t);let i;o&&typeof o.texto=="string"&&(i=o.texto.trim()||void 0),!i&&typeof(e==null?void 0:e.message)=="string"&&(i=e.message.trim()||void 0);let s;o&&typeof o.motivo=="string"&&(s=o.motivo.trim()||void 0);const l=typeof t.reintentarDesde=="string"?t.reintentarDesde:void 0,c=n===ho.PENDIENTE_APROBACION,u=n===ho.RECHAZADO||!!l&&!r,d=!c&&!!r&&(n===ho.PENDIENTE_DOCUMENTOS||n===ho.OBSERVADO||!n);return!n&&!r&&!l&&!i?null:{code:n,completitudToken:r,faltantes:cF(t),observacionTexto:i,observacionMotivo:s,reintentarDesde:l,message:typeof(e==null?void 0:e.message)=="string"?e.message:void 0,esRegularizable:d,esPendienteAprobacion:c,esRechazado:u}}function dF(e,t){if(!e.esRegularizable||!e.completitudToken)return null;const n=e.faltantes.filter(r=>r==="anverso"||r==="reverso"||r==="selfie");return{completitudToken:e.completitudToken,ci:t,code:e.code,faltantes:n,observacion:e.observacionTexto||e.observacionMotivo||n.length?{motivo:e.observacionMotivo,texto:e.observacionTexto,fotos:n}:void 0}}function fF(e){const t=e.message??"Su registro fue rechazado.";if(!e.reintentarDesde)return t;const n=new Date(e.reintentarDesde);if(Number.isNaN(n.getTime()))return t;const r=n.getDate().toString().padStart(2,"0"),o=(n.getMonth()+1).toString().padStart(2,"0");return`${t} Podrá intentarlo el ${r}/${o}/${n.getFullYear()}.`}const ee={EMAIL:3,WHATSAPP:1,TELEGRAM:2,ROMA:4,SMS:5};ee.EMAIL+"",ee.WHATSAPP+"",ee.TELEGRAM+"",ee.ROMA+"",ee.SMS+"";const Pr=Object.create(null);Pr.open="0",Pr.close="1",Pr.ping="2",Pr.pong="3",Pr.message="4",Pr.upgrade="5",Pr.noop="6";const Cd=Object.create(null);Object.keys(Pr).forEach(e=>{Cd[Pr[e]]=e});const fh={type:"error",data:"parser error"},Yv=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",Jv=typeof ArrayBuffer=="function",Xv=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,hh=({type:e,data:t},n,r)=>Yv&&t instanceof Blob?n?r(t):Qv(t,r):Jv&&(t instanceof ArrayBuffer||Xv(t))?n?r(t):Qv(new Blob([t]),r):r(Pr[e]+(t||"")),Qv=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+(r||""))},n.readAsDataURL(e)};function Nv(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let ph;function hF(e,t){if(Yv&&e.data instanceof Blob)return e.data.arrayBuffer().then(Nv).then(t);if(Jv&&(e.data instanceof ArrayBuffer||Xv(e.data)))return t(Nv(e.data));hh(e,!1,n=>{ph||(ph=new TextEncoder),t(ph.encode(n))})}const $v="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Dl=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e<$v.length;e++)Dl[$v.charCodeAt(e)]=e;const pF=e=>{let t=e.length*.75,n=e.length,r,o=0,i,s,l,c;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const u=new ArrayBuffer(t),d=new Uint8Array(u);for(r=0;r<n;r+=4)i=Dl[e.charCodeAt(r)],s=Dl[e.charCodeAt(r+1)],l=Dl[e.charCodeAt(r+2)],c=Dl[e.charCodeAt(r+3)],d[o++]=i<<2|s>>4,d[o++]=(s&15)<<4|l>>2,d[o++]=(l&3)<<6|c&63;return u},mF=typeof ArrayBuffer=="function",mh=(e,t)=>{if(typeof e!="string")return{type:"message",data:e9(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:gF(e.substring(1),t)}:Cd[n]?e.length>1?{type:Cd[n],data:e.substring(1)}:{type:Cd[n]}:fh},gF=(e,t)=>{if(mF){const n=pF(e);return e9(n,t)}else return{base64:!0,data:e}},e9=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},t9="",vF=(e,t)=>{const n=e.length,r=new Array(n);let o=0;e.forEach((i,s)=>{hh(i,!1,l=>{r[s]=l,++o===n&&t(r.join(t9))})})},yF=(e,t)=>{const n=e.split(t9),r=[];for(let o=0;o<n.length;o++){const i=mh(n[o],t);if(r.push(i),i.type==="error")break}return r};function bF(){return new TransformStream({transform(e,t){hF(e,n=>{const r=n.length;let o;if(r<126)o=new Uint8Array(1),new DataView(o.buffer).setUint8(0,r);else if(r<65536){o=new Uint8Array(3);const i=new DataView(o.buffer);i.setUint8(0,126),i.setUint16(1,r)}else{o=new Uint8Array(9);const i=new DataView(o.buffer);i.setUint8(0,127),i.setBigUint64(1,BigInt(r))}e.data&&typeof e.data!="string"&&(o[0]|=128),t.enqueue(o),t.enqueue(n)})}})}let gh;function Sd(e){return e.reduce((t,n)=>t+n.length,0)}function Td(e,t){if(e[0].length===t)return e.shift();const n=new Uint8Array(t);let r=0;for(let o=0;o<t;o++)n[o]=e[0][r++],r===e[0].length&&(e.shift(),r=0);return e.length&&r<e[0].length&&(e[0]=e[0].slice(r)),n}function wF(e,t){gh||(gh=new TextDecoder);const n=[];let r=0,o=-1,i=!1;return new TransformStream({transform(s,l){for(n.push(s);;){if(r===0){if(Sd(n)<1)break;const c=Td(n,1);i=(c[0]&128)===128,o=c[0]&127,o<126?r=3:o===126?r=1:r=2}else if(r===1){if(Sd(n)<2)break;const c=Td(n,2);o=new DataView(c.buffer,c.byteOffset,c.length).getUint16(0),r=3}else if(r===2){if(Sd(n)<8)break;const c=Td(n,8),u=new DataView(c.buffer,c.byteOffset,c.length),d=u.getUint32(0);if(d>Math.pow(2,21)-1){l.enqueue(fh);break}o=d*Math.pow(2,32)+u.getUint32(4),r=3}else{if(Sd(n)<o)break;const c=Td(n,o);l.enqueue(mh(i?c:gh.decode(c),t)),r=0}if(o===0||o>e){l.enqueue(fh);break}}}})}const n9=4;function Ft(e){if(e)return _F(e)}function _F(e){for(var t in Ft.prototype)e[t]=Ft.prototype[t];return e}Ft.prototype.on=Ft.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},Ft.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},Ft.prototype.off=Ft.prototype.removeListener=Ft.prototype.removeAllListeners=Ft.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var r,o=0;o<n.length;o++)if(r=n[o],r===t||r.fn===t){n.splice(o,1);break}return n.length===0&&delete this._callbacks["$"+e],this},Ft.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){n=n.slice(0);for(var r=0,o=n.length;r<o;++r)n[r].apply(this,t)}return this},Ft.prototype.emitReserved=Ft.prototype.emit,Ft.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},Ft.prototype.hasListeners=function(e){return!!this.listeners(e).length};const Ad=typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0),$n=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),kF="arraybuffer";function VG(){}function r9(e,...t){return t.reduce((n,r)=>(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const EF=$n.setTimeout,xF=$n.clearTimeout;function Od(e,t){t.useNativeTimers?(e.setTimeoutFn=EF.bind($n),e.clearTimeoutFn=xF.bind($n)):(e.setTimeoutFn=$n.setTimeout.bind($n),e.clearTimeoutFn=$n.clearTimeout.bind($n))}const CF=1.33;function SF(e){return typeof e=="string"?TF(e):Math.ceil((e.byteLength||e.size)*CF)}function TF(e){let t=0,n=0;for(let r=0,o=e.length;r<o;r++)t=e.charCodeAt(r),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(r++,n+=4);return n}function a9(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function AF(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function OF(e){let t={},n=e.split("&");for(let r=0,o=n.length;r<o;r++){let i=n[r].split("=");t[decodeURIComponent(i[0])]=decodeURIComponent(i[1])}return t}class BF extends Error{constructor(t,n,r){super(t),this.description=n,this.context=r,this.type="TransportError"}}class vh extends Ft{constructor(t){super(),this.writable=!1,Od(this,t),this.opts=t,this.query=t.query,this.socket=t.socket,this.supportsBinary=!t.forceBase64}onError(t,n,r){return super.emitReserved("error",new BF(t,n,r)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=mh(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,n={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(n)}_hostname(){const t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){const n=AF(t);return n.length?"?"+n:""}}class IF extends vh{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(t){this.readyState="pausing";const n=()=>{this.readyState="paused",t()};if(this._polling||!this.writable){let r=0;this._polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};yF(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,vF(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",n=this.query||{};return this.opts.timestampRequests!==!1&&(n[this.opts.timestampParam]=a9()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(t,n)}}let o9=!1;try{o9=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const VF=o9;function RF(){}class DF extends IF{constructor(t){if(super(t),typeof location<"u"){const n=location.protocol==="https:";let r=location.port;r||(r=n?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||r!==t.port}}doWrite(t,n){const r=this.request({method:"POST",data:t});r.on("success",n),r.on("error",(o,i)=>{this.onError("xhr post error",o,i)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=t}}let Ni=class Fd extends Ft{constructor(t,n,r){super(),this.createRequest=t,Od(this,r),this._opts=r,this._method=r.method||"GET",this._uri=n,this._data=r.data!==void 0?r.data:null,this._create()}_create(){var t;const n=r9(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this._opts.xd;const r=this._xhr=this.createRequest(n);try{r.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0);for(let o in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(o)&&r.setRequestHeader(o,this._opts.extraHeaders[o])}}catch{}if(this._method==="POST")try{r.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{r.setRequestHeader("Accept","*/*")}catch{}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(r),"withCredentials"in r&&(r.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(r.timeout=this._opts.requestTimeout),r.onreadystatechange=()=>{var o;r.readyState===3&&((o=this._opts.cookieJar)===null||o===void 0||o.parseCookies(r.getResponseHeader("set-cookie"))),r.readyState===4&&(r.status===200||r.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof r.status=="number"?r.status:0)},0))},r.send(this._data)}catch(o){this.setTimeoutFn(()=>{this._onError(o)},0);return}typeof document<"u"&&(this._index=Fd.requestsCount++,Fd.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=RF,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete Fd.requests[this._index],this._xhr=null}}_onLoad(){const t=this._xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}};if(Ni.requestsCount=0,Ni.requests={},typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",i9);else if(typeof addEventListener=="function"){const e="onpagehide"in $n?"pagehide":"unload";addEventListener(e,i9,!1)}}function i9(){for(let e in Ni.requests)Ni.requests.hasOwnProperty(e)&&Ni.requests[e].abort()}const MF=function(){const e=s9({xdomain:!1});return e&&e.responseType!==null}();class PF extends DF{constructor(t){super(t);const n=t&&t.forceBase64;this.supportsBinary=MF&&!n}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new Ni(s9,this.uri(),t)}}function s9(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||VF))return new XMLHttpRequest}catch{}if(!t)try{return new $n[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const l9=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class LF extends vh{get name(){return"websocket"}doOpen(){const t=this.uri(),n=this.opts.protocols,r=l9?{}:r9(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,n,r)}catch(o){return this.emitReserved("error",o)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],o=n===t.length-1;hh(r,this.supportsBinary,i=>{try{this.doWrite(r,i)}catch{}o&&Ad(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",n=this.query||{};return this.opts.timestampRequests&&(n[this.opts.timestampParam]=a9()),this.supportsBinary||(n.b64=1),this.createUri(t,n)}}const yh=$n.WebSocket||$n.MozWebSocket;class FF extends LF{createSocket(t,n,r){return l9?new yh(t,n,r):n?new yh(t,n):new yh(t)}doWrite(t,n){this.ws.send(n)}}class UF extends vh{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{const n=wF(Number.MAX_SAFE_INTEGER,this.socket.binaryType),r=t.readable.pipeThrough(n).getReader(),o=bF();o.readable.pipeTo(t.writable),this._writer=o.writable.getWriter();const i=()=>{r.read().then(({done:l,value:c})=>{l||(this.onPacket(c),i())}).catch(l=>{})};i();const s={type:"open"};this.query.sid&&(s.data=`{"sid":"${this.query.sid}"}`),this._writer.write(s).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],o=n===t.length-1;this._writer.write(r).then(()=>{o&&Ad(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this._transport)===null||t===void 0||t.close()}}const ZF={websocket:FF,webtransport:UF,polling:PF},zF=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,jF=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function bh(e){if(e.length>8e3)throw"URI too long";const t=e,n=e.indexOf("["),r=e.indexOf("]");n!=-1&&r!=-1&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let o=zF.exec(e||""),i={},s=14;for(;s--;)i[jF[s]]=o[s]||"";return n!=-1&&r!=-1&&(i.source=t,i.host=i.host.substring(1,i.host.length-1).replace(/;/g,":"),i.authority=i.authority.replace("[","").replace("]","").replace(/;/g,":"),i.ipv6uri=!0),i.pathNames=HF(i,i.path),i.queryKey=qF(i,i.query),i}function HF(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&r.splice(0,1),t.slice(-1)=="/"&&r.splice(r.length-1,1),r}function qF(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,o,i){o&&(n[o]=i)}),n}const wh=typeof addEventListener=="function"&&typeof removeEventListener=="function",Bd=[];wh&&addEventListener("offline",()=>{Bd.forEach(e=>e())},!1);class Ka extends Ft{constructor(t,n){if(super(),this.binaryType=kF,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(n=t,t=null),t){const r=bh(t);n.hostname=r.host,n.secure=r.protocol==="https"||r.protocol==="wss",n.port=r.port,r.query&&(n.query=r.query)}else n.host&&(n.hostname=bh(n.host).host);Od(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},n.transports.forEach(r=>{const o=r.prototype.name;this.transports.push(o),this._transportsByName[o]=r}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=OF(this.opts.query)),wh&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},Bd.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=n9,n.transport=t,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](r)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const t=this.opts.rememberUpgrade&&Ka.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const n=this.createTransport(t);n.open(),this.setTransport(n)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",n=>this._onClose("transport close",n))}onOpen(){this.readyState="open",Ka.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const n=new Error("server error");n.code=t.data,this._onError(n);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r<this.writeBuffer.length;r++){const o=this.writeBuffer[r].data;if(o&&(n+=SF(o)),r>0&&n>this._maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,Ad(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,n,r){return this._sendPacket("message",t,n,r),this}send(t,n,r){return this._sendPacket("message",t,n,r),this}_sendPacket(t,n,r,o){if(typeof n=="function"&&(o=n,n=void 0),typeof r=="function"&&(o=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const i={type:t,data:n,options:r};this.emitReserved("packetCreate",i),this.writeBuffer.push(i),o&&this.once("flush",o),this.flush()}close(){const t=()=>{this._onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},r=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():t()}):this.upgrading?r():t()),this}_onError(t){if(Ka.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,n){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),wh&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const r=Bd.indexOf(this._offlineEventListener);r!==-1&&Bd.splice(r,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this._prevBufferLen=0}}}Ka.protocol=n9;class WF extends Ka{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let t=0;t<this._upgrades.length;t++)this._probe(this._upgrades[t])}_probe(t){let n=this.createTransport(t),r=!1;Ka.priorWebsocketSuccess=!1;const o=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",f=>{if(!r)if(f.type==="pong"&&f.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;Ka.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(d(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const h=new Error("probe error");h.transport=n.name,this.emitReserved("upgradeError",h)}}))};function i(){r||(r=!0,d(),n.close(),n=null)}const s=f=>{const h=new Error("probe error: "+f);h.transport=n.name,i(),this.emitReserved("upgradeError",h)};function l(){s("transport closed")}function c(){s("socket closed")}function u(f){n&&f.name!==n.name&&i()}const d=()=>{n.removeListener("open",o),n.removeListener("error",s),n.removeListener("close",l),this.off("close",c),this.off("upgrading",u)};n.once("open",o),n.once("error",s),n.once("close",l),this.once("close",c),this.once("upgrading",u),this._upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{r||n.open()},200):n.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){const n=[];for(let r=0;r<t.length;r++)~this.transports.indexOf(t[r])&&n.push(t[r]);return n}}let GF=class extends WF{constructor(t,n={}){const r=typeof t=="object"?t:n;(!r.transports||r.transports&&typeof r.transports[0]=="string")&&(r.transports=(r.transports||["polling","websocket","webtransport"]).map(o=>ZF[o]).filter(o=>!!o)),super(t,r)}};function KF(e,t="",n){let r=e;n=n||typeof location<"u"&&location,e==null&&(e=n.protocol+"//"+n.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=n.protocol+e:e=n.host+e),/^(https?|wss?):\/\//.test(e)||(typeof n<"u"?e=n.protocol+"//"+e:e="https://"+e),r=bh(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";const i=r.host.indexOf(":")!==-1?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+i+":"+r.port+t,r.href=r.protocol+"://"+i+(n&&n.port===r.port?"":":"+r.port),r}const YF=typeof ArrayBuffer=="function",JF=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,c9=Object.prototype.toString,XF=typeof Blob=="function"||typeof Blob<"u"&&c9.call(Blob)==="[object BlobConstructor]",QF=typeof File=="function"||typeof File<"u"&&c9.call(File)==="[object FileConstructor]";function _h(e){return YF&&(e instanceof ArrayBuffer||JF(e))||XF&&e instanceof Blob||QF&&e instanceof File}function Id(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n<r;n++)if(Id(e[n]))return!0;return!1}if(_h(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return Id(e.toJSON(),!0);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&Id(e[n]))return!0;return!1}function NF(e){const t=[],n=e.data,r=e;return r.data=kh(n,t),r.attachments=t.length,{packet:r,buffers:t}}function kh(e,t){if(!e)return e;if(_h(e)){const n={_placeholder:!0,num:t.length};return t.push(e),n}else if(Array.isArray(e)){const n=new Array(e.length);for(let r=0;r<e.length;r++)n[r]=kh(e[r],t);return n}else if(typeof e=="object"&&!(e instanceof Date)){const n={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=kh(e[r],t));return n}return e}function $F(e,t){return e.data=Eh(e.data,t),delete e.attachments,e}function Eh(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=Eh(e[n],t);else if(typeof e=="object")for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=Eh(e[n],t));return e}const eU=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],tU=5;var Ue;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(Ue||(Ue={}));class nU{constructor(t){this.replacer=t}encode(t){return(t.type===Ue.EVENT||t.type===Ue.ACK)&&Id(t)?this.encodeAsBinary({type:t.type===Ue.EVENT?Ue.BINARY_EVENT:Ue.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let n=""+t.type;return(t.type===Ue.BINARY_EVENT||t.type===Ue.BINARY_ACK)&&(n+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(n+=t.nsp+","),t.id!=null&&(n+=t.id),t.data!=null&&(n+=JSON.stringify(t.data,this.replacer)),n}encodeAsBinary(t){const n=NF(t),r=this.encodeAsString(n.packet),o=n.buffers;return o.unshift(r),o}}function u9(e){return Object.prototype.toString.call(e)==="[object Object]"}class xh extends Ft{constructor(t){super(),this.reviver=t}add(t){let n;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(t);const r=n.type===Ue.BINARY_EVENT;r||n.type===Ue.BINARY_ACK?(n.type=r?Ue.EVENT:Ue.ACK,this.reconstructor=new rU(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(_h(t)||t.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(t),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let n=0;const r={type:Number(t.charAt(0))};if(Ue[r.type]===void 0)throw new Error("unknown packet type "+r.type);if(r.type===Ue.BINARY_EVENT||r.type===Ue.BINARY_ACK){const i=n+1;for(;t.charAt(++n)!=="-"&&n!=t.length;);const s=t.substring(i,n);if(s!=Number(s)||t.charAt(n)!=="-")throw new Error("Illegal attachments");r.attachments=Number(s)}if(t.charAt(n+1)==="/"){const i=n+1;for(;++n&&!(t.charAt(n)===","||n===t.length););r.nsp=t.substring(i,n)}else r.nsp="/";const o=t.charAt(n+1);if(o!==""&&Number(o)==o){const i=n+1;for(;++n;){const s=t.charAt(n);if(s==null||Number(s)!=s){--n;break}if(n===t.length)break}r.id=Number(t.substring(i,n+1))}if(t.charAt(++n)){const i=this.tryParse(t.substr(n));if(xh.isPayloadValid(r.type,i))r.data=i;else throw new Error("invalid payload")}return r}tryParse(t){try{return JSON.parse(t,this.reviver)}catch{return!1}}static isPayloadValid(t,n){switch(t){case Ue.CONNECT:return u9(n);case Ue.DISCONNECT:return n===void 0;case Ue.CONNECT_ERROR:return typeof n=="string"||u9(n);case Ue.EVENT:case Ue.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="number"||typeof n[0]=="string"&&eU.indexOf(n[0])===-1);case Ue.ACK:case Ue.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class rU{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=$F(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const aU=Object.freeze(Object.defineProperty({__proto__:null,Decoder:xh,Encoder:nU,get PacketType(){return Ue},protocol:tU},Symbol.toStringTag,{value:"Module"}));function vr(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const oU=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class d9 extends Ft{constructor(t,n,r){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=n,r&&r.auth&&(this.auth=r.auth),this._opts=Object.assign({},r),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[vr(t,"open",this.onopen.bind(this)),vr(t,"packet",this.onpacket.bind(this)),vr(t,"error",this.onerror.bind(this)),vr(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){var r,o,i;if(oU.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(n.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const s={type:Ue.EVENT,data:n};if(s.options={},s.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const d=this.ids++,f=n.pop();this._registerAckCallback(d,f),s.id=d}const l=(o=(r=this.io.engine)===null||r===void 0?void 0:r.transport)===null||o===void 0?void 0:o.writable,c=this.connected&&!(!((i=this.io.engine)===null||i===void 0)&&i._hasPingExpired());return this.flags.volatile&&!l||(c?(this.notifyOutgoingListeners(s),this.packet(s)):this.sendBuffer.push(s)),this.flags={},this}_registerAckCallback(t,n){var r;const o=(r=this.flags.timeout)!==null&&r!==void 0?r:this._opts.ackTimeout;if(o===void 0){this.acks[t]=n;return}const i=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let l=0;l<this.sendBuffer.length;l++)this.sendBuffer[l].id===t&&this.sendBuffer.splice(l,1);n.call(this,new Error("operation has timed out"))},o),s=(...l)=>{this.io.clearTimeoutFn(i),n.apply(this,l)};s.withError=!0,this.acks[t]=s}emitWithAck(t,...n){return new Promise((r,o)=>{const i=(s,l)=>s?o(s):r(l);i.withError=!0,n.push(i),this.emit(t,...n)})}_addToQueue(t){let n;typeof t[t.length-1]=="function"&&(n=t.pop());const r={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((o,...i)=>r!==this._queue[0]?void 0:(o!==null?r.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(o)):(this._queue.shift(),n&&n(null,...i)),r.pending=!1,this._drainQueue())),this._queue.push(r),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!t||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:Ue.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(r=>String(r.id)===t)){const r=this.acks[t];delete this.acks[t],r.withError&&r.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case Ue.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case Ue.EVENT:case Ue.BINARY_EVENT:this.onevent(t);break;case Ue.ACK:case Ue.BINARY_ACK:this.onack(t);break;case Ue.DISCONNECT:this.ondisconnect();break;case Ue.CONNECT_ERROR:this.destroy();const r=new Error(t.data.message);r.data=t.data.data,this.emitReserved("connect_error",r);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const r of n)r.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const n=this;let r=!1;return function(...o){r||(r=!0,n.packet({type:Ue.ACK,id:t,data:o}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(delete this.acks[t.id],n.withError&&t.data.unshift(null),n.apply(this,t.data))}onconnect(t,n){this.id=t,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:Ue.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const n=this._anyOutgoingListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const r of n)r.apply(this,t.data)}}}function $i(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}$i.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+n:e-n}return Math.min(e,this.max)|0},$i.prototype.reset=function(){this.attempts=0},$i.prototype.setMin=function(e){this.ms=e},$i.prototype.setMax=function(e){this.max=e},$i.prototype.setJitter=function(e){this.jitter=e};class Ch extends Ft{constructor(t,n){var r;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,Od(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((r=n.randomizationFactor)!==null&&r!==void 0?r:.5),this.backoff=new $i({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const o=n.parser||aU;this.encoder=new o.Encoder,this.decoder=new o.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,t||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new GF(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const o=vr(n,"open",function(){r.onopen(),t&&t()}),i=l=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",l),t?t(l):this.maybeReconnectOnOpen()},s=vr(n,"error",i);if(this._timeout!==!1){const l=this._timeout,c=this.setTimeoutFn(()=>{o(),i(new Error("timeout")),n.close()},l);this.opts.autoUnref&&c.unref(),this.subs.push(()=>{this.clearTimeoutFn(c)})}return this.subs.push(o),this.subs.push(s),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(vr(t,"ping",this.onping.bind(this)),vr(t,"data",this.ondata.bind(this)),vr(t,"error",this.onerror.bind(this)),vr(t,"close",this.onclose.bind(this)),vr(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){Ad(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let r=this.nsps[t];return r?this._autoConnect&&!r.active&&r.connect():(r=new d9(this,t,n),this.nsps[t]=r),r}_destroy(t){const n=Object.keys(this.nsps);for(const r of n)if(this.nsps[r].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let r=0;r<n.length;r++)this.engine.write(n[r],t.options)}cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(t,n){var r;this.cleanup(),(r=this.engine)===null||r===void 0||r.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const r=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(o=>{o?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",o)):t.onreconnect()}))},n);this.opts.autoUnref&&r.unref(),this.subs.push(()=>{this.clearTimeoutFn(r)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const Ml={};function Vd(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=KF(e,t.path||"/socket.io"),r=n.source,o=n.id,i=n.path,s=Ml[o]&&i in Ml[o].nsps,l=t.forceNew||t["force new connection"]||t.multiplex===!1||s;let c;return l?c=new Ch(r,t):(Ml[o]||(Ml[o]=new Ch(r,t)),c=Ml[o]),n.query&&!t.query&&(t.query=n.queryKey),c.socket(n.path,t)}Object.assign(Vd,{Manager:Ch,Socket:d9,io:Vd,connect:Vd});const Lr=a.ref(null),Sh=new Set,Pl=a.ref("");let Rd="";const iU=(e,t)=>`${e}::${t}`;function sU(){var i,s,l;const e=et(),t=(i=e.apiWebSocketURL)==null?void 0:i.trim(),n=((s=Pl.value)==null?void 0:s.trim())||((l=e.webSocketToken)==null?void 0:l.trim());if(!t||!n)return null;const r=iU(t,n);if(Lr.value&&Rd===r)return Lr.value;Lr.value&&Rd!==r&&(Lr.value.disconnect(),Lr.value=null);const o=Vd(`${t}/notificacion`,{query:{usuarioId:e.deviceId,aplicacion:"auth",modulo:"login"},auth:{token:n??""},autoConnect:!1,transports:["websocket"],reconnection:!0,reconnectionAttempts:5,reconnectionDelay:1e4,reconnectionDelayMax:3e4,randomizationFactor:.5,multiplex:!1});return o.on("notification",c=>{Sh.forEach(u=>{try{u(c)}catch{}})}),Rd=r,Lr.value=o,o}function lU(){const e=et();return{connect:()=>{const l=sU();return l?(l.connected||l.connect(),!0):!1},disconnect:()=>{Lr.value&&(Lr.value.disconnect(),Lr.value=null,Rd=""),Pl.value=""},subscribe:l=>(Sh.add(l),()=>Sh.delete(l)),isConfigured:()=>{var c,u,d;const l=((c=Pl.value)==null?void 0:c.trim())||((u=e.webSocketToken)==null?void 0:u.trim());return!!((d=e.apiWebSocketURL)!=null&&d.trim()&&l)},setTemporaryToken:l=>{Pl.value=(l==null?void 0:l.trim())??""},clearTemporaryToken:()=>{Pl.value=""},socket:Lr}}function cU(e){var r;const t=(r=e==null?void 0:e.response)==null?void 0:r.code,n=String((e==null?void 0:e.message)??"");return t==="ACCESO_SUSPENDIDO"||n.startsWith("El acceso está suspendido")?"Acceso suspendido":t==="CREDENCIALES_INCORRECTAS"||n.startsWith("Las credenciales son incorrectas")?"Credenciales incorrectas":null}function uU(e){const t=et(),n=qs(),r=lU(),o=a.ref(!1),{redirectCD:i}=iF(),{refCounter:s,currentContacto:l,message2Fa:c,message2FaContexto:u,url2FaContexto:d}=iu("2auth"),f=a.reactive({verificadoWhatsapp:!1,verificadoTelegram:!1,verificadoEmail:!1,verificadoRoma:!1,verificadoSms:!1}),h=a.ref(!1),p=a.ref([]),g=a.ref(!1),w=a.ref(!1),y=a.ref(!1),k=a.ref(!1),v=a.ref(""),m=a.ref(3),b=a.ref(void 0);let _=null,E=null,x=null;const O=a.markRaw([{name:"step1"},{name:"step2"}]),B=[oe.object().shape({usuario:oe.string().required("Cédula de identidad es requerida").label("Cédula de identidad"),password:oe.string().required("Contraseña es requerida").label("Contraseña")}),oe.object().shape({code:oe.string().required("Debe ingresar un código de verificación").matches(fo,"El código debe contener solo letras y números").label("Código")})],S=a.ref(0),A=a.computed(()=>B[S.value]),{handleSubmit:D,values:q,errors:F,setErrors:X,resetForm:fe,setFieldValue:ae}=je.useForm({validationSchema:A,keepValuesOnUnmount:!0}),{value:Z}=je.useField("usuarioId"),{value:z}=je.useField("esDispositivoConfianza",void 0,{initialValue:!1}),ne=H=>t.resolveDeviceIdFromCookie(H??q.usuario??""),Y={[ee.WHATSAPP]:"verificadoWhatsapp",[ee.TELEGRAM]:"verificadoTelegram",[ee.EMAIL]:"verificadoEmail",[ee.ROMA]:"verificadoRoma",[ee.SMS]:"verificadoSms"},de=H=>({1:ee.ROMA,2:ee.TELEGRAM,3:ee.EMAIL,4:ee.WHATSAPP,5:ee.SMS})[H]??H,he=H=>({[ee.ROMA]:1,[ee.TELEGRAM]:2,[ee.EMAIL]:3,[ee.WHATSAPP]:4,[ee.SMS]:5})[H]??H,_e=(H,pe)=>{const ue=Y[H];ue&&(f[ue]=pe)},st=()=>{Object.keys(f).forEach(H=>{f[H]=!1})},se=(H,pe)=>{st();const ue=H.map(re=>Number(re==null?void 0:re.medio)).filter(re=>!Number.isNaN(re)).map(re=>pe?de(re):re);p.value=[...new Set(ue)],H.forEach(re=>{const Oe=Number(re==null?void 0:re.medio);if(Number.isNaN(Oe))return;const I=pe?de(Oe):Oe;_e(I,!!(re!=null&&re.verificado))})},ge=H=>{st();const pe={verificadoWhatsapp:ee.WHATSAPP,verificadoTelegram:ee.TELEGRAM,verificadoEmail:ee.EMAIL,verificadoRoma:ee.ROMA,verificadoSms:ee.SMS},ue=Object.entries(H).filter(([,re])=>re!=null).map(([re])=>pe[re]);p.value=[...new Set(ue)],Object.entries(H).forEach(([re,Oe])=>{Oe!=null&&(f[re]=!!Oe)})},Rt=(H,pe)=>{const ue=uF(H);if(!ue)return!1;if(ue.esRegularizable){const re=dF(ue,pe);if(re)return t.goRegistrarRegularizacion(re),K.info(`<p class="toast-title">Verificación pendiente</p><p class="toast-description">${ue.message||"Complete la verificación de identidad con las fotografías de su documento."}</p>`,{autoClose:8e3,hideProgressBar:!1,dangerouslyHTMLString:!0}),!0}return ue.esPendienteAprobacion?(cn({error:H,setErrors:X,toastTitle:"Verificación en revisión",autoClose:1e4,hideProgressBar:!1}),!0):ue.esRechazado?(K.error(`<p class="toast-title">Registro rechazado</p><p class="toast-description">${fF(ue)}</p>`,{autoClose:1e4,hideProgressBar:!1,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0}),!0):!1},an=D(async H=>{var pe,ue,re,Oe,I,ze,on,bt;n.setLoading(!0),u.value="",d.value="";try{const en=ne(H.usuario),Me=await t.onLogin({...H,codigoDispositivo:en});t.usaAuthNvEnLogin?((ue=(pe=Me==null?void 0:Me.response)==null?void 0:pe.data)==null?void 0:ue.mediosVerificados.length)>0?(S.value=S.value+1,l.value=(Oe=(re=Me==null?void 0:Me.response)==null?void 0:re.data)==null?void 0:Oe.usuario,Z.value=(ze=(I=Me==null?void 0:Me.response)==null?void 0:I.data)==null?void 0:ze.usuarioId,c.value=Me==null?void 0:Me.message,o.value=!0,se((bt=(on=Me==null?void 0:Me.response)==null?void 0:on.data)==null?void 0:bt.mediosVerificados,!0),g.value=!1,h.value=!0,y.value=!1,u.value="",d.value="",a.nextTick(()=>{var P,Be,lt;(lt=s.value)==null||lt.reInit(((Be=(P=Me==null?void 0:Me.response)==null?void 0:P.data)==null?void 0:Be.tiempoVigencia)??120)}),G()):(o.value=!1,e("onLogin")):Me!=null&&Me.usuarioId&&(Me!=null&&Me.factor2FA)?(S.value=S.value+1,l.value=Me.contacto,Array.isArray(Me.mediosVerificados)?se(Me.mediosVerificados,!1):ge(Me.mediosVerificados??{}),c.value=Me.message,u.value="",d.value="",g.value=!1,h.value=!0,y.value=!1,Z.value=Me.usuarioId,a.nextTick(()=>{var P;(P=s.value)==null||P.reInit((Me.minutos??2)*60)}),G()):(o.value=!1,e("onLogin"))}catch(en){u.value="",d.value="",en.status===403&&(o.value=!0);const Me=cU(en);if(!Rt(en,H.usuario)){const P=/Su acceso/i.test((en==null?void 0:en.message)??"");cn({error:en,setErrors:X,...Me&&{toastTitle:Me,autoClose:8e3},...P&&{toastTitle:"Cuenta Pendiente de Activación",autoClose:1e4,hideProgressBar:!1}})}e("onError")}finally{n.setLoading(!1)}}),De=async({medio:H})=>{var pe,ue,re,Oe;try{n.setLoading(!0);const I=await gw({medio:Number(H),usuarioId:Z.value});if(((ue=(pe=I==null?void 0:I.response)==null?void 0:pe.data)==null?void 0:ue.medioActualizado)===!0){switch(H){case ee.WHATSAPP:f.verificadoWhatsapp=!0;break;case ee.TELEGRAM:f.verificadoTelegram=!0;break;case ee.EMAIL:f.verificadoEmail=!0;break;case ee.SMS:f.verificadoSms=!0;break}g.value=!0,h.value=!0,a.nextTick(()=>{ae("medio",void 0)}),K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${I.message||"Medio verificado exitosamente"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:jn,closeOnClick:!1,dangerouslyHTMLString:!0}),n.setLoading(!1);return}c.value=I.message,g.value=!1,h.value=!1,y.value=!0,(re=I==null?void 0:I.response)!=null&&re.data&&!(I!=null&&I.error)?(u.value=I.response.data.mensajeServicio??"",d.value=I.response.data.url??""):(u.value="",d.value=""),a.nextTick(()=>{var ze;(ze=s.value)==null||ze.reInit((I.minutos??2)*60)})}catch(I){throw u.value="",d.value="",K.error(`Error al enviar código: ${((Oe=I==null?void 0:I.data)==null?void 0:Oe.message)||(I==null?void 0:I.message)||"intente nuevamente"}`),n.setLoading(!1),I}finally{n.setLoading(!1)}},Ze=async({medio:H})=>{var pe,ue,re,Oe;try{n.setLoading(!0);const I=await tp({medio:he(Number(H)),usuarioId:Z.value});if(((ue=(pe=I==null?void 0:I.response)==null?void 0:pe.data)==null?void 0:ue.medioActualizado)===!0){_e(H,!0),g.value=!0,h.value=!0,a.nextTick(()=>{ae("medio",void 0)}),K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${I.message||"Medio verificado exitosamente"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:jn,closeOnClick:!1,dangerouslyHTMLString:!0}),n.setLoading(!1);return}c.value=I.message,g.value=!1,h.value=!1,y.value=!0,(re=I==null?void 0:I.response)!=null&&re.data&&!(I!=null&&I.error)?(u.value=I.response.data.mensajeServicio??"",d.value=I.response.data.url??""):(u.value="",d.value=""),a.nextTick(()=>{var ze;(ze=s.value)==null||ze.reInit((I.minutos??2)*60)})}catch(I){throw u.value="",d.value="",K.error(`Error al enviar código: ${((Oe=I==null?void 0:I.data)==null?void 0:Oe.message)||(I==null?void 0:I.message)||"intente nuevamente"}`),n.setLoading(!1),I}finally{n.setLoading(!1)}},ct=async({medio:H})=>{var pe,ue,re,Oe;try{n.setLoading(!0);const I=await rp({medio:Number(H),usuarioId:Z.value,deviceId:ne(q.usuario),isLogin:!0,aplicacion:t.aplicacion});if(((ue=(pe=I==null?void 0:I.response)==null?void 0:pe.data)==null?void 0:ue.medioActualizado)===!0){switch(H){case ee.WHATSAPP:f.verificadoWhatsapp=!0;break;case ee.TELEGRAM:f.verificadoTelegram=!0;break;case ee.EMAIL:f.verificadoEmail=!0;break;case ee.SMS:f.verificadoSms=!0;break}g.value=!0,h.value=!0,a.nextTick(()=>{ae("medio",void 0)}),K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${I.message||"Medio verificado exitosamente"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:jn,closeOnClick:!1,dangerouslyHTMLString:!0}),n.setLoading(!1);return}c.value=I.message,g.value=!1,h.value=!1,y.value=!0,(re=I==null?void 0:I.response)!=null&&re.data&&!(I!=null&&I.error)?(u.value=I.response.data.mensajeServicio??"",d.value=I.response.data.url??""):(u.value="",d.value=""),a.nextTick(()=>{var ze;(ze=s.value)==null||ze.reInit((I.minutos??2)*60)})}catch(I){throw u.value="",d.value="",K.error(`Error al enviar código: ${((Oe=I==null?void 0:I.data)==null?void 0:Oe.message)||(I==null?void 0:I.message)||"intente nuevamente"}`),n.setLoading(!1),I}finally{n.setLoading(!1)}},te=async({medio:H})=>{var pe,ue,re,Oe;try{n.setLoading(!0);const I=await ap({medio:he(Number(H)),usuarioId:Z.value,deviceId:ne(q.usuario),isLogin:!0,aplicacion:t.aplicacion});if(((ue=(pe=I==null?void 0:I.response)==null?void 0:pe.data)==null?void 0:ue.medioActualizado)===!0){_e(H,!0),g.value=!0,h.value=!0,a.nextTick(()=>{ae("medio",void 0)}),K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${I.message||"Medio verificado exitosamente"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:jn,closeOnClick:!1,dangerouslyHTMLString:!0}),n.setLoading(!1);return}c.value=I.message,g.value=!1,h.value=!1,y.value=!0,(re=I==null?void 0:I.response)!=null&&re.data&&!(I!=null&&I.error)?(u.value=I.response.data.mensajeServicio??"",d.value=I.response.data.url??""):(u.value="",d.value=""),a.nextTick(()=>{var ze;(ze=s.value)==null||ze.reInit((I.minutos??2)*60)})}catch(I){throw u.value="",d.value="",K.error(`Error al enviar código: ${((Oe=I==null?void 0:I.data)==null?void 0:Oe.message)||(I==null?void 0:I.message)||"intente nuevamente"}`),n.setLoading(!1),I}finally{n.setLoading(!1)}},ve=D(async H=>{try{n.setLoading(!0),await t.on2AuthNuevoServicioLogin({medio:t.usaAuthNvEnLogin?he(Number(H.medio)):Number(H.medio),usuarioId:Z.value,codigo:H.code,aplicacion:t.aplicacion,codigoDispositivo:ne(H.usuario),esDispositivoConfianza:H.esDispositivoConfianza,usuario:H.usuario}),k.value=!1,N(),V(),e("onLogin")}catch(pe){cn({error:pe,setErrors:X})}finally{n.setLoading(!1)}}),N=()=>{b.value&&(globalThis.clearTimeout(b.value),b.value=void 0)},C=()=>{_&&(_(),_=null),E&&(E(),E=null),r.clearTemporaryToken()},V=()=>{C(),r.disconnect()},T=async()=>{const H=q.usuario??"",pe=ne(H);t.usaAuthNvEnLogin?await t.onConfirmarPushLoginNv({usuarioId:Number(Z.value),challengeId:v.value,aplicacion:t.aplicacion,deviceId:pe,esDispositivoConfianza:q.esDispositivoConfianza??!1,numeroDocumento:H}):await t.onConfirmarPushLogin({usuarioId:Number(Z.value),challengeId:v.value,aplicacion:t.aplicacion,codigoDispositivo:pe,esDispositivoConfianza:q.esDispositivoConfianza??!1,usuario:H}),k.value=!1,V(),e("onLogin")},U=H=>H===3||H===4||H===5||H===6,j=H=>{if(b.value)return;const pe=()=>{if(!k.value||v.value!==H){N();return}const ue={challengeId:H,usuarioId:Number(Z.value),aplicacion:t.aplicacion};(t.usaAuthNvEnLogin?_w(ue):xw(ue)).then(Oe=>{var ze,on;const I=Number((on=(ze=Oe==null?void 0:Oe.response)==null?void 0:ze.data)==null?void 0:on.estado);if(I===2){N(),V(),T();return}if(U(I)){N(),V(),K.error("La solicitud de inicio de sesión fue rechazada, expirada o ya utilizada."),rt();return}b.value=globalThis.setTimeout(pe,Math.max(m.value,1)*1e3)}).catch(()=>{N(),V(),rt()})};b.value=globalThis.setTimeout(pe,Math.max(m.value,1)*1e3)},R=H=>{const{connect:pe,subscribe:ue,isConfigured:re,socket:Oe}=r;if(!re())return!1;let I=!1;const ze=()=>{I||!k.value||v.value!==H||(I=!0,V(),j(H))};pe(),_=ue(bt=>{if(bt&&"type"in bt&&bt.type==="PUSH_CHALLENGE_APPROVED"&&bt.challengeId===H){N(),V(),T();return}bt&&"type"in bt&&bt.type==="PUSH_CHALLENGE_REJECTED"&&(!("challengeId"in bt)||!bt.challengeId||bt.challengeId===H)&&(N(),V(),K.error("La solicitud de inicio de sesión fue rechazada."),rt())});const on=Oe.value;if(on){const bt=()=>ze(),en=()=>ze();on.on("connect_error",bt),on.on("disconnect",en),E=()=>{on.off("connect_error",bt),on.off("disconnect",en)}}return globalThis.setTimeout(()=>{var bt;!k.value||v.value!==H||(bt=Oe.value)!=null&&bt.connected||ze()},Math.max(m.value,1)*1e3),!0},G=()=>{const H={usuarioId:Number(Z.value),aplicacion:t.aplicacion,deviceId:ne(q.usuario)};(t.usaAuthNvEnLogin?ww(H):Ew(H)).then(ue=>{var I;const re=((I=ue==null?void 0:ue.response)==null?void 0:I.data)??{},Oe=re==null?void 0:re.challengeId;Oe&&(r.setTemporaryToken(String((re==null?void 0:re.wsToken)??"")),v.value=Oe,m.value=Number((re==null?void 0:re.pollingIntervalSugerido)??3),k.value=!0,a.nextTick(()=>{var ze;(ze=s.value)==null||ze.reInit(Number((re==null?void 0:re.tiempoVigencia)??60))}),!R(Oe)&&j(Oe))}).catch(()=>{})},W=async(H,pe,ue)=>{n.setLoading(!0);try{await t.onAutorizarQrNv(H,pe,ue),o.value=!1,e("onLogin")}catch(re){re.status===403&&(o.value=!0),cn({error:re,setErrors:X}),e("onError")}finally{n.setLoading(!1)}},Se=()=>{x&&(x(),x=null),r.clearTemporaryToken(),r.disconnect()},$e=async()=>{var H;if(!(!t.usaAuthNvEnLogin||!((H=t.apiWebSocketURL)!=null&&H.trim())))try{const{wsToken:pe}=await hw(t.aplicacion,t.deviceId);if(!(pe!=null&&pe.trim())||(r.setTemporaryToken(pe),!r.isConfigured()))return;r.connect(),x||(x=r.subscribe(async ue=>{ue&&"type"in ue||ue&&"token"in ue&&ue.token&&ue.sessionId!=null&&ue.usuarioId!=null&&(Se(),await W(ue.token,ue.sessionId,ue.usuarioId))}))}catch{}},Re=D(async H=>{try{n.setLoading(!0),t.usaAuthNvEnLogin?(await t.on2AuthLoginNv({otp:Number(H.code),numeroDocumento:H.usuario,deviceId:ne(H.usuario),aplicacion:t.aplicacion,dispositivoConfianza:H.esDispositivoConfianza}),e("onLogin")):(await t.on2AuthLogin({code:Number(H.code),usuarioId:Z.value,aplicacion:H.aplicacion,codigoDispositivo:ne(H.usuario),esDispositivoConfianza:H.esDispositivoConfianza,usuario:H.usuario}),e("onLogin"))}catch(pe){cn({error:pe,setErrors:X})}finally{n.setLoading(!1)}}),rt=()=>{N(),V(),t.usaAuthNvEnLogin&&Se(),S.value=0,fe(),y.value=!1,k.value=!1,v.value="",u.value="",d.value=""},Le=()=>{N(),V(),k.value=!1},xt=H=>{const pe=Y[H];return pe?f[pe]:void 0},xn=async()=>{if(q.medio){const H=Number(q.medio),pe=xt(H);try{pe===!1?t.usaAuthNvEnLogin?await Ze({medio:H}):await De({medio:H}):t.usaAuthNvEnLogin?await te({medio:H}):await ct({medio:H})}catch(ue){throw ue}}},yt=a.computed(()=>window.getComputedStyle(document.documentElement).getPropertyValue("--fge-primary-button-text-color"));return{values:q,schemas:B,showBtnByCode:o,refCounter:s,currentContacto:l,message2Fa:c,steps:O,currentStep:S,usuarioId:Z,esDispositivoConfianza:z,errors:F,iconColor:yt,onAutorizarNv:W,refreshQrWebSocketConnection:$e,stopQrWebSocketConnection:Se,onLogin:an,on2AuthLogin:Re,goLoginPage:rt,dejarFlujoPushParaOtrosMedios:Le,onEnviarMensaje:xn,loginCiudadania:async()=>{n.setLoading(!0);try{const H=await i();H&&(await t.onLoginCiudadania(H.data),e("onLogin"))}catch(H){K.error(`<p class="toast-title">Error</p><p class="toast-description">${(H==null?void 0:H.message)||"Ha ocurrido un error al intentar logearse con CD"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0})}finally{n.setLoading(!1)}},mostrarBotonOpciones:h,mediosVerificados:f,mediosDisponibles:p,onEnviarCodigoAlUsuario:De,mostrarMedios:g,onEnviarCodigoVerificadoAlUsuario:ct,servicio2faNuevo:w,onConfirmarCodigoNuevo:ve,isPushFlow:k,onEnviarCodigoAlUsuarioNv:Ze,onEnviarCodigoVerificadoAlUsuarioNv:te,message2FaContexto:u,url2FaContexto:d,medioYaSeleccionado:y}}const dU={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 33 32"},fU=[a.createElementVNode("path",{stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"2",d:"M16.38 31a15 15 0 1 0 0-30 15 15 0 0 0 0 30Z",class:"stroke-content"},null,-1),a.createElementVNode("path",{stroke:"currentColor",d:"M23.59 8.97A9.54 9.54 0 0 0 8.61 20.45l-1.35 4.93 5.04-1.32A9.54 9.54 0 0 0 23.59 8.98v-.01Zm-6.73 14.64a7.92 7.92 0 0 1-4.03-1.1l-.29-.17-2.99.78.8-2.92-.19-.3a7.9 7.9 0 1 1 6.69 3.7l.01.01Zm4.34-5.92c-.24-.12-1.41-.69-1.62-.77-.22-.08-.38-.12-.53.12-.16.24-.61.77-.75.93-.14.16-.28.18-.52.06s-1-.37-1.91-1.18a7.02 7.02 0 0 1-1.32-1.65c-.14-.24-.01-.37.1-.49.11-.11.24-.28.36-.42.12-.14.16-.24.24-.4.08-.16.04-.3-.02-.42l-.73-1.76c-.19-.46-.39-.4-.53-.41h-.46a.85.85 0 0 0-.63.3c-.22.24-.83.81-.83 1.98s.85 2.3.97 2.46c.12.16 1.68 2.56 4.06 3.59.57.24 1.01.39 1.36.5.57.18 1.09.16 1.5.09.46-.07 1.41-.58 1.6-1.13.2-.56.2-1.03.14-1.13-.06-.1-.22-.16-.46-.28l-.02.01Z",class:"stroke-content","clip-rule":"evenodd"},null,-1)];function hU(e,t){return a.openBlock(),a.createElementBlock("svg",dU,[...fU])}const f9={render:hU},qt=e=>(a.pushScopeId("data-v-10b07860"),e=e(),a.popScopeId(),e),pU={class:"fge-right-container"},mU={key:0,class:"timeline-title object-contain",style:{"margin-top":"-10px"}},gU=qt(()=>a.createElementVNode("i",{class:"pi pi-qrcode"},null,-1)),vU={class:"object-contain"},yU={class:"qr-container"},bU=["src"],wU={class:""},_U=[qt(()=>a.createElementVNode("div",{class:"reload-icon"},[a.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},[a.createElementVNode("path",{fill:"white",d:"M500.33 199.44C485.75 112.33 412.25 48 320 48c-74.66 0-140.33 41.47-175.27 105.51l-26.64-15.37C103.28 130.83 96 138.77 96 148v96c0 8.84 7.16 16 16 16h96c9.23 0 17.17-7.28 17.86-16.09.67-8.35-3.92-15.98-11.15-19.89l-31.58-18.23C205.12 159.49 258.32 128 320 128c61.76 0 114.2 41.81 128.7 101.33 4.14 17.14 21.29 27.71 38.43 23.57s27.71-21.29 23.57-38.46z"})])],-1)),qt(()=>a.createElementVNode("p",{class:"reload-text"},[a.createTextVNode("Haz clic para"),a.createElementVNode("br"),a.createTextVNode("actualizar el código"),a.createElementVNode("br"),a.createTextVNode("QR")],-1))],kU={key:1,class:"qr-timeline"},EU=[qt(()=>a.createElementVNode("ol",{class:"timeline","aria-label":"Pasos para iniciar sesión con QR"},[a.createElementVNode("li",{class:"timeline-item"},[a.createElementVNode("span",{class:"timeline-icon","aria-hidden":"true"},[a.createElementVNode("i",{class:"pi pi-mobile"})]),a.createElementVNode("div",{class:"timeline-content"},[a.createElementVNode("div",{class:"timeline-step"},[a.createTextVNode("1. Abre la aplicación "),a.createElementVNode("strong",null,"ROMA")]),a.createElementVNode("div",{class:"timeline-desc"},[a.createTextVNode(" Descarga o abre la aplicación "),a.createElementVNode("strong",null,"ROMA"),a.createTextVNode(" en tu dispositivo móvil. ")])])]),a.createElementVNode("li",{class:"timeline-item"},[a.createElementVNode("span",{class:"timeline-icon","aria-hidden":"true"},[a.createElementVNode("i",{class:"pi pi-lock"})]),a.createElementVNode("div",{class:"timeline-content"},[a.createElementVNode("div",{class:"timeline-step"},[a.createTextVNode("2. Dirígete al "),a.createElementVNode("strong",null,"Autenticador")]),a.createElementVNode("div",{class:"timeline-desc"},[a.createTextVNode(" Busca en el menu "),a.createElementVNode("i",{class:"pi pi-align-left",style:{"margin-right":"4px","margin-left":"4px"}}),a.createTextVNode(" la seccion de autenticador. ")])])]),a.createElementVNode("li",{class:"timeline-item"},[a.createElementVNode("span",{class:"timeline-icon","aria-hidden":"true"},[a.createElementVNode("i",{class:"pi pi-qrcode"})]),a.createElementVNode("div",{class:"timeline-content"},[a.createElementVNode("div",{class:"timeline-step"},"3. Escanea el código QR"),a.createElementVNode("div",{class:"timeline-desc"}," Señala la cámara de tu dispositivo hacia el QR mostrado en pantalla. ")])])],-1))],xU={key:2,class:"msg-container",style:{"margin-top":"20px"}},CU=[qt(()=>a.createElementVNode("span",{class:"fge-text-gray fge-lines"},"O puede ingresar con",-1))],SU={class:"auth-form-container"},TU={class:"auth-input-container"},AU=qt(()=>a.createElementVNode("label",{for:"usuario",class:"fge-form-label"},"Cédula de Identidad:",-1)),OU={class:"auth-input-container"},BU=qt(()=>a.createElementVNode("label",{for:"password",class:"fge-form-label"},"Contraseña:",-1)),IU={class:"login-button-container"},VU=[qt(()=>a.createElementVNode("span",null,"Ingresar",-1))],RU={class:"login-link-button-container"},DU=[qt(()=>a.createElementVNode("span",null,"¿Ha olvidado su contraseña?",-1))],MU=[qt(()=>a.createElementVNode("span",null,"Registrarse",-1))],PU=qt(()=>a.createElementVNode("div",{class:"msg-container"},[a.createElementVNode("span",{class:"fge-text-gray fge-lines"},"O puede ingresar con")],-1)),LU=[qt(()=>a.createElementVNode("span",null,"Ingresar con Ciudadanía Digital",-1))],FU={key:0,class:"push-roma-banner"},UU=[qt(()=>a.createElementVNode("div",{class:"push-roma-banner-icon"},[a.createElementVNode("i",{class:"pi pi-mobile"})],-1)),qt(()=>a.createElementVNode("div",{class:"push-roma-banner-content"},[a.createElementVNode("p",{class:"push-roma-banner-title"},"Aprobación rápida desde tu móvil"),a.createElementVNode("p",{class:"push-roma-banner-desc"},[a.createTextVNode(" También puedes aprobar el inicio de sesión desde la aplicación "),a.createElementVNode("strong",null,"ROMA"),a.createTextVNode(" en tu dispositivo móvil. ")]),a.createElementVNode("p",{class:"push-roma-banner-hint"},[a.createElementVNode("i",{class:"pi pi-info-circle"}),a.createTextVNode(" Revisa la notificación en tu teléfono ")])],-1))],ZU={class:"login-button-container"},zU={class:"two-auth-container"},jU={key:0,class:"auth-checkbox-container"},HU={key:0,class:"text-center"},qU=[qt(()=>a.createElementVNode("span",null,"Seleccionar otros medios de verificación",-1))],WU={key:1},GU=qt(()=>a.createElementVNode("div",{class:"fge-horizontal-line"},null,-1)),KU=qt(()=>a.createElementVNode("div",{class:"fge-text-gray",style:{"text-align":"center"}}," Medios de verificación ",-1)),YU=qt(()=>a.createElementVNode("div",{class:"fge-horizontal-line"},null,-1)),JU={class:"auth-radiogroup"},XU={class:"radio-button-content"},QU=["for"],NU={class:"two-auth-container"},$U={class:"auth-checkbox-container"},eZ={class:"auth-checkbox-container",for:"esDispositivoConfianza"},tZ=qt(()=>a.createElementVNode("span",{class:"fge-text-gray"}," Dispositivo de confianza ",-1)),nZ=Ut(a.defineComponent({__name:"FgeLogin",emits:["onLogin","onError"],setup(e,{emit:t}){const n=et(),r=a.computed(()=>!!n.usaAuthNvEnLogin),o=t,{esDispositivoConfianza:i,refCounter:s,message2Fa:l,steps:c,currentStep:u,errors:d,iconColor:f,onLogin:h,on2AuthLogin:p,goLoginPage:g,dejarFlujoPushParaOtrosMedios:w,onEnviarMensaje:y,loginCiudadania:k,refreshQrWebSocketConnection:v,stopQrWebSocketConnection:m,mediosVerificados:b,mediosDisponibles:_,mostrarMedios:E,mostrarBotonOpciones:x,onEnviarCodigoAlUsuario:O,onEnviarCodigoVerificadoAlUsuario:B,onEnviarCodigoAlUsuarioNv:S,onEnviarCodigoVerificadoAlUsuarioNv:A,servicio2faNuevo:D,onConfirmarCodigoNuevo:q,isPushFlow:F,message2FaContexto:X,url2FaContexto:fe,medioYaSeleccionado:ae}=uU(o),Z=a.ref(""),z=a.ref(!1),ne=a.ref(void 0);let Y=!1;z.value=window.innerWidth<=768;let de=0;const he=a.ref(!1),_e=async()=>{if(!(!r.value||Y)){Y=!0;try{const N=await dw(n.aplicacion,n.deviceId);if(!N)throw new Error("Error al cargar QR");const{qrImage:C,expiresIn:V}=N;Z.value=`${C}`,await v(),de++,de<5?setTimeout(()=>{_e()},V*1e3):he.value=!0}catch(N){console.error("Error cargando QR:",N)}finally{Y=!1}}};a.onMounted(()=>{!z.value&&r.value&&_e()}),a.onBeforeUnmount(()=>{ne.value&&clearInterval(ne.value)}),a.onUnmounted(()=>{n.usaAuthNvEnLogin&&m()});const st=()=>{console.log("contador",de),x.value=!0},se=()=>{he.value=!1,de=0,_e()},ge=a.ref(!1),Rt=a.ref(null),an=()=>{Rt.value=null},De=async N=>{if(!ge.value){ge.value=!0;try{Rt.value=N;const C=ct(N);X.value="",fe.value="",C===!1?(n.usaAuthNvEnLogin?await S({medio:N}):await O({medio:N}),D.value=!0):(n.usaAuthNvEnLogin?await A({medio:N}):await B({medio:N}),D.value=!1)}finally{ge.value=!1}}},Ze={[ee.WHATSAPP]:"verificadoWhatsapp",[ee.TELEGRAM]:"verificadoTelegram",[ee.EMAIL]:"verificadoEmail",[ee.ROMA]:"verificadoRoma",[ee.SMS]:"verificadoSms"};function ct(N){const C=Ze[N];return C?b[C]:void 0}const te={[ee.WHATSAPP]:{label:"WhatsApp",icon:f9},[ee.TELEGRAM]:{label:"Telegram",icon:Sl},[ee.EMAIL]:{label:"Email",icon:Cl},[ee.SMS]:{label:"SMS",icon:fd}},ve=a.computed(()=>_.value.filter(N=>N in te).map(N=>({id:N,label:te[N].label,icon:te[N].icon})));return(N,C)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createVNode(f2),a.createElementVNode("div",pU,[a.createVNode(J0,{currentStep:a.unref(u),steps:a.unref(c),showHeader:!1},{step1:a.withCtx(()=>[r.value&&!z.value?(a.openBlock(),a.createElementBlock("h4",mU,[gU,a.createTextVNode(" Inicia sesión con código QR ")])):a.createCommentVNode("",!0),a.createElementVNode("div",vU,[a.createElementVNode("div",yU,[r.value&&!z.value?(a.openBlock(),a.createElementBlock("img",{key:0,src:Z.value,alt:"Qr",class:""},null,8,bU)):a.createCommentVNode("",!0),a.createElementVNode("div",wU,[he.value?(a.openBlock(),a.createElementBlock("div",{key:0,class:"qr-overlay",onClick:se},_U)):a.createCommentVNode("",!0)])])]),r.value&&!z.value?(a.openBlock(),a.createElementBlock("div",kU,EU)):a.createCommentVNode("",!0),r.value?(a.openBlock(),a.createElementBlock("div",xU,CU)):a.createCommentVNode("",!0),a.createElementVNode("div",SU,[a.createElementVNode("div",TU,[AU,a.createVNode(a.unref(je.Field),{name:"usuario",id:"usuario",class:a.normalizeClass(["fge-auth-input",{"fge-auth-input-invalid":a.unref(d).usuario}]),type:"text"},null,8,["class"]),a.createVNode(pt,{error:a.unref(d).usuario},null,8,["error"])]),a.createElementVNode("div",OU,[BU,a.createVNode(a.unref(je.Field),{name:"password"},{default:a.withCtx(({field:V})=>[a.createVNode(Ra,a.mergeProps({id:"psw"},V,{class:"fge-auth-input with-btn",onKeyup:a.withKeys(a.unref(h),["enter"]),modelValue:V.value}),null,16,["onKeyup","modelValue"])]),_:1}),a.createVNode(pt,{error:a.unref(d).password},null,8,["error"])])]),a.createElementVNode("div",IU,[a.createElementVNode("button",{title:"Iniciar sesión",class:"fge-auth-primary-button w-full",onClick:C[0]||(C[0]=(...V)=>a.unref(h)&&a.unref(h)(...V))},VU),a.createElementVNode("div",RU,[a.createElementVNode("button",{class:"fge-link-secondary-button",title:"Recuperar contraseña",onClick:C[1]||(C[1]=(...V)=>a.unref(n).goRecuperarCont&&a.unref(n).goRecuperarCont(...V))},DU),a.unref(n).isRegister?(a.openBlock(),a.createElementBlock("button",{key:0,class:"fge-link-primary-button",title:"Registrarse",onClick:C[2]||(C[2]=(...V)=>a.unref(n).goRegistrarPage&&a.unref(n).goRegistrarPage(...V))},MU)):a.createCommentVNode("",!0)]),PU,a.createElementVNode("button",{title:"Iniciar sesión con ciudadanía digital",class:"fge-green-button",onClick:C[3]||(C[3]=(...V)=>a.unref(k)&&a.unref(k)(...V))},LU)])]),step2:a.withCtx(()=>[a.createVNode(ud,{fieldName:"code",error:a.unref(d).code,message2Fa:a.unref(l),message2FaContexto:a.unref(X),url2FaContexto:a.unref(fe),cancelarFunction:()=>{an(),a.unref(g)()},aceptarFunction:a.unref(D)?a.unref(q):a.unref(p),showCode:!0,"reenviar-mensaje":a.unref(ae)?a.unref(y):void 0,mostrarReenviar:a.unref(ae),isTelegram:Rt.value===a.unref(ee).TELEGRAM&&!a.unref(b).verificadoTelegram,refCounter:a.unref(s),"onUpdate:refCounter":C[6]||(C[6]=V=>a.isRef(s)?s.value=V:null),onFinishCount:st},{inputs:a.withCtx(()=>[a.unref(F)?(a.openBlock(),a.createElementBlock("div",FU,UU)):a.createCommentVNode("",!0),a.createElementVNode("div",ZU,[a.createElementVNode("div",zU,[a.unref(x)?(a.openBlock(),a.createElementBlock("div",jU,[a.unref(E)?(a.openBlock(),a.createElementBlock("div",WU,[GU,KU,YU,a.createElementVNode("div",JU,[a.createVNode(a.unref(je.Field),{name:"medio"},{default:a.withCtx(({field:V})=>[a.createVNode(a.unref(Ic),a.mergeProps(V,{"model-value":V.value,class:"radio-button-group","onUpdate:modelValue":T=>{V.onChange(T),De(Number(T))}}),{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(ve.value,T=>(a.openBlock(),a.createBlock(a.unref(ci),{id:`medio-${T.id}`,key:T.id,class:"radio-button",value:T.id.toString()},{default:a.withCtx(()=>[a.createElementVNode("div",XU,[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(T.icon),{class:a.normalizeClass(["radio-icon",{"auth-svg-primary":ct(T.id),"auth-svg-black":!ct(T.id)}])},null,8,["class"])),a.createElementVNode("label",{for:`medio-${T.id}`,class:a.normalizeClass(["radio-button-label",{"radio-label-verified":ct(T.id),"radio-label-unverified":!ct(T.id)}])},a.toDisplayString(ct(T.id)?"":"Verificar")+" "+a.toDisplayString(T.label),11,QU)])]),_:2},1032,["id","value"]))),128))]),_:2},1040,["model-value","onUpdate:modelValue"])]),_:1})])])):(a.openBlock(),a.createElementBlock("div",HU,[a.createElementVNode("button",{class:"fge-link-primary-button",title:"Seleccionar",onClick:C[4]||(C[4]=V=>{a.unref(w)(),E.value=!0})},qU)]))])):a.createCommentVNode("",!0)])]),a.createElementVNode("div",NU,[a.createElementVNode("div",$U,[a.createElementVNode("label",eZ,[a.createVNode(a.unref(_x),{class:"checkbox-box",checked:a.unref(i),"onUpdate:checked":C[5]||(C[5]=V=>a.isRef(i)?i.value=V:null)},{default:a.withCtx(()=>[a.createVNode(a.unref(kx),null,{default:a.withCtx(()=>[a.createVNode(Wa,{color:a.unref(f),alt:"Check Mark",class:"checkbox-svg"},null,8,["color"])]),_:1})]),_:1},8,["checked"]),tZ])])])]),_:1},8,["error","message2Fa","message2FaContexto","url2FaContexto","cancelarFunction","aceptarFunction","reenviar-mensaje","mostrarReenviar","isTelegram","refCounter"])]),_:1},8,["currentStep","steps"])])],64))}}),[["__scopeId","data-v-10b07860"]]),rZ=async(e,t,n,r)=>ke.post("v1/auth/usuario/confirmar-restablecer-password",{numeroDocumento:e,aplicacion:t,otp:n,isLogin:r}).then(o=>o).catch(o=>{var i;throw(i=o.response)!=null&&i.data?o.response.data:o}),aZ=async(e,t,n,r,o)=>ke.post("v1/auth/usuario/cambiar-password",{usuarioId:e,aplicacion:t,otp:n,nuevoPassword:r,confirmarNuevoPassword:o}).then(i=>i).catch(i=>{var s;throw(s=i.response)!=null&&s.data?i.response.data:i}),oZ=async(e,t,n,r,o)=>ke.post("v1/auth/usuario/cambiar-password",{usuarioId:e,aplicacion:t,otp:n,nuevoPassword:r,confirmarNuevoPassword:o}).then(i=>i).catch(i=>{var s;throw(s=i.response)!=null&&s.data?i.response.data:i}),iZ=async e=>ke.post("v1/auth/usuario/restablecer-password",e).then(t=>t).catch(t=>{var n;throw(n=t.response)!=null&&n.data?t.response.data:t});function sZ(){const e=et(),t=qs(),n=a.ref(0),r=a.ref(),o=a.ref(),i=a.computed(()=>x[n.value]),s=a.reactive({verificadoWhatsapp:!1,verificadoTelegram:!1,verificadoEmail:!1,verificadoRoma:!1,verificadoSms:!1}),l=a.ref(!1),c=a.ref([]),u=a.ref(!1),d=a.ref(!1),f=a.ref(!1),h=a.ref(0),p=a.ref(null),g=a.ref([]),{refCounter:w,currentContacto:y,message2Fa:k,message2FaContexto:v,url2FaContexto:m,openTelegram:b,openTelegramPage:_}=iu("recuperar-pw"),E=a.markRaw([{name:"step1"},{name:"step2"},{name:"step3"}]),x=[oe.object().shape({usuario:oe.string().min(4).max(10).required().label("Cédula de identidad")}),oe.object().shape({code:oe.string().required().matches(fo).max(10).label("Código")}),oe.object().shape({medio:oe.string().notRequired().matches(fo).max(10).label("medio")}),oe.object().shape({password:oe.string().required().matches(zc).min(8).max(15).label("Contraseña"),repetirPassword:oe.string().required().oneOf([oe.ref("password")]).label("Confirmación de la contraseña")})],{handleSubmit:O,values:B,errors:S,setErrors:A,resetForm:D}=je.useForm({validationSchema:i,keepValuesOnUnmount:!0}),q=()=>{n.value=n.value-1,f.value=!1,D()},F={[ee.WHATSAPP]:"verificadoWhatsapp",[ee.TELEGRAM]:"verificadoTelegram",[ee.EMAIL]:"verificadoEmail",[ee.ROMA]:"verificadoRoma",[ee.SMS]:"verificadoSms"},X=te=>({1:ee.ROMA,2:ee.TELEGRAM,3:ee.EMAIL,4:ee.WHATSAPP,5:ee.SMS})[te]??te,fe=te=>({[ee.ROMA]:1,[ee.TELEGRAM]:2,[ee.EMAIL]:3,[ee.WHATSAPP]:4,[ee.SMS]:5})[te]??te,ae=(te,ve)=>{const N=F[te];N&&(s[N]=ve)},Z=()=>{Object.keys(s).forEach(te=>{s[te]=!1})},z=(te,ve)=>{Z();const N=te.map(C=>Number(C==null?void 0:C.medio)).filter(C=>!Number.isNaN(C)).map(C=>X(C));c.value=[...new Set(N)],te.forEach(C=>{const V=Number(C==null?void 0:C.medio);if(Number.isNaN(V))return;const T=X(V);ae(T,!!(C!=null&&C.verificado))})},ne=te=>{const ve=F[te];return ve?s[ve]:void 0},Y=async()=>{if(!B.medio)return;const te=Number(B.medio),ve=ne(te);try{t.setLoading(!0),ve===!1?(e.usaAuthNvEnLogin?await Rt({medio:te}):await an({medio:te}),d.value=!0):(e.usaAuthNvEnLogin?await he({medio:te,login:!1}):await _e({medio:te,login:!1}),d.value=!1),f.value=!0}catch(N){cn({error:N,setErrors:A})}finally{t.setLoading(!1)}},de=O(async()=>{var te,ve,N,C,V,T,U;try{t.setLoading(!0);const j=await st();n.value=n.value+1,f.value=!1,y.value=(te=j.response)==null?void 0:te.contacto,h.value=((N=(ve=j.response)==null?void 0:ve.data)==null?void 0:N.usuarioId)??0,g.value=((V=(C=j==null?void 0:j.response)==null?void 0:C.data)==null?void 0:V.mediosVerificados)||[],z(g.value,!0),k.value=j.message,a.nextTick(()=>{var G,W,Se;(Se=w.value)==null||Se.reInit(((W=(G=j==null?void 0:j.response)==null?void 0:G.data)==null?void 0:W.tiempoVigencia)??2)});const R=g.value.some(G=>G.default===!0);l.value=!R,u.value=!R,v.value=((T=j==null?void 0:j.response)==null?void 0:T.data.mensajeServicio)??"",m.value=((U=j==null?void 0:j.response)==null?void 0:U.data.url)??""}catch(j){cn({error:j,setErrors:A})}finally{t.setLoading(!1)}}),he=async({medio:te,login:ve=!0})=>{var N,C,V,T,U,j;try{t.setLoading(!0);const R=await ap({medio:fe(Number(te)),usuarioId:h.value,deviceId:e.deviceId,isLogin:ve,aplicacion:e.aplicacion});k.value=R.message,u.value=!1,l.value=!1,f.value=!0,(C=(N=R==null?void 0:R.response)==null?void 0:N.data)!=null&&C.mensajeServicio&&(v.value=R.response.data.mensajeServicio),(T=(V=R==null?void 0:R.response)==null?void 0:V.data)!=null&&T.url&&(m.value=R.response.data.url);let G=120;(j=(U=R==null?void 0:R.response)==null?void 0:U.data)!=null&&j.tiempoVigencia?G=R.response.data.tiempoVigencia:(R==null?void 0:R.minutos)!==void 0&&(R==null?void 0:R.minutos)!==null&&(G=R.minutos>60?R.minutos:R.minutos*60,G>600&&(G=120)),a.nextTick(()=>{var W;(W=w.value)==null||W.reInit(G)})}catch(R){K.error(`Error al enviar código por ${te}: ${(R==null?void 0:R.message)||"intente nuevamente"}`)}finally{t.setLoading(!1)}},_e=async({medio:te,login:ve=!0})=>{var N,C,V,T,U,j;try{t.setLoading(!0);const R=await rp({medio:Number(te),usuarioId:h.value,deviceId:e.deviceId,isLogin:ve,aplicacion:e.aplicacion});k.value=R.message,u.value=!1,l.value=!1,f.value=!0,(C=(N=R==null?void 0:R.response)==null?void 0:N.data)!=null&&C.mensajeServicio&&(v.value=R.response.data.mensajeServicio),(T=(V=R==null?void 0:R.response)==null?void 0:V.data)!=null&&T.url&&(m.value=R.response.data.url);let G=120;(j=(U=R==null?void 0:R.response)==null?void 0:U.data)!=null&&j.tiempoVigencia?G=R.response.data.tiempoVigencia:(R==null?void 0:R.minutos)!==void 0&&(R==null?void 0:R.minutos)!==null&&(G=R.minutos>60?R.minutos:R.minutos*60,G>600&&(G=120)),a.nextTick(()=>{var W;(W=w.value)==null||W.reInit(G)})}catch(R){K.error(`Error al enviar código: ${(R==null?void 0:R.message)||"intente nuevamente"}`)}finally{t.setLoading(!1)}},st=async()=>await iZ({deviceId:e.deviceId,aplicacion:e.aplicacion,numeroDocumento:B.usuario}),se=O(async te=>{try{t.setLoading(!0);const ve=await rZ(te.usuario,e.aplicacion,Number(te.code),!1).then(N=>N.response);r.value=ve==null?void 0:ve.data.usuarioId,n.value=n.value+1}catch(ve){cn({error:ve,setErrors:A})}finally{t.setLoading(!1)}}),ge=O(async te=>{try{t.setLoading(!0);const ve=p.value??Number(te.medio??0);if(!ve){K.error("Debe seleccionar un medio de verificación");return}if(e.usaAuthNvEnLogin){const N=await np({usuarioId:h.value,medio:fe(ve),codigo:te.code,aplicacion:e.aplicacion,deviceId:e.deviceId,isLogin:!1}).then(C=>C.response);r.value=N==null?void 0:N.data.usuarioId}else{const N=await mw({usuarioId:h.value,medio:ve,codigo:te.code,aplicacion:e.aplicacion,codigoDispositivo:e.deviceId,isLogin:!1}).then(C=>C.response);r.value=N==null?void 0:N.data.usuarioId}n.value=n.value+1}catch(ve){cn({error:ve,setErrors:A})}finally{t.setLoading(!1)}}),Rt=async({medio:te})=>{var ve,N,C,V;try{t.setLoading(!0),p.value=te;const T=await tp({medio:fe(Number(te)),usuarioId:h.value}),U=((N=(ve=T==null?void 0:T.response)==null?void 0:ve.data)==null?void 0:N.medioActualizado)===!0;k.value=T.message,u.value=!1,l.value=!1,f.value=!0,v.value=T.response.data.mensajeServicio??"",m.value=T.response.data.url??"",te===ee.TELEGRAM&&!U&&a.nextTick(()=>{b.value=!0});let j=120;(V=(C=T==null?void 0:T.response)==null?void 0:C.data)!=null&&V.tiempoVigencia?j=T.response.data.tiempoVigencia:(T==null?void 0:T.minutos)!==void 0&&(T==null?void 0:T.minutos)!==null&&(j=T.minutos>60?T.minutos:T.minutos*60,j>600&&(j=120)),a.nextTick(()=>{var R;(R=w.value)==null||R.reInit(j)})}catch(T){K.error(`Error al enviar código por ${te}: ${(T==null?void 0:T.message)||"intente nuevamente"}`)}finally{t.setLoading(!1)}},an=async({medio:te})=>{var ve,N,C,V;try{t.setLoading(!0),p.value=te;const T=await pw({medio:Number(te),usuarioId:h.value}),U=((N=(ve=T==null?void 0:T.response)==null?void 0:ve.data)==null?void 0:N.medioActualizado)===!0;k.value=T.message,u.value=!1,l.value=!1,f.value=!0,te===ee.TELEGRAM&&!U&&a.nextTick(()=>{b.value=!0});let j=120;(V=(C=T==null?void 0:T.response)==null?void 0:C.data)!=null&&V.tiempoVigencia?j=T.response.data.tiempoVigencia:(T==null?void 0:T.minutos)!==void 0&&(T==null?void 0:T.minutos)!==null&&(j=T.minutos>60?T.minutos:T.minutos*60,j>600&&(j=120)),a.nextTick(()=>{var R;(R=w.value)==null||R.reInit(j)})}catch(T){K.error(`Error al enviar código: ${(T==null?void 0:T.message)||"intente nuevamente"}`)}finally{t.setLoading(!1)}},De=O(async te=>{try{t.setLoading(!0);let ve;r.value&&(e.usaAuthNvEnLogin?ve=await oZ(r.value,e.aplicacion,Number(te.code),te.password,te.repetirPassword):ve=await aZ(r.value,e.aplicacion,Number(te.code),te.password,te.repetirPassword)),K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description"> ${ve==null?void 0:ve.message}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:jn,closeOnClick:!1,dangerouslyHTMLString:!0}),t.setLoading(!1),e.goLoginPage()}catch(ve){cn({error:ve,setErrors:A}),t.setLoading(!1)}}),Ze=()=>{e.goLoginPage()},ct=a.computed(()=>globalThis.getComputedStyle(document.documentElement).getPropertyValue("--fge-primary-button-text-color"));return{refCounter:w,currentStep:n,currentSchema:i,currentContacto:y,steps:E,mensaje2F:o,errors:S,onBackStep:q,onEnviarCodigoAlBackend:se,onEnviarCodigoAlUsuario:de,onEnviarMensaje:Y,onCambiarPassword:De,goLoginPage:Ze,mediosVerificados:s,mediosDisponibles:c,mostrarMedios:u,mostrarBotonOpciones:l,message2FaContexto:v,message2Fa:k,url2FaContexto:m,servicio2faNuevo:d,iconColor:ct,onEnviarCodigoRecuperacionNv:he,onEnviarCodigoRecuperacion:_e,onEnviarCodigoRecuperacionAlUsuarioNv:Rt,onEnviarCodigoRecuperacionAlUsuario:an,onConfirmarCodigoNuevo:ge,medioYaSeleccionado:f,openTelegram:b,openTelegramPage:_}}const lZ=a.createElementVNode("button",{class:"auth-hide-btn"},null,-1),cZ={class:"auth-title-container"},uZ=a.createElementVNode("p",null,"Confirmación vía Telegram",-1),dZ={class:"dialog-body"},fZ={class:"icon"},hZ=a.createElementVNode("p",{class:"body-title"},"Siga los siguientes pasos:",-1),pZ=a.createElementVNode("p",null,[a.createTextVNode(' Haz clic en el botón "Abrir" para abrir la página de '),a.createElementVNode("b",null,[a.createElementVNode("a",{href:"https://play.google.com/store/apps/details?id=org.telegram.messenger",target:"_blank"}," Telegram ")]),a.createTextVNode(" . ")],-1),mZ=a.createElementVNode("p",null,"1. Inicia sesión en tu cuenta de Telegram.",-1),gZ=a.createElementVNode("p",null,'2. Presiona el botón "Comenzar" o "Start"',-1),vZ=a.createElementVNode("p",{style:{"margin-left":"5px"}},[a.createTextVNode(' ** o ingrese "'),a.createElementVNode("b",null,"/start"),a.createTextVNode('" en el chat si no encuentra el botón ')],-1),yZ=a.createElementVNode("p",null,"3. Copia el código en el formulario para completar el proceso de confirmación.",-1),bZ={class:"dialog-footer"},h9=a.defineComponent({__name:"TelegramDialog",props:{open:{type:Boolean,default:!1},openClick:{type:Function,required:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=a.computed({get:()=>n.open,set:i=>o("update:open",i)}),o=t;return(i,s)=>(a.openBlock(),a.createBlock(a.unref(As),{open:r.value,"onUpdate:open":s[2]||(s[2]=l=>r.value=l)},{default:a.withCtx(()=>[a.createVNode(a.unref(Sc),{"as-child":""},{default:a.withCtx(()=>[lZ]),_:1}),a.createVNode(a.unref(Os),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Is),{class:"modal-overlay"}),a.createVNode(a.unref(Bs),{class:"auth-modal-container",onInteractOutside:s[1]||(s[1]=l=>l.preventDefault()),"aria-describedby":"dialog-description"},{default:a.withCtx(()=>[a.createVNode(a.unref(Vs),{class:"auth-dialog-title"},{default:a.withCtx(()=>[a.createElementVNode("div",cZ,[uZ,a.createVNode(a.unref(co),{class:"close-icon","aria-label":"Close"},{default:a.withCtx(()=>[a.createVNode(a.unref(dd))]),_:1})])]),_:1}),a.createElementVNode("div",dZ,[a.createElementVNode("div",fZ,[a.createVNode(xl,{mode:"gray"})]),hZ,pZ,mZ,gZ,vZ,yZ]),a.createElementVNode("div",bZ,[a.createVNode(a.unref(co),{class:"fge-gray-button w-full","aria-label":"Close"},{default:a.withCtx(()=>[a.createTextVNode(" Cerrar ")]),_:1}),a.createElementVNode("button",{class:"w-full fge-auth-primary-button",onClick:s[0]||(s[0]=a.withModifiers(()=>e.openClick(),["prevent"]))}," Abrir ")])]),_:1})]),_:1})]),_:1},8,["open"]))}}),wZ={class:"fge-right-container"},_Z={class:"auth-form-container"},kZ={class:"auth-input-container"},EZ=a.createElementVNode("label",{for:"usuario",class:"fge-form-label"},"Cédula de Identidad:",-1),xZ={class:"fge-btn-section"},CZ={class:"auth-btn-container margin-top"},SZ=[a.createElementVNode("span",null,"Ir al login",-1)],TZ=[a.createElementVNode("span",null," Siguiente ",-1)],AZ={class:"login-button-container"},OZ={class:"two-auth-container"},BZ={key:0,class:"auth-checkbox-container"},IZ={key:0,class:"text-center"},VZ=[a.createElementVNode("span",null,"Seleccionar otros medios de verificación",-1)],RZ={key:1},DZ=a.createElementVNode("div",{class:"fge-horizontal-line"},null,-1),MZ=a.createElementVNode("div",{class:"fge-text-gray",style:{"text-align":"center"}}," Medios de verificación ",-1),PZ=a.createElementVNode("div",{class:"fge-horizontal-line"},null,-1),LZ={class:"auth-radiogroup"},FZ={class:"radio-button-content"},UZ=["for"],ZZ={class:"auth-form-container"},zZ={class:"auth-input-container"},jZ=a.createElementVNode("label",{for:"psw",class:"fge-form-label"},"Nueva contraseña:",-1),HZ={class:"auth-input-container"},qZ=a.createElementVNode("label",{for:"rep_password",class:"fge-form-label"},"Repetir contraseña:",-1),WZ={class:"fge-btn-section"},GZ={class:"auth-btn-container margin-top"},KZ=[a.createElementVNode("span",null,"Volver",-1)],YZ=[a.createElementVNode("span",null," Aceptar ",-1)],JZ=a.defineComponent({__name:"FgeRecuperarPassword",setup(e){const t=et(),{refCounter:n,currentStep:r,currentContacto:o,steps:i,errors:s,onBackStep:l,onEnviarCodigoAlUsuario:c,onEnviarMensaje:u,onEnviarCodigoAlBackend:d,onCambiarPassword:f,goLoginPage:h,mediosVerificados:p,mediosDisponibles:g,mostrarMedios:w,mostrarBotonOpciones:y,message2FaContexto:k,url2FaContexto:v,servicio2faNuevo:m,message2Fa:b,onEnviarCodigoRecuperacionNv:_,onEnviarCodigoRecuperacion:E,onEnviarCodigoRecuperacionAlUsuarioNv:x,onEnviarCodigoRecuperacionAlUsuario:O,onConfirmarCodigoNuevo:B,medioYaSeleccionado:S,openTelegram:A,openTelegramPage:D}=sZ(),q={[ee.WHATSAPP]:{label:"WhatsApp",icon:f9},[ee.TELEGRAM]:{label:"Telegram",icon:Sl},[ee.EMAIL]:{label:"Email",icon:Cl},[ee.SMS]:{label:"SMS",icon:fd}},F=a.computed(()=>g.value.filter(Y=>Y in q).map(Y=>({id:Y,label:q[Y].label,icon:q[Y].icon}))),X=a.ref(!1),fe=a.ref(null),ae=()=>{y.value=!0},Z=async Y=>{if(!X.value){X.value=!0;try{fe.value=Y;const de=ne(Y);k.value="",v.value="",de===!1?(t.usaAuthNvEnLogin?await x({medio:Y}):await O({medio:Y}),m.value=!0):(t.usaAuthNvEnLogin?await _({medio:Y,login:!1}):await E({medio:Y,login:!1}),m.value=!1)}finally{X.value=!1}}},z={[ee.WHATSAPP]:"verificadoWhatsapp",[ee.TELEGRAM]:"verificadoTelegram",[ee.EMAIL]:"verificadoEmail",[ee.ROMA]:"verificadoRoma",[ee.SMS]:"verificadoSms"};function ne(Y){const de=z[Y];return de?p[de]:void 0}return(Y,de)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createVNode(f2),a.createElementVNode("div",wZ,[a.createVNode(J0,{currentStep:a.unref(r),steps:a.unref(i)},{step1:a.withCtx(()=>[a.createElementVNode("div",_Z,[a.createElementVNode("div",kZ,[EZ,a.createVNode(a.unref(je.Field),{id:"usuario",name:"usuario",class:a.normalizeClass(["w-full fge-auth-input",{"fge-auth-input-invalid":a.unref(s).usuario}]),type:"text"},null,8,["class"]),a.createVNode(pt,{error:a.unref(s).usuario},null,8,["error"])])]),a.createElementVNode("div",xZ,[a.createElementVNode("div",CZ,[a.createElementVNode("button",{title:"Ir al login",onClick:de[0]||(de[0]=(...he)=>a.unref(h)&&a.unref(h)(...he)),class:"fge-gray-button w-full"},SZ),a.createElementVNode("button",{title:"Siguiente",onClick:de[1]||(de[1]=(...he)=>a.unref(c)&&a.unref(c)(...he)),class:"w-full fge-auth-primary-button"},TZ)])])]),step2:a.withCtx(()=>[a.createVNode(ud,{fieldName:"code",message2Fa:a.unref(b),refCounter:a.unref(n),"onUpdate:refCounter":de[3]||(de[3]=he=>a.isRef(n)?n.value=he:null),error:a.unref(s).code,currentContacto:a.unref(o),message2FaContexto:a.unref(k),url2FaContexto:a.unref(v),cancelarFunction:a.unref(l),aceptarFunction:a.unref(m)?a.unref(B):a.unref(d),"reenviar-mensaje":a.unref(S)?a.unref(u):void 0,mostrarReenviar:a.unref(S),isTelegram:fe.value===a.unref(ee).TELEGRAM&&!a.unref(p).verificadoTelegram,onFinishCount:ae},{inputs:a.withCtx(()=>[a.createElementVNode("div",AZ,[a.createElementVNode("div",OZ,[a.unref(y)?(a.openBlock(),a.createElementBlock("div",BZ,[a.unref(w)?(a.openBlock(),a.createElementBlock("div",RZ,[DZ,MZ,PZ,a.createElementVNode("div",LZ,[a.createVNode(a.unref(je.Field),{name:"medio"},{default:a.withCtx(({field:he})=>[a.createVNode(a.unref(Ic),a.mergeProps(he,{"model-value":he.value,class:"radio-button-group","onUpdate:modelValue":_e=>{he.onChange(_e),Z(Number(_e))}}),{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(F.value,_e=>(a.openBlock(),a.createBlock(a.unref(ci),{id:`medio-${_e.id}`,key:_e.id,class:"radio-button",value:_e.id.toString()},{default:a.withCtx(()=>[a.createElementVNode("div",FZ,[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(_e.icon),{class:a.normalizeClass(["radio-icon",{"auth-svg-primary":ne(_e.id),"auth-svg-black":!ne(_e.id)}])},null,8,["class"])),a.createElementVNode("label",{for:`medio-${_e.id}`,class:a.normalizeClass(["radio-button-label",{"radio-label-verified":ne(_e.id),"radio-label-unverified":!ne(_e.id)}])},a.toDisplayString(ne(_e.id)?"":"Verificar")+" "+a.toDisplayString(_e.label),11,UZ)])]),_:2},1032,["id","value"]))),128))]),_:2},1040,["model-value","onUpdate:modelValue"])]),_:1})])])):(a.openBlock(),a.createElementBlock("div",IZ,[a.createElementVNode("button",{class:"fge-link-primary-button",title:"Seleccionar",onClick:de[2]||(de[2]=he=>w.value=!0)},VZ)]))])):a.createCommentVNode("",!0)])])]),_:1},8,["message2Fa","refCounter","error","currentContacto","message2FaContexto","url2FaContexto","cancelarFunction","aceptarFunction","reenviar-mensaje","mostrarReenviar","isTelegram"])]),step3:a.withCtx(()=>[a.createElementVNode("div",ZZ,[a.createElementVNode("div",zZ,[jZ,a.createVNode(a.unref(je.Field),{name:"password"},{default:a.withCtx(({field:he})=>[a.createVNode(Ra,a.mergeProps({id:"psw"},he,{class:"fge-auth-input with-btn",modelValue:he.value}),null,16,["modelValue"])]),_:1}),a.createVNode(pt,{error:a.unref(s).password},null,8,["error"])]),a.createElementVNode("div",HZ,[qZ,a.createVNode(a.unref(je.Field),{name:"repetirPassword"},{default:a.withCtx(({field:he})=>[a.createVNode(Ra,a.mergeProps({id:"rep_password"},he,{class:"fge-auth-input with-btn",onKeyup:a.withKeys(a.unref(f),["enter"]),modelValue:he.value}),null,16,["onKeyup","modelValue"])]),_:1}),a.createVNode(pt,{error:a.unref(s).repetirPassword},null,8,["error"])])]),a.createElementVNode("div",WZ,[a.createElementVNode("div",GZ,[a.createElementVNode("button",{title:"Volver",class:"fge-gray-button w-full",onClick:de[4]||(de[4]=(...he)=>a.unref(h)&&a.unref(h)(...he))},KZ),a.createElementVNode("button",{title:"Registrar usuario",onClick:de[5]||(de[5]=(...he)=>a.unref(f)&&a.unref(f)(...he)),class:"w-full fge-auth-primary-button"},YZ)])])]),_:1},8,["currentStep","steps"])]),a.createVNode(h9,{open:a.unref(A),"onUpdate:open":de[6]||(de[6]=he=>a.isRef(A)?A.value=he:null),openClick:a.unref(D)},null,8,["open","openClick"])],64))}}),XZ={},QZ={class:"relative"},NZ=[a.createStaticVNode('<svg class="icon_1" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 275 276" data-v-7883ed41><path fill="url(#a)" d="M137.1 1c-12.9 0-25.9 1.8-38.8 5.6A136.91 136.91 0 0 0 5.7 176.7 14.4 14.4 0 0 0 19.5 187c6.2 0 2.7-.2 4.1-.6 7.6-2.3 12-10.3 9.7-17.9-3-10.2-4.5-20.5-4.5-30.7 0-23.3 7.6-45.8 21.1-64.1a106.7 106.7 0 0 1 56.4-39.5c10.2-3 20.5-4.5 30.7-4.5 23.3 0 45.8 7.6 64.1 21.1a106.7 106.7 0 0 1 39.5 56.4 14.4 14.4 0 0 0 13.8 10.3c6.2 0 2.7-.2 4.1-.6 7.6-2.3 12-10.3 9.7-17.9A136.91 136.91 0 0 0 136.9.8" data-v-7883ed41></path><path fill="url(#b)" d="M254.5 88.9a14.41 14.41 0 0 0-13.8 18.5c3 10.2 4.5 20.5 4.5 30.7 0 23.3-7.6 45.8-21.1 64.1a106.7 106.7 0 0 1-56.4 39.5c-10.2 3-20.5 4.5-30.7 4.5-23.3 0-45.8-7.6-64.1-21.1a106.7 106.7 0 0 1-39.5-56.4 14.4 14.4 0 0 0-13.8-10.3c-6.2 0-2.7.2-4.1.6-7.6 2.3-12 10.3-9.7 17.9a136.91 136.91 0 0 0 170.1 92.6 136.91 136.91 0 0 0 92.6-170.1 14.4 14.4 0 0 0-13.8-10.3" data-v-7883ed41></path><defs data-v-7883ed41><linearGradient id="a" x1="0" x2="269" y1="94.1" y2="94.1" gradientUnits="userSpaceOnUse" data-v-7883ed41><stop stop-color="#fff" data-v-7883ed41></stop><stop offset="1" stop-color="#fff" stop-opacity="0" data-v-7883ed41></stop></linearGradient><linearGradient id="b" x1="5" x2="274" y1="181.9" y2="181.9" gradientUnits="userSpaceOnUse" data-v-7883ed41><stop stop-color="#fff" stop-opacity="0" data-v-7883ed41></stop><stop offset="1" stop-color="#fff" data-v-7883ed41></stop></linearGradient></defs></svg><svg class="icon_2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 176 74" data-v-7883ed41><path fill="#fff" d="M6.4 70v-3.5c-.3 1.3-1.5 4.5-2.2 6.6h-.8c-.6-1.7-1.7-5.2-2.1-6.6v6.6H.5v-7.3h1.4c.8 2.1 1.7 5.1 2 6.1.1-.7 1.3-3.9 2.1-6.1h1.3v7.3h-.9V70ZM10.8 65.8v7.3h-.9v-7.3h.9ZM13.5 73.1v-7.3h1.2c2.9 5.1 3.3 5.8 3.4 6.2v-6.1h.9v7.3h-1.1c-3.1-5.6-3.3-6-3.5-6.3v6.4h-.8l-.1-.2ZM22.5 65.8v7.3h-.9v-7.3h.9ZM25.5 71c.1.9.8 1.4 1.6 1.4s1.4-.4 1.4-1.3-.4-1.1-1.7-1.5c-1.5-.5-2.1-1-2.1-2s.9-1.9 2.2-1.9c1.3 0 2.2.9 2.3 1.9h-.9c-.1-.7-.5-1.2-1.4-1.2-.9 0-1.3.4-1.3 1.1 0 .7.4.9 1.5 1.3 1.8.5 2.2 1.2 2.2 2.2 0 1-.8 2.1-2.4 2.1-1.6 0-2.4-.8-2.5-2.1h1.1ZM32.9 66.6h-2.1v-.8H36v.8h-2.1v6.5H33v-6.5h-.1ZM41.9 69.6h-3.3v2.6h3.6v.8h-4.5v-7.3H42v.8h-3.4v2.3h3.3v.8ZM45.2 69.8v3.3h-.9v-7.3h2.6c1.3 0 2.2.6 2.2 1.9 0 1.3-.6 1.5-1.2 1.7.8.2 1.1.8 1.1 1.8 0 .8 0 1.4.1 1.9h-.9c0-.3-.1-1-.1-1.7 0-1.2-.4-1.6-1.6-1.6h-1.3Zm0-.7h1.3c.9 0 1.6-.3 1.6-1.3s-.5-1.2-1.4-1.2h-1.6v2.5h.1ZM52.3 65.8v7.3h-.9v-7.3h.9ZM60.7 69.4c0 2.1-1 3.8-3.1 3.8s-3-1.6-3-3.8c0-2.2 1-3.7 3.1-3.7s3 1.6 3 3.7Zm-5.2 0c0 1.7.7 3 2.1 3 1.4 0 2.1-1.3 2.1-3s-.7-2.9-2.1-2.9c-1.4 0-2.1 1.3-2.1 2.9ZM66.5 65.8h2.4c1.3 0 2.3.7 2.3 2s-1 2.1-2.5 2.1h-1.4V73h-.9v-7.3l.1.1Zm.9 3.4h1.4c.9 0 1.6-.3 1.6-1.4 0-1.1-.6-1.3-1.6-1.3h-1.4v2.7ZM74.2 65.8v4.6c0 1.1.4 2 1.7 2 1.3 0 1.7-.8 1.7-2v-4.6h.9v4.6c0 1.5-.6 2.7-2.6 2.7s-2.6-1-2.6-2.7v-4.7h.9v.1Zm3.5-2.1-1.6 1.4h-.9l1.3-1.4H77.7ZM81.1 65.8h2.5c1.3 0 2.1.7 2.1 1.8s-.6 1.4-1 1.5c.5.2 1.3.6 1.3 1.8 0 1.2-1 2.1-2.4 2.1h-2.4v-7.3l-.1.1Zm2.3 3c1 0 1.4-.4 1.4-1.1 0-.7-.4-1.1-1.4-1.1h-1.5v2.3h1.4l.1-.1ZM82 72.3h1.5c.9 0 1.6-.4 1.6-1.4 0-1-.6-1.4-1.7-1.4H82v2.8ZM88.2 65.8h.9v6.5h3.5v.8h-4.4v-7.3ZM95.3 65.8v7.3h-.9v-7.3h.9ZM103.2 71c-.2 1.2-1 2.2-2.7 2.2-1.7 0-2.9-1.6-2.9-3.8 0-2.2.9-3.7 3-3.7s2.4 1 2.6 2.2h-.9c-.2-.8-.6-1.5-1.7-1.5s-2 1.4-2 2.9.5 3 2 3 1.5-.6 1.7-1.5h.9v.2ZM111.1 69.4c0 2.1-1 3.8-3.1 3.8s-3-1.6-3-3.8c0-2.2 1-3.7 3.1-3.7s3 1.6 3 3.7Zm-5.2 0c0 1.7.7 3 2.1 3 1.4 0 2.1-1.3 2.1-3s-.7-2.9-2.1-2.9c-1.4 0-2.1 1.3-2.1 2.9ZM116.9 65.8h2.4c1.8 0 3.2 1.2 3.2 3.5s-1.2 3.8-3.4 3.8h-2.2v-7.3Zm.9 6.5h1.3c1.7 0 2.5-1.1 2.5-3s-1-2.7-2.4-2.7h-1.3v5.8l-.1-.1ZM128.9 69.6h-3.3v2.6h3.6v.8h-4.5v-7.3h4.3v.8h-3.4v2.3h3.3v.8ZM134.8 65.8h2.5c1.3 0 2.1.7 2.1 1.8s-.6 1.4-1 1.5c.5.2 1.3.6 1.3 1.8 0 1.2-1 2.1-2.4 2.1h-2.4v-7.3l-.1.1Zm2.3 3c1 0 1.4-.4 1.4-1.1 0-.7-.4-1.1-1.4-1.1h-1.5v2.3h1.4l.1-.1Zm-1.4 3.5h1.5c.9 0 1.6-.4 1.6-1.4 0-1-.6-1.4-1.7-1.4h-1.4v2.8ZM147.7 69.4c0 2.1-1 3.8-3.1 3.8s-3-1.6-3-3.8c0-2.2 1-3.7 3.1-3.7s3 1.6 3 3.7Zm-5.2 0c0 1.7.7 3 2.1 3 1.4 0 2.1-1.3 2.1-3s-.7-2.9-2.1-2.9c-1.4 0-2.1 1.3-2.1 2.9ZM150 65.8h.9v6.5h3.5v.8H150v-7.3ZM157.1 65.8v7.3h-.9v-7.3h.9ZM161.3 73.1l-2.4-7.3h1l1.1 3.6c.3 1 .7 2.1.8 2.8.1-.6.6-1.8.9-2.8l1.2-3.6h.9l-2.5 7.3h-1.1.1ZM167.6 65.8v7.3h-.9v-7.3h.9ZM171.1 70.9l-.7 2.2h-.9l2.4-7.3h1.1l2.5 7.3h-1l-.7-2.2h-2.7Zm2.4-.8c-.6-1.9-1-2.9-1.1-3.5-.2.9-.6 2-1.1 3.5h2.2ZM8.2 49.2c0 3.8-.9 6.3-5.5 6.3s-1.7 0-2.2-.2v-3.4c.4 0 .9.1 1.5.1 1.8 0 2.1-.9 2.1-2.6V32.3h4.1v16.9ZM15.3 32.4v15.7c0 1.9.5 4.1 3 4.1s3-1.9 3-4.1V32.3h4.1v15.8c0 4.1-1.6 7.4-7.1 7.4s-7-3.1-7-7.4V32.3h4.1l-.1.1ZM31.5 48.8c.2 1.9 1 3.6 3.1 3.6s2.8-1.3 2.8-3-.9-3-3.8-4.4c-3.9-1.9-5.5-3.5-5.5-6.9 0-3.4 2.4-6.2 6.5-6.2s6.4 3.5 6.5 6.5h-4c-.1-1.3-.5-3.2-2.5-3.2s-2.3 1.1-2.3 2.6.7 2.4 3.4 3.7c4.1 1.9 5.9 3.7 5.9 7.6 0 3.9-2.2 6.6-7.1 6.6-4.9 0-6.9-3.4-7-6.8h4.1l-.1-.1ZM47 35.9h-4.9v-3.6H56v3.6h-4.9v19.3H47V35.9ZM61.8 32.4v22.9h-4.1V32.4h4.1ZM78.7 48.6c-.1 1.2-.5 7.1-6.9 7.1s-7.3-5.7-7.3-11.9S66.7 32 72 32s6.5 5.2 6.6 7h-4.1c0-.8-.1-3.6-2.6-3.6s-3.2 3.1-3.2 8.4c0 5.3.4 8.4 3.1 8.4s2.6-2.8 2.7-3.6H78.7ZM84.8 32.4v22.9h-4.1V32.4h4.1ZM91.8 49.5l-1.1 5.8h-4.1l5.3-22.9h5.3l5.4 22.9h-4.3l-1.1-5.8H91.8Zm4.6-3.6c-.9-4.4-1.5-7.6-1.9-9.8-.3 2.1-1 5.5-1.8 9.8h3.8-.1ZM109.9 32.4h4.1v19.4h7.8l-.4 3.5h-11.5V32.4ZM127.5 32.4v22.9h-4.1V32.4h4.1ZM131 32.4h7c4 0 6.2 2.2 6.2 5.8 0 3.6-1.4 4.3-2.6 4.8 1.6.7 3.3 2.1 3.3 5.6 0 3.5-2.8 6.7-6.9 6.7h-6.9V32.4h-.1Zm6 9.1c2.5 0 3.2-1 3.2-3s-1.1-2.9-3.1-2.9H135v5.9h2Zm-2 10.6h2.4c2 0 3.2-1 3.2-3.6s-1-3.7-3.7-3.7h-2v7.4l.1-.1ZM151.2 45.5v9.8h-4.1V32.4h7c4.2 0 6.5 2.2 6.5 6.3s-1.8 4.7-3 5.2c1.8.8 2.6 2.3 2.6 5.7v.9c0 2.6.1 3.6.3 4.8h-4c-.3-1-.4-2.9-.4-4.8v-.8c0-3.1-.7-4.1-3.3-4.1H151l.2-.1Zm0-3.3h1.9c2.5 0 3.4-1.1 3.4-3.4s-.9-3.1-3-3.1h-2.3v6.5ZM174.6 45.1h-7.3v6.6h8.2l-.5 3.5h-11.8V32.3h11.7v3.6h-7.7v5.6h7.3v3.6h.1ZM10 12.3H2.9v8.2h7.9l-.3 2.1H.6V1.2h9.8v2.1H2.9v7H10v2.1-.1ZM29.4 16.6c0 1.2-.6 6.2-5.8 6.2s-6.1-6-6.1-11.2C17.5 6.4 19.1.7 23.9.7c4.8 0 5.4 4.8 5.5 6.1H27c0-.7-.2-4-3.2-4s-3.9 4.6-3.9 8.8c0 4.2.5 9.1 3.7 9.1s3.3-3.1 3.4-4.2h2.4v.1ZM49.2 11.7c0 7.3-1.7 11.2-6.4 11.2s-6.2-3.8-6.2-11.2C36.6 4.3 38.7.8 42.9.8c4.2 0 6.3 3.6 6.3 10.8v.1Zm-10.2 0c0 6.1 1.2 9.2 3.9 9.2s3.9-3 3.9-9.1S45.6 3 42.9 3 39 5.9 39 11.8v-.1ZM58.4 16.9c.2 2.2 1.2 4 3.6 4 2.4 0 3.4-1.2 3.4-3.7s-.9-3.5-3.8-4.9c-3.4-1.6-4.8-3.1-4.8-6.2S58.7.8 62.2.8c3.5 0 5.3 3 5.3 5.5h-2.3c-.1-1-.4-3.5-3.1-3.5s-2.9 1.4-2.9 3.1c0 1.7.9 3 3.6 4.3 3.7 1.8 5.1 3.6 5.1 6.8 0 3.2-1.9 5.9-5.9 5.9s-5.7-2.8-5.9-5.9h2.4l-.1-.1ZM77.9 1.1v21.4h-2.3V1.1h2.3ZM87.9 16.9c.2 2.2 1.2 4 3.6 4 2.4 0 3.4-1.2 3.4-3.7s-.9-3.5-3.8-4.9c-3.4-1.6-4.8-3.1-4.8-6.2S88.2.8 91.7.8c3.5 0 5.3 3 5.3 5.5h-2.3c-.1-1-.4-3.5-3.1-3.5s-2.9 1.4-2.9 3.1c0 1.7.9 3 3.6 4.3 3.7 1.8 5.1 3.6 5.1 6.8 0 3.2-1.9 5.9-5.9 5.9s-5.7-2.8-5.9-5.9H88l-.1-.1ZM107.9 3.2h-4.8V1.1H115v2.1h-4.8v19.3h-2.4V3.2h.1ZM131.5 12.3h-7.1v8.2h7.9l-.3 2.1h-9.9V1.2h9.8v2.1h-7.5v7h7.1v2.1-.1ZM152.5 13.4c0-4 0-8 .1-10.3-.8 3.7-2.7 12.6-4.4 19.4h-2.3c-1.3-5.9-3.3-15.5-4.1-19.4.1 2.5.2 7.2.2 10.9v8.5h-2.2V1.1h3.5c1.7 6.7 3.4 14.9 3.9 17.7.4-2.3 2.5-11.2 4.2-17.7h3.5v21.4h-2.3v-9.1h-.1ZM165.9 15.8l-1.6 6.8h-2.4l5.2-21.4h3l5.3 21.4h-2.5l-1.6-6.8h-5.6.2Zm5.1-2.1c-1.2-5.3-2-8.6-2.3-10.3-.3 1.9-1.2 5.7-2.2 10.3h4.6-.1Z" data-v-7883ed41></path></svg>',2)];function $Z(e,t){return a.openBlock(),a.createElementBlock("div",QZ,NZ)}const ez=Ut(XZ,[["render",$Z],["__scopeId","data-v-7883ed41"]]),tz={class:"fge-auth-loading"},Dd=Ut(a.defineComponent({__name:"FgeLoadingComponent",setup(e){return(t,n)=>(a.openBlock(),a.createElementBlock("div",tz,[a.createVNode(ez)]))}}),[["__scopeId","data-v-461de591"]]),nz={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 1792 600"},rz=[a.createStaticVNode('<g fill="#fff" opacity=".3"><g opacity=".5" style="mix-blend-mode:overlay;"><path d="M766.836 80.288a232.487 232.487 0 0 1 80.937-30.75l-2.538-14.192c-30.341 5.374-59.677 16.516-85.954 32.658l7.549 12.284h.006Zm-83.38 88.445c13.742-25.58 32.295-48.565 54.4-67.384l-9.346-10.974c-23.476 19.981-43.16 44.385-57.752 71.536l12.698 6.828v-.006Zm-27.555 118.341c-1.106-29.014 3.398-58.203 13.071-85.574l-13.593-4.801c-10.278 29.065-15.063 60.086-13.886 90.897l14.408-.522Zm35.754 116.171c-7.743-12.273-14.356-25.263-19.653-38.78-5.308-13.512-9.336-27.52-12.069-41.779l-14.162 2.702a250.19 250.19 0 0 0 12.811 44.359c5.63 14.356 12.652 28.16 20.882 41.195l12.191-7.697Zm89.445 82.304c-25.744-13.43-48.965-31.691-68.05-53.571l-10.861 9.479c20.263 23.236 44.912 42.618 72.237 56.872l6.674-12.78Zm118.669 26.138a232.58 232.58 0 0 1-43.432-1.98 231.967 231.967 0 0 1-42.302-10.047l-4.637 13.65a246.226 246.226 0 0 0 44.932 10.671 247.502 247.502 0 0 0 46.135 2.103l-.696-14.402v.005Zm-.488-9.965a222.247 222.247 0 0 1-41.866-1.94 221.606 221.606 0 0 1-40.75-9.775c-26.487-9.054-51.238-23.19-72.555-41.354-21.332-18.149-39.199-40.331-52.312-65.041a221.143 221.143 0 0 1-16.081-38.703 228.229 228.229 0 0 1-8.562-41.083c-3.215-27.832-1.024-56.207 6.305-83.215 7.319-27.009 19.807-52.625 36.559-75.073 16.721-22.468 37.72-41.733 61.524-56.432a222.367 222.367 0 0 1 77.99-29.751l-.292-1.638a224.114 224.114 0 0 0-78.573 29.971c-23.983 14.812-45.136 34.22-61.985 56.852-16.869 22.617-29.455 48.417-36.83 75.63-7.385 27.208-9.591 55.798-6.352 83.835a229.935 229.935 0 0 0 8.624 41.385 222.975 222.975 0 0 0 16.199 38.99c13.215 24.899 31.216 47.245 52.706 65.527 21.471 18.297 46.406 32.54 73.092 41.661a223.352 223.352 0 0 0 41.057 9.847 224.31 224.31 0 0 0 42.179 1.95l-.082-1.663.005.02Zm206.309-137.293c-10.67 27.003-26.45 51.975-46.22 73.235l10.55 9.817c20.99-22.571 37.74-49.073 49.08-77.749l-13.41-5.303Zm13.53-120.756a235.381 235.381 0 0 1 2.6 43.411 230.173 230.173 0 0 1-5.56 43.115l14.06 3.179c3.4-15.037 5.41-30.397 5.91-45.807.52-15.411-.42-30.862-2.75-46.089l-14.25 2.186-.01.005Zm-49.02-111.196c18.27 22.56 32.27 48.566 40.92 76.28l13.76-4.32c-9.2-29.434-24.08-57.072-43.48-81.029l-11.21 9.069h.01Zm-98.403-71.372c27.126 10.344 52.293 25.81 73.803 45.326l9.68-10.677c-22.82-20.712-49.53-37.131-78.339-48.115l-5.144 13.471v-.005ZM850.783 49.021a232.597 232.597 0 0 1 86.562 1.924l3.01-14.1c-30.156-6.433-61.535-7.124-91.921-2.047l2.354 14.223h-.005Z" class="svg-external-circle"></path><path d="m770.229 82.09 27.386 45.699.497-.297c15.19-9.105 31.671-15.841 48.99-20.022l.563-.133-12.519-51.785-.562.133c-22.561 5.446-44.047 14.228-63.859 26.107l-.496.297Zm27.786 44.112-26.2-43.719c19.408-11.572 40.423-20.16 62.477-25.544l11.976 49.538c-17.038 4.171-33.268 10.804-48.253 19.72v.005Zm-122.706 67.825 49.44 19.858.215-.537a177.55 177.55 0 0 1 26.937-45.746l.363-.45-.45-.363-40.909-33.222-.363.45a230.724 230.724 0 0 0-35.018 59.478l-.215.537v-.005Zm48.801 18.354-47.297-18.999a229.403 229.403 0 0 1 34.266-58.193l39.563 32.132a178.66 178.66 0 0 0-26.532 45.06Zm-61.734 105.356a233.89 233.89 0 0 0 4.959 22.258l.154.558 51.38-14.105-.153-.558c-1.049-3.782-2.017-7.913-3.051-12.995-.788-4.033-1.469-8.353-2.088-13.215-.501-4.366-.87-8.834-1.09-13.276-.169-4.438-.2-8.911-.087-13.287l.015-.573-53.248-1.674-.021.579a229.844 229.844 0 0 0 3.23 46.288Zm5.921 21.393c-5.972-21.987-8.67-44.547-8.015-67.067l50.946 1.602c-.097 4.212-.061 8.516.102 12.79.226 4.478.594 8.972 1.096 13.368.624 4.893 1.31 9.244 2.103 13.302.988 4.863 1.919 8.86 2.917 12.519l-49.149 13.492v-.006Zm32.837 72.37.333.471c13.368 18.804 29.521 35.484 48.007 49.574l.461.348 32.3-42.368-.46-.348c-14.223-10.84-26.64-23.655-36.902-38.088l-.332-.471-43.412 30.887.005-.005Zm48.586 48.776c-18.051-13.829-33.846-30.141-46.974-48.504l41.528-29.547c10.155 14.182 22.377 26.798 36.344 37.515l-30.903 40.531.005.005Zm286.96-85.145 44.74 28.923.32-.487c3.39-5.287 6.29-10.154 8.85-14.883a247.102 247.102 0 0 0 7.71-15.498 250.608 250.608 0 0 0 6.52-16.04c1.85-5.072 3.58-10.466 5.29-16.48l.15-.558-51.3-14.356-.16.552c-1.34 4.714-2.67 8.855-4.06 12.652a198.982 198.982 0 0 1-5 12.325 199.477 199.477 0 0 1-5.93 11.915c-1.92 3.547-4.15 7.293-6.82 11.449l-.31.486Zm44.4 27.326-42.81-27.669c2.55-3.987 4.69-7.605 6.55-11.039 2.12-3.916 4.12-7.949 5.97-11.992 1.81-4.059 3.5-8.23 5.04-12.406 1.34-3.675 2.63-7.662 3.92-12.176l49.09 13.731c-1.65 5.769-3.32 10.953-5.11 15.846a246.95 246.95 0 0 1-6.48 15.963 244.631 244.631 0 0 1-7.67 15.421c-2.47 4.555-5.25 9.244-8.5 14.321Zm-28.5-189.268.54 1.311 1.46 3.884c.11.318.23.64.33.962l.21.599c.15.435.3.875.46 1.321.21.604.42 1.213.63 1.822l1.27 3.966 1.16 3.992c.1.328.18.656.27.988.05.205.11.41.16.614l.85 3.23.77 3.245c.18.701.33 1.417.47 2.108l.24 1.157.17.783c.18.809.36 1.643.49 2.472l.62 3.312.52 3.301c.77 5.19 1.26 9.402 1.53 13.251l.04.578 53.12-4.13-.04-.579c-1.82-23.236-7.04-45.863-15.52-67.262l-.21-.537-49.55 19.612h.01Zm10.6 32.132c-.14-.804-.31-1.612-.48-2.401l-.17-.783c-.09-.384-.16-.762-.24-1.141-.14-.706-.3-1.438-.48-2.155l-.77-3.245-.86-3.244-.15-.604c-.09-.343-.18-.686-.28-1.024l-1.17-4.002-1.27-3.987c-.21-.625-.42-1.234-.64-1.848-.15-.435-.3-.875-.45-1.315-.07-.2-.14-.4-.21-.594-.11-.333-.22-.665-.34-.993l-1.57-4.141 47.38-18.757c8.25 20.953 13.35 43.094 15.18 65.813l-50.81 3.951c-.29-3.726-.76-7.8-1.5-12.769l-.53-3.322-.62-3.316c-.01-.041-.02-.077-.02-.118v-.005Zm-83.77-117.814.497.297a177.262 177.262 0 0 1 40.833 33.933l.38.43 39.8-35.428-.39-.429a230.89 230.89 0 0 0-53.08-44.113l-.5-.297-27.535 45.607h-.005Zm41.8 33.032a178.423 178.423 0 0 0-40.213-33.421l26.343-43.632a229.516 229.516 0 0 1 51.94 43.161l-38.07 33.892Zm-151.829-56.99.573-.061c17.714-1.93 35.504-1.177 52.88 2.247l.568.112 10.288-52.276-.568-.113c-22.663-4.468-45.853-5.455-68.926-2.937l-.573.061 5.758 52.967Zm53.11.942c-17.12-3.316-34.639-4.059-52.086-2.211l-5.508-50.67c22.576-2.405 45.26-1.437 67.437 2.877l-9.843 50.009v-.005ZM819.689 498.042l.553.174a227.385 227.385 0 0 0 68.189 10.441h.578l.02-53.279h-.578a174.376 174.376 0 0 1-52.266-8.005l-.553-.174-15.937 50.838-.006.005Zm68.163 9.459a226.51 226.51 0 0 1-66.714-10.216l15.247-48.632a175.788 175.788 0 0 0 51.483 7.882l-.021 50.966h.005Z"></path><path d="m816.952 72.303 1.904 5.548.548-.189c3.332-1.157 6.879-2.267 10.84-3.404l.553-.158-1.607-5.645-.558.158c-4.069 1.167-7.713 2.308-11.142 3.501l-.543.19h.005Zm2.621 4.08-1.157-3.363a213.212 213.212 0 0 1 9.981-3.132l.972 3.424a209.25 209.25 0 0 0-9.801 3.076l.005-.005Zm-19.655 2.62 2.365 5.369.527-.225c.435-.19.87-.38 1.305-.568 1.279-.558 2.6-1.137 3.915-1.648l2.646-1.075c.548-.225 1.116-.435 1.669-.64l.987-.369.538-.204-2.073-5.492-.542.21-.983.368c-.573.215-1.167.435-1.751.67l-2.697 1.096c-1.366.532-2.738 1.131-4.064 1.71l-1.305.568-.532.23h-.005Zm2.958 3.854-1.433-3.255.778-.338c1.315-.573 2.672-1.167 4.028-1.694l2.702-1.095c.563-.23 1.152-.446 1.715-.66.148-.057.302-.113.45-.17l1.259 3.327c-.143.057-.291.108-.435.164a50.68 50.68 0 0 0-1.699.65l-2.636 1.07c-1.33.517-2.666 1.1-3.951 1.663l-.773.338h-.005Zm-19.36 4.263 2.809 5.154.507-.276c1.008-.548 2.042-1.09 3.045-1.617.661-.348 1.321-.691 1.981-1.045l5.599-2.763-2.528-5.292-.522.255a461.174 461.174 0 0 0-3.557 1.75l-1.669.825c-.675.358-1.341.706-2.001 1.054a194.289 194.289 0 0 0-3.158 1.679l-.506.276Zm3.27 3.588-1.704-3.122c.88-.47 1.771-.942 2.636-1.392.665-.348 1.33-.696 1.996-1.05l1.653-.818c1.008-.502 2.016-.998 3.025-1.495l1.535 3.214-4.596 2.268c-.67.358-1.331.701-1.991 1.049-.839.44-1.699.89-2.554 1.351v-.005Zm-80.2 67.211 4.877 3.26.323-.476a344.17 344.17 0 0 1 2.185-3.188c.348-.502.696-1.004 1.039-1.51.425-.579.855-1.177 1.29-1.776.671-.927 1.362-1.884 2.058-2.81l.348-.461-4.699-3.516-.348.461c-.727.967-1.448 1.965-2.144 2.927-.43.594-.86 1.193-1.295 1.787-.353.511-.696 1.013-1.044 1.509a297.959 297.959 0 0 0-2.268 3.312l-.322.481Zm4.565 1.658-2.958-1.975c.64-.942 1.29-1.884 1.935-2.82.343-.502.691-.999 1.033-1.5.425-.584.86-1.177 1.29-1.776.584-.809 1.177-1.638 1.786-2.452l2.851 2.129c-.583.789-1.162 1.587-1.725 2.365-.429.594-.859 1.193-1.294 1.781-.354.517-.702 1.019-1.05 1.52-.624.906-1.254 1.812-1.868 2.723v.005Zm-14.05 14.019 5.133 2.84 1.664-2.994 1.438-2.446c.179-.297.353-.599.532-.906.302-.517.599-1.029.916-1.536l1.807-2.912-4.975-3.112-1.842 2.969c-.328.527-.64 1.064-.957 1.602-.18.302-.354.609-.538.911l-1.479 2.513-1.704 3.065.005.006Zm4.683 1.274-3.112-1.725 1.136-2.042 1.469-2.503c.179-.302.358-.609.538-.916.307-.527.614-1.059.941-1.576l1.234-1.981 3.014 1.889-1.202 1.934a75.997 75.997 0 0 0-.932 1.566c-.174.302-.348.599-.527.896l-1.443 2.462-1.111 2.001-.005-.005Zm-12.856 15.124 5.353 2.406.241-.523c.824-1.801 1.673-3.608 2.4-5.164.323-.634.645-1.289.962-1.945a150.184 150.184 0 0 1 1.572-3.132l.266-.517-5.216-2.687-.266.512a147.912 147.912 0 0 0-1.632 3.26c-.323.655-.645 1.311-.973 1.961a608.55 608.55 0 0 0-2.467 5.302l-.24.527Zm4.78.88-3.245-1.458c.686-1.49 1.387-2.994 2.211-4.75.323-.64.645-1.3.967-1.955.441-.896.896-1.817 1.362-2.723l3.163 1.628c-.451.88-.891 1.771-1.315 2.641-.323.65-.64 1.3-.968 1.95a737.878 737.878 0 0 0-2.175 4.667Zm-23.205 101.979 5.855-.369-.03-.568c-.031-.599-.067-1.198-.103-1.796a99.318 99.318 0 0 1-.179-3.88l-.036-1.203c-.046-1.469-.097-2.989-.087-4.478v-.589l-5.865.052v.568c-.01 1.55.041 3.122.087 4.637l.036 1.202c.025 1.341.107 2.708.184 4.023.036.604.072 1.203.102 1.807l.031.583.005.011Zm4.642-1.449-3.552.22c-.02-.409-.046-.824-.071-1.233-.077-1.305-.159-2.657-.185-3.982l-.035-1.213c-.041-1.321-.087-2.682-.092-4.023l3.557-.031c0 1.321.046 2.646.092 3.936l.036 1.193a97.03 97.03 0 0 0 .179 3.92c.025.404.046.809.071 1.213Zm-2.702 19.674 5.804-.85-.829-6.223-.66-6.224-5.84.543.056.578c.113 1.172.241 2.344.369 3.516l.245 2.283.85 6.377h.005Zm4.509-1.827-3.521.517-.691-5.2a211.95 211.95 0 0 0-.246-2.273c-.107-.972-.21-1.95-.312-2.927l3.547-.328.537 5.108.681 5.108.005-.005Zm-3.614 7.252.102.568c.732 4.085 1.5 7.836 2.344 11.455l.133.563 5.717-1.326-.133-.563a218.864 218.864 0 0 1-2.282-11.152l-.103-.568-5.778 1.023Zm3.439 11.204a220.377 220.377 0 0 1-2.098-10.267l3.501-.619c.65 3.572 1.325 6.883 2.062 10.082l-3.465.804Zm38.565 84.5.348.455c2.124 2.769 4.473 5.64 7.385 9.044l.379.44 4.442-3.833-.373-.435c-2.846-3.322-5.128-6.117-7.186-8.798l-.353-.461-4.642 3.593v-.005Zm8.235 8.306c-2.569-3.009-4.694-5.609-6.618-8.096l2.815-2.181c1.883 2.436 3.972 4.99 6.5 7.949l-2.692 2.323-.005.005Zm3.522 5.733 2.815 3.004c.517.553 1.049 1.126 1.597 1.668l3.06 3.112 1.469 1.423 4.105-4.192-1.443-1.397-2.989-3.04c-.528-.522-1.039-1.07-1.536-1.602l-2.758-2.948-4.325 3.966.005.006Zm8.921 7.579-.635-.614-3.055-3.106c-.538-.538-1.065-1.101-1.577-1.643l-2.016-2.155 2.62-2.406 1.976 2.109a63.604 63.604 0 0 0 1.561 1.633l2.994 3.045.614.599-2.487 2.544.005-.006Zm3.997 5.41.43.389c.256.236.512.471.767.712.451.419.917.854 1.393 1.269l2.18 1.919a98.1 98.1 0 0 0 2.963 2.539c.497.414.988.824 1.479 1.244l.446.378 3.741-4.519-.435-.368c-.486-.415-.983-.83-1.474-1.239-.947-.793-1.93-1.607-2.856-2.447l-2.144-1.888a43.409 43.409 0 0 1-1.331-1.213c-.256-.236-.507-.476-.763-.706l-.425-.389-3.976 4.314.005.005Zm9.514 6.818c-.348-.292-.696-.584-1.044-.87-.972-.814-1.98-1.654-2.932-2.513l-2.191-1.93c-.466-.404-.921-.829-1.366-1.244-.118-.107-.231-.215-.349-.327l2.411-2.616c.113.103.22.205.333.308.44.409.895.834 1.361 1.238l2.134 1.878c.937.85 1.93 1.674 2.882 2.472l1.029.86-2.268 2.744Zm81.905 43.964.552.154c3.399.931 7.002 1.801 11.347 2.738l.568.123 1.223-5.738-.563-.123c-4.237-.916-7.748-1.765-11.039-2.666l-.558-.154-1.525 5.666h-.005Zm11.577 1.638c-3.839-.84-7.099-1.623-10.165-2.452l.926-3.434c3 .809 6.204 1.582 9.976 2.406l-.742 3.48h.005Zm6.264 2.451.579.098c.716.117 1.438.24 2.154.363 1.178.205 2.391.415 3.593.589l4.32.624c.312.041.624.082.937.118l1.095.133.732-5.825-1.095-.133c-.297-.035-.589-.066-.886-.107l-4.222-.609c-1.152-.169-2.324-.374-3.46-.568-.717-.123-1.428-.246-2.145-.364l-.558-.092-1.044 5.773Zm11.675.64c-.287-.036-.579-.066-.865-.107l-4.315-.625c-1.187-.174-2.395-.384-3.567-.583-.527-.092-1.054-.184-1.587-.271l.635-3.501c.527.087 1.049.179 1.576.271 1.142.195 2.319.399 3.491.573l4.227.614c.287.041.569.072.85.108l-.445 3.531v-.01Zm6.454 1.884 3.47.327 2.918.2c.353.02.701.046 1.049.072a53.33 53.33 0 0 0 1.868.117l3.485.154.241-5.865-3.419-.149c-.594-.026-1.203-.072-1.786-.112a60.986 60.986 0 0 0-1.044-.072l-2.836-.195-3.393-.322-.553 5.84v.005Zm11.69-.333-2.329-.102a54.533 54.533 0 0 1-1.832-.118 75.285 75.285 0 0 0-1.059-.072l-2.902-.199-2.309-.22.338-3.542 2.257.215 2.856.194c.348.021.691.046 1.034.072.594.041 1.213.087 1.822.113l2.267.097-.143 3.557v.005Zm192.694-108.693 5.05 2.984 1.78-3.01 1.42-2.554c.18-.312.35-.619.52-.926.3-.543.61-1.085.9-1.633l1.62-3.096-5.2-2.713-1.59 3.035c-.28.522-.57 1.044-.86 1.566-.17.308-.35.615-.52.922l-1.38 2.487-1.73 2.943-.01-.005Zm4.64 1.402-3.06-1.812 1.16-1.96 1.39-2.503.51-.916c.3-.527.59-1.054.88-1.591l1.06-2.017 3.15 1.643-1.08 2.068c-.29.537-.59 1.074-.89 1.607-.17.312-.35.619-.51.931l-1.42 2.544-1.18 2.001-.01.005Zm3.84-17.089 5.28 2.554.25-.522c.52-1.085 1.04-2.191 1.54-3.26.31-.671.62-1.346.94-2.017.3-.701.6-1.377.89-2.057.48-1.08.97-2.201 1.43-3.307l.23-.532-5.41-2.267-.23.532c-.44 1.065-.91 2.139-1.37 3.178-.3.681-.6 1.362-.89 2.048-.31.66-.63 1.335-.94 2.016-.48 1.029-.97 2.088-1.47 3.122l-.25.522v-.01Zm4.74 1.013-3.2-1.55c.42-.876.83-1.761 1.23-2.621.31-.676.63-1.351.94-2.027.31-.701.6-1.376.9-2.057l1.16-2.662 3.28 1.377c-.4.927-.81 1.853-1.2 2.759-.3.681-.6 1.361-.9 2.047-.3.655-.62 1.331-.93 2.006-.42.896-.85 1.817-1.28 2.723v.005Zm2.38-17.355 5.47 2.103 1.25-3.26c.22-.583.42-1.167.63-1.755.11-.333.23-.666.35-.998l.97-2.749 1.08-3.332-5.58-1.806-1.06 3.255-.94 2.671c-.12.328-.24.661-.35.993-.2.563-.4 1.121-.61 1.679l-1.21 3.199Zm4.81.609-3.32-1.275.8-2.124c.22-.568.42-1.136.62-1.709.11-.328.23-.655.35-.983l.94-2.687.71-2.175 3.38 1.095-.72 2.217-.96 2.733c-.12.332-.24.665-.35 1.003-.2.578-.41 1.156-.62 1.725l-.83 2.18Zm8.07-101.472 5.83-.691-.07-.573c-.14-1.177-.3-2.354-.46-3.531l-.3-2.252-1-6.357-5.78.993.98 6.203c.09.727.19 1.474.29 2.221.15 1.142.3 2.278.44 3.419l.07.574v-.006Zm4.54-1.699-3.53.42c-.11-.957-.24-1.909-.38-2.861-.1-.742-.2-1.484-.29-2.232l-.81-5.092 3.51-.604.82 5.185c.1.737.19 1.489.3 2.241.13.983.26 1.961.38 2.943Zm-10.14-28.154.52 1.939.98 4.146c.22.855.4 1.73.58 2.579l.75 3.547 5.75-1.167-.76-3.618c-.19-.875-.38-1.786-.6-2.672l-1.01-4.248-.52-1.975-5.68 1.469h-.01Zm3.72 10.85-.52-2.421c-.18-.86-.36-1.745-.58-2.615l-.99-4.156-.22-.829 3.45-.891.22.855 1.01 4.238c.22.875.4 1.771.59 2.635l.52 2.478-3.48.706Zm-8.94-27.894 1.13 3.235 1.73 5.41.95 3.275 5.64-1.637-.98-3.353-1.78-5.563-1.15-3.307-5.54 1.94Zm4.6 10.492-.63-2.18-1.74-5.441-.76-2.159 3.36-1.177.77 2.2 1.77 5.533.65 2.226-3.41.993-.01.005Zm-60.49-95.437.43.394c2.46 2.273 5.04 4.806 8.12 7.959l.4.409 4.22-4.074-.41-.414c-3.14-3.23-5.79-5.83-8.33-8.179l-.43-.389-4 4.294Zm8.97 7.135c-2.74-2.805-5.09-5.113-7.33-7.196l2.42-2.605c2.3 2.134 4.69 4.483 7.47 7.329l-2.56 2.472Zm-22.54-18.707.45.358c3.45 2.739 6.23 5.047 8.74 7.273l.44.384 3.87-4.412-.43-.378c-2.59-2.293-5.45-4.663-8.98-7.468l-.46-.358-3.63 4.611v-.01Zm9.53 6.377a211.3 211.3 0 0 0-7.91-6.566l2.2-2.795c3.12 2.483 5.7 4.627 8.05 6.69l-2.34 2.676v-.005Zm-24.03-16.761.49.317c2.79 1.827 5.76 3.895 9.33 6.505l.46.338 3.49-4.719-.47-.343c-3.66-2.672-6.71-4.796-9.58-6.684l-.48-.318-3.23 4.898-.01.006Zm10.03 5.553a211.814 211.814 0 0 0-8.43-5.886l1.96-2.969c2.6 1.715 5.35 3.634 8.59 5.994l-2.12 2.861Zm-105.93-39.44 1.996.189 4.227.507a48.98 48.98 0 0 1 2.012.266c.266.04.527.077.793.118l3.383.486.901-5.799-3.455-.496c-.271-.036-.537-.077-.803-.118a53.085 53.085 0 0 0-2.099-.282l-4.324-.517-2.037-.194-.584 5.84h-.01Zm11.444.256-2.252-.323c-.266-.036-.527-.077-.788-.112-.671-.098-1.362-.2-2.053-.272l-4.232-.506-.855-.082.353-3.542.875.082 4.32.517a44.55 44.55 0 0 1 2.063.276c.271.041.537.082.808.118l2.298.332-.542 3.517.005-.006Zm-29.225-1.234 3.424.061c.593.01 1.202.041 1.791.067.348.015.696.036 1.044.046l2.841.123 3.403.235.404-5.855-3.48-.24-2.922-.128-1.049-.046a55.675 55.675 0 0 0-1.874-.072l-3.485-.067-.092 5.866-.005.01Zm11.423-.696-2.262-.154-2.861-.122-1.034-.046a52.974 52.974 0 0 0-1.827-.067l-2.267-.04.056-3.558 2.329.04c.609.011 1.233.042 1.837.068.353.015.706.035 1.06.046l2.901.128 2.314.158-.246 3.552v-.005Zm-29.239 1.193.568-.031c.752-.041 1.5-.082 2.252-.128 1.147-.067 2.288-.133 3.434-.184l2.841-.087.906-.031c.629-.02 1.279-.046 1.914-.041h.594l-.087-5.865h-.563c-.671-.01-1.352.015-2.007.035l-.921.031-2.912.092c-1.198.051-2.406.123-3.578.19-.752.046-1.499.087-2.252.128l-.588.03.399 5.855v.006Zm11.337-1.649c-.466.006-.927.021-1.377.041l-.901.031-2.851.087c-1.162.051-2.329.118-3.46.184-.557.031-1.12.067-1.678.098l-.241-3.552c.558-.031 1.116-.062 1.674-.098 1.167-.066 2.369-.138 3.552-.189l2.902-.092.931-.03c.456-.016.926-.032 1.392-.042l.051 3.557.006.005Zm-190.112 247.44.092.522c4.448 25.555 13.727 49.559 27.572 71.336 13.655 21.522 31.926 40.658 52.839 55.353 20.928 14.74 45.111 25.477 69.928 31.061a194.982 194.982 0 0 0 38.079 4.714 198.899 198.899 0 0 0 38.381-2.81c12.723-2.201 25.206-5.625 37.111-10.18a195.175 195.175 0 0 0 34.317-17.171c21.523-13.558 40.733-31.768 55.523-52.65 14.8-20.836 25.62-44.983 31.3-69.831 5.77-25.156 6.49-50.879 2.14-76.449-2.17-12.729-5.54-25.227-10.05-37.147a195.4 195.4 0 0 0-17.06-34.374c-13.49-21.567-31.63-40.827-52.47-55.69-20.843-14.893-44.954-25.8-69.726-31.537a195.227 195.227 0 0 0-38.053-4.965c-12.728-.4-25.641.476-38.391 2.59l-.568.092 2.089 12.626.568-.097c11.925-1.98 24.004-2.794 35.903-2.426a182.418 182.418 0 0 1 35.551 4.642c23.154 5.364 45.694 15.559 65.184 29.491 19.493 13.9 36.453 31.906 49.053 52.066a182.247 182.247 0 0 1 15.94 32.111 184.427 184.427 0 0 1 9.4 34.747c4.07 23.907 3.4 47.951-1.99 71.464-5.31 23.226-15.43 45.802-29.27 65.286-13.84 19.531-31.79 36.554-51.911 49.226a182.712 182.712 0 0 1-32.06 16.046c-11.126 4.258-22.806 7.462-34.711 9.519-11.904 2.037-23.983 2.923-35.893 2.631a182.595 182.595 0 0 1-35.581-4.402c-23.2-5.22-45.812-15.262-65.379-29.045-19.551-13.737-36.635-31.63-49.405-51.749-12.938-20.36-21.608-42.798-25.769-66.684-.026-.158-.056-.322-.082-.481a185.888 185.888 0 0 1-2.667-35.407 182.246 182.246 0 0 1 4.284-35.591c5.144-23.216 15.114-45.853 28.836-65.471 13.716-19.643 31.548-36.789 51.58-49.584a182.613 182.613 0 0 1 31.952-16.255c11.086-4.325 22.745-7.595 34.645-9.714l.568-.103-2.252-12.6-.568.102c-12.719 2.267-25.187 5.763-37.045 10.39a195.416 195.416 0 0 0-34.204 17.401c-21.43 13.686-40.505 32.024-55.174 53.029-14.673 20.974-25.334 45.188-30.836 70.026a195.071 195.071 0 0 0-4.586 38.094 198.905 198.905 0 0 0 2.851 37.853l.015-.005Zm386.062-66.433c.03.174.06.343.08.517 4.33 25.422 3.61 50.992-2.13 75.999-5.64 24.7-16.4 48.704-31.11 69.422-14.71 20.764-33.8 38.861-55.197 52.343a194.122 194.122 0 0 1-34.112 17.068c-11.834 4.53-24.25 7.933-36.897 10.119-12.652 2.165-25.488 3.107-38.155 2.794a194.198 194.198 0 0 1-37.854-4.683c-24.674-5.553-48.714-16.229-69.519-30.882-20.79-14.607-38.949-33.636-52.527-55.025-13.762-21.655-22.985-45.515-27.407-70.916-2.196-12.647-3.194-25.483-2.923-38.151a193.624 193.624 0 0 1 4.56-37.869c5.472-24.689 16.071-48.765 30.658-69.616 14.581-20.882 33.544-39.112 54.845-52.716a194.092 194.092 0 0 1 34-17.3c11.618-4.534 23.809-7.974 36.262-10.23l1.847 10.328c-11.776 2.134-23.313 5.389-34.296 9.673a183.97 183.97 0 0 0-32.157 16.357c-20.155 12.872-38.104 30.125-51.903 49.897-13.808 19.735-23.84 42.516-29.014 65.88a183.719 183.719 0 0 0-4.315 35.816c-.256 11.987.686 24.137 2.769 36.114 4.187 24.039 12.908 46.615 25.928 67.103 12.847 20.247 30.039 38.253 49.712 52.077 19.695 13.87 42.445 23.973 65.789 29.224a183.568 183.568 0 0 0 35.801 4.432c11.986.297 24.137-.593 36.118-2.646 11.976-2.073 23.728-5.297 34.926-9.581a183.551 183.551 0 0 0 32.264-16.142c20.257-12.755 38.317-29.885 52.237-49.538 13.92-19.603 24.11-42.322 29.44-65.696 5.43-23.661 6.1-47.855 2.01-71.915a186.913 186.913 0 0 0-9.46-34.961 183.323 183.323 0 0 0-16.04-32.316c-12.69-20.288-29.76-38.406-49.363-52.394-19.613-14.019-42.296-24.28-65.599-29.675a183.48 183.48 0 0 0-35.775-4.668c-11.782-.368-23.743.42-35.556 2.344l-1.714-10.348c12.488-2.037 25.13-2.872 37.592-2.483 12.719.4 25.442 2.058 37.828 4.94 24.623 5.701 48.591 16.546 69.317 31.353 20.72 14.776 38.75 33.923 52.16 55.362a193.946 193.946 0 0 1 16.96 34.169 198.357 198.357 0 0 1 9.91 36.415l.01.005Z"></path><path d="M861.193 111.933a169.765 169.765 0 0 1 33.104-2.237 167.52 167.52 0 0 1 32.736 4.274c21.48 4.975 42.045 14.29 60.086 27.187 18.051 12.877 33.531 29.296 45.221 47.988 11.71 18.696 19.63 39.624 23.34 61.616 3.74 21.983 3.09 44.349-1.83 65.855-4.91 21.491-14.14 42.096-26.98 60.173-12.82 18.093-29.187 33.626-47.843 45.378-18.66 11.776-39.557 19.76-61.535 23.553-21.977 3.772-44.343 3.235-65.864-1.633-21.512-4.836-42.133-14.003-60.261-26.772-18.149-12.75-33.723-29.081-45.541-47.696-11.833-18.625-19.914-39.486-23.737-61.453-3.849-21.967-3.389-44.338 1.407-65.875 4.765-21.527 13.87-42.173 26.578-60.343 12.693-18.184 28.959-33.835 47.542-45.704a168.246 168.246 0 0 1 29.424-14.971c10.277-4.012 20.974-7.001 31.947-8.956l-.68-3.824c-11.219 2.002-22.162 5.057-32.679 9.162a171.601 171.601 0 0 0-30.11 15.318c-19.014 12.146-35.648 28.155-48.632 46.754-13 18.584-22.31 39.701-27.188 61.725-4.903 22.033-5.379 44.931-1.443 67.384 3.91 22.454 12.181 43.811 24.285 62.866 12.089 19.044 28.022 35.75 46.58 48.791 18.543 13.061 39.635 22.438 61.643 27.387 22.018 4.975 44.911 5.527 67.379 1.668 22.464-3.874 43.857-12.043 62.948-24.096 19.09-12.022 35.83-27.909 48.94-46.416 13.14-18.491 22.57-39.563 27.6-61.555 5.04-22.003 5.69-44.896 1.87-67.365-3.79-22.483-11.89-43.903-23.88-63.029-11.95-19.126-27.79-35.919-46.254-49.088-18.451-13.189-39.481-22.719-61.458-27.806a171.76 171.76 0 0 0-33.498-4.371c-11.28-.353-22.617.42-33.862 2.288l.635 3.828.01-.005Z"></path><path d="m653.762 166.149.174.082 80.605 38.82.082-.174a173.57 173.57 0 0 1 15.487-25.994c5.973-8.287 12.626-15.989 19.776-22.894a173.235 173.235 0 0 1 23.426-19.019c8.204-5.532 17.079-10.425 26.368-14.53l.174-.077-.076-.174-36.063-81.874-.174.077c-14.151 6.25-27.724 13.727-40.33 22.228a262.625 262.625 0 0 0-35.74 29.01c-10.917 10.558-21.035 22.273-30.079 34.813a263.553 263.553 0 0 0-23.543 39.527l-.082.174-.005.005Zm80.6 38.391-80.083-38.57a262.827 262.827 0 0 1 23.425-39.297c9.029-12.524 19.137-24.219 30.033-34.762a262.885 262.885 0 0 1 35.689-28.969c12.539-8.455 26.03-15.897 40.095-22.12l35.832 81.347c-9.249 4.1-18.077 8.972-26.251 14.484a173.643 173.643 0 0 0-23.482 19.06c-7.165 6.92-13.834 14.638-19.822 22.944a173.708 173.708 0 0 0-15.436 25.878v.005Zm296.708 169.225.16.107 76.47 50.884.1-.158c8.48-12.698 15.96-26.415 22.23-40.771 6.27-14.418 11.23-29.24 14.73-44.062a264.947 264.947 0 0 0 6.72-45.991c.84-15.324.32-30.939-1.53-46.421l-.02-.19-.19.026-91.18 11.086.02.189a176.807 176.807 0 0 1 1 30.187 173.6 173.6 0 0 1-4.35 29.787c-2.25 9.54-5.47 19.167-9.58 28.605-4.1 9.407-8.97 18.343-14.47 26.558l-.11.159v.005Zm76.52 50.459-75.98-50.567c5.46-8.189 10.3-17.089 14.39-26.46 4.11-9.464 7.34-19.106 9.59-28.672 2.32-9.76 3.79-19.807 4.36-29.854.54-9.883.21-19.996-.97-30.064l90.61-11.014c1.83 15.395 2.34 30.929 1.5 46.166a264.175 264.175 0 0 1-6.7 45.924c-3.5 14.797-8.45 29.598-14.72 43.995-6.23 14.27-13.65 27.915-22.08 40.551v-.005ZM861.475 110.116l.189-.031c5.43-.87 10.364-1.448 15.078-1.771a177.464 177.464 0 0 1 15.104-.414c5.138.082 10.2.389 15.047.901 4.98.537 9.99 1.294 14.893 2.262 10.052 1.991 19.787 4.821 28.948 8.414a174.494 174.494 0 0 1 27.091 13.425l.163.102.103-.164 55.719-91.266-.16-.102a281.841 281.841 0 0 0-43.987-21.798c-15.048-5.896-30.924-10.513-47.184-13.722a280.32 280.32 0 0 0-24.326-3.685A278.877 278.877 0 0 0 893.596.788a283.583 283.583 0 0 0-24.572.68c-7.739.543-15.943 1.5-24.378 2.852l-.189.03.031.19 16.997 105.571-.01.005Zm116.375 22.366a174.458 174.458 0 0 0-26.983-13.358c-9.176-3.603-18.942-6.444-29.009-8.435a174.43 174.43 0 0 0-14.929-2.267c-4.857-.517-9.93-.819-15.078-.901a177.79 177.79 0 0 0-15.135.415c-4.667.317-9.55.89-14.919 1.745L844.892 4.678c8.358-1.336 16.48-2.283 24.152-2.82a282.833 282.833 0 0 1 24.537-.676c8.291.133 16.541.63 24.52 1.474a279.565 279.565 0 0 1 24.296 3.68c16.235 3.21 32.091 7.815 47.117 13.701a281.097 281.097 0 0 1 43.756 21.67l-55.415 90.775h-.005Zm-128.639-2.979 1.51-.404 1.525-.363-2.866-11.854-1.643.389-1.628.435 3.102 11.797Zm-6.003 1.694 2.994-.875-3.342-11.731-3.229.942 3.577 11.664Zm-5.911 1.955 1.469-.511c.486-.174.978-.348 1.474-.497l-3.808-11.587c-.537.164-1.064.343-1.591.532l-1.587.553 4.043 11.51Zm-5.82 2.176c.952-.41 1.934-.742 2.902-1.116l-4.274-11.424c-1.044.405-2.104.763-3.132 1.203l4.504 11.337Zm-5.721 2.405 2.845-1.238-4.734-11.245-3.076 1.336 4.965 11.147Zm-5.611 2.646c.926-.46 1.848-.931 2.794-1.351l-5.184-11.04c-1.019.456-2.017.962-3.015 1.459l5.41 10.932h-.005Z"></path><path d="M814.639 143.23c.901-.507 1.832-.962 2.738-1.454l-5.63-10.819c-.982.527-1.985 1.023-2.958 1.571l5.85 10.707v-.005Zm-5.386 3.091 2.672-1.581-6.065-10.584-2.881 1.704 6.274 10.461Zm-5.251 3.307 1.295-.86 1.316-.819-6.49-10.328-1.423.885-1.397.926 6.699 10.196Zm-5.127 3.505c.84-.609 1.705-1.177 2.549-1.776L794.52 141.3c-.911.645-1.843 1.265-2.749 1.92l7.104 9.913Zm-4.975 3.726 2.467-1.893-7.304-9.771-2.667 2.048 7.504 9.616Zm-4.827 3.931 1.183-1.013 1.213-.973-7.693-9.468-1.31 1.054-1.275 1.09 7.882 9.31Zm-4.683 4.115c.763-.706 1.551-1.382 2.319-2.078l-8.071-9.151c-.83.752-1.679 1.484-2.503 2.242l8.25 8.982.005.005Zm-4.498 4.31 2.226-2.181-8.434-8.818-2.401 2.354 8.609 8.645Zm-4.33 4.498 1.054-1.151 1.09-1.121-8.782-8.471-1.173 1.208-1.136 1.239 8.947 8.296Zm-4.161 4.658c.67-.799 1.377-1.561 2.057-2.349l-9.11-8.113c-.737.85-1.499 1.674-2.221 2.534l9.274 7.928Zm-3.961 4.831 1.95-2.441-9.428-7.739-2.108 2.631 9.586 7.549Zm-3.767 4.991.911-1.27c.302-.425.629-.829.947-1.243l-9.73-7.355c-.338.45-.691.885-1.018 1.341l-.988 1.366 9.878 7.161Zm-3.573 5.128c.557-.881 1.182-1.715 1.76-2.58l-10.016-6.96c-.629.931-1.295 1.837-1.899 2.784l10.155 6.756Zm-3.356 5.271 1.648-2.656-10.293-6.556-1.771 2.866 10.416 6.346Zm-3.135 5.405c.507-.911.998-1.827 1.541-2.718l-10.543-6.136c-.584.957-1.116 1.95-1.664 2.927l10.666 5.922v.005Zm-2.925 5.512.342-.701.364-.686.732-1.382-10.784-5.706-.783 1.489-.394.742-.374.758 10.897 5.486Zm-2.704 5.625 1.315-2.825-10.998-5.272-1.418 3.051 11.101 5.046Zm-2.452 5.732c.394-.962.768-1.929 1.203-2.876l-11.204-4.821c-.465 1.018-.87 2.068-1.295 3.101l11.301 4.596h-.005Zm-2.237 5.815.256-.737.276-.727.558-1.454-11.393-4.371-.598 1.572-.297.783-.277.793 11.475 4.141Zm-1.995 5.891.962-2.959-11.557-3.905-1.039 3.194 11.634 3.67Zm-1.74 5.967c.276-.998.527-2.001.839-2.989l-11.705-3.434c-.337 1.065-.609 2.15-.911 3.229l11.772 3.199.005-.005Zm-1.514 6.024.163-.762.19-.753.373-1.504-11.833-2.959-.404 1.628-.205.814-.174.819 11.89 2.717Zm1.457 74.341c-.261-1.009-.557-2.007-.778-3.03l-11.848 2.897c.241 1.1.558 2.175.839 3.265l11.787-3.137v.005Zm1.716 5.998c-.323-.988-.584-1.996-.886-2.989l-11.725 3.373c.322 1.075.609 2.16.951 3.224l11.654-3.608h.006Zm1.965 5.906-1.019-2.937-11.577 3.838c.353 1.06.737 2.114 1.1 3.173l11.501-4.074h-.005Zm2.195 5.809c-.194-.481-.399-.957-.583-1.438l-.543-1.453-11.413 4.304.589 1.571c.199.522.419 1.034.629 1.556l11.326-4.534-.005-.006Zm2.411 5.722-1.233-2.85-11.235 4.77 1.336 3.071 11.132-4.991Zm2.666 5.6-.691-1.387-.348-.696-.322-.707-11.025 5.221.348.757.374.753.742 1.499 10.922-5.44Zm2.871 5.496c-.522-.89-.973-1.822-1.464-2.733l-10.804 5.661c.527.983 1.018 1.986 1.581 2.953l10.687-5.881Zm3.098 5.38-1.582-2.672-10.564 6.096 1.705 2.881 10.441-6.305Zm3.325 5.241c-.563-.865-1.157-1.715-1.689-2.606l-10.313 6.521c.573.957 1.213 1.878 1.822 2.815l10.175-6.725.005-.005Zm3.522 5.112-.46-.624-.441-.64-.885-1.279-10.037 6.935.957 1.377.476.69.497.676 9.893-7.135Zm3.736 4.975-1.899-2.467-9.75 7.335 2.048 2.656 9.601-7.524Zm3.946 4.811c-.671-.793-1.361-1.571-1.996-2.39l-9.448 7.718c.691.881 1.433 1.725 2.155 2.58l9.289-7.908Zm4.131 4.668-.537-.568-.517-.584-1.034-1.161-9.126 8.091 1.116 1.254.558.63.578.614 8.962-8.276Zm4.318 4.499-2.185-2.227-8.798 8.456 2.359 2.4 8.624-8.629Zm4.511 4.314c-.758-.711-1.546-1.397-2.278-2.134l-8.444 8.803c.793.794 1.632 1.536 2.456 2.303l8.266-8.966v-.006Zm4.672 4.141c-.814-.655-1.572-1.372-2.355-2.052l-8.086 9.135c.849.737 1.668 1.505 2.543 2.212l7.903-9.295h-.005Zm4.836 3.956-2.441-1.95-7.713 9.448 2.63 2.109 7.524-9.607Zm5.005 3.747c-.839-.62-1.704-1.203-2.518-1.848l-7.329 9.75c.88.696 1.812 1.326 2.718 1.996l7.135-9.898h-.006Zm5.141 3.557c-.886-.553-1.725-1.167-2.59-1.751l-6.935 10.037c.926.635 1.837 1.29 2.789 1.889l6.731-10.175h.005Zm5.276 3.352-2.656-1.648-6.526 10.303 2.861 1.781 6.321-10.436Zm5.415 3.117-1.367-.763-.686-.373-.67-.399-6.106 10.563.721.425.737.41 1.474.813 5.897-10.676Zm5.521 2.907c-.942-.445-1.853-.942-2.774-1.428l-5.676 10.799c.993.522 1.981 1.06 2.994 1.541l5.461-10.907-.005-.005Zm5.63 2.692-2.825-1.32-5.241 11.014 3.05 1.423 5.016-11.117Zm5.739 2.436-1.444-.588c-.481-.195-.962-.384-1.438-.604l-4.79 11.219c.511.235 1.028.44 1.55.65l1.556.634 4.566-11.311Zm5.818 2.211c-.486-.174-.982-.332-1.464-.522l-1.453-.557-4.335 11.403 1.571.598c.522.205 1.055.374 1.582.563l4.104-11.485h-.005Zm5.896 1.992-2.958-.968-3.87 11.567 3.189 1.044 3.639-11.643Zm5.974 1.719-1.499-.409c-.502-.133-1.004-.266-1.495-.425l-3.403 11.715c.532.169 1.074.312 1.612.456l1.617.44 3.163-11.782.005.005Zm6.028 1.489c-1.013-.204-2.016-.465-3.019-.716l-2.928 11.843c1.085.271 2.165.548 3.26.773l2.687-11.9Zm90.165-6.822-2.907 1.09 4.187 11.46 3.137-1.183-4.417-11.367Zm5.734-2.38c-.952.404-1.888.845-2.856 1.213l4.648 11.28c1.044-.399 2.057-.875 3.081-1.31l-4.878-11.183h.005Zm5.64-2.59c-.46.236-.926.456-1.397.671l-1.407.65 5.102 11.081 1.52-.707c.507-.23 1.014-.465 1.51-.721l-5.328-10.974Zm5.523-2.82-2.743 1.449 5.548 10.865 2.963-1.561-5.768-10.753Zm5.403-3.05-1.33.793c-.446.266-.906.502-1.351.758l5.983 10.63c.486-.276.982-.532 1.463-.819l1.439-.855-6.198-10.507h-.006Zm5.282-3.25c-.865.573-1.756 1.095-2.626 1.653l6.413 10.38c.942-.599 1.904-1.167 2.836-1.787l-6.618-10.246h-.005Zm5.149-3.48-2.554 1.77 6.828 10.109 2.753-1.909-7.027-9.97Zm5.001-3.691-1.229.952-1.254.917 7.232 9.826 1.351-.987 1.331-1.029-7.431-9.679Zm4.867-3.879c-.794.67-1.612 1.305-2.416 1.965l7.621 9.525c.865-.711 1.75-1.397 2.605-2.119l-7.81-9.371Zm4.699-4.089L990 395.772l8 9.213 2.51-2.237-8.186-9.048Zm4.534-4.279-1.105 1.1-1.142 1.065 8.359 8.88 1.23-1.152 1.2-1.182-8.542-8.711Zm4.372-4.448c-.7.768-1.445 1.495-2.162 2.247l8.712 8.537c.78-.814 1.58-1.597 2.34-2.426l-8.89-8.358Zm4.19-4.637-2.07 2.344 9.06 8.179 2.22-2.523-9.21-8Zm3.99-4.801-.97 1.224c-.32.409-.67.798-1 1.197l9.37 7.81c.36-.429.73-.849 1.08-1.289l1.05-1.321-9.53-7.621Zm3.82-4.954c-.6.85-1.27 1.658-1.89 2.493l9.68 7.431c.67-.901 1.38-1.771 2.03-2.692l-9.82-7.232Zm3.6-5.108-1.77 2.58 9.97 7.032 1.91-2.774-10.11-6.838Zm3.39-5.251c-.54.886-1.08 1.781-1.67 2.641l10.25 6.633c.63-.931 1.2-1.894 1.8-2.845l-10.37-6.424-.01-.005Zm3.19-5.369-.37.681-.4.67-.79 1.346 10.49 6.219.86-1.454.43-.721.4-.737-10.62-6.004Zm2.97-5.497-1.45 2.764 10.73 5.789 1.57-2.979-10.85-5.574Zm2.73-5.609c-.45.942-.86 1.894-1.34 2.82l10.96 5.354c.52-.998.97-2.027 1.45-3.041l-11.07-5.133Zm2.51-5.707c-.37.973-.82 1.909-1.23 2.866l11.17 4.909c.44-1.034.92-2.042 1.33-3.092l-11.27-4.683Zm2.28-5.799-1.1 2.913 11.35 4.452 1.2-3.137-11.45-4.228Zm2.03-5.88c-.33.982-.62 1.981-.98 2.948l11.52 3.992c.4-1.049.71-2.124 1.07-3.183l-11.6-3.762-.01.005Zm1.8-5.953c-.26 1.004-.59 1.986-.87 2.984l11.67 3.527c.32-1.075.67-2.135.95-3.22l-11.75-3.285v-.006Zm-4.83-97.484 1.1 2.907 11.46-4.171-1.18-3.138-11.38 4.402Zm-2.36-5.743.63 1.423c.21.471.38.957.58 1.438l11.29-4.626c-.22-.517-.4-1.044-.64-1.551l-.67-1.536-11.18 4.858-.01-.006Zm-2.57-5.645c.46.926.87 1.878 1.31 2.81l11.09-5.082c-.48-1.009-.92-2.032-1.41-3.035l-10.99 5.307Zm-2.82-5.522 1.44 2.743 10.88-5.528-1.57-2.968-10.75 5.753Zm-3.04-5.41.79 1.331.76 1.356 10.63-5.963-.81-1.463-.85-1.444-10.52 6.183Zm-3.24-5.292 1.64 2.631 10.39-6.393-1.77-2.841-10.26 6.603Zm-3.48-5.149c.58.855 1.2 1.694 1.77 2.554l10.12-6.807c-.61-.932-1.27-1.838-1.9-2.759l-9.98 7.012h-.01Zm-3.67-5.011c.31.41.64.819.95 1.234l.91 1.259 9.84-7.212-.99-1.356c-.33-.45-.69-.885-1.02-1.331l-9.69 7.411v-.005Zm-3.87-4.872 1.96 2.416 9.53-7.606-2.11-2.61-9.38 7.8Zm-4.09-4.704c.69.783 1.4 1.541 2.07 2.329l9.22-7.984c-.72-.855-1.49-1.674-2.23-2.513l-9.06 8.168Zm-4.266-4.544 1.096 1.11 1.06 1.141 8.89-8.347-1.14-1.234-1.18-1.197-8.726 8.527Zm-4.443-4.387 2.242 2.176 8.547-8.701-2.42-2.339-8.369 8.864Zm-4.632-4.186c.773.696 1.571 1.366 2.339 2.067l8.192-9.033c-.83-.758-1.682-1.484-2.521-2.232l-8.015 9.198h.005Zm-4.796-4.008 1.223.973 1.193 1.008 7.83-9.356-1.289-1.085-1.316-1.049-7.641 9.509Zm-4.943-3.823c.839.614 1.658 1.264 2.492 1.889l7.447-9.663c-.901-.676-1.781-1.372-2.687-2.037l-7.252 9.811Zm-5.104-3.608 2.575 1.776 7.052-9.955-2.774-1.914-6.853 10.093Zm-5.24-3.399 1.331.819 1.305.855 6.648-10.226-1.412-.926-1.434-.881-6.438 10.359Zm-5.369-3.204c.911.502 1.796 1.055 2.697 1.577l6.234-10.487c-.973-.558-1.925-1.157-2.907-1.699l-6.024 10.609Zm-5.492-2.968 2.763 1.448 5.809-10.727-2.983-1.561-5.589 10.84Zm-5.604-2.743 1.418.655c.471.215.931.46 1.397.691l5.374-10.953c-.507-.246-.998-.512-1.51-.742l-1.525-.706-5.149 11.06-.005-.005Zm-5.701-2.524c.967.384 1.904.83 2.861 1.234l4.929-11.158c-1.034-.435-2.048-.921-3.087-1.33l-4.703 11.254Zm-5.793-2.287 2.907 1.105 4.478-11.347-3.142-1.192-4.243 11.434Zm-5.881-2.037c.988.317 1.976.629 2.948.993l4.013-11.521c-1.05-.389-2.119-.727-3.184-1.07l-3.777 11.598Zm-5.947-1.812c.501.128.998.281 1.494.43l1.49.445 3.541-11.674-1.607-.482c-.537-.163-1.069-.327-1.612-.465l-3.306 11.741v.005Zm-6.014-1.566 3.02.742 3.066-11.808-3.256-.798-2.83 11.864Zm-6.066-1.306 1.525.292c.507.097 1.008.225 1.515.333l2.59-11.92c-.548-.118-1.091-.251-1.638-.358l-1.643-.318-2.344 11.971h-.005Zm-6.112-1.079c1.024.148 2.037.348 3.061.511l2.104-12.017c-1.101-.174-2.201-.394-3.307-.553l-1.858 12.059Zm-6.146-.814 3.081.368 1.612-12.094-3.327-.399-1.366 12.125Z" class="svg-internal-circle"></path></g><g opacity=".5" style="mix-blend-mode:overlay;"><path d="M766.836 80.288a232.487 232.487 0 0 1 80.937-30.75l-2.538-14.192c-30.341 5.374-59.677 16.516-85.954 32.658l7.549 12.284h.006Zm-83.38 88.445c13.742-25.58 32.295-48.565 54.4-67.384l-9.346-10.974c-23.476 19.981-43.16 44.385-57.752 71.536l12.698 6.828v-.006Zm-27.555 118.341c-1.106-29.014 3.398-58.203 13.071-85.574l-13.593-4.801c-10.278 29.065-15.063 60.086-13.886 90.897l14.408-.522Zm35.754 116.171c-7.743-12.273-14.356-25.263-19.653-38.78-5.308-13.512-9.336-27.52-12.069-41.779l-14.162 2.702a250.19 250.19 0 0 0 12.811 44.359c5.63 14.356 12.652 28.16 20.882 41.195l12.191-7.697Zm89.445 82.304c-25.744-13.43-48.965-31.691-68.05-53.571l-10.861 9.479c20.263 23.236 44.912 42.618 72.237 56.872l6.674-12.78Zm118.669 26.138a232.58 232.58 0 0 1-43.432-1.98 231.967 231.967 0 0 1-42.302-10.047l-4.637 13.65a246.226 246.226 0 0 0 44.932 10.671 247.502 247.502 0 0 0 46.135 2.103l-.696-14.402v.005Zm-.488-9.965a222.247 222.247 0 0 1-41.866-1.94 221.606 221.606 0 0 1-40.75-9.775c-26.487-9.054-51.238-23.19-72.555-41.354-21.332-18.149-39.199-40.331-52.312-65.041a221.143 221.143 0 0 1-16.081-38.703 228.229 228.229 0 0 1-8.562-41.083c-3.215-27.832-1.024-56.207 6.305-83.215 7.319-27.009 19.807-52.625 36.559-75.073 16.721-22.468 37.72-41.733 61.524-56.432a222.367 222.367 0 0 1 77.99-29.751l-.292-1.638a224.114 224.114 0 0 0-78.573 29.971c-23.983 14.812-45.136 34.22-61.985 56.852-16.869 22.617-29.455 48.417-36.83 75.63-7.385 27.208-9.591 55.798-6.352 83.835a229.935 229.935 0 0 0 8.624 41.385 222.975 222.975 0 0 0 16.199 38.99c13.215 24.899 31.216 47.245 52.706 65.527 21.471 18.297 46.406 32.54 73.092 41.661a223.352 223.352 0 0 0 41.057 9.847 224.31 224.31 0 0 0 42.179 1.95l-.082-1.663.005.02Zm206.309-137.293c-10.67 27.003-26.45 51.975-46.22 73.235l10.55 9.817c20.99-22.571 37.74-49.073 49.08-77.749l-13.41-5.303Zm13.53-120.756a235.381 235.381 0 0 1 2.6 43.411 230.173 230.173 0 0 1-5.56 43.115l14.06 3.179c3.4-15.037 5.41-30.397 5.91-45.807.52-15.411-.42-30.862-2.75-46.089l-14.25 2.186-.01.005Zm-49.02-111.196c18.27 22.56 32.27 48.566 40.92 76.28l13.76-4.32c-9.2-29.434-24.08-57.072-43.48-81.029l-11.21 9.069h.01Zm-98.403-71.372c27.126 10.344 52.293 25.81 73.803 45.326l9.68-10.677c-22.82-20.712-49.53-37.131-78.339-48.115l-5.144 13.471v-.005ZM850.783 49.021a232.597 232.597 0 0 1 86.562 1.924l3.01-14.1c-30.156-6.433-61.535-7.124-91.921-2.047l2.354 14.223h-.005Z" class="svg-external-circle"></path><path d="m770.229 82.09 27.386 45.699.497-.297c15.19-9.105 31.671-15.841 48.99-20.022l.563-.133-12.519-51.785-.562.133c-22.561 5.446-44.047 14.228-63.859 26.107l-.496.297Zm27.786 44.112-26.2-43.719c19.408-11.572 40.423-20.16 62.477-25.544l11.976 49.538c-17.038 4.171-33.268 10.804-48.253 19.72v.005Zm-122.706 67.825 49.44 19.858.215-.537a177.55 177.55 0 0 1 26.937-45.746l.363-.45-.45-.363-40.909-33.222-.363.45a230.724 230.724 0 0 0-35.018 59.478l-.215.537v-.005Zm48.801 18.354-47.297-18.999a229.403 229.403 0 0 1 34.266-58.193l39.563 32.132a178.66 178.66 0 0 0-26.532 45.06Zm-61.734 105.356a233.89 233.89 0 0 0 4.959 22.258l.154.558 51.38-14.105-.153-.558c-1.049-3.782-2.017-7.913-3.051-12.995-.788-4.033-1.469-8.353-2.088-13.215-.501-4.366-.87-8.834-1.09-13.276-.169-4.438-.2-8.911-.087-13.287l.015-.573-53.248-1.674-.021.579a229.844 229.844 0 0 0 3.23 46.288Zm5.921 21.393c-5.972-21.987-8.67-44.547-8.015-67.067l50.946 1.602c-.097 4.212-.061 8.516.102 12.79.226 4.478.594 8.972 1.096 13.368.624 4.893 1.31 9.244 2.103 13.302.988 4.863 1.919 8.86 2.917 12.519l-49.149 13.492v-.006Zm32.837 72.37.333.471c13.368 18.804 29.521 35.484 48.007 49.574l.461.348 32.3-42.368-.46-.348c-14.223-10.84-26.64-23.655-36.902-38.088l-.332-.471-43.412 30.887.005-.005Zm48.586 48.776c-18.051-13.829-33.846-30.141-46.974-48.504l41.528-29.547c10.155 14.182 22.377 26.798 36.344 37.515l-30.903 40.531.005.005Zm286.96-85.145 44.74 28.923.32-.487c3.39-5.287 6.29-10.154 8.85-14.883a247.102 247.102 0 0 0 7.71-15.498 250.608 250.608 0 0 0 6.52-16.04c1.85-5.072 3.58-10.466 5.29-16.48l.15-.558-51.3-14.356-.16.552c-1.34 4.714-2.67 8.855-4.06 12.652a198.982 198.982 0 0 1-5 12.325 199.477 199.477 0 0 1-5.93 11.915c-1.92 3.547-4.15 7.293-6.82 11.449l-.31.486Zm44.4 27.326-42.81-27.669c2.55-3.987 4.69-7.605 6.55-11.039 2.12-3.916 4.12-7.949 5.97-11.992 1.81-4.059 3.5-8.23 5.04-12.406 1.34-3.675 2.63-7.662 3.92-12.176l49.09 13.731c-1.65 5.769-3.32 10.953-5.11 15.846a246.95 246.95 0 0 1-6.48 15.963 244.631 244.631 0 0 1-7.67 15.421c-2.47 4.555-5.25 9.244-8.5 14.321Zm-28.5-189.268.54 1.311 1.46 3.884c.11.318.23.64.33.962l.21.599c.15.435.3.875.46 1.321.21.604.42 1.213.63 1.822l1.27 3.966 1.16 3.992c.1.328.18.656.27.988.05.205.11.41.16.614l.85 3.23.77 3.245c.18.701.33 1.417.47 2.108l.24 1.157.17.783c.18.809.36 1.643.49 2.472l.62 3.312.52 3.301c.77 5.19 1.26 9.402 1.53 13.251l.04.578 53.12-4.13-.04-.579c-1.82-23.236-7.04-45.863-15.52-67.262l-.21-.537-49.55 19.612h.01Zm10.6 32.132c-.14-.804-.31-1.612-.48-2.401l-.17-.783c-.09-.384-.16-.762-.24-1.141-.14-.706-.3-1.438-.48-2.155l-.77-3.245-.86-3.244-.15-.604c-.09-.343-.18-.686-.28-1.024l-1.17-4.002-1.27-3.987c-.21-.625-.42-1.234-.64-1.848-.15-.435-.3-.875-.45-1.315-.07-.2-.14-.4-.21-.594-.11-.333-.22-.665-.34-.993l-1.57-4.141 47.38-18.757c8.25 20.953 13.35 43.094 15.18 65.813l-50.81 3.951c-.29-3.726-.76-7.8-1.5-12.769l-.53-3.322-.62-3.316c-.01-.041-.02-.077-.02-.118v-.005Zm-83.77-117.814.497.297a177.262 177.262 0 0 1 40.833 33.933l.38.43 39.8-35.428-.39-.429a230.89 230.89 0 0 0-53.08-44.113l-.5-.297-27.535 45.607h-.005Zm41.8 33.032a178.423 178.423 0 0 0-40.213-33.421l26.343-43.632a229.516 229.516 0 0 1 51.94 43.161l-38.07 33.892Zm-151.829-56.99.573-.061c17.714-1.93 35.504-1.177 52.88 2.247l.568.112 10.288-52.276-.568-.113c-22.663-4.468-45.853-5.455-68.926-2.937l-.573.061 5.758 52.967Zm53.11.942c-17.12-3.316-34.639-4.059-52.086-2.211l-5.508-50.67c22.576-2.405 45.26-1.437 67.437 2.877l-9.843 50.009v-.005ZM819.689 498.042l.553.174a227.385 227.385 0 0 0 68.189 10.441h.578l.02-53.279h-.578a174.376 174.376 0 0 1-52.266-8.005l-.553-.174-15.937 50.838-.006.005Zm68.163 9.459a226.51 226.51 0 0 1-66.714-10.216l15.247-48.632a175.788 175.788 0 0 0 51.483 7.882l-.021 50.966h.005Z"></path><path d="m816.952 72.303 1.904 5.548.548-.189c3.332-1.157 6.879-2.267 10.84-3.404l.553-.158-1.607-5.645-.558.158c-4.069 1.167-7.713 2.308-11.142 3.501l-.543.19h.005Zm2.621 4.08-1.157-3.363a213.212 213.212 0 0 1 9.981-3.132l.972 3.424a209.25 209.25 0 0 0-9.801 3.076l.005-.005Zm-19.655 2.62 2.365 5.369.527-.225c.435-.19.87-.38 1.305-.568 1.279-.558 2.6-1.137 3.915-1.648l2.646-1.075c.548-.225 1.116-.435 1.669-.64l.987-.369.538-.204-2.073-5.492-.542.21-.983.368c-.573.215-1.167.435-1.751.67l-2.697 1.096c-1.366.532-2.738 1.131-4.064 1.71l-1.305.568-.532.23h-.005Zm2.958 3.854-1.433-3.255.778-.338c1.315-.573 2.672-1.167 4.028-1.694l2.702-1.095c.563-.23 1.152-.446 1.715-.66.148-.057.302-.113.45-.17l1.259 3.327c-.143.057-.291.108-.435.164a50.68 50.68 0 0 0-1.699.65l-2.636 1.07c-1.33.517-2.666 1.1-3.951 1.663l-.773.338h-.005Zm-19.36 4.263 2.809 5.154.507-.276c1.008-.548 2.042-1.09 3.045-1.617.661-.348 1.321-.691 1.981-1.045l5.599-2.763-2.528-5.292-.522.255a461.174 461.174 0 0 0-3.557 1.75l-1.669.825c-.675.358-1.341.706-2.001 1.054a194.289 194.289 0 0 0-3.158 1.679l-.506.276Zm3.27 3.588-1.704-3.122c.88-.47 1.771-.942 2.636-1.392.665-.348 1.33-.696 1.996-1.05l1.653-.818c1.008-.502 2.016-.998 3.025-1.495l1.535 3.214-4.596 2.268c-.67.358-1.331.701-1.991 1.049-.839.44-1.699.89-2.554 1.351v-.005Zm-80.2 67.211 4.877 3.26.323-.476a344.17 344.17 0 0 1 2.185-3.188c.348-.502.696-1.004 1.039-1.51.425-.579.855-1.177 1.29-1.776.671-.927 1.362-1.884 2.058-2.81l.348-.461-4.699-3.516-.348.461c-.727.967-1.448 1.965-2.144 2.927-.43.594-.86 1.193-1.295 1.787-.353.511-.696 1.013-1.044 1.509a297.959 297.959 0 0 0-2.268 3.312l-.322.481Zm4.565 1.658-2.958-1.975c.64-.942 1.29-1.884 1.935-2.82.343-.502.691-.999 1.033-1.5.425-.584.86-1.177 1.29-1.776.584-.809 1.177-1.638 1.786-2.452l2.851 2.129c-.583.789-1.162 1.587-1.725 2.365-.429.594-.859 1.193-1.294 1.781-.354.517-.702 1.019-1.05 1.52-.624.906-1.254 1.812-1.868 2.723v.005Zm-14.05 14.019 5.133 2.84 1.664-2.994 1.438-2.446c.179-.297.353-.599.532-.906.302-.517.599-1.029.916-1.536l1.807-2.912-4.975-3.112-1.842 2.969c-.328.527-.64 1.064-.957 1.602-.18.302-.354.609-.538.911l-1.479 2.513-1.704 3.065.005.006Zm4.683 1.274-3.112-1.725 1.136-2.042 1.469-2.503c.179-.302.358-.609.538-.916.307-.527.614-1.059.941-1.576l1.234-1.981 3.014 1.889-1.202 1.934a75.997 75.997 0 0 0-.932 1.566c-.174.302-.348.599-.527.896l-1.443 2.462-1.111 2.001-.005-.005Zm-12.856 15.124 5.353 2.406.241-.523c.824-1.801 1.673-3.608 2.4-5.164.323-.634.645-1.289.962-1.945a150.184 150.184 0 0 1 1.572-3.132l.266-.517-5.216-2.687-.266.512a147.912 147.912 0 0 0-1.632 3.26c-.323.655-.645 1.311-.973 1.961a608.55 608.55 0 0 0-2.467 5.302l-.24.527Zm4.78.88-3.245-1.458c.686-1.49 1.387-2.994 2.211-4.75.323-.64.645-1.3.967-1.955.441-.896.896-1.817 1.362-2.723l3.163 1.628c-.451.88-.891 1.771-1.315 2.641-.323.65-.64 1.3-.968 1.95a737.878 737.878 0 0 0-2.175 4.667Zm-23.205 101.979 5.855-.369-.03-.568c-.031-.599-.067-1.198-.103-1.796a99.318 99.318 0 0 1-.179-3.88l-.036-1.203c-.046-1.469-.097-2.989-.087-4.478v-.589l-5.865.052v.568c-.01 1.55.041 3.122.087 4.637l.036 1.202c.025 1.341.107 2.708.184 4.023.036.604.072 1.203.102 1.807l.031.583.005.011Zm4.642-1.449-3.552.22c-.02-.409-.046-.824-.071-1.233-.077-1.305-.159-2.657-.185-3.982l-.035-1.213c-.041-1.321-.087-2.682-.092-4.023l3.557-.031c0 1.321.046 2.646.092 3.936l.036 1.193a97.03 97.03 0 0 0 .179 3.92c.025.404.046.809.071 1.213Zm-2.702 19.674 5.804-.85-.829-6.223-.66-6.224-5.84.543.056.578c.113 1.172.241 2.344.369 3.516l.245 2.283.85 6.377h.005Zm4.509-1.827-3.521.517-.691-5.2a211.95 211.95 0 0 0-.246-2.273c-.107-.972-.21-1.95-.312-2.927l3.547-.328.537 5.108.681 5.108.005-.005Zm-3.614 7.252.102.568c.732 4.085 1.5 7.836 2.344 11.455l.133.563 5.717-1.326-.133-.563a218.864 218.864 0 0 1-2.282-11.152l-.103-.568-5.778 1.023Zm3.439 11.204a220.377 220.377 0 0 1-2.098-10.267l3.501-.619c.65 3.572 1.325 6.883 2.062 10.082l-3.465.804Zm38.565 84.5.348.455c2.124 2.769 4.473 5.64 7.385 9.044l.379.44 4.442-3.833-.373-.435c-2.846-3.322-5.128-6.117-7.186-8.798l-.353-.461-4.642 3.593v-.005Zm8.235 8.306c-2.569-3.009-4.694-5.609-6.618-8.096l2.815-2.181c1.883 2.436 3.972 4.99 6.5 7.949l-2.692 2.323-.005.005Zm3.522 5.733 2.815 3.004c.517.553 1.049 1.126 1.597 1.668l3.06 3.112 1.469 1.423 4.105-4.192-1.443-1.397-2.989-3.04c-.528-.522-1.039-1.07-1.536-1.602l-2.758-2.948-4.325 3.966.005.006Zm8.921 7.579-.635-.614-3.055-3.106c-.538-.538-1.065-1.101-1.577-1.643l-2.016-2.155 2.62-2.406 1.976 2.109a63.604 63.604 0 0 0 1.561 1.633l2.994 3.045.614.599-2.487 2.544.005-.006Zm3.997 5.41.43.389c.256.236.512.471.767.712.451.419.917.854 1.393 1.269l2.18 1.919a98.1 98.1 0 0 0 2.963 2.539c.497.414.988.824 1.479 1.244l.446.378 3.741-4.519-.435-.368c-.486-.415-.983-.83-1.474-1.239-.947-.793-1.93-1.607-2.856-2.447l-2.144-1.888a43.409 43.409 0 0 1-1.331-1.213c-.256-.236-.507-.476-.763-.706l-.425-.389-3.976 4.314.005.005Zm9.514 6.818c-.348-.292-.696-.584-1.044-.87-.972-.814-1.98-1.654-2.932-2.513l-2.191-1.93c-.466-.404-.921-.829-1.366-1.244-.118-.107-.231-.215-.349-.327l2.411-2.616c.113.103.22.205.333.308.44.409.895.834 1.361 1.238l2.134 1.878c.937.85 1.93 1.674 2.882 2.472l1.029.86-2.268 2.744Zm81.905 43.964.552.154c3.399.931 7.002 1.801 11.347 2.738l.568.123 1.223-5.738-.563-.123c-4.237-.916-7.748-1.765-11.039-2.666l-.558-.154-1.525 5.666h-.005Zm11.577 1.638c-3.839-.84-7.099-1.623-10.165-2.452l.926-3.434c3 .809 6.204 1.582 9.976 2.406l-.742 3.48h.005Zm6.264 2.451.579.098c.716.117 1.438.24 2.154.363 1.178.205 2.391.415 3.593.589l4.32.624c.312.041.624.082.937.118l1.095.133.732-5.825-1.095-.133c-.297-.035-.589-.066-.886-.107l-4.222-.609c-1.152-.169-2.324-.374-3.46-.568-.717-.123-1.428-.246-2.145-.364l-.558-.092-1.044 5.773Zm11.675.64c-.287-.036-.579-.066-.865-.107l-4.315-.625c-1.187-.174-2.395-.384-3.567-.583-.527-.092-1.054-.184-1.587-.271l.635-3.501c.527.087 1.049.179 1.576.271 1.142.195 2.319.399 3.491.573l4.227.614c.287.041.569.072.85.108l-.445 3.531v-.01Zm6.454 1.884 3.47.327 2.918.2c.353.02.701.046 1.049.072a53.33 53.33 0 0 0 1.868.117l3.485.154.241-5.865-3.419-.149c-.594-.026-1.203-.072-1.786-.112a60.986 60.986 0 0 0-1.044-.072l-2.836-.195-3.393-.322-.553 5.84v.005Zm11.69-.333-2.329-.102a54.533 54.533 0 0 1-1.832-.118 75.285 75.285 0 0 0-1.059-.072l-2.902-.199-2.309-.22.338-3.542 2.257.215 2.856.194c.348.021.691.046 1.034.072.594.041 1.213.087 1.822.113l2.267.097-.143 3.557v.005Zm192.694-108.693 5.05 2.984 1.78-3.01 1.42-2.554c.18-.312.35-.619.52-.926.3-.543.61-1.085.9-1.633l1.62-3.096-5.2-2.713-1.59 3.035c-.28.522-.57 1.044-.86 1.566-.17.308-.35.615-.52.922l-1.38 2.487-1.73 2.943-.01-.005Zm4.64 1.402-3.06-1.812 1.16-1.96 1.39-2.503.51-.916c.3-.527.59-1.054.88-1.591l1.06-2.017 3.15 1.643-1.08 2.068c-.29.537-.59 1.074-.89 1.607-.17.312-.35.619-.51.931l-1.42 2.544-1.18 2.001-.01.005Zm3.84-17.089 5.28 2.554.25-.522c.52-1.085 1.04-2.191 1.54-3.26.31-.671.62-1.346.94-2.017.3-.701.6-1.377.89-2.057.48-1.08.97-2.201 1.43-3.307l.23-.532-5.41-2.267-.23.532c-.44 1.065-.91 2.139-1.37 3.178-.3.681-.6 1.362-.89 2.048-.31.66-.63 1.335-.94 2.016-.48 1.029-.97 2.088-1.47 3.122l-.25.522v-.01Zm4.74 1.013-3.2-1.55c.42-.876.83-1.761 1.23-2.621.31-.676.63-1.351.94-2.027.31-.701.6-1.376.9-2.057l1.16-2.662 3.28 1.377c-.4.927-.81 1.853-1.2 2.759-.3.681-.6 1.361-.9 2.047-.3.655-.62 1.331-.93 2.006-.42.896-.85 1.817-1.28 2.723v.005Zm2.38-17.355 5.47 2.103 1.25-3.26c.22-.583.42-1.167.63-1.755.11-.333.23-.666.35-.998l.97-2.749 1.08-3.332-5.58-1.806-1.06 3.255-.94 2.671c-.12.328-.24.661-.35.993-.2.563-.4 1.121-.61 1.679l-1.21 3.199Zm4.81.609-3.32-1.275.8-2.124c.22-.568.42-1.136.62-1.709.11-.328.23-.655.35-.983l.94-2.687.71-2.175 3.38 1.095-.72 2.217-.96 2.733c-.12.332-.24.665-.35 1.003-.2.578-.41 1.156-.62 1.725l-.83 2.18Zm8.07-101.472 5.83-.691-.07-.573c-.14-1.177-.3-2.354-.46-3.531l-.3-2.252-1-6.357-5.78.993.98 6.203c.09.727.19 1.474.29 2.221.15 1.142.3 2.278.44 3.419l.07.574v-.006Zm4.54-1.699-3.53.42c-.11-.957-.24-1.909-.38-2.861-.1-.742-.2-1.484-.29-2.232l-.81-5.092 3.51-.604.82 5.185c.1.737.19 1.489.3 2.241.13.983.26 1.961.38 2.943Zm-10.14-28.154.52 1.939.98 4.146c.22.855.4 1.73.58 2.579l.75 3.547 5.75-1.167-.76-3.618c-.19-.875-.38-1.786-.6-2.672l-1.01-4.248-.52-1.975-5.68 1.469h-.01Zm3.72 10.85-.52-2.421c-.18-.86-.36-1.745-.58-2.615l-.99-4.156-.22-.829 3.45-.891.22.855 1.01 4.238c.22.875.4 1.771.59 2.635l.52 2.478-3.48.706Zm-8.94-27.894 1.13 3.235 1.73 5.41.95 3.275 5.64-1.637-.98-3.353-1.78-5.563-1.15-3.307-5.54 1.94Zm4.6 10.492-.63-2.18-1.74-5.441-.76-2.159 3.36-1.177.77 2.2 1.77 5.533.65 2.226-3.41.993-.01.005Zm-60.49-95.437.43.394c2.46 2.273 5.04 4.806 8.12 7.959l.4.409 4.22-4.074-.41-.414c-3.14-3.23-5.79-5.83-8.33-8.179l-.43-.389-4 4.294Zm8.97 7.135c-2.74-2.805-5.09-5.113-7.33-7.196l2.42-2.605c2.3 2.134 4.69 4.483 7.47 7.329l-2.56 2.472Zm-22.54-18.707.45.358c3.45 2.739 6.23 5.047 8.74 7.273l.44.384 3.87-4.412-.43-.378c-2.59-2.293-5.45-4.663-8.98-7.468l-.46-.358-3.63 4.611v-.01Zm9.53 6.377a211.3 211.3 0 0 0-7.91-6.566l2.2-2.795c3.12 2.483 5.7 4.627 8.05 6.69l-2.34 2.676v-.005Zm-24.03-16.761.49.317c2.79 1.827 5.76 3.895 9.33 6.505l.46.338 3.49-4.719-.47-.343c-3.66-2.672-6.71-4.796-9.58-6.684l-.48-.318-3.23 4.898-.01.006Zm10.03 5.553a211.814 211.814 0 0 0-8.43-5.886l1.96-2.969c2.6 1.715 5.35 3.634 8.59 5.994l-2.12 2.861Zm-105.93-39.44 1.996.189 4.227.507a48.98 48.98 0 0 1 2.012.266c.266.04.527.077.793.118l3.383.486.901-5.799-3.455-.496c-.271-.036-.537-.077-.803-.118a53.085 53.085 0 0 0-2.099-.282l-4.324-.517-2.037-.194-.584 5.84h-.01Zm11.444.256-2.252-.323c-.266-.036-.527-.077-.788-.112-.671-.098-1.362-.2-2.053-.272l-4.232-.506-.855-.082.353-3.542.875.082 4.32.517a44.55 44.55 0 0 1 2.063.276c.271.041.537.082.808.118l2.298.332-.542 3.517.005-.006Zm-29.225-1.234 3.424.061c.593.01 1.202.041 1.791.067.348.015.696.036 1.044.046l2.841.123 3.403.235.404-5.855-3.48-.24-2.922-.128-1.049-.046a55.675 55.675 0 0 0-1.874-.072l-3.485-.067-.092 5.866-.005.01Zm11.423-.696-2.262-.154-2.861-.122-1.034-.046a52.974 52.974 0 0 0-1.827-.067l-2.267-.04.056-3.558 2.329.04c.609.011 1.233.042 1.837.068.353.015.706.035 1.06.046l2.901.128 2.314.158-.246 3.552v-.005Zm-29.239 1.193.568-.031c.752-.041 1.5-.082 2.252-.128 1.147-.067 2.288-.133 3.434-.184l2.841-.087.906-.031c.629-.02 1.279-.046 1.914-.041h.594l-.087-5.865h-.563c-.671-.01-1.352.015-2.007.035l-.921.031-2.912.092c-1.198.051-2.406.123-3.578.19-.752.046-1.499.087-2.252.128l-.588.03.399 5.855v.006Zm11.337-1.649c-.466.006-.927.021-1.377.041l-.901.031-2.851.087c-1.162.051-2.329.118-3.46.184-.557.031-1.12.067-1.678.098l-.241-3.552c.558-.031 1.116-.062 1.674-.098 1.167-.066 2.369-.138 3.552-.189l2.902-.092.931-.03c.456-.016.926-.032 1.392-.042l.051 3.557.006.005Zm-190.112 247.44.092.522c4.448 25.555 13.727 49.559 27.572 71.336 13.655 21.522 31.926 40.658 52.839 55.353 20.928 14.74 45.111 25.477 69.928 31.061a194.982 194.982 0 0 0 38.079 4.714 198.899 198.899 0 0 0 38.381-2.81c12.723-2.201 25.206-5.625 37.111-10.18a195.175 195.175 0 0 0 34.317-17.171c21.523-13.558 40.733-31.768 55.523-52.65 14.8-20.836 25.62-44.983 31.3-69.831 5.77-25.156 6.49-50.879 2.14-76.449-2.17-12.729-5.54-25.227-10.05-37.147a195.4 195.4 0 0 0-17.06-34.374c-13.49-21.567-31.63-40.827-52.47-55.69-20.843-14.893-44.954-25.8-69.726-31.537a195.227 195.227 0 0 0-38.053-4.965c-12.728-.4-25.641.476-38.391 2.59l-.568.092 2.089 12.626.568-.097c11.925-1.98 24.004-2.794 35.903-2.426a182.418 182.418 0 0 1 35.551 4.642c23.154 5.364 45.694 15.559 65.184 29.491 19.493 13.9 36.453 31.906 49.053 52.066a182.247 182.247 0 0 1 15.94 32.111 184.427 184.427 0 0 1 9.4 34.747c4.07 23.907 3.4 47.951-1.99 71.464-5.31 23.226-15.43 45.802-29.27 65.286-13.84 19.531-31.79 36.554-51.911 49.226a182.712 182.712 0 0 1-32.06 16.046c-11.126 4.258-22.806 7.462-34.711 9.519-11.904 2.037-23.983 2.923-35.893 2.631a182.595 182.595 0 0 1-35.581-4.402c-23.2-5.22-45.812-15.262-65.379-29.045-19.551-13.737-36.635-31.63-49.405-51.749-12.938-20.36-21.608-42.798-25.769-66.684-.026-.158-.056-.322-.082-.481a185.888 185.888 0 0 1-2.667-35.407 182.246 182.246 0 0 1 4.284-35.591c5.144-23.216 15.114-45.853 28.836-65.471 13.716-19.643 31.548-36.789 51.58-49.584a182.613 182.613 0 0 1 31.952-16.255c11.086-4.325 22.745-7.595 34.645-9.714l.568-.103-2.252-12.6-.568.102c-12.719 2.267-25.187 5.763-37.045 10.39a195.416 195.416 0 0 0-34.204 17.401c-21.43 13.686-40.505 32.024-55.174 53.029-14.673 20.974-25.334 45.188-30.836 70.026a195.071 195.071 0 0 0-4.586 38.094 198.905 198.905 0 0 0 2.851 37.853l.015-.005Zm386.062-66.433c.03.174.06.343.08.517 4.33 25.422 3.61 50.992-2.13 75.999-5.64 24.7-16.4 48.704-31.11 69.422-14.71 20.764-33.8 38.861-55.197 52.343a194.122 194.122 0 0 1-34.112 17.068c-11.834 4.53-24.25 7.933-36.897 10.119-12.652 2.165-25.488 3.107-38.155 2.794a194.198 194.198 0 0 1-37.854-4.683c-24.674-5.553-48.714-16.229-69.519-30.882-20.79-14.607-38.949-33.636-52.527-55.025-13.762-21.655-22.985-45.515-27.407-70.916-2.196-12.647-3.194-25.483-2.923-38.151a193.624 193.624 0 0 1 4.56-37.869c5.472-24.689 16.071-48.765 30.658-69.616 14.581-20.882 33.544-39.112 54.845-52.716a194.092 194.092 0 0 1 34-17.3c11.618-4.534 23.809-7.974 36.262-10.23l1.847 10.328c-11.776 2.134-23.313 5.389-34.296 9.673a183.97 183.97 0 0 0-32.157 16.357c-20.155 12.872-38.104 30.125-51.903 49.897-13.808 19.735-23.84 42.516-29.014 65.88a183.719 183.719 0 0 0-4.315 35.816c-.256 11.987.686 24.137 2.769 36.114 4.187 24.039 12.908 46.615 25.928 67.103 12.847 20.247 30.039 38.253 49.712 52.077 19.695 13.87 42.445 23.973 65.789 29.224a183.568 183.568 0 0 0 35.801 4.432c11.986.297 24.137-.593 36.118-2.646 11.976-2.073 23.728-5.297 34.926-9.581a183.551 183.551 0 0 0 32.264-16.142c20.257-12.755 38.317-29.885 52.237-49.538 13.92-19.603 24.11-42.322 29.44-65.696 5.43-23.661 6.1-47.855 2.01-71.915a186.913 186.913 0 0 0-9.46-34.961 183.323 183.323 0 0 0-16.04-32.316c-12.69-20.288-29.76-38.406-49.363-52.394-19.613-14.019-42.296-24.28-65.599-29.675a183.48 183.48 0 0 0-35.775-4.668c-11.782-.368-23.743.42-35.556 2.344l-1.714-10.348c12.488-2.037 25.13-2.872 37.592-2.483 12.719.4 25.442 2.058 37.828 4.94 24.623 5.701 48.591 16.546 69.317 31.353 20.72 14.776 38.75 33.923 52.16 55.362a193.946 193.946 0 0 1 16.96 34.169 198.357 198.357 0 0 1 9.91 36.415l.01.005Z"></path><path d="M861.57 112.194a169.764 169.764 0 0 1 33.104-2.236 167.594 167.594 0 0 1 32.736 4.273c21.48 4.975 42.045 14.29 60.086 27.188 18.054 12.877 33.534 29.296 45.214 47.987 11.72 18.696 19.64 39.624 23.35 61.617 3.73 21.982 3.09 44.348-1.83 65.854-4.92 21.491-14.14 42.097-26.98 60.174-12.82 18.092-29.19 33.626-47.846 45.377-18.66 11.777-39.557 19.761-61.535 23.553-21.977 3.772-44.343 3.235-65.864-1.632-21.512-4.837-42.133-14.003-60.261-26.773-18.149-12.749-33.723-29.081-45.541-47.696-11.833-18.624-19.914-39.486-23.738-61.453-3.848-21.967-3.388-44.338 1.408-65.875 4.765-21.527 13.87-42.173 26.578-60.342 12.693-18.185 28.958-33.836 47.542-45.705a168.172 168.172 0 0 1 29.424-14.97c10.277-4.013 20.974-7.002 31.947-8.957l-.68-3.823c-11.219 2.001-22.162 5.057-32.679 9.161a171.537 171.537 0 0 0-30.11 15.319c-19.014 12.145-35.648 28.154-48.632 46.754-13 18.583-22.31 39.701-27.188 61.724-4.903 22.033-5.379 44.932-1.443 67.385 3.91 22.453 12.181 43.811 24.285 62.865 12.089 19.045 28.022 35.75 46.58 48.791 18.543 13.062 39.635 22.438 61.643 27.387 22.018 4.975 44.911 5.528 67.379 1.669 22.464-3.875 43.857-12.043 62.948-24.096 19.083-12.023 35.833-27.909 48.943-46.416 13.13-18.492 22.57-39.563 27.59-61.556 5.04-22.002 5.7-44.896 1.88-67.364-3.8-22.484-11.89-43.903-23.88-63.03-11.96-19.126-27.79-35.918-46.257-49.087-18.451-13.19-39.481-22.72-61.458-27.807a171.76 171.76 0 0 0-33.498-4.371c-11.28-.353-22.617.42-33.862 2.288l.635 3.828.01-.005Z"></path><path d="m653.762 166.149.174.082 80.605 38.82.082-.174a173.57 173.57 0 0 1 15.487-25.994c5.973-8.287 12.626-15.989 19.776-22.894a173.235 173.235 0 0 1 23.426-19.019c8.204-5.532 17.079-10.425 26.368-14.53l.174-.077-.076-.174-36.063-81.874-.174.077c-14.151 6.25-27.724 13.727-40.33 22.228a262.625 262.625 0 0 0-35.74 29.01c-10.917 10.558-21.035 22.273-30.079 34.813a263.553 263.553 0 0 0-23.543 39.527l-.082.174-.005.005Zm80.6 38.391-80.083-38.57a262.827 262.827 0 0 1 23.425-39.297c9.029-12.524 19.137-24.219 30.033-34.762a262.885 262.885 0 0 1 35.689-28.969c12.539-8.455 26.03-15.897 40.095-22.12l35.832 81.347c-9.249 4.1-18.077 8.972-26.251 14.484a173.643 173.643 0 0 0-23.482 19.06c-7.165 6.92-13.834 14.638-19.822 22.944a173.708 173.708 0 0 0-15.436 25.878v.005Zm296.708 169.225.16.107 76.47 50.884.1-.158c8.48-12.698 15.96-26.415 22.23-40.771 6.27-14.418 11.23-29.24 14.73-44.062a264.947 264.947 0 0 0 6.72-45.991c.84-15.324.32-30.939-1.53-46.421l-.02-.19-.19.026-91.18 11.086.02.189a176.807 176.807 0 0 1 1 30.187 173.6 173.6 0 0 1-4.35 29.787c-2.25 9.54-5.47 19.167-9.58 28.605-4.1 9.407-8.97 18.343-14.47 26.558l-.11.159v.005Zm76.52 50.459-75.98-50.567c5.46-8.189 10.3-17.089 14.39-26.46 4.11-9.464 7.34-19.106 9.59-28.672 2.32-9.76 3.79-19.807 4.36-29.854.54-9.883.21-19.996-.97-30.064l90.61-11.014c1.83 15.395 2.34 30.929 1.5 46.166a264.175 264.175 0 0 1-6.7 45.924c-3.5 14.797-8.45 29.598-14.72 43.995-6.23 14.27-13.65 27.915-22.08 40.551v-.005ZM861.475 110.116l.189-.031c5.43-.87 10.364-1.448 15.078-1.771a177.464 177.464 0 0 1 15.104-.414c5.138.082 10.2.389 15.047.901 4.98.537 9.99 1.294 14.893 2.262 10.052 1.991 19.787 4.821 28.948 8.414a174.494 174.494 0 0 1 27.091 13.425l.163.102.103-.164 55.719-91.266-.16-.102a281.841 281.841 0 0 0-43.987-21.798c-15.048-5.896-30.924-10.513-47.184-13.722a280.32 280.32 0 0 0-24.326-3.685A278.877 278.877 0 0 0 893.596.788a283.583 283.583 0 0 0-24.572.68c-7.739.543-15.943 1.5-24.378 2.852l-.189.03.031.19 16.997 105.571-.01.005Zm116.375 22.366a174.458 174.458 0 0 0-26.983-13.358c-9.176-3.603-18.942-6.444-29.009-8.435a174.43 174.43 0 0 0-14.929-2.267c-4.857-.517-9.93-.819-15.078-.901a177.79 177.79 0 0 0-15.135.415c-4.667.317-9.55.89-14.919 1.745L844.892 4.678c8.358-1.336 16.48-2.283 24.152-2.82a282.833 282.833 0 0 1 24.537-.676c8.291.133 16.541.63 24.52 1.474a279.565 279.565 0 0 1 24.296 3.68c16.235 3.21 32.091 7.815 47.117 13.701a281.097 281.097 0 0 1 43.756 21.67l-55.415 90.775h-.005Zm-128.639-2.979 1.51-.404 1.525-.363-2.866-11.854-1.643.389-1.628.435 3.102 11.797Zm-6.003 1.694 2.994-.875-3.342-11.731-3.229.942 3.577 11.664Zm-5.911 1.955 1.469-.511c.486-.174.978-.348 1.474-.497l-3.808-11.587c-.537.164-1.064.343-1.591.532l-1.587.553 4.043 11.51Zm-5.82 2.176c.952-.41 1.934-.742 2.902-1.116l-4.274-11.424c-1.044.405-2.104.763-3.132 1.203l4.504 11.337Zm-5.721 2.405 2.845-1.238-4.734-11.245-3.076 1.336 4.965 11.147Zm-5.611 2.646c.926-.46 1.848-.931 2.794-1.351l-5.184-11.04c-1.019.456-2.017.962-3.015 1.459l5.41 10.932h-.005Z"></path><path d="M814.639 143.23c.901-.507 1.832-.962 2.738-1.454l-5.63-10.819c-.982.527-1.985 1.023-2.958 1.571l5.85 10.707v-.005Zm-5.386 3.091 2.672-1.581-6.065-10.584-2.881 1.704 6.274 10.461Zm-5.251 3.307 1.295-.86 1.316-.819-6.49-10.328-1.423.885-1.397.926 6.699 10.196Zm-5.127 3.505c.84-.609 1.705-1.177 2.549-1.776L794.52 141.3c-.911.645-1.843 1.265-2.749 1.92l7.104 9.913Zm-4.975 3.726 2.467-1.893-7.304-9.771-2.667 2.048 7.504 9.616Zm-4.827 3.931 1.183-1.013 1.213-.973-7.693-9.468-1.31 1.054-1.275 1.09 7.882 9.31Zm-4.683 4.115c.763-.706 1.551-1.382 2.319-2.078l-8.071-9.151c-.83.752-1.679 1.484-2.503 2.242l8.25 8.982.005.005Zm-4.498 4.31 2.226-2.181-8.434-8.818-2.401 2.354 8.609 8.645Zm-4.33 4.498 1.054-1.151 1.09-1.121-8.782-8.471-1.173 1.208-1.136 1.239 8.947 8.296Zm-4.161 4.658c.67-.799 1.377-1.561 2.057-2.349l-9.11-8.113c-.737.85-1.499 1.674-2.221 2.534l9.274 7.928Zm-3.961 4.831 1.95-2.441-9.428-7.739-2.108 2.631 9.586 7.549Zm-3.767 4.991.911-1.27c.302-.425.629-.829.947-1.243l-9.73-7.355c-.338.45-.691.885-1.018 1.341l-.988 1.366 9.878 7.161Zm-3.573 5.128c.557-.881 1.182-1.715 1.76-2.58l-10.016-6.96c-.629.931-1.295 1.837-1.899 2.784l10.155 6.756Zm-3.356 5.271 1.648-2.656-10.293-6.556-1.771 2.866 10.416 6.346Zm-3.135 5.405c.507-.911.998-1.827 1.541-2.718l-10.543-6.136c-.584.957-1.116 1.95-1.664 2.927l10.666 5.922v.005Zm-2.925 5.512.342-.701.364-.686.732-1.382-10.784-5.706-.783 1.489-.394.742-.374.758 10.897 5.486Zm-2.704 5.625 1.315-2.825-10.998-5.272-1.418 3.051 11.101 5.046Zm-2.452 5.732c.394-.962.768-1.929 1.203-2.876l-11.204-4.821c-.465 1.018-.87 2.068-1.295 3.101l11.301 4.596h-.005Zm-2.237 5.815.256-.737.276-.727.558-1.454-11.393-4.371-.598 1.572-.297.783-.277.793 11.475 4.141Zm-1.995 5.891.962-2.959-11.557-3.905-1.039 3.194 11.634 3.67Zm-1.74 5.967c.276-.998.527-2.001.839-2.989l-11.705-3.434c-.337 1.065-.609 2.15-.911 3.229l11.772 3.199.005-.005Zm-1.514 6.024.163-.762.19-.753.373-1.504-11.833-2.959-.404 1.628-.205.814-.174.819 11.89 2.717Zm1.457 74.341c-.261-1.009-.557-2.007-.778-3.03l-11.848 2.897c.241 1.1.558 2.175.839 3.265l11.787-3.137v.005Zm1.716 5.998c-.323-.988-.584-1.996-.886-2.989l-11.725 3.373c.322 1.075.609 2.16.951 3.224l11.654-3.608h.006Zm1.965 5.906-1.019-2.937-11.577 3.838c.353 1.06.737 2.114 1.1 3.173l11.501-4.074h-.005Zm2.195 5.809c-.194-.481-.399-.957-.583-1.438l-.543-1.453-11.413 4.304.589 1.571c.199.522.419 1.034.629 1.556l11.326-4.534-.005-.006Zm2.411 5.722-1.233-2.85-11.235 4.77 1.336 3.071 11.132-4.991Zm2.666 5.6-.691-1.387-.348-.696-.322-.707-11.025 5.221.348.757.374.753.742 1.499 10.922-5.44Zm2.871 5.496c-.522-.89-.973-1.822-1.464-2.733l-10.804 5.661c.527.983 1.018 1.986 1.581 2.953l10.687-5.881Zm3.098 5.38-1.582-2.672-10.564 6.096 1.705 2.881 10.441-6.305Zm3.325 5.241c-.563-.865-1.157-1.715-1.689-2.606l-10.313 6.521c.573.957 1.213 1.878 1.822 2.815l10.175-6.725.005-.005Zm3.522 5.112-.46-.624-.441-.64-.885-1.279-10.037 6.935.957 1.377.476.69.497.676 9.893-7.135Zm3.736 4.975-1.899-2.467-9.75 7.335 2.048 2.656 9.601-7.524Zm3.946 4.811c-.671-.793-1.361-1.571-1.996-2.39l-9.448 7.718c.691.881 1.433 1.725 2.155 2.58l9.289-7.908Zm4.131 4.668-.537-.568-.517-.584-1.034-1.161-9.126 8.091 1.116 1.254.558.63.578.614 8.962-8.276Zm4.318 4.499-2.185-2.227-8.798 8.456 2.359 2.4 8.624-8.629Zm4.511 4.314c-.758-.711-1.546-1.397-2.278-2.134l-8.444 8.803c.793.794 1.632 1.536 2.456 2.303l8.266-8.966v-.006Zm4.672 4.141c-.814-.655-1.572-1.372-2.355-2.052l-8.086 9.135c.849.737 1.668 1.505 2.543 2.212l7.903-9.295h-.005Zm4.836 3.956-2.441-1.95-7.713 9.448 2.63 2.109 7.524-9.607Zm5.005 3.747c-.839-.62-1.704-1.203-2.518-1.848l-7.329 9.75c.88.696 1.812 1.326 2.718 1.996l7.135-9.898h-.006Zm5.141 3.557c-.886-.553-1.725-1.167-2.59-1.751l-6.935 10.037c.926.635 1.837 1.29 2.789 1.889l6.731-10.175h.005Zm5.276 3.352-2.656-1.648-6.526 10.303 2.861 1.781 6.321-10.436Zm5.415 3.117-1.367-.763-.686-.373-.67-.399-6.106 10.563.721.425.737.41 1.474.813 5.897-10.676Zm5.521 2.907c-.942-.445-1.853-.942-2.774-1.428l-5.676 10.799c.993.522 1.981 1.06 2.994 1.541l5.461-10.907-.005-.005Zm5.63 2.692-2.825-1.32-5.241 11.014 3.05 1.423 5.016-11.117Zm5.739 2.436-1.444-.588c-.481-.195-.962-.384-1.438-.604l-4.79 11.219c.511.235 1.028.44 1.55.65l1.556.634 4.566-11.311Zm5.818 2.211c-.486-.174-.982-.332-1.464-.522l-1.453-.557-4.335 11.403 1.571.598c.522.205 1.055.374 1.582.563l4.104-11.485h-.005Zm5.896 1.992-2.958-.968-3.87 11.567 3.189 1.044 3.639-11.643Zm5.974 1.719-1.499-.409c-.502-.133-1.004-.266-1.495-.425l-3.403 11.715c.532.169 1.074.312 1.612.456l1.617.44 3.163-11.782.005.005Zm6.028 1.489c-1.013-.204-2.016-.465-3.019-.716l-2.928 11.843c1.085.271 2.165.548 3.26.773l2.687-11.9Zm90.165-6.822-2.907 1.09 4.187 11.46 3.137-1.183-4.417-11.367Zm5.734-2.38c-.952.404-1.888.845-2.856 1.213l4.648 11.28c1.044-.399 2.057-.875 3.081-1.31l-4.878-11.183h.005Zm5.64-2.59c-.46.236-.926.456-1.397.671l-1.407.65 5.102 11.081 1.52-.707c.507-.23 1.014-.465 1.51-.721l-5.328-10.974Zm5.523-2.82-2.743 1.449 5.548 10.865 2.963-1.561-5.768-10.753Zm5.403-3.05-1.33.793c-.446.266-.906.502-1.351.758l5.983 10.63c.486-.276.982-.532 1.463-.819l1.439-.855-6.198-10.507h-.006Zm5.282-3.25c-.865.573-1.756 1.095-2.626 1.653l6.413 10.38c.942-.599 1.904-1.167 2.836-1.787l-6.618-10.246h-.005Zm5.149-3.48-2.554 1.77 6.828 10.109 2.753-1.909-7.027-9.97Zm5.001-3.691-1.229.952-1.254.917 7.232 9.826 1.351-.987 1.331-1.029-7.431-9.679Zm4.867-3.879c-.794.67-1.612 1.305-2.416 1.965l7.621 9.525c.865-.711 1.75-1.397 2.605-2.119l-7.81-9.371Zm4.699-4.089L990 395.772l8 9.213 2.51-2.237-8.186-9.048Zm4.534-4.279-1.105 1.1-1.142 1.065 8.359 8.88 1.23-1.152 1.2-1.182-8.542-8.711Zm4.372-4.448c-.7.768-1.445 1.495-2.162 2.247l8.712 8.537c.78-.814 1.58-1.597 2.34-2.426l-8.89-8.358Zm4.19-4.637-2.07 2.344 9.06 8.179 2.22-2.523-9.21-8Zm3.99-4.801-.97 1.224c-.32.409-.67.798-1 1.197l9.37 7.81c.36-.429.73-.849 1.08-1.289l1.05-1.321-9.53-7.621Zm3.82-4.954c-.6.85-1.27 1.658-1.89 2.493l9.68 7.431c.67-.901 1.38-1.771 2.03-2.692l-9.82-7.232Zm3.6-5.108-1.77 2.58 9.97 7.032 1.91-2.774-10.11-6.838Zm3.39-5.251c-.54.886-1.08 1.781-1.67 2.641l10.25 6.633c.63-.931 1.2-1.894 1.8-2.845l-10.37-6.424-.01-.005Zm3.19-5.369-.37.681-.4.67-.79 1.346 10.49 6.219.86-1.454.43-.721.4-.737-10.62-6.004Zm2.97-5.497-1.45 2.764 10.73 5.789 1.57-2.979-10.85-5.574Zm2.73-5.609c-.45.942-.86 1.894-1.34 2.82l10.96 5.354c.52-.998.97-2.027 1.45-3.041l-11.07-5.133Zm2.51-5.707c-.37.973-.82 1.909-1.23 2.866l11.17 4.909c.44-1.034.92-2.042 1.33-3.092l-11.27-4.683Zm2.28-5.799-1.1 2.913 11.35 4.452 1.2-3.137-11.45-4.228Zm2.03-5.88c-.33.982-.62 1.981-.98 2.948l11.52 3.992c.4-1.049.71-2.124 1.07-3.183l-11.6-3.762-.01.005Zm1.8-5.953c-.26 1.004-.59 1.986-.87 2.984l11.67 3.527c.32-1.075.67-2.135.95-3.22l-11.75-3.285v-.006Zm-4.83-97.484 1.1 2.907 11.46-4.171-1.18-3.138-11.38 4.402Zm-2.36-5.743.63 1.423c.21.471.38.957.58 1.438l11.29-4.626c-.22-.517-.4-1.044-.64-1.551l-.67-1.536-11.18 4.858-.01-.006Zm-2.57-5.645c.46.926.87 1.878 1.31 2.81l11.09-5.082c-.48-1.009-.92-2.032-1.41-3.035l-10.99 5.307Zm-2.82-5.522 1.44 2.743 10.88-5.528-1.57-2.968-10.75 5.753Zm-3.04-5.41.79 1.331.76 1.356 10.63-5.963-.81-1.463-.85-1.444-10.52 6.183Zm-3.24-5.292 1.64 2.631 10.39-6.393-1.77-2.841-10.26 6.603Zm-3.48-5.149c.58.855 1.2 1.694 1.77 2.554l10.12-6.807c-.61-.932-1.27-1.838-1.9-2.759l-9.98 7.012h-.01Zm-3.67-5.011c.31.41.64.819.95 1.234l.91 1.259 9.84-7.212-.99-1.356c-.33-.45-.69-.885-1.02-1.331l-9.69 7.411v-.005Zm-3.87-4.872 1.96 2.416 9.53-7.606-2.11-2.61-9.38 7.8Zm-4.09-4.704c.69.783 1.4 1.541 2.07 2.329l9.22-7.984c-.72-.855-1.49-1.674-2.23-2.513l-9.06 8.168Zm-4.266-4.544 1.096 1.11 1.06 1.141 8.89-8.347-1.14-1.234-1.18-1.197-8.726 8.527Zm-4.443-4.387 2.242 2.176 8.547-8.701-2.42-2.339-8.369 8.864Zm-4.632-4.186c.773.696 1.571 1.366 2.339 2.067l8.192-9.033c-.83-.758-1.682-1.484-2.521-2.232l-8.015 9.198h.005Zm-4.796-4.008 1.223.973 1.193 1.008 7.83-9.356-1.289-1.085-1.316-1.049-7.641 9.509Zm-4.943-3.823c.839.614 1.658 1.264 2.492 1.889l7.447-9.663c-.901-.676-1.781-1.372-2.687-2.037l-7.252 9.811Zm-5.104-3.608 2.575 1.776 7.052-9.955-2.774-1.914-6.853 10.093Zm-5.24-3.399 1.331.819 1.305.855 6.648-10.226-1.412-.926-1.434-.881-6.438 10.359Zm-5.369-3.204c.911.502 1.796 1.055 2.697 1.577l6.234-10.487c-.973-.558-1.925-1.157-2.907-1.699l-6.024 10.609Zm-5.492-2.968 2.763 1.448 5.809-10.727-2.983-1.561-5.589 10.84Zm-5.604-2.743 1.418.655c.471.215.931.46 1.397.691l5.374-10.953c-.507-.246-.998-.512-1.51-.742l-1.525-.706-5.149 11.06-.005-.005Zm-5.701-2.524c.967.384 1.904.83 2.861 1.234l4.929-11.158c-1.034-.435-2.048-.921-3.087-1.33l-4.703 11.254Zm-5.793-2.287 2.907 1.105 4.478-11.347-3.142-1.192-4.243 11.434Zm-5.881-2.037c.988.317 1.976.629 2.948.993l4.013-11.521c-1.05-.389-2.119-.727-3.184-1.07l-3.777 11.598Zm-5.947-1.812c.501.128.998.281 1.494.43l1.49.445 3.541-11.674-1.607-.482c-.537-.163-1.069-.327-1.612-.465l-3.306 11.741v.005Zm-6.014-1.566 3.02.742 3.066-11.808-3.256-.798-2.83 11.864Zm-6.066-1.306 1.525.292c.507.097 1.008.225 1.515.333l2.59-11.92c-.548-.118-1.091-.251-1.638-.358l-1.643-.318-2.344 11.971h-.005Zm-6.112-1.079c1.024.148 2.037.348 3.061.511l2.104-12.017c-1.101-.174-2.201-.394-3.307-.553l-1.858 12.059Zm-6.146-.814 3.081.368 1.612-12.094-3.327-.399-1.366 12.125Z" class="svg-internal-circle"></path></g><path d="M1388.31 356.731h113.6l.29-.511 56.5-97.864-56.79-98.375h-113.6l-.29.512-56.5 97.863 56.79 98.375Zm112.42-2.037h-111.24l-55.62-96.338 55.62-96.338h111.24l55.62 96.338-55.62 96.338Z" style="mix-blend-mode:overlay;"></path><path d="M1401.81 333.347h86.59l43.3-74.99-43.3-74.991h-86.59l-43.29 74.991 43.29 74.99Zm85.42-2.037h-84.24l-42.12-72.953 42.12-72.954h84.24l42.12 72.954-42.12 72.953Z" style="mix-blend-mode:overlay;"></path><path d="M1401.81 333.347h86.59l43.3-74.99-43.3-74.991h-86.59l-43.29 74.991 43.29 74.99Zm85.42-2.037h-84.24l-42.12-72.953 42.12-72.954h84.24l42.12 72.954-42.12 72.953Zm-268.21-72.426h113.6l.29-.512 56.51-97.863-56.8-98.375h-113.6l-.29.512-56.5 97.863.3.511 56.5 97.864h-.01Zm112.42-2.037H1220.2l-55.62-96.338 55.62-96.338h111.24l55.62 96.338-55.62 96.338Z" style="mix-blend-mode:overlay;"></path><path d="m1194.17 176.943 1.76-1.019-8.9-15.415 44.4-76.89h16.26v-2.037h-17.44l-.29.507-45.28 78.42 9.49 16.434Zm36.08 62.497h38.23v-2.037h-37.05l-10.07-17.427-1.76 1.018 10.65 18.446Zm63.79 0h27.35l18.76-32.5-1.76-1.018-18.18 31.481h-26.17v2.037Z" style="mix-blend-mode:overlay;"></path><path d="M1294.04 239.44h27.35l18.76-32.5-1.76-1.018-18.18 31.481h-26.17v2.037Zm62.88-61.54 10.04-17.391-33.6-58.193-1.76 1.018 33.01 57.175-9.45 16.373 1.76 1.018Zm-137.9 276.188h113.6l.29-.512 56.51-97.863-56.8-98.375h-113.6l-.29.512-56.5 97.863.3.512 56.5 97.863h-.01Zm112.42-2.037H1220.2l-55.62-96.338 55.62-96.338h111.24l55.62 96.338-55.62 96.338Z" style="mix-blend-mode:overlay;"></path><path d="m1197.42 373.074 1.76-1.019-9.44-16.342 12.89-22.31-1.77-1.018-13.47 23.328 10.03 17.361Zm34.18 59.221h27.07v-2.037h-25.89l-11.42-19.776-1.76 1.018 12 20.795Z" style="mix-blend-mode:overlay;"></path><path d="M1231.6 432.295h27.07v-2.037h-25.89l-11.42-19.776-1.76 1.018 12 20.795Zm69.74 0h18.7l12-20.795-1.77-1.018-11.41 19.776h-17.52v2.037Zm51.04-56.023 11.87-20.559-21.52-37.265-1.76 1.019 20.93 36.246-11.29 19.541 1.77 1.018Z" style="mix-blend-mode:overlay;"></path><path d="m1352.38 376.272 11.87-20.559-21.52-37.265-1.76 1.019 20.93 36.246-11.29 19.541 1.77 1.018Zm-130.47-76.275 10.87-18.829h86.08l8.07 13.998 1.77-1.024-8.67-15.011h-88.43l-11.46 19.848 1.77 1.018ZM564.225 524.805h76.208l38.104-65.998-.296-.512-37.813-65.491H564.22l-38.105 65.998.297.512 37.813 65.491Zm75.031-2.037h-73.854l-36.927-63.961 36.927-63.961h73.854l36.927 63.961-36.927 63.961ZM554.64 299.46h55.27l27.638-47.864-27.638-47.865h-55.27l-27.638 47.865 27.638 47.864Zm54.093-2.037h-52.916l-26.461-45.827 26.461-45.828h52.916l26.46 45.828-26.46 45.827Zm-387.8 54.876H334.53l.291-.512 56.504-97.863-.297-.512-56.503-97.863H220.928l-.291.512-56.504 97.863.297.512 56.503 97.868v-.005Zm112.42-2.037H222.111l-55.619-96.338 55.619-96.338h111.242l55.618 96.338-55.618 96.338Z" style="mix-blend-mode:overlay;"></path><path d="M235.49 327.082h84.479l42.24-73.158-.297-.512-41.943-72.651H235.49l-42.24 73.158.297.512 41.943 72.651Zm83.302-2.037h-82.125l-41.063-71.121 41.063-71.121h82.125l41.062 71.121-41.062 71.121Z" style="mix-blend-mode:overlay;"></path><path d="M235.49 327.082h84.479l42.24-73.158-.297-.512-41.943-72.651H235.49l-42.24 73.158.297.512 41.943 72.651Zm83.302-2.037h-82.125l-41.063-71.121 41.063-71.121h82.125l41.062 71.121-41.062 71.121Zm71.429-70.594h113.596l.292-.511 56.503-97.864-.296-.511-56.504-97.869H390.215l-.291.512-56.504 97.863.297.512 56.504 97.863v.005Zm112.419-2.037H391.398l-55.619-96.338 55.619-96.338H502.64l55.618 96.338-55.618 96.338Z" style="mix-blend-mode:overlay;"></path><path d="m519.625 179.456 13.502-23.38-15.902-27.54-1.766 1.018 15.313 26.522-12.913 22.361 1.766 1.019Zm-54.748 51.196h25.196l11.378-19.715-1.766-1.018-10.789 18.691h-24.019v2.042Zm-60.914 0h25.467v-2.042h-24.29l-12.171-21.076-1.766 1.018 12.76 22.1Zm-30.639-53.064 1.766-1.019-11.833-20.493 41.881-72.538h83.758l9.632 16.69 1.766-1.024-10.221-17.703h-86.112l-43.059 74.575 12.422 21.512Z" style="mix-blend-mode:overlay;"></path><path d="m373.324 177.588 1.766-1.019-11.833-20.493 41.881-72.538h83.758l9.632 16.69 1.766-1.024-10.221-17.703h-86.112l-43.059 74.575 12.422 21.512Zm16.897 272.068h113.596l.292-.512 56.503-97.863-.296-.512-56.504-97.863H390.215l-.291.512-56.504 97.863.297.512 56.504 97.863Zm112.419-2.037H391.398l-55.619-96.338 55.619-96.338H502.64l55.618 96.338-55.618 96.338Z" style="mix-blend-mode:overlay;"></path><path d="m498.59 291.982 1.76-1.018-9.253-16.035h-23.646v2.037h22.469l8.67 15.016Zm-30.217 135.645h22.724l.292-.506 43.791-75.84-10.446-18.088-1.766 1.019 9.857 17.069-42.905 74.309h-21.547v2.037Zm-65.441 0h21.005v-2.037H404.11l-10.82-18.737-1.761 1.019 11.403 19.755Zm-32.899-56.984 1.766-1.019-10.589-18.343 12.529-21.706-1.766-1.019-13.118 22.725 11.178 19.362Zm22.996-74.479 11.081-19.198h30.995v-2.037h-32.172l-11.669 20.216 1.765 1.019Z" style="mix-blend-mode:overlay;"></path><g opacity=".19"><path d="M1572.47 384.108h145.91l.38-.655 72.58-125.711-72.96-126.366h-145.91l-.38.656-72.58 125.71 72.96 126.366Zm144.4-2.62h-142.89l-71.44-123.746 71.44-123.745h142.89l71.44 123.745-71.44 123.746Z" style="mix-blend-mode:overlay;"></path><path d="M1589.81 354.075h111.23l55.62-96.327-55.62-96.328h-111.23l-55.61 96.328 55.61 96.327Zm109.72-2.62h-108.21l-54.1-93.707 54.1-93.708h108.21l54.1 93.708-54.1 93.707Z" style="mix-blend-mode:overlay;"></path><path d="M1589.81 354.075h111.23l55.62-96.327-55.62-96.328h-111.23l-55.61 96.328 55.61 96.327Zm109.72-2.62h-108.21l-54.1-93.707 54.1-93.708h108.21l54.1 93.708-54.1 93.707Zm-344.51-93.032h145.91l.38-.655 72.58-125.711-72.96-126.36h-145.91l-.38.655-72.58 125.71.38.655 72.58 125.711v-.005Zm144.4-2.62h-142.89l-71.44-123.746 71.44-123.745h142.89l71.44 123.745-71.44 123.746Z" style="mix-blend-mode:overlay;"></path><path d="m1323.08 153.169 2.27-1.31-11.43-19.797 57.02-98.769h20.9v-2.62h-22.41l-.37.655-58.16 100.734 12.18 21.107Zm46.35 80.278h49.11v-2.616h-47.6l-12.92-22.386-2.27 1.31 13.68 23.692Zm81.94 0h35.14l24.1-41.749-2.26-1.31-23.35 40.443h-33.63v2.616Z" style="mix-blend-mode:overlay;"></path><path d="M1451.37 233.447h35.14l24.1-41.749-2.26-1.31-23.35 40.443h-33.63v2.616Zm80.77-79.049 12.9-22.336-43.15-74.755-2.27 1.31 42.4 73.445-12.14 21.025 2.26 1.311Zm-177.12 354.766h145.91l.38-.655 72.58-125.711-72.96-126.366h-145.91l-.38.655-72.58 125.711.38.655 72.58 125.711Zm144.4-2.621h-142.89l-71.44-123.745 71.44-123.745h142.89l71.44 123.745-71.44 123.745Z" style="mix-blend-mode:overlay;"></path><path d="m1327.26 405.103 2.26-1.311-12.12-20.994 16.55-28.656-2.27-1.31-17.3 29.966 12.88 22.305Zm43.91 76.07h34.78v-2.62h-33.26l-14.67-25.402-2.27 1.311 15.42 26.711Z" style="mix-blend-mode:overlay;"></path><path d="M1371.17 481.173h34.78v-2.62h-33.26l-14.67-25.402-2.27 1.311 15.42 26.711Zm89.58 0h24.02l15.42-26.711-2.27-1.311-14.67 25.402h-22.5v2.62Zm65.56-71.96 15.25-26.415-27.64-47.864-2.26 1.31 26.88 46.554-14.5 25.104 2.27 1.311Z" style="mix-blend-mode:overlay;"></path><path d="m1526.31 409.213 15.25-26.415-27.64-47.864-2.26 1.31 26.88 46.554-14.5 25.104 2.27 1.311Zm-167.59-97.976 13.97-24.188h110.56l10.38 17.974 2.27-1.31-11.13-19.285h-113.6l-14.71 25.499 2.26 1.31ZM513.923 600h97.894l48.944-84.776-.379-.655-48.565-84.121h-97.894l-48.944 84.776.378.655L513.923 600Zm96.379-2.621h-94.869l-47.435-82.16 47.435-82.161h94.869l47.434 82.161-47.434 82.16ZM501.61 310.546h70.999l35.499-61.484-35.499-61.484H501.61l-35.499 61.484 35.499 61.484Zm69.484-2.621H503.12l-33.989-58.868 33.989-58.868h67.974l33.984 58.868-33.984 58.868Zm647.556 8.02h70.99l35.5-61.483-35.5-61.484h-70.99l-35.5 61.484 35.5 61.483Zm69.48-2.62h-67.97l-33.99-58.868 33.99-58.869h67.97l33.98 58.869-33.98 58.868ZM72.953 378.412H218.87l.379-.655 72.58-125.711-.379-.655-72.58-125.711H72.953l-.378.655L0 252.051l.379.655 72.58 125.711-.006-.005Zm144.402-2.621H74.468L3.025 252.051l71.443-123.75h142.887l71.444 123.745-71.444 123.745Z" style="mix-blend-mode:overlay;"></path><path d="M91.655 346.019H200.17l54.257-93.973-.378-.655-53.879-93.318H91.655l-54.257 93.973.38.655 53.877 93.318Zm106.999-2.62H93.17l-52.742-91.353 52.742-91.353h105.49l52.742 91.353-52.742 91.353h-.006Z" style="mix-blend-mode:overlay;"></path><path d="M91.655 346.019H200.17l54.257-93.973-.378-.655-53.879-93.318H91.655l-54.257 93.973.38.655 53.877 93.318Zm106.999-2.62H93.17l-52.742-91.353 52.742-91.353h105.49l52.742 91.353-52.742 91.353h-.006Zm91.753-90.672h145.911l.379-.655 72.58-125.711-.379-.655L436.324 0H290.412l-.379.655-72.58 125.711.379.655 72.58 125.711-.005-.005Zm144.402-2.621H291.921l-71.443-123.745 71.443-123.74h142.888l71.443 123.745-71.443 123.745v-.005Z" style="mix-blend-mode:overlay;"></path><path d="m456.632 156.399 17.345-30.033-20.426-35.376-2.268 1.305 19.669 34.071-16.583 28.723 2.263 1.31Zm-70.323 65.757h32.361l14.618-25.324-2.268-1.305-13.865 24.009h-30.846v2.62Zm-78.251 0h32.715v-2.62h-31.205l-15.631-27.075-2.267 1.31 16.388 28.385Zm-39.353-68.157 2.267-1.311-15.195-26.322 53.791-93.175h107.588l12.375 21.434 2.267-1.31-13.127-22.745H308.058l-55.306 95.796 15.953 27.633Z" style="mix-blend-mode:overlay;"></path><path d="m268.705 153.999 2.267-1.311-15.195-26.322 53.791-93.175h107.588l12.375 21.434 2.267-1.31-13.127-22.745H308.058l-55.306 95.796 15.953 27.633Zm21.701 349.469h145.912l.378-.656 72.58-125.71-.379-.655-72.579-125.711H290.406l-.379.655-72.58 125.711.379.655 72.58 125.711Zm144.402-2.621H291.921l-71.444-123.745 71.444-123.746h142.887l71.443 123.746-71.443 123.745Z" style="mix-blend-mode:overlay;"></path><path d="m429.607 300.934 2.268-1.31-11.89-20.59h-30.376v2.615h28.866l11.132 19.285Zm-38.81 174.241h29.188l.379-.655 56.243-97.418-13.415-23.231-2.267 1.31 12.657 21.921-55.106 95.457h-27.679v2.616Zm-84.054 0h26.977v-2.616h-25.467l-13.896-24.07-2.267 1.305 14.653 25.381Zm-42.266-73.199 2.268-1.311-13.604-23.563 16.096-27.879-2.267-1.305-16.849 29.184 14.356 24.874Zm29.536-95.668 14.239-24.659h39.809v-2.615h-41.319l-14.996 25.964 2.267 1.31Z" style="mix-blend-mode:overlay;"></path></g></g><path fill="#B3B3B3" d="m474.413 144.049-25.263-11.582-.435-.2-.44.2-25.263 11.582.435 2.006h50.531l.435-2.006Zm-1.484 31.169h-49.482v7.682h50.531v-7.682h-1.049Zm-4.991-26.005h3.659c-.184.317-.45.589-.778.773l-.527.302v21.005l.527.302c.322.189.594.455.778.772h-3.659c.184-.317.45-.588.777-.772l.528-.302v-21.005l-.528-.302a2.164 2.164 0 0 1-.777-.773Z"></path><path fill="#B3B3B3" d="M466.122 150.262c.266.456.609.86 1.013 1.183v18.701a4.26 4.26 0 0 0-1.013 1.182c-.635 1.101-.563 1.961-.563 3.153h8.424c0-1.192.072-2.047-.563-3.153a4.19 4.19 0 0 0-1.013-1.182v-18.701a4.25 4.25 0 0 0 1.013-1.183 4.197 4.197 0 0 0 .563-2.098v-1.054h-8.424c0 1.192-.072 2.047.563 3.152Zm-14.035 0c.261.456.609.86 1.013 1.183v18.701a4.26 4.26 0 0 0-1.013 1.182c-.635 1.101-.563 1.961-.563 3.153h8.424c0-1.192.072-2.047-.563-3.153a4.19 4.19 0 0 0-1.013-1.182v-18.701a4.25 4.25 0 0 0 1.013-1.183 4.197 4.197 0 0 0 .563-2.098v-1.054h-8.424c0 1.192-.072 2.047.563 3.152Zm-14.039 0c.261.456.609.86 1.013 1.183v18.701a4.26 4.26 0 0 0-1.013 1.182c-.635 1.101-.563 1.961-.563 3.153h8.424c0-1.192.072-2.047-.563-3.153a4.19 4.19 0 0 0-1.013-1.182v-18.701a4.25 4.25 0 0 0 1.013-1.183 4.197 4.197 0 0 0 .563-2.098v-1.054h-8.424c0 1.192-.072 2.047.563 3.152Zm-14.039 0c.261.456.609.86 1.013 1.183v18.701a4.26 4.26 0 0 0-1.013 1.182c-.635 1.101-.563 1.961-.563 3.153h8.424c0-1.192.072-2.047-.563-3.153a4.19 4.19 0 0 0-1.013-1.182v-18.701a4.207 4.207 0 0 0 1.576-3.281v-1.054h-8.424c0 1.192-.072 2.047.563 3.152ZM1445.31 426.446c-2.55 1.331-4.44 3.03-5.76 4.919a13.318 13.318 0 0 0-2.4 7.339c-.06 2.508.56 5.005 1.72 7.222 1.1 2.103 2.68 3.951 4.63 5.312 3.39 2.365 7.21 2.887 10.75 2.114 2.64-.573 5.13-1.868 7.18-3.649 2.04-1.786 3.66-4.074 4.56-6.633 1.17-3.353 1.1-7.155-.86-10.892-1.83-3.506-4.97-5.896-8.57-6.93-3.58-1.023-7.61-.706-11.25 1.198Zm-3.64 6.398c1.09-1.566 2.68-2.979 4.83-4.11 3.03-1.582 6.38-1.848 9.35-.993 2.94.844 5.51 2.789 7 5.63 1.59 3.045 1.64 6.131.7 8.844-.75 2.119-2.1 4.023-3.82 5.528-1.73 1.504-3.81 2.594-6.02 3.07-2.89.63-5.98.21-8.72-1.699-1.61-1.121-2.92-2.651-3.83-4.391-.96-1.832-1.47-3.895-1.42-5.963.05-2.042.65-4.094 1.93-5.921v.005Z"></path><path fill="#B3B3B3" d="m1453.37 425.392-1.88-3.603a3.315 3.315 0 0 0-4.16-1.551c-2.02.803-4.6 2.385-6.6 3.429a3.328 3.328 0 0 0-1.64 1.95 3.3 3.3 0 0 0 .23 2.528l1.88 3.603 2.29-1.197 2.46-2.999 5.13-.973 2.29-1.197v.01Zm-27.17-25.197c3.03 1.582 5.15 4.182 6.15 7.099 2.13 6.254-1.28 12.775-7.63 14.597-2.97.85-6.32.589-9.34-.993-3.03-1.581-5.16-4.181-6.15-7.099-2.13-6.254 1.27-12.775 7.62-14.597 2.97-.849 6.33-.588 9.35.993Zm8.6 6.27c-1.2-3.526-3.76-6.654-7.41-8.557-3.64-1.904-7.67-2.222-11.25-1.198-3.59 1.034-6.74 3.424-8.57 6.93-1.84 3.506-2.01 7.447-.8 10.993 1.2 3.527 3.76 6.654 7.41 8.558 3.64 1.904 7.67 2.221 11.25 1.198 3.6-1.034 6.74-3.424 8.58-6.93 1.83-3.506 2-7.447.79-10.994Z"></path><path fill="#B3B3B3" d="m1422.93 398.046 7.58 3.966 2.29 1.198 1.89-3.603c.05-.098.08-.174.11-.241.32-.742.35-1.576.13-2.318a3.134 3.134 0 0 0-1.73-1.966l-6.55-2.784c-.81-.343-1.7-.389-2.48-.143a3.2 3.2 0 0 0-1.91 1.592l-1.62 3.101 2.3 1.198h-.01Z"></path><path fill="#B3B3B3" d="M1443.81 398.025a3.875 3.875 0 0 0-1.04-2.789 3.887 3.887 0 0 0-2.7-1.239l-3.89-.148a3.863 3.863 0 0 0-2.79 1.039 3.83 3.83 0 0 0-1.24 2.702 3.876 3.876 0 0 0 1.04 2.79 3.852 3.852 0 0 0 2.7 1.238l3.89.149a3.868 3.868 0 0 0 2.79-1.039 3.914 3.914 0 0 0 1.24-2.703Zm-2.94-1.023c.23.245.37.573.35.931-.01.353-.17.671-.42.901-.24.225-.57.363-.93.348l-3.89-.148a1.317 1.317 0 0 1-1.25-1.352c.02-.353.18-.67.42-.9.25-.226.57-.364.93-.348l3.89.148c.36.015.67.174.9.42Zm7.4 1.376a3.893 3.893 0 0 0-2.05 2.155c-.36.926-.37 1.996.06 2.974l1.57 3.562a3.86 3.86 0 0 0 2.15 2.052c.93.364 2 .369 2.98-.061s1.69-1.223 2.05-2.155c.36-.926.37-1.996-.06-2.973l-1.57-3.563a3.86 3.86 0 0 0-2.15-2.052c-.93-.363-2-.369-2.98.061Zm.36 3.087a1.305 1.305 0 0 1 1.69-.737c.3.117.57.358.71.685l1.57 3.563c.14.327.14.685.02.998-.12.307-.36.573-.69.716-.32.143-.68.143-.99.021a1.278 1.278 0 0 1-.72-.686l-1.57-3.562a1.328 1.328 0 0 1-.02-.998Z"></path><path fill="#B3B3B3" d="M1448.7 402.33c.67.245 1.42-.098 1.66-.768a1.288 1.288 0 0 0-.77-1.664l-8.33-3.07a1.29 1.29 0 0 0-1.66.772c-.25.671.1 1.418.77 1.664l8.33 3.071v-.005Zm-1.17 10.149a3.882 3.882 0 0 0-2.87.798 3.86 3.86 0 0 0-1.47 2.585l-.48 3.864a3.854 3.854 0 0 0 .79 2.866 3.909 3.909 0 0 0 2.59 1.474 3.846 3.846 0 0 0 2.86-.798 3.871 3.871 0 0 0 1.48-2.585l.48-3.864a3.858 3.858 0 0 0-.8-2.866 3.864 3.864 0 0 0-2.58-1.474Zm-1.28 2.835c.26-.205.6-.307.96-.261a1.297 1.297 0 0 1 1.13 1.454l-.48 3.864c-.05.353-.23.66-.49.865-.26.205-.6.307-.96.261-.36-.046-.66-.23-.87-.491-.2-.262-.31-.599-.26-.963l.48-3.864c.05-.353.23-.66.49-.865Z"></path><path fill="#B3B3B3" d="M1452.13 407.018a1.297 1.297 0 0 0-.72-1.679 1.292 1.292 0 0 0-1.68.727l-3.27 8.255c-.26.666.06 1.413.72 1.679.67.261 1.42-.061 1.68-.727l3.27-8.255ZM300.217 251.304h-13.891v23.558h14.96v-23.558h-1.069Zm-16.066 0h-13.885v23.558h14.96v-23.558h-1.075Zm-16.096 0H254.17v23.558h14.955v-23.558h-1.07Zm35.377 24.618h-51.407v2.139h51.407v-2.139Zm0-27.817h-51.407v2.144h51.407v-2.144Zm-11.516-15.83a2.68 2.68 0 0 1 3.787 0 2.683 2.683 0 0 1 0 3.787 2.68 2.68 0 0 1-3.787 0 2.68 2.68 0 0 1 0-3.787Zm7.543 14.755c-.015-2.083-.624-5.256-1.586-6.858-1.008-1.679-2.431-2.815-4.069-2.815s-3.061 1.136-4.069 2.815c-.962 1.602-1.566 4.775-1.587 6.858h11.311Z"></path><path fill="#B3B3B3" d="M293.81 227.745a4.801 4.801 0 0 0-3.409 1.413 4.813 4.813 0 0 0-1.413 3.408c0 1.331.538 2.534 1.413 3.409a4.813 4.813 0 0 0 3.409 1.413 4.8 4.8 0 0 0 3.408-1.413 4.813 4.813 0 0 0 1.413-3.409 4.8 4.8 0 0 0-1.413-3.408 4.813 4.813 0 0 0-3.408-1.413Zm-10.431 19.285c-.015-2.083-.624-5.256-1.586-6.858-1.009-1.679-2.431-2.815-4.069-2.815s-3.061 1.136-4.069 2.815c-.962 1.602-1.566 4.775-1.587 6.858h11.311Z"></path><path fill="#B3B3B3" d="M277.729 227.745a4.8 4.8 0 0 0-3.408 1.413 4.813 4.813 0 0 0-1.413 3.408c0 1.331.538 2.534 1.413 3.409a4.813 4.813 0 0 0 3.408 1.413 4.801 4.801 0 0 0 3.409-1.413 4.813 4.813 0 0 0 1.413-3.409 4.8 4.8 0 0 0-1.413-3.408 4.813 4.813 0 0 0-3.409-1.413Zm-10.432 19.285c-.015-2.083-.624-5.256-1.586-6.858-1.009-1.679-2.431-2.815-4.069-2.815s-3.061 1.136-4.069 2.815c-.962 1.602-1.566 4.775-1.587 6.858h11.311Z"></path><path fill="#B3B3B3" d="M261.647 227.745a4.8 4.8 0 0 0-3.408 1.413 4.813 4.813 0 0 0-1.413 3.408c0 1.331.538 2.534 1.413 3.409a4.813 4.813 0 0 0 3.408 1.413 4.801 4.801 0 0 0 3.409-1.413 4.813 4.813 0 0 0 1.413-3.409 4.8 4.8 0 0 0-1.413-3.408 4.813 4.813 0 0 0-3.409-1.413Zm194.694 104.573c.072-.051.185-.118.297-.189 1.382-.865 3.173-1.981 3.219-8.89a1.193 1.193 0 0 0-2.078-.804c-.598.66-1.202.993-1.775 1.08-.64.092-1.295-.113-1.894-.512-2.068-1.366-4.914-2.6-7.938-2.907-2.437-.251-4.991.092-7.37 1.418l-.077.046c-2.17 1.438-3.66 2.769-4.345 4.355-.737 1.705-.523 3.522.813 5.789.19.317.502.517.84.573.353.057.691.097 1.008.123.343.026.681.041 1.013.041 2.431 0 4.683-.686 6.475-1.843a9.693 9.693 0 0 0 2.687-2.533 9.483 9.483 0 0 0 2.308 2.37c1.628 1.182 3.69 1.96 5.957 2.139.323.026.625-.082.855-.271l.005.015Z"></path><path fill="#B3B3B3" d="M435.791 329.979c-.179.338-.466.573-.742.809-.896.747-1.74 1.459-1.74 3.951 0 .978.358 1.935.941 2.667.425.532.978.957 1.607 1.197.492 1.531 1.101 3.24 1.884 4.847.936 1.919 2.129 3.7 3.685 4.908.686.533 1.418.84 2.206 1.014.727.158 1.474.199 2.272.199.799 0 1.566-.046 2.308-.215a5.387 5.387 0 0 0 2.222-1.044c1.545-1.218 2.723-2.989 3.649-4.893.778-1.597 1.382-3.296 1.868-4.811a3.763 3.763 0 0 0 1.633-1.192 4.291 4.291 0 0 0 .921-2.677c0-.86-.409-1.709-.988-2.452a8.573 8.573 0 0 0-2.267-1.996l-1.198 2.063a5.97 5.97 0 0 1 1.577 1.397c.281.364.481.722.481.983 0 .466-.149.885-.394 1.192-.22.277-.512.456-.835.492l-.778.087-.23.742c-.491 1.576-1.111 3.419-1.94 5.118-.793 1.628-1.765 3.112-2.978 4.069a3.026 3.026 0 0 1-1.27.583c-.517.118-1.121.149-1.786.149s-1.249-.026-1.766-.143a2.99 2.99 0 0 1-1.243-.564c-1.229-.951-2.211-2.441-3.005-4.068-.834-1.71-1.458-3.563-1.955-5.149l-.23-.742-.778-.087c-.302-.036-.589-.226-.809-.502a1.911 1.911 0 0 1-.419-1.182c0-1.387.424-1.745.88-2.124.445-.374.911-.763 1.31-1.52l-2.103-1.121.01.015Zm-5.225 48.525h16.695v-12.913l-.025-.215-2.437-10.359-.199-.399-3.496-4.417-.496-.63-.881.144-13.25 2.134-.783.128-.246.634c-.834 2.155-1.704 3.732-2.482 5.139-1.305 2.37-2.37 4.294-2.672 7.539-.056.604-.087 11.388-.087 12.094v1.126h10.359v-.005Z"></path><path fill="#B3B3B3" d="M461.25 378.504h-16.695v-12.913l.025-.215 2.436-10.359.2-.399 3.496-4.417.496-.63.881.144 13.25 2.134.783.128.246.634c.834 2.155 1.704 3.732 2.482 5.139 1.305 2.37 2.37 4.294 2.672 7.539.056.604.087 11.388.087 12.094v1.126H461.25v-.005Zm811.6-241.226v3.362h2.1v-3.362c0-.548-.54-.983-1.08-.973-.52.011-1.03.481-1.02.973Zm0 8.051v39.777h2.1v-39.777h-2.1Z"></path><path fill="#B3B3B3" d="M1273.9 139.586c-.94 0-1.79.379-2.4.993a3.358 3.358 0 0 0-.99 2.4c0 .937.37 1.787.99 2.401.61.614 1.46.993 2.4.993s1.79-.379 2.4-.993a3.4 3.4 0 0 0 .99-2.401 3.4 3.4 0 0 0-.99-2.4 3.371 3.371 0 0 0-2.4-.993Z"></path><path fill="#B3B3B3" d="M1292.54 144.029a1.05 1.05 0 0 0 0-2.099h-16.3c-.57 0-1.05.471-1.05 1.049 0 .579.48 1.05 1.05 1.05h16.3Zm-20.98 0c.57 0 1.04-.471 1.04-1.05 0-.578-.47-1.049-1.04-1.049h-16.31c-.57 0-1.04.471-1.04 1.049 0 .579.47 1.05 1.04 1.05h16.31Zm27.52 25.242h-18.17v1.049a9.58 9.58 0 0 0 2.82 6.792 9.572 9.572 0 0 0 6.79 2.815c2.65 0 5.05-1.075 6.79-2.815a9.58 9.58 0 0 0 2.82-6.792v-1.049h-1.05Z"></path><path fill="#B3B3B3" d="m1289.42 143.133-8.51 26.138 2 .624 8.51-26.143-2-.619Z"></path><path fill="#B3B3B3" d="m1289.62 143.752 8.5 26.143 2-.624-8.5-26.138-2 .619Zm-22.74 25.519h-18.16v1.049a9.57 9.57 0 0 0 2.81 6.792 9.578 9.578 0 0 0 6.8 2.815c2.65 0 5.05-1.075 6.79-2.815a9.57 9.57 0 0 0 2.81-6.792v-1.049h-1.05Z"></path><path fill="#B3B3B3" d="m1257.23 143.133-8.51 26.138 2 .624 8.51-26.143-2-.619Z"></path><path fill="#B3B3B3" d="m1257.42 143.752 8.51 26.143 2-.624-8.51-26.138-2 .619Zm11.18 42.306h10.59c0-3.603-10.59-3.603-10.59 0Zm24.15 160.758H1255v6.045c1.16.532 3.3 1.407 4.04 1.648 1.26.409 2.56.721 3.86.972 2.93.568 5.98.86 8.97.952v-1.991h4.82v1.981c3.03-.113 6.11-.425 9.06-1.029 1.29-.266 2.58-.588 3.82-1.018.73-.251 2.89-1.229 3.98-1.781v-5.779h-.8Zm-20.88 10.421v3.639h4.82v-3.65c3.08-.112 6.21-.43 9.22-1.049 1.35-.276 2.7-.619 4-1.075.67-.235 2.47-1.044 3.64-1.617v18.231H1255v-17.975c1.22.542 3.05 1.285 3.74 1.515 1.31.43 2.66.757 4.01 1.018 2.98.579 6.07.87 9.12.968v-.005Zm1.61-1.183h1.6v3.215h-1.6v-3.215Z"></path><path fill="#B3B3B3" d="M1281.51 346.816h-14.46v-1.505c0-.47.19-.895.5-1.202.31-.313.74-.502 1.2-.502h11.05c.47 0 .89.195 1.2.502.31.312.5.737.5 1.202v1.505h.01Zm-15.27 1.607h16.87v-3.112a3.314 3.314 0 0 0-3.31-3.311h-11.04a3.314 3.314 0 0 0-3.31 3.311v3.112h.8-.01Z"></path><path fill="#B3B3B3" fill-rule="evenodd" d="M573.443 258.285h-10.441v8.491h11.244v-8.491h-.803Zm-5.625 2.866h1.607v2.754h-1.607v-2.754Z" clip-rule="evenodd"></path><path fill="#B3B3B3" d="M599.948 236.252h-35.341v1.003h35.341v-1.003Z"></path><path fill="#B3B3B3" d="M600.748 234.645h-37.746v4.217h38.549v-4.217h-.803Zm-.001 34.337h-37.751v4.217h38.555v-4.217h-.804Zm-36.144 1.607h35.341v1.003h-35.341v-1.003Z"></path><path fill="#B3B3B3" d="M599.242 238.058h-1.607v31.727h1.607v-31.727Zm-5.383 0h-1.607v31.727h1.607v-31.727Zm-5.391 0h-1.607v31.727h1.607v-31.727Zm-5.388 0h-1.607v31.727h1.607v-31.727Zm-5.635 0h-1.607v31.727h1.607v-31.727Zm-6.746 0v11.403a5.559 5.559 0 0 1 1.607 1.009v-12.412h-1.607Zm-5.39 0v12.11a5.471 5.471 0 0 1 1.607-.84v-11.265h-1.607v-.005Zm3.312 12.601c-1.075 0-2.048.44-2.754 1.147a3.892 3.892 0 0 0-1.146 2.753v5.277h7.8v-5.277a3.88 3.88 0 0 0-1.147-2.753 3.89 3.89 0 0 0-2.753-1.147Zm-1.623 2.283a2.29 2.29 0 0 1 1.623-.676c.634 0 1.202.261 1.622.676.415.414.676.988.676 1.622v3.67h-4.591v-3.67c0-.629.256-1.203.675-1.622h-.005Zm31.201 187.747c-2.656.261-4.908.665-6.49 1.172-1.914.609-3.02 1.484-3.02 2.574 0 1.392 2.017 2.493 5.282 3.148 2.826.563 6.715.916 10.994.916s8.169-.348 10.994-.916c3.265-.655 5.282-1.756 5.282-3.148 0-1.085-1.091-1.955-2.984-2.564-1.561-.501-3.788-.911-6.413-1.172l-.773-.077-.266.727c-.19.507-.834.993-1.781 1.377-1.07.435-2.467.696-4.003.696-1.535 0-2.943-.261-4.007-.696-.947-.384-1.592-.875-1.776-1.382l-.266-.737-.773.077v.005Z"></path><path fill="#B3B3B3" d="M605.026 435.284c-.982 0-1.806-.164-2.492-.302-1.479-.297-2.493-.496-3.532.63-.276.302-.675 1.32-1.018 2.395-.41 1.279-.798 2.748-.798 3.102 0 1.335.982 2.487 2.569 3.255 1.366.665 3.229 1.074 5.271 1.074 2.043 0 3.906-.409 5.272-1.074 1.587-.773 2.569-1.92 2.569-3.255 0-.308-.348-1.823-.716-3.143-.302-1.085-.64-2.104-.865-2.39-.988-1.234-2.047-.998-3.583-.655-.727.164-1.612.358-2.677.358v.005Zm-8.479 11.756-.123.226c-.164.291-.251.455-.333.762a3.255 3.255 0 0 0-1.033 1.014 3.59 3.59 0 0 0-.574 1.965c0 .855.292 1.638.768 2.237a3.1 3.1 0 0 0 1.356.992c.41 1.27.911 2.687 1.561 4.023.778 1.597 1.771 3.081 3.066 4.085a4.43 4.43 0 0 0 1.843.844c.604.133 1.228.164 1.893.164.666 0 1.3-.036 1.925-.179a4.512 4.512 0 0 0 1.853-.87c1.284-1.014 2.267-2.488 3.035-4.074.644-1.326 1.146-2.739 1.55-3.998a3.097 3.097 0 0 0 1.357-.993 3.588 3.588 0 0 0 .767-2.236c0-.594-.143-1.162-.399-1.658a3.299 3.299 0 0 0-1.126-1.27c-.087-.056-.041-.102-.205-.297-.378-.46-.875-1.064-1.177-1.294l-1.213 1.602c.128.097.533.588.84.962.271.327.486.593.66.706a1.3 1.3 0 0 1 .435.496c.107.21.169.466.169.748 0 .384-.123.732-.328.988-.179.225-.419.378-.686.404l-.655.071-.194.625c-.41 1.31-.927 2.84-1.612 4.253-.655 1.351-1.464 2.585-2.472 3.378a2.586 2.586 0 0 1-1.05.481c-.43.097-.926.123-1.484.123-.558 0-1.034-.026-1.469-.118a2.475 2.475 0 0 1-1.029-.466c-1.018-.793-1.832-2.026-2.492-3.377-.696-1.418-1.213-2.959-1.622-4.279l-.195-.625-.655-.071c-.261-.031-.502-.179-.686-.405a1.566 1.566 0 0 1-.327-.987c0-.333.092-.635.245-.876.144-.225.343-.394.568-.47l.558-.2.103-.578c.066-.384.107-.451.215-.645.03-.057.071-.123.138-.256l-1.771-.942.005.015Z"></path><path fill="#B3B3B3" d="m608.487 462.395-2.57 3.9-.112.235-.84 2.513-.844-2.538-.113-.241-2.564-3.874-2.226.174 3.045 4.703 1.684 5.052-.149 6.505-5.281-7.631 1.929-2.774.425-.614-.471-.589-7.043-8.803 5.528-.773-.276-1.991-7.273 1.019-1.745.245 1.1 1.377 4.33 5.415c-2.441 1.213-4.499 2.902-6.024 4.913-1.756 2.314-2.805 5.047-2.933 7.969l-.225 5.154-.046 1.039h1.044l36.42.174h1.091l-.082-1.075-.415-5.328c-.225-2.876-1.269-5.573-2.973-7.861-1.515-2.037-3.552-3.746-5.994-4.975l4.34-5.425 1.096-1.367-1.73-.25-7.063-1.034-.292 1.991 5.333.783-3.987 4.985-3.066 3.828-.471.589.425.614 1.92 2.753-5.6 7.606.149-6.352 1.714-5.143 2.831-4.719-2.007-.169.011-.01Zm842.423-231.057c-5.17 0-9.85 2.093-13.23 5.481a18.646 18.646 0 0 0-5.48 13.236c0 5.169 2.09 9.847 5.48 13.235 3.38 3.388 8.06 5.482 13.23 5.482s9.85-2.094 13.24-5.482a18.646 18.646 0 0 0 5.48-13.235c0-5.17-2.09-9.848-5.48-13.236a18.668 18.668 0 0 0-13.24-5.481Zm-11.72 6.991c3-2.999 7.14-4.857 11.72-4.857 4.58 0 8.72 1.858 11.73 4.857 3 2.999 4.85 7.145 4.85 11.726 0 4.58-1.85 8.726-4.85 11.725-3 2.999-7.15 4.857-11.73 4.857s-8.72-1.858-11.72-4.857-4.86-7.145-4.86-11.725a16.54 16.54 0 0 1 4.86-11.726Z"></path><path fill="#B3B3B3" d="M1450.58 231c-5.17 0-9.85 2.093-13.24 5.481a18.65 18.65 0 0 0-5.48 13.236c0 5.169 2.09 9.847 5.48 13.235 3.39 3.388 8.07 5.482 13.24 5.482s9.85-2.094 13.23-5.482a18.654 18.654 0 0 0 5.49-13.235c0-5.169-2.1-9.847-5.49-13.236a18.627 18.627 0 0 0-13.23-5.481Zm-11.73 6.991c3-2.999 7.15-4.857 11.73-4.857s8.72 1.858 11.72 4.857c3 3 4.86 7.145 4.86 11.726 0 4.581-1.86 8.726-4.86 11.725-3 3-7.14 4.858-11.72 4.858-4.58 0-8.72-1.858-11.73-4.858a16.52 16.52 0 0 1-4.85-11.725c0-4.581 1.85-8.721 4.85-11.726Zm-19.38 45.771 13.42-11.126.79-.666-.64-.808-5.18-6.511-.68-.854-.84.701-7 5.881.13 13.383Z"></path><path fill="#B3B3B3" d="m1419.13 283.43 13.42-11.127.8-.67-.64-.809-5.18-6.505-.68-.855-.84.701-7.01 5.881.13 13.384Z"></path><path fill="#B3B3B3" d="m1436.76 261.089-7.97 6.831 1.38 1.617 7.97-6.832-1.38-1.616Z"></path><path fill="#B3B3B3" d="m1436.42 260.752-7.97 6.831 1.39 1.617 7.97-6.831-1.39-1.617Zm30.94 9.575c-1.16 4.049-3.4 6.639-6.05 8.184-3.46 2.012-7.62 2.288-11 1.689-3.4-.599-5.56-2.871-6.92-5.962-.88-1.976-1.44-4.284-1.79-6.72-.81-.43-1.59-.922-2.33-1.464.35 3.25 1 6.392 2.16 9.038 1.65 3.721 4.29 6.459 8.51 7.207 3.8.67 8.49.348 12.44-1.95 3.09-1.802 5.71-4.801 7.03-9.443.66-2.298.88-5.031.72-7.918a36.3 36.3 0 0 0-.78-5.748 19.432 19.432 0 0 1-1.6 3.204c.13.896.21 1.787.26 2.662.15 2.651-.05 5.144-.64 7.216l-.01.005Zm-26.24-8.24c-.41-.332-.8-.686-1.18-1.064-.36-.364-.7-.742-1.02-1.131-.2-10.677 1.77-17.535 4.8-21.266 1.7-2.104 3.74-3.25 5.95-3.552 2.17-.297 4.46.235 6.69 1.489 3.71 2.078 7.32 6.198 9.97 11.777.06.563.09 1.136.09 1.715 0 1.126-.12 2.231-.35 3.306-2.47-7.273-6.56-12.585-10.75-14.94-1.83-1.029-3.67-1.469-5.37-1.238-1.67.23-3.24 1.126-4.58 2.784-2.94 3.618-4.77 10.702-4.25 22.115v.005Zm13.11 3.122c-.69.149-1.39.256-2.11.313a56.82 56.82 0 0 1-.3-3.44 69.31 69.31 0 0 1-.1-4.606c.05-3.818.04-10.856 3.52-2.564.37.901.71 1.847 1 2.804.42 1.387.87 3.445 1.06 5.421.03.348.05.69.07 1.033-.69.313-1.39.579-2.11.789 0-.517-.03-1.065-.08-1.628-.17-1.822-.58-3.721-.97-4.995-.11-.353-.23-.712-.36-1.07v.241c-.02 1.499.02 3.009.1 4.473.04.727.13 1.955.29 3.24l-.01-.011Zm-3.2.359h-.12c-.68 0-1.37-.046-2.04-.133a61.76 61.76 0 0 1-.26-3.189c-.1-2.119-.15-4.407-.04-6.689.1-2.304.37-4.602.89-6.72.09-.389.28-1.05.51-1.741.71-2.042 1.78-2.354 3.37-.844.5.481.95.972 1.22 1.285 1.03 1.238 1.93 2.656 2.69 4.15a30.144 30.144 0 0 1 2.04 5.103c.48 1.536.92 3.526 1.14 5.523-.65.501-1.32.946-2.03 1.335l-.03-.358a28.406 28.406 0 0 0-1.11-5.881c-.49-1.586-1.12-3.214-1.91-4.749-.69-1.346-1.5-2.626-2.44-3.747-.21-.25-.56-.639-.96-1.023-.19.573-.35 1.126-.43 1.458-.48 1.976-.73 4.141-.83 6.321-.11 2.201-.07 4.422.04 6.485.06 1.126.15 2.293.29 3.434l.01-.02Zm6.76 3.045c.89-.328 1.74-.717 2.57-1.167-.06.287-.12.563-.2.829-.24.855-.56 1.633-1.04 2.313a5.09 5.09 0 0 1-2.09 1.72c-.78.358-1.67.563-2.56.645-1.94.179-3.34.276-4.19-1.622-.24-.538-.45-1.147-.56-1.526.39.026.79.036 1.19.036.34 0 .69-.01 1.03-.025.35 1.146.57 1.182 2.34 1.018.67-.061 1.32-.21 1.87-.46.54-.246.93-.589 1.23-1.009.16-.225.29-.476.42-.747l-.01-.005Zm3.4-.041c.17-.568.28-1.182.35-1.827.78-.497 1.53-1.049 2.24-1.658-.02 1.443-.18 2.835-.53 4.068-.8 2.78-2.37 4.694-4.43 5.835-2.19 1.213-4.9 1.51-7.77 1.003a4.45 4.45 0 0 1-1.01-.297 3.939 3.939 0 0 1-.96-.588c-1.4-1.177-2.26-3.419-2.8-5.809.75.179 1.52.317 2.29.409.44 1.638 1.05 3.061 1.89 3.767.13.113.27.2.43.266.16.072.34.118.54.154 2.4.425 4.63.204 6.38-.763 1.56-.865 2.76-2.359 3.39-4.555l-.01-.005Zm-13.42-3.317c-.75-.153-1.49-.363-2.2-.624a48.59 48.59 0 0 1-.16-2.216c-.13-2.564-.18-5.599.06-8.599.23-3.05.75-6.08 1.77-8.572.22-.548.73-1.643 1.37-2.478.51-.665 1.13-1.197 1.85-1.32.8-.143 1.72.148 2.58.624 1.11.609 2.2 1.536 2.75 2.083 1.48 1.449 2.74 3.199 3.79 5.073 1.19 2.124 2.12 4.427 2.79 6.627.33 1.086.64 2.319.88 3.614-.42.547-.87 1.07-1.37 1.566-.15.154-.31.302-.47.445a31.66 31.66 0 0 0-1.08-5.01c-.62-2.053-1.49-4.202-2.61-6.203-.96-1.715-2.1-3.302-3.42-4.597-.47-.46-1.37-1.238-2.27-1.735-.48-.266-.93-.44-1.2-.389-.11.021-.3.231-.52.512-.49.645-.9 1.536-1.08 1.986-.92 2.267-1.41 5.077-1.63 7.933-.22 2.912-.17 5.85-.05 8.332.04.789.11 1.822.23 2.954l-.01-.006Zm16.5 4.197c.47-1.607.62-3.449.57-5.343.02-.021.04-.036.05-.056.71-.702 1.35-1.449 1.93-2.237.04.42.08.839.11 1.259.14 2.436 0 4.857-.6 6.966-.53 1.853-1.34 3.516-2.49 4.918a11.322 11.322 0 0 1-4.15 3.184c-1.38.629-2.88 1.008-4.4 1.177-1.62.174-3.25.107-4.79-.164-3.65-.645-5.67-3.572-6.81-7.037-.43-1.3-.73-2.677-.95-4.028.76.343 1.53.634 2.33.88.18.84.39 1.679.65 2.477.91 2.785 2.46 5.129 5.15 5.605 1.35.24 2.79.296 4.2.148 1.31-.143 2.59-.466 3.74-.993a9.267 9.267 0 0 0 3.39-2.595c.94-1.162 1.62-2.569 2.08-4.156l-.01-.005Zm-19.82-5.287c-.77-.353-1.51-.767-2.22-1.243 0-.118-.01-.236-.02-.348-.14-2.841-.18-6.096.08-9.305.27-3.26.86-6.495 1.98-9.233.46-1.131 1.1-2.395 1.98-3.45.94-1.136 2.13-2.027 3.64-2.298 1.37-.246 2.76.062 4.05.645 1.57.717 3.02 1.878 4.09 2.928 1.66 1.632 3.09 3.592 4.27 5.696 1.33 2.359 2.37 4.898 3.13 7.355l.09.332a15.62 15.62 0 0 1-1.43 2.984 30.37 30.37 0 0 0-.7-2.697c-.71-2.324-1.68-4.719-2.94-6.93-1.09-1.929-2.39-3.726-3.91-5.22-.93-.906-2.16-1.899-3.49-2.503-.93-.425-1.89-.65-2.79-.486-.94.163-1.72.773-2.37 1.55-.71.86-1.25 1.925-1.64 2.892-1.02 2.518-1.57 5.538-1.83 8.609-.26 3.127-.22 6.28-.08 9.023.03.522.06 1.095.1 1.699h.01Z"></path><path fill="#b3b3b3ff" d="M1467.03 269.99c-1.16 4.048-3.4 6.638-6.06 8.184-3.45 2.011-7.61 2.287-10.99 1.689-3.4-.599-5.56-2.872-6.92-5.963-.88-1.976-1.44-4.284-1.79-6.72-.81-.43-1.59-.921-2.33-1.464.34 3.25.99 6.393 2.16 9.039 1.64 3.721 4.29 6.459 8.51 7.206 3.79.67 8.49.348 12.43-1.95 3.1-1.802 5.72-4.801 7.04-9.443.66-2.298.88-5.031.72-7.918-.1-1.873-.37-3.818-.78-5.747-.44 1.11-.97 2.185-1.6 3.204.13.895.21 1.786.26 2.661.15 2.651-.05 5.144-.65 7.217v.005Zm-26.24-8.24c-.41-.333-.8-.686-1.18-1.065-.36-.363-.71-.742-1.02-1.131-.2-10.676 1.77-17.535 4.79-21.266 1.71-2.103 3.75-3.25 5.96-3.552 2.17-.297 4.45.236 6.69 1.49 3.71 2.078 7.32 6.198 9.97 11.776.06.563.09 1.137.09 1.715 0 1.126-.12 2.231-.35 3.306-2.47-7.273-6.56-12.585-10.75-14.94-1.84-1.028-3.67-1.468-5.37-1.238-1.67.23-3.24 1.126-4.58 2.784-2.94 3.619-4.77 10.702-4.25 22.115v.006Zm13.11 3.122c-.69.148-1.4.255-2.11.312a49.635 49.635 0 0 1-.3-3.44 69.295 69.295 0 0 1-.1-4.606c.05-3.818.04-10.855 3.51-2.564.38.901.72 1.848 1.01 2.805.42 1.387.87 3.444 1.06 5.42.03.348.05.691.07 1.034-.69.312-1.39.578-2.12.788 0-.517-.02-1.065-.07-1.628a27.694 27.694 0 0 0-.97-4.995 24.93 24.93 0 0 0-.36-1.07v.241c-.02 1.499.02 3.009.1 4.473.04.727.12 1.955.29 3.24l-.01-.01Zm-3.2.358h-.12c-.69 0-1.37-.046-2.04-.133-.13-1.085-.2-2.16-.26-3.189a70.63 70.63 0 0 1-.05-6.689c.11-2.303.38-4.601.9-6.72.09-.389.28-1.049.51-1.74.71-2.042 1.77-2.355 3.37-.845.5.481.95.973 1.21 1.285 1.04 1.238 1.94 2.656 2.7 4.151a30.99 30.99 0 0 1 2.04 5.102c.47 1.536.91 3.527 1.13 5.523-.64.501-1.32.947-2.02 1.336l-.03-.359a28.396 28.396 0 0 0-1.11-5.88c-.49-1.587-1.12-3.215-1.91-4.75-.69-1.346-1.5-2.626-2.44-3.746-.21-.251-.56-.64-.96-1.024-.2.573-.35 1.126-.43 1.459-.48 1.975-.73 4.14-.84 6.32-.1 2.201-.06 4.422.05 6.485.06 1.126.14 2.293.29 3.429l.01-.015Zm6.76 3.045c.88-.327 1.74-.716 2.57-1.167-.06.287-.12.563-.2.829-.24.855-.56 1.633-1.04 2.314a5.095 5.095 0 0 1-2.09 1.719c-.78.359-1.67.563-2.56.645-1.94.179-3.35.277-4.19-1.622a13.06 13.06 0 0 1-.56-1.525c.39.025.79.035 1.19.035.34 0 .68-.01 1.03-.025.35 1.146.57 1.182 2.34 1.018.67-.061 1.32-.209 1.87-.46.54-.246.93-.589 1.23-1.009.16-.225.29-.475.41-.747v-.005Zm3.4-.041c.17-.568.28-1.182.35-1.827.78-.496 1.52-1.049 2.24-1.658-.02 1.443-.18 2.835-.54 4.069-.79 2.779-2.37 4.693-4.42 5.834-2.19 1.213-4.9 1.51-7.77 1.003a4.583 4.583 0 0 1-1.02-.296 3.92 3.92 0 0 1-.95-.589c-1.4-1.177-2.27-3.419-2.8-5.809.75.179 1.52.317 2.29.409.44 1.638 1.04 3.061 1.88 3.767.14.113.28.2.43.266.17.072.35.118.55.154 2.4.425 4.62.205 6.37-.763 1.56-.865 2.77-2.359 3.4-4.555l-.01-.005Zm-13.42-3.316c-.75-.154-1.49-.364-2.2-.625a48.59 48.59 0 0 1-.16-2.216c-.13-2.564-.18-5.599.05-8.598.24-3.051.76-6.081 1.78-8.573.22-.548.73-1.643 1.37-2.477.51-.666 1.13-1.198 1.84-1.321.81-.143 1.72.149 2.59.625 1.11.609 2.19 1.535 2.75 2.083 1.48 1.448 2.73 3.199 3.78 5.072 1.2 2.124 2.12 4.427 2.8 6.628.33 1.085.64 2.318.88 3.613-.42.548-.88 1.07-1.37 1.566-.16.154-.31.302-.47.445a31.685 31.685 0 0 0-1.08-5.01c-.62-2.052-1.49-4.202-2.61-6.203-.97-1.715-2.1-3.301-3.42-4.596-.47-.461-1.37-1.239-2.28-1.735-.48-.266-.92-.441-1.19-.389-.11.02-.3.23-.52.511-.49.645-.9 1.536-1.08 1.986-.93 2.268-1.41 5.077-1.63 7.933-.22 2.913-.18 5.85-.05 8.333.04.788.11 1.822.23 2.953l-.01-.005Zm16.5 4.197c.46-1.608.62-3.45.57-5.344.02-.02.04-.036.05-.056.7-.701 1.35-1.449 1.93-2.237.04.42.08.84.1 1.259.15 2.437 0 4.857-.6 6.966-.52 1.853-1.34 3.516-2.48 4.919a11.33 11.33 0 0 1-4.15 3.183c-1.38.63-2.88 1.008-4.4 1.177a17.24 17.24 0 0 1-4.8-.164c-3.64-.644-5.66-3.572-6.8-7.037-.43-1.3-.73-2.677-.95-4.028.76.343 1.53.635 2.33.88.17.84.38 1.679.64 2.478.92 2.784 2.47 5.128 5.15 5.604 1.36.24 2.8.297 4.21.148 1.31-.143 2.58-.465 3.74-.993a9.24 9.24 0 0 0 3.38-2.594c.95-1.162 1.63-2.57 2.09-4.156l-.01-.005Zm-19.83-5.288c-.77-.353-1.51-.767-2.22-1.243 0-.118-.01-.236-.02-.348-.14-2.841-.18-6.096.09-9.305.27-3.26.85-6.495 1.97-9.233.46-1.131 1.11-2.395 1.98-3.45.94-1.136 2.14-2.026 3.64-2.298 1.37-.245 2.76.062 4.05.645 1.58.717 3.02 1.879 4.1 2.928 1.66 1.632 3.08 3.593 4.27 5.696 1.33 2.36 2.37 4.898 3.12 7.355.04.107.07.22.1.333a15.64 15.64 0 0 1-1.43 2.983 39.59 39.59 0 0 0-.7-2.697c-.71-2.323-1.69-4.719-2.94-6.93-1.09-1.929-2.4-3.726-3.92-5.22-.92-.906-2.16-1.899-3.48-2.503-.93-.425-1.9-.65-2.8-.486-.93.164-1.72.773-2.36 1.551-.71.86-1.25 1.924-1.64 2.891-1.03 2.519-1.57 5.538-1.83 8.609-.26 3.127-.23 6.28-.08 9.023.02.522.06 1.096.1 1.699Z"></path><path fill="#6B7280" d="M770 265h16.8v6.3h-10.5v8.4h8.4v6.3h-8.4v8.4h10.5v6.3H770Zm42 0h-14.7c-4.2 0-6.3 2.1-6.3 6.3v23.1c0 4.2 2.1 6.3 6.3 6.3H812v-6.3h-14.7c-1.386 0-2.1-.714-2.1-2.1v-18.9c0-1.386.714-2.1 2.1-2.1H812Zm18.9 0h-8.4c-4.2 0-6.3 2.1-6.3 6.3v23.1c0 4.2 2.1 6.3 6.3 6.3h8.4c4.2 0 6.3-2.1 6.3-6.3v-23.1c0-4.2-2.1-6.3-6.3-6.3Zm0 6.3v23.1h-8.4v-23.1Zm31.5-6.3h-14.7c-4.2 0-6.3 2.1-6.3 6.3v8.4c0 4.2 2.1 6.3 6.3 6.3h8.4v8.4h-14.7v6.3h14.7c4.2 0 6.3-2.1 6.3-6.3V286c0-4.2-2.1-6.3-6.3-6.3h-8.4v-8.4h14.7Zm4.2 0h6.3v35.7h-6.3Zm31.5 0h-14.7c-4.2 0-6.3 2.1-6.3 6.3v8.4c0 4.2 2.1 6.3 6.3 6.3h8.4v8.4h-14.7v6.3h14.7c4.2 0 6.3-2.1 6.3-6.3V286c0-4.2-2.1-6.3-6.3-6.3h-8.4v-8.4h14.7Zm4.2 0h25.2v6.3h-9.45v29.4h-6.3v-29.4h-9.45Zm29.4 0h16.8v6.3H938v8.4h8.4v6.3H938v8.4h10.5v6.3h-16.8Zm21 35.7V265h8.4l8.4 21 8.4-21h8.4v35.7H980v-25.2l-8.4 21h-4.2l-8.4-21v25.2Zm50.4-35.7h-6.3l-10.5 35.7h7.14l2.52-8.4h7.98l2.52 8.4h7.14l-10.5-35.7Zm-5.04 21 1.89-14.7 1.89 14.7Z"></path><path fill="#d5d4d6ff" stroke="#fff" stroke-linejoin="round" stroke-width=".16" d="M765 333.6V320h3.2l3.2 8 3.2-8h3.2v13.6h-2.4V324l-3.2 8h-1.6l-3.2-8v9.6Zm19.2-13.6h2.4v13.6h-2.4Zm8.8 13.6V320h3.2l4.8 9.6V320h2.4v13.6h-3.2l-4.8-9.6v9.6Zm16.8-13.6h2.4v13.6h-2.4Zm8.8 13.6h7.2c1.6 0 2.4-.8 2.4-2.4V328c0-1.6-.8-2.4-2.4-2.4h-4v-3.2h6.4V320H821c-1.6 0-2.4.8-2.4 2.4v3.2c0 1.6.8 2.4 2.4 2.4h4v3.2h-6.4Zm16-13.6h9.6v2.4h-3.6v11.2h-2.4v-11.2h-3.6Zm16 0h8v2.4H853v3.2h4v2.4h-4v3.2h5.6v2.4h-8Zm14.4 0h6.4c2.4 0 3.2.8 3.2 3.2v1.6c0 1.6-.8 2.4-3.2 2.4h-4v6.4H865Zm2.4 2.4v2.4h4c.8 0 .8-.8.8-1.6s0-.8-.8-.8Zm3.2 4.8h2.4l3.2 6.4H873l-2.4-6.4Zm12-7.2h2.4v13.6h-2.4Zm8.8 7.2c0-4 1.6-7.2 5.6-7.2 4 0 5.6 3.2 5.6 7.2s-1.6 6.4-5.6 6.4c-4 0-5.6-2.4-5.6-6.4Zm2.4 0c0 3.2.8 4 3.2 4 2.4 0 3.2-.8 3.2-4s-.8-4.8-3.2-4.8c-2.4 0-3.2 1.6-3.2 4.8Zm24.8-7.2h6.4c2.4 0 3.2.8 3.2 3.2v1.6c0 2.4-.8 3.2-3.2 3.2h-4v5.6h-2.4Zm2.4 2.4v3.2h4c.8 0 .8-.8.8-2.4 0-.8 0-.8-.8-.8Zm13.6-2.4h2.4v9.6c0 1.6.8 1.6 1.6 1.6s1.6 0 1.6-1.6V320h2.4v9.6c0 3.2-1.6 4-4 4s-4-.8-4-4Zm3.2-2.4 2.4-2.4h1.6l-2.4 2.4ZM949 320h6.4c1.6 0 2.4.8 2.4 2.4v3.2c0 .8-.8 1.2-1.6 1.2 1.6 0 2.4.4 2.4 2v2.4c0 1.6-1.6 2.4-3.2 2.4H949Zm2.4 2.4v3.2h4c.8 0 .8-.8.8-2.4 0-.8 0-.8-.8-.8Zm0 5.6v3.2h4c.8 0 .8-.8.8-1.6s0-1.6-.8-1.6Zm13.6-8h2.4v11.2h5.6v2.4h-8Zm14.4 0h2.4v13.6h-2.4Zm20 3.2c0-2.4-1.6-3.2-5.6-3.2-4 0-5.6 3.2-5.6 7.2s1.6 6.4 5.6 6.4c4 0 5.6-.8 5.6-3.2V328H997v2.4c0 .8-.8.8-3.2.8-2.4 0-3.2-.8-3.2-4s.8-4.8 3.2-4.8c2.4 0 3.2.8 3.2 2.4v1.6h2.4Zm6.4 4c0-4 1.6-7.2 5.6-7.2 4 0 5.6 3.2 5.6 7.2s-1.6 6.4-5.6 6.4c-4 0-5.6-2.4-5.6-6.4Zm2.4 0c0 3.2.8 4 3.2 4 2.4 0 3.2-.8 3.2-4s-.8-4.8-3.2-4.8c-2.4 0-3.2 1.6-3.2 4.8Z"></path>',33)];function az(e,t){return a.openBlock(),a.createElementBlock("svg",nz,[...rz])}const oz={render:az},Md="fge_auth_redirect_url";function p9(e){e&&e!=="/login"&&localStorage.setItem(Md,e)}function m9(){return localStorage.getItem(Md)}function g9(){localStorage.removeItem(Md)}function iz(){return localStorage.getItem(Md)!==null}const sz={class:"fge-login-container fge-auth-container"},lz={class:"left"},cz={class:"right auth-relative-container"},uz={class:"right-container"},dz={class:"fge-login"},fz={class:"right-container-footer"},v9=a.defineComponent({__name:"PrincipalLoginComp",emits:["onLogin","onLoginError"],setup(e,{emit:t}){const n=et(),r=qs(),o=t,i=()=>{const s=m9();s?(g9(),window.location.href=s):n.defaultRedirectPath&&n.defaultRedirectPath!=="/"?window.location.href=n.defaultRedirectPath:o("onLogin")};return a.onMounted(()=>{n.currentPage="login",My("password-modified"),n.initializeTokensFromStorage(),jy();const l=new URLSearchParams(window.location.search).get("redirect");l&&(p9(l),window.history.replaceState({},"",window.location.pathname))}),(s,l)=>(a.openBlock(),a.createElementBlock("div",sz,[a.createElementVNode("div",lz,[a.createVNode(a.unref(oz))]),a.createElementVNode("div",cz,[a.unref(r).isLoading?(a.openBlock(),a.createBlock(Dd,{key:0})):a.createCommentVNode("",!0),a.createElementVNode("div",uz,[a.createElementVNode("div",dz,[a.unref(n).currentPage==="registrar"?(a.openBlock(),a.createBlock(nP,{key:0})):a.createCommentVNode("",!0),a.unref(n).currentPage==="recuperar-password"?(a.openBlock(),a.createBlock(JZ,{key:1})):a.createCommentVNode("",!0),a.unref(n).currentPage==="login"?(a.openBlock(),a.createBlock(nZ,{key:2,onOnLogin:i,onOnError:l[0]||(l[0]=c=>o("onLoginError"))})):a.createCommentVNode("",!0)])]),a.createElementVNode("div",fz,[a.createVNode(oP)])])]))}});function hz(){const e=a.ref(!1);return{displayModal:e,openDialog:()=>{e.value=!0},closeDialog:r=>{e.value=!1,typeof r=="function"&&r()}}}const pz="AUTH_PERFIL_PERSONA_EDITAR_FOTO",mz=e=>{var r;const n=((r=et().userState)==null?void 0:r.permisos)||[];if(n.length!==0)switch(typeof e){case"string":return n.includes(e);case"object":return e.every(o=>n.includes(o));default:return!1}return!1},gz={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 113 113"},vz=["stroke"],yz=["fill"],y9=a.defineComponent({__name:"DefaultUserIcon",setup(e){const t=a.computed(()=>window.getComputedStyle(document.documentElement).getPropertyValue("--fge-gray-icon")),n=a.computed(()=>window.getComputedStyle(document.documentElement).getPropertyValue("--fge-gray-color"));return(r,o)=>(a.openBlock(),a.createElementBlock("svg",gz,[a.createElementVNode("path",{stroke:t.value,"stroke-miterlimit":"10","stroke-width":"2",d:"M56.48 111.28a55 55 0 1 0 0-110 55 55 0 0 0 0 110Z"},null,8,vz),a.createElementVNode("path",{fill:n.value,d:"M85.32 53.21a29.5 29.5 0 0 0-29.47-29.47A29.5 29.5 0 0 0 26.4 53.21 29.47 29.47 0 0 0 45.87 80.9 38.04 38.04 0 0 0 22.88 100a54.78 54.78 0 0 0 33.38 11.3 55.18 55.18 0 0 0 33.82-11.65 37.61 37.61 0 0 0-23.6-18.98A29.47 29.47 0 0 0 85.3 53.21h.01Z"},null,8,yz)]))}}),bz={class:"header-container"},wz={class:"fge-auth-foto-container"},_z={class:"fge-image-container"},kz=["src"],Ez={key:1,class:"default-icon-size mr-2"},xz={key:0,class:"img-absolute-container"},Cz={class:"fge-text-gray fge-perfil-nombre"},Sz={class:"fge-text-gray fge-perfil-data"},Tz={class:"fge-text-gray fge-perfil-data"},Az={key:0,class:"text-left"},Oz=[a.createElementVNode("span",null,[a.createElementVNode("i",{class:"pi pi-lock",style:{"margin-right":"5px"}}),a.createTextVNode(" Cambiar contraseña ")],-1)],Bz=a.defineComponent({__name:"FgePerfilHeader",props:{cambiarPassword:{type:null,required:!1},changeImage:{type:Function,required:!1}},setup(e){const t=et(),n=a.ref(!0),r=()=>{n.value=!1};return(o,i)=>{var s,l,c,u;return a.openBlock(),a.createElementBlock("div",bz,[a.createElementVNode("div",null,[a.createElementVNode("div",wz,[a.createElementVNode("div",_z,[n.value?(a.openBlock(),a.createElementBlock("img",{key:0,src:(s=a.unref(t).userState.user)==null?void 0:s.fotoUrl,class:"fge-auth-profile-img",onError:r},null,40,kz)):(a.openBlock(),a.createElementBlock("div",Ez,[a.createVNode(y9)]))]),o.$slots.floatButton?(a.openBlock(),a.createElementBlock("div",xz,[a.renderSlot(o.$slots,"floatButton")])):a.createCommentVNode("",!0)])]),a.createElementVNode("div",null,[a.createElementVNode("p",Cz,a.toDisplayString((l=a.unref(t).userState.user)==null?void 0:l.nombreCompleto),1),a.createElementVNode("p",Sz,"CI. "+a.toDisplayString((c=a.unref(t).userState.user)==null?void 0:c.ci),1),a.createElementVNode("p",Tz,a.toDisplayString(((u=a.unref(t).userState.user)==null?void 0:u.sexo)==="M"?"Masculino":"Femenino"),1),e.cambiarPassword?(a.openBlock(),a.createElementBlock("div",Az,[a.createElementVNode("button",{onClick:i[0]||(i[0]=()=>{var d;return(d=e.cambiarPassword)==null?void 0:d.call(e)}),class:"fge-green-button change-psw-btn",label:"Cambiar contraseña"},Oz)])):a.createCommentVNode("",!0)])])}}});async function Iz(e){return new Promise((t,n)=>{const r=new FileReader;r.readAsDataURL(e),r.onload=()=>t(r.result),r.onerror=o=>n(o)})}const b9=e=>e&&{whatsapp:1,telegram:2,email:3,sms:5}[e]||0,Vz=async e=>{var o;const t=et(),n=b9(e.medio),r={usuarioId:(o=t.userState.user)==null?void 0:o.id,medio:n};return t.usaAuthNvEnLogin?ke.post("/v1/usuario/perfil/verificar-medio/enviar",r).then(i=>i).catch(i=>{var s;if((s=i.response)!=null&&s.data)return i.response.data;throw i}):ke.post("/v1/perfil-persona/perfil/verificar-medio/enviar",r).then(i=>i).catch(i=>{var s;if((s=i.response)!=null&&s.data)return i.response.data;throw i})},Rz=async e=>{var o;const t=et(),n=b9(e.medio),r={usuarioId:(o=t.userState.user)==null?void 0:o.id,medio:n,codigo:e.code_confirmacion};return t.usaAuthNvEnLogin?ke.post("/v1/usuario/perfil/verificar-medio/confirmar",r).then(i=>i).catch(i=>{var s;throw(s=i.response)!=null&&s.data?i.response.data:i}):ke.post("/v1/perfil-persona/perfil/verificar-medio/confirmar",r).then(i=>i).catch(i=>{var s;throw(s=i.response)!=null&&s.data?i.response.data:i})},Dz=async e=>et().usaAuthNvEnLogin?ke.patch("/v1/usuario/perfil/cambiar-password",e).then(n=>n).catch(n=>{var r;throw(r=n.response)!=null&&r.data?n.response.data:n}):ke.patch("/v1/perfil-persona/perfil/cambiar-password",e).then(n=>n).catch(n=>{var r;throw(r=n.response)!=null&&r.data?n.response.data:n}),Mz=async e=>ke.post("/v1/perfil-persona/update/profile/img",e).then(t=>t).catch(t=>{var n;throw(n=t.response)!=null&&n.data?t.response.data:t}),Pz=async e=>{var r;const t=et();if(!t.usaAuthNvEnLogin)return ke.post("/v1/perfil-persona/actualizar/datos",e).then(o=>o).catch(o=>{var i;throw(i=o.response)!=null&&i.data?o.response.data:o});const n={usuarioId:(r=t.userState.user)==null?void 0:r.id,...e};return ke.patch("/v1/usuario/perfil/actualizar-datos",n).then(o=>o).catch(o=>{var i;throw(i=o.response)!=null&&i.data?o.response.data:o})},Lz=async e=>ke.post("/v1/perfil-persona/2fa/verificacion",{checked:e}).then(t=>t).catch(t=>{var n;throw(n=t.response)!=null&&n.data?t.response.data:t}),Fz=async e=>ke.patch(`/v1/perfil-persona/2fa/asignar/medio/${e}`).then(t=>t).catch(t=>{var n;throw(n=t.response)!=null&&n.data?t.response.data:t}),Fo=a.ref([]),Th=a.ref(),Ya=a.ref(0);function Ah(){var V;const e=[oe.object().shape({celular:oe.string().required().matches(P1).length(8).label("Celular"),email:oe.string().required().email().label("E-mail"),direccion:oe.string().required().label("Dirección"),medio:oe.string().optional().label("Medio de verificación")}),oe.object().shape({codigo:oe.string().required().matches(fo).label("Código")}),oe.object().shape({oldPassword:oe.string().required().label("Contraseña actual"),newPassword:oe.string().required().matches(zc).min(8).max(15).label("Nueva contraseña"),repetirPassword:oe.string().required().oneOf([oe.ref("newPassword")],"Las contraseñas deben ser iguales").label("Confirmación de la contraseña")})],t=a.ref(!1),n=a.ref("normal"),r=et(),o=a.ref(!1),i=a.ref(),{refCounter:s,currentContacto:l,currentMedio:c,openTelegram:u,enviarMensaje:d,openTelegramPage:f,tiempoRestanteWhatsapp:h,tiempoRestanteTelegram:p,tiempoRestanteEmail:g,tiempoRestanteSms:w,message2Fa:y,message2FaContexto:k,url2FaContexto:v}=iu("profile"),m=a.ref(),b=a.ref(!1),_=a.ref(!1),E=a.ref(!1),x=a.ref(!1),O=a.ref(!1),B=a.ref(null),S=a.ref(null),A=a.ref(null),D=a.ref([{name:"step1"},{name:"step2"},{name:"step3"},{name:"step4"},{name:"step5"}]),q=a.computed(()=>e[Ya.value]),F=a.reactive({verificadoEmail:!1,verificadoTelegram:!1,verificadoWhatsapp:!1,verificadoSms:!1}),{values:X,handleSubmit:fe,errors:ae,setErrors:Z,setFieldValue:z,validateField:ne,setValues:Y}=je.useForm({validationSchema:q,keepValuesOnUnmount:!0});a.onMounted(()=>{var T,U,j,R,G;Y({celular:((U=(T=r.userState.user)==null?void 0:T.celular)==null?void 0:U.toString())||void 0,email:((j=r.userState.user)==null?void 0:j.email)||void 0,direccion:((R=r.userState.user)==null?void 0:R.direccion)||void 0,medio:((G=r.userState.user)==null?void 0:G.notificacionDefault)||void 0}),r.userState.user&&(F.verificadoWhatsapp=r.userState.user.whatsapp===1,F.verificadoTelegram=r.userState.user.telegram===1,F.verificadoEmail=r.userState.user.emailValidado===1,F.verificadoSms=r.userState.user.sms===1)}),a.watch(()=>X.celular,T=>{var U,j;if(T!==((j=(U=r.userState.user)==null?void 0:U.celular)==null?void 0:j.toString())&&(F.verificadoTelegram||F.verificadoWhatsapp||F.verificadoSms)){F.verificadoTelegram=!1,F.verificadoWhatsapp=!1,F.verificadoSms=!1;const R=X.medio;(R==="whatsapp"||R==="telegram"||R==="sms")&&z("medio",void 0)}}),a.watch(()=>X.email,T=>{var U;T!==((U=r.userState.user)==null?void 0:U.email)&&F.verificadoEmail&&(F.verificadoEmail=!1,X.medio==="email"&&z("medio",void 0))}),a.watch(()=>r.userState.user,T=>{T?(F.verificadoWhatsapp=T.whatsapp===1,F.verificadoTelegram=T.telegram===1,F.verificadoEmail=T.emailValidado===1,F.verificadoSms=T.sms===1):(F.verificadoWhatsapp=!1,F.verificadoTelegram=!1,F.verificadoEmail=!1,F.verificadoSms=!1)},{immediate:!0,deep:!0});const de=fe(async T=>{var U,j,R,G;b.value=!0;try{const W=(j=(U=r.userState.user)==null?void 0:U.celular)==null?void 0:j.toString(),Se=(R=r.userState.user)==null?void 0:R.email,$e=(G=r.userState.user)==null?void 0:G.notificacionDefault,Re=T.celular&&T.celular!==W,rt=T.email&&T.email!==Se;let Le=T.medio||void 0;Re&&($e==="whatsapp"||$e==="telegram"||$e==="sms")&&(Le=void 0),rt&&$e==="email"&&(Le=void 0);const xt={notificacionDefault:Le,direccion:T.direccion||void 0};Re&&(xt.celular=T.celular),rt&&(xt.email=T.email);const xn=await Pz(xt),yt={notificacionDefault:Le,direccion:T.direccion};T.celular&&(yt.celular=T.celular),T.email&&(yt.email=T.email),Re&&(yt.whatsapp=!1,yt.telegram=!1,yt.sms=!1),rt&&(yt.emailValidado=!1),r.updateUserData(yt),K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${xn.message}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:jn,closeOnClick:!1,dangerouslyHTMLString:!0})}catch(W){wr(W)||K.error(`<p class="toast-title">Error</p><p class="toast-description">${W.message}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0})}finally{b.value=!1}}),he=async()=>{b.value=!0;try{const{valid:T}=await ne("codigo");if(!T){b.value=!1;return}const U=await Rz({code_confirmacion:X.codigo,medio:c.value});if(!U){b.value=!1;return}c.value==="whatsapp"&&(_.value=!1),c.value==="telegram"&&(E.value=!1),c.value==="email"&&(x.value=!1),c.value==="sms"&&(O.value=!1),K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${U.message}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:jn,closeOnClick:!1,dangerouslyHTMLString:!0}),c.value==="email"?F.verificadoEmail=!0:c.value==="whatsapp"?F.verificadoWhatsapp=!0:c.value==="telegram"?F.verificadoTelegram=!0:c.value==="sms"&&(F.verificadoSms=!0);const j=c.value;r.updateUserData({email:X.email||void 0,celular:X.celular,whatsapp:F.verificadoWhatsapp?1:void 0,telegram:F.verificadoTelegram?1:void 0,sms:F.verificadoSms?1:void 0,emailValidado:F.verificadoEmail?1:void 0,notificacionDefault:j}),z("medio",j),c.value==="whatsapp"&&(_.value=!1),c.value==="telegram"&&(E.value=!1),c.value==="email"&&(x.value=!1),c.value==="sms"&&(O.value=!1),ct(),z("codigo",void 0),c.value=void 0,l.value=null}catch(T){cn({error:T,setErrors:Z})}finally{b.value=!1}},_e=async({medio:T,contacto:U})=>{var $e,Re,rt,Le,xt,xn,yt,ca,H,pe,ue,re,Oe;const j=T==="email";if(j){const{valid:I}=await ne("email");if(!I||F.verificadoEmail)return}const R=T==="telegram",G=T==="whatsapp",W=T==="sms";if(R||G||W){if(R&&F.verificadoTelegram||G&&F.verificadoWhatsapp||W&&F.verificadoSms)return;const{valid:I}=await ne("celular");if(!I)return}const Se=G?h.value:R?p.value:W?w.value:g.value;if(Se>0&&!R){c.value=T,l.value=U,B.value&&(k.value=B.value),a.nextTick(()=>{s.value&&s.value.reInit(Se)}),te();return}G&&(_.value=!0),R&&(E.value=!0),j&&(x.value=!0),W&&(O.value=!0);try{c.value=T,l.value=U;const I=await st(R);if(I!=null&&I.error){c.value=void 0,l.value=null,G&&(_.value=!1),R&&(E.value=!1),j&&(x.value=!1),W&&(O.value=!1);return}if(((Re=($e=I==null?void 0:I.response)==null?void 0:$e.data)==null?void 0:Re.medioActualizado)===!0){T==="whatsapp"?F.verificadoWhatsapp=!0:T==="telegram"?F.verificadoTelegram=!0:T==="sms"?F.verificadoSms=!0:T==="email"&&(F.verificadoEmail=!0);const ze=T;r.updateUserData({whatsapp:T==="whatsapp"?1:(rt=r.userState.user)==null?void 0:rt.whatsapp,telegram:T==="telegram"?1:(Le=r.userState.user)==null?void 0:Le.telegram,sms:T==="sms"?1:(xt=r.userState.user)==null?void 0:xt.sms,emailValidado:T==="email"?1:(xn=r.userState.user)==null?void 0:xn.emailValidado,notificacionDefault:ze}),z("medio",ze),K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${I.message||"Medio verificado exitosamente"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:jn,closeOnClick:!1,dangerouslyHTMLString:!0}),G&&(_.value=!1),R&&(E.value=!1),j&&(x.value=!1),W&&(O.value=!1);return}if((yt=I==null?void 0:I.response)!=null&&yt.telegramValid){F.verificadoTelegram=!0,r.updateUserData({telegram:!0,notificacionDefault:"telegram"}),z("medio","telegram"),E.value=!1;return}B.value=((H=(ca=I==null?void 0:I.response)==null?void 0:ca.data)==null?void 0:H.mensajeServicio)||null,S.value=((ue=(pe=I==null?void 0:I.response)==null?void 0:pe.data)==null?void 0:ue.tiempoVigencia)||null,A.value=((Oe=(re=I==null?void 0:I.response)==null?void 0:re.data)==null?void 0:Oe.url)||null,B.value&&(k.value=B.value),(T==="email"||T==="whatsapp"||T==="sms")&&S.value&&a.nextTick(()=>{var ze;(ze=s.value)==null||ze.reInit(S.value)}),T==="telegram"&&A.value&&(v.value=A.value),te()}catch(I){wr(I)||K.error(`<p class="toast-title">Error</p><p class="toast-description">${I.message}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0})}},st=async T=>{var j,R,G,W,Se,$e;const U=await d({callbackApi:Vz,abrirTelegramDialog:T,counterTime:S.value||60,tiempoVigencia:S.value||void 0});return U&&!U.error&&(B.value=((R=(j=U==null?void 0:U.response)==null?void 0:j.data)==null?void 0:R.mensajeServicio)||null,S.value=((W=(G=U==null?void 0:U.response)==null?void 0:G.data)==null?void 0:W.tiempoVigencia)||null,A.value=(($e=(Se=U==null?void 0:U.response)==null?void 0:Se.data)==null?void 0:$e.url)||null,B.value&&(k.value=B.value),!T&&S.value&&s.value&&a.nextTick(()=>{var Re;(Re=s.value)==null||Re.reInit(S.value)}),T&&A.value&&(v.value=A.value)),U},se=fe(async T=>{var U;b.value=!0;try{const j={usuarioId:(U=r.userState.user)==null?void 0:U.id,antiguoPassword:T.oldPassword,nuevoPassword:T.newPassword,confirmarNuevoPassword:T.repetirPassword},R=await Dz(j);K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${R.message}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:jn,closeOnClick:!1,dangerouslyHTMLString:!0}),Qd({name:"password-modified",value:JSON.stringify(!0),days:1}),ct()}catch(j){cn({error:j,setErrors:Z})}finally{b.value=!1}}),ge=()=>{var T;(T=m.value)==null||T.click()},Rt=async T=>{var R;i.value=(R=T==null?void 0:T.target)==null?void 0:R.files[0];const U="."+i.value.name.split(".").pop(),j=i.value.size/1024;if(!(U===".png"||U===".jpg"||U===".jpeg")){m.value.value=null,K.error('<p class="toast-title">Error</p><p class="toast-description">El archivo debe ser de extensión jpg, png o jpeg</p>',{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0});return}if(j>2048){m.value.value=null,K.error('<p class="toast-title">Error</p><p class="toast-description">El archivo no puede ser mayor a 2MB</p>',{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0});return}o.value=!0,m.value.value=null},an=async()=>{var T;try{b.value=!0;const U=i.value,j="."+U.name.split(".").pop(),G=(await Iz(U)).split(",")[1],Se=await Mz({extension:j,base64:G});r.updateUserData({fotoRuta:(T=Se.response)==null?void 0:T.foto})}catch(U){cn({error:U.response,setErrors:Z})}finally{b.value=!1,i.value=void 0}},De=async T=>{var j,R;let U=!1;try{b.value=!0;const G=await Lz(T);Fo.value=((j=G==null?void 0:G.response)==null?void 0:j.data)??[]}catch(G){wr(G)||K.error(`<p class="toast-title">Error</p><p class="toast-description">${G.message}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0}),T=!T,U=!0}finally{return b.value=!1,Fo.value&&Fo.value.length===1&&T?(Th.value=Fo.value[0].medio.toString(),Ze(Fo.value[0].id),r.disable2FAStore(),U=!1,ct()):Th.value=(R=(Fo.value??[]).find(G=>G.default))==null?void 0:R.medio.toString(),{checked:T,returnBack:U}}},Ze=async T=>{try{b.value=!0;const U=await Fz(T);K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${U.message}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:jn,closeOnClick:!1,dangerouslyHTMLString:!0})}catch(U){wr(U)||K.error(`<p class="toast-title">Error</p><p class="toast-description">${U.message}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0})}finally{b.value=!1,ct()}},ct=()=>{Ya.value=0,_.value=!1,E.value=!1,x.value=!1,O.value=!1,B.value=null,S.value=null,A.value=null,k.value=null,v.value=null},te=()=>{if(Ya.value=1,c.value&&S.value){const T=c.value==="whatsapp"?h.value:c.value==="telegram"?p.value:g.value;T>0&&s.value?a.nextTick(()=>{var U;(U=s.value)==null||U.reInit(T)}):S.value&&s.value&&a.nextTick(()=>{var U;(U=s.value)==null||U.reInit(S.value)})}},ve=()=>{Ya.value=3},N=T=>{t.value=!!T,n.value="forzar",Ya.value=2},C=()=>Ya.value=4;return a.watch(Ya,(T,U)=>{U===2&&T!==U&&(t.value=!1,n.value="normal")}),{forzarCambio:t,user:(V=r==null?void 0:r.userState)==null?void 0:V.user,userState:r==null?void 0:r.userState,mode:n,values:X,mediosVerificados:F,currentContacto:l,currentStep:Ya,steps:D,errors:ae,refCounter:s,isLoading:b,openUpdateImageDialog:o,inputImageRef:m,openTelegram:u,openTelegramPage:f,onOpenInputFile:ge,onActualizarDatos:de,onEnviarMensaje:st,onEnviarCodigoAlBackend:he,onEnviarCodigoAlUsuario:_e,cambiarPass:N,goToActiveMediosStep:C,goProfileStep:ct,goEnable2FA:ve,mediosHabilitados2FA:Fo,mediosHabilitadoDefault:Th,onAssignMedio2FaOption:Ze,onVerifyMediosHabilitados2Fa:De,onCambiarPasswordPerfil:se,onCambiarImagenPerfil:Rt,onAcceptImageUpdateClick:an,tiempoRestanteWhatsapp:h,tiempoRestanteTelegram:p,tiempoRestanteEmail:g,tiempoRestanteSms:w,isLoadingWhatsapp:_,isLoadingTelegram:E,isLoadingEmail:x,isLoadingSms:O,mensajeServicio:B,tiempoVigencia:S,urlTelegram:A,message2Fa:y,message2FaContexto:k,url2FaContexto:v,currentMedio:c}}const Uz={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Zz=[a.createElementVNode("path",{d:"M149.1 64.8 138.7 96H64c-35.3 0-64 28.7-64 64v256c0 35.3 28.7 64 64 64h384c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64h-74.7l-10.4-31.2C356.4 45.2 338.1 32 317.4 32H194.6c-20.7 0-39 13.2-45.5 32.8zM256 192a96 96 0 1 1 0 192 96 96 0 1 1 0-192z"},null,-1)];function zz(e,t){return a.openBlock(),a.createElementBlock("svg",Uz,[...Zz])}const jz={render:zz},Hz=a.createElementVNode("button",{class:"auth-hide-btn"},null,-1),qz={class:"auth-title-container"},Wz=a.createElementVNode("p",null,"Actualización de imagen",-1),Gz={class:"dialog-body"},Kz={class:"icon"},Yz=a.createElementVNode("p",{class:"body-title"},"¿Está de acuerdo en actualizar su imagen?",-1),Jz={class:"dialog-footer"},Xz=a.defineComponent({__name:"UpdateImageDialog",props:{open:{type:Boolean,default:!1},openClick:{type:Function,required:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=a.computed({get:()=>n.open,set:i=>o("update:open",i)}),o=t;return(i,s)=>(a.openBlock(),a.createBlock(a.unref(As),{open:r.value,"onUpdate:open":s[2]||(s[2]=l=>r.value=l)},{default:a.withCtx(()=>[a.createVNode(a.unref(Sc),{"as-child":""},{default:a.withCtx(()=>[Hz]),_:1}),a.createVNode(a.unref(Os),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Is),{class:"modal-overlay"}),a.createVNode(a.unref(Bs),{class:"auth-modal-container",onInteractOutside:s[1]||(s[1]=l=>l.preventDefault()),"aria-describedby":"dialog-description"},{default:a.withCtx(()=>[a.createVNode(a.unref(Vs),{class:"auth-dialog-title"},{default:a.withCtx(()=>[a.createElementVNode("div",qz,[Wz,a.createVNode(a.unref(co),{class:"close-icon","aria-label":"Close"},{default:a.withCtx(()=>[a.createVNode(a.unref(dd))]),_:1})])]),_:1}),a.createElementVNode("div",Gz,[a.createElementVNode("div",Kz,[a.createVNode(xl,{mode:"gray"})]),Yz]),a.createElementVNode("div",Jz,[a.createVNode(a.unref(co),{class:"fge-gray-button w-full","aria-label":"Close"},{default:a.withCtx(()=>[a.createTextVNode(" Cancelar ")]),_:1}),a.createElementVNode("button",{class:"w-full fge-auth-primary-button",onClick:s[0]||(s[0]=a.withModifiers(()=>e.openClick(),["prevent"]))}," Aceptar ")])]),_:1})]),_:1})]),_:1},8,["open"]))}}),Qz=e=>(a.pushScopeId("data-v-f658d6bd"),e=e(),a.popScopeId(),e),Nz={class:"switch-container"},$z=Qz(()=>a.createElementVNode("label",{class:"fge-text-gray",for:"airplane-mode"}," Activar doble factor de autenticación ",-1)),ej=Ut(a.defineComponent({__name:"Fge2FActivator",props:{showBtnProfile:{type:Boolean,default:!1}},emits:["success","error","goBack"],setup(e,{emit:t}){const{onVerifyMediosHabilitados2Fa:n,user:r,goProfileStep:o}=Ah(),i=a.ref(!!(r!=null&&r.dobleAutenticacion)),s=et(),l=t,c=u=>{n(u).then(d=>{typeof(d==null?void 0:d.checked)=="boolean"&&(s.updateUserData({dobleAutenticacion:d.checked?1:0}),i.value=d.checked,d.returnBack?l("goBack"):d.checked?l("success"):l("error"))})};return(u,d)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createElementVNode("div",Nz,[$z,a.createVNode(a.unref(fS),{id:"airplane-mode",checked:i.value,"onUpdate:checked":[d[0]||(d[0]=f=>i.value=f),c],class:"SwitchRoot"},{default:a.withCtx(()=>[a.createVNode(a.unref(hS),{class:"SwitchThumb"})]),_:1},8,["checked"])]),i.value&&e.showBtnProfile?(a.openBlock(),a.createElementBlock("button",{key:0,class:"fge-gray-button w-full mt-3",onClick:d[1]||(d[1]=f=>a.unref(o)())}," ir al perfil ")):a.createCommentVNode("",!0)],64))}}),[["__scopeId","data-v-f658d6bd"]]),tj=a.createElementVNode("div",{class:"msg-container mrgt-20"},[a.createElementVNode("span",{class:"fge-text-gray fge-lines"},"Medios verificados para 2FA:")],-1),nj={class:"auth-radiogroup"},rj=["for"],aj=a.createElementVNode("div",{class:"fge-horizontal-line"},null,-1),oj={class:"auth-btn-container margin-top"},ij=[a.createElementVNode("span",null,"Cancelar",-1)],sj=[a.createElementVNode("span",null," Activar 2FA ",-1)],lj={__name:"Fge2FConfirm",emits:["cancel","confirm","forzarCambio"],setup(e,{emit:t}){const{mediosHabilitados2FA:n,mediosHabilitadoDefault:r,onAssignMedio2FaOption:o}=Ah(),i=a.ref(r.value),s=t,l=a.computed(()=>n.value??[]),c=d=>d===1?"WhatsApp":d===2?"Telegram":d===3?"Email":d===4?"ROMA":d===5?"SMS":`${d} No definido`,u=d=>{const f=l.value.find(h=>h.medio===Number(d));f&&o(f.id)};return a.onMounted(async()=>{await a.nextTick(),i.value=String(r.value)}),(d,f)=>(a.openBlock(),a.createElementBlock("div",null,[tj,a.createElementVNode("div",nj,[a.createVNode(a.unref(je.Field),{modelValue:i.value,"onUpdate:modelValue":f[0]||(f[0]=h=>i.value=h),name:"medio"},{default:a.withCtx(({field:h})=>[a.createVNode(a.unref(Ic),a.mergeProps(h,{"default-value":i.value,"model-value":h.value,class:"auth-radio-group-container","aria-label":"View density"}),{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(l.value,p=>(a.openBlock(),a.createElementBlock("div",{key:p.medio,class:"auth-radio-group-item"},[a.createVNode(a.unref(ci),{id:p.id,value:`${p.medio}`},{default:a.withCtx(()=>[a.createVNode(a.unref(Vc))]),_:2},1032,["id","value"]),a.createElementVNode("label",{class:"fge-text-gray",for:p.id},a.toDisplayString(c(p.medio)),9,rj)]))),128))]),_:2},1040,["default-value","model-value"])]),_:1},8,["modelValue"])]),aj,a.createElementVNode("div",oj,[a.createElementVNode("button",{title:"Cancelar",onClick:f[1]||(f[1]=h=>s("cancel")),class:"fge-gray-button w-full"},ij),a.createElementVNode("button",{title:"Aceptar",onClick:f[2]||(f[2]=h=>u(i.value)),class:"w-full fge-auth-primary-button"},sj)])]))}},cj={class:"fge-profile-container"},uj={class:"fge-profile-header"},dj=a.createElementVNode("div",{class:"msg-container"},[a.createElementVNode("span",{class:"fge-text-gray fge-lines-container"},"Datos de contacto")],-1),fj={class:"auth-form-container"},hj={class:"auth-input-container"},pj=a.createElementVNode("label",{for:"celular",class:"fge-form-label"},"Celular:",-1),mj={class:"auth-relative-container"},gj={class:"auth-input-container"},vj=a.createElementVNode("label",{for:"email",class:"fge-form-label"},"E-mail:",-1),yj={class:"auth-relative-container"},bj={class:"auth-input-container"},wj=a.createElementVNode("label",{for:"direccion",class:"fge-form-label"},"Dirección:",-1),_j=a.createElementVNode("br",null,null,-1),kj=a.createElementVNode("div",{class:"msg-container"},[a.createElementVNode("span",{class:"fge-text-gray fge-lines-container"},"Medio de notificación")],-1),Ej={class:"auth-radiogroup"},xj=["disabled"],Cj={key:0,class:"pi pi-spin pi-spinner",style:{"font-size":"1.2rem",color:"var(--fge-color-gray)"}},Sj={key:0,class:"fge-counter-text"},Tj={key:1,class:"auth-radio-group-item"},Aj={class:"radio-wrapper"},Oj=a.createElementVNode("label",{class:"fge-text-gray",for:"r2"}," Telegram ",-1),Bj=["disabled"],Ij={key:0,class:"pi pi-spin pi-spinner",style:{"font-size":"1.2rem",color:"var(--fge-color-gray)"}},Vj={key:0,class:"fge-counter-text"},Rj={key:3,class:"auth-radio-group-item"},Dj={class:"radio-wrapper"},Mj=a.createElementVNode("label",{class:"fge-text-gray",for:"r4"}," SMS ",-1),Pj=["disabled"],Lj={key:0,class:"pi pi-spin pi-spinner",style:{"font-size":"1.2rem",color:"var(--fge-color-gray)"}},Fj={key:0,class:"fge-counter-text"},Uj={key:5,class:"auth-radio-group-item"},Zj={class:"radio-wrapper"},zj=a.createElementVNode("label",{class:"fge-text-gray",for:"r3"}," Email ",-1),jj=a.createElementVNode("div",{class:"fge-horizontal-line"},null,-1),Hj={class:"auth-btn-container margin-top"},qj=[a.createElementVNode("span",null,"Cerrar",-1)],Wj=[a.createElementVNode("span",null," Aceptar ",-1)],Gj={class:"fge-profile-step2"},Kj={class:"auth-form-container"},Yj={class:"auth-input-container"},Jj=a.createElementVNode("label",{for:"old_ps",class:"fge-form-label"},"Contraseña actual:",-1),Xj={class:"auth-input-container"},Qj=a.createElementVNode("label",{for:"new-ps",class:"fge-form-label"},"Contraseña nueva:",-1),Nj={class:"auth-input-container"},$j=a.createElementVNode("label",{for:"rep_password",class:"fge-form-label"},"Repetir contraseña:",-1),eH={class:"auth-btn-container margin-top"},tH=[a.createElementVNode("span",null,"Cancelar",-1)],nH=[a.createElementVNode("span",null," Actualizar ",-1)],rH={class:"auth-form-container fge-profile-step5"},aH={class:"auth-input-container"},oH=a.createElementVNode("label",{for:"celular",class:"fge-form-label"},"Celular:",-1),iH={class:"auth-relative-container"},sH={key:0,class:"fge-counter-text-inline"},lH={key:0,class:"fge-counter-text-inline"},cH={class:"auth-input-container"},uH=a.createElementVNode("label",{for:"email",class:"fge-form-label"},"E-mail:",-1),dH={class:"auth-relative-container"},fH={key:0,class:"fge-counter-text-inline"},hH=a.createElementVNode("br",null,null,-1),pH=a.createElementVNode("br",null,null,-1),mH=a.defineComponent({__name:"FgePerfil",props:{onCloseBtn:{type:Function,required:!1}},setup(e,{expose:t}){const{userState:n,forzarCambio:r,mode:o,values:i,mediosVerificados:s,currentContacto:l,currentStep:c,steps:u,errors:d,refCounter:f,isLoading:h,inputImageRef:p,openUpdateImageDialog:g,openTelegram:w,openTelegramPage:y,onCambiarPasswordPerfil:k,onActualizarDatos:v,onEnviarMensaje:m,onEnviarCodigoAlBackend:b,onEnviarCodigoAlUsuario:_,onCambiarImagenPerfil:E,onOpenInputFile:x,cambiarPass:O,goToActiveMediosStep:B,goProfileStep:S,goEnable2FA:A,onAcceptImageUpdateClick:D,tiempoRestanteWhatsapp:q,tiempoRestanteTelegram:F,tiempoRestanteEmail:X,tiempoRestanteSms:fe,isLoadingWhatsapp:ae,isLoadingTelegram:Z,isLoadingEmail:z,isLoadingSms:ne,message2Fa:Y,message2FaContexto:de,url2FaContexto:he,currentMedio:_e}=Ah();return t({cambiarPass:O,goToActiveMediosStep:B}),(st,se)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.unref(h)?(a.openBlock(),a.createBlock(Dd,{key:0})):a.createCommentVNode("",!0),a.createElementVNode("div",cj,[a.createElementVNode("div",uj,[a.createVNode(Bz,{"cambiar-password":a.unref(c)===0?a.unref(O):void 0,showCameraBtn:a.unref(c)===0},{floatButton:a.withCtx(()=>[a.unref(c)===0&&a.unref(mz)(a.unref(pz))?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.createElementVNode("button",{onClick:se[0]||(se[0]=(...ge)=>a.unref(x)&&a.unref(x)(...ge)),class:"fge-auth-camera-file-button"},[a.createVNode(a.unref(jz))]),a.createElementVNode("input",{accept:".png,.jpg,.jpeg",type:"file",ref_key:"inputImageRef",ref:p,class:"input-hidden",onChange:se[1]||(se[1]=(...ge)=>a.unref(E)&&a.unref(E)(...ge))},null,544)],64)):a.createCommentVNode("",!0)]),_:1},8,["cambiar-password","showCameraBtn"])]),a.createVNode(J0,{currentStep:a.unref(c),steps:a.unref(u),showHeader:!1},{step1:a.withCtx(()=>[dj,a.createElementVNode("div",fj,[a.createElementVNode("div",hj,[pj,a.createElementVNode("div",mj,[a.createVNode(a.unref(je.Field),{name:"celular",id:"celular",class:a.normalizeClass(["fge-auth-input with-btns",{"fge-auth-input-invalid":a.unref(d).celular}]),type:"text"},null,8,["class"])]),a.createVNode(pt,{error:a.unref(d).celular},null,8,["error"])]),a.createElementVNode("div",gj,[vj,a.createElementVNode("div",yj,[a.createVNode(a.unref(je.Field),{name:"email",id:"email",class:a.normalizeClass(["fge-auth-input with-btn",{"fge-auth-input-invalid":a.unref(d).email}]),type:"text"},null,8,["class"])]),a.createVNode(pt,{error:a.unref(d).email},null,8,["error"])]),a.createElementVNode("div",bj,[wj,a.createVNode(a.unref(je.Field),{name:"direccion",id:"fge_dr",class:a.normalizeClass(["fge-auth-input",{"fge-auth-input-invalid":a.unref(d).direccion}]),type:"text"},null,8,["class"]),a.createVNode(pt,{error:a.unref(d).direccion},null,8,["error"])]),_j,kj,a.createElementVNode("div",Ej,[a.createVNode(a.unref(je.Field),{name:"medio"},{default:a.withCtx(({field:ge})=>[a.createVNode(a.unref(Ic),a.mergeProps(ge,{"model-value":ge.value,class:"auth-radio-group-container"}),{default:a.withCtx(()=>[a.unref(s).verificadoTelegram?(a.openBlock(),a.createElementBlock("div",Tj,[a.createElementVNode("div",Aj,[a.createVNode(a.unref(ci),{class:"radio",id:"r2",value:"telegram",disabled:!a.unref(s).verificadoTelegram},{default:a.withCtx(()=>[a.createVNode(a.unref(Vc))]),_:1},8,["disabled"])]),Oj])):(a.openBlock(),a.createBlock(a.unref(Ms),{key:0,"delay-duration":0},{default:a.withCtx(()=>[a.createVNode(a.unref(Ps),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Ls),{"as-child":""},{default:a.withCtx(()=>[a.createElementVNode("div",{onClick:se[2]||(se[2]=Rt=>!a.unref(Z)&&a.unref(_)({medio:"telegram",contacto:a.unref(i).celular})),class:"auth-radio-group-item fge-gray-button-option w-full",style:a.normalizeStyle({cursor:a.unref(Z)?"not-allowed":"pointer",opacity:a.unref(Z)?.6:1})},[a.createElementVNode("button",{class:"btn-whatsapp",style:a.normalizeStyle({cursor:a.unref(Z)?"not-allowed":"pointer"}),disabled:a.unref(Z)},[a.unref(Z)?(a.openBlock(),a.createElementBlock("i",Cj)):(a.openBlock(),a.createBlock(a.unref(Sl),{key:1,class:a.normalizeClass({"auth-svg-primary":a.unref(s).verificadoTelegram,"auth-svg-gray":!a.unref(s).verificadoTelegram})},null,8,["class"]))],12,xj),a.createElementVNode("label",{class:"fge-text-gray",for:"r2",style:a.normalizeStyle({cursor:a.unref(Z)?"not-allowed":"pointer",whiteSpace:"nowrap"})},[a.createTextVNode(" Telegram "),a.unref(F)>0?(a.openBlock(),a.createElementBlock("span",Sj," ("+a.toDisplayString(a.unref(F))+" seg.) ",1)):a.createCommentVNode("",!0)],4)],4)]),_:1}),a.createVNode(a.unref(Zs),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Fs),{class:"tooltip","side-offset":5},{default:a.withCtx(()=>[a.createTextVNode(" Verificar Telegram "),a.createVNode(a.unref(Us),{class:"arrow-svg",width:10})]),_:1})]),_:1})]),_:1})]),_:1})),a.unref(s).verificadoSms?(a.openBlock(),a.createElementBlock("div",Rj,[a.createElementVNode("div",Dj,[a.createVNode(a.unref(ci),{class:"radio",id:"r4",value:"sms",disabled:!a.unref(s).verificadoSms},{default:a.withCtx(()=>[a.createVNode(a.unref(Vc))]),_:1},8,["disabled"])]),Mj])):(a.openBlock(),a.createBlock(a.unref(Ms),{key:2,"delay-duration":0},{default:a.withCtx(()=>[a.createVNode(a.unref(Ps),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Ls),{"as-child":""},{default:a.withCtx(()=>[a.createElementVNode("div",{onClick:se[3]||(se[3]=Rt=>!a.unref(ne)&&a.unref(_)({medio:"sms",contacto:a.unref(i).celular})),class:"auth-radio-group-item fge-gray-button-option w-full",style:a.normalizeStyle({cursor:a.unref(ne)?"not-allowed":"pointer",opacity:a.unref(ne)?.6:1})},[a.createElementVNode("button",{class:"btn-whatsapp",style:a.normalizeStyle({cursor:a.unref(ne)?"not-allowed":"pointer"}),disabled:a.unref(ne)},[a.unref(ne)?(a.openBlock(),a.createElementBlock("i",Ij)):(a.openBlock(),a.createBlock(a.unref(fd),{key:1,class:a.normalizeClass({"auth-svg-primary":a.unref(s).verificadoSms,"auth-svg-gray":!a.unref(s).verificadoSms})},null,8,["class"]))],12,Bj),a.createElementVNode("label",{class:"fge-text-gray",for:"r4",style:a.normalizeStyle({cursor:a.unref(ne)?"not-allowed":"pointer",whiteSpace:"nowrap"})},[a.createTextVNode(" SMS "),a.unref(fe)>0?(a.openBlock(),a.createElementBlock("span",Vj," ("+a.toDisplayString(a.unref(fe))+" seg.) ",1)):a.createCommentVNode("",!0)],4)],4)]),_:1}),a.createVNode(a.unref(Zs),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Fs),{class:"tooltip","side-offset":5},{default:a.withCtx(()=>[a.createTextVNode(" Verificar SMS "),a.createVNode(a.unref(Us),{class:"arrow-svg",width:10})]),_:1})]),_:1})]),_:1})]),_:1})),a.unref(s).verificadoEmail?(a.openBlock(),a.createElementBlock("div",Uj,[a.createElementVNode("div",Zj,[a.createVNode(a.unref(ci),{class:"radio",id:"r3",value:"email",disabled:!a.unref(s).verificadoEmail},{default:a.withCtx(()=>[a.createVNode(a.unref(Vc))]),_:1},8,["disabled"])]),zj])):(a.openBlock(),a.createBlock(a.unref(Ms),{key:4,"delay-duration":0},{default:a.withCtx(()=>[a.createVNode(a.unref(Ps),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Ls),{"as-child":""},{default:a.withCtx(()=>[a.createElementVNode("div",{onClick:se[4]||(se[4]=Rt=>!a.unref(z)&&a.unref(_)({medio:"email",contacto:a.unref(i).email})),class:"auth-radio-group-item fge-gray-button-option w-full",style:a.normalizeStyle({cursor:a.unref(z)?"not-allowed":"pointer",opacity:a.unref(z)?.6:1})},[a.createElementVNode("button",{class:"btn-whatsapp",style:a.normalizeStyle({cursor:a.unref(z)?"not-allowed":"pointer"}),disabled:a.unref(z)},[a.unref(z)?(a.openBlock(),a.createElementBlock("i",Lj)):(a.openBlock(),a.createBlock(a.unref(Cl),{key:1,class:a.normalizeClass({"auth-svg-primary":a.unref(s).verificadoEmail,"auth-svg-gray":!a.unref(s).verificadoEmail})},null,8,["class"]))],12,Pj),a.createElementVNode("label",{class:"fge-text-gray",for:"r3",style:a.normalizeStyle({cursor:a.unref(z)?"not-allowed":"pointer",whiteSpace:"nowrap"})},[a.createTextVNode(" Email "),a.unref(X)>0?(a.openBlock(),a.createElementBlock("span",Fj," ("+a.toDisplayString(a.unref(X))+" seg.) ",1)):a.createCommentVNode("",!0)],4)],4)]),_:1}),a.createVNode(a.unref(Zs),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Fs),{class:"tooltip","side-offset":5},{default:a.withCtx(()=>[a.createTextVNode(" Verificar Email "),a.createVNode(a.unref(Us),{class:"arrow-svg",width:10})]),_:1})]),_:1})]),_:1})]),_:1}))]),_:2},1040,["model-value"])]),_:1})]),jj]),a.createElementVNode("div",Hj,[a.createElementVNode("button",{title:"Cerrar perfil",onClick:se[5]||(se[5]=()=>{var ge;return(ge=e.onCloseBtn)==null?void 0:ge.call(e)}),class:"fge-gray-button w-full"},qj),a.createElementVNode("button",{title:"Guardar cambios",onClick:se[6]||(se[6]=(...ge)=>a.unref(v)&&a.unref(v)(...ge)),class:"w-full fge-auth-primary-button"},Wj)])]),step2:a.withCtx(()=>[a.createElementVNode("div",Gj,[a.createVNode(ud,{fieldName:"codigo",refCounter:a.unref(f),"onUpdate:refCounter":se[7]||(se[7]=ge=>a.isRef(f)?f.value=ge:null),error:a.unref(d).codigo,currentContacto:a.unref(l),cancelarFunction:a.unref(n).forzarActivar2FA?a.unref(B):a.unref(S),aceptarFunction:a.unref(b),"reenviar-mensaje":a.unref(_e)==="telegram"?void 0:a.unref(m),message2Fa:a.unref(Y),message2FaContexto:a.unref(de),url2FaContexto:a.unref(he),isTelegram:a.unref(_e)==="telegram"},null,8,["refCounter","error","currentContacto","cancelarFunction","aceptarFunction","reenviar-mensaje","message2Fa","message2FaContexto","url2FaContexto","isTelegram"])])]),step3:a.withCtx(()=>[a.createElementVNode("div",Kj,[a.createElementVNode("div",Yj,[Jj,a.createVNode(a.unref(je.Field),{name:"oldPassword"},{default:a.withCtx(({field:ge})=>[a.createVNode(Ra,a.mergeProps({id:"oldPassword"},ge,{class:"fge-auth-input with-btn",modelValue:ge.value}),null,16,["modelValue"])]),_:1}),a.createVNode(pt,{error:a.unref(d).oldPassword},null,8,["error"])]),a.createElementVNode("div",Xj,[Qj,a.createVNode(a.unref(je.Field),{name:"newPassword"},{default:a.withCtx(({field:ge})=>[a.createVNode(Ra,a.mergeProps({id:"new-ps"},ge,{class:"fge-auth-input with-btn",modelValue:ge.value,"error-classes":"fge-auth-input-invalid"}),null,16,["modelValue"])]),_:1}),a.createVNode(pt,{error:a.unref(d).newPassword},null,8,["error"])]),a.createElementVNode("div",Nj,[$j,a.createVNode(a.unref(je.Field),{name:"repetirPassword"},{default:a.withCtx(({field:ge})=>[a.createVNode(Ra,a.mergeProps({id:"fge_contra_rep"},ge,{class:"fge-auth-input with-btn",modelValue:ge.value,"error-classes":"fge-auth-input-invalid"}),null,16,["modelValue"])]),_:1}),a.createVNode(pt,{error:a.unref(d).repetirPassword},null,8,["error"])])]),a.createElementVNode("div",eH,[a.unref(o)==="forzar"&&a.unref(r)?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("button",{key:0,title:"Cancelar",onClick:se[8]||(se[8]=(...ge)=>a.unref(S)&&a.unref(S)(...ge)),class:"fge-gray-button w-full"},tH)),a.createElementVNode("button",{title:"Aceptar",onClick:se[9]||(se[9]=(...ge)=>a.unref(k)&&a.unref(k)(...ge)),class:"w-full fge-auth-primary-button"},nH)])]),step4:a.withCtx(()=>[a.createVNode(lj,{onCancel:a.unref(S)},null,8,["onCancel"])]),step5:a.withCtx(()=>[a.createElementVNode("div",rH,[a.createElementVNode("div",aH,[oH,a.createElementVNode("div",iH,[a.createVNode(a.unref(je.Field),{name:"celular",id:"celular",class:a.normalizeClass(["fge-auth-input with-btns",{"fge-auth-input-invalid":a.unref(d).celular}]),type:"text"},null,8,["class"]),a.createVNode(a.unref(Ms),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Ps),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Ls),{title:a.unref(s).verificadoTelegram?"Verificado":"Verificar telegram",class:"btn-only-icon absolute",onClick:se[10]||(se[10]=ge=>a.unref(_)({medio:"telegram",contacto:a.unref(i).celular}))},{default:a.withCtx(()=>[a.createVNode(a.unref(Sl),{class:a.normalizeClass({"auth-svg-primary":a.unref(s).verificadoTelegram,"auth-svg-gray":!a.unref(s).verificadoTelegram})},null,8,["class"])]),_:1},8,["title"]),a.createVNode(a.unref(Zs),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Fs),{class:"tooltip","side-offset":5},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(s).verificadoTelegram?"Verificado":"Verificar")+" ",1),a.createVNode(a.unref(Us),{class:"arrow-svg",width:10})]),_:1})]),_:1})]),_:1})]),_:1})]),a.createVNode(pt,{error:a.unref(d).celular},null,8,["error"]),a.unref(s).verificadoTelegram?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("button",{key:0,class:"fge-auth-primary-button w-full mt-3",onClick:se[11]||(se[11]=ge=>a.unref(_)({medio:"telegram",contacto:a.unref(i).celular}))},[a.createTextVNode(" validar Telegram "),a.unref(F)>0?(a.openBlock(),a.createElementBlock("span",sH," ("+a.toDisplayString(a.unref(F))+" seg.) ",1)):a.createCommentVNode("",!0)])),a.unref(s).verificadoSms?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("button",{key:1,class:"fge-auth-primary-button w-full mt-3",onClick:se[12]||(se[12]=ge=>a.unref(_)({medio:"sms",contacto:a.unref(i).celular}))},[a.createTextVNode(" validar SMS "),a.unref(fe)>0?(a.openBlock(),a.createElementBlock("span",lH," ("+a.toDisplayString(a.unref(fe))+" seg.) ",1)):a.createCommentVNode("",!0)]))]),a.createElementVNode("div",cH,[uH,a.createElementVNode("div",dH,[a.createVNode(a.unref(je.Field),{name:"email",id:"email",class:a.normalizeClass(["fge-auth-input with-btn",{"fge-auth-input-invalid":a.unref(d).email}]),type:"text"},null,8,["class"]),a.createVNode(a.unref(Ms),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Ps),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Ls),{title:a.unref(s).verificadoEmail?"Verificado":"Verificar",class:"btn-only-icon absolute",onClick:se[13]||(se[13]=ge=>a.unref(_)({medio:"email",contacto:a.unref(i).email}))},{default:a.withCtx(()=>[a.createVNode(a.unref(Cl),{class:a.normalizeClass({"auth-svg-primary":a.unref(s).verificadoEmail,"auth-svg-gray":!a.unref(s).verificadoEmail})},null,8,["class"])]),_:1},8,["title"]),a.createVNode(a.unref(Zs),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Fs),{class:"tooltip","side-offset":5},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(s).verificadoEmail?"Verificado":"Verificar")+" ",1),a.createVNode(a.unref(Us),{class:"arrow-svg",width:10})]),_:1})]),_:1})]),_:1})]),_:1})]),a.createVNode(pt,{error:a.unref(d).email},null,8,["error"]),a.unref(s).verificadoEmail?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("button",{key:0,class:"fge-auth-primary-button w-full mt-3",onClick:se[14]||(se[14]=ge=>a.unref(_)({medio:"email",contacto:a.unref(i).email}))},[a.createTextVNode(" validar correo electrónico "),a.unref(X)>0?(a.openBlock(),a.createElementBlock("span",fH," ("+a.toDisplayString(a.unref(X))+" seg.) ",1)):a.createCommentVNode("",!0)]))]),hH,pH,a.createVNode(ej,{onSuccess:a.unref(A),showBtnProfile:"",onError:a.unref(B)},null,8,["onSuccess","onError"])])]),_:1},8,["currentStep","steps"])]),a.createVNode(Xz,{open:a.unref(g),"onUpdate:open":se[15]||(se[15]=ge=>a.isRef(g)?g.value=ge:null),openClick:a.unref(D)},null,8,["open","openClick"]),a.createVNode(h9,{open:a.unref(w),"onUpdate:open":se[16]||(se[16]=ge=>a.isRef(w)?w.value=ge:null),openClick:a.unref(y)},null,8,["open","openClick"])],64))}}),gH={class:"sidebar"},Oh=a.defineComponent({__name:"Sidebar",props:{isOpen:{type:Boolean,default:!1},dismissable:{type:Boolean,default:!0},noPadding:{type:Boolean,default:!1}},emits:["update:isOpen"],setup(e,{emit:t}){const n=e,r=t,o=()=>{n.dismissable&&r("update:isOpen",!1)};return(i,s)=>(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[a.createElementVNode("div",gH,[n.isOpen?(a.openBlock(),a.createElementBlock("div",{key:0,class:"auth-sidebar-backdrop",onClick:o})):a.createCommentVNode("",!0),a.createVNode(a.Transition,{name:"slide",mode:"out-in"},{default:a.withCtx(()=>[e.isOpen?(a.openBlock(),a.createElementBlock("div",{key:0,class:"sidebar-panel",style:a.normalizeStyle(n.noPadding?{padding:"0"}:void 0)},[a.renderSlot(i.$slots,"default")],4)):a.createCommentVNode("",!0)]),_:3})])]))}}),Bh=a.defineComponent({__name:"FgePerfilSidebar",setup(e,{expose:t}){const n=a.ref(),{displayModal:r,openDialog:o,closeDialog:i}=hz();return t({openDialog:o,closeDialog:i,goToChangePassword:c=>{o(),a.nextTick(()=>{var u;(u=n.value)==null||u.cambiarPass(c)})},goToActiveMedio:()=>{o(),a.nextTick(()=>{var c;(c=n.value)==null||c.goToActiveMediosStep()})}}),(c,u)=>(a.openBlock(),a.createBlock(Oh,{dismissable:!1,isOpen:a.unref(r),"onUpdate:isOpen":u[0]||(u[0]=d=>a.isRef(r)?r.value=d:null)},{default:a.withCtx(()=>[a.createVNode(mH,{onCloseBtn:a.unref(i),ref_key:"perfilRef",ref:n},null,8,["onCloseBtn"])]),_:1},8,["isOpen"]))}}),vH=async()=>ke.get("/v1/sesion/dispositivos").then(e=>{const t=(e==null?void 0:e.data)??e;return Array.isArray(t)?t:Array.isArray(t==null?void 0:t.response)?t.response:[]}).catch(e=>(console.error("Error fetching dispositivos:",e),[])),yH=async e=>ke.patch("/v1/sesion/dispositivos/eliminar",e).then(t=>t).catch(t=>{var n;throw(n=t.response)!=null&&n.data?t.response.data:t}),bH=async e=>ke.patch("/v1/sesion/dispositivos/eliminar-menos-actual",e).then(t=>t).catch(t=>{var n;throw(n=t.response)!=null&&n.data?t.response.data:t}),wH=async e=>ke.patch("/v1/sesion/dispositivos/eliminar-todos",e).then(t=>t).catch(t=>{var n;throw(n=t.response)!=null&&n.data?t.response.data:t});function _H(){const e=a.ref([]),t=a.ref(!1),n=a.ref(null),r=async()=>{t.value=!0,n.value=null;try{const i=await vH();console.debug("getDispositivos response:",i),e.value=Array.isArray(i)?i:[]}catch(i){n.value=i}finally{t.value=!1}},o=async()=>{await r()};return a.onMounted(()=>{r()}),{dispositivos:e,isLoading:t,error:n,refresh:o}}const kH={key:0,class:"fge-confirm-overlay",role:"dialog","aria-modal":"true"},EH={class:"fge-confirm-box"},xH={class:"fge-confirm-title"},CH={class:"fge-confirm-message"},SH={class:"fge-confirm-actions"},w9=Ut(a.defineComponent({__name:"ConfirmationDialog",props:{open:{type:Boolean,default:!1},title:{type:String,default:"Confirmar"},message:{type:String,default:"¿Desea continuar?"},confirmLabel:{type:String,default:"Confirmar"},cancelLabel:{type:String,default:"Cancelar"}},emits:["update:open","confirm","cancel"],setup(e,{emit:t}){const n=t;function r(){n("update:open",!1)}function o(){n("confirm"),r()}function i(){n("cancel"),r()}return(s,l)=>e.open?(a.openBlock(),a.createElementBlock("div",kH,[a.createElementVNode("div",EH,[a.createElementVNode("h3",xH,a.toDisplayString(e.title),1),a.createElementVNode("p",CH,a.toDisplayString(e.message),1),a.createElementVNode("div",SH,[a.createElementVNode("button",{class:"fge-gray-button",onClick:i},a.toDisplayString(e.cancelLabel),1),a.createElementVNode("button",{class:"fge-delete-button",onClick:o},a.toDisplayString(e.confirmLabel),1)])])])):a.createCommentVNode("",!0)}}),[["__scopeId","data-v-1f89df6f"]]),es=e=>(a.pushScopeId("data-v-14152d5e"),e=e(),a.popScopeId(),e),TH={class:"sidebar-header"},AH=es(()=>a.createElementVNode("h3",null,"Dispositivos de confianza",-1)),OH={class:"header-buttons"},BH=[es(()=>a.createElementVNode("i",{class:"pi pi-refresh"},null,-1))],IH={key:1,class:"error"},VH={class:"sidebar-body"},RH={key:0,class:"devices-list"},DH={class:"card-body"},MH={class:"card-left"},PH={class:"icon-circle"},LH={class:"card-content"},FH={class:"card-header"},UH={class:"device-title"},ZH={class:"device-id"},zH={class:"card-row"},jH=es(()=>a.createElementVNode("i",{class:"pi pi-calendar"},null,-1)),HH={class:"card-text"},qH={class:"muted-title"},WH={class:"muted-value"},GH={class:"card-row"},KH=es(()=>a.createElementVNode("i",{class:"pi pi-calendar"},null,-1)),YH={class:"card-text"},JH={class:"muted-title"},XH={class:"muted-value"},QH=["onClick"],NH=[es(()=>a.createElementVNode("i",{class:"pi pi-sign-out"},null,-1))],$H={key:1,class:"no-devices"},eq=[es(()=>a.createElementVNode("div",null,"No hay dispositivos de confianza registrados.",-1))],tq={key:2,class:"sidebar-footer"},nq=Ut(a.defineComponent({__name:"FgeDispositivos",setup(e,{expose:t}){const n=a.ref(!1),{dispositivos:r,isLoading:o,error:i,refresh:s}=_H(),l=et(),c=()=>{var b;return((b=l.userState.user)==null?void 0:b.id)??0},u=a.ref(!1),d=a.ref("Confirmar"),f=a.ref("¿Desea continuar?"),h=a.ref(null);async function p(){if(h.value)try{await h.value()}catch{}finally{h.value=null}}function g(b){d.value="Eliminar dispositivo",f.value="¿Está seguro que desea eliminar este dispositivo?",h.value=async()=>{try{const _=await yH({usuarioId:c(),dispositivoConfiableId:b.id});_!=null&&_.error?K.error(`<p class="toast-title">Error</p><p class="toast-description">${(_==null?void 0:_.message)||"Error al eliminar dispositivo"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0}):(K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${(_==null?void 0:_.message)||"Dispositivo eliminado"}</p>`,{autoClose:3e3,hideProgressBar:!0,icon:Wa,closeOnClick:!1,dangerouslyHTMLString:!0}),s())}catch(_){if(wr(_))return;console.error(_),K.error(`<p class="toast-title">Error</p><p class="toast-description">${(_==null?void 0:_.message)||"Error al eliminar dispositivo"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0})}},u.value=!0}function w(){d.value="Eliminar dispositivos",f.value="¿Está seguro que desea eliminar todos los dispositivos menos el actual?",h.value=async()=>{try{const b=await bH({usuarioId:c()});b!=null&&b.error?K.error(`<p class="toast-title">Error</p><p class="toast-description">${(b==null?void 0:b.message)||"Error al eliminar dispositivos"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0}):(K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${(b==null?void 0:b.message)||"Operación exitosa"}</p>`,{autoClose:3e3,hideProgressBar:!0,icon:Wa,closeOnClick:!1,dangerouslyHTMLString:!0}),s())}catch(b){if(wr(b))return;console.error(b),K.error(`<p class="toast-title">Error</p><p class="toast-description">${(b==null?void 0:b.message)||"Error al eliminar dispositivos"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0})}},u.value=!0}function y(){d.value="Eliminar dispositivos",f.value="¿Está seguro que desea eliminar todos los dispositivos?",h.value=async()=>{try{const b=await wH({usuarioId:c()});b!=null&&b.error?K.error(`<p class="toast-title">Error</p><p class="toast-description">${(b==null?void 0:b.message)||"Error al eliminar dispositivos"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0}):(K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${(b==null?void 0:b.message)||"Operación exitosa"}</p>`,{autoClose:3e3,hideProgressBar:!0,icon:Wa,closeOnClick:!1,dangerouslyHTMLString:!0}),s())}catch(b){if(wr(b))return;console.error(b),K.error(`<p class="toast-title">Error</p><p class="toast-description">${(b==null?void 0:b.message)||"Error al eliminar dispositivos"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0})}},u.value=!0}const k=a.computed(()=>r.value.map(b=>{const _=(E,x)=>{if(!E)return"";try{return typeof E=="string"?we.fromISO(E).toLocaleString(x):E instanceof Date?we.fromJSDate(E).toLocaleString(x):we.fromISO(String(E)).toLocaleString(x)}catch{return String(E)}};return{...b,fechaUltimaAutenticacion:_(b.fechaUltimaAutenticacion,we.DATETIME_MED),fechaExpiracion:_(b.fechaExpiracion,we.DATETIME_MED)}}));function v(){n.value=!0,s()}function m(){n.value=!1}return t({openDialog:v,closeDialog:m}),(b,_)=>(a.openBlock(),a.createBlock(Oh,{isOpen:n.value,"onUpdate:isOpen":_[2]||(_[2]=E=>n.value=E),dismissable:!1,noPadding:!0},{default:a.withCtx(()=>[a.unref(o)?(a.openBlock(),a.createBlock(Dd,{key:0})):a.createCommentVNode("",!0),a.createElementVNode("div",TH,[AH,a.createElementVNode("div",OH,[a.createElementVNode("button",{class:"close-btn",onClick:_[0]||(_[0]=(...E)=>a.unref(s)&&a.unref(s)(...E))},BH),a.createElementVNode("button",{class:"close-btn",onClick:m},"✕")])]),a.unref(i)?(a.openBlock(),a.createElementBlock("div",IH,"Error al cargar dispositivos")):a.createCommentVNode("",!0),a.createVNode(w9,{open:u.value,"onUpdate:open":_[1]||(_[1]=E=>u.value=E),title:d.value,message:f.value,confirmLabel:"Sí",cancelLabel:"No",onConfirm:p},null,8,["open","title","message"]),a.createElementVNode("div",VH,[!a.unref(o)&&k.value.length?(a.openBlock(),a.createElementBlock("ul",RH,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(k.value,E=>(a.openBlock(),a.createElementBlock("li",{key:E.id,class:"device-card"},[a.createElementVNode("div",DH,[a.createElementVNode("div",MH,[a.createElementVNode("div",PH,[a.createElementVNode("i",{class:a.normalizeClass(["pi",E.esMovil?"pi-mobile":"pi-desktop","icon"])},null,2)])]),a.createElementVNode("div",LH,[a.createElementVNode("div",FH,[a.createElementVNode("div",UH,a.toDisplayString(E.nombreDispositivo||"Dispositivo sin nombre"),1),a.createElementVNode("div",ZH,a.toDisplayString(E.identificadorDispositivo),1)]),a.createElementVNode("div",zH,[jH,a.createElementVNode("div",HH,[a.createElementVNode("span",qH,[a.createTextVNode("Última autenticación: "),a.createElementVNode("span",WH,a.toDisplayString(E.fechaUltimaAutenticacion),1)])])]),a.createElementVNode("div",GH,[KH,a.createElementVNode("div",YH,[a.createElementVNode("span",JH,[a.createTextVNode("Fecha expiración: "),a.createElementVNode("span",XH,a.toDisplayString(E.fechaExpiracion),1)])])])])]),a.createElementVNode("button",{class:"action-btn",title:"Cerrar sesión en este dispositivo",onClick:x=>g(E)},NH,8,QH)]))),128))])):a.createCommentVNode("",!0),!a.unref(o)&&!k.value.length?(a.openBlock(),a.createElementBlock("div",$H,eq)):a.createCommentVNode("",!0)]),!a.unref(o)&&k.value.length?(a.openBlock(),a.createElementBlock("div",tq,[a.createElementVNode("button",{class:"fge-delete2-button",onClick:w}," Eliminar todos menos el actual "),a.createElementVNode("button",{class:"fge-delete-button",onClick:y}," Eliminar todos los dispositivos ")])):a.createCommentVNode("",!0)]),_:1},8,["isOpen"]))}}),[["__scopeId","data-v-14152d5e"]]),rq=async e=>ke.patch("/v1/sesion/listar-activas",e).then(t=>{const n=(t==null?void 0:t.data)??t;return Array.isArray(n)?n:Array.isArray(n==null?void 0:n.response.data)?n.response.data:[]}).catch(t=>(console.error("Error fetching dispositivos:",t),[])),aq=async e=>ke.patch("/v1/sesion/finalizar",e).then(t=>t).catch(t=>{var n;throw(n=t.response)!=null&&n.data?t.response.data:t}),oq=async e=>ke.patch("/v1/sesion/finalizar-menos-actual",e).then(t=>t).catch(t=>{var n;throw(n=t.response)!=null&&n.data?t.response.data:t}),iq=async e=>ke.patch("/v1/sesion/finalizar-todas",e).then(t=>t).catch(t=>{var n;throw(n=t.response)!=null&&n.data?t.response.data:t});function sq(){const e=a.ref([]),t=a.ref(!1),n=a.ref(null),r=et(),o=async()=>{var s;t.value=!0,n.value=null;try{const l=((s=r.userState.user)==null?void 0:s.id)??0,c=await rq({usuarioId:l});console.debug("getSesiones response:",c),e.value=Array.isArray(c)?c:[]}catch(l){n.value=l}finally{t.value=!1}},i=async()=>{await o()};return a.onMounted(()=>{o()}),{sesiones:e,isLoading:t,error:n,refresh:i}}const Uo=e=>(a.pushScopeId("data-v-8fe494d1"),e=e(),a.popScopeId(),e),lq={class:"sidebar-header"},cq=Uo(()=>a.createElementVNode("h3",null,"Sesiones activas",-1)),uq={class:"header-buttons"},dq=[Uo(()=>a.createElementVNode("i",{class:"pi pi-refresh"},null,-1))],fq={class:"sidebar-body"},hq={key:0,class:"devices-list"},pq={class:"card-body"},mq={class:"card-left"},gq={class:"icon-circle"},vq={class:"card-content"},yq={class:"card-header"},bq={class:"device-title-row"},wq={class:"device-title"},_q={class:"badges"},kq={key:0,class:"badge badge-actual"},Eq={key:1,class:"badge badge-cd"},xq={class:"device-id"},Cq={class:"card-row"},Sq=Uo(()=>a.createElementVNode("i",{class:"pi pi-desktop"},null,-1)),Tq={class:"card-text"},Aq={class:"muted-title"},Oq={class:"muted-value"},Bq={class:"card-row"},Iq=Uo(()=>a.createElementVNode("i",{class:"pi pi-calendar"},null,-1)),Vq={class:"card-text"},Rq={class:"muted-title"},Dq={class:"muted-value"},Mq={class:"card-row"},Pq=Uo(()=>a.createElementVNode("i",{class:"pi pi-calendar"},null,-1)),Lq={class:"card-text"},Fq={class:"muted-title"},Uq={class:"muted-value"},Zq=["onClick"],zq=[Uo(()=>a.createElementVNode("i",{class:"pi pi-sign-out"},null,-1))],jq={key:1,class:"no-devices"},Hq=[Uo(()=>a.createElementVNode("div",null,"No hay sesiones activas.",-1))],qq={key:1,class:"sidebar-footer"},Wq=Ut(a.defineComponent({__name:"FgeSesiones",setup(e,{expose:t}){const n=a.ref(!1),{sesiones:r,isLoading:o,error:i,refresh:s}=sq(),l=et(),c=()=>{var b;return((b=l.userState.user)==null?void 0:b.id)??0},u=a.ref(!1),d=a.ref("Confirmar"),f=a.ref("¿Desea continuar?"),h=a.ref(null);async function p(){if(h.value)try{await h.value()}catch{}finally{h.value=null}}function g(b){d.value="Finalizar sesión",f.value="¿Desea cerrar esta sesión remota?",h.value=async()=>{try{const _=await aq({usuarioId:c(),sesionId:b.id});_!=null&&_.error?K.error(`<p class="toast-title">Error</p><p class="toast-description">${(_==null?void 0:_.message)||"Error al finalizar sesión"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0}):(K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${(_==null?void 0:_.message)||"Sesión finalizada"}</p>`,{autoClose:3e3,hideProgressBar:!0,icon:Wa,closeOnClick:!1,dangerouslyHTMLString:!0}),s())}catch(_){if(wr(_))return;console.error(_),K.error(`<p class="toast-title">Error</p><p class="toast-description">${(_==null?void 0:_.message)||"Error al finalizar sesión"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0})}},u.value=!0}function w(){d.value="Finalizar sesiones",f.value="¿Desea finalizar todas las sesiones menos la actual?",h.value=async()=>{try{const b=await oq({usuarioId:c()});b!=null&&b.error?K.error(`<p class="toast-title">Error</p><p class="toast-description">${(b==null?void 0:b.message)||"Error al finalizar sesiones"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0}):(K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${(b==null?void 0:b.message)||"Operación exitosa"}</p>`,{autoClose:3e3,hideProgressBar:!0,icon:Wa,closeOnClick:!1,dangerouslyHTMLString:!0}),s())}catch(b){if(wr(b))return;console.error(b),K.error(`<p class="toast-title">Error</p><p class="toast-description">${(b==null?void 0:b.message)||"Error al finalizar sesiones"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0})}},u.value=!0}function y(){d.value="Finalizar sesiones",f.value="¿Desea finalizar todas las sesiones?",h.value=async()=>{try{const b=await iq({usuarioId:c()});b!=null&&b.error?K.error(`<p class="toast-title">Error</p><p class="toast-description">${(b==null?void 0:b.message)||"Error al finalizar sesiones"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0}):(K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${(b==null?void 0:b.message)||"Operación exitosa"}</p>`,{autoClose:3e3,hideProgressBar:!0,icon:Wa,closeOnClick:!1,dangerouslyHTMLString:!0}),s())}catch(b){if(wr(b))return;console.error(b),K.error(`<p class="toast-title">Error</p><p class="toast-description">${(b==null?void 0:b.message)||"Error al finalizar sesiones"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0})}},u.value=!0}const k=a.computed(()=>r.value.map(b=>{const _=E=>{if(!E)return"";try{return typeof E=="string"?we.fromISO(E).toLocaleString(we.DATETIME_MED):E instanceof Date?we.fromJSDate(E).toLocaleString(we.DATETIME_MED):we.fromISO(String(E)).toLocaleString(we.DATETIME_MED)}catch{return String(E)}};return{...b,createdAtFmt:_(b.createdAt),caducidadFmt:_(b.caducidad)}}));function v(){n.value=!0,s()}function m(){n.value=!1}return t({openDialog:v,closeDialog:m}),(b,_)=>(a.openBlock(),a.createBlock(Oh,{isOpen:n.value,"onUpdate:isOpen":_[2]||(_[2]=E=>n.value=E),dismissable:!1,noPadding:!0},{default:a.withCtx(()=>[a.unref(o)?(a.openBlock(),a.createBlock(Dd,{key:0})):a.createCommentVNode("",!0),a.createElementVNode("div",lq,[cq,a.createElementVNode("div",uq,[a.createElementVNode("button",{class:"close-btn",onClick:_[0]||(_[0]=(...E)=>a.unref(s)&&a.unref(s)(...E))},dq),a.createElementVNode("button",{class:"close-btn",onClick:m},"✕")])]),a.createVNode(w9,{open:u.value,"onUpdate:open":_[1]||(_[1]=E=>u.value=E),title:d.value,message:f.value,confirmLabel:"Sí",cancelLabel:"No",onConfirm:p},null,8,["open","title","message"]),a.createElementVNode("div",fq,[!a.unref(o)&&k.value.length?(a.openBlock(),a.createElementBlock("ul",hq,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(k.value,E=>(a.openBlock(),a.createElementBlock("li",{key:E.id,class:"device-card"},[a.createElementVNode("div",pq,[a.createElementVNode("div",mq,[a.createElementVNode("div",gq,[a.createElementVNode("i",{class:a.normalizeClass(["pi",E.esMovil?"pi-mobile":"pi-desktop","icon"])},null,2)])]),a.createElementVNode("div",vq,[a.createElementVNode("div",yq,[a.createElementVNode("div",bq,[a.createElementVNode("div",wq,a.toDisplayString(E.dispositivo||E.navegador||E.aplicacion),1),a.createElementVNode("div",_q,[E.actual?(a.openBlock(),a.createElementBlock("span",kq,"Actual")):a.createCommentVNode("",!0),E.ciudadania==1?(a.openBlock(),a.createElementBlock("span",Eq,"CD")):a.createCommentVNode("",!0)])]),a.createElementVNode("div",xq,a.toDisplayString(E.navegador)+" · "+a.toDisplayString(E.so),1)]),a.createElementVNode("div",Cq,[Sq,a.createElementVNode("div",Tq,[a.createElementVNode("span",Aq,[a.createTextVNode("Sistema: "),a.createElementVNode("span",Oq,a.toDisplayString(E.aplicacion),1)])])]),a.createElementVNode("div",Bq,[Iq,a.createElementVNode("div",Vq,[a.createElementVNode("span",Rq,[a.createTextVNode("Iniciado el: "),a.createElementVNode("span",Dq,a.toDisplayString(E.createdAtFmt),1)])])]),a.createElementVNode("div",Mq,[Pq,a.createElementVNode("div",Lq,[a.createElementVNode("span",Fq,[a.createTextVNode("Caduca: "),a.createElementVNode("span",Uq,a.toDisplayString(E.caducidadFmt),1)])])])])]),a.createElementVNode("button",{class:"action-btn",title:"Finalizar sesión",onClick:x=>g(E)},zq,8,Zq)]))),128))])):a.createCommentVNode("",!0),!a.unref(o)&&!k.value.length?(a.openBlock(),a.createElementBlock("div",jq,Hq)):a.createCommentVNode("",!0)]),!a.unref(o)&&k.value.length?(a.openBlock(),a.createElementBlock("div",qq,[a.createElementVNode("button",{class:"fge-delete2-button",onClick:w}," Finalizar todas menos el actual "),a.createElementVNode("button",{class:"fge-delete-button",onClick:y}," Finalizar todas las sesiones ")])):a.createCommentVNode("",!0)]),_:1},8,["isOpen"]))}}),[["__scopeId","data-v-8fe494d1"]]),Gq={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},Kq=[a.createElementVNode("path",{d:"M223.5 32C100 32 0 132.3 0 256s100 224 223.5 224c60.6 0 115.5-24.2 155.8-63.4 5-4.9 6.3-12.5 3.1-18.7s-10.1-9.7-17-8.5c-9.8 1.7-19.8 2.6-30.1 2.6-96.9 0-175.5-78.8-175.5-176 0-65.8 36-123.1 89.3-153.3 6.1-3.5 9.2-10.5 7.7-17.3s-7.3-11.9-14.3-12.5c-6.3-.5-12.6-.8-19-.8z"},null,-1)];function Yq(e,t){return a.openBlock(),a.createElementBlock("svg",Gq,[...Kq])}const Jq={render:Yq},Pd=e=>(a.pushScopeId("data-v-6cedda83"),e=e(),a.popScopeId(),e),Xq=Pd(()=>a.createElementVNode("button",{class:"auth-hide-btn"},null,-1)),Qq={class:"auth-title-container"},Nq=Pd(()=>a.createElementVNode("p",null,"Aviso de Seguridad",-1)),$q={class:"dialog-body"},eW={class:"icon"},tW={class:"body-title"},nW={class:"auth-modal-body-msg auth-msg-capitalize"},rW=Pd(()=>a.createElementVNode("p",{class:"auth-modal-body-msg"}," Te recordamos que es momento de renovar tu contraseña en el Ecosistema JL. Actualizarla cada 4 meses es una práctica recomendada para mantener tu información a salvo. ",-1)),aW=Pd(()=>a.createElementVNode("p",{class:"auth-modal-body-msg"},"¡Gracias por tu colaboración!",-1)),oW={class:"dialog-footer"},iW=Ut(a.defineComponent({__name:"PasswordDialog",props:{open:{type:Boolean,default:!1},openClick:{type:Function,required:!0},forzarCambioPassword:{type:Boolean,required:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=a.computed({get:()=>n.open,set:s=>i("update:open",s)}),o=et(),i=t;return(s,l)=>(a.openBlock(),a.createBlock(a.unref(As),{open:r.value,"onUpdate:open":l[2]||(l[2]=c=>r.value=c)},{default:a.withCtx(()=>[a.createVNode(a.unref(Sc),{"as-child":""},{default:a.withCtx(()=>[Xq]),_:1}),a.createVNode(a.unref(Os),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Is),{class:"modal-overlay"}),a.createVNode(a.unref(Bs),{class:"auth-modal-container",onInteractOutside:l[1]||(l[1]=c=>c.preventDefault()),"aria-describedby":"dialog-description"},{default:a.withCtx(()=>{var c,u,d,f;return[a.createVNode(a.unref(Vs),{class:"auth-dialog-title"},{default:a.withCtx(()=>[a.createElementVNode("div",Qq,[Nq,n.forzarCambioPassword?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(a.unref(co),{key:0,class:"close-icon","aria-label":"Close"},{default:a.withCtx(()=>[a.createVNode(a.unref(dd))]),_:1}))])]),_:1}),a.createElementVNode("div",$q,[a.createElementVNode("div",eW,[a.createVNode(xl,{mode:"gray"})]),a.createElementVNode("p",tW,a.toDisplayString(e.forzarCambioPassword?"Renueva tu Contraseña":"¿Desea cambiar la contraseña?"),1),a.createElementVNode("p",nW," Hola "+a.toDisplayString((u=(c=a.unref(o).userState)==null?void 0:c.user)!=null&&u.nombreCompleto?`${(f=(d=a.unref(o).userState)==null?void 0:d.user)==null?void 0:f.nombreCompleto.toLowerCase()}`:"Usuario")+", ",1),rW,aW]),a.createElementVNode("div",oW,[n.forzarCambioPassword?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(a.unref(co),{key:0,class:"fge-gray-button w-full","aria-label":"Close"},{default:a.withCtx(()=>[a.createTextVNode(" Más tarde ")]),_:1})),a.createElementVNode("button",{class:"w-full fge-auth-primary-button",onClick:l[0]||(l[0]=a.withModifiers(()=>e.openClick(),["prevent"]))}," Cambiar contraseña ")])]}),_:1})]),_:1})]),_:1},8,["open"]))}}),[["__scopeId","data-v-6cedda83"]]),sW=a.createElementVNode("button",{class:"auth-hide-btn"},null,-1),lW=a.createElementVNode("div",{class:"auth-title-container"},[a.createElementVNode("p",null,"SEGURIDAD DE AUTENTICACIÓN")],-1),cW={class:"dialog-body"},uW={class:"icon"},dW=a.createElementVNode("p",{class:"body-title"},"ACTIVACION DE DOBLE FACTOR DE AUTENTICACIÓN",-1),fW=a.createElementVNode("p",null," Esta aplicación requiere la activación de doble factor de autenticación, por tanto debe contar con uno de los siguientes requisitos: ",-1),hW=a.createElementVNode("br",null,null,-1),pW=a.createElementVNode("div",{style:{"margin-left":"50px"}},[a.createElementVNode("ul",null,[a.createElementVNode("li",null,[a.createTextVNode(" Tener cuenta de "),a.createElementVNode("b",null,[a.createElementVNode("a",{href:"https://play.google.com/store/apps/details?id=org.telegram.messenger",target:"_blank"}," Telegram ")])]),a.createElementVNode("li",null,"Correo electrónico.")])],-1),mW={class:"dialog-footer"},gW=a.defineComponent({__name:"Message2faDialog",emits:["openClick"],setup(e,{expose:t,emit:n}){const r=a.ref(!1),o=()=>r.value=!0,i=()=>{r.value=!1,s("openClick")},s=n;return t({openDialog:o}),(l,c)=>(a.openBlock(),a.createBlock(a.unref(As),{open:r.value,"onUpdate:open":c[1]||(c[1]=u=>r.value=u)},{default:a.withCtx(()=>[a.createVNode(a.unref(Sc),null,{default:a.withCtx(()=>[sW]),_:1}),a.createVNode(a.unref(Os),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Is),{class:"modal-overlay"}),a.createVNode(a.unref(Bs),{class:"auth-modal-container",onInteractOutside:c[0]||(c[0]=u=>u.preventDefault()),"aria-describedby":"dialog-description"},{default:a.withCtx(()=>[a.createVNode(a.unref(Vs),{class:"auth-dialog-title"},{default:a.withCtx(()=>[lW]),_:1}),a.createElementVNode("div",cW,[a.createElementVNode("div",uW,[a.createVNode(xl,{mode:"gray"})]),dW,fW,hW,pW]),a.createElementVNode("div",mW,[a.createElementVNode("button",{class:"w-full fge-auth-primary-button",onClick:a.withModifiers(i,["prevent"])}," aceptar ")])]),_:1})]),_:1})]),_:1},8,["open"]))}}),vW={class:"item-container"},yW={class:"auth-name-container"},bW={class:"name"},wW={class:"profession"},_W=a.createElementVNode("i",{class:"pi pi-user"},null,-1),kW=a.createElementVNode("span",{style:{"margin-left":"0.8rem"}},"Perfil",-1),EW=a.createElementVNode("span",{style:{"margin-left":"0.8rem"}},"Cambiar modo",-1),xW=a.createElementVNode("i",{class:"pi pi-users"},null,-1),CW=a.createElementVNode("span",{style:{"margin-left":"0.8rem"}},"Sesiones",-1),SW=a.createElementVNode("i",{class:"pi pi-desktop"},null,-1),TW=a.createElementVNode("span",{style:{"margin-left":"0.8rem"}},"Dispositivos de confianza",-1),AW=a.createElementVNode("i",{class:"pi pi-sign-out"},null,-1),OW=a.createElementVNode("span",{style:{"margin-left":"0.8rem"}},"Cerrar sesión",-1),_9=a.defineComponent({__name:"FgeMenuItems",props:{showChangeMode:{type:Boolean,default:!1},isDarkMode:{type:Boolean,default:!1}},emits:["onLogout","onChangeMode"],setup(e,{emit:t}){const n=e,r=et(),{logoutCD:o}=Gv(),i=a.ref(!1),s=a.ref(!1),l=a.ref();a.onMounted(()=>{y(),v()});const c=a.ref(),u=a.ref(),d=a.ref(),f=a.ref(!0),h=t,p=()=>{c.value.openDialog()},g=async()=>{try{r.usaAuthNvEnLogin?await Tw():await Sw(),r.binnacleId&&await o({})}catch{}finally{r.logoutStore(),localStorage.clear(),h("onLogout")}},w=async()=>{h("onChangeMode")},y=async()=>{const{fechaCambioPassword:O,cambiarPassword:B,forzarCambioPassword:S,diasVidaPassword:A}=r.userState;if(!r.enableChangePassword||typeof A!="number")return;const D=localStorage.getItem("show-change-password");if(!S&&D&&B)return;const q=O?we.fromISO(O):void 0;if(l.value=q,B){m(!!(B&&S));return}},k=a.ref(),v=async()=>{var O,B;(O=r.userState)!=null&&O.forzarActivar2FA&&((B=k.value)==null||B.openDialog())},m=O=>{Xd("password-modified")||(localStorage.setItem("show-change-password",new Date().toISOString()),O&&(f.value=!1),s.value=!0)},b=()=>{var B;const{forzarCambioPassword:O}=r.userState;(B=c.value)==null||B.goToChangePassword(O),s.value=!1,f.value=!1},_=()=>{var O;s.value=!1,f.value=!1,(O=c.value)==null||O.goToActiveMedio()},E=()=>{var O,B;(B=(O=u.value)==null?void 0:O.openDialog)==null||B.call(O)},x=()=>{var O,B;(B=(O=d.value)==null?void 0:O.openDialog)==null||B.call(O)};return(O,B)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createVNode(a.unref(qC),{open:i.value,"onUpdate:open":B[0]||(B[0]=S=>i.value=S)},{default:a.withCtx(()=>[a.createVNode(a.unref(WC),{class:a.normalizeClass(["link-item-container",{dark:n.isDarkMode}]),"aria-label":"menu-options"},{default:a.withCtx(()=>{var S,A,D,q;return[a.createElementVNode("div",vW,[a.createVNode(a.unref(KE),{class:"avatar-container"},{default:a.withCtx(()=>{var F,X;return[a.createVNode(a.unref(JE),{class:"avatar-image",src:(F=a.unref(r).userState.user)==null?void 0:F.fotoUrl,alt:`Foto de ${(X=a.unref(r).userState.user)==null?void 0:X.nombreCompleto}`},null,8,["src","alt"]),a.createVNode(a.unref(XE),{class:"avatar-fallback","delay-ms":600},{default:a.withCtx(()=>[a.createVNode(y9)]),_:1})]}),_:1}),a.createElementVNode("div",yW,[a.createElementVNode("p",bW,a.toDisplayString((A=(S=a.unref(r).userState)==null?void 0:S.user)==null?void 0:A.nombreCompleto),1),a.createElementVNode("p",wW,a.toDisplayString((q=(D=a.unref(r).userState)==null?void 0:D.user)==null?void 0:q.profesion),1)])])]}),_:1},8,["class"]),a.createVNode(a.unref(GC),null,{default:a.withCtx(()=>[a.createVNode(a.unref(KC),{class:a.normalizeClass(["auth-menu-content",{dark:n.isDarkMode}])},{default:a.withCtx(()=>[a.createVNode(a.unref(Rs),{class:"auth-menu-item",onClick:p},{default:a.withCtx(()=>[_W,kW]),_:1}),n.showChangeMode?(a.openBlock(),a.createBlock(a.unref(Rs),{key:0,class:"auth-menu-item",onClick:w},{default:a.withCtx(()=>[a.createVNode(a.unref(Jq)),EW]),_:1})):a.createCommentVNode("",!0),a.createVNode(a.unref(Rs),{class:"auth-menu-item",onClick:x},{default:a.withCtx(()=>[xW,CW]),_:1}),a.createVNode(a.unref(Rs),{class:"auth-menu-item",onClick:E},{default:a.withCtx(()=>[SW,TW]),_:1}),a.createVNode(a.unref(Rs),{class:"auth-menu-item",onClick:g},{default:a.withCtx(()=>[AW,OW]),_:1})]),_:1},8,["class"])]),_:1})]),_:1},8,["open"]),a.createVNode(Bh,{ref_key:"perfilRef",ref:c},null,512),a.createVNode(nq,{ref_key:"dispositivosRef",ref:u},null,512),a.createVNode(Wq,{ref_key:"sesionesRef",ref:d},null,512),a.createVNode(iW,{open:s.value,"onUpdate:open":B[1]||(B[1]=S=>s.value=S),openClick:b,forzarCambioPassword:!!a.unref(r).userState.forzarCambioPassword},null,8,["open","forzarCambioPassword"]),a.createVNode(gW,{ref_key:"message2faRef",ref:k,onOpenClick:_},null,512)],64))}}),BW={[String(P1)]:"${label} debe contener solo números",[String(zc)]:"${label} debe contener al menos una letra mayúscula, una letra minúscula, un número y un caracter especial",[String(fo)]:"${label} debe contener al menos una letra mayúscula, una letra minúscula, un número y un caracter especial"},k9={mixed:{required:"${label} es requerido",oneOf:"${label} deben ser iguales"},string:{min:"${label} debe tener al menos ${min} caracteres",max:"${label} no debe tener más de ${max} caracteres",length:"${label} debe tener ${length} caracteres",matches:({label:e,regex:t})=>BW[String(t)].replaceAll("${label}",e)||`${e} no es válido`,email:"${label} debe tener el formato ejemplo@ejemplo.com"},number:{min:"El valor mínimo permitido es ${min}",max:"El valor máximo permitido es ${max}"}};oe.addMethod(oe.string,"email",function(t){var n;return this.matches(fT,{message:t||((n=k9.string)==null?void 0:n.email),name:"email",excludeEmptyString:!0})});function IW(e){if(e)try{return JSON.parse(e)}catch(t){console.warn(t,"unknown json format!")}}function E9(e,t){var n=t.storage,r=t.encrypt,o=t.decrypt,i=n.getItem(e.$id);if(i){var s=IW(o?o(i):i);s&&(e.$state=s)}else{var l=JSON.stringify(e.$state);n.setItem(e.$id,r?r(l):l)}var c=function(d,f){var h=JSON.stringify(f);n.setItem(e.$id,r?r(h):h)};e.$subscribe(c,{detached:!0,deep:!0,immediate:!0})}function VW(e){return function(t){var n=Object.assign({},e),r=t.store,o=n.stores,i=n.encrypt,s=n.decrypt;o&&o.length>0&&o.forEach(function(l){if(typeof l=="string"){if(l===r.$id){var c=n.storage||localStorage;E9(r,{stores:o,storage:c,encrypt:i,decrypt:s})}}else if(l.name===r.$id){var u=l.storage,d=l.ciphertext,f=function(){return u||(n.storage?n.storage:localStorage)};E9(r,{stores:o,storage:f(),encrypt:d===!1?void 0:i,decrypt:d===!1?void 0:s})}})}}var ts=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function x9(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function RW(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var C9={exports:{}};function DW(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Ih={exports:{}};const MW=RW(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var S9;function T9(){return S9||(S9=1,function(e,t){(function(n,r){e.exports=r()})(ts,function(){var n=n||function(r,o){var i;if(typeof window<"u"&&window.crypto&&(i=window.crypto),typeof self<"u"&&self.crypto&&(i=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(i=globalThis.crypto),!i&&typeof window<"u"&&window.msCrypto&&(i=window.msCrypto),!i&&typeof ts<"u"&&ts.crypto&&(i=ts.crypto),!i&&typeof DW=="function")try{i=MW}catch{}var s=function(){if(i){if(typeof i.getRandomValues=="function")try{return i.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof i.randomBytes=="function")try{return i.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},l=Object.create||function(){function v(){}return function(m){var b;return v.prototype=m,b=new v,v.prototype=null,b}}(),c={},u=c.lib={},d=u.Base=function(){return{extend:function(v){var m=l(this);return v&&m.mixIn(v),(!m.hasOwnProperty("init")||this.init===m.init)&&(m.init=function(){m.$super.init.apply(this,arguments)}),m.init.prototype=m,m.$super=this,m},create:function(){var v=this.extend();return v.init.apply(v,arguments),v},init:function(){},mixIn:function(v){for(var m in v)v.hasOwnProperty(m)&&(this[m]=v[m]);v.hasOwnProperty("toString")&&(this.toString=v.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=u.WordArray=d.extend({init:function(v,m){v=this.words=v||[],m!=o?this.sigBytes=m:this.sigBytes=v.length*4},toString:function(v){return(v||p).stringify(this)},concat:function(v){var m=this.words,b=v.words,_=this.sigBytes,E=v.sigBytes;if(this.clamp(),_%4)for(var x=0;x<E;x++){var O=b[x>>>2]>>>24-x%4*8&255;m[_+x>>>2]|=O<<24-(_+x)%4*8}else for(var B=0;B<E;B+=4)m[_+B>>>2]=b[B>>>2];return this.sigBytes+=E,this},clamp:function(){var v=this.words,m=this.sigBytes;v[m>>>2]&=4294967295<<32-m%4*8,v.length=r.ceil(m/4)},clone:function(){var v=d.clone.call(this);return v.words=this.words.slice(0),v},random:function(v){for(var m=[],b=0;b<v;b+=4)m.push(s());return new f.init(m,v)}}),h=c.enc={},p=h.Hex={stringify:function(v){for(var m=v.words,b=v.sigBytes,_=[],E=0;E<b;E++){var x=m[E>>>2]>>>24-E%4*8&255;_.push((x>>>4).toString(16)),_.push((x&15).toString(16))}return _.join("")},parse:function(v){for(var m=v.length,b=[],_=0;_<m;_+=2)b[_>>>3]|=parseInt(v.substr(_,2),16)<<24-_%8*4;return new f.init(b,m/2)}},g=h.Latin1={stringify:function(v){for(var m=v.words,b=v.sigBytes,_=[],E=0;E<b;E++){var x=m[E>>>2]>>>24-E%4*8&255;_.push(String.fromCharCode(x))}return _.join("")},parse:function(v){for(var m=v.length,b=[],_=0;_<m;_++)b[_>>>2]|=(v.charCodeAt(_)&255)<<24-_%4*8;return new f.init(b,m)}},w=h.Utf8={stringify:function(v){try{return decodeURIComponent(escape(g.stringify(v)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(v){return g.parse(unescape(encodeURIComponent(v)))}},y=u.BufferedBlockAlgorithm=d.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(v){typeof v=="string"&&(v=w.parse(v)),this._data.concat(v),this._nDataBytes+=v.sigBytes},_process:function(v){var m,b=this._data,_=b.words,E=b.sigBytes,x=this.blockSize,O=x*4,B=E/O;v?B=r.ceil(B):B=r.max((B|0)-this._minBufferSize,0);var S=B*x,A=r.min(S*4,E);if(S){for(var D=0;D<S;D+=x)this._doProcessBlock(_,D);m=_.splice(0,S),b.sigBytes-=A}return new f.init(m,A)},clone:function(){var v=d.clone.call(this);return v._data=this._data.clone(),v},_minBufferSize:0});u.Hasher=y.extend({cfg:d.extend(),init:function(v){this.cfg=this.cfg.extend(v),this.reset()},reset:function(){y.reset.call(this),this._doReset()},update:function(v){return this._append(v),this._process(),this},finalize:function(v){v&&this._append(v);var m=this._doFinalize();return m},blockSize:16,_createHelper:function(v){return function(m,b){return new v.init(b).finalize(m)}},_createHmacHelper:function(v){return function(m,b){return new k.HMAC.init(v,b).finalize(m)}}});var k=c.algo={};return c}(Math);return n})}(Ih)),Ih.exports}(function(e,t){(function(n,r){e.exports=r(T9())})(ts,function(n){return n.enc.Utf8})})(C9);var PW=C9.exports;const A9=x9(PW);var O9={exports:{}};(function(e,t){(function(n,r){e.exports=r(T9())})(ts,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,s=r.enc;s.Base64={stringify:function(c){var u=c.words,d=c.sigBytes,f=this._map;c.clamp();for(var h=[],p=0;p<d;p+=3)for(var g=u[p>>>2]>>>24-p%4*8&255,w=u[p+1>>>2]>>>24-(p+1)%4*8&255,y=u[p+2>>>2]>>>24-(p+2)%4*8&255,k=g<<16|w<<8|y,v=0;v<4&&p+v*.75<d;v++)h.push(f.charAt(k>>>6*(3-v)&63));var m=f.charAt(64);if(m)for(;h.length%4;)h.push(m);return h.join("")},parse:function(c){var u=c.length,d=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var h=0;h<d.length;h++)f[d.charCodeAt(h)]=h}var p=d.charAt(64);if(p){var g=c.indexOf(p);g!==-1&&(u=g)}return l(c,u,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function l(c,u,d){for(var f=[],h=0,p=0;p<u;p++)if(p%4){var g=d[c.charCodeAt(p-1)]<<p%4*2,w=d[c.charCodeAt(p)]>>>6-p%4*2,y=g|w;f[h>>>2]|=y<<24-h%4*8,h++}return i.create(f,h)}}(),n.enc.Base64})})(O9);var LW=O9.exports;const B9=x9(LW);function FW(e){return B9.stringify(A9.parse(e))}function UW(e){try{return B9.parse(e).toString(A9)}catch(t){return console.error("Error al desencriptar",t),localStorage.removeItem("LOGIN_STORE"),""}}const I9=new WeakSet;function V9(e){if(I9.has(e))return e;const t=VW({stores:[{name:"LOGIN_STORE",storage:localStorage,ciphertext:!0}],encrypt:FW,decrypt:UW});return e.use(t),I9.add(e),e}function ZW(){const e=Cy();return V9(e)}const zW={install:(e,t)=>{t.useYupLocale&&oe.setLocale(k9),e.component("FgeLoginComponent",v9),e.component("FgePerfilMenuComponent",_9),e.component("FgePerfilSidebar",Bh),e.use(oF,{VITE_API_BASE_URL:window.location.href,VITE_API_APLICATION:t.aplicacion,VITE_API_MS_AGETIC:t.MS_AGETIC_URL,VITE_API_MS_AGETIC_FRONT:t.API_SERVER_REDIRECT,VITE_DEVELOPMENT_ENVIRONMENT:t.ENVIRONMENT||"DEV",VITE_API_AGETIC_ANUNCIOS:"https://www.facebook.com/story.php?story_fbid=999108625735075&id=100069078404748&mibextid=wwXIfr&rdid=Jl5hWv1li8tIYJ45"});const n=t.pinia?V9(t.pinia):ZW();e.use(n),et().setConfigs({newBaseURL:t.baseUrl,newIsRegister:t.isRegister||!1,newAplicacion:t.aplicacion,newBaseURLAuthNv:t.baseUrlAuthNv,newWebSocketUrl:t.MS_WEBSOCKET_URL,newWebSocketToken:t.TOKEN_WEBSOCKET??"",newRrhhUrl:t.rrhhUrl,verificarSiFuncionario:t.verificarSiFuncionario||!1,telegramBot:t.telegramBot??"fiscalia_bo_bot",systemVersion:t.systemVersion,enableChangePasswordMsg:t.ENABLE_CHANGE_PASSWORD,enableForceChangePassword:t.ENABLE_FORCE_CHANGE_PASSWORD,newDefaultRedirectPath:t.defaultRedirectPath}),Bw()}};Xe.FgeAuthMenuComponent=_9,Xe.FgeLoginComponent=v9,Xe.FgePerfilSidebar=Bh,Xe.InvalidRefreshResponseError=Kl,Xe.MissingRefreshTokenError=Nd,Xe.applyBearerTokenToConfig=as,Xe.attachAuthRefreshInterceptor=ip,Xe.clearRedirectUrl=g9,Xe.default=zW,Xe.getErrorRequestConfig=Ph,Xe.getRedirectUrl=m9,Xe.hasRedirectUrl=iz,Xe.isUnauthorizedError=Mh,Xe.saveRedirectUrl=p9,Xe.shouldSkipAuthRefresh=Lh,Xe.useFgeAuthLoginStore=et,Xe.useFgeAuthStateStore=qs,Object.defineProperties(Xe,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
99
|
+
`+o):n.stack=o}catch{}}throw n}}_request(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=Po(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;n!==void 0&&ch.assertOptions(n,{silentJSONParsing:Ga.transitional(Ga.boolean),forcedJSONParsing:Ga.transitional(Ga.boolean),clarifyTimeoutError:Ga.transitional(Ga.boolean)},!1),r!=null&&(L.isFunction(r)?t.paramsSerializer={serialize:r}:ch.assertOptions(r,{encode:Ga.function,serialize:Ga.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&L.merge(o.common,o[t.method]);o&&L.forEach(["delete","get","head","post","put","patch","common"],p=>{delete o[p]}),t.headers=En.concat(i,o);const s=[];let l=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(t)===!1||(l=l&&p.synchronous,s.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let u,d=0,f;if(!l){const p=[jv.bind(this),void 0];for(p.unshift.apply(p,s),p.push.apply(p,c),f=p.length,u=Promise.resolve(t);d<f;)u=u.then(p[d++],p[d++]);return u}f=s.length;let h=t;for(d=0;d<f;){const p=s[d++],g=s[d++];try{h=p(h)}catch(w){g.call(this,w);break}}try{u=jv.call(this,h)}catch(p){return Promise.reject(p)}for(d=0,f=c.length;d<f;)u=u.then(c[d++],c[d++]);return u}getUri(e){e=Po(this.defaults,e);const t=Rv(e.baseURL,e.url);return Sv(t,e.params,e.paramsSerializer)}};L.forEach(["delete","get","head","options"],function(e){Lo.prototype[e]=function(t,n){return this.request(Po(n||{},{method:e,url:t,data:(n||{}).data}))}}),L.forEach(["post","put","patch"],function(e){function t(n){return function(r,o,i){return this.request(Po(i||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:o}))}}Lo.prototype[e]=t(),Lo.prototype[e+"Form"]=t(!0)});let NL=class U9{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(l=>{r.subscribe(l),i=l}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},t(function(o,i,s){r.reason||(r.reason=new Qi(o,i,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new U9(function(n){t=n}),cancel:t}}};function $L(e){return function(t){return e.apply(null,t)}}function eF(e){return L.isObject(e)&&e.isAxiosError===!0}const uh={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(uh).forEach(([e,t])=>{uh[t]=e});function Wv(e){const t=new Lo(e),n=uv(Lo.prototype.request,t);return L.extend(n,Lo.prototype,t,{allOwnKeys:!0}),L.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Wv(Po(e,r))},n}const Et=Wv(Il);Et.Axios=Lo,Et.CanceledError=Qi,Et.CancelToken=NL,Et.isCancel=Iv,Et.VERSION=Hv,Et.toFormData=wd,Et.AxiosError=Ae,Et.Cancel=Et.CanceledError,Et.all=function(e){return Promise.all(e)},Et.spread=$L,Et.isAxiosError=eF,Et.mergeConfig=Po,Et.AxiosHeaders=En,Et.formToJSON=e=>Ov(L.isHTMLForm(e)?new FormData(e):e),Et.getAdapter=zv.getAdapter,Et.HttpStatusCode=uh,Et.default=Et;const tF=async(e,t,n,r)=>{var o;const i=window.VITE_API_MS_AGETIC?window.VITE_API_MS_AGETIC:"http://172.27.38.54:3000",s={urlRedirectLogin:window.VITE_API_BASE_URL?window.VITE_API_BASE_URL:void 0,application:window.VITE_API_APLICATION?window.VITE_API_APLICATION:"justicia-libre",verificarFuncionario:t,environment:window.VITE_DEVELOPMENT_ENVIRONMENT?window.VITE_DEVELOPMENT_ENVIRONMENT:"DEV",binnacleId:r,processKey:e,tokenMsSeguridad:n},l=await Et.post(`${i}/api/v1/auth/generar-url`,s,{headers:{"Content-Type":"application/json; charset=utf-8","ms-agetic-token":void 0}});return cv({name:"ms-agetic-token",value:(o=l.data.response)==null?void 0:o.data.token,hours:5}),l.data.response.data},nF=async(e,t,n,r)=>{var o;const i=window.VITE_API_MS_AGETIC?window.VITE_API_MS_AGETIC:"http://172.27.38.54:3000",s={urlRedirectLogin:window.VITE_API_BASE_URL?window.VITE_API_BASE_URL:void 0,application:window.VITE_API_APLICATION?window.VITE_API_APLICATION:"justicia-libre",verificarFuncionario:t,environment:window.VITE_DEVELOPMENT_ENVIRONMENT?window.VITE_DEVELOPMENT_ENVIRONMENT:"DEV",binnacleId:r,processKey:e,tokenMsSeguridad:n,deviceId:"id_mobile_device"},l=await Et.post(`${i}/api/v2/auth/generar-url`,s,{headers:{"Content-Type":"application/json; charset=utf-8","ms-agetic-token":void 0}});return cv({name:"ms-agetic-token",value:(o=l.data.response)==null?void 0:o.data.token,hours:5}),l.data.response.data},rF=async e=>{const t=window.VITE_API_MS_AGETIC?window.VITE_API_MS_AGETIC:"http://172.27.38.54:3000",n={binnacleId:e};return(await Et.post(`${t}/api/v1/auth/session-auth`,n,{headers:{Authorization:`Bearer ${lv("ms-agetic-token")}`,"Content-Type":"application/json; charset=utf-8","ms-agetic-token":void 0}})).data.response.data},aF=e=>`${window.VITE_API_MS_AGETIC_FRONT?window.VITE_API_MS_AGETIC_FRONT:"http://172.27.38.54:8080"}/logout?urlRedirectLogout=${window.VITE_API_BASE_URL?window.VITE_API_BASE_URL:void 0}&binnacleId=${e}`;function Gv(){const e=a.ref(),t=new Map;let n;const r=()=>{for(const[f,h]of t.entries())h.type===Nt.LOGOUT?(h.resolve({error:!1,message:"Sesion cerrada con exito"}),t.delete(f)):h.creationTime+1e3*60*5<new Date().getTime()&&(h.reject({error:!0,message:"Ha ocurrido un error, intente nuevamente"}),t.delete(f));t.size===0&&n&&(clearInterval(n),n=void 0)};a.onMounted(()=>{let f=!1;for(const[p]of t.entries())if(window.name===p){f=!0;break}const h=new BroadcastChannel(N7);e.value=h,!f&&(e.value.onmessage=async p=>{const g=p.data;!g||await o(g)||i(g)||s(g)||l(g)})}),a.onBeforeUnmount(()=>{e.value&&e.value.close(),n&&clearInterval(n)});const o=async f=>{if(f.event!==Nt.LOGIN&&f.event!==Nt.ALREADY_LOGIN)return!1;const h=t.get(f.data.processKey);if(!h)return!1;if(t.delete(f.data.processKey),f.event===Nt.LOGIN){const p=f.data.data;try{const g=await rF(p.binnacleId);kP("digital",JSON.stringify(p)),h.resolve({error:!1,message:"Inicio de sesión exitoso",data:{...g.session,binnacleId:p.binnacleId}})}catch{h.reject({error:!0,message:"Ha ocurrido un error al iniciar sesión, intente nuevamente"})}return!0}return h.reject({error:!0,message:"Ya cuentas con una sesión activa"}),!0},i=f=>{if(f.event===Nt.LOGOUT){const h=t.get(f.data.processKey);return h?(t.delete(f.data.processKey),localStorage.removeItem("digital"),h.resolve({error:!1,message:"Sesión finalizada"}),!0):!1}return!1},s=f=>{const h=t.get(f.data.processKey);if(h)return f.event===Nt.VALIDATE_FILE?(h.resolve({error:!1,message:"Aprobación exitosa",data:f.data}),t.delete(f.data.processKey),!0):!1},l=f=>{const h=f.data.processKey,p=t.get(h);p&&f.event===Nt.FORCE_CLOSE&&(t.delete(h),p.reject({error:!0,message:"Ha ocurrido un error, intente nuevamente"}))},c=async(f=!0,h,p=!1)=>new Promise(async(g,w)=>{var y,k;const v=pd(),m=p?void 0:Ji("digital")?JSON.parse(Ji("digital")).binnacleId:void 0,b=md();try{const{url:_}=await tF(v,f,h,m);window.open(_,v,b?void 0:"width=700,height=700,resizable=no")}catch(_){if(((k=(y=_==null?void 0:_.response)==null?void 0:y.data)==null?void 0:k.message)==="No se pudo conectar con AGETIC - CIUDADANIA DIGITAL")return window.open(window.VITE_API_AGETIC_ANUNCIOS,v,b?void 0:"width=700,height=700,resizable=no"),w(_.response.data);if(_)return w({error:!0,message:"Ha ocurrido un error al iniciar sesión, intente nuevamente"})}d(),t.set(v,{creationTime:new Date().getTime(),processKey:v,type:Nt.LOGIN,resolve:g,reject:w})}),u=async(f=!0,h,p=!1)=>new Promise(async(g,w)=>{const y=pd(),k=p?void 0:Ji("digital")?JSON.parse(Ji("digital")).binnacleId:void 0,{url:v}=await nF(y,f,h,k),m=md();try{window.open(v,y,m?void 0:"width=700,height=700,resizable=no")}catch(b){if(b)return w({error:!0,message:"Ha ocurrido un error al iniciar sesión, intente nuevamente"})}d(),t.set(y,{creationTime:new Date().getTime(),processKey:y,type:Nt.LOGIN,resolve:g,reject:w})}),d=()=>{n||(n=setInterval(r,1e3))};return{loginCD:c,logoutCD:async f=>new Promise((h,p)=>{const g=pd(),w=f.binnacleId,y=Ji("digital");if(!y)return p({error:!0,message:"No existe una sesión de agetic activa"});const k=JSON.parse(y),v=aF(w||k.binnacleId),m=md();if(!window.open(v,g,m?void 0:"width=700,height=700,resizable=no"))return p({error:!0,message:"Ha ocurrido un error al cerrar sesión, intente nuevamente"});d(),EP("digital"),t.set(g,{creationTime:new Date().getTime(),processKey:g,type:Nt.LOGOUT,resolve:h,reject:p})}),validateFile:async f=>new Promise(async(h,p)=>{const g=pd(),w=f.documentId,y=Ji("digital");if(!y)return p({error:!0,message:"Ha ocurrido un error, intente nuevamente"});d();const k=JSON.parse(y),v=`${window.VITE_API_BASE_URL?window.VITE_API_BASE_URL:void 0}`,m=`${window.VITE_API_MS_AGETIC_FRONT?window.VITE_API_MS_AGETIC_FRONT:"http://172.27.38.54:8080"}/aprobacion?urlRedirectClient=${encodeURIComponent(`${v}`)}&documentId=${encodeURIComponent(w)}&binnacleId=${encodeURIComponent(k.binnacleId)}${f.urlNotificationDocument?`&urlNotificationDocument=${encodeURIComponent(f.urlNotificationDocument)}`:""}&token=${encodeURIComponent(lv("ms-agetic-token"))}&processKey=${encodeURIComponent(g)}`,b=md();if(!window.open(m,g,b?void 0:"width=700,height=700,resizable=no"))return p({error:!0,message:"Ha ocurrido un error, intente nuevamente"});t.set(g,{creationTime:new Date().getTime(),processKey:g,type:Nt.VALIDATE_FILE,resolve:h,reject:p})}),loginCDMsAuth:u}}const oF={install(e,t){uP(),window.VITE_API_BASE_URL=t.VITE_API_BASE_URL,window.VITE_API_APLICATION=t.VITE_API_APLICATION,window.VITE_API_MS_AGETIC=t.VITE_API_MS_AGETIC,window.VITE_API_MS_AGETIC_FRONT=t.VITE_API_MS_AGETIC_FRONT,window.VITE_DEVELOPMENT_ENVIRONMENT=t.VITE_DEVELOPMENT_ENVIRONMENT,window.VITE_API_AGETIC_ANUNCIOS=t.VITE_API_AGETIC_ANUNCIOS,window.VITE_API_LOCAL_FIRMATIC=t.VITE_API_LOCAL_FIRMATIC||""}};function iF(){const e=et(),{loginCD:t,loginCDMsAuth:n}=Gv();a.onMounted(()=>{o()});const r=async()=>e.usaAuthNvEnLogin?await n(e.verificarFunc):await t(e.verificarFunc),o=()=>{const l=new URLSearchParams(window.location.search).get("agetic");if(!l)return;const c=JSON.parse(decodeURI(l));i(c)},i=async s=>{var l;if(!s.error)if(s.response.binnacleId){const c={ci:s.response.ciudadanoDigital.documento_identidad.numero_documento,binnacleId:s.response.binnacleId,appTag:e.aplicacion};await e.onLoginCiudadania(c),new URLSearchParams(window.location.search).delete("agetic"),window.history.replaceState({},"",`${window.location.pathname}`)}else K.error(`<p class="toast-title">Error</p><p class="toast-description">${(l=s.response)==null?void 0:l.message}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0})};return{redirectCD:r}}function Rl(e){return!e||typeof e!="object"||Array.isArray(e)?null:e}function sF(e){const t=Rl(e==null?void 0:e.response);if(!t)return{};const n=Rl(t.response);if(n){const o=Rl(n.data);return o||n}const r=Rl(t.data);return r||t}function dh(e){return Rl(e.observacion)}function lF(e,t){if(typeof t.code=="string")return t.code;if(t.reintentarDesde&&!t.completitudToken)return ho.RECHAZADO;if(dh(t))return ho.OBSERVADO;if(t.completitudToken)return ho.PENDIENTE_DOCUMENTOS}function Kv(e){return Array.isArray(e)?e.map(t=>String(t)).filter(t=>t.length>0):[]}function cF(e){const t=Kv(e.faltantes);if(t.length)return t;const n=dh(e);return Kv(n==null?void 0:n.fotos)}function uF(e){const t=sF(e),n=lF(e,t),r=typeof t.completitudToken=="string"?t.completitudToken:void 0,o=dh(t);let i;o&&typeof o.texto=="string"&&(i=o.texto.trim()||void 0),!i&&typeof(e==null?void 0:e.message)=="string"&&(i=e.message.trim()||void 0);let s;o&&typeof o.motivo=="string"&&(s=o.motivo.trim()||void 0);const l=typeof t.reintentarDesde=="string"?t.reintentarDesde:void 0,c=n===ho.PENDIENTE_APROBACION,u=n===ho.RECHAZADO||!!l&&!r,d=!c&&!!r&&(n===ho.PENDIENTE_DOCUMENTOS||n===ho.OBSERVADO||!n);return!n&&!r&&!l&&!i?null:{code:n,completitudToken:r,faltantes:cF(t),observacionTexto:i,observacionMotivo:s,reintentarDesde:l,message:typeof(e==null?void 0:e.message)=="string"?e.message:void 0,esRegularizable:d,esPendienteAprobacion:c,esRechazado:u}}function dF(e,t){if(!e.esRegularizable||!e.completitudToken)return null;const n=e.faltantes.filter(r=>r==="anverso"||r==="reverso"||r==="selfie");return{completitudToken:e.completitudToken,ci:t,code:e.code,faltantes:n,observacion:e.observacionTexto||e.observacionMotivo||n.length?{motivo:e.observacionMotivo,texto:e.observacionTexto,fotos:n}:void 0}}function fF(e){const t=e.message??"Su registro fue rechazado.";if(!e.reintentarDesde)return t;const n=new Date(e.reintentarDesde);if(Number.isNaN(n.getTime()))return t;const r=n.getDate().toString().padStart(2,"0"),o=(n.getMonth()+1).toString().padStart(2,"0");return`${t} Podrá intentarlo el ${r}/${o}/${n.getFullYear()}.`}const ee={EMAIL:3,WHATSAPP:1,TELEGRAM:2,ROMA:4,SMS:5};ee.EMAIL+"",ee.WHATSAPP+"",ee.TELEGRAM+"",ee.ROMA+"",ee.SMS+"";const Pr=Object.create(null);Pr.open="0",Pr.close="1",Pr.ping="2",Pr.pong="3",Pr.message="4",Pr.upgrade="5",Pr.noop="6";const Cd=Object.create(null);Object.keys(Pr).forEach(e=>{Cd[Pr[e]]=e});const fh={type:"error",data:"parser error"},Yv=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",Jv=typeof ArrayBuffer=="function",Xv=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,hh=({type:e,data:t},n,r)=>Yv&&t instanceof Blob?n?r(t):Qv(t,r):Jv&&(t instanceof ArrayBuffer||Xv(t))?n?r(t):Qv(new Blob([t]),r):r(Pr[e]+(t||"")),Qv=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+(r||""))},n.readAsDataURL(e)};function Nv(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let ph;function hF(e,t){if(Yv&&e.data instanceof Blob)return e.data.arrayBuffer().then(Nv).then(t);if(Jv&&(e.data instanceof ArrayBuffer||Xv(e.data)))return t(Nv(e.data));hh(e,!1,n=>{ph||(ph=new TextEncoder),t(ph.encode(n))})}const $v="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Dl=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e<$v.length;e++)Dl[$v.charCodeAt(e)]=e;const pF=e=>{let t=e.length*.75,n=e.length,r,o=0,i,s,l,c;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const u=new ArrayBuffer(t),d=new Uint8Array(u);for(r=0;r<n;r+=4)i=Dl[e.charCodeAt(r)],s=Dl[e.charCodeAt(r+1)],l=Dl[e.charCodeAt(r+2)],c=Dl[e.charCodeAt(r+3)],d[o++]=i<<2|s>>4,d[o++]=(s&15)<<4|l>>2,d[o++]=(l&3)<<6|c&63;return u},mF=typeof ArrayBuffer=="function",mh=(e,t)=>{if(typeof e!="string")return{type:"message",data:e9(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:gF(e.substring(1),t)}:Cd[n]?e.length>1?{type:Cd[n],data:e.substring(1)}:{type:Cd[n]}:fh},gF=(e,t)=>{if(mF){const n=pF(e);return e9(n,t)}else return{base64:!0,data:e}},e9=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},t9="",vF=(e,t)=>{const n=e.length,r=new Array(n);let o=0;e.forEach((i,s)=>{hh(i,!1,l=>{r[s]=l,++o===n&&t(r.join(t9))})})},yF=(e,t)=>{const n=e.split(t9),r=[];for(let o=0;o<n.length;o++){const i=mh(n[o],t);if(r.push(i),i.type==="error")break}return r};function bF(){return new TransformStream({transform(e,t){hF(e,n=>{const r=n.length;let o;if(r<126)o=new Uint8Array(1),new DataView(o.buffer).setUint8(0,r);else if(r<65536){o=new Uint8Array(3);const i=new DataView(o.buffer);i.setUint8(0,126),i.setUint16(1,r)}else{o=new Uint8Array(9);const i=new DataView(o.buffer);i.setUint8(0,127),i.setBigUint64(1,BigInt(r))}e.data&&typeof e.data!="string"&&(o[0]|=128),t.enqueue(o),t.enqueue(n)})}})}let gh;function Sd(e){return e.reduce((t,n)=>t+n.length,0)}function Td(e,t){if(e[0].length===t)return e.shift();const n=new Uint8Array(t);let r=0;for(let o=0;o<t;o++)n[o]=e[0][r++],r===e[0].length&&(e.shift(),r=0);return e.length&&r<e[0].length&&(e[0]=e[0].slice(r)),n}function wF(e,t){gh||(gh=new TextDecoder);const n=[];let r=0,o=-1,i=!1;return new TransformStream({transform(s,l){for(n.push(s);;){if(r===0){if(Sd(n)<1)break;const c=Td(n,1);i=(c[0]&128)===128,o=c[0]&127,o<126?r=3:o===126?r=1:r=2}else if(r===1){if(Sd(n)<2)break;const c=Td(n,2);o=new DataView(c.buffer,c.byteOffset,c.length).getUint16(0),r=3}else if(r===2){if(Sd(n)<8)break;const c=Td(n,8),u=new DataView(c.buffer,c.byteOffset,c.length),d=u.getUint32(0);if(d>Math.pow(2,21)-1){l.enqueue(fh);break}o=d*Math.pow(2,32)+u.getUint32(4),r=3}else{if(Sd(n)<o)break;const c=Td(n,o);l.enqueue(mh(i?c:gh.decode(c),t)),r=0}if(o===0||o>e){l.enqueue(fh);break}}}})}const n9=4;function Ft(e){if(e)return _F(e)}function _F(e){for(var t in Ft.prototype)e[t]=Ft.prototype[t];return e}Ft.prototype.on=Ft.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},Ft.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},Ft.prototype.off=Ft.prototype.removeListener=Ft.prototype.removeAllListeners=Ft.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var r,o=0;o<n.length;o++)if(r=n[o],r===t||r.fn===t){n.splice(o,1);break}return n.length===0&&delete this._callbacks["$"+e],this},Ft.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){n=n.slice(0);for(var r=0,o=n.length;r<o;++r)n[r].apply(this,t)}return this},Ft.prototype.emitReserved=Ft.prototype.emit,Ft.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},Ft.prototype.hasListeners=function(e){return!!this.listeners(e).length};const Ad=typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0),$n=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),kF="arraybuffer";function VG(){}function r9(e,...t){return t.reduce((n,r)=>(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const EF=$n.setTimeout,xF=$n.clearTimeout;function Od(e,t){t.useNativeTimers?(e.setTimeoutFn=EF.bind($n),e.clearTimeoutFn=xF.bind($n)):(e.setTimeoutFn=$n.setTimeout.bind($n),e.clearTimeoutFn=$n.clearTimeout.bind($n))}const CF=1.33;function SF(e){return typeof e=="string"?TF(e):Math.ceil((e.byteLength||e.size)*CF)}function TF(e){let t=0,n=0;for(let r=0,o=e.length;r<o;r++)t=e.charCodeAt(r),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(r++,n+=4);return n}function a9(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function AF(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function OF(e){let t={},n=e.split("&");for(let r=0,o=n.length;r<o;r++){let i=n[r].split("=");t[decodeURIComponent(i[0])]=decodeURIComponent(i[1])}return t}class BF extends Error{constructor(t,n,r){super(t),this.description=n,this.context=r,this.type="TransportError"}}class vh extends Ft{constructor(t){super(),this.writable=!1,Od(this,t),this.opts=t,this.query=t.query,this.socket=t.socket,this.supportsBinary=!t.forceBase64}onError(t,n,r){return super.emitReserved("error",new BF(t,n,r)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=mh(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,n={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(n)}_hostname(){const t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){const n=AF(t);return n.length?"?"+n:""}}class IF extends vh{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(t){this.readyState="pausing";const n=()=>{this.readyState="paused",t()};if(this._polling||!this.writable){let r=0;this._polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};yF(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,vF(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",n=this.query||{};return this.opts.timestampRequests!==!1&&(n[this.opts.timestampParam]=a9()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(t,n)}}let o9=!1;try{o9=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const VF=o9;function RF(){}class DF extends IF{constructor(t){if(super(t),typeof location<"u"){const n=location.protocol==="https:";let r=location.port;r||(r=n?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||r!==t.port}}doWrite(t,n){const r=this.request({method:"POST",data:t});r.on("success",n),r.on("error",(o,i)=>{this.onError("xhr post error",o,i)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=t}}let Ni=class Fd extends Ft{constructor(t,n,r){super(),this.createRequest=t,Od(this,r),this._opts=r,this._method=r.method||"GET",this._uri=n,this._data=r.data!==void 0?r.data:null,this._create()}_create(){var t;const n=r9(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this._opts.xd;const r=this._xhr=this.createRequest(n);try{r.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0);for(let o in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(o)&&r.setRequestHeader(o,this._opts.extraHeaders[o])}}catch{}if(this._method==="POST")try{r.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{r.setRequestHeader("Accept","*/*")}catch{}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(r),"withCredentials"in r&&(r.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(r.timeout=this._opts.requestTimeout),r.onreadystatechange=()=>{var o;r.readyState===3&&((o=this._opts.cookieJar)===null||o===void 0||o.parseCookies(r.getResponseHeader("set-cookie"))),r.readyState===4&&(r.status===200||r.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof r.status=="number"?r.status:0)},0))},r.send(this._data)}catch(o){this.setTimeoutFn(()=>{this._onError(o)},0);return}typeof document<"u"&&(this._index=Fd.requestsCount++,Fd.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=RF,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete Fd.requests[this._index],this._xhr=null}}_onLoad(){const t=this._xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}};if(Ni.requestsCount=0,Ni.requests={},typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",i9);else if(typeof addEventListener=="function"){const e="onpagehide"in $n?"pagehide":"unload";addEventListener(e,i9,!1)}}function i9(){for(let e in Ni.requests)Ni.requests.hasOwnProperty(e)&&Ni.requests[e].abort()}const MF=function(){const e=s9({xdomain:!1});return e&&e.responseType!==null}();class PF extends DF{constructor(t){super(t);const n=t&&t.forceBase64;this.supportsBinary=MF&&!n}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new Ni(s9,this.uri(),t)}}function s9(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||VF))return new XMLHttpRequest}catch{}if(!t)try{return new $n[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const l9=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class LF extends vh{get name(){return"websocket"}doOpen(){const t=this.uri(),n=this.opts.protocols,r=l9?{}:r9(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,n,r)}catch(o){return this.emitReserved("error",o)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],o=n===t.length-1;hh(r,this.supportsBinary,i=>{try{this.doWrite(r,i)}catch{}o&&Ad(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",n=this.query||{};return this.opts.timestampRequests&&(n[this.opts.timestampParam]=a9()),this.supportsBinary||(n.b64=1),this.createUri(t,n)}}const yh=$n.WebSocket||$n.MozWebSocket;class FF extends LF{createSocket(t,n,r){return l9?new yh(t,n,r):n?new yh(t,n):new yh(t)}doWrite(t,n){this.ws.send(n)}}class UF extends vh{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{const n=wF(Number.MAX_SAFE_INTEGER,this.socket.binaryType),r=t.readable.pipeThrough(n).getReader(),o=bF();o.readable.pipeTo(t.writable),this._writer=o.writable.getWriter();const i=()=>{r.read().then(({done:l,value:c})=>{l||(this.onPacket(c),i())}).catch(l=>{})};i();const s={type:"open"};this.query.sid&&(s.data=`{"sid":"${this.query.sid}"}`),this._writer.write(s).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],o=n===t.length-1;this._writer.write(r).then(()=>{o&&Ad(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this._transport)===null||t===void 0||t.close()}}const ZF={websocket:FF,webtransport:UF,polling:PF},zF=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,jF=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function bh(e){if(e.length>8e3)throw"URI too long";const t=e,n=e.indexOf("["),r=e.indexOf("]");n!=-1&&r!=-1&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let o=zF.exec(e||""),i={},s=14;for(;s--;)i[jF[s]]=o[s]||"";return n!=-1&&r!=-1&&(i.source=t,i.host=i.host.substring(1,i.host.length-1).replace(/;/g,":"),i.authority=i.authority.replace("[","").replace("]","").replace(/;/g,":"),i.ipv6uri=!0),i.pathNames=HF(i,i.path),i.queryKey=qF(i,i.query),i}function HF(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&r.splice(0,1),t.slice(-1)=="/"&&r.splice(r.length-1,1),r}function qF(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,o,i){o&&(n[o]=i)}),n}const wh=typeof addEventListener=="function"&&typeof removeEventListener=="function",Bd=[];wh&&addEventListener("offline",()=>{Bd.forEach(e=>e())},!1);class Ka extends Ft{constructor(t,n){if(super(),this.binaryType=kF,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(n=t,t=null),t){const r=bh(t);n.hostname=r.host,n.secure=r.protocol==="https"||r.protocol==="wss",n.port=r.port,r.query&&(n.query=r.query)}else n.host&&(n.hostname=bh(n.host).host);Od(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},n.transports.forEach(r=>{const o=r.prototype.name;this.transports.push(o),this._transportsByName[o]=r}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=OF(this.opts.query)),wh&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},Bd.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=n9,n.transport=t,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](r)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const t=this.opts.rememberUpgrade&&Ka.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const n=this.createTransport(t);n.open(),this.setTransport(n)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",n=>this._onClose("transport close",n))}onOpen(){this.readyState="open",Ka.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const n=new Error("server error");n.code=t.data,this._onError(n);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r<this.writeBuffer.length;r++){const o=this.writeBuffer[r].data;if(o&&(n+=SF(o)),r>0&&n>this._maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,Ad(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,n,r){return this._sendPacket("message",t,n,r),this}send(t,n,r){return this._sendPacket("message",t,n,r),this}_sendPacket(t,n,r,o){if(typeof n=="function"&&(o=n,n=void 0),typeof r=="function"&&(o=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const i={type:t,data:n,options:r};this.emitReserved("packetCreate",i),this.writeBuffer.push(i),o&&this.once("flush",o),this.flush()}close(){const t=()=>{this._onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},r=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():t()}):this.upgrading?r():t()),this}_onError(t){if(Ka.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,n){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),wh&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const r=Bd.indexOf(this._offlineEventListener);r!==-1&&Bd.splice(r,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this._prevBufferLen=0}}}Ka.protocol=n9;class WF extends Ka{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let t=0;t<this._upgrades.length;t++)this._probe(this._upgrades[t])}_probe(t){let n=this.createTransport(t),r=!1;Ka.priorWebsocketSuccess=!1;const o=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",f=>{if(!r)if(f.type==="pong"&&f.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;Ka.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(d(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const h=new Error("probe error");h.transport=n.name,this.emitReserved("upgradeError",h)}}))};function i(){r||(r=!0,d(),n.close(),n=null)}const s=f=>{const h=new Error("probe error: "+f);h.transport=n.name,i(),this.emitReserved("upgradeError",h)};function l(){s("transport closed")}function c(){s("socket closed")}function u(f){n&&f.name!==n.name&&i()}const d=()=>{n.removeListener("open",o),n.removeListener("error",s),n.removeListener("close",l),this.off("close",c),this.off("upgrading",u)};n.once("open",o),n.once("error",s),n.once("close",l),this.once("close",c),this.once("upgrading",u),this._upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{r||n.open()},200):n.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){const n=[];for(let r=0;r<t.length;r++)~this.transports.indexOf(t[r])&&n.push(t[r]);return n}}let GF=class extends WF{constructor(t,n={}){const r=typeof t=="object"?t:n;(!r.transports||r.transports&&typeof r.transports[0]=="string")&&(r.transports=(r.transports||["polling","websocket","webtransport"]).map(o=>ZF[o]).filter(o=>!!o)),super(t,r)}};function KF(e,t="",n){let r=e;n=n||typeof location<"u"&&location,e==null&&(e=n.protocol+"//"+n.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=n.protocol+e:e=n.host+e),/^(https?|wss?):\/\//.test(e)||(typeof n<"u"?e=n.protocol+"//"+e:e="https://"+e),r=bh(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";const i=r.host.indexOf(":")!==-1?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+i+":"+r.port+t,r.href=r.protocol+"://"+i+(n&&n.port===r.port?"":":"+r.port),r}const YF=typeof ArrayBuffer=="function",JF=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,c9=Object.prototype.toString,XF=typeof Blob=="function"||typeof Blob<"u"&&c9.call(Blob)==="[object BlobConstructor]",QF=typeof File=="function"||typeof File<"u"&&c9.call(File)==="[object FileConstructor]";function _h(e){return YF&&(e instanceof ArrayBuffer||JF(e))||XF&&e instanceof Blob||QF&&e instanceof File}function Id(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n<r;n++)if(Id(e[n]))return!0;return!1}if(_h(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return Id(e.toJSON(),!0);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&Id(e[n]))return!0;return!1}function NF(e){const t=[],n=e.data,r=e;return r.data=kh(n,t),r.attachments=t.length,{packet:r,buffers:t}}function kh(e,t){if(!e)return e;if(_h(e)){const n={_placeholder:!0,num:t.length};return t.push(e),n}else if(Array.isArray(e)){const n=new Array(e.length);for(let r=0;r<e.length;r++)n[r]=kh(e[r],t);return n}else if(typeof e=="object"&&!(e instanceof Date)){const n={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=kh(e[r],t));return n}return e}function $F(e,t){return e.data=Eh(e.data,t),delete e.attachments,e}function Eh(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=Eh(e[n],t);else if(typeof e=="object")for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=Eh(e[n],t));return e}const eU=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],tU=5;var Ue;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(Ue||(Ue={}));class nU{constructor(t){this.replacer=t}encode(t){return(t.type===Ue.EVENT||t.type===Ue.ACK)&&Id(t)?this.encodeAsBinary({type:t.type===Ue.EVENT?Ue.BINARY_EVENT:Ue.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let n=""+t.type;return(t.type===Ue.BINARY_EVENT||t.type===Ue.BINARY_ACK)&&(n+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(n+=t.nsp+","),t.id!=null&&(n+=t.id),t.data!=null&&(n+=JSON.stringify(t.data,this.replacer)),n}encodeAsBinary(t){const n=NF(t),r=this.encodeAsString(n.packet),o=n.buffers;return o.unshift(r),o}}function u9(e){return Object.prototype.toString.call(e)==="[object Object]"}class xh extends Ft{constructor(t){super(),this.reviver=t}add(t){let n;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(t);const r=n.type===Ue.BINARY_EVENT;r||n.type===Ue.BINARY_ACK?(n.type=r?Ue.EVENT:Ue.ACK,this.reconstructor=new rU(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(_h(t)||t.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(t),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let n=0;const r={type:Number(t.charAt(0))};if(Ue[r.type]===void 0)throw new Error("unknown packet type "+r.type);if(r.type===Ue.BINARY_EVENT||r.type===Ue.BINARY_ACK){const i=n+1;for(;t.charAt(++n)!=="-"&&n!=t.length;);const s=t.substring(i,n);if(s!=Number(s)||t.charAt(n)!=="-")throw new Error("Illegal attachments");r.attachments=Number(s)}if(t.charAt(n+1)==="/"){const i=n+1;for(;++n&&!(t.charAt(n)===","||n===t.length););r.nsp=t.substring(i,n)}else r.nsp="/";const o=t.charAt(n+1);if(o!==""&&Number(o)==o){const i=n+1;for(;++n;){const s=t.charAt(n);if(s==null||Number(s)!=s){--n;break}if(n===t.length)break}r.id=Number(t.substring(i,n+1))}if(t.charAt(++n)){const i=this.tryParse(t.substr(n));if(xh.isPayloadValid(r.type,i))r.data=i;else throw new Error("invalid payload")}return r}tryParse(t){try{return JSON.parse(t,this.reviver)}catch{return!1}}static isPayloadValid(t,n){switch(t){case Ue.CONNECT:return u9(n);case Ue.DISCONNECT:return n===void 0;case Ue.CONNECT_ERROR:return typeof n=="string"||u9(n);case Ue.EVENT:case Ue.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="number"||typeof n[0]=="string"&&eU.indexOf(n[0])===-1);case Ue.ACK:case Ue.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class rU{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=$F(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const aU=Object.freeze(Object.defineProperty({__proto__:null,Decoder:xh,Encoder:nU,get PacketType(){return Ue},protocol:tU},Symbol.toStringTag,{value:"Module"}));function vr(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const oU=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class d9 extends Ft{constructor(t,n,r){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=n,r&&r.auth&&(this.auth=r.auth),this._opts=Object.assign({},r),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[vr(t,"open",this.onopen.bind(this)),vr(t,"packet",this.onpacket.bind(this)),vr(t,"error",this.onerror.bind(this)),vr(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){var r,o,i;if(oU.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(n.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const s={type:Ue.EVENT,data:n};if(s.options={},s.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const d=this.ids++,f=n.pop();this._registerAckCallback(d,f),s.id=d}const l=(o=(r=this.io.engine)===null||r===void 0?void 0:r.transport)===null||o===void 0?void 0:o.writable,c=this.connected&&!(!((i=this.io.engine)===null||i===void 0)&&i._hasPingExpired());return this.flags.volatile&&!l||(c?(this.notifyOutgoingListeners(s),this.packet(s)):this.sendBuffer.push(s)),this.flags={},this}_registerAckCallback(t,n){var r;const o=(r=this.flags.timeout)!==null&&r!==void 0?r:this._opts.ackTimeout;if(o===void 0){this.acks[t]=n;return}const i=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let l=0;l<this.sendBuffer.length;l++)this.sendBuffer[l].id===t&&this.sendBuffer.splice(l,1);n.call(this,new Error("operation has timed out"))},o),s=(...l)=>{this.io.clearTimeoutFn(i),n.apply(this,l)};s.withError=!0,this.acks[t]=s}emitWithAck(t,...n){return new Promise((r,o)=>{const i=(s,l)=>s?o(s):r(l);i.withError=!0,n.push(i),this.emit(t,...n)})}_addToQueue(t){let n;typeof t[t.length-1]=="function"&&(n=t.pop());const r={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((o,...i)=>r!==this._queue[0]?void 0:(o!==null?r.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(o)):(this._queue.shift(),n&&n(null,...i)),r.pending=!1,this._drainQueue())),this._queue.push(r),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!t||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:Ue.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(r=>String(r.id)===t)){const r=this.acks[t];delete this.acks[t],r.withError&&r.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case Ue.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case Ue.EVENT:case Ue.BINARY_EVENT:this.onevent(t);break;case Ue.ACK:case Ue.BINARY_ACK:this.onack(t);break;case Ue.DISCONNECT:this.ondisconnect();break;case Ue.CONNECT_ERROR:this.destroy();const r=new Error(t.data.message);r.data=t.data.data,this.emitReserved("connect_error",r);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const r of n)r.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const n=this;let r=!1;return function(...o){r||(r=!0,n.packet({type:Ue.ACK,id:t,data:o}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(delete this.acks[t.id],n.withError&&t.data.unshift(null),n.apply(this,t.data))}onconnect(t,n){this.id=t,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:Ue.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const n=this._anyOutgoingListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const r of n)r.apply(this,t.data)}}}function $i(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}$i.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+n:e-n}return Math.min(e,this.max)|0},$i.prototype.reset=function(){this.attempts=0},$i.prototype.setMin=function(e){this.ms=e},$i.prototype.setMax=function(e){this.max=e},$i.prototype.setJitter=function(e){this.jitter=e};class Ch extends Ft{constructor(t,n){var r;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,Od(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((r=n.randomizationFactor)!==null&&r!==void 0?r:.5),this.backoff=new $i({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const o=n.parser||aU;this.encoder=new o.Encoder,this.decoder=new o.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,t||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new GF(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const o=vr(n,"open",function(){r.onopen(),t&&t()}),i=l=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",l),t?t(l):this.maybeReconnectOnOpen()},s=vr(n,"error",i);if(this._timeout!==!1){const l=this._timeout,c=this.setTimeoutFn(()=>{o(),i(new Error("timeout")),n.close()},l);this.opts.autoUnref&&c.unref(),this.subs.push(()=>{this.clearTimeoutFn(c)})}return this.subs.push(o),this.subs.push(s),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(vr(t,"ping",this.onping.bind(this)),vr(t,"data",this.ondata.bind(this)),vr(t,"error",this.onerror.bind(this)),vr(t,"close",this.onclose.bind(this)),vr(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){Ad(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let r=this.nsps[t];return r?this._autoConnect&&!r.active&&r.connect():(r=new d9(this,t,n),this.nsps[t]=r),r}_destroy(t){const n=Object.keys(this.nsps);for(const r of n)if(this.nsps[r].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let r=0;r<n.length;r++)this.engine.write(n[r],t.options)}cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(t,n){var r;this.cleanup(),(r=this.engine)===null||r===void 0||r.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const r=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(o=>{o?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",o)):t.onreconnect()}))},n);this.opts.autoUnref&&r.unref(),this.subs.push(()=>{this.clearTimeoutFn(r)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const Ml={};function Vd(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=KF(e,t.path||"/socket.io"),r=n.source,o=n.id,i=n.path,s=Ml[o]&&i in Ml[o].nsps,l=t.forceNew||t["force new connection"]||t.multiplex===!1||s;let c;return l?c=new Ch(r,t):(Ml[o]||(Ml[o]=new Ch(r,t)),c=Ml[o]),n.query&&!t.query&&(t.query=n.queryKey),c.socket(n.path,t)}Object.assign(Vd,{Manager:Ch,Socket:d9,io:Vd,connect:Vd});const Lr=a.ref(null),Sh=new Set,Pl=a.ref("");let Rd="";const iU=(e,t)=>`${e}::${t}`;function sU(){var i,s,l;const e=et(),t=(i=e.apiWebSocketURL)==null?void 0:i.trim(),n=((s=Pl.value)==null?void 0:s.trim())||((l=e.webSocketToken)==null?void 0:l.trim());if(!t||!n)return null;const r=iU(t,n);if(Lr.value&&Rd===r)return Lr.value;Lr.value&&Rd!==r&&(Lr.value.disconnect(),Lr.value=null);const o=Vd(`${t}/notificacion`,{query:{usuarioId:e.deviceId,aplicacion:"auth",modulo:"login"},auth:{token:n??""},autoConnect:!1,transports:["websocket"],reconnection:!0,reconnectionAttempts:5,reconnectionDelay:1e4,reconnectionDelayMax:3e4,randomizationFactor:.5,multiplex:!1});return o.on("notification",c=>{Sh.forEach(u=>{try{u(c)}catch{}})}),Rd=r,Lr.value=o,o}function lU(){const e=et();return{connect:()=>{const l=sU();return l?(l.connected||l.connect(),!0):!1},disconnect:()=>{Lr.value&&(Lr.value.disconnect(),Lr.value=null,Rd=""),Pl.value=""},subscribe:l=>(Sh.add(l),()=>Sh.delete(l)),isConfigured:()=>{var c,u,d;const l=((c=Pl.value)==null?void 0:c.trim())||((u=e.webSocketToken)==null?void 0:u.trim());return!!((d=e.apiWebSocketURL)!=null&&d.trim()&&l)},setTemporaryToken:l=>{Pl.value=(l==null?void 0:l.trim())??""},clearTemporaryToken:()=>{Pl.value=""},socket:Lr}}function cU(e){var r;const t=(r=e==null?void 0:e.response)==null?void 0:r.code,n=String((e==null?void 0:e.message)??"");return t==="ACCESO_SUSPENDIDO"||n.startsWith("El acceso está suspendido")?"Acceso suspendido":t==="CREDENCIALES_INCORRECTAS"||n.startsWith("Las credenciales son incorrectas")?"Credenciales incorrectas":null}function uU(e){const t=et(),n=qs(),r=lU(),o=a.ref(!1),{redirectCD:i}=iF(),{refCounter:s,currentContacto:l,message2Fa:c,message2FaContexto:u,url2FaContexto:d}=iu("2auth"),f=a.reactive({verificadoWhatsapp:!1,verificadoTelegram:!1,verificadoEmail:!1,verificadoRoma:!1,verificadoSms:!1}),h=a.ref(!1),p=a.ref([]),g=a.ref(!1),w=a.ref(!1),y=a.ref(!1),k=a.ref(!1),v=a.ref(""),m=a.ref(3),b=a.ref(void 0);let _=null,E=null,x=null;const O=a.markRaw([{name:"step1"},{name:"step2"}]),B=[oe.object().shape({usuario:oe.string().required("Cédula de identidad es requerida").label("Cédula de identidad"),password:oe.string().required("Contraseña es requerida").label("Contraseña")}),oe.object().shape({code:oe.string().required("Debe ingresar un código de verificación").matches(fo,"El código debe contener solo letras y números").label("Código")})],S=a.ref(0),A=a.computed(()=>B[S.value]),{handleSubmit:D,values:q,errors:F,setErrors:X,resetForm:fe,setFieldValue:ae}=je.useForm({validationSchema:A,keepValuesOnUnmount:!0}),{value:Z}=je.useField("usuarioId"),{value:z}=je.useField("esDispositivoConfianza",void 0,{initialValue:!1}),ne=H=>t.resolveDeviceIdFromCookie(H??q.usuario??""),Y={[ee.WHATSAPP]:"verificadoWhatsapp",[ee.TELEGRAM]:"verificadoTelegram",[ee.EMAIL]:"verificadoEmail",[ee.ROMA]:"verificadoRoma",[ee.SMS]:"verificadoSms"},de=H=>({1:ee.ROMA,2:ee.TELEGRAM,3:ee.EMAIL,4:ee.WHATSAPP,5:ee.SMS})[H]??H,he=H=>({[ee.ROMA]:1,[ee.TELEGRAM]:2,[ee.EMAIL]:3,[ee.WHATSAPP]:4,[ee.SMS]:5})[H]??H,_e=(H,pe)=>{const ue=Y[H];ue&&(f[ue]=pe)},st=()=>{Object.keys(f).forEach(H=>{f[H]=!1})},se=(H,pe)=>{st();const ue=H.map(re=>Number(re==null?void 0:re.medio)).filter(re=>!Number.isNaN(re)).map(re=>pe?de(re):re);p.value=[...new Set(ue)],H.forEach(re=>{const Oe=Number(re==null?void 0:re.medio);if(Number.isNaN(Oe))return;const I=pe?de(Oe):Oe;_e(I,!!(re!=null&&re.verificado))})},ge=H=>{st();const pe={verificadoWhatsapp:ee.WHATSAPP,verificadoTelegram:ee.TELEGRAM,verificadoEmail:ee.EMAIL,verificadoRoma:ee.ROMA,verificadoSms:ee.SMS},ue=Object.entries(H).filter(([,re])=>re!=null).map(([re])=>pe[re]);p.value=[...new Set(ue)],Object.entries(H).forEach(([re,Oe])=>{Oe!=null&&(f[re]=!!Oe)})},Rt=(H,pe)=>{const ue=uF(H);if(!ue)return!1;if(ue.esRegularizable){const re=dF(ue,pe);if(re)return t.goRegistrarRegularizacion(re),K.info(`<p class="toast-title">Verificación pendiente</p><p class="toast-description">${ue.message||"Complete la verificación de identidad con las fotografías de su documento."}</p>`,{autoClose:8e3,hideProgressBar:!1,dangerouslyHTMLString:!0}),!0}return ue.esPendienteAprobacion?(cn({error:H,setErrors:X,toastTitle:"Verificación en revisión",autoClose:1e4,hideProgressBar:!1}),!0):ue.esRechazado?(K.error(`<p class="toast-title">Registro rechazado</p><p class="toast-description">${fF(ue)}</p>`,{autoClose:1e4,hideProgressBar:!1,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0}),!0):!1},an=D(async H=>{var pe,ue,re,Oe,I,ze,on,bt;n.setLoading(!0),u.value="",d.value="";try{const en=ne(H.usuario),Me=await t.onLogin({...H,codigoDispositivo:en});t.usaAuthNvEnLogin?((ue=(pe=Me==null?void 0:Me.response)==null?void 0:pe.data)==null?void 0:ue.mediosVerificados.length)>0?(S.value=S.value+1,l.value=(Oe=(re=Me==null?void 0:Me.response)==null?void 0:re.data)==null?void 0:Oe.usuario,Z.value=(ze=(I=Me==null?void 0:Me.response)==null?void 0:I.data)==null?void 0:ze.usuarioId,c.value=Me==null?void 0:Me.message,o.value=!0,se((bt=(on=Me==null?void 0:Me.response)==null?void 0:on.data)==null?void 0:bt.mediosVerificados,!0),g.value=!1,h.value=!0,y.value=!1,u.value="",d.value="",a.nextTick(()=>{var P,Be,lt;(lt=s.value)==null||lt.reInit(((Be=(P=Me==null?void 0:Me.response)==null?void 0:P.data)==null?void 0:Be.tiempoVigencia)??120)}),G()):(o.value=!1,e("onLogin")):Me!=null&&Me.usuarioId&&(Me!=null&&Me.factor2FA)?(S.value=S.value+1,l.value=Me.contacto,Array.isArray(Me.mediosVerificados)?se(Me.mediosVerificados,!1):ge(Me.mediosVerificados??{}),c.value=Me.message,u.value="",d.value="",g.value=!1,h.value=!0,y.value=!1,Z.value=Me.usuarioId,a.nextTick(()=>{var P;(P=s.value)==null||P.reInit((Me.minutos??2)*60)}),G()):(o.value=!1,e("onLogin"))}catch(en){u.value="",d.value="",en.status===403&&(o.value=!0);const Me=cU(en);if(!Rt(en,H.usuario)){const P=/Su acceso/i.test((en==null?void 0:en.message)??"");cn({error:en,setErrors:X,...Me&&{toastTitle:Me,autoClose:8e3},...P&&{toastTitle:"Cuenta Pendiente de Activación",autoClose:1e4,hideProgressBar:!1}})}e("onError")}finally{n.setLoading(!1)}}),De=async({medio:H})=>{var pe,ue,re,Oe;try{n.setLoading(!0);const I=await gw({medio:Number(H),usuarioId:Z.value});if(((ue=(pe=I==null?void 0:I.response)==null?void 0:pe.data)==null?void 0:ue.medioActualizado)===!0){switch(H){case ee.WHATSAPP:f.verificadoWhatsapp=!0;break;case ee.TELEGRAM:f.verificadoTelegram=!0;break;case ee.EMAIL:f.verificadoEmail=!0;break;case ee.SMS:f.verificadoSms=!0;break}g.value=!0,h.value=!0,a.nextTick(()=>{ae("medio",void 0)}),K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${I.message||"Medio verificado exitosamente"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:jn,closeOnClick:!1,dangerouslyHTMLString:!0}),n.setLoading(!1);return}c.value=I.message,g.value=!1,h.value=!1,y.value=!0,(re=I==null?void 0:I.response)!=null&&re.data&&!(I!=null&&I.error)?(u.value=I.response.data.mensajeServicio??"",d.value=I.response.data.url??""):(u.value="",d.value=""),a.nextTick(()=>{var ze;(ze=s.value)==null||ze.reInit((I.minutos??2)*60)})}catch(I){throw u.value="",d.value="",K.error(`Error al enviar código: ${((Oe=I==null?void 0:I.data)==null?void 0:Oe.message)||(I==null?void 0:I.message)||"intente nuevamente"}`),n.setLoading(!1),I}finally{n.setLoading(!1)}},Ze=async({medio:H})=>{var pe,ue,re,Oe;try{n.setLoading(!0);const I=await tp({medio:he(Number(H)),usuarioId:Z.value});if(((ue=(pe=I==null?void 0:I.response)==null?void 0:pe.data)==null?void 0:ue.medioActualizado)===!0){_e(H,!0),g.value=!0,h.value=!0,a.nextTick(()=>{ae("medio",void 0)}),K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${I.message||"Medio verificado exitosamente"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:jn,closeOnClick:!1,dangerouslyHTMLString:!0}),n.setLoading(!1);return}c.value=I.message,g.value=!1,h.value=!1,y.value=!0,(re=I==null?void 0:I.response)!=null&&re.data&&!(I!=null&&I.error)?(u.value=I.response.data.mensajeServicio??"",d.value=I.response.data.url??""):(u.value="",d.value=""),a.nextTick(()=>{var ze;(ze=s.value)==null||ze.reInit((I.minutos??2)*60)})}catch(I){throw u.value="",d.value="",K.error(`Error al enviar código: ${((Oe=I==null?void 0:I.data)==null?void 0:Oe.message)||(I==null?void 0:I.message)||"intente nuevamente"}`),n.setLoading(!1),I}finally{n.setLoading(!1)}},ct=async({medio:H})=>{var pe,ue,re,Oe;try{n.setLoading(!0);const I=await rp({medio:Number(H),usuarioId:Z.value,deviceId:ne(q.usuario),isLogin:!0,aplicacion:t.aplicacion});if(((ue=(pe=I==null?void 0:I.response)==null?void 0:pe.data)==null?void 0:ue.medioActualizado)===!0){switch(H){case ee.WHATSAPP:f.verificadoWhatsapp=!0;break;case ee.TELEGRAM:f.verificadoTelegram=!0;break;case ee.EMAIL:f.verificadoEmail=!0;break;case ee.SMS:f.verificadoSms=!0;break}g.value=!0,h.value=!0,a.nextTick(()=>{ae("medio",void 0)}),K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${I.message||"Medio verificado exitosamente"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:jn,closeOnClick:!1,dangerouslyHTMLString:!0}),n.setLoading(!1);return}c.value=I.message,g.value=!1,h.value=!1,y.value=!0,(re=I==null?void 0:I.response)!=null&&re.data&&!(I!=null&&I.error)?(u.value=I.response.data.mensajeServicio??"",d.value=I.response.data.url??""):(u.value="",d.value=""),a.nextTick(()=>{var ze;(ze=s.value)==null||ze.reInit((I.minutos??2)*60)})}catch(I){throw u.value="",d.value="",K.error(`Error al enviar código: ${((Oe=I==null?void 0:I.data)==null?void 0:Oe.message)||(I==null?void 0:I.message)||"intente nuevamente"}`),n.setLoading(!1),I}finally{n.setLoading(!1)}},te=async({medio:H})=>{var pe,ue,re,Oe;try{n.setLoading(!0);const I=await ap({medio:he(Number(H)),usuarioId:Z.value,deviceId:ne(q.usuario),isLogin:!0,aplicacion:t.aplicacion});if(((ue=(pe=I==null?void 0:I.response)==null?void 0:pe.data)==null?void 0:ue.medioActualizado)===!0){_e(H,!0),g.value=!0,h.value=!0,a.nextTick(()=>{ae("medio",void 0)}),K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${I.message||"Medio verificado exitosamente"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:jn,closeOnClick:!1,dangerouslyHTMLString:!0}),n.setLoading(!1);return}c.value=I.message,g.value=!1,h.value=!1,y.value=!0,(re=I==null?void 0:I.response)!=null&&re.data&&!(I!=null&&I.error)?(u.value=I.response.data.mensajeServicio??"",d.value=I.response.data.url??""):(u.value="",d.value=""),a.nextTick(()=>{var ze;(ze=s.value)==null||ze.reInit((I.minutos??2)*60)})}catch(I){throw u.value="",d.value="",K.error(`Error al enviar código: ${((Oe=I==null?void 0:I.data)==null?void 0:Oe.message)||(I==null?void 0:I.message)||"intente nuevamente"}`),n.setLoading(!1),I}finally{n.setLoading(!1)}},ve=D(async H=>{try{n.setLoading(!0),await t.on2AuthNuevoServicioLogin({medio:t.usaAuthNvEnLogin?he(Number(H.medio)):Number(H.medio),usuarioId:Z.value,codigo:H.code,aplicacion:t.aplicacion,codigoDispositivo:ne(H.usuario),esDispositivoConfianza:H.esDispositivoConfianza,usuario:H.usuario}),k.value=!1,N(),V(),e("onLogin")}catch(pe){cn({error:pe,setErrors:X})}finally{n.setLoading(!1)}}),N=()=>{b.value&&(globalThis.clearTimeout(b.value),b.value=void 0)},C=()=>{_&&(_(),_=null),E&&(E(),E=null),r.clearTemporaryToken()},V=()=>{C(),r.disconnect()},T=async()=>{const H=q.usuario??"",pe=ne(H);t.usaAuthNvEnLogin?await t.onConfirmarPushLoginNv({usuarioId:Number(Z.value),challengeId:v.value,aplicacion:t.aplicacion,deviceId:pe,esDispositivoConfianza:q.esDispositivoConfianza??!1,numeroDocumento:H}):await t.onConfirmarPushLogin({usuarioId:Number(Z.value),challengeId:v.value,aplicacion:t.aplicacion,codigoDispositivo:pe,esDispositivoConfianza:q.esDispositivoConfianza??!1,usuario:H}),k.value=!1,V(),e("onLogin")},U=H=>H===3||H===4||H===5||H===6,j=H=>{if(b.value)return;const pe=()=>{if(!k.value||v.value!==H){N();return}const ue={challengeId:H,usuarioId:Number(Z.value),aplicacion:t.aplicacion};(t.usaAuthNvEnLogin?_w(ue):xw(ue)).then(Oe=>{var ze,on;const I=Number((on=(ze=Oe==null?void 0:Oe.response)==null?void 0:ze.data)==null?void 0:on.estado);if(I===2){N(),V(),T();return}if(U(I)){N(),V(),K.error("La solicitud de inicio de sesión fue rechazada, expirada o ya utilizada."),rt();return}b.value=globalThis.setTimeout(pe,Math.max(m.value,1)*1e3)}).catch(()=>{N(),V(),rt()})};b.value=globalThis.setTimeout(pe,Math.max(m.value,1)*1e3)},R=H=>{const{connect:pe,subscribe:ue,isConfigured:re,socket:Oe}=r;if(!re())return!1;let I=!1;const ze=()=>{I||!k.value||v.value!==H||(I=!0,V(),j(H))};pe(),_=ue(bt=>{if(bt&&"type"in bt&&bt.type==="PUSH_CHALLENGE_APPROVED"&&bt.challengeId===H){N(),V(),T();return}bt&&"type"in bt&&bt.type==="PUSH_CHALLENGE_REJECTED"&&(!("challengeId"in bt)||!bt.challengeId||bt.challengeId===H)&&(N(),V(),K.error("La solicitud de inicio de sesión fue rechazada."),rt())});const on=Oe.value;if(on){const bt=()=>ze(),en=()=>ze();on.on("connect_error",bt),on.on("disconnect",en),E=()=>{on.off("connect_error",bt),on.off("disconnect",en)}}return globalThis.setTimeout(()=>{var bt;!k.value||v.value!==H||(bt=Oe.value)!=null&&bt.connected||ze()},Math.max(m.value,1)*1e3),!0},G=()=>{const H={usuarioId:Number(Z.value),aplicacion:t.aplicacion,deviceId:ne(q.usuario)};(t.usaAuthNvEnLogin?ww(H):Ew(H)).then(ue=>{var I;const re=((I=ue==null?void 0:ue.response)==null?void 0:I.data)??{},Oe=re==null?void 0:re.challengeId;Oe&&(r.setTemporaryToken(String((re==null?void 0:re.wsToken)??"")),v.value=Oe,m.value=Number((re==null?void 0:re.pollingIntervalSugerido)??3),k.value=!0,a.nextTick(()=>{var ze;(ze=s.value)==null||ze.reInit(Number((re==null?void 0:re.tiempoVigencia)??60))}),!R(Oe)&&j(Oe))}).catch(()=>{})},W=async(H,pe,ue)=>{n.setLoading(!0);try{await t.onAutorizarQrNv(H,pe,ue),o.value=!1,e("onLogin")}catch(re){re.status===403&&(o.value=!0),cn({error:re,setErrors:X}),e("onError")}finally{n.setLoading(!1)}},Se=()=>{x&&(x(),x=null),r.clearTemporaryToken(),r.disconnect()},$e=async()=>{var H;if(!(!t.usaAuthNvEnLogin||!((H=t.apiWebSocketURL)!=null&&H.trim())))try{const{wsToken:pe}=await hw(t.aplicacion,t.deviceId);if(!(pe!=null&&pe.trim())||(r.setTemporaryToken(pe),!r.isConfigured()))return;r.connect(),x||(x=r.subscribe(async ue=>{ue&&"type"in ue||ue&&"token"in ue&&ue.token&&ue.sessionId!=null&&ue.usuarioId!=null&&(Se(),await W(ue.token,ue.sessionId,ue.usuarioId))}))}catch{}},Re=D(async H=>{try{n.setLoading(!0),t.usaAuthNvEnLogin?(await t.on2AuthLoginNv({otp:Number(H.code),numeroDocumento:H.usuario,deviceId:ne(H.usuario),aplicacion:t.aplicacion,dispositivoConfianza:H.esDispositivoConfianza}),e("onLogin")):(await t.on2AuthLogin({code:Number(H.code),usuarioId:Z.value,aplicacion:H.aplicacion,codigoDispositivo:ne(H.usuario),esDispositivoConfianza:H.esDispositivoConfianza,usuario:H.usuario}),e("onLogin"))}catch(pe){cn({error:pe,setErrors:X})}finally{n.setLoading(!1)}}),rt=()=>{N(),V(),t.usaAuthNvEnLogin&&Se(),S.value=0,fe(),y.value=!1,k.value=!1,v.value="",u.value="",d.value=""},Le=()=>{N(),V(),k.value=!1},xt=H=>{const pe=Y[H];return pe?f[pe]:void 0},xn=async()=>{if(q.medio){const H=Number(q.medio),pe=xt(H);try{pe===!1?t.usaAuthNvEnLogin?await Ze({medio:H}):await De({medio:H}):t.usaAuthNvEnLogin?await te({medio:H}):await ct({medio:H})}catch(ue){throw ue}}},yt=a.computed(()=>window.getComputedStyle(document.documentElement).getPropertyValue("--fge-primary-button-text-color"));return{values:q,schemas:B,showBtnByCode:o,refCounter:s,currentContacto:l,message2Fa:c,steps:O,currentStep:S,usuarioId:Z,esDispositivoConfianza:z,errors:F,iconColor:yt,onAutorizarNv:W,refreshQrWebSocketConnection:$e,stopQrWebSocketConnection:Se,onLogin:an,on2AuthLogin:Re,goLoginPage:rt,dejarFlujoPushParaOtrosMedios:Le,onEnviarMensaje:xn,loginCiudadania:async()=>{n.setLoading(!0);try{const H=await i();H&&(await t.onLoginCiudadania(H.data),e("onLogin"))}catch(H){K.error(`<p class="toast-title">Error</p><p class="toast-description">${(H==null?void 0:H.message)||"Ha ocurrido un error al intentar logearse con CD"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0})}finally{n.setLoading(!1)}},mostrarBotonOpciones:h,mediosVerificados:f,mediosDisponibles:p,onEnviarCodigoAlUsuario:De,mostrarMedios:g,onEnviarCodigoVerificadoAlUsuario:ct,servicio2faNuevo:w,onConfirmarCodigoNuevo:ve,isPushFlow:k,onEnviarCodigoAlUsuarioNv:Ze,onEnviarCodigoVerificadoAlUsuarioNv:te,message2FaContexto:u,url2FaContexto:d,medioYaSeleccionado:y}}const dU={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 33 32"},fU=[a.createElementVNode("path",{stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"2",d:"M16.38 31a15 15 0 1 0 0-30 15 15 0 0 0 0 30Z",class:"stroke-content"},null,-1),a.createElementVNode("path",{stroke:"currentColor",d:"M23.59 8.97A9.54 9.54 0 0 0 8.61 20.45l-1.35 4.93 5.04-1.32A9.54 9.54 0 0 0 23.59 8.98v-.01Zm-6.73 14.64a7.92 7.92 0 0 1-4.03-1.1l-.29-.17-2.99.78.8-2.92-.19-.3a7.9 7.9 0 1 1 6.69 3.7l.01.01Zm4.34-5.92c-.24-.12-1.41-.69-1.62-.77-.22-.08-.38-.12-.53.12-.16.24-.61.77-.75.93-.14.16-.28.18-.52.06s-1-.37-1.91-1.18a7.02 7.02 0 0 1-1.32-1.65c-.14-.24-.01-.37.1-.49.11-.11.24-.28.36-.42.12-.14.16-.24.24-.4.08-.16.04-.3-.02-.42l-.73-1.76c-.19-.46-.39-.4-.53-.41h-.46a.85.85 0 0 0-.63.3c-.22.24-.83.81-.83 1.98s.85 2.3.97 2.46c.12.16 1.68 2.56 4.06 3.59.57.24 1.01.39 1.36.5.57.18 1.09.16 1.5.09.46-.07 1.41-.58 1.6-1.13.2-.56.2-1.03.14-1.13-.06-.1-.22-.16-.46-.28l-.02.01Z",class:"stroke-content","clip-rule":"evenodd"},null,-1)];function hU(e,t){return a.openBlock(),a.createElementBlock("svg",dU,[...fU])}const f9={render:hU},qt=e=>(a.pushScopeId("data-v-d37f9782"),e=e(),a.popScopeId(),e),pU={class:"fge-right-container"},mU={key:0,class:"timeline-title object-contain",style:{"margin-top":"-10px"}},gU=qt(()=>a.createElementVNode("i",{class:"pi pi-qrcode"},null,-1)),vU={class:"object-contain"},yU={class:"qr-container"},bU=["src"],wU={class:""},_U=[qt(()=>a.createElementVNode("div",{class:"reload-icon"},[a.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},[a.createElementVNode("path",{fill:"white",d:"M500.33 199.44C485.75 112.33 412.25 48 320 48c-74.66 0-140.33 41.47-175.27 105.51l-26.64-15.37C103.28 130.83 96 138.77 96 148v96c0 8.84 7.16 16 16 16h96c9.23 0 17.17-7.28 17.86-16.09.67-8.35-3.92-15.98-11.15-19.89l-31.58-18.23C205.12 159.49 258.32 128 320 128c61.76 0 114.2 41.81 128.7 101.33 4.14 17.14 21.29 27.71 38.43 23.57s27.71-21.29 23.57-38.46z"})])],-1)),qt(()=>a.createElementVNode("p",{class:"reload-text"},[a.createTextVNode("Haz clic para"),a.createElementVNode("br"),a.createTextVNode("actualizar el código"),a.createElementVNode("br"),a.createTextVNode("QR")],-1))],kU={key:1,class:"qr-timeline"},EU=[qt(()=>a.createElementVNode("ol",{class:"timeline","aria-label":"Pasos para iniciar sesión con QR"},[a.createElementVNode("li",{class:"timeline-item"},[a.createElementVNode("span",{class:"timeline-icon","aria-hidden":"true"},[a.createElementVNode("i",{class:"pi pi-mobile"})]),a.createElementVNode("div",{class:"timeline-content"},[a.createElementVNode("div",{class:"timeline-step"},"1. Abre la aplicación móvil "),a.createElementVNode("div",{class:"timeline-desc"}," Descarga o abre la aplicación de la Fiscalía en tu dispositivo móvil. ")])]),a.createElementVNode("li",{class:"timeline-item"},[a.createElementVNode("span",{class:"timeline-icon","aria-hidden":"true"},[a.createElementVNode("i",{class:"pi pi-lock"})]),a.createElementVNode("div",{class:"timeline-content"},[a.createElementVNode("div",{class:"timeline-step"},[a.createTextVNode("2. Dirígete al "),a.createElementVNode("strong",null,"Autenticador")]),a.createElementVNode("div",{class:"timeline-desc"},[a.createTextVNode(" Busca en el menu "),a.createElementVNode("i",{class:"pi pi-align-left",style:{"margin-right":"4px","margin-left":"4px"}}),a.createTextVNode(" la seccion de autenticador. ")])])]),a.createElementVNode("li",{class:"timeline-item"},[a.createElementVNode("span",{class:"timeline-icon","aria-hidden":"true"},[a.createElementVNode("i",{class:"pi pi-qrcode"})]),a.createElementVNode("div",{class:"timeline-content"},[a.createElementVNode("div",{class:"timeline-step"},"3. Escanea el código QR"),a.createElementVNode("div",{class:"timeline-desc"}," Señala la cámara de tu dispositivo hacia el QR mostrado en pantalla. ")])])],-1))],xU={key:2,class:"msg-container",style:{"margin-top":"20px"}},CU=[qt(()=>a.createElementVNode("span",{class:"fge-text-gray fge-lines"},"O puede ingresar con",-1))],SU={class:"auth-form-container"},TU={class:"auth-input-container"},AU=qt(()=>a.createElementVNode("label",{for:"usuario",class:"fge-form-label"},"Cédula de Identidad:",-1)),OU={class:"auth-input-container"},BU=qt(()=>a.createElementVNode("label",{for:"password",class:"fge-form-label"},"Contraseña:",-1)),IU={class:"login-button-container"},VU=[qt(()=>a.createElementVNode("span",null,"Ingresar",-1))],RU={class:"login-link-button-container"},DU=[qt(()=>a.createElementVNode("span",null,"¿Ha olvidado su contraseña?",-1))],MU=[qt(()=>a.createElementVNode("span",null,"Registrarse",-1))],PU=qt(()=>a.createElementVNode("div",{class:"msg-container"},[a.createElementVNode("span",{class:"fge-text-gray fge-lines"},"O puede ingresar con")],-1)),LU=[qt(()=>a.createElementVNode("span",null,"Ingresar con Ciudadanía Digital",-1))],FU={key:0,class:"push-roma-banner"},UU=[qt(()=>a.createElementVNode("div",{class:"push-roma-banner-icon"},[a.createElementVNode("i",{class:"pi pi-mobile"})],-1)),qt(()=>a.createElementVNode("div",{class:"push-roma-banner-content"},[a.createElementVNode("p",{class:"push-roma-banner-title"},"Aprobación rápida desde tu móvil"),a.createElementVNode("p",{class:"push-roma-banner-desc"},[a.createTextVNode(" También puedes aprobar el inicio de sesión desde la aplicación "),a.createElementVNode("strong",null,"ROMA"),a.createTextVNode(" en tu dispositivo móvil. ")]),a.createElementVNode("p",{class:"push-roma-banner-hint"},[a.createElementVNode("i",{class:"pi pi-info-circle"}),a.createTextVNode(" Revisa la notificación en tu teléfono ")])],-1))],ZU={class:"login-button-container"},zU={class:"two-auth-container"},jU={key:0,class:"auth-checkbox-container"},HU={key:0,class:"text-center"},qU=[qt(()=>a.createElementVNode("span",null,"Seleccionar otros medios de verificación",-1))],WU={key:1},GU=qt(()=>a.createElementVNode("div",{class:"fge-horizontal-line"},null,-1)),KU=qt(()=>a.createElementVNode("div",{class:"fge-text-gray",style:{"text-align":"center"}}," Medios de verificación ",-1)),YU=qt(()=>a.createElementVNode("div",{class:"fge-horizontal-line"},null,-1)),JU={class:"auth-radiogroup"},XU={class:"radio-button-content"},QU=["for"],NU={class:"two-auth-container"},$U={class:"auth-checkbox-container"},eZ={class:"auth-checkbox-container",for:"esDispositivoConfianza"},tZ=qt(()=>a.createElementVNode("span",{class:"fge-text-gray"}," Dispositivo de confianza ",-1)),nZ=Ut(a.defineComponent({__name:"FgeLogin",emits:["onLogin","onError"],setup(e,{emit:t}){const n=et(),r=a.computed(()=>!!n.usaAuthNvEnLogin),o=t,{esDispositivoConfianza:i,refCounter:s,message2Fa:l,steps:c,currentStep:u,errors:d,iconColor:f,onLogin:h,on2AuthLogin:p,goLoginPage:g,dejarFlujoPushParaOtrosMedios:w,onEnviarMensaje:y,loginCiudadania:k,refreshQrWebSocketConnection:v,stopQrWebSocketConnection:m,mediosVerificados:b,mediosDisponibles:_,mostrarMedios:E,mostrarBotonOpciones:x,onEnviarCodigoAlUsuario:O,onEnviarCodigoVerificadoAlUsuario:B,onEnviarCodigoAlUsuarioNv:S,onEnviarCodigoVerificadoAlUsuarioNv:A,servicio2faNuevo:D,onConfirmarCodigoNuevo:q,isPushFlow:F,message2FaContexto:X,url2FaContexto:fe,medioYaSeleccionado:ae}=uU(o),Z=a.ref(""),z=a.ref(!1),ne=a.ref(void 0);let Y=!1;z.value=window.innerWidth<=768;let de=0;const he=a.ref(!1),_e=async()=>{if(!(!r.value||Y)){Y=!0;try{const N=await dw(n.aplicacion,n.deviceId);if(!N)throw new Error("Error al cargar QR");const{qrImage:C,expiresIn:V}=N;Z.value=`${C}`,await v(),de++,de<5?setTimeout(()=>{_e()},V*1e3):he.value=!0}catch(N){console.error("Error cargando QR:",N)}finally{Y=!1}}};a.onMounted(()=>{!z.value&&r.value&&_e()}),a.onBeforeUnmount(()=>{ne.value&&clearInterval(ne.value)}),a.onUnmounted(()=>{n.usaAuthNvEnLogin&&m()});const st=()=>{console.log("contador",de),x.value=!0},se=()=>{he.value=!1,de=0,_e()},ge=a.ref(!1),Rt=a.ref(null),an=()=>{Rt.value=null},De=async N=>{if(!ge.value){ge.value=!0;try{Rt.value=N;const C=ct(N);X.value="",fe.value="",C===!1?(n.usaAuthNvEnLogin?await S({medio:N}):await O({medio:N}),D.value=!0):(n.usaAuthNvEnLogin?await A({medio:N}):await B({medio:N}),D.value=!1)}finally{ge.value=!1}}},Ze={[ee.WHATSAPP]:"verificadoWhatsapp",[ee.TELEGRAM]:"verificadoTelegram",[ee.EMAIL]:"verificadoEmail",[ee.ROMA]:"verificadoRoma",[ee.SMS]:"verificadoSms"};function ct(N){const C=Ze[N];return C?b[C]:void 0}const te={[ee.WHATSAPP]:{label:"WhatsApp",icon:f9},[ee.TELEGRAM]:{label:"Telegram",icon:Sl},[ee.EMAIL]:{label:"Email",icon:Cl},[ee.SMS]:{label:"SMS",icon:fd}},ve=a.computed(()=>_.value.filter(N=>N in te).map(N=>({id:N,label:te[N].label,icon:te[N].icon})));return(N,C)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createVNode(f2),a.createElementVNode("div",pU,[a.createVNode(J0,{currentStep:a.unref(u),steps:a.unref(c),showHeader:!1},{step1:a.withCtx(()=>[r.value&&!z.value?(a.openBlock(),a.createElementBlock("h4",mU,[gU,a.createTextVNode(" Inicia sesión con código QR ")])):a.createCommentVNode("",!0),a.createElementVNode("div",vU,[a.createElementVNode("div",yU,[r.value&&!z.value?(a.openBlock(),a.createElementBlock("img",{key:0,src:Z.value,alt:"Qr",class:""},null,8,bU)):a.createCommentVNode("",!0),a.createElementVNode("div",wU,[he.value?(a.openBlock(),a.createElementBlock("div",{key:0,class:"qr-overlay",onClick:se},_U)):a.createCommentVNode("",!0)])])]),r.value&&!z.value?(a.openBlock(),a.createElementBlock("div",kU,EU)):a.createCommentVNode("",!0),r.value?(a.openBlock(),a.createElementBlock("div",xU,CU)):a.createCommentVNode("",!0),a.createElementVNode("div",SU,[a.createElementVNode("div",TU,[AU,a.createVNode(a.unref(je.Field),{name:"usuario",id:"usuario",class:a.normalizeClass(["fge-auth-input",{"fge-auth-input-invalid":a.unref(d).usuario}]),type:"text"},null,8,["class"]),a.createVNode(pt,{error:a.unref(d).usuario},null,8,["error"])]),a.createElementVNode("div",OU,[BU,a.createVNode(a.unref(je.Field),{name:"password"},{default:a.withCtx(({field:V})=>[a.createVNode(Ra,a.mergeProps({id:"psw"},V,{class:"fge-auth-input with-btn",onKeyup:a.withKeys(a.unref(h),["enter"]),modelValue:V.value}),null,16,["onKeyup","modelValue"])]),_:1}),a.createVNode(pt,{error:a.unref(d).password},null,8,["error"])])]),a.createElementVNode("div",IU,[a.createElementVNode("button",{title:"Iniciar sesión",class:"fge-auth-primary-button w-full",onClick:C[0]||(C[0]=(...V)=>a.unref(h)&&a.unref(h)(...V))},VU),a.createElementVNode("div",RU,[a.createElementVNode("button",{class:"fge-link-secondary-button",title:"Recuperar contraseña",onClick:C[1]||(C[1]=(...V)=>a.unref(n).goRecuperarCont&&a.unref(n).goRecuperarCont(...V))},DU),a.unref(n).isRegister?(a.openBlock(),a.createElementBlock("button",{key:0,class:"fge-link-primary-button",title:"Registrarse",onClick:C[2]||(C[2]=(...V)=>a.unref(n).goRegistrarPage&&a.unref(n).goRegistrarPage(...V))},MU)):a.createCommentVNode("",!0)]),PU,a.createElementVNode("button",{title:"Iniciar sesión con ciudadanía digital",class:"fge-green-button",onClick:C[3]||(C[3]=(...V)=>a.unref(k)&&a.unref(k)(...V))},LU)])]),step2:a.withCtx(()=>[a.createVNode(ud,{fieldName:"code",error:a.unref(d).code,message2Fa:a.unref(l),message2FaContexto:a.unref(X),url2FaContexto:a.unref(fe),cancelarFunction:()=>{an(),a.unref(g)()},aceptarFunction:a.unref(D)?a.unref(q):a.unref(p),showCode:!0,"reenviar-mensaje":a.unref(ae)?a.unref(y):void 0,mostrarReenviar:a.unref(ae),isTelegram:Rt.value===a.unref(ee).TELEGRAM&&!a.unref(b).verificadoTelegram,refCounter:a.unref(s),"onUpdate:refCounter":C[6]||(C[6]=V=>a.isRef(s)?s.value=V:null),onFinishCount:st},{inputs:a.withCtx(()=>[a.unref(F)?(a.openBlock(),a.createElementBlock("div",FU,UU)):a.createCommentVNode("",!0),a.createElementVNode("div",ZU,[a.createElementVNode("div",zU,[a.unref(x)?(a.openBlock(),a.createElementBlock("div",jU,[a.unref(E)?(a.openBlock(),a.createElementBlock("div",WU,[GU,KU,YU,a.createElementVNode("div",JU,[a.createVNode(a.unref(je.Field),{name:"medio"},{default:a.withCtx(({field:V})=>[a.createVNode(a.unref(Ic),a.mergeProps(V,{"model-value":V.value,class:"radio-button-group","onUpdate:modelValue":T=>{V.onChange(T),De(Number(T))}}),{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(ve.value,T=>(a.openBlock(),a.createBlock(a.unref(ci),{id:`medio-${T.id}`,key:T.id,class:"radio-button",value:T.id.toString()},{default:a.withCtx(()=>[a.createElementVNode("div",XU,[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(T.icon),{class:a.normalizeClass(["radio-icon",{"auth-svg-primary":ct(T.id),"auth-svg-black":!ct(T.id)}])},null,8,["class"])),a.createElementVNode("label",{for:`medio-${T.id}`,class:a.normalizeClass(["radio-button-label",{"radio-label-verified":ct(T.id),"radio-label-unverified":!ct(T.id)}])},a.toDisplayString(ct(T.id)?"":"Verificar")+" "+a.toDisplayString(T.label),11,QU)])]),_:2},1032,["id","value"]))),128))]),_:2},1040,["model-value","onUpdate:modelValue"])]),_:1})])])):(a.openBlock(),a.createElementBlock("div",HU,[a.createElementVNode("button",{class:"fge-link-primary-button",title:"Seleccionar",onClick:C[4]||(C[4]=V=>{a.unref(w)(),E.value=!0})},qU)]))])):a.createCommentVNode("",!0)])]),a.createElementVNode("div",NU,[a.createElementVNode("div",$U,[a.createElementVNode("label",eZ,[a.createVNode(a.unref(_x),{class:"checkbox-box",checked:a.unref(i),"onUpdate:checked":C[5]||(C[5]=V=>a.isRef(i)?i.value=V:null)},{default:a.withCtx(()=>[a.createVNode(a.unref(kx),null,{default:a.withCtx(()=>[a.createVNode(Wa,{color:a.unref(f),alt:"Check Mark",class:"checkbox-svg"},null,8,["color"])]),_:1})]),_:1},8,["checked"]),tZ])])])]),_:1},8,["error","message2Fa","message2FaContexto","url2FaContexto","cancelarFunction","aceptarFunction","reenviar-mensaje","mostrarReenviar","isTelegram","refCounter"])]),_:1},8,["currentStep","steps"])])],64))}}),[["__scopeId","data-v-d37f9782"]]),rZ=async(e,t,n,r)=>ke.post("v1/auth/usuario/confirmar-restablecer-password",{numeroDocumento:e,aplicacion:t,otp:n,isLogin:r}).then(o=>o).catch(o=>{var i;throw(i=o.response)!=null&&i.data?o.response.data:o}),aZ=async(e,t,n,r,o)=>ke.post("v1/auth/usuario/cambiar-password",{usuarioId:e,aplicacion:t,otp:n,nuevoPassword:r,confirmarNuevoPassword:o}).then(i=>i).catch(i=>{var s;throw(s=i.response)!=null&&s.data?i.response.data:i}),oZ=async(e,t,n,r,o)=>ke.post("v1/auth/usuario/cambiar-password",{usuarioId:e,aplicacion:t,otp:n,nuevoPassword:r,confirmarNuevoPassword:o}).then(i=>i).catch(i=>{var s;throw(s=i.response)!=null&&s.data?i.response.data:i}),iZ=async e=>ke.post("v1/auth/usuario/restablecer-password",e).then(t=>t).catch(t=>{var n;throw(n=t.response)!=null&&n.data?t.response.data:t});function sZ(){const e=et(),t=qs(),n=a.ref(0),r=a.ref(),o=a.ref(),i=a.computed(()=>x[n.value]),s=a.reactive({verificadoWhatsapp:!1,verificadoTelegram:!1,verificadoEmail:!1,verificadoRoma:!1,verificadoSms:!1}),l=a.ref(!1),c=a.ref([]),u=a.ref(!1),d=a.ref(!1),f=a.ref(!1),h=a.ref(0),p=a.ref(null),g=a.ref([]),{refCounter:w,currentContacto:y,message2Fa:k,message2FaContexto:v,url2FaContexto:m,openTelegram:b,openTelegramPage:_}=iu("recuperar-pw"),E=a.markRaw([{name:"step1"},{name:"step2"},{name:"step3"}]),x=[oe.object().shape({usuario:oe.string().min(4).max(10).required().label("Cédula de identidad")}),oe.object().shape({code:oe.string().required().matches(fo).max(10).label("Código")}),oe.object().shape({medio:oe.string().notRequired().matches(fo).max(10).label("medio")}),oe.object().shape({password:oe.string().required().matches(zc).min(8).max(15).label("Contraseña"),repetirPassword:oe.string().required().oneOf([oe.ref("password")]).label("Confirmación de la contraseña")})],{handleSubmit:O,values:B,errors:S,setErrors:A,resetForm:D}=je.useForm({validationSchema:i,keepValuesOnUnmount:!0}),q=()=>{n.value=n.value-1,f.value=!1,D()},F={[ee.WHATSAPP]:"verificadoWhatsapp",[ee.TELEGRAM]:"verificadoTelegram",[ee.EMAIL]:"verificadoEmail",[ee.ROMA]:"verificadoRoma",[ee.SMS]:"verificadoSms"},X=te=>({1:ee.ROMA,2:ee.TELEGRAM,3:ee.EMAIL,4:ee.WHATSAPP,5:ee.SMS})[te]??te,fe=te=>({[ee.ROMA]:1,[ee.TELEGRAM]:2,[ee.EMAIL]:3,[ee.WHATSAPP]:4,[ee.SMS]:5})[te]??te,ae=(te,ve)=>{const N=F[te];N&&(s[N]=ve)},Z=()=>{Object.keys(s).forEach(te=>{s[te]=!1})},z=(te,ve)=>{Z();const N=te.map(C=>Number(C==null?void 0:C.medio)).filter(C=>!Number.isNaN(C)).map(C=>X(C));c.value=[...new Set(N)],te.forEach(C=>{const V=Number(C==null?void 0:C.medio);if(Number.isNaN(V))return;const T=X(V);ae(T,!!(C!=null&&C.verificado))})},ne=te=>{const ve=F[te];return ve?s[ve]:void 0},Y=async()=>{if(!B.medio)return;const te=Number(B.medio),ve=ne(te);try{t.setLoading(!0),ve===!1?(e.usaAuthNvEnLogin?await Rt({medio:te}):await an({medio:te}),d.value=!0):(e.usaAuthNvEnLogin?await he({medio:te,login:!1}):await _e({medio:te,login:!1}),d.value=!1),f.value=!0}catch(N){cn({error:N,setErrors:A})}finally{t.setLoading(!1)}},de=O(async()=>{var te,ve,N,C,V,T,U;try{t.setLoading(!0);const j=await st();n.value=n.value+1,f.value=!1,y.value=(te=j.response)==null?void 0:te.contacto,h.value=((N=(ve=j.response)==null?void 0:ve.data)==null?void 0:N.usuarioId)??0,g.value=((V=(C=j==null?void 0:j.response)==null?void 0:C.data)==null?void 0:V.mediosVerificados)||[],z(g.value,!0),k.value=j.message,a.nextTick(()=>{var G,W,Se;(Se=w.value)==null||Se.reInit(((W=(G=j==null?void 0:j.response)==null?void 0:G.data)==null?void 0:W.tiempoVigencia)??2)});const R=g.value.some(G=>G.default===!0);l.value=!R,u.value=!R,v.value=((T=j==null?void 0:j.response)==null?void 0:T.data.mensajeServicio)??"",m.value=((U=j==null?void 0:j.response)==null?void 0:U.data.url)??""}catch(j){cn({error:j,setErrors:A})}finally{t.setLoading(!1)}}),he=async({medio:te,login:ve=!0})=>{var N,C,V,T,U,j;try{t.setLoading(!0);const R=await ap({medio:fe(Number(te)),usuarioId:h.value,deviceId:e.deviceId,isLogin:ve,aplicacion:e.aplicacion});k.value=R.message,u.value=!1,l.value=!1,f.value=!0,(C=(N=R==null?void 0:R.response)==null?void 0:N.data)!=null&&C.mensajeServicio&&(v.value=R.response.data.mensajeServicio),(T=(V=R==null?void 0:R.response)==null?void 0:V.data)!=null&&T.url&&(m.value=R.response.data.url);let G=120;(j=(U=R==null?void 0:R.response)==null?void 0:U.data)!=null&&j.tiempoVigencia?G=R.response.data.tiempoVigencia:(R==null?void 0:R.minutos)!==void 0&&(R==null?void 0:R.minutos)!==null&&(G=R.minutos>60?R.minutos:R.minutos*60,G>600&&(G=120)),a.nextTick(()=>{var W;(W=w.value)==null||W.reInit(G)})}catch(R){K.error(`Error al enviar código por ${te}: ${(R==null?void 0:R.message)||"intente nuevamente"}`)}finally{t.setLoading(!1)}},_e=async({medio:te,login:ve=!0})=>{var N,C,V,T,U,j;try{t.setLoading(!0);const R=await rp({medio:Number(te),usuarioId:h.value,deviceId:e.deviceId,isLogin:ve,aplicacion:e.aplicacion});k.value=R.message,u.value=!1,l.value=!1,f.value=!0,(C=(N=R==null?void 0:R.response)==null?void 0:N.data)!=null&&C.mensajeServicio&&(v.value=R.response.data.mensajeServicio),(T=(V=R==null?void 0:R.response)==null?void 0:V.data)!=null&&T.url&&(m.value=R.response.data.url);let G=120;(j=(U=R==null?void 0:R.response)==null?void 0:U.data)!=null&&j.tiempoVigencia?G=R.response.data.tiempoVigencia:(R==null?void 0:R.minutos)!==void 0&&(R==null?void 0:R.minutos)!==null&&(G=R.minutos>60?R.minutos:R.minutos*60,G>600&&(G=120)),a.nextTick(()=>{var W;(W=w.value)==null||W.reInit(G)})}catch(R){K.error(`Error al enviar código: ${(R==null?void 0:R.message)||"intente nuevamente"}`)}finally{t.setLoading(!1)}},st=async()=>await iZ({deviceId:e.deviceId,aplicacion:e.aplicacion,numeroDocumento:B.usuario}),se=O(async te=>{try{t.setLoading(!0);const ve=await rZ(te.usuario,e.aplicacion,Number(te.code),!1).then(N=>N.response);r.value=ve==null?void 0:ve.data.usuarioId,n.value=n.value+1}catch(ve){cn({error:ve,setErrors:A})}finally{t.setLoading(!1)}}),ge=O(async te=>{try{t.setLoading(!0);const ve=p.value??Number(te.medio??0);if(!ve){K.error("Debe seleccionar un medio de verificación");return}if(e.usaAuthNvEnLogin){const N=await np({usuarioId:h.value,medio:fe(ve),codigo:te.code,aplicacion:e.aplicacion,deviceId:e.deviceId,isLogin:!1}).then(C=>C.response);r.value=N==null?void 0:N.data.usuarioId}else{const N=await mw({usuarioId:h.value,medio:ve,codigo:te.code,aplicacion:e.aplicacion,codigoDispositivo:e.deviceId,isLogin:!1}).then(C=>C.response);r.value=N==null?void 0:N.data.usuarioId}n.value=n.value+1}catch(ve){cn({error:ve,setErrors:A})}finally{t.setLoading(!1)}}),Rt=async({medio:te})=>{var ve,N,C,V;try{t.setLoading(!0),p.value=te;const T=await tp({medio:fe(Number(te)),usuarioId:h.value}),U=((N=(ve=T==null?void 0:T.response)==null?void 0:ve.data)==null?void 0:N.medioActualizado)===!0;k.value=T.message,u.value=!1,l.value=!1,f.value=!0,v.value=T.response.data.mensajeServicio??"",m.value=T.response.data.url??"",te===ee.TELEGRAM&&!U&&a.nextTick(()=>{b.value=!0});let j=120;(V=(C=T==null?void 0:T.response)==null?void 0:C.data)!=null&&V.tiempoVigencia?j=T.response.data.tiempoVigencia:(T==null?void 0:T.minutos)!==void 0&&(T==null?void 0:T.minutos)!==null&&(j=T.minutos>60?T.minutos:T.minutos*60,j>600&&(j=120)),a.nextTick(()=>{var R;(R=w.value)==null||R.reInit(j)})}catch(T){K.error(`Error al enviar código por ${te}: ${(T==null?void 0:T.message)||"intente nuevamente"}`)}finally{t.setLoading(!1)}},an=async({medio:te})=>{var ve,N,C,V;try{t.setLoading(!0),p.value=te;const T=await pw({medio:Number(te),usuarioId:h.value}),U=((N=(ve=T==null?void 0:T.response)==null?void 0:ve.data)==null?void 0:N.medioActualizado)===!0;k.value=T.message,u.value=!1,l.value=!1,f.value=!0,te===ee.TELEGRAM&&!U&&a.nextTick(()=>{b.value=!0});let j=120;(V=(C=T==null?void 0:T.response)==null?void 0:C.data)!=null&&V.tiempoVigencia?j=T.response.data.tiempoVigencia:(T==null?void 0:T.minutos)!==void 0&&(T==null?void 0:T.minutos)!==null&&(j=T.minutos>60?T.minutos:T.minutos*60,j>600&&(j=120)),a.nextTick(()=>{var R;(R=w.value)==null||R.reInit(j)})}catch(T){K.error(`Error al enviar código: ${(T==null?void 0:T.message)||"intente nuevamente"}`)}finally{t.setLoading(!1)}},De=O(async te=>{try{t.setLoading(!0);let ve;r.value&&(e.usaAuthNvEnLogin?ve=await oZ(r.value,e.aplicacion,Number(te.code),te.password,te.repetirPassword):ve=await aZ(r.value,e.aplicacion,Number(te.code),te.password,te.repetirPassword)),K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description"> ${ve==null?void 0:ve.message}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:jn,closeOnClick:!1,dangerouslyHTMLString:!0}),t.setLoading(!1),e.goLoginPage()}catch(ve){cn({error:ve,setErrors:A}),t.setLoading(!1)}}),Ze=()=>{e.goLoginPage()},ct=a.computed(()=>globalThis.getComputedStyle(document.documentElement).getPropertyValue("--fge-primary-button-text-color"));return{refCounter:w,currentStep:n,currentSchema:i,currentContacto:y,steps:E,mensaje2F:o,errors:S,onBackStep:q,onEnviarCodigoAlBackend:se,onEnviarCodigoAlUsuario:de,onEnviarMensaje:Y,onCambiarPassword:De,goLoginPage:Ze,mediosVerificados:s,mediosDisponibles:c,mostrarMedios:u,mostrarBotonOpciones:l,message2FaContexto:v,message2Fa:k,url2FaContexto:m,servicio2faNuevo:d,iconColor:ct,onEnviarCodigoRecuperacionNv:he,onEnviarCodigoRecuperacion:_e,onEnviarCodigoRecuperacionAlUsuarioNv:Rt,onEnviarCodigoRecuperacionAlUsuario:an,onConfirmarCodigoNuevo:ge,medioYaSeleccionado:f,openTelegram:b,openTelegramPage:_}}const lZ=a.createElementVNode("button",{class:"auth-hide-btn"},null,-1),cZ={class:"auth-title-container"},uZ=a.createElementVNode("p",null,"Confirmación vía Telegram",-1),dZ={class:"dialog-body"},fZ={class:"icon"},hZ=a.createElementVNode("p",{class:"body-title"},"Siga los siguientes pasos:",-1),pZ=a.createElementVNode("p",null,[a.createTextVNode(' Haz clic en el botón "Abrir" para abrir la página de '),a.createElementVNode("b",null,[a.createElementVNode("a",{href:"https://play.google.com/store/apps/details?id=org.telegram.messenger",target:"_blank"}," Telegram ")]),a.createTextVNode(" . ")],-1),mZ=a.createElementVNode("p",null,"1. Inicia sesión en tu cuenta de Telegram.",-1),gZ=a.createElementVNode("p",null,'2. Presiona el botón "Comenzar" o "Start"',-1),vZ=a.createElementVNode("p",{style:{"margin-left":"5px"}},[a.createTextVNode(' ** o ingrese "'),a.createElementVNode("b",null,"/start"),a.createTextVNode('" en el chat si no encuentra el botón ')],-1),yZ=a.createElementVNode("p",null,"3. Copia el código en el formulario para completar el proceso de confirmación.",-1),bZ={class:"dialog-footer"},h9=a.defineComponent({__name:"TelegramDialog",props:{open:{type:Boolean,default:!1},openClick:{type:Function,required:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=a.computed({get:()=>n.open,set:i=>o("update:open",i)}),o=t;return(i,s)=>(a.openBlock(),a.createBlock(a.unref(As),{open:r.value,"onUpdate:open":s[2]||(s[2]=l=>r.value=l)},{default:a.withCtx(()=>[a.createVNode(a.unref(Sc),{"as-child":""},{default:a.withCtx(()=>[lZ]),_:1}),a.createVNode(a.unref(Os),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Is),{class:"modal-overlay"}),a.createVNode(a.unref(Bs),{class:"auth-modal-container",onInteractOutside:s[1]||(s[1]=l=>l.preventDefault()),"aria-describedby":"dialog-description"},{default:a.withCtx(()=>[a.createVNode(a.unref(Vs),{class:"auth-dialog-title"},{default:a.withCtx(()=>[a.createElementVNode("div",cZ,[uZ,a.createVNode(a.unref(co),{class:"close-icon","aria-label":"Close"},{default:a.withCtx(()=>[a.createVNode(a.unref(dd))]),_:1})])]),_:1}),a.createElementVNode("div",dZ,[a.createElementVNode("div",fZ,[a.createVNode(xl,{mode:"gray"})]),hZ,pZ,mZ,gZ,vZ,yZ]),a.createElementVNode("div",bZ,[a.createVNode(a.unref(co),{class:"fge-gray-button w-full","aria-label":"Close"},{default:a.withCtx(()=>[a.createTextVNode(" Cerrar ")]),_:1}),a.createElementVNode("button",{class:"w-full fge-auth-primary-button",onClick:s[0]||(s[0]=a.withModifiers(()=>e.openClick(),["prevent"]))}," Abrir ")])]),_:1})]),_:1})]),_:1},8,["open"]))}}),wZ={class:"fge-right-container"},_Z={class:"auth-form-container"},kZ={class:"auth-input-container"},EZ=a.createElementVNode("label",{for:"usuario",class:"fge-form-label"},"Cédula de Identidad:",-1),xZ={class:"fge-btn-section"},CZ={class:"auth-btn-container margin-top"},SZ=[a.createElementVNode("span",null,"Ir al login",-1)],TZ=[a.createElementVNode("span",null," Siguiente ",-1)],AZ={class:"login-button-container"},OZ={class:"two-auth-container"},BZ={key:0,class:"auth-checkbox-container"},IZ={key:0,class:"text-center"},VZ=[a.createElementVNode("span",null,"Seleccionar otros medios de verificación",-1)],RZ={key:1},DZ=a.createElementVNode("div",{class:"fge-horizontal-line"},null,-1),MZ=a.createElementVNode("div",{class:"fge-text-gray",style:{"text-align":"center"}}," Medios de verificación ",-1),PZ=a.createElementVNode("div",{class:"fge-horizontal-line"},null,-1),LZ={class:"auth-radiogroup"},FZ={class:"radio-button-content"},UZ=["for"],ZZ={class:"auth-form-container"},zZ={class:"auth-input-container"},jZ=a.createElementVNode("label",{for:"psw",class:"fge-form-label"},"Nueva contraseña:",-1),HZ={class:"auth-input-container"},qZ=a.createElementVNode("label",{for:"rep_password",class:"fge-form-label"},"Repetir contraseña:",-1),WZ={class:"fge-btn-section"},GZ={class:"auth-btn-container margin-top"},KZ=[a.createElementVNode("span",null,"Volver",-1)],YZ=[a.createElementVNode("span",null," Aceptar ",-1)],JZ=a.defineComponent({__name:"FgeRecuperarPassword",setup(e){const t=et(),{refCounter:n,currentStep:r,currentContacto:o,steps:i,errors:s,onBackStep:l,onEnviarCodigoAlUsuario:c,onEnviarMensaje:u,onEnviarCodigoAlBackend:d,onCambiarPassword:f,goLoginPage:h,mediosVerificados:p,mediosDisponibles:g,mostrarMedios:w,mostrarBotonOpciones:y,message2FaContexto:k,url2FaContexto:v,servicio2faNuevo:m,message2Fa:b,onEnviarCodigoRecuperacionNv:_,onEnviarCodigoRecuperacion:E,onEnviarCodigoRecuperacionAlUsuarioNv:x,onEnviarCodigoRecuperacionAlUsuario:O,onConfirmarCodigoNuevo:B,medioYaSeleccionado:S,openTelegram:A,openTelegramPage:D}=sZ(),q={[ee.WHATSAPP]:{label:"WhatsApp",icon:f9},[ee.TELEGRAM]:{label:"Telegram",icon:Sl},[ee.EMAIL]:{label:"Email",icon:Cl},[ee.SMS]:{label:"SMS",icon:fd}},F=a.computed(()=>g.value.filter(Y=>Y in q).map(Y=>({id:Y,label:q[Y].label,icon:q[Y].icon}))),X=a.ref(!1),fe=a.ref(null),ae=()=>{y.value=!0},Z=async Y=>{if(!X.value){X.value=!0;try{fe.value=Y;const de=ne(Y);k.value="",v.value="",de===!1?(t.usaAuthNvEnLogin?await x({medio:Y}):await O({medio:Y}),m.value=!0):(t.usaAuthNvEnLogin?await _({medio:Y,login:!1}):await E({medio:Y,login:!1}),m.value=!1)}finally{X.value=!1}}},z={[ee.WHATSAPP]:"verificadoWhatsapp",[ee.TELEGRAM]:"verificadoTelegram",[ee.EMAIL]:"verificadoEmail",[ee.ROMA]:"verificadoRoma",[ee.SMS]:"verificadoSms"};function ne(Y){const de=z[Y];return de?p[de]:void 0}return(Y,de)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createVNode(f2),a.createElementVNode("div",wZ,[a.createVNode(J0,{currentStep:a.unref(r),steps:a.unref(i)},{step1:a.withCtx(()=>[a.createElementVNode("div",_Z,[a.createElementVNode("div",kZ,[EZ,a.createVNode(a.unref(je.Field),{id:"usuario",name:"usuario",class:a.normalizeClass(["w-full fge-auth-input",{"fge-auth-input-invalid":a.unref(s).usuario}]),type:"text"},null,8,["class"]),a.createVNode(pt,{error:a.unref(s).usuario},null,8,["error"])])]),a.createElementVNode("div",xZ,[a.createElementVNode("div",CZ,[a.createElementVNode("button",{title:"Ir al login",onClick:de[0]||(de[0]=(...he)=>a.unref(h)&&a.unref(h)(...he)),class:"fge-gray-button w-full"},SZ),a.createElementVNode("button",{title:"Siguiente",onClick:de[1]||(de[1]=(...he)=>a.unref(c)&&a.unref(c)(...he)),class:"w-full fge-auth-primary-button"},TZ)])])]),step2:a.withCtx(()=>[a.createVNode(ud,{fieldName:"code",message2Fa:a.unref(b),refCounter:a.unref(n),"onUpdate:refCounter":de[3]||(de[3]=he=>a.isRef(n)?n.value=he:null),error:a.unref(s).code,currentContacto:a.unref(o),message2FaContexto:a.unref(k),url2FaContexto:a.unref(v),cancelarFunction:a.unref(l),aceptarFunction:a.unref(m)?a.unref(B):a.unref(d),"reenviar-mensaje":a.unref(S)?a.unref(u):void 0,mostrarReenviar:a.unref(S),isTelegram:fe.value===a.unref(ee).TELEGRAM&&!a.unref(p).verificadoTelegram,onFinishCount:ae},{inputs:a.withCtx(()=>[a.createElementVNode("div",AZ,[a.createElementVNode("div",OZ,[a.unref(y)?(a.openBlock(),a.createElementBlock("div",BZ,[a.unref(w)?(a.openBlock(),a.createElementBlock("div",RZ,[DZ,MZ,PZ,a.createElementVNode("div",LZ,[a.createVNode(a.unref(je.Field),{name:"medio"},{default:a.withCtx(({field:he})=>[a.createVNode(a.unref(Ic),a.mergeProps(he,{"model-value":he.value,class:"radio-button-group","onUpdate:modelValue":_e=>{he.onChange(_e),Z(Number(_e))}}),{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(F.value,_e=>(a.openBlock(),a.createBlock(a.unref(ci),{id:`medio-${_e.id}`,key:_e.id,class:"radio-button",value:_e.id.toString()},{default:a.withCtx(()=>[a.createElementVNode("div",FZ,[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(_e.icon),{class:a.normalizeClass(["radio-icon",{"auth-svg-primary":ne(_e.id),"auth-svg-black":!ne(_e.id)}])},null,8,["class"])),a.createElementVNode("label",{for:`medio-${_e.id}`,class:a.normalizeClass(["radio-button-label",{"radio-label-verified":ne(_e.id),"radio-label-unverified":!ne(_e.id)}])},a.toDisplayString(ne(_e.id)?"":"Verificar")+" "+a.toDisplayString(_e.label),11,UZ)])]),_:2},1032,["id","value"]))),128))]),_:2},1040,["model-value","onUpdate:modelValue"])]),_:1})])])):(a.openBlock(),a.createElementBlock("div",IZ,[a.createElementVNode("button",{class:"fge-link-primary-button",title:"Seleccionar",onClick:de[2]||(de[2]=he=>w.value=!0)},VZ)]))])):a.createCommentVNode("",!0)])])]),_:1},8,["message2Fa","refCounter","error","currentContacto","message2FaContexto","url2FaContexto","cancelarFunction","aceptarFunction","reenviar-mensaje","mostrarReenviar","isTelegram"])]),step3:a.withCtx(()=>[a.createElementVNode("div",ZZ,[a.createElementVNode("div",zZ,[jZ,a.createVNode(a.unref(je.Field),{name:"password"},{default:a.withCtx(({field:he})=>[a.createVNode(Ra,a.mergeProps({id:"psw"},he,{class:"fge-auth-input with-btn",modelValue:he.value}),null,16,["modelValue"])]),_:1}),a.createVNode(pt,{error:a.unref(s).password},null,8,["error"])]),a.createElementVNode("div",HZ,[qZ,a.createVNode(a.unref(je.Field),{name:"repetirPassword"},{default:a.withCtx(({field:he})=>[a.createVNode(Ra,a.mergeProps({id:"rep_password"},he,{class:"fge-auth-input with-btn",onKeyup:a.withKeys(a.unref(f),["enter"]),modelValue:he.value}),null,16,["onKeyup","modelValue"])]),_:1}),a.createVNode(pt,{error:a.unref(s).repetirPassword},null,8,["error"])])]),a.createElementVNode("div",WZ,[a.createElementVNode("div",GZ,[a.createElementVNode("button",{title:"Volver",class:"fge-gray-button w-full",onClick:de[4]||(de[4]=(...he)=>a.unref(h)&&a.unref(h)(...he))},KZ),a.createElementVNode("button",{title:"Registrar usuario",onClick:de[5]||(de[5]=(...he)=>a.unref(f)&&a.unref(f)(...he)),class:"w-full fge-auth-primary-button"},YZ)])])]),_:1},8,["currentStep","steps"])]),a.createVNode(h9,{open:a.unref(A),"onUpdate:open":de[6]||(de[6]=he=>a.isRef(A)?A.value=he:null),openClick:a.unref(D)},null,8,["open","openClick"])],64))}}),XZ={},QZ={class:"relative"},NZ=[a.createStaticVNode('<svg class="icon_1" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 275 276" data-v-7883ed41><path fill="url(#a)" d="M137.1 1c-12.9 0-25.9 1.8-38.8 5.6A136.91 136.91 0 0 0 5.7 176.7 14.4 14.4 0 0 0 19.5 187c6.2 0 2.7-.2 4.1-.6 7.6-2.3 12-10.3 9.7-17.9-3-10.2-4.5-20.5-4.5-30.7 0-23.3 7.6-45.8 21.1-64.1a106.7 106.7 0 0 1 56.4-39.5c10.2-3 20.5-4.5 30.7-4.5 23.3 0 45.8 7.6 64.1 21.1a106.7 106.7 0 0 1 39.5 56.4 14.4 14.4 0 0 0 13.8 10.3c6.2 0 2.7-.2 4.1-.6 7.6-2.3 12-10.3 9.7-17.9A136.91 136.91 0 0 0 136.9.8" data-v-7883ed41></path><path fill="url(#b)" d="M254.5 88.9a14.41 14.41 0 0 0-13.8 18.5c3 10.2 4.5 20.5 4.5 30.7 0 23.3-7.6 45.8-21.1 64.1a106.7 106.7 0 0 1-56.4 39.5c-10.2 3-20.5 4.5-30.7 4.5-23.3 0-45.8-7.6-64.1-21.1a106.7 106.7 0 0 1-39.5-56.4 14.4 14.4 0 0 0-13.8-10.3c-6.2 0-2.7.2-4.1.6-7.6 2.3-12 10.3-9.7 17.9a136.91 136.91 0 0 0 170.1 92.6 136.91 136.91 0 0 0 92.6-170.1 14.4 14.4 0 0 0-13.8-10.3" data-v-7883ed41></path><defs data-v-7883ed41><linearGradient id="a" x1="0" x2="269" y1="94.1" y2="94.1" gradientUnits="userSpaceOnUse" data-v-7883ed41><stop stop-color="#fff" data-v-7883ed41></stop><stop offset="1" stop-color="#fff" stop-opacity="0" data-v-7883ed41></stop></linearGradient><linearGradient id="b" x1="5" x2="274" y1="181.9" y2="181.9" gradientUnits="userSpaceOnUse" data-v-7883ed41><stop stop-color="#fff" stop-opacity="0" data-v-7883ed41></stop><stop offset="1" stop-color="#fff" data-v-7883ed41></stop></linearGradient></defs></svg><svg class="icon_2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 176 74" data-v-7883ed41><path fill="#fff" d="M6.4 70v-3.5c-.3 1.3-1.5 4.5-2.2 6.6h-.8c-.6-1.7-1.7-5.2-2.1-6.6v6.6H.5v-7.3h1.4c.8 2.1 1.7 5.1 2 6.1.1-.7 1.3-3.9 2.1-6.1h1.3v7.3h-.9V70ZM10.8 65.8v7.3h-.9v-7.3h.9ZM13.5 73.1v-7.3h1.2c2.9 5.1 3.3 5.8 3.4 6.2v-6.1h.9v7.3h-1.1c-3.1-5.6-3.3-6-3.5-6.3v6.4h-.8l-.1-.2ZM22.5 65.8v7.3h-.9v-7.3h.9ZM25.5 71c.1.9.8 1.4 1.6 1.4s1.4-.4 1.4-1.3-.4-1.1-1.7-1.5c-1.5-.5-2.1-1-2.1-2s.9-1.9 2.2-1.9c1.3 0 2.2.9 2.3 1.9h-.9c-.1-.7-.5-1.2-1.4-1.2-.9 0-1.3.4-1.3 1.1 0 .7.4.9 1.5 1.3 1.8.5 2.2 1.2 2.2 2.2 0 1-.8 2.1-2.4 2.1-1.6 0-2.4-.8-2.5-2.1h1.1ZM32.9 66.6h-2.1v-.8H36v.8h-2.1v6.5H33v-6.5h-.1ZM41.9 69.6h-3.3v2.6h3.6v.8h-4.5v-7.3H42v.8h-3.4v2.3h3.3v.8ZM45.2 69.8v3.3h-.9v-7.3h2.6c1.3 0 2.2.6 2.2 1.9 0 1.3-.6 1.5-1.2 1.7.8.2 1.1.8 1.1 1.8 0 .8 0 1.4.1 1.9h-.9c0-.3-.1-1-.1-1.7 0-1.2-.4-1.6-1.6-1.6h-1.3Zm0-.7h1.3c.9 0 1.6-.3 1.6-1.3s-.5-1.2-1.4-1.2h-1.6v2.5h.1ZM52.3 65.8v7.3h-.9v-7.3h.9ZM60.7 69.4c0 2.1-1 3.8-3.1 3.8s-3-1.6-3-3.8c0-2.2 1-3.7 3.1-3.7s3 1.6 3 3.7Zm-5.2 0c0 1.7.7 3 2.1 3 1.4 0 2.1-1.3 2.1-3s-.7-2.9-2.1-2.9c-1.4 0-2.1 1.3-2.1 2.9ZM66.5 65.8h2.4c1.3 0 2.3.7 2.3 2s-1 2.1-2.5 2.1h-1.4V73h-.9v-7.3l.1.1Zm.9 3.4h1.4c.9 0 1.6-.3 1.6-1.4 0-1.1-.6-1.3-1.6-1.3h-1.4v2.7ZM74.2 65.8v4.6c0 1.1.4 2 1.7 2 1.3 0 1.7-.8 1.7-2v-4.6h.9v4.6c0 1.5-.6 2.7-2.6 2.7s-2.6-1-2.6-2.7v-4.7h.9v.1Zm3.5-2.1-1.6 1.4h-.9l1.3-1.4H77.7ZM81.1 65.8h2.5c1.3 0 2.1.7 2.1 1.8s-.6 1.4-1 1.5c.5.2 1.3.6 1.3 1.8 0 1.2-1 2.1-2.4 2.1h-2.4v-7.3l-.1.1Zm2.3 3c1 0 1.4-.4 1.4-1.1 0-.7-.4-1.1-1.4-1.1h-1.5v2.3h1.4l.1-.1ZM82 72.3h1.5c.9 0 1.6-.4 1.6-1.4 0-1-.6-1.4-1.7-1.4H82v2.8ZM88.2 65.8h.9v6.5h3.5v.8h-4.4v-7.3ZM95.3 65.8v7.3h-.9v-7.3h.9ZM103.2 71c-.2 1.2-1 2.2-2.7 2.2-1.7 0-2.9-1.6-2.9-3.8 0-2.2.9-3.7 3-3.7s2.4 1 2.6 2.2h-.9c-.2-.8-.6-1.5-1.7-1.5s-2 1.4-2 2.9.5 3 2 3 1.5-.6 1.7-1.5h.9v.2ZM111.1 69.4c0 2.1-1 3.8-3.1 3.8s-3-1.6-3-3.8c0-2.2 1-3.7 3.1-3.7s3 1.6 3 3.7Zm-5.2 0c0 1.7.7 3 2.1 3 1.4 0 2.1-1.3 2.1-3s-.7-2.9-2.1-2.9c-1.4 0-2.1 1.3-2.1 2.9ZM116.9 65.8h2.4c1.8 0 3.2 1.2 3.2 3.5s-1.2 3.8-3.4 3.8h-2.2v-7.3Zm.9 6.5h1.3c1.7 0 2.5-1.1 2.5-3s-1-2.7-2.4-2.7h-1.3v5.8l-.1-.1ZM128.9 69.6h-3.3v2.6h3.6v.8h-4.5v-7.3h4.3v.8h-3.4v2.3h3.3v.8ZM134.8 65.8h2.5c1.3 0 2.1.7 2.1 1.8s-.6 1.4-1 1.5c.5.2 1.3.6 1.3 1.8 0 1.2-1 2.1-2.4 2.1h-2.4v-7.3l-.1.1Zm2.3 3c1 0 1.4-.4 1.4-1.1 0-.7-.4-1.1-1.4-1.1h-1.5v2.3h1.4l.1-.1Zm-1.4 3.5h1.5c.9 0 1.6-.4 1.6-1.4 0-1-.6-1.4-1.7-1.4h-1.4v2.8ZM147.7 69.4c0 2.1-1 3.8-3.1 3.8s-3-1.6-3-3.8c0-2.2 1-3.7 3.1-3.7s3 1.6 3 3.7Zm-5.2 0c0 1.7.7 3 2.1 3 1.4 0 2.1-1.3 2.1-3s-.7-2.9-2.1-2.9c-1.4 0-2.1 1.3-2.1 2.9ZM150 65.8h.9v6.5h3.5v.8H150v-7.3ZM157.1 65.8v7.3h-.9v-7.3h.9ZM161.3 73.1l-2.4-7.3h1l1.1 3.6c.3 1 .7 2.1.8 2.8.1-.6.6-1.8.9-2.8l1.2-3.6h.9l-2.5 7.3h-1.1.1ZM167.6 65.8v7.3h-.9v-7.3h.9ZM171.1 70.9l-.7 2.2h-.9l2.4-7.3h1.1l2.5 7.3h-1l-.7-2.2h-2.7Zm2.4-.8c-.6-1.9-1-2.9-1.1-3.5-.2.9-.6 2-1.1 3.5h2.2ZM8.2 49.2c0 3.8-.9 6.3-5.5 6.3s-1.7 0-2.2-.2v-3.4c.4 0 .9.1 1.5.1 1.8 0 2.1-.9 2.1-2.6V32.3h4.1v16.9ZM15.3 32.4v15.7c0 1.9.5 4.1 3 4.1s3-1.9 3-4.1V32.3h4.1v15.8c0 4.1-1.6 7.4-7.1 7.4s-7-3.1-7-7.4V32.3h4.1l-.1.1ZM31.5 48.8c.2 1.9 1 3.6 3.1 3.6s2.8-1.3 2.8-3-.9-3-3.8-4.4c-3.9-1.9-5.5-3.5-5.5-6.9 0-3.4 2.4-6.2 6.5-6.2s6.4 3.5 6.5 6.5h-4c-.1-1.3-.5-3.2-2.5-3.2s-2.3 1.1-2.3 2.6.7 2.4 3.4 3.7c4.1 1.9 5.9 3.7 5.9 7.6 0 3.9-2.2 6.6-7.1 6.6-4.9 0-6.9-3.4-7-6.8h4.1l-.1-.1ZM47 35.9h-4.9v-3.6H56v3.6h-4.9v19.3H47V35.9ZM61.8 32.4v22.9h-4.1V32.4h4.1ZM78.7 48.6c-.1 1.2-.5 7.1-6.9 7.1s-7.3-5.7-7.3-11.9S66.7 32 72 32s6.5 5.2 6.6 7h-4.1c0-.8-.1-3.6-2.6-3.6s-3.2 3.1-3.2 8.4c0 5.3.4 8.4 3.1 8.4s2.6-2.8 2.7-3.6H78.7ZM84.8 32.4v22.9h-4.1V32.4h4.1ZM91.8 49.5l-1.1 5.8h-4.1l5.3-22.9h5.3l5.4 22.9h-4.3l-1.1-5.8H91.8Zm4.6-3.6c-.9-4.4-1.5-7.6-1.9-9.8-.3 2.1-1 5.5-1.8 9.8h3.8-.1ZM109.9 32.4h4.1v19.4h7.8l-.4 3.5h-11.5V32.4ZM127.5 32.4v22.9h-4.1V32.4h4.1ZM131 32.4h7c4 0 6.2 2.2 6.2 5.8 0 3.6-1.4 4.3-2.6 4.8 1.6.7 3.3 2.1 3.3 5.6 0 3.5-2.8 6.7-6.9 6.7h-6.9V32.4h-.1Zm6 9.1c2.5 0 3.2-1 3.2-3s-1.1-2.9-3.1-2.9H135v5.9h2Zm-2 10.6h2.4c2 0 3.2-1 3.2-3.6s-1-3.7-3.7-3.7h-2v7.4l.1-.1ZM151.2 45.5v9.8h-4.1V32.4h7c4.2 0 6.5 2.2 6.5 6.3s-1.8 4.7-3 5.2c1.8.8 2.6 2.3 2.6 5.7v.9c0 2.6.1 3.6.3 4.8h-4c-.3-1-.4-2.9-.4-4.8v-.8c0-3.1-.7-4.1-3.3-4.1H151l.2-.1Zm0-3.3h1.9c2.5 0 3.4-1.1 3.4-3.4s-.9-3.1-3-3.1h-2.3v6.5ZM174.6 45.1h-7.3v6.6h8.2l-.5 3.5h-11.8V32.3h11.7v3.6h-7.7v5.6h7.3v3.6h.1ZM10 12.3H2.9v8.2h7.9l-.3 2.1H.6V1.2h9.8v2.1H2.9v7H10v2.1-.1ZM29.4 16.6c0 1.2-.6 6.2-5.8 6.2s-6.1-6-6.1-11.2C17.5 6.4 19.1.7 23.9.7c4.8 0 5.4 4.8 5.5 6.1H27c0-.7-.2-4-3.2-4s-3.9 4.6-3.9 8.8c0 4.2.5 9.1 3.7 9.1s3.3-3.1 3.4-4.2h2.4v.1ZM49.2 11.7c0 7.3-1.7 11.2-6.4 11.2s-6.2-3.8-6.2-11.2C36.6 4.3 38.7.8 42.9.8c4.2 0 6.3 3.6 6.3 10.8v.1Zm-10.2 0c0 6.1 1.2 9.2 3.9 9.2s3.9-3 3.9-9.1S45.6 3 42.9 3 39 5.9 39 11.8v-.1ZM58.4 16.9c.2 2.2 1.2 4 3.6 4 2.4 0 3.4-1.2 3.4-3.7s-.9-3.5-3.8-4.9c-3.4-1.6-4.8-3.1-4.8-6.2S58.7.8 62.2.8c3.5 0 5.3 3 5.3 5.5h-2.3c-.1-1-.4-3.5-3.1-3.5s-2.9 1.4-2.9 3.1c0 1.7.9 3 3.6 4.3 3.7 1.8 5.1 3.6 5.1 6.8 0 3.2-1.9 5.9-5.9 5.9s-5.7-2.8-5.9-5.9h2.4l-.1-.1ZM77.9 1.1v21.4h-2.3V1.1h2.3ZM87.9 16.9c.2 2.2 1.2 4 3.6 4 2.4 0 3.4-1.2 3.4-3.7s-.9-3.5-3.8-4.9c-3.4-1.6-4.8-3.1-4.8-6.2S88.2.8 91.7.8c3.5 0 5.3 3 5.3 5.5h-2.3c-.1-1-.4-3.5-3.1-3.5s-2.9 1.4-2.9 3.1c0 1.7.9 3 3.6 4.3 3.7 1.8 5.1 3.6 5.1 6.8 0 3.2-1.9 5.9-5.9 5.9s-5.7-2.8-5.9-5.9H88l-.1-.1ZM107.9 3.2h-4.8V1.1H115v2.1h-4.8v19.3h-2.4V3.2h.1ZM131.5 12.3h-7.1v8.2h7.9l-.3 2.1h-9.9V1.2h9.8v2.1h-7.5v7h7.1v2.1-.1ZM152.5 13.4c0-4 0-8 .1-10.3-.8 3.7-2.7 12.6-4.4 19.4h-2.3c-1.3-5.9-3.3-15.5-4.1-19.4.1 2.5.2 7.2.2 10.9v8.5h-2.2V1.1h3.5c1.7 6.7 3.4 14.9 3.9 17.7.4-2.3 2.5-11.2 4.2-17.7h3.5v21.4h-2.3v-9.1h-.1ZM165.9 15.8l-1.6 6.8h-2.4l5.2-21.4h3l5.3 21.4h-2.5l-1.6-6.8h-5.6.2Zm5.1-2.1c-1.2-5.3-2-8.6-2.3-10.3-.3 1.9-1.2 5.7-2.2 10.3h4.6-.1Z" data-v-7883ed41></path></svg>',2)];function $Z(e,t){return a.openBlock(),a.createElementBlock("div",QZ,NZ)}const ez=Ut(XZ,[["render",$Z],["__scopeId","data-v-7883ed41"]]),tz={class:"fge-auth-loading"},Dd=Ut(a.defineComponent({__name:"FgeLoadingComponent",setup(e){return(t,n)=>(a.openBlock(),a.createElementBlock("div",tz,[a.createVNode(ez)]))}}),[["__scopeId","data-v-461de591"]]),nz={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 1792 600"},rz=[a.createStaticVNode('<g fill="#fff" opacity=".3"><g opacity=".5" style="mix-blend-mode:overlay;"><path d="M766.836 80.288a232.487 232.487 0 0 1 80.937-30.75l-2.538-14.192c-30.341 5.374-59.677 16.516-85.954 32.658l7.549 12.284h.006Zm-83.38 88.445c13.742-25.58 32.295-48.565 54.4-67.384l-9.346-10.974c-23.476 19.981-43.16 44.385-57.752 71.536l12.698 6.828v-.006Zm-27.555 118.341c-1.106-29.014 3.398-58.203 13.071-85.574l-13.593-4.801c-10.278 29.065-15.063 60.086-13.886 90.897l14.408-.522Zm35.754 116.171c-7.743-12.273-14.356-25.263-19.653-38.78-5.308-13.512-9.336-27.52-12.069-41.779l-14.162 2.702a250.19 250.19 0 0 0 12.811 44.359c5.63 14.356 12.652 28.16 20.882 41.195l12.191-7.697Zm89.445 82.304c-25.744-13.43-48.965-31.691-68.05-53.571l-10.861 9.479c20.263 23.236 44.912 42.618 72.237 56.872l6.674-12.78Zm118.669 26.138a232.58 232.58 0 0 1-43.432-1.98 231.967 231.967 0 0 1-42.302-10.047l-4.637 13.65a246.226 246.226 0 0 0 44.932 10.671 247.502 247.502 0 0 0 46.135 2.103l-.696-14.402v.005Zm-.488-9.965a222.247 222.247 0 0 1-41.866-1.94 221.606 221.606 0 0 1-40.75-9.775c-26.487-9.054-51.238-23.19-72.555-41.354-21.332-18.149-39.199-40.331-52.312-65.041a221.143 221.143 0 0 1-16.081-38.703 228.229 228.229 0 0 1-8.562-41.083c-3.215-27.832-1.024-56.207 6.305-83.215 7.319-27.009 19.807-52.625 36.559-75.073 16.721-22.468 37.72-41.733 61.524-56.432a222.367 222.367 0 0 1 77.99-29.751l-.292-1.638a224.114 224.114 0 0 0-78.573 29.971c-23.983 14.812-45.136 34.22-61.985 56.852-16.869 22.617-29.455 48.417-36.83 75.63-7.385 27.208-9.591 55.798-6.352 83.835a229.935 229.935 0 0 0 8.624 41.385 222.975 222.975 0 0 0 16.199 38.99c13.215 24.899 31.216 47.245 52.706 65.527 21.471 18.297 46.406 32.54 73.092 41.661a223.352 223.352 0 0 0 41.057 9.847 224.31 224.31 0 0 0 42.179 1.95l-.082-1.663.005.02Zm206.309-137.293c-10.67 27.003-26.45 51.975-46.22 73.235l10.55 9.817c20.99-22.571 37.74-49.073 49.08-77.749l-13.41-5.303Zm13.53-120.756a235.381 235.381 0 0 1 2.6 43.411 230.173 230.173 0 0 1-5.56 43.115l14.06 3.179c3.4-15.037 5.41-30.397 5.91-45.807.52-15.411-.42-30.862-2.75-46.089l-14.25 2.186-.01.005Zm-49.02-111.196c18.27 22.56 32.27 48.566 40.92 76.28l13.76-4.32c-9.2-29.434-24.08-57.072-43.48-81.029l-11.21 9.069h.01Zm-98.403-71.372c27.126 10.344 52.293 25.81 73.803 45.326l9.68-10.677c-22.82-20.712-49.53-37.131-78.339-48.115l-5.144 13.471v-.005ZM850.783 49.021a232.597 232.597 0 0 1 86.562 1.924l3.01-14.1c-30.156-6.433-61.535-7.124-91.921-2.047l2.354 14.223h-.005Z" class="svg-external-circle"></path><path d="m770.229 82.09 27.386 45.699.497-.297c15.19-9.105 31.671-15.841 48.99-20.022l.563-.133-12.519-51.785-.562.133c-22.561 5.446-44.047 14.228-63.859 26.107l-.496.297Zm27.786 44.112-26.2-43.719c19.408-11.572 40.423-20.16 62.477-25.544l11.976 49.538c-17.038 4.171-33.268 10.804-48.253 19.72v.005Zm-122.706 67.825 49.44 19.858.215-.537a177.55 177.55 0 0 1 26.937-45.746l.363-.45-.45-.363-40.909-33.222-.363.45a230.724 230.724 0 0 0-35.018 59.478l-.215.537v-.005Zm48.801 18.354-47.297-18.999a229.403 229.403 0 0 1 34.266-58.193l39.563 32.132a178.66 178.66 0 0 0-26.532 45.06Zm-61.734 105.356a233.89 233.89 0 0 0 4.959 22.258l.154.558 51.38-14.105-.153-.558c-1.049-3.782-2.017-7.913-3.051-12.995-.788-4.033-1.469-8.353-2.088-13.215-.501-4.366-.87-8.834-1.09-13.276-.169-4.438-.2-8.911-.087-13.287l.015-.573-53.248-1.674-.021.579a229.844 229.844 0 0 0 3.23 46.288Zm5.921 21.393c-5.972-21.987-8.67-44.547-8.015-67.067l50.946 1.602c-.097 4.212-.061 8.516.102 12.79.226 4.478.594 8.972 1.096 13.368.624 4.893 1.31 9.244 2.103 13.302.988 4.863 1.919 8.86 2.917 12.519l-49.149 13.492v-.006Zm32.837 72.37.333.471c13.368 18.804 29.521 35.484 48.007 49.574l.461.348 32.3-42.368-.46-.348c-14.223-10.84-26.64-23.655-36.902-38.088l-.332-.471-43.412 30.887.005-.005Zm48.586 48.776c-18.051-13.829-33.846-30.141-46.974-48.504l41.528-29.547c10.155 14.182 22.377 26.798 36.344 37.515l-30.903 40.531.005.005Zm286.96-85.145 44.74 28.923.32-.487c3.39-5.287 6.29-10.154 8.85-14.883a247.102 247.102 0 0 0 7.71-15.498 250.608 250.608 0 0 0 6.52-16.04c1.85-5.072 3.58-10.466 5.29-16.48l.15-.558-51.3-14.356-.16.552c-1.34 4.714-2.67 8.855-4.06 12.652a198.982 198.982 0 0 1-5 12.325 199.477 199.477 0 0 1-5.93 11.915c-1.92 3.547-4.15 7.293-6.82 11.449l-.31.486Zm44.4 27.326-42.81-27.669c2.55-3.987 4.69-7.605 6.55-11.039 2.12-3.916 4.12-7.949 5.97-11.992 1.81-4.059 3.5-8.23 5.04-12.406 1.34-3.675 2.63-7.662 3.92-12.176l49.09 13.731c-1.65 5.769-3.32 10.953-5.11 15.846a246.95 246.95 0 0 1-6.48 15.963 244.631 244.631 0 0 1-7.67 15.421c-2.47 4.555-5.25 9.244-8.5 14.321Zm-28.5-189.268.54 1.311 1.46 3.884c.11.318.23.64.33.962l.21.599c.15.435.3.875.46 1.321.21.604.42 1.213.63 1.822l1.27 3.966 1.16 3.992c.1.328.18.656.27.988.05.205.11.41.16.614l.85 3.23.77 3.245c.18.701.33 1.417.47 2.108l.24 1.157.17.783c.18.809.36 1.643.49 2.472l.62 3.312.52 3.301c.77 5.19 1.26 9.402 1.53 13.251l.04.578 53.12-4.13-.04-.579c-1.82-23.236-7.04-45.863-15.52-67.262l-.21-.537-49.55 19.612h.01Zm10.6 32.132c-.14-.804-.31-1.612-.48-2.401l-.17-.783c-.09-.384-.16-.762-.24-1.141-.14-.706-.3-1.438-.48-2.155l-.77-3.245-.86-3.244-.15-.604c-.09-.343-.18-.686-.28-1.024l-1.17-4.002-1.27-3.987c-.21-.625-.42-1.234-.64-1.848-.15-.435-.3-.875-.45-1.315-.07-.2-.14-.4-.21-.594-.11-.333-.22-.665-.34-.993l-1.57-4.141 47.38-18.757c8.25 20.953 13.35 43.094 15.18 65.813l-50.81 3.951c-.29-3.726-.76-7.8-1.5-12.769l-.53-3.322-.62-3.316c-.01-.041-.02-.077-.02-.118v-.005Zm-83.77-117.814.497.297a177.262 177.262 0 0 1 40.833 33.933l.38.43 39.8-35.428-.39-.429a230.89 230.89 0 0 0-53.08-44.113l-.5-.297-27.535 45.607h-.005Zm41.8 33.032a178.423 178.423 0 0 0-40.213-33.421l26.343-43.632a229.516 229.516 0 0 1 51.94 43.161l-38.07 33.892Zm-151.829-56.99.573-.061c17.714-1.93 35.504-1.177 52.88 2.247l.568.112 10.288-52.276-.568-.113c-22.663-4.468-45.853-5.455-68.926-2.937l-.573.061 5.758 52.967Zm53.11.942c-17.12-3.316-34.639-4.059-52.086-2.211l-5.508-50.67c22.576-2.405 45.26-1.437 67.437 2.877l-9.843 50.009v-.005ZM819.689 498.042l.553.174a227.385 227.385 0 0 0 68.189 10.441h.578l.02-53.279h-.578a174.376 174.376 0 0 1-52.266-8.005l-.553-.174-15.937 50.838-.006.005Zm68.163 9.459a226.51 226.51 0 0 1-66.714-10.216l15.247-48.632a175.788 175.788 0 0 0 51.483 7.882l-.021 50.966h.005Z"></path><path d="m816.952 72.303 1.904 5.548.548-.189c3.332-1.157 6.879-2.267 10.84-3.404l.553-.158-1.607-5.645-.558.158c-4.069 1.167-7.713 2.308-11.142 3.501l-.543.19h.005Zm2.621 4.08-1.157-3.363a213.212 213.212 0 0 1 9.981-3.132l.972 3.424a209.25 209.25 0 0 0-9.801 3.076l.005-.005Zm-19.655 2.62 2.365 5.369.527-.225c.435-.19.87-.38 1.305-.568 1.279-.558 2.6-1.137 3.915-1.648l2.646-1.075c.548-.225 1.116-.435 1.669-.64l.987-.369.538-.204-2.073-5.492-.542.21-.983.368c-.573.215-1.167.435-1.751.67l-2.697 1.096c-1.366.532-2.738 1.131-4.064 1.71l-1.305.568-.532.23h-.005Zm2.958 3.854-1.433-3.255.778-.338c1.315-.573 2.672-1.167 4.028-1.694l2.702-1.095c.563-.23 1.152-.446 1.715-.66.148-.057.302-.113.45-.17l1.259 3.327c-.143.057-.291.108-.435.164a50.68 50.68 0 0 0-1.699.65l-2.636 1.07c-1.33.517-2.666 1.1-3.951 1.663l-.773.338h-.005Zm-19.36 4.263 2.809 5.154.507-.276c1.008-.548 2.042-1.09 3.045-1.617.661-.348 1.321-.691 1.981-1.045l5.599-2.763-2.528-5.292-.522.255a461.174 461.174 0 0 0-3.557 1.75l-1.669.825c-.675.358-1.341.706-2.001 1.054a194.289 194.289 0 0 0-3.158 1.679l-.506.276Zm3.27 3.588-1.704-3.122c.88-.47 1.771-.942 2.636-1.392.665-.348 1.33-.696 1.996-1.05l1.653-.818c1.008-.502 2.016-.998 3.025-1.495l1.535 3.214-4.596 2.268c-.67.358-1.331.701-1.991 1.049-.839.44-1.699.89-2.554 1.351v-.005Zm-80.2 67.211 4.877 3.26.323-.476a344.17 344.17 0 0 1 2.185-3.188c.348-.502.696-1.004 1.039-1.51.425-.579.855-1.177 1.29-1.776.671-.927 1.362-1.884 2.058-2.81l.348-.461-4.699-3.516-.348.461c-.727.967-1.448 1.965-2.144 2.927-.43.594-.86 1.193-1.295 1.787-.353.511-.696 1.013-1.044 1.509a297.959 297.959 0 0 0-2.268 3.312l-.322.481Zm4.565 1.658-2.958-1.975c.64-.942 1.29-1.884 1.935-2.82.343-.502.691-.999 1.033-1.5.425-.584.86-1.177 1.29-1.776.584-.809 1.177-1.638 1.786-2.452l2.851 2.129c-.583.789-1.162 1.587-1.725 2.365-.429.594-.859 1.193-1.294 1.781-.354.517-.702 1.019-1.05 1.52-.624.906-1.254 1.812-1.868 2.723v.005Zm-14.05 14.019 5.133 2.84 1.664-2.994 1.438-2.446c.179-.297.353-.599.532-.906.302-.517.599-1.029.916-1.536l1.807-2.912-4.975-3.112-1.842 2.969c-.328.527-.64 1.064-.957 1.602-.18.302-.354.609-.538.911l-1.479 2.513-1.704 3.065.005.006Zm4.683 1.274-3.112-1.725 1.136-2.042 1.469-2.503c.179-.302.358-.609.538-.916.307-.527.614-1.059.941-1.576l1.234-1.981 3.014 1.889-1.202 1.934a75.997 75.997 0 0 0-.932 1.566c-.174.302-.348.599-.527.896l-1.443 2.462-1.111 2.001-.005-.005Zm-12.856 15.124 5.353 2.406.241-.523c.824-1.801 1.673-3.608 2.4-5.164.323-.634.645-1.289.962-1.945a150.184 150.184 0 0 1 1.572-3.132l.266-.517-5.216-2.687-.266.512a147.912 147.912 0 0 0-1.632 3.26c-.323.655-.645 1.311-.973 1.961a608.55 608.55 0 0 0-2.467 5.302l-.24.527Zm4.78.88-3.245-1.458c.686-1.49 1.387-2.994 2.211-4.75.323-.64.645-1.3.967-1.955.441-.896.896-1.817 1.362-2.723l3.163 1.628c-.451.88-.891 1.771-1.315 2.641-.323.65-.64 1.3-.968 1.95a737.878 737.878 0 0 0-2.175 4.667Zm-23.205 101.979 5.855-.369-.03-.568c-.031-.599-.067-1.198-.103-1.796a99.318 99.318 0 0 1-.179-3.88l-.036-1.203c-.046-1.469-.097-2.989-.087-4.478v-.589l-5.865.052v.568c-.01 1.55.041 3.122.087 4.637l.036 1.202c.025 1.341.107 2.708.184 4.023.036.604.072 1.203.102 1.807l.031.583.005.011Zm4.642-1.449-3.552.22c-.02-.409-.046-.824-.071-1.233-.077-1.305-.159-2.657-.185-3.982l-.035-1.213c-.041-1.321-.087-2.682-.092-4.023l3.557-.031c0 1.321.046 2.646.092 3.936l.036 1.193a97.03 97.03 0 0 0 .179 3.92c.025.404.046.809.071 1.213Zm-2.702 19.674 5.804-.85-.829-6.223-.66-6.224-5.84.543.056.578c.113 1.172.241 2.344.369 3.516l.245 2.283.85 6.377h.005Zm4.509-1.827-3.521.517-.691-5.2a211.95 211.95 0 0 0-.246-2.273c-.107-.972-.21-1.95-.312-2.927l3.547-.328.537 5.108.681 5.108.005-.005Zm-3.614 7.252.102.568c.732 4.085 1.5 7.836 2.344 11.455l.133.563 5.717-1.326-.133-.563a218.864 218.864 0 0 1-2.282-11.152l-.103-.568-5.778 1.023Zm3.439 11.204a220.377 220.377 0 0 1-2.098-10.267l3.501-.619c.65 3.572 1.325 6.883 2.062 10.082l-3.465.804Zm38.565 84.5.348.455c2.124 2.769 4.473 5.64 7.385 9.044l.379.44 4.442-3.833-.373-.435c-2.846-3.322-5.128-6.117-7.186-8.798l-.353-.461-4.642 3.593v-.005Zm8.235 8.306c-2.569-3.009-4.694-5.609-6.618-8.096l2.815-2.181c1.883 2.436 3.972 4.99 6.5 7.949l-2.692 2.323-.005.005Zm3.522 5.733 2.815 3.004c.517.553 1.049 1.126 1.597 1.668l3.06 3.112 1.469 1.423 4.105-4.192-1.443-1.397-2.989-3.04c-.528-.522-1.039-1.07-1.536-1.602l-2.758-2.948-4.325 3.966.005.006Zm8.921 7.579-.635-.614-3.055-3.106c-.538-.538-1.065-1.101-1.577-1.643l-2.016-2.155 2.62-2.406 1.976 2.109a63.604 63.604 0 0 0 1.561 1.633l2.994 3.045.614.599-2.487 2.544.005-.006Zm3.997 5.41.43.389c.256.236.512.471.767.712.451.419.917.854 1.393 1.269l2.18 1.919a98.1 98.1 0 0 0 2.963 2.539c.497.414.988.824 1.479 1.244l.446.378 3.741-4.519-.435-.368c-.486-.415-.983-.83-1.474-1.239-.947-.793-1.93-1.607-2.856-2.447l-2.144-1.888a43.409 43.409 0 0 1-1.331-1.213c-.256-.236-.507-.476-.763-.706l-.425-.389-3.976 4.314.005.005Zm9.514 6.818c-.348-.292-.696-.584-1.044-.87-.972-.814-1.98-1.654-2.932-2.513l-2.191-1.93c-.466-.404-.921-.829-1.366-1.244-.118-.107-.231-.215-.349-.327l2.411-2.616c.113.103.22.205.333.308.44.409.895.834 1.361 1.238l2.134 1.878c.937.85 1.93 1.674 2.882 2.472l1.029.86-2.268 2.744Zm81.905 43.964.552.154c3.399.931 7.002 1.801 11.347 2.738l.568.123 1.223-5.738-.563-.123c-4.237-.916-7.748-1.765-11.039-2.666l-.558-.154-1.525 5.666h-.005Zm11.577 1.638c-3.839-.84-7.099-1.623-10.165-2.452l.926-3.434c3 .809 6.204 1.582 9.976 2.406l-.742 3.48h.005Zm6.264 2.451.579.098c.716.117 1.438.24 2.154.363 1.178.205 2.391.415 3.593.589l4.32.624c.312.041.624.082.937.118l1.095.133.732-5.825-1.095-.133c-.297-.035-.589-.066-.886-.107l-4.222-.609c-1.152-.169-2.324-.374-3.46-.568-.717-.123-1.428-.246-2.145-.364l-.558-.092-1.044 5.773Zm11.675.64c-.287-.036-.579-.066-.865-.107l-4.315-.625c-1.187-.174-2.395-.384-3.567-.583-.527-.092-1.054-.184-1.587-.271l.635-3.501c.527.087 1.049.179 1.576.271 1.142.195 2.319.399 3.491.573l4.227.614c.287.041.569.072.85.108l-.445 3.531v-.01Zm6.454 1.884 3.47.327 2.918.2c.353.02.701.046 1.049.072a53.33 53.33 0 0 0 1.868.117l3.485.154.241-5.865-3.419-.149c-.594-.026-1.203-.072-1.786-.112a60.986 60.986 0 0 0-1.044-.072l-2.836-.195-3.393-.322-.553 5.84v.005Zm11.69-.333-2.329-.102a54.533 54.533 0 0 1-1.832-.118 75.285 75.285 0 0 0-1.059-.072l-2.902-.199-2.309-.22.338-3.542 2.257.215 2.856.194c.348.021.691.046 1.034.072.594.041 1.213.087 1.822.113l2.267.097-.143 3.557v.005Zm192.694-108.693 5.05 2.984 1.78-3.01 1.42-2.554c.18-.312.35-.619.52-.926.3-.543.61-1.085.9-1.633l1.62-3.096-5.2-2.713-1.59 3.035c-.28.522-.57 1.044-.86 1.566-.17.308-.35.615-.52.922l-1.38 2.487-1.73 2.943-.01-.005Zm4.64 1.402-3.06-1.812 1.16-1.96 1.39-2.503.51-.916c.3-.527.59-1.054.88-1.591l1.06-2.017 3.15 1.643-1.08 2.068c-.29.537-.59 1.074-.89 1.607-.17.312-.35.619-.51.931l-1.42 2.544-1.18 2.001-.01.005Zm3.84-17.089 5.28 2.554.25-.522c.52-1.085 1.04-2.191 1.54-3.26.31-.671.62-1.346.94-2.017.3-.701.6-1.377.89-2.057.48-1.08.97-2.201 1.43-3.307l.23-.532-5.41-2.267-.23.532c-.44 1.065-.91 2.139-1.37 3.178-.3.681-.6 1.362-.89 2.048-.31.66-.63 1.335-.94 2.016-.48 1.029-.97 2.088-1.47 3.122l-.25.522v-.01Zm4.74 1.013-3.2-1.55c.42-.876.83-1.761 1.23-2.621.31-.676.63-1.351.94-2.027.31-.701.6-1.376.9-2.057l1.16-2.662 3.28 1.377c-.4.927-.81 1.853-1.2 2.759-.3.681-.6 1.361-.9 2.047-.3.655-.62 1.331-.93 2.006-.42.896-.85 1.817-1.28 2.723v.005Zm2.38-17.355 5.47 2.103 1.25-3.26c.22-.583.42-1.167.63-1.755.11-.333.23-.666.35-.998l.97-2.749 1.08-3.332-5.58-1.806-1.06 3.255-.94 2.671c-.12.328-.24.661-.35.993-.2.563-.4 1.121-.61 1.679l-1.21 3.199Zm4.81.609-3.32-1.275.8-2.124c.22-.568.42-1.136.62-1.709.11-.328.23-.655.35-.983l.94-2.687.71-2.175 3.38 1.095-.72 2.217-.96 2.733c-.12.332-.24.665-.35 1.003-.2.578-.41 1.156-.62 1.725l-.83 2.18Zm8.07-101.472 5.83-.691-.07-.573c-.14-1.177-.3-2.354-.46-3.531l-.3-2.252-1-6.357-5.78.993.98 6.203c.09.727.19 1.474.29 2.221.15 1.142.3 2.278.44 3.419l.07.574v-.006Zm4.54-1.699-3.53.42c-.11-.957-.24-1.909-.38-2.861-.1-.742-.2-1.484-.29-2.232l-.81-5.092 3.51-.604.82 5.185c.1.737.19 1.489.3 2.241.13.983.26 1.961.38 2.943Zm-10.14-28.154.52 1.939.98 4.146c.22.855.4 1.73.58 2.579l.75 3.547 5.75-1.167-.76-3.618c-.19-.875-.38-1.786-.6-2.672l-1.01-4.248-.52-1.975-5.68 1.469h-.01Zm3.72 10.85-.52-2.421c-.18-.86-.36-1.745-.58-2.615l-.99-4.156-.22-.829 3.45-.891.22.855 1.01 4.238c.22.875.4 1.771.59 2.635l.52 2.478-3.48.706Zm-8.94-27.894 1.13 3.235 1.73 5.41.95 3.275 5.64-1.637-.98-3.353-1.78-5.563-1.15-3.307-5.54 1.94Zm4.6 10.492-.63-2.18-1.74-5.441-.76-2.159 3.36-1.177.77 2.2 1.77 5.533.65 2.226-3.41.993-.01.005Zm-60.49-95.437.43.394c2.46 2.273 5.04 4.806 8.12 7.959l.4.409 4.22-4.074-.41-.414c-3.14-3.23-5.79-5.83-8.33-8.179l-.43-.389-4 4.294Zm8.97 7.135c-2.74-2.805-5.09-5.113-7.33-7.196l2.42-2.605c2.3 2.134 4.69 4.483 7.47 7.329l-2.56 2.472Zm-22.54-18.707.45.358c3.45 2.739 6.23 5.047 8.74 7.273l.44.384 3.87-4.412-.43-.378c-2.59-2.293-5.45-4.663-8.98-7.468l-.46-.358-3.63 4.611v-.01Zm9.53 6.377a211.3 211.3 0 0 0-7.91-6.566l2.2-2.795c3.12 2.483 5.7 4.627 8.05 6.69l-2.34 2.676v-.005Zm-24.03-16.761.49.317c2.79 1.827 5.76 3.895 9.33 6.505l.46.338 3.49-4.719-.47-.343c-3.66-2.672-6.71-4.796-9.58-6.684l-.48-.318-3.23 4.898-.01.006Zm10.03 5.553a211.814 211.814 0 0 0-8.43-5.886l1.96-2.969c2.6 1.715 5.35 3.634 8.59 5.994l-2.12 2.861Zm-105.93-39.44 1.996.189 4.227.507a48.98 48.98 0 0 1 2.012.266c.266.04.527.077.793.118l3.383.486.901-5.799-3.455-.496c-.271-.036-.537-.077-.803-.118a53.085 53.085 0 0 0-2.099-.282l-4.324-.517-2.037-.194-.584 5.84h-.01Zm11.444.256-2.252-.323c-.266-.036-.527-.077-.788-.112-.671-.098-1.362-.2-2.053-.272l-4.232-.506-.855-.082.353-3.542.875.082 4.32.517a44.55 44.55 0 0 1 2.063.276c.271.041.537.082.808.118l2.298.332-.542 3.517.005-.006Zm-29.225-1.234 3.424.061c.593.01 1.202.041 1.791.067.348.015.696.036 1.044.046l2.841.123 3.403.235.404-5.855-3.48-.24-2.922-.128-1.049-.046a55.675 55.675 0 0 0-1.874-.072l-3.485-.067-.092 5.866-.005.01Zm11.423-.696-2.262-.154-2.861-.122-1.034-.046a52.974 52.974 0 0 0-1.827-.067l-2.267-.04.056-3.558 2.329.04c.609.011 1.233.042 1.837.068.353.015.706.035 1.06.046l2.901.128 2.314.158-.246 3.552v-.005Zm-29.239 1.193.568-.031c.752-.041 1.5-.082 2.252-.128 1.147-.067 2.288-.133 3.434-.184l2.841-.087.906-.031c.629-.02 1.279-.046 1.914-.041h.594l-.087-5.865h-.563c-.671-.01-1.352.015-2.007.035l-.921.031-2.912.092c-1.198.051-2.406.123-3.578.19-.752.046-1.499.087-2.252.128l-.588.03.399 5.855v.006Zm11.337-1.649c-.466.006-.927.021-1.377.041l-.901.031-2.851.087c-1.162.051-2.329.118-3.46.184-.557.031-1.12.067-1.678.098l-.241-3.552c.558-.031 1.116-.062 1.674-.098 1.167-.066 2.369-.138 3.552-.189l2.902-.092.931-.03c.456-.016.926-.032 1.392-.042l.051 3.557.006.005Zm-190.112 247.44.092.522c4.448 25.555 13.727 49.559 27.572 71.336 13.655 21.522 31.926 40.658 52.839 55.353 20.928 14.74 45.111 25.477 69.928 31.061a194.982 194.982 0 0 0 38.079 4.714 198.899 198.899 0 0 0 38.381-2.81c12.723-2.201 25.206-5.625 37.111-10.18a195.175 195.175 0 0 0 34.317-17.171c21.523-13.558 40.733-31.768 55.523-52.65 14.8-20.836 25.62-44.983 31.3-69.831 5.77-25.156 6.49-50.879 2.14-76.449-2.17-12.729-5.54-25.227-10.05-37.147a195.4 195.4 0 0 0-17.06-34.374c-13.49-21.567-31.63-40.827-52.47-55.69-20.843-14.893-44.954-25.8-69.726-31.537a195.227 195.227 0 0 0-38.053-4.965c-12.728-.4-25.641.476-38.391 2.59l-.568.092 2.089 12.626.568-.097c11.925-1.98 24.004-2.794 35.903-2.426a182.418 182.418 0 0 1 35.551 4.642c23.154 5.364 45.694 15.559 65.184 29.491 19.493 13.9 36.453 31.906 49.053 52.066a182.247 182.247 0 0 1 15.94 32.111 184.427 184.427 0 0 1 9.4 34.747c4.07 23.907 3.4 47.951-1.99 71.464-5.31 23.226-15.43 45.802-29.27 65.286-13.84 19.531-31.79 36.554-51.911 49.226a182.712 182.712 0 0 1-32.06 16.046c-11.126 4.258-22.806 7.462-34.711 9.519-11.904 2.037-23.983 2.923-35.893 2.631a182.595 182.595 0 0 1-35.581-4.402c-23.2-5.22-45.812-15.262-65.379-29.045-19.551-13.737-36.635-31.63-49.405-51.749-12.938-20.36-21.608-42.798-25.769-66.684-.026-.158-.056-.322-.082-.481a185.888 185.888 0 0 1-2.667-35.407 182.246 182.246 0 0 1 4.284-35.591c5.144-23.216 15.114-45.853 28.836-65.471 13.716-19.643 31.548-36.789 51.58-49.584a182.613 182.613 0 0 1 31.952-16.255c11.086-4.325 22.745-7.595 34.645-9.714l.568-.103-2.252-12.6-.568.102c-12.719 2.267-25.187 5.763-37.045 10.39a195.416 195.416 0 0 0-34.204 17.401c-21.43 13.686-40.505 32.024-55.174 53.029-14.673 20.974-25.334 45.188-30.836 70.026a195.071 195.071 0 0 0-4.586 38.094 198.905 198.905 0 0 0 2.851 37.853l.015-.005Zm386.062-66.433c.03.174.06.343.08.517 4.33 25.422 3.61 50.992-2.13 75.999-5.64 24.7-16.4 48.704-31.11 69.422-14.71 20.764-33.8 38.861-55.197 52.343a194.122 194.122 0 0 1-34.112 17.068c-11.834 4.53-24.25 7.933-36.897 10.119-12.652 2.165-25.488 3.107-38.155 2.794a194.198 194.198 0 0 1-37.854-4.683c-24.674-5.553-48.714-16.229-69.519-30.882-20.79-14.607-38.949-33.636-52.527-55.025-13.762-21.655-22.985-45.515-27.407-70.916-2.196-12.647-3.194-25.483-2.923-38.151a193.624 193.624 0 0 1 4.56-37.869c5.472-24.689 16.071-48.765 30.658-69.616 14.581-20.882 33.544-39.112 54.845-52.716a194.092 194.092 0 0 1 34-17.3c11.618-4.534 23.809-7.974 36.262-10.23l1.847 10.328c-11.776 2.134-23.313 5.389-34.296 9.673a183.97 183.97 0 0 0-32.157 16.357c-20.155 12.872-38.104 30.125-51.903 49.897-13.808 19.735-23.84 42.516-29.014 65.88a183.719 183.719 0 0 0-4.315 35.816c-.256 11.987.686 24.137 2.769 36.114 4.187 24.039 12.908 46.615 25.928 67.103 12.847 20.247 30.039 38.253 49.712 52.077 19.695 13.87 42.445 23.973 65.789 29.224a183.568 183.568 0 0 0 35.801 4.432c11.986.297 24.137-.593 36.118-2.646 11.976-2.073 23.728-5.297 34.926-9.581a183.551 183.551 0 0 0 32.264-16.142c20.257-12.755 38.317-29.885 52.237-49.538 13.92-19.603 24.11-42.322 29.44-65.696 5.43-23.661 6.1-47.855 2.01-71.915a186.913 186.913 0 0 0-9.46-34.961 183.323 183.323 0 0 0-16.04-32.316c-12.69-20.288-29.76-38.406-49.363-52.394-19.613-14.019-42.296-24.28-65.599-29.675a183.48 183.48 0 0 0-35.775-4.668c-11.782-.368-23.743.42-35.556 2.344l-1.714-10.348c12.488-2.037 25.13-2.872 37.592-2.483 12.719.4 25.442 2.058 37.828 4.94 24.623 5.701 48.591 16.546 69.317 31.353 20.72 14.776 38.75 33.923 52.16 55.362a193.946 193.946 0 0 1 16.96 34.169 198.357 198.357 0 0 1 9.91 36.415l.01.005Z"></path><path d="M861.193 111.933a169.765 169.765 0 0 1 33.104-2.237 167.52 167.52 0 0 1 32.736 4.274c21.48 4.975 42.045 14.29 60.086 27.187 18.051 12.877 33.531 29.296 45.221 47.988 11.71 18.696 19.63 39.624 23.34 61.616 3.74 21.983 3.09 44.349-1.83 65.855-4.91 21.491-14.14 42.096-26.98 60.173-12.82 18.093-29.187 33.626-47.843 45.378-18.66 11.776-39.557 19.76-61.535 23.553-21.977 3.772-44.343 3.235-65.864-1.633-21.512-4.836-42.133-14.003-60.261-26.772-18.149-12.75-33.723-29.081-45.541-47.696-11.833-18.625-19.914-39.486-23.737-61.453-3.849-21.967-3.389-44.338 1.407-65.875 4.765-21.527 13.87-42.173 26.578-60.343 12.693-18.184 28.959-33.835 47.542-45.704a168.246 168.246 0 0 1 29.424-14.971c10.277-4.012 20.974-7.001 31.947-8.956l-.68-3.824c-11.219 2.002-22.162 5.057-32.679 9.162a171.601 171.601 0 0 0-30.11 15.318c-19.014 12.146-35.648 28.155-48.632 46.754-13 18.584-22.31 39.701-27.188 61.725-4.903 22.033-5.379 44.931-1.443 67.384 3.91 22.454 12.181 43.811 24.285 62.866 12.089 19.044 28.022 35.75 46.58 48.791 18.543 13.061 39.635 22.438 61.643 27.387 22.018 4.975 44.911 5.527 67.379 1.668 22.464-3.874 43.857-12.043 62.948-24.096 19.09-12.022 35.83-27.909 48.94-46.416 13.14-18.491 22.57-39.563 27.6-61.555 5.04-22.003 5.69-44.896 1.87-67.365-3.79-22.483-11.89-43.903-23.88-63.029-11.95-19.126-27.79-35.919-46.254-49.088-18.451-13.189-39.481-22.719-61.458-27.806a171.76 171.76 0 0 0-33.498-4.371c-11.28-.353-22.617.42-33.862 2.288l.635 3.828.01-.005Z"></path><path d="m653.762 166.149.174.082 80.605 38.82.082-.174a173.57 173.57 0 0 1 15.487-25.994c5.973-8.287 12.626-15.989 19.776-22.894a173.235 173.235 0 0 1 23.426-19.019c8.204-5.532 17.079-10.425 26.368-14.53l.174-.077-.076-.174-36.063-81.874-.174.077c-14.151 6.25-27.724 13.727-40.33 22.228a262.625 262.625 0 0 0-35.74 29.01c-10.917 10.558-21.035 22.273-30.079 34.813a263.553 263.553 0 0 0-23.543 39.527l-.082.174-.005.005Zm80.6 38.391-80.083-38.57a262.827 262.827 0 0 1 23.425-39.297c9.029-12.524 19.137-24.219 30.033-34.762a262.885 262.885 0 0 1 35.689-28.969c12.539-8.455 26.03-15.897 40.095-22.12l35.832 81.347c-9.249 4.1-18.077 8.972-26.251 14.484a173.643 173.643 0 0 0-23.482 19.06c-7.165 6.92-13.834 14.638-19.822 22.944a173.708 173.708 0 0 0-15.436 25.878v.005Zm296.708 169.225.16.107 76.47 50.884.1-.158c8.48-12.698 15.96-26.415 22.23-40.771 6.27-14.418 11.23-29.24 14.73-44.062a264.947 264.947 0 0 0 6.72-45.991c.84-15.324.32-30.939-1.53-46.421l-.02-.19-.19.026-91.18 11.086.02.189a176.807 176.807 0 0 1 1 30.187 173.6 173.6 0 0 1-4.35 29.787c-2.25 9.54-5.47 19.167-9.58 28.605-4.1 9.407-8.97 18.343-14.47 26.558l-.11.159v.005Zm76.52 50.459-75.98-50.567c5.46-8.189 10.3-17.089 14.39-26.46 4.11-9.464 7.34-19.106 9.59-28.672 2.32-9.76 3.79-19.807 4.36-29.854.54-9.883.21-19.996-.97-30.064l90.61-11.014c1.83 15.395 2.34 30.929 1.5 46.166a264.175 264.175 0 0 1-6.7 45.924c-3.5 14.797-8.45 29.598-14.72 43.995-6.23 14.27-13.65 27.915-22.08 40.551v-.005ZM861.475 110.116l.189-.031c5.43-.87 10.364-1.448 15.078-1.771a177.464 177.464 0 0 1 15.104-.414c5.138.082 10.2.389 15.047.901 4.98.537 9.99 1.294 14.893 2.262 10.052 1.991 19.787 4.821 28.948 8.414a174.494 174.494 0 0 1 27.091 13.425l.163.102.103-.164 55.719-91.266-.16-.102a281.841 281.841 0 0 0-43.987-21.798c-15.048-5.896-30.924-10.513-47.184-13.722a280.32 280.32 0 0 0-24.326-3.685A278.877 278.877 0 0 0 893.596.788a283.583 283.583 0 0 0-24.572.68c-7.739.543-15.943 1.5-24.378 2.852l-.189.03.031.19 16.997 105.571-.01.005Zm116.375 22.366a174.458 174.458 0 0 0-26.983-13.358c-9.176-3.603-18.942-6.444-29.009-8.435a174.43 174.43 0 0 0-14.929-2.267c-4.857-.517-9.93-.819-15.078-.901a177.79 177.79 0 0 0-15.135.415c-4.667.317-9.55.89-14.919 1.745L844.892 4.678c8.358-1.336 16.48-2.283 24.152-2.82a282.833 282.833 0 0 1 24.537-.676c8.291.133 16.541.63 24.52 1.474a279.565 279.565 0 0 1 24.296 3.68c16.235 3.21 32.091 7.815 47.117 13.701a281.097 281.097 0 0 1 43.756 21.67l-55.415 90.775h-.005Zm-128.639-2.979 1.51-.404 1.525-.363-2.866-11.854-1.643.389-1.628.435 3.102 11.797Zm-6.003 1.694 2.994-.875-3.342-11.731-3.229.942 3.577 11.664Zm-5.911 1.955 1.469-.511c.486-.174.978-.348 1.474-.497l-3.808-11.587c-.537.164-1.064.343-1.591.532l-1.587.553 4.043 11.51Zm-5.82 2.176c.952-.41 1.934-.742 2.902-1.116l-4.274-11.424c-1.044.405-2.104.763-3.132 1.203l4.504 11.337Zm-5.721 2.405 2.845-1.238-4.734-11.245-3.076 1.336 4.965 11.147Zm-5.611 2.646c.926-.46 1.848-.931 2.794-1.351l-5.184-11.04c-1.019.456-2.017.962-3.015 1.459l5.41 10.932h-.005Z"></path><path d="M814.639 143.23c.901-.507 1.832-.962 2.738-1.454l-5.63-10.819c-.982.527-1.985 1.023-2.958 1.571l5.85 10.707v-.005Zm-5.386 3.091 2.672-1.581-6.065-10.584-2.881 1.704 6.274 10.461Zm-5.251 3.307 1.295-.86 1.316-.819-6.49-10.328-1.423.885-1.397.926 6.699 10.196Zm-5.127 3.505c.84-.609 1.705-1.177 2.549-1.776L794.52 141.3c-.911.645-1.843 1.265-2.749 1.92l7.104 9.913Zm-4.975 3.726 2.467-1.893-7.304-9.771-2.667 2.048 7.504 9.616Zm-4.827 3.931 1.183-1.013 1.213-.973-7.693-9.468-1.31 1.054-1.275 1.09 7.882 9.31Zm-4.683 4.115c.763-.706 1.551-1.382 2.319-2.078l-8.071-9.151c-.83.752-1.679 1.484-2.503 2.242l8.25 8.982.005.005Zm-4.498 4.31 2.226-2.181-8.434-8.818-2.401 2.354 8.609 8.645Zm-4.33 4.498 1.054-1.151 1.09-1.121-8.782-8.471-1.173 1.208-1.136 1.239 8.947 8.296Zm-4.161 4.658c.67-.799 1.377-1.561 2.057-2.349l-9.11-8.113c-.737.85-1.499 1.674-2.221 2.534l9.274 7.928Zm-3.961 4.831 1.95-2.441-9.428-7.739-2.108 2.631 9.586 7.549Zm-3.767 4.991.911-1.27c.302-.425.629-.829.947-1.243l-9.73-7.355c-.338.45-.691.885-1.018 1.341l-.988 1.366 9.878 7.161Zm-3.573 5.128c.557-.881 1.182-1.715 1.76-2.58l-10.016-6.96c-.629.931-1.295 1.837-1.899 2.784l10.155 6.756Zm-3.356 5.271 1.648-2.656-10.293-6.556-1.771 2.866 10.416 6.346Zm-3.135 5.405c.507-.911.998-1.827 1.541-2.718l-10.543-6.136c-.584.957-1.116 1.95-1.664 2.927l10.666 5.922v.005Zm-2.925 5.512.342-.701.364-.686.732-1.382-10.784-5.706-.783 1.489-.394.742-.374.758 10.897 5.486Zm-2.704 5.625 1.315-2.825-10.998-5.272-1.418 3.051 11.101 5.046Zm-2.452 5.732c.394-.962.768-1.929 1.203-2.876l-11.204-4.821c-.465 1.018-.87 2.068-1.295 3.101l11.301 4.596h-.005Zm-2.237 5.815.256-.737.276-.727.558-1.454-11.393-4.371-.598 1.572-.297.783-.277.793 11.475 4.141Zm-1.995 5.891.962-2.959-11.557-3.905-1.039 3.194 11.634 3.67Zm-1.74 5.967c.276-.998.527-2.001.839-2.989l-11.705-3.434c-.337 1.065-.609 2.15-.911 3.229l11.772 3.199.005-.005Zm-1.514 6.024.163-.762.19-.753.373-1.504-11.833-2.959-.404 1.628-.205.814-.174.819 11.89 2.717Zm1.457 74.341c-.261-1.009-.557-2.007-.778-3.03l-11.848 2.897c.241 1.1.558 2.175.839 3.265l11.787-3.137v.005Zm1.716 5.998c-.323-.988-.584-1.996-.886-2.989l-11.725 3.373c.322 1.075.609 2.16.951 3.224l11.654-3.608h.006Zm1.965 5.906-1.019-2.937-11.577 3.838c.353 1.06.737 2.114 1.1 3.173l11.501-4.074h-.005Zm2.195 5.809c-.194-.481-.399-.957-.583-1.438l-.543-1.453-11.413 4.304.589 1.571c.199.522.419 1.034.629 1.556l11.326-4.534-.005-.006Zm2.411 5.722-1.233-2.85-11.235 4.77 1.336 3.071 11.132-4.991Zm2.666 5.6-.691-1.387-.348-.696-.322-.707-11.025 5.221.348.757.374.753.742 1.499 10.922-5.44Zm2.871 5.496c-.522-.89-.973-1.822-1.464-2.733l-10.804 5.661c.527.983 1.018 1.986 1.581 2.953l10.687-5.881Zm3.098 5.38-1.582-2.672-10.564 6.096 1.705 2.881 10.441-6.305Zm3.325 5.241c-.563-.865-1.157-1.715-1.689-2.606l-10.313 6.521c.573.957 1.213 1.878 1.822 2.815l10.175-6.725.005-.005Zm3.522 5.112-.46-.624-.441-.64-.885-1.279-10.037 6.935.957 1.377.476.69.497.676 9.893-7.135Zm3.736 4.975-1.899-2.467-9.75 7.335 2.048 2.656 9.601-7.524Zm3.946 4.811c-.671-.793-1.361-1.571-1.996-2.39l-9.448 7.718c.691.881 1.433 1.725 2.155 2.58l9.289-7.908Zm4.131 4.668-.537-.568-.517-.584-1.034-1.161-9.126 8.091 1.116 1.254.558.63.578.614 8.962-8.276Zm4.318 4.499-2.185-2.227-8.798 8.456 2.359 2.4 8.624-8.629Zm4.511 4.314c-.758-.711-1.546-1.397-2.278-2.134l-8.444 8.803c.793.794 1.632 1.536 2.456 2.303l8.266-8.966v-.006Zm4.672 4.141c-.814-.655-1.572-1.372-2.355-2.052l-8.086 9.135c.849.737 1.668 1.505 2.543 2.212l7.903-9.295h-.005Zm4.836 3.956-2.441-1.95-7.713 9.448 2.63 2.109 7.524-9.607Zm5.005 3.747c-.839-.62-1.704-1.203-2.518-1.848l-7.329 9.75c.88.696 1.812 1.326 2.718 1.996l7.135-9.898h-.006Zm5.141 3.557c-.886-.553-1.725-1.167-2.59-1.751l-6.935 10.037c.926.635 1.837 1.29 2.789 1.889l6.731-10.175h.005Zm5.276 3.352-2.656-1.648-6.526 10.303 2.861 1.781 6.321-10.436Zm5.415 3.117-1.367-.763-.686-.373-.67-.399-6.106 10.563.721.425.737.41 1.474.813 5.897-10.676Zm5.521 2.907c-.942-.445-1.853-.942-2.774-1.428l-5.676 10.799c.993.522 1.981 1.06 2.994 1.541l5.461-10.907-.005-.005Zm5.63 2.692-2.825-1.32-5.241 11.014 3.05 1.423 5.016-11.117Zm5.739 2.436-1.444-.588c-.481-.195-.962-.384-1.438-.604l-4.79 11.219c.511.235 1.028.44 1.55.65l1.556.634 4.566-11.311Zm5.818 2.211c-.486-.174-.982-.332-1.464-.522l-1.453-.557-4.335 11.403 1.571.598c.522.205 1.055.374 1.582.563l4.104-11.485h-.005Zm5.896 1.992-2.958-.968-3.87 11.567 3.189 1.044 3.639-11.643Zm5.974 1.719-1.499-.409c-.502-.133-1.004-.266-1.495-.425l-3.403 11.715c.532.169 1.074.312 1.612.456l1.617.44 3.163-11.782.005.005Zm6.028 1.489c-1.013-.204-2.016-.465-3.019-.716l-2.928 11.843c1.085.271 2.165.548 3.26.773l2.687-11.9Zm90.165-6.822-2.907 1.09 4.187 11.46 3.137-1.183-4.417-11.367Zm5.734-2.38c-.952.404-1.888.845-2.856 1.213l4.648 11.28c1.044-.399 2.057-.875 3.081-1.31l-4.878-11.183h.005Zm5.64-2.59c-.46.236-.926.456-1.397.671l-1.407.65 5.102 11.081 1.52-.707c.507-.23 1.014-.465 1.51-.721l-5.328-10.974Zm5.523-2.82-2.743 1.449 5.548 10.865 2.963-1.561-5.768-10.753Zm5.403-3.05-1.33.793c-.446.266-.906.502-1.351.758l5.983 10.63c.486-.276.982-.532 1.463-.819l1.439-.855-6.198-10.507h-.006Zm5.282-3.25c-.865.573-1.756 1.095-2.626 1.653l6.413 10.38c.942-.599 1.904-1.167 2.836-1.787l-6.618-10.246h-.005Zm5.149-3.48-2.554 1.77 6.828 10.109 2.753-1.909-7.027-9.97Zm5.001-3.691-1.229.952-1.254.917 7.232 9.826 1.351-.987 1.331-1.029-7.431-9.679Zm4.867-3.879c-.794.67-1.612 1.305-2.416 1.965l7.621 9.525c.865-.711 1.75-1.397 2.605-2.119l-7.81-9.371Zm4.699-4.089L990 395.772l8 9.213 2.51-2.237-8.186-9.048Zm4.534-4.279-1.105 1.1-1.142 1.065 8.359 8.88 1.23-1.152 1.2-1.182-8.542-8.711Zm4.372-4.448c-.7.768-1.445 1.495-2.162 2.247l8.712 8.537c.78-.814 1.58-1.597 2.34-2.426l-8.89-8.358Zm4.19-4.637-2.07 2.344 9.06 8.179 2.22-2.523-9.21-8Zm3.99-4.801-.97 1.224c-.32.409-.67.798-1 1.197l9.37 7.81c.36-.429.73-.849 1.08-1.289l1.05-1.321-9.53-7.621Zm3.82-4.954c-.6.85-1.27 1.658-1.89 2.493l9.68 7.431c.67-.901 1.38-1.771 2.03-2.692l-9.82-7.232Zm3.6-5.108-1.77 2.58 9.97 7.032 1.91-2.774-10.11-6.838Zm3.39-5.251c-.54.886-1.08 1.781-1.67 2.641l10.25 6.633c.63-.931 1.2-1.894 1.8-2.845l-10.37-6.424-.01-.005Zm3.19-5.369-.37.681-.4.67-.79 1.346 10.49 6.219.86-1.454.43-.721.4-.737-10.62-6.004Zm2.97-5.497-1.45 2.764 10.73 5.789 1.57-2.979-10.85-5.574Zm2.73-5.609c-.45.942-.86 1.894-1.34 2.82l10.96 5.354c.52-.998.97-2.027 1.45-3.041l-11.07-5.133Zm2.51-5.707c-.37.973-.82 1.909-1.23 2.866l11.17 4.909c.44-1.034.92-2.042 1.33-3.092l-11.27-4.683Zm2.28-5.799-1.1 2.913 11.35 4.452 1.2-3.137-11.45-4.228Zm2.03-5.88c-.33.982-.62 1.981-.98 2.948l11.52 3.992c.4-1.049.71-2.124 1.07-3.183l-11.6-3.762-.01.005Zm1.8-5.953c-.26 1.004-.59 1.986-.87 2.984l11.67 3.527c.32-1.075.67-2.135.95-3.22l-11.75-3.285v-.006Zm-4.83-97.484 1.1 2.907 11.46-4.171-1.18-3.138-11.38 4.402Zm-2.36-5.743.63 1.423c.21.471.38.957.58 1.438l11.29-4.626c-.22-.517-.4-1.044-.64-1.551l-.67-1.536-11.18 4.858-.01-.006Zm-2.57-5.645c.46.926.87 1.878 1.31 2.81l11.09-5.082c-.48-1.009-.92-2.032-1.41-3.035l-10.99 5.307Zm-2.82-5.522 1.44 2.743 10.88-5.528-1.57-2.968-10.75 5.753Zm-3.04-5.41.79 1.331.76 1.356 10.63-5.963-.81-1.463-.85-1.444-10.52 6.183Zm-3.24-5.292 1.64 2.631 10.39-6.393-1.77-2.841-10.26 6.603Zm-3.48-5.149c.58.855 1.2 1.694 1.77 2.554l10.12-6.807c-.61-.932-1.27-1.838-1.9-2.759l-9.98 7.012h-.01Zm-3.67-5.011c.31.41.64.819.95 1.234l.91 1.259 9.84-7.212-.99-1.356c-.33-.45-.69-.885-1.02-1.331l-9.69 7.411v-.005Zm-3.87-4.872 1.96 2.416 9.53-7.606-2.11-2.61-9.38 7.8Zm-4.09-4.704c.69.783 1.4 1.541 2.07 2.329l9.22-7.984c-.72-.855-1.49-1.674-2.23-2.513l-9.06 8.168Zm-4.266-4.544 1.096 1.11 1.06 1.141 8.89-8.347-1.14-1.234-1.18-1.197-8.726 8.527Zm-4.443-4.387 2.242 2.176 8.547-8.701-2.42-2.339-8.369 8.864Zm-4.632-4.186c.773.696 1.571 1.366 2.339 2.067l8.192-9.033c-.83-.758-1.682-1.484-2.521-2.232l-8.015 9.198h.005Zm-4.796-4.008 1.223.973 1.193 1.008 7.83-9.356-1.289-1.085-1.316-1.049-7.641 9.509Zm-4.943-3.823c.839.614 1.658 1.264 2.492 1.889l7.447-9.663c-.901-.676-1.781-1.372-2.687-2.037l-7.252 9.811Zm-5.104-3.608 2.575 1.776 7.052-9.955-2.774-1.914-6.853 10.093Zm-5.24-3.399 1.331.819 1.305.855 6.648-10.226-1.412-.926-1.434-.881-6.438 10.359Zm-5.369-3.204c.911.502 1.796 1.055 2.697 1.577l6.234-10.487c-.973-.558-1.925-1.157-2.907-1.699l-6.024 10.609Zm-5.492-2.968 2.763 1.448 5.809-10.727-2.983-1.561-5.589 10.84Zm-5.604-2.743 1.418.655c.471.215.931.46 1.397.691l5.374-10.953c-.507-.246-.998-.512-1.51-.742l-1.525-.706-5.149 11.06-.005-.005Zm-5.701-2.524c.967.384 1.904.83 2.861 1.234l4.929-11.158c-1.034-.435-2.048-.921-3.087-1.33l-4.703 11.254Zm-5.793-2.287 2.907 1.105 4.478-11.347-3.142-1.192-4.243 11.434Zm-5.881-2.037c.988.317 1.976.629 2.948.993l4.013-11.521c-1.05-.389-2.119-.727-3.184-1.07l-3.777 11.598Zm-5.947-1.812c.501.128.998.281 1.494.43l1.49.445 3.541-11.674-1.607-.482c-.537-.163-1.069-.327-1.612-.465l-3.306 11.741v.005Zm-6.014-1.566 3.02.742 3.066-11.808-3.256-.798-2.83 11.864Zm-6.066-1.306 1.525.292c.507.097 1.008.225 1.515.333l2.59-11.92c-.548-.118-1.091-.251-1.638-.358l-1.643-.318-2.344 11.971h-.005Zm-6.112-1.079c1.024.148 2.037.348 3.061.511l2.104-12.017c-1.101-.174-2.201-.394-3.307-.553l-1.858 12.059Zm-6.146-.814 3.081.368 1.612-12.094-3.327-.399-1.366 12.125Z" class="svg-internal-circle"></path></g><g opacity=".5" style="mix-blend-mode:overlay;"><path d="M766.836 80.288a232.487 232.487 0 0 1 80.937-30.75l-2.538-14.192c-30.341 5.374-59.677 16.516-85.954 32.658l7.549 12.284h.006Zm-83.38 88.445c13.742-25.58 32.295-48.565 54.4-67.384l-9.346-10.974c-23.476 19.981-43.16 44.385-57.752 71.536l12.698 6.828v-.006Zm-27.555 118.341c-1.106-29.014 3.398-58.203 13.071-85.574l-13.593-4.801c-10.278 29.065-15.063 60.086-13.886 90.897l14.408-.522Zm35.754 116.171c-7.743-12.273-14.356-25.263-19.653-38.78-5.308-13.512-9.336-27.52-12.069-41.779l-14.162 2.702a250.19 250.19 0 0 0 12.811 44.359c5.63 14.356 12.652 28.16 20.882 41.195l12.191-7.697Zm89.445 82.304c-25.744-13.43-48.965-31.691-68.05-53.571l-10.861 9.479c20.263 23.236 44.912 42.618 72.237 56.872l6.674-12.78Zm118.669 26.138a232.58 232.58 0 0 1-43.432-1.98 231.967 231.967 0 0 1-42.302-10.047l-4.637 13.65a246.226 246.226 0 0 0 44.932 10.671 247.502 247.502 0 0 0 46.135 2.103l-.696-14.402v.005Zm-.488-9.965a222.247 222.247 0 0 1-41.866-1.94 221.606 221.606 0 0 1-40.75-9.775c-26.487-9.054-51.238-23.19-72.555-41.354-21.332-18.149-39.199-40.331-52.312-65.041a221.143 221.143 0 0 1-16.081-38.703 228.229 228.229 0 0 1-8.562-41.083c-3.215-27.832-1.024-56.207 6.305-83.215 7.319-27.009 19.807-52.625 36.559-75.073 16.721-22.468 37.72-41.733 61.524-56.432a222.367 222.367 0 0 1 77.99-29.751l-.292-1.638a224.114 224.114 0 0 0-78.573 29.971c-23.983 14.812-45.136 34.22-61.985 56.852-16.869 22.617-29.455 48.417-36.83 75.63-7.385 27.208-9.591 55.798-6.352 83.835a229.935 229.935 0 0 0 8.624 41.385 222.975 222.975 0 0 0 16.199 38.99c13.215 24.899 31.216 47.245 52.706 65.527 21.471 18.297 46.406 32.54 73.092 41.661a223.352 223.352 0 0 0 41.057 9.847 224.31 224.31 0 0 0 42.179 1.95l-.082-1.663.005.02Zm206.309-137.293c-10.67 27.003-26.45 51.975-46.22 73.235l10.55 9.817c20.99-22.571 37.74-49.073 49.08-77.749l-13.41-5.303Zm13.53-120.756a235.381 235.381 0 0 1 2.6 43.411 230.173 230.173 0 0 1-5.56 43.115l14.06 3.179c3.4-15.037 5.41-30.397 5.91-45.807.52-15.411-.42-30.862-2.75-46.089l-14.25 2.186-.01.005Zm-49.02-111.196c18.27 22.56 32.27 48.566 40.92 76.28l13.76-4.32c-9.2-29.434-24.08-57.072-43.48-81.029l-11.21 9.069h.01Zm-98.403-71.372c27.126 10.344 52.293 25.81 73.803 45.326l9.68-10.677c-22.82-20.712-49.53-37.131-78.339-48.115l-5.144 13.471v-.005ZM850.783 49.021a232.597 232.597 0 0 1 86.562 1.924l3.01-14.1c-30.156-6.433-61.535-7.124-91.921-2.047l2.354 14.223h-.005Z" class="svg-external-circle"></path><path d="m770.229 82.09 27.386 45.699.497-.297c15.19-9.105 31.671-15.841 48.99-20.022l.563-.133-12.519-51.785-.562.133c-22.561 5.446-44.047 14.228-63.859 26.107l-.496.297Zm27.786 44.112-26.2-43.719c19.408-11.572 40.423-20.16 62.477-25.544l11.976 49.538c-17.038 4.171-33.268 10.804-48.253 19.72v.005Zm-122.706 67.825 49.44 19.858.215-.537a177.55 177.55 0 0 1 26.937-45.746l.363-.45-.45-.363-40.909-33.222-.363.45a230.724 230.724 0 0 0-35.018 59.478l-.215.537v-.005Zm48.801 18.354-47.297-18.999a229.403 229.403 0 0 1 34.266-58.193l39.563 32.132a178.66 178.66 0 0 0-26.532 45.06Zm-61.734 105.356a233.89 233.89 0 0 0 4.959 22.258l.154.558 51.38-14.105-.153-.558c-1.049-3.782-2.017-7.913-3.051-12.995-.788-4.033-1.469-8.353-2.088-13.215-.501-4.366-.87-8.834-1.09-13.276-.169-4.438-.2-8.911-.087-13.287l.015-.573-53.248-1.674-.021.579a229.844 229.844 0 0 0 3.23 46.288Zm5.921 21.393c-5.972-21.987-8.67-44.547-8.015-67.067l50.946 1.602c-.097 4.212-.061 8.516.102 12.79.226 4.478.594 8.972 1.096 13.368.624 4.893 1.31 9.244 2.103 13.302.988 4.863 1.919 8.86 2.917 12.519l-49.149 13.492v-.006Zm32.837 72.37.333.471c13.368 18.804 29.521 35.484 48.007 49.574l.461.348 32.3-42.368-.46-.348c-14.223-10.84-26.64-23.655-36.902-38.088l-.332-.471-43.412 30.887.005-.005Zm48.586 48.776c-18.051-13.829-33.846-30.141-46.974-48.504l41.528-29.547c10.155 14.182 22.377 26.798 36.344 37.515l-30.903 40.531.005.005Zm286.96-85.145 44.74 28.923.32-.487c3.39-5.287 6.29-10.154 8.85-14.883a247.102 247.102 0 0 0 7.71-15.498 250.608 250.608 0 0 0 6.52-16.04c1.85-5.072 3.58-10.466 5.29-16.48l.15-.558-51.3-14.356-.16.552c-1.34 4.714-2.67 8.855-4.06 12.652a198.982 198.982 0 0 1-5 12.325 199.477 199.477 0 0 1-5.93 11.915c-1.92 3.547-4.15 7.293-6.82 11.449l-.31.486Zm44.4 27.326-42.81-27.669c2.55-3.987 4.69-7.605 6.55-11.039 2.12-3.916 4.12-7.949 5.97-11.992 1.81-4.059 3.5-8.23 5.04-12.406 1.34-3.675 2.63-7.662 3.92-12.176l49.09 13.731c-1.65 5.769-3.32 10.953-5.11 15.846a246.95 246.95 0 0 1-6.48 15.963 244.631 244.631 0 0 1-7.67 15.421c-2.47 4.555-5.25 9.244-8.5 14.321Zm-28.5-189.268.54 1.311 1.46 3.884c.11.318.23.64.33.962l.21.599c.15.435.3.875.46 1.321.21.604.42 1.213.63 1.822l1.27 3.966 1.16 3.992c.1.328.18.656.27.988.05.205.11.41.16.614l.85 3.23.77 3.245c.18.701.33 1.417.47 2.108l.24 1.157.17.783c.18.809.36 1.643.49 2.472l.62 3.312.52 3.301c.77 5.19 1.26 9.402 1.53 13.251l.04.578 53.12-4.13-.04-.579c-1.82-23.236-7.04-45.863-15.52-67.262l-.21-.537-49.55 19.612h.01Zm10.6 32.132c-.14-.804-.31-1.612-.48-2.401l-.17-.783c-.09-.384-.16-.762-.24-1.141-.14-.706-.3-1.438-.48-2.155l-.77-3.245-.86-3.244-.15-.604c-.09-.343-.18-.686-.28-1.024l-1.17-4.002-1.27-3.987c-.21-.625-.42-1.234-.64-1.848-.15-.435-.3-.875-.45-1.315-.07-.2-.14-.4-.21-.594-.11-.333-.22-.665-.34-.993l-1.57-4.141 47.38-18.757c8.25 20.953 13.35 43.094 15.18 65.813l-50.81 3.951c-.29-3.726-.76-7.8-1.5-12.769l-.53-3.322-.62-3.316c-.01-.041-.02-.077-.02-.118v-.005Zm-83.77-117.814.497.297a177.262 177.262 0 0 1 40.833 33.933l.38.43 39.8-35.428-.39-.429a230.89 230.89 0 0 0-53.08-44.113l-.5-.297-27.535 45.607h-.005Zm41.8 33.032a178.423 178.423 0 0 0-40.213-33.421l26.343-43.632a229.516 229.516 0 0 1 51.94 43.161l-38.07 33.892Zm-151.829-56.99.573-.061c17.714-1.93 35.504-1.177 52.88 2.247l.568.112 10.288-52.276-.568-.113c-22.663-4.468-45.853-5.455-68.926-2.937l-.573.061 5.758 52.967Zm53.11.942c-17.12-3.316-34.639-4.059-52.086-2.211l-5.508-50.67c22.576-2.405 45.26-1.437 67.437 2.877l-9.843 50.009v-.005ZM819.689 498.042l.553.174a227.385 227.385 0 0 0 68.189 10.441h.578l.02-53.279h-.578a174.376 174.376 0 0 1-52.266-8.005l-.553-.174-15.937 50.838-.006.005Zm68.163 9.459a226.51 226.51 0 0 1-66.714-10.216l15.247-48.632a175.788 175.788 0 0 0 51.483 7.882l-.021 50.966h.005Z"></path><path d="m816.952 72.303 1.904 5.548.548-.189c3.332-1.157 6.879-2.267 10.84-3.404l.553-.158-1.607-5.645-.558.158c-4.069 1.167-7.713 2.308-11.142 3.501l-.543.19h.005Zm2.621 4.08-1.157-3.363a213.212 213.212 0 0 1 9.981-3.132l.972 3.424a209.25 209.25 0 0 0-9.801 3.076l.005-.005Zm-19.655 2.62 2.365 5.369.527-.225c.435-.19.87-.38 1.305-.568 1.279-.558 2.6-1.137 3.915-1.648l2.646-1.075c.548-.225 1.116-.435 1.669-.64l.987-.369.538-.204-2.073-5.492-.542.21-.983.368c-.573.215-1.167.435-1.751.67l-2.697 1.096c-1.366.532-2.738 1.131-4.064 1.71l-1.305.568-.532.23h-.005Zm2.958 3.854-1.433-3.255.778-.338c1.315-.573 2.672-1.167 4.028-1.694l2.702-1.095c.563-.23 1.152-.446 1.715-.66.148-.057.302-.113.45-.17l1.259 3.327c-.143.057-.291.108-.435.164a50.68 50.68 0 0 0-1.699.65l-2.636 1.07c-1.33.517-2.666 1.1-3.951 1.663l-.773.338h-.005Zm-19.36 4.263 2.809 5.154.507-.276c1.008-.548 2.042-1.09 3.045-1.617.661-.348 1.321-.691 1.981-1.045l5.599-2.763-2.528-5.292-.522.255a461.174 461.174 0 0 0-3.557 1.75l-1.669.825c-.675.358-1.341.706-2.001 1.054a194.289 194.289 0 0 0-3.158 1.679l-.506.276Zm3.27 3.588-1.704-3.122c.88-.47 1.771-.942 2.636-1.392.665-.348 1.33-.696 1.996-1.05l1.653-.818c1.008-.502 2.016-.998 3.025-1.495l1.535 3.214-4.596 2.268c-.67.358-1.331.701-1.991 1.049-.839.44-1.699.89-2.554 1.351v-.005Zm-80.2 67.211 4.877 3.26.323-.476a344.17 344.17 0 0 1 2.185-3.188c.348-.502.696-1.004 1.039-1.51.425-.579.855-1.177 1.29-1.776.671-.927 1.362-1.884 2.058-2.81l.348-.461-4.699-3.516-.348.461c-.727.967-1.448 1.965-2.144 2.927-.43.594-.86 1.193-1.295 1.787-.353.511-.696 1.013-1.044 1.509a297.959 297.959 0 0 0-2.268 3.312l-.322.481Zm4.565 1.658-2.958-1.975c.64-.942 1.29-1.884 1.935-2.82.343-.502.691-.999 1.033-1.5.425-.584.86-1.177 1.29-1.776.584-.809 1.177-1.638 1.786-2.452l2.851 2.129c-.583.789-1.162 1.587-1.725 2.365-.429.594-.859 1.193-1.294 1.781-.354.517-.702 1.019-1.05 1.52-.624.906-1.254 1.812-1.868 2.723v.005Zm-14.05 14.019 5.133 2.84 1.664-2.994 1.438-2.446c.179-.297.353-.599.532-.906.302-.517.599-1.029.916-1.536l1.807-2.912-4.975-3.112-1.842 2.969c-.328.527-.64 1.064-.957 1.602-.18.302-.354.609-.538.911l-1.479 2.513-1.704 3.065.005.006Zm4.683 1.274-3.112-1.725 1.136-2.042 1.469-2.503c.179-.302.358-.609.538-.916.307-.527.614-1.059.941-1.576l1.234-1.981 3.014 1.889-1.202 1.934a75.997 75.997 0 0 0-.932 1.566c-.174.302-.348.599-.527.896l-1.443 2.462-1.111 2.001-.005-.005Zm-12.856 15.124 5.353 2.406.241-.523c.824-1.801 1.673-3.608 2.4-5.164.323-.634.645-1.289.962-1.945a150.184 150.184 0 0 1 1.572-3.132l.266-.517-5.216-2.687-.266.512a147.912 147.912 0 0 0-1.632 3.26c-.323.655-.645 1.311-.973 1.961a608.55 608.55 0 0 0-2.467 5.302l-.24.527Zm4.78.88-3.245-1.458c.686-1.49 1.387-2.994 2.211-4.75.323-.64.645-1.3.967-1.955.441-.896.896-1.817 1.362-2.723l3.163 1.628c-.451.88-.891 1.771-1.315 2.641-.323.65-.64 1.3-.968 1.95a737.878 737.878 0 0 0-2.175 4.667Zm-23.205 101.979 5.855-.369-.03-.568c-.031-.599-.067-1.198-.103-1.796a99.318 99.318 0 0 1-.179-3.88l-.036-1.203c-.046-1.469-.097-2.989-.087-4.478v-.589l-5.865.052v.568c-.01 1.55.041 3.122.087 4.637l.036 1.202c.025 1.341.107 2.708.184 4.023.036.604.072 1.203.102 1.807l.031.583.005.011Zm4.642-1.449-3.552.22c-.02-.409-.046-.824-.071-1.233-.077-1.305-.159-2.657-.185-3.982l-.035-1.213c-.041-1.321-.087-2.682-.092-4.023l3.557-.031c0 1.321.046 2.646.092 3.936l.036 1.193a97.03 97.03 0 0 0 .179 3.92c.025.404.046.809.071 1.213Zm-2.702 19.674 5.804-.85-.829-6.223-.66-6.224-5.84.543.056.578c.113 1.172.241 2.344.369 3.516l.245 2.283.85 6.377h.005Zm4.509-1.827-3.521.517-.691-5.2a211.95 211.95 0 0 0-.246-2.273c-.107-.972-.21-1.95-.312-2.927l3.547-.328.537 5.108.681 5.108.005-.005Zm-3.614 7.252.102.568c.732 4.085 1.5 7.836 2.344 11.455l.133.563 5.717-1.326-.133-.563a218.864 218.864 0 0 1-2.282-11.152l-.103-.568-5.778 1.023Zm3.439 11.204a220.377 220.377 0 0 1-2.098-10.267l3.501-.619c.65 3.572 1.325 6.883 2.062 10.082l-3.465.804Zm38.565 84.5.348.455c2.124 2.769 4.473 5.64 7.385 9.044l.379.44 4.442-3.833-.373-.435c-2.846-3.322-5.128-6.117-7.186-8.798l-.353-.461-4.642 3.593v-.005Zm8.235 8.306c-2.569-3.009-4.694-5.609-6.618-8.096l2.815-2.181c1.883 2.436 3.972 4.99 6.5 7.949l-2.692 2.323-.005.005Zm3.522 5.733 2.815 3.004c.517.553 1.049 1.126 1.597 1.668l3.06 3.112 1.469 1.423 4.105-4.192-1.443-1.397-2.989-3.04c-.528-.522-1.039-1.07-1.536-1.602l-2.758-2.948-4.325 3.966.005.006Zm8.921 7.579-.635-.614-3.055-3.106c-.538-.538-1.065-1.101-1.577-1.643l-2.016-2.155 2.62-2.406 1.976 2.109a63.604 63.604 0 0 0 1.561 1.633l2.994 3.045.614.599-2.487 2.544.005-.006Zm3.997 5.41.43.389c.256.236.512.471.767.712.451.419.917.854 1.393 1.269l2.18 1.919a98.1 98.1 0 0 0 2.963 2.539c.497.414.988.824 1.479 1.244l.446.378 3.741-4.519-.435-.368c-.486-.415-.983-.83-1.474-1.239-.947-.793-1.93-1.607-2.856-2.447l-2.144-1.888a43.409 43.409 0 0 1-1.331-1.213c-.256-.236-.507-.476-.763-.706l-.425-.389-3.976 4.314.005.005Zm9.514 6.818c-.348-.292-.696-.584-1.044-.87-.972-.814-1.98-1.654-2.932-2.513l-2.191-1.93c-.466-.404-.921-.829-1.366-1.244-.118-.107-.231-.215-.349-.327l2.411-2.616c.113.103.22.205.333.308.44.409.895.834 1.361 1.238l2.134 1.878c.937.85 1.93 1.674 2.882 2.472l1.029.86-2.268 2.744Zm81.905 43.964.552.154c3.399.931 7.002 1.801 11.347 2.738l.568.123 1.223-5.738-.563-.123c-4.237-.916-7.748-1.765-11.039-2.666l-.558-.154-1.525 5.666h-.005Zm11.577 1.638c-3.839-.84-7.099-1.623-10.165-2.452l.926-3.434c3 .809 6.204 1.582 9.976 2.406l-.742 3.48h.005Zm6.264 2.451.579.098c.716.117 1.438.24 2.154.363 1.178.205 2.391.415 3.593.589l4.32.624c.312.041.624.082.937.118l1.095.133.732-5.825-1.095-.133c-.297-.035-.589-.066-.886-.107l-4.222-.609c-1.152-.169-2.324-.374-3.46-.568-.717-.123-1.428-.246-2.145-.364l-.558-.092-1.044 5.773Zm11.675.64c-.287-.036-.579-.066-.865-.107l-4.315-.625c-1.187-.174-2.395-.384-3.567-.583-.527-.092-1.054-.184-1.587-.271l.635-3.501c.527.087 1.049.179 1.576.271 1.142.195 2.319.399 3.491.573l4.227.614c.287.041.569.072.85.108l-.445 3.531v-.01Zm6.454 1.884 3.47.327 2.918.2c.353.02.701.046 1.049.072a53.33 53.33 0 0 0 1.868.117l3.485.154.241-5.865-3.419-.149c-.594-.026-1.203-.072-1.786-.112a60.986 60.986 0 0 0-1.044-.072l-2.836-.195-3.393-.322-.553 5.84v.005Zm11.69-.333-2.329-.102a54.533 54.533 0 0 1-1.832-.118 75.285 75.285 0 0 0-1.059-.072l-2.902-.199-2.309-.22.338-3.542 2.257.215 2.856.194c.348.021.691.046 1.034.072.594.041 1.213.087 1.822.113l2.267.097-.143 3.557v.005Zm192.694-108.693 5.05 2.984 1.78-3.01 1.42-2.554c.18-.312.35-.619.52-.926.3-.543.61-1.085.9-1.633l1.62-3.096-5.2-2.713-1.59 3.035c-.28.522-.57 1.044-.86 1.566-.17.308-.35.615-.52.922l-1.38 2.487-1.73 2.943-.01-.005Zm4.64 1.402-3.06-1.812 1.16-1.96 1.39-2.503.51-.916c.3-.527.59-1.054.88-1.591l1.06-2.017 3.15 1.643-1.08 2.068c-.29.537-.59 1.074-.89 1.607-.17.312-.35.619-.51.931l-1.42 2.544-1.18 2.001-.01.005Zm3.84-17.089 5.28 2.554.25-.522c.52-1.085 1.04-2.191 1.54-3.26.31-.671.62-1.346.94-2.017.3-.701.6-1.377.89-2.057.48-1.08.97-2.201 1.43-3.307l.23-.532-5.41-2.267-.23.532c-.44 1.065-.91 2.139-1.37 3.178-.3.681-.6 1.362-.89 2.048-.31.66-.63 1.335-.94 2.016-.48 1.029-.97 2.088-1.47 3.122l-.25.522v-.01Zm4.74 1.013-3.2-1.55c.42-.876.83-1.761 1.23-2.621.31-.676.63-1.351.94-2.027.31-.701.6-1.376.9-2.057l1.16-2.662 3.28 1.377c-.4.927-.81 1.853-1.2 2.759-.3.681-.6 1.361-.9 2.047-.3.655-.62 1.331-.93 2.006-.42.896-.85 1.817-1.28 2.723v.005Zm2.38-17.355 5.47 2.103 1.25-3.26c.22-.583.42-1.167.63-1.755.11-.333.23-.666.35-.998l.97-2.749 1.08-3.332-5.58-1.806-1.06 3.255-.94 2.671c-.12.328-.24.661-.35.993-.2.563-.4 1.121-.61 1.679l-1.21 3.199Zm4.81.609-3.32-1.275.8-2.124c.22-.568.42-1.136.62-1.709.11-.328.23-.655.35-.983l.94-2.687.71-2.175 3.38 1.095-.72 2.217-.96 2.733c-.12.332-.24.665-.35 1.003-.2.578-.41 1.156-.62 1.725l-.83 2.18Zm8.07-101.472 5.83-.691-.07-.573c-.14-1.177-.3-2.354-.46-3.531l-.3-2.252-1-6.357-5.78.993.98 6.203c.09.727.19 1.474.29 2.221.15 1.142.3 2.278.44 3.419l.07.574v-.006Zm4.54-1.699-3.53.42c-.11-.957-.24-1.909-.38-2.861-.1-.742-.2-1.484-.29-2.232l-.81-5.092 3.51-.604.82 5.185c.1.737.19 1.489.3 2.241.13.983.26 1.961.38 2.943Zm-10.14-28.154.52 1.939.98 4.146c.22.855.4 1.73.58 2.579l.75 3.547 5.75-1.167-.76-3.618c-.19-.875-.38-1.786-.6-2.672l-1.01-4.248-.52-1.975-5.68 1.469h-.01Zm3.72 10.85-.52-2.421c-.18-.86-.36-1.745-.58-2.615l-.99-4.156-.22-.829 3.45-.891.22.855 1.01 4.238c.22.875.4 1.771.59 2.635l.52 2.478-3.48.706Zm-8.94-27.894 1.13 3.235 1.73 5.41.95 3.275 5.64-1.637-.98-3.353-1.78-5.563-1.15-3.307-5.54 1.94Zm4.6 10.492-.63-2.18-1.74-5.441-.76-2.159 3.36-1.177.77 2.2 1.77 5.533.65 2.226-3.41.993-.01.005Zm-60.49-95.437.43.394c2.46 2.273 5.04 4.806 8.12 7.959l.4.409 4.22-4.074-.41-.414c-3.14-3.23-5.79-5.83-8.33-8.179l-.43-.389-4 4.294Zm8.97 7.135c-2.74-2.805-5.09-5.113-7.33-7.196l2.42-2.605c2.3 2.134 4.69 4.483 7.47 7.329l-2.56 2.472Zm-22.54-18.707.45.358c3.45 2.739 6.23 5.047 8.74 7.273l.44.384 3.87-4.412-.43-.378c-2.59-2.293-5.45-4.663-8.98-7.468l-.46-.358-3.63 4.611v-.01Zm9.53 6.377a211.3 211.3 0 0 0-7.91-6.566l2.2-2.795c3.12 2.483 5.7 4.627 8.05 6.69l-2.34 2.676v-.005Zm-24.03-16.761.49.317c2.79 1.827 5.76 3.895 9.33 6.505l.46.338 3.49-4.719-.47-.343c-3.66-2.672-6.71-4.796-9.58-6.684l-.48-.318-3.23 4.898-.01.006Zm10.03 5.553a211.814 211.814 0 0 0-8.43-5.886l1.96-2.969c2.6 1.715 5.35 3.634 8.59 5.994l-2.12 2.861Zm-105.93-39.44 1.996.189 4.227.507a48.98 48.98 0 0 1 2.012.266c.266.04.527.077.793.118l3.383.486.901-5.799-3.455-.496c-.271-.036-.537-.077-.803-.118a53.085 53.085 0 0 0-2.099-.282l-4.324-.517-2.037-.194-.584 5.84h-.01Zm11.444.256-2.252-.323c-.266-.036-.527-.077-.788-.112-.671-.098-1.362-.2-2.053-.272l-4.232-.506-.855-.082.353-3.542.875.082 4.32.517a44.55 44.55 0 0 1 2.063.276c.271.041.537.082.808.118l2.298.332-.542 3.517.005-.006Zm-29.225-1.234 3.424.061c.593.01 1.202.041 1.791.067.348.015.696.036 1.044.046l2.841.123 3.403.235.404-5.855-3.48-.24-2.922-.128-1.049-.046a55.675 55.675 0 0 0-1.874-.072l-3.485-.067-.092 5.866-.005.01Zm11.423-.696-2.262-.154-2.861-.122-1.034-.046a52.974 52.974 0 0 0-1.827-.067l-2.267-.04.056-3.558 2.329.04c.609.011 1.233.042 1.837.068.353.015.706.035 1.06.046l2.901.128 2.314.158-.246 3.552v-.005Zm-29.239 1.193.568-.031c.752-.041 1.5-.082 2.252-.128 1.147-.067 2.288-.133 3.434-.184l2.841-.087.906-.031c.629-.02 1.279-.046 1.914-.041h.594l-.087-5.865h-.563c-.671-.01-1.352.015-2.007.035l-.921.031-2.912.092c-1.198.051-2.406.123-3.578.19-.752.046-1.499.087-2.252.128l-.588.03.399 5.855v.006Zm11.337-1.649c-.466.006-.927.021-1.377.041l-.901.031-2.851.087c-1.162.051-2.329.118-3.46.184-.557.031-1.12.067-1.678.098l-.241-3.552c.558-.031 1.116-.062 1.674-.098 1.167-.066 2.369-.138 3.552-.189l2.902-.092.931-.03c.456-.016.926-.032 1.392-.042l.051 3.557.006.005Zm-190.112 247.44.092.522c4.448 25.555 13.727 49.559 27.572 71.336 13.655 21.522 31.926 40.658 52.839 55.353 20.928 14.74 45.111 25.477 69.928 31.061a194.982 194.982 0 0 0 38.079 4.714 198.899 198.899 0 0 0 38.381-2.81c12.723-2.201 25.206-5.625 37.111-10.18a195.175 195.175 0 0 0 34.317-17.171c21.523-13.558 40.733-31.768 55.523-52.65 14.8-20.836 25.62-44.983 31.3-69.831 5.77-25.156 6.49-50.879 2.14-76.449-2.17-12.729-5.54-25.227-10.05-37.147a195.4 195.4 0 0 0-17.06-34.374c-13.49-21.567-31.63-40.827-52.47-55.69-20.843-14.893-44.954-25.8-69.726-31.537a195.227 195.227 0 0 0-38.053-4.965c-12.728-.4-25.641.476-38.391 2.59l-.568.092 2.089 12.626.568-.097c11.925-1.98 24.004-2.794 35.903-2.426a182.418 182.418 0 0 1 35.551 4.642c23.154 5.364 45.694 15.559 65.184 29.491 19.493 13.9 36.453 31.906 49.053 52.066a182.247 182.247 0 0 1 15.94 32.111 184.427 184.427 0 0 1 9.4 34.747c4.07 23.907 3.4 47.951-1.99 71.464-5.31 23.226-15.43 45.802-29.27 65.286-13.84 19.531-31.79 36.554-51.911 49.226a182.712 182.712 0 0 1-32.06 16.046c-11.126 4.258-22.806 7.462-34.711 9.519-11.904 2.037-23.983 2.923-35.893 2.631a182.595 182.595 0 0 1-35.581-4.402c-23.2-5.22-45.812-15.262-65.379-29.045-19.551-13.737-36.635-31.63-49.405-51.749-12.938-20.36-21.608-42.798-25.769-66.684-.026-.158-.056-.322-.082-.481a185.888 185.888 0 0 1-2.667-35.407 182.246 182.246 0 0 1 4.284-35.591c5.144-23.216 15.114-45.853 28.836-65.471 13.716-19.643 31.548-36.789 51.58-49.584a182.613 182.613 0 0 1 31.952-16.255c11.086-4.325 22.745-7.595 34.645-9.714l.568-.103-2.252-12.6-.568.102c-12.719 2.267-25.187 5.763-37.045 10.39a195.416 195.416 0 0 0-34.204 17.401c-21.43 13.686-40.505 32.024-55.174 53.029-14.673 20.974-25.334 45.188-30.836 70.026a195.071 195.071 0 0 0-4.586 38.094 198.905 198.905 0 0 0 2.851 37.853l.015-.005Zm386.062-66.433c.03.174.06.343.08.517 4.33 25.422 3.61 50.992-2.13 75.999-5.64 24.7-16.4 48.704-31.11 69.422-14.71 20.764-33.8 38.861-55.197 52.343a194.122 194.122 0 0 1-34.112 17.068c-11.834 4.53-24.25 7.933-36.897 10.119-12.652 2.165-25.488 3.107-38.155 2.794a194.198 194.198 0 0 1-37.854-4.683c-24.674-5.553-48.714-16.229-69.519-30.882-20.79-14.607-38.949-33.636-52.527-55.025-13.762-21.655-22.985-45.515-27.407-70.916-2.196-12.647-3.194-25.483-2.923-38.151a193.624 193.624 0 0 1 4.56-37.869c5.472-24.689 16.071-48.765 30.658-69.616 14.581-20.882 33.544-39.112 54.845-52.716a194.092 194.092 0 0 1 34-17.3c11.618-4.534 23.809-7.974 36.262-10.23l1.847 10.328c-11.776 2.134-23.313 5.389-34.296 9.673a183.97 183.97 0 0 0-32.157 16.357c-20.155 12.872-38.104 30.125-51.903 49.897-13.808 19.735-23.84 42.516-29.014 65.88a183.719 183.719 0 0 0-4.315 35.816c-.256 11.987.686 24.137 2.769 36.114 4.187 24.039 12.908 46.615 25.928 67.103 12.847 20.247 30.039 38.253 49.712 52.077 19.695 13.87 42.445 23.973 65.789 29.224a183.568 183.568 0 0 0 35.801 4.432c11.986.297 24.137-.593 36.118-2.646 11.976-2.073 23.728-5.297 34.926-9.581a183.551 183.551 0 0 0 32.264-16.142c20.257-12.755 38.317-29.885 52.237-49.538 13.92-19.603 24.11-42.322 29.44-65.696 5.43-23.661 6.1-47.855 2.01-71.915a186.913 186.913 0 0 0-9.46-34.961 183.323 183.323 0 0 0-16.04-32.316c-12.69-20.288-29.76-38.406-49.363-52.394-19.613-14.019-42.296-24.28-65.599-29.675a183.48 183.48 0 0 0-35.775-4.668c-11.782-.368-23.743.42-35.556 2.344l-1.714-10.348c12.488-2.037 25.13-2.872 37.592-2.483 12.719.4 25.442 2.058 37.828 4.94 24.623 5.701 48.591 16.546 69.317 31.353 20.72 14.776 38.75 33.923 52.16 55.362a193.946 193.946 0 0 1 16.96 34.169 198.357 198.357 0 0 1 9.91 36.415l.01.005Z"></path><path d="M861.57 112.194a169.764 169.764 0 0 1 33.104-2.236 167.594 167.594 0 0 1 32.736 4.273c21.48 4.975 42.045 14.29 60.086 27.188 18.054 12.877 33.534 29.296 45.214 47.987 11.72 18.696 19.64 39.624 23.35 61.617 3.73 21.982 3.09 44.348-1.83 65.854-4.92 21.491-14.14 42.097-26.98 60.174-12.82 18.092-29.19 33.626-47.846 45.377-18.66 11.777-39.557 19.761-61.535 23.553-21.977 3.772-44.343 3.235-65.864-1.632-21.512-4.837-42.133-14.003-60.261-26.773-18.149-12.749-33.723-29.081-45.541-47.696-11.833-18.624-19.914-39.486-23.738-61.453-3.848-21.967-3.388-44.338 1.408-65.875 4.765-21.527 13.87-42.173 26.578-60.342 12.693-18.185 28.958-33.836 47.542-45.705a168.172 168.172 0 0 1 29.424-14.97c10.277-4.013 20.974-7.002 31.947-8.957l-.68-3.823c-11.219 2.001-22.162 5.057-32.679 9.161a171.537 171.537 0 0 0-30.11 15.319c-19.014 12.145-35.648 28.154-48.632 46.754-13 18.583-22.31 39.701-27.188 61.724-4.903 22.033-5.379 44.932-1.443 67.385 3.91 22.453 12.181 43.811 24.285 62.865 12.089 19.045 28.022 35.75 46.58 48.791 18.543 13.062 39.635 22.438 61.643 27.387 22.018 4.975 44.911 5.528 67.379 1.669 22.464-3.875 43.857-12.043 62.948-24.096 19.083-12.023 35.833-27.909 48.943-46.416 13.13-18.492 22.57-39.563 27.59-61.556 5.04-22.002 5.7-44.896 1.88-67.364-3.8-22.484-11.89-43.903-23.88-63.03-11.96-19.126-27.79-35.918-46.257-49.087-18.451-13.19-39.481-22.72-61.458-27.807a171.76 171.76 0 0 0-33.498-4.371c-11.28-.353-22.617.42-33.862 2.288l.635 3.828.01-.005Z"></path><path d="m653.762 166.149.174.082 80.605 38.82.082-.174a173.57 173.57 0 0 1 15.487-25.994c5.973-8.287 12.626-15.989 19.776-22.894a173.235 173.235 0 0 1 23.426-19.019c8.204-5.532 17.079-10.425 26.368-14.53l.174-.077-.076-.174-36.063-81.874-.174.077c-14.151 6.25-27.724 13.727-40.33 22.228a262.625 262.625 0 0 0-35.74 29.01c-10.917 10.558-21.035 22.273-30.079 34.813a263.553 263.553 0 0 0-23.543 39.527l-.082.174-.005.005Zm80.6 38.391-80.083-38.57a262.827 262.827 0 0 1 23.425-39.297c9.029-12.524 19.137-24.219 30.033-34.762a262.885 262.885 0 0 1 35.689-28.969c12.539-8.455 26.03-15.897 40.095-22.12l35.832 81.347c-9.249 4.1-18.077 8.972-26.251 14.484a173.643 173.643 0 0 0-23.482 19.06c-7.165 6.92-13.834 14.638-19.822 22.944a173.708 173.708 0 0 0-15.436 25.878v.005Zm296.708 169.225.16.107 76.47 50.884.1-.158c8.48-12.698 15.96-26.415 22.23-40.771 6.27-14.418 11.23-29.24 14.73-44.062a264.947 264.947 0 0 0 6.72-45.991c.84-15.324.32-30.939-1.53-46.421l-.02-.19-.19.026-91.18 11.086.02.189a176.807 176.807 0 0 1 1 30.187 173.6 173.6 0 0 1-4.35 29.787c-2.25 9.54-5.47 19.167-9.58 28.605-4.1 9.407-8.97 18.343-14.47 26.558l-.11.159v.005Zm76.52 50.459-75.98-50.567c5.46-8.189 10.3-17.089 14.39-26.46 4.11-9.464 7.34-19.106 9.59-28.672 2.32-9.76 3.79-19.807 4.36-29.854.54-9.883.21-19.996-.97-30.064l90.61-11.014c1.83 15.395 2.34 30.929 1.5 46.166a264.175 264.175 0 0 1-6.7 45.924c-3.5 14.797-8.45 29.598-14.72 43.995-6.23 14.27-13.65 27.915-22.08 40.551v-.005ZM861.475 110.116l.189-.031c5.43-.87 10.364-1.448 15.078-1.771a177.464 177.464 0 0 1 15.104-.414c5.138.082 10.2.389 15.047.901 4.98.537 9.99 1.294 14.893 2.262 10.052 1.991 19.787 4.821 28.948 8.414a174.494 174.494 0 0 1 27.091 13.425l.163.102.103-.164 55.719-91.266-.16-.102a281.841 281.841 0 0 0-43.987-21.798c-15.048-5.896-30.924-10.513-47.184-13.722a280.32 280.32 0 0 0-24.326-3.685A278.877 278.877 0 0 0 893.596.788a283.583 283.583 0 0 0-24.572.68c-7.739.543-15.943 1.5-24.378 2.852l-.189.03.031.19 16.997 105.571-.01.005Zm116.375 22.366a174.458 174.458 0 0 0-26.983-13.358c-9.176-3.603-18.942-6.444-29.009-8.435a174.43 174.43 0 0 0-14.929-2.267c-4.857-.517-9.93-.819-15.078-.901a177.79 177.79 0 0 0-15.135.415c-4.667.317-9.55.89-14.919 1.745L844.892 4.678c8.358-1.336 16.48-2.283 24.152-2.82a282.833 282.833 0 0 1 24.537-.676c8.291.133 16.541.63 24.52 1.474a279.565 279.565 0 0 1 24.296 3.68c16.235 3.21 32.091 7.815 47.117 13.701a281.097 281.097 0 0 1 43.756 21.67l-55.415 90.775h-.005Zm-128.639-2.979 1.51-.404 1.525-.363-2.866-11.854-1.643.389-1.628.435 3.102 11.797Zm-6.003 1.694 2.994-.875-3.342-11.731-3.229.942 3.577 11.664Zm-5.911 1.955 1.469-.511c.486-.174.978-.348 1.474-.497l-3.808-11.587c-.537.164-1.064.343-1.591.532l-1.587.553 4.043 11.51Zm-5.82 2.176c.952-.41 1.934-.742 2.902-1.116l-4.274-11.424c-1.044.405-2.104.763-3.132 1.203l4.504 11.337Zm-5.721 2.405 2.845-1.238-4.734-11.245-3.076 1.336 4.965 11.147Zm-5.611 2.646c.926-.46 1.848-.931 2.794-1.351l-5.184-11.04c-1.019.456-2.017.962-3.015 1.459l5.41 10.932h-.005Z"></path><path d="M814.639 143.23c.901-.507 1.832-.962 2.738-1.454l-5.63-10.819c-.982.527-1.985 1.023-2.958 1.571l5.85 10.707v-.005Zm-5.386 3.091 2.672-1.581-6.065-10.584-2.881 1.704 6.274 10.461Zm-5.251 3.307 1.295-.86 1.316-.819-6.49-10.328-1.423.885-1.397.926 6.699 10.196Zm-5.127 3.505c.84-.609 1.705-1.177 2.549-1.776L794.52 141.3c-.911.645-1.843 1.265-2.749 1.92l7.104 9.913Zm-4.975 3.726 2.467-1.893-7.304-9.771-2.667 2.048 7.504 9.616Zm-4.827 3.931 1.183-1.013 1.213-.973-7.693-9.468-1.31 1.054-1.275 1.09 7.882 9.31Zm-4.683 4.115c.763-.706 1.551-1.382 2.319-2.078l-8.071-9.151c-.83.752-1.679 1.484-2.503 2.242l8.25 8.982.005.005Zm-4.498 4.31 2.226-2.181-8.434-8.818-2.401 2.354 8.609 8.645Zm-4.33 4.498 1.054-1.151 1.09-1.121-8.782-8.471-1.173 1.208-1.136 1.239 8.947 8.296Zm-4.161 4.658c.67-.799 1.377-1.561 2.057-2.349l-9.11-8.113c-.737.85-1.499 1.674-2.221 2.534l9.274 7.928Zm-3.961 4.831 1.95-2.441-9.428-7.739-2.108 2.631 9.586 7.549Zm-3.767 4.991.911-1.27c.302-.425.629-.829.947-1.243l-9.73-7.355c-.338.45-.691.885-1.018 1.341l-.988 1.366 9.878 7.161Zm-3.573 5.128c.557-.881 1.182-1.715 1.76-2.58l-10.016-6.96c-.629.931-1.295 1.837-1.899 2.784l10.155 6.756Zm-3.356 5.271 1.648-2.656-10.293-6.556-1.771 2.866 10.416 6.346Zm-3.135 5.405c.507-.911.998-1.827 1.541-2.718l-10.543-6.136c-.584.957-1.116 1.95-1.664 2.927l10.666 5.922v.005Zm-2.925 5.512.342-.701.364-.686.732-1.382-10.784-5.706-.783 1.489-.394.742-.374.758 10.897 5.486Zm-2.704 5.625 1.315-2.825-10.998-5.272-1.418 3.051 11.101 5.046Zm-2.452 5.732c.394-.962.768-1.929 1.203-2.876l-11.204-4.821c-.465 1.018-.87 2.068-1.295 3.101l11.301 4.596h-.005Zm-2.237 5.815.256-.737.276-.727.558-1.454-11.393-4.371-.598 1.572-.297.783-.277.793 11.475 4.141Zm-1.995 5.891.962-2.959-11.557-3.905-1.039 3.194 11.634 3.67Zm-1.74 5.967c.276-.998.527-2.001.839-2.989l-11.705-3.434c-.337 1.065-.609 2.15-.911 3.229l11.772 3.199.005-.005Zm-1.514 6.024.163-.762.19-.753.373-1.504-11.833-2.959-.404 1.628-.205.814-.174.819 11.89 2.717Zm1.457 74.341c-.261-1.009-.557-2.007-.778-3.03l-11.848 2.897c.241 1.1.558 2.175.839 3.265l11.787-3.137v.005Zm1.716 5.998c-.323-.988-.584-1.996-.886-2.989l-11.725 3.373c.322 1.075.609 2.16.951 3.224l11.654-3.608h.006Zm1.965 5.906-1.019-2.937-11.577 3.838c.353 1.06.737 2.114 1.1 3.173l11.501-4.074h-.005Zm2.195 5.809c-.194-.481-.399-.957-.583-1.438l-.543-1.453-11.413 4.304.589 1.571c.199.522.419 1.034.629 1.556l11.326-4.534-.005-.006Zm2.411 5.722-1.233-2.85-11.235 4.77 1.336 3.071 11.132-4.991Zm2.666 5.6-.691-1.387-.348-.696-.322-.707-11.025 5.221.348.757.374.753.742 1.499 10.922-5.44Zm2.871 5.496c-.522-.89-.973-1.822-1.464-2.733l-10.804 5.661c.527.983 1.018 1.986 1.581 2.953l10.687-5.881Zm3.098 5.38-1.582-2.672-10.564 6.096 1.705 2.881 10.441-6.305Zm3.325 5.241c-.563-.865-1.157-1.715-1.689-2.606l-10.313 6.521c.573.957 1.213 1.878 1.822 2.815l10.175-6.725.005-.005Zm3.522 5.112-.46-.624-.441-.64-.885-1.279-10.037 6.935.957 1.377.476.69.497.676 9.893-7.135Zm3.736 4.975-1.899-2.467-9.75 7.335 2.048 2.656 9.601-7.524Zm3.946 4.811c-.671-.793-1.361-1.571-1.996-2.39l-9.448 7.718c.691.881 1.433 1.725 2.155 2.58l9.289-7.908Zm4.131 4.668-.537-.568-.517-.584-1.034-1.161-9.126 8.091 1.116 1.254.558.63.578.614 8.962-8.276Zm4.318 4.499-2.185-2.227-8.798 8.456 2.359 2.4 8.624-8.629Zm4.511 4.314c-.758-.711-1.546-1.397-2.278-2.134l-8.444 8.803c.793.794 1.632 1.536 2.456 2.303l8.266-8.966v-.006Zm4.672 4.141c-.814-.655-1.572-1.372-2.355-2.052l-8.086 9.135c.849.737 1.668 1.505 2.543 2.212l7.903-9.295h-.005Zm4.836 3.956-2.441-1.95-7.713 9.448 2.63 2.109 7.524-9.607Zm5.005 3.747c-.839-.62-1.704-1.203-2.518-1.848l-7.329 9.75c.88.696 1.812 1.326 2.718 1.996l7.135-9.898h-.006Zm5.141 3.557c-.886-.553-1.725-1.167-2.59-1.751l-6.935 10.037c.926.635 1.837 1.29 2.789 1.889l6.731-10.175h.005Zm5.276 3.352-2.656-1.648-6.526 10.303 2.861 1.781 6.321-10.436Zm5.415 3.117-1.367-.763-.686-.373-.67-.399-6.106 10.563.721.425.737.41 1.474.813 5.897-10.676Zm5.521 2.907c-.942-.445-1.853-.942-2.774-1.428l-5.676 10.799c.993.522 1.981 1.06 2.994 1.541l5.461-10.907-.005-.005Zm5.63 2.692-2.825-1.32-5.241 11.014 3.05 1.423 5.016-11.117Zm5.739 2.436-1.444-.588c-.481-.195-.962-.384-1.438-.604l-4.79 11.219c.511.235 1.028.44 1.55.65l1.556.634 4.566-11.311Zm5.818 2.211c-.486-.174-.982-.332-1.464-.522l-1.453-.557-4.335 11.403 1.571.598c.522.205 1.055.374 1.582.563l4.104-11.485h-.005Zm5.896 1.992-2.958-.968-3.87 11.567 3.189 1.044 3.639-11.643Zm5.974 1.719-1.499-.409c-.502-.133-1.004-.266-1.495-.425l-3.403 11.715c.532.169 1.074.312 1.612.456l1.617.44 3.163-11.782.005.005Zm6.028 1.489c-1.013-.204-2.016-.465-3.019-.716l-2.928 11.843c1.085.271 2.165.548 3.26.773l2.687-11.9Zm90.165-6.822-2.907 1.09 4.187 11.46 3.137-1.183-4.417-11.367Zm5.734-2.38c-.952.404-1.888.845-2.856 1.213l4.648 11.28c1.044-.399 2.057-.875 3.081-1.31l-4.878-11.183h.005Zm5.64-2.59c-.46.236-.926.456-1.397.671l-1.407.65 5.102 11.081 1.52-.707c.507-.23 1.014-.465 1.51-.721l-5.328-10.974Zm5.523-2.82-2.743 1.449 5.548 10.865 2.963-1.561-5.768-10.753Zm5.403-3.05-1.33.793c-.446.266-.906.502-1.351.758l5.983 10.63c.486-.276.982-.532 1.463-.819l1.439-.855-6.198-10.507h-.006Zm5.282-3.25c-.865.573-1.756 1.095-2.626 1.653l6.413 10.38c.942-.599 1.904-1.167 2.836-1.787l-6.618-10.246h-.005Zm5.149-3.48-2.554 1.77 6.828 10.109 2.753-1.909-7.027-9.97Zm5.001-3.691-1.229.952-1.254.917 7.232 9.826 1.351-.987 1.331-1.029-7.431-9.679Zm4.867-3.879c-.794.67-1.612 1.305-2.416 1.965l7.621 9.525c.865-.711 1.75-1.397 2.605-2.119l-7.81-9.371Zm4.699-4.089L990 395.772l8 9.213 2.51-2.237-8.186-9.048Zm4.534-4.279-1.105 1.1-1.142 1.065 8.359 8.88 1.23-1.152 1.2-1.182-8.542-8.711Zm4.372-4.448c-.7.768-1.445 1.495-2.162 2.247l8.712 8.537c.78-.814 1.58-1.597 2.34-2.426l-8.89-8.358Zm4.19-4.637-2.07 2.344 9.06 8.179 2.22-2.523-9.21-8Zm3.99-4.801-.97 1.224c-.32.409-.67.798-1 1.197l9.37 7.81c.36-.429.73-.849 1.08-1.289l1.05-1.321-9.53-7.621Zm3.82-4.954c-.6.85-1.27 1.658-1.89 2.493l9.68 7.431c.67-.901 1.38-1.771 2.03-2.692l-9.82-7.232Zm3.6-5.108-1.77 2.58 9.97 7.032 1.91-2.774-10.11-6.838Zm3.39-5.251c-.54.886-1.08 1.781-1.67 2.641l10.25 6.633c.63-.931 1.2-1.894 1.8-2.845l-10.37-6.424-.01-.005Zm3.19-5.369-.37.681-.4.67-.79 1.346 10.49 6.219.86-1.454.43-.721.4-.737-10.62-6.004Zm2.97-5.497-1.45 2.764 10.73 5.789 1.57-2.979-10.85-5.574Zm2.73-5.609c-.45.942-.86 1.894-1.34 2.82l10.96 5.354c.52-.998.97-2.027 1.45-3.041l-11.07-5.133Zm2.51-5.707c-.37.973-.82 1.909-1.23 2.866l11.17 4.909c.44-1.034.92-2.042 1.33-3.092l-11.27-4.683Zm2.28-5.799-1.1 2.913 11.35 4.452 1.2-3.137-11.45-4.228Zm2.03-5.88c-.33.982-.62 1.981-.98 2.948l11.52 3.992c.4-1.049.71-2.124 1.07-3.183l-11.6-3.762-.01.005Zm1.8-5.953c-.26 1.004-.59 1.986-.87 2.984l11.67 3.527c.32-1.075.67-2.135.95-3.22l-11.75-3.285v-.006Zm-4.83-97.484 1.1 2.907 11.46-4.171-1.18-3.138-11.38 4.402Zm-2.36-5.743.63 1.423c.21.471.38.957.58 1.438l11.29-4.626c-.22-.517-.4-1.044-.64-1.551l-.67-1.536-11.18 4.858-.01-.006Zm-2.57-5.645c.46.926.87 1.878 1.31 2.81l11.09-5.082c-.48-1.009-.92-2.032-1.41-3.035l-10.99 5.307Zm-2.82-5.522 1.44 2.743 10.88-5.528-1.57-2.968-10.75 5.753Zm-3.04-5.41.79 1.331.76 1.356 10.63-5.963-.81-1.463-.85-1.444-10.52 6.183Zm-3.24-5.292 1.64 2.631 10.39-6.393-1.77-2.841-10.26 6.603Zm-3.48-5.149c.58.855 1.2 1.694 1.77 2.554l10.12-6.807c-.61-.932-1.27-1.838-1.9-2.759l-9.98 7.012h-.01Zm-3.67-5.011c.31.41.64.819.95 1.234l.91 1.259 9.84-7.212-.99-1.356c-.33-.45-.69-.885-1.02-1.331l-9.69 7.411v-.005Zm-3.87-4.872 1.96 2.416 9.53-7.606-2.11-2.61-9.38 7.8Zm-4.09-4.704c.69.783 1.4 1.541 2.07 2.329l9.22-7.984c-.72-.855-1.49-1.674-2.23-2.513l-9.06 8.168Zm-4.266-4.544 1.096 1.11 1.06 1.141 8.89-8.347-1.14-1.234-1.18-1.197-8.726 8.527Zm-4.443-4.387 2.242 2.176 8.547-8.701-2.42-2.339-8.369 8.864Zm-4.632-4.186c.773.696 1.571 1.366 2.339 2.067l8.192-9.033c-.83-.758-1.682-1.484-2.521-2.232l-8.015 9.198h.005Zm-4.796-4.008 1.223.973 1.193 1.008 7.83-9.356-1.289-1.085-1.316-1.049-7.641 9.509Zm-4.943-3.823c.839.614 1.658 1.264 2.492 1.889l7.447-9.663c-.901-.676-1.781-1.372-2.687-2.037l-7.252 9.811Zm-5.104-3.608 2.575 1.776 7.052-9.955-2.774-1.914-6.853 10.093Zm-5.24-3.399 1.331.819 1.305.855 6.648-10.226-1.412-.926-1.434-.881-6.438 10.359Zm-5.369-3.204c.911.502 1.796 1.055 2.697 1.577l6.234-10.487c-.973-.558-1.925-1.157-2.907-1.699l-6.024 10.609Zm-5.492-2.968 2.763 1.448 5.809-10.727-2.983-1.561-5.589 10.84Zm-5.604-2.743 1.418.655c.471.215.931.46 1.397.691l5.374-10.953c-.507-.246-.998-.512-1.51-.742l-1.525-.706-5.149 11.06-.005-.005Zm-5.701-2.524c.967.384 1.904.83 2.861 1.234l4.929-11.158c-1.034-.435-2.048-.921-3.087-1.33l-4.703 11.254Zm-5.793-2.287 2.907 1.105 4.478-11.347-3.142-1.192-4.243 11.434Zm-5.881-2.037c.988.317 1.976.629 2.948.993l4.013-11.521c-1.05-.389-2.119-.727-3.184-1.07l-3.777 11.598Zm-5.947-1.812c.501.128.998.281 1.494.43l1.49.445 3.541-11.674-1.607-.482c-.537-.163-1.069-.327-1.612-.465l-3.306 11.741v.005Zm-6.014-1.566 3.02.742 3.066-11.808-3.256-.798-2.83 11.864Zm-6.066-1.306 1.525.292c.507.097 1.008.225 1.515.333l2.59-11.92c-.548-.118-1.091-.251-1.638-.358l-1.643-.318-2.344 11.971h-.005Zm-6.112-1.079c1.024.148 2.037.348 3.061.511l2.104-12.017c-1.101-.174-2.201-.394-3.307-.553l-1.858 12.059Zm-6.146-.814 3.081.368 1.612-12.094-3.327-.399-1.366 12.125Z" class="svg-internal-circle"></path></g><path d="M1388.31 356.731h113.6l.29-.511 56.5-97.864-56.79-98.375h-113.6l-.29.512-56.5 97.863 56.79 98.375Zm112.42-2.037h-111.24l-55.62-96.338 55.62-96.338h111.24l55.62 96.338-55.62 96.338Z" style="mix-blend-mode:overlay;"></path><path d="M1401.81 333.347h86.59l43.3-74.99-43.3-74.991h-86.59l-43.29 74.991 43.29 74.99Zm85.42-2.037h-84.24l-42.12-72.953 42.12-72.954h84.24l42.12 72.954-42.12 72.953Z" style="mix-blend-mode:overlay;"></path><path d="M1401.81 333.347h86.59l43.3-74.99-43.3-74.991h-86.59l-43.29 74.991 43.29 74.99Zm85.42-2.037h-84.24l-42.12-72.953 42.12-72.954h84.24l42.12 72.954-42.12 72.953Zm-268.21-72.426h113.6l.29-.512 56.51-97.863-56.8-98.375h-113.6l-.29.512-56.5 97.863.3.511 56.5 97.864h-.01Zm112.42-2.037H1220.2l-55.62-96.338 55.62-96.338h111.24l55.62 96.338-55.62 96.338Z" style="mix-blend-mode:overlay;"></path><path d="m1194.17 176.943 1.76-1.019-8.9-15.415 44.4-76.89h16.26v-2.037h-17.44l-.29.507-45.28 78.42 9.49 16.434Zm36.08 62.497h38.23v-2.037h-37.05l-10.07-17.427-1.76 1.018 10.65 18.446Zm63.79 0h27.35l18.76-32.5-1.76-1.018-18.18 31.481h-26.17v2.037Z" style="mix-blend-mode:overlay;"></path><path d="M1294.04 239.44h27.35l18.76-32.5-1.76-1.018-18.18 31.481h-26.17v2.037Zm62.88-61.54 10.04-17.391-33.6-58.193-1.76 1.018 33.01 57.175-9.45 16.373 1.76 1.018Zm-137.9 276.188h113.6l.29-.512 56.51-97.863-56.8-98.375h-113.6l-.29.512-56.5 97.863.3.512 56.5 97.863h-.01Zm112.42-2.037H1220.2l-55.62-96.338 55.62-96.338h111.24l55.62 96.338-55.62 96.338Z" style="mix-blend-mode:overlay;"></path><path d="m1197.42 373.074 1.76-1.019-9.44-16.342 12.89-22.31-1.77-1.018-13.47 23.328 10.03 17.361Zm34.18 59.221h27.07v-2.037h-25.89l-11.42-19.776-1.76 1.018 12 20.795Z" style="mix-blend-mode:overlay;"></path><path d="M1231.6 432.295h27.07v-2.037h-25.89l-11.42-19.776-1.76 1.018 12 20.795Zm69.74 0h18.7l12-20.795-1.77-1.018-11.41 19.776h-17.52v2.037Zm51.04-56.023 11.87-20.559-21.52-37.265-1.76 1.019 20.93 36.246-11.29 19.541 1.77 1.018Z" style="mix-blend-mode:overlay;"></path><path d="m1352.38 376.272 11.87-20.559-21.52-37.265-1.76 1.019 20.93 36.246-11.29 19.541 1.77 1.018Zm-130.47-76.275 10.87-18.829h86.08l8.07 13.998 1.77-1.024-8.67-15.011h-88.43l-11.46 19.848 1.77 1.018ZM564.225 524.805h76.208l38.104-65.998-.296-.512-37.813-65.491H564.22l-38.105 65.998.297.512 37.813 65.491Zm75.031-2.037h-73.854l-36.927-63.961 36.927-63.961h73.854l36.927 63.961-36.927 63.961ZM554.64 299.46h55.27l27.638-47.864-27.638-47.865h-55.27l-27.638 47.865 27.638 47.864Zm54.093-2.037h-52.916l-26.461-45.827 26.461-45.828h52.916l26.46 45.828-26.46 45.827Zm-387.8 54.876H334.53l.291-.512 56.504-97.863-.297-.512-56.503-97.863H220.928l-.291.512-56.504 97.863.297.512 56.503 97.868v-.005Zm112.42-2.037H222.111l-55.619-96.338 55.619-96.338h111.242l55.618 96.338-55.618 96.338Z" style="mix-blend-mode:overlay;"></path><path d="M235.49 327.082h84.479l42.24-73.158-.297-.512-41.943-72.651H235.49l-42.24 73.158.297.512 41.943 72.651Zm83.302-2.037h-82.125l-41.063-71.121 41.063-71.121h82.125l41.062 71.121-41.062 71.121Z" style="mix-blend-mode:overlay;"></path><path d="M235.49 327.082h84.479l42.24-73.158-.297-.512-41.943-72.651H235.49l-42.24 73.158.297.512 41.943 72.651Zm83.302-2.037h-82.125l-41.063-71.121 41.063-71.121h82.125l41.062 71.121-41.062 71.121Zm71.429-70.594h113.596l.292-.511 56.503-97.864-.296-.511-56.504-97.869H390.215l-.291.512-56.504 97.863.297.512 56.504 97.863v.005Zm112.419-2.037H391.398l-55.619-96.338 55.619-96.338H502.64l55.618 96.338-55.618 96.338Z" style="mix-blend-mode:overlay;"></path><path d="m519.625 179.456 13.502-23.38-15.902-27.54-1.766 1.018 15.313 26.522-12.913 22.361 1.766 1.019Zm-54.748 51.196h25.196l11.378-19.715-1.766-1.018-10.789 18.691h-24.019v2.042Zm-60.914 0h25.467v-2.042h-24.29l-12.171-21.076-1.766 1.018 12.76 22.1Zm-30.639-53.064 1.766-1.019-11.833-20.493 41.881-72.538h83.758l9.632 16.69 1.766-1.024-10.221-17.703h-86.112l-43.059 74.575 12.422 21.512Z" style="mix-blend-mode:overlay;"></path><path d="m373.324 177.588 1.766-1.019-11.833-20.493 41.881-72.538h83.758l9.632 16.69 1.766-1.024-10.221-17.703h-86.112l-43.059 74.575 12.422 21.512Zm16.897 272.068h113.596l.292-.512 56.503-97.863-.296-.512-56.504-97.863H390.215l-.291.512-56.504 97.863.297.512 56.504 97.863Zm112.419-2.037H391.398l-55.619-96.338 55.619-96.338H502.64l55.618 96.338-55.618 96.338Z" style="mix-blend-mode:overlay;"></path><path d="m498.59 291.982 1.76-1.018-9.253-16.035h-23.646v2.037h22.469l8.67 15.016Zm-30.217 135.645h22.724l.292-.506 43.791-75.84-10.446-18.088-1.766 1.019 9.857 17.069-42.905 74.309h-21.547v2.037Zm-65.441 0h21.005v-2.037H404.11l-10.82-18.737-1.761 1.019 11.403 19.755Zm-32.899-56.984 1.766-1.019-10.589-18.343 12.529-21.706-1.766-1.019-13.118 22.725 11.178 19.362Zm22.996-74.479 11.081-19.198h30.995v-2.037h-32.172l-11.669 20.216 1.765 1.019Z" style="mix-blend-mode:overlay;"></path><g opacity=".19"><path d="M1572.47 384.108h145.91l.38-.655 72.58-125.711-72.96-126.366h-145.91l-.38.656-72.58 125.71 72.96 126.366Zm144.4-2.62h-142.89l-71.44-123.746 71.44-123.745h142.89l71.44 123.745-71.44 123.746Z" style="mix-blend-mode:overlay;"></path><path d="M1589.81 354.075h111.23l55.62-96.327-55.62-96.328h-111.23l-55.61 96.328 55.61 96.327Zm109.72-2.62h-108.21l-54.1-93.707 54.1-93.708h108.21l54.1 93.708-54.1 93.707Z" style="mix-blend-mode:overlay;"></path><path d="M1589.81 354.075h111.23l55.62-96.327-55.62-96.328h-111.23l-55.61 96.328 55.61 96.327Zm109.72-2.62h-108.21l-54.1-93.707 54.1-93.708h108.21l54.1 93.708-54.1 93.707Zm-344.51-93.032h145.91l.38-.655 72.58-125.711-72.96-126.36h-145.91l-.38.655-72.58 125.71.38.655 72.58 125.711v-.005Zm144.4-2.62h-142.89l-71.44-123.746 71.44-123.745h142.89l71.44 123.745-71.44 123.746Z" style="mix-blend-mode:overlay;"></path><path d="m1323.08 153.169 2.27-1.31-11.43-19.797 57.02-98.769h20.9v-2.62h-22.41l-.37.655-58.16 100.734 12.18 21.107Zm46.35 80.278h49.11v-2.616h-47.6l-12.92-22.386-2.27 1.31 13.68 23.692Zm81.94 0h35.14l24.1-41.749-2.26-1.31-23.35 40.443h-33.63v2.616Z" style="mix-blend-mode:overlay;"></path><path d="M1451.37 233.447h35.14l24.1-41.749-2.26-1.31-23.35 40.443h-33.63v2.616Zm80.77-79.049 12.9-22.336-43.15-74.755-2.27 1.31 42.4 73.445-12.14 21.025 2.26 1.311Zm-177.12 354.766h145.91l.38-.655 72.58-125.711-72.96-126.366h-145.91l-.38.655-72.58 125.711.38.655 72.58 125.711Zm144.4-2.621h-142.89l-71.44-123.745 71.44-123.745h142.89l71.44 123.745-71.44 123.745Z" style="mix-blend-mode:overlay;"></path><path d="m1327.26 405.103 2.26-1.311-12.12-20.994 16.55-28.656-2.27-1.31-17.3 29.966 12.88 22.305Zm43.91 76.07h34.78v-2.62h-33.26l-14.67-25.402-2.27 1.311 15.42 26.711Z" style="mix-blend-mode:overlay;"></path><path d="M1371.17 481.173h34.78v-2.62h-33.26l-14.67-25.402-2.27 1.311 15.42 26.711Zm89.58 0h24.02l15.42-26.711-2.27-1.311-14.67 25.402h-22.5v2.62Zm65.56-71.96 15.25-26.415-27.64-47.864-2.26 1.31 26.88 46.554-14.5 25.104 2.27 1.311Z" style="mix-blend-mode:overlay;"></path><path d="m1526.31 409.213 15.25-26.415-27.64-47.864-2.26 1.31 26.88 46.554-14.5 25.104 2.27 1.311Zm-167.59-97.976 13.97-24.188h110.56l10.38 17.974 2.27-1.31-11.13-19.285h-113.6l-14.71 25.499 2.26 1.31ZM513.923 600h97.894l48.944-84.776-.379-.655-48.565-84.121h-97.894l-48.944 84.776.378.655L513.923 600Zm96.379-2.621h-94.869l-47.435-82.16 47.435-82.161h94.869l47.434 82.161-47.434 82.16ZM501.61 310.546h70.999l35.499-61.484-35.499-61.484H501.61l-35.499 61.484 35.499 61.484Zm69.484-2.621H503.12l-33.989-58.868 33.989-58.868h67.974l33.984 58.868-33.984 58.868Zm647.556 8.02h70.99l35.5-61.483-35.5-61.484h-70.99l-35.5 61.484 35.5 61.483Zm69.48-2.62h-67.97l-33.99-58.868 33.99-58.869h67.97l33.98 58.869-33.98 58.868ZM72.953 378.412H218.87l.379-.655 72.58-125.711-.379-.655-72.58-125.711H72.953l-.378.655L0 252.051l.379.655 72.58 125.711-.006-.005Zm144.402-2.621H74.468L3.025 252.051l71.443-123.75h142.887l71.444 123.745-71.444 123.745Z" style="mix-blend-mode:overlay;"></path><path d="M91.655 346.019H200.17l54.257-93.973-.378-.655-53.879-93.318H91.655l-54.257 93.973.38.655 53.877 93.318Zm106.999-2.62H93.17l-52.742-91.353 52.742-91.353h105.49l52.742 91.353-52.742 91.353h-.006Z" style="mix-blend-mode:overlay;"></path><path d="M91.655 346.019H200.17l54.257-93.973-.378-.655-53.879-93.318H91.655l-54.257 93.973.38.655 53.877 93.318Zm106.999-2.62H93.17l-52.742-91.353 52.742-91.353h105.49l52.742 91.353-52.742 91.353h-.006Zm91.753-90.672h145.911l.379-.655 72.58-125.711-.379-.655L436.324 0H290.412l-.379.655-72.58 125.711.379.655 72.58 125.711-.005-.005Zm144.402-2.621H291.921l-71.443-123.745 71.443-123.74h142.888l71.443 123.745-71.443 123.745v-.005Z" style="mix-blend-mode:overlay;"></path><path d="m456.632 156.399 17.345-30.033-20.426-35.376-2.268 1.305 19.669 34.071-16.583 28.723 2.263 1.31Zm-70.323 65.757h32.361l14.618-25.324-2.268-1.305-13.865 24.009h-30.846v2.62Zm-78.251 0h32.715v-2.62h-31.205l-15.631-27.075-2.267 1.31 16.388 28.385Zm-39.353-68.157 2.267-1.311-15.195-26.322 53.791-93.175h107.588l12.375 21.434 2.267-1.31-13.127-22.745H308.058l-55.306 95.796 15.953 27.633Z" style="mix-blend-mode:overlay;"></path><path d="m268.705 153.999 2.267-1.311-15.195-26.322 53.791-93.175h107.588l12.375 21.434 2.267-1.31-13.127-22.745H308.058l-55.306 95.796 15.953 27.633Zm21.701 349.469h145.912l.378-.656 72.58-125.71-.379-.655-72.579-125.711H290.406l-.379.655-72.58 125.711.379.655 72.58 125.711Zm144.402-2.621H291.921l-71.444-123.745 71.444-123.746h142.887l71.443 123.746-71.443 123.745Z" style="mix-blend-mode:overlay;"></path><path d="m429.607 300.934 2.268-1.31-11.89-20.59h-30.376v2.615h28.866l11.132 19.285Zm-38.81 174.241h29.188l.379-.655 56.243-97.418-13.415-23.231-2.267 1.31 12.657 21.921-55.106 95.457h-27.679v2.616Zm-84.054 0h26.977v-2.616h-25.467l-13.896-24.07-2.267 1.305 14.653 25.381Zm-42.266-73.199 2.268-1.311-13.604-23.563 16.096-27.879-2.267-1.305-16.849 29.184 14.356 24.874Zm29.536-95.668 14.239-24.659h39.809v-2.615h-41.319l-14.996 25.964 2.267 1.31Z" style="mix-blend-mode:overlay;"></path></g></g><path fill="#B3B3B3" d="m474.413 144.049-25.263-11.582-.435-.2-.44.2-25.263 11.582.435 2.006h50.531l.435-2.006Zm-1.484 31.169h-49.482v7.682h50.531v-7.682h-1.049Zm-4.991-26.005h3.659c-.184.317-.45.589-.778.773l-.527.302v21.005l.527.302c.322.189.594.455.778.772h-3.659c.184-.317.45-.588.777-.772l.528-.302v-21.005l-.528-.302a2.164 2.164 0 0 1-.777-.773Z"></path><path fill="#B3B3B3" d="M466.122 150.262c.266.456.609.86 1.013 1.183v18.701a4.26 4.26 0 0 0-1.013 1.182c-.635 1.101-.563 1.961-.563 3.153h8.424c0-1.192.072-2.047-.563-3.153a4.19 4.19 0 0 0-1.013-1.182v-18.701a4.25 4.25 0 0 0 1.013-1.183 4.197 4.197 0 0 0 .563-2.098v-1.054h-8.424c0 1.192-.072 2.047.563 3.152Zm-14.035 0c.261.456.609.86 1.013 1.183v18.701a4.26 4.26 0 0 0-1.013 1.182c-.635 1.101-.563 1.961-.563 3.153h8.424c0-1.192.072-2.047-.563-3.153a4.19 4.19 0 0 0-1.013-1.182v-18.701a4.25 4.25 0 0 0 1.013-1.183 4.197 4.197 0 0 0 .563-2.098v-1.054h-8.424c0 1.192-.072 2.047.563 3.152Zm-14.039 0c.261.456.609.86 1.013 1.183v18.701a4.26 4.26 0 0 0-1.013 1.182c-.635 1.101-.563 1.961-.563 3.153h8.424c0-1.192.072-2.047-.563-3.153a4.19 4.19 0 0 0-1.013-1.182v-18.701a4.25 4.25 0 0 0 1.013-1.183 4.197 4.197 0 0 0 .563-2.098v-1.054h-8.424c0 1.192-.072 2.047.563 3.152Zm-14.039 0c.261.456.609.86 1.013 1.183v18.701a4.26 4.26 0 0 0-1.013 1.182c-.635 1.101-.563 1.961-.563 3.153h8.424c0-1.192.072-2.047-.563-3.153a4.19 4.19 0 0 0-1.013-1.182v-18.701a4.207 4.207 0 0 0 1.576-3.281v-1.054h-8.424c0 1.192-.072 2.047.563 3.152ZM1445.31 426.446c-2.55 1.331-4.44 3.03-5.76 4.919a13.318 13.318 0 0 0-2.4 7.339c-.06 2.508.56 5.005 1.72 7.222 1.1 2.103 2.68 3.951 4.63 5.312 3.39 2.365 7.21 2.887 10.75 2.114 2.64-.573 5.13-1.868 7.18-3.649 2.04-1.786 3.66-4.074 4.56-6.633 1.17-3.353 1.1-7.155-.86-10.892-1.83-3.506-4.97-5.896-8.57-6.93-3.58-1.023-7.61-.706-11.25 1.198Zm-3.64 6.398c1.09-1.566 2.68-2.979 4.83-4.11 3.03-1.582 6.38-1.848 9.35-.993 2.94.844 5.51 2.789 7 5.63 1.59 3.045 1.64 6.131.7 8.844-.75 2.119-2.1 4.023-3.82 5.528-1.73 1.504-3.81 2.594-6.02 3.07-2.89.63-5.98.21-8.72-1.699-1.61-1.121-2.92-2.651-3.83-4.391-.96-1.832-1.47-3.895-1.42-5.963.05-2.042.65-4.094 1.93-5.921v.005Z"></path><path fill="#B3B3B3" d="m1453.37 425.392-1.88-3.603a3.315 3.315 0 0 0-4.16-1.551c-2.02.803-4.6 2.385-6.6 3.429a3.328 3.328 0 0 0-1.64 1.95 3.3 3.3 0 0 0 .23 2.528l1.88 3.603 2.29-1.197 2.46-2.999 5.13-.973 2.29-1.197v.01Zm-27.17-25.197c3.03 1.582 5.15 4.182 6.15 7.099 2.13 6.254-1.28 12.775-7.63 14.597-2.97.85-6.32.589-9.34-.993-3.03-1.581-5.16-4.181-6.15-7.099-2.13-6.254 1.27-12.775 7.62-14.597 2.97-.849 6.33-.588 9.35.993Zm8.6 6.27c-1.2-3.526-3.76-6.654-7.41-8.557-3.64-1.904-7.67-2.222-11.25-1.198-3.59 1.034-6.74 3.424-8.57 6.93-1.84 3.506-2.01 7.447-.8 10.993 1.2 3.527 3.76 6.654 7.41 8.558 3.64 1.904 7.67 2.221 11.25 1.198 3.6-1.034 6.74-3.424 8.58-6.93 1.83-3.506 2-7.447.79-10.994Z"></path><path fill="#B3B3B3" d="m1422.93 398.046 7.58 3.966 2.29 1.198 1.89-3.603c.05-.098.08-.174.11-.241.32-.742.35-1.576.13-2.318a3.134 3.134 0 0 0-1.73-1.966l-6.55-2.784c-.81-.343-1.7-.389-2.48-.143a3.2 3.2 0 0 0-1.91 1.592l-1.62 3.101 2.3 1.198h-.01Z"></path><path fill="#B3B3B3" d="M1443.81 398.025a3.875 3.875 0 0 0-1.04-2.789 3.887 3.887 0 0 0-2.7-1.239l-3.89-.148a3.863 3.863 0 0 0-2.79 1.039 3.83 3.83 0 0 0-1.24 2.702 3.876 3.876 0 0 0 1.04 2.79 3.852 3.852 0 0 0 2.7 1.238l3.89.149a3.868 3.868 0 0 0 2.79-1.039 3.914 3.914 0 0 0 1.24-2.703Zm-2.94-1.023c.23.245.37.573.35.931-.01.353-.17.671-.42.901-.24.225-.57.363-.93.348l-3.89-.148a1.317 1.317 0 0 1-1.25-1.352c.02-.353.18-.67.42-.9.25-.226.57-.364.93-.348l3.89.148c.36.015.67.174.9.42Zm7.4 1.376a3.893 3.893 0 0 0-2.05 2.155c-.36.926-.37 1.996.06 2.974l1.57 3.562a3.86 3.86 0 0 0 2.15 2.052c.93.364 2 .369 2.98-.061s1.69-1.223 2.05-2.155c.36-.926.37-1.996-.06-2.973l-1.57-3.563a3.86 3.86 0 0 0-2.15-2.052c-.93-.363-2-.369-2.98.061Zm.36 3.087a1.305 1.305 0 0 1 1.69-.737c.3.117.57.358.71.685l1.57 3.563c.14.327.14.685.02.998-.12.307-.36.573-.69.716-.32.143-.68.143-.99.021a1.278 1.278 0 0 1-.72-.686l-1.57-3.562a1.328 1.328 0 0 1-.02-.998Z"></path><path fill="#B3B3B3" d="M1448.7 402.33c.67.245 1.42-.098 1.66-.768a1.288 1.288 0 0 0-.77-1.664l-8.33-3.07a1.29 1.29 0 0 0-1.66.772c-.25.671.1 1.418.77 1.664l8.33 3.071v-.005Zm-1.17 10.149a3.882 3.882 0 0 0-2.87.798 3.86 3.86 0 0 0-1.47 2.585l-.48 3.864a3.854 3.854 0 0 0 .79 2.866 3.909 3.909 0 0 0 2.59 1.474 3.846 3.846 0 0 0 2.86-.798 3.871 3.871 0 0 0 1.48-2.585l.48-3.864a3.858 3.858 0 0 0-.8-2.866 3.864 3.864 0 0 0-2.58-1.474Zm-1.28 2.835c.26-.205.6-.307.96-.261a1.297 1.297 0 0 1 1.13 1.454l-.48 3.864c-.05.353-.23.66-.49.865-.26.205-.6.307-.96.261-.36-.046-.66-.23-.87-.491-.2-.262-.31-.599-.26-.963l.48-3.864c.05-.353.23-.66.49-.865Z"></path><path fill="#B3B3B3" d="M1452.13 407.018a1.297 1.297 0 0 0-.72-1.679 1.292 1.292 0 0 0-1.68.727l-3.27 8.255c-.26.666.06 1.413.72 1.679.67.261 1.42-.061 1.68-.727l3.27-8.255ZM300.217 251.304h-13.891v23.558h14.96v-23.558h-1.069Zm-16.066 0h-13.885v23.558h14.96v-23.558h-1.075Zm-16.096 0H254.17v23.558h14.955v-23.558h-1.07Zm35.377 24.618h-51.407v2.139h51.407v-2.139Zm0-27.817h-51.407v2.144h51.407v-2.144Zm-11.516-15.83a2.68 2.68 0 0 1 3.787 0 2.683 2.683 0 0 1 0 3.787 2.68 2.68 0 0 1-3.787 0 2.68 2.68 0 0 1 0-3.787Zm7.543 14.755c-.015-2.083-.624-5.256-1.586-6.858-1.008-1.679-2.431-2.815-4.069-2.815s-3.061 1.136-4.069 2.815c-.962 1.602-1.566 4.775-1.587 6.858h11.311Z"></path><path fill="#B3B3B3" d="M293.81 227.745a4.801 4.801 0 0 0-3.409 1.413 4.813 4.813 0 0 0-1.413 3.408c0 1.331.538 2.534 1.413 3.409a4.813 4.813 0 0 0 3.409 1.413 4.8 4.8 0 0 0 3.408-1.413 4.813 4.813 0 0 0 1.413-3.409 4.8 4.8 0 0 0-1.413-3.408 4.813 4.813 0 0 0-3.408-1.413Zm-10.431 19.285c-.015-2.083-.624-5.256-1.586-6.858-1.009-1.679-2.431-2.815-4.069-2.815s-3.061 1.136-4.069 2.815c-.962 1.602-1.566 4.775-1.587 6.858h11.311Z"></path><path fill="#B3B3B3" d="M277.729 227.745a4.8 4.8 0 0 0-3.408 1.413 4.813 4.813 0 0 0-1.413 3.408c0 1.331.538 2.534 1.413 3.409a4.813 4.813 0 0 0 3.408 1.413 4.801 4.801 0 0 0 3.409-1.413 4.813 4.813 0 0 0 1.413-3.409 4.8 4.8 0 0 0-1.413-3.408 4.813 4.813 0 0 0-3.409-1.413Zm-10.432 19.285c-.015-2.083-.624-5.256-1.586-6.858-1.009-1.679-2.431-2.815-4.069-2.815s-3.061 1.136-4.069 2.815c-.962 1.602-1.566 4.775-1.587 6.858h11.311Z"></path><path fill="#B3B3B3" d="M261.647 227.745a4.8 4.8 0 0 0-3.408 1.413 4.813 4.813 0 0 0-1.413 3.408c0 1.331.538 2.534 1.413 3.409a4.813 4.813 0 0 0 3.408 1.413 4.801 4.801 0 0 0 3.409-1.413 4.813 4.813 0 0 0 1.413-3.409 4.8 4.8 0 0 0-1.413-3.408 4.813 4.813 0 0 0-3.409-1.413Zm194.694 104.573c.072-.051.185-.118.297-.189 1.382-.865 3.173-1.981 3.219-8.89a1.193 1.193 0 0 0-2.078-.804c-.598.66-1.202.993-1.775 1.08-.64.092-1.295-.113-1.894-.512-2.068-1.366-4.914-2.6-7.938-2.907-2.437-.251-4.991.092-7.37 1.418l-.077.046c-2.17 1.438-3.66 2.769-4.345 4.355-.737 1.705-.523 3.522.813 5.789.19.317.502.517.84.573.353.057.691.097 1.008.123.343.026.681.041 1.013.041 2.431 0 4.683-.686 6.475-1.843a9.693 9.693 0 0 0 2.687-2.533 9.483 9.483 0 0 0 2.308 2.37c1.628 1.182 3.69 1.96 5.957 2.139.323.026.625-.082.855-.271l.005.015Z"></path><path fill="#B3B3B3" d="M435.791 329.979c-.179.338-.466.573-.742.809-.896.747-1.74 1.459-1.74 3.951 0 .978.358 1.935.941 2.667.425.532.978.957 1.607 1.197.492 1.531 1.101 3.24 1.884 4.847.936 1.919 2.129 3.7 3.685 4.908.686.533 1.418.84 2.206 1.014.727.158 1.474.199 2.272.199.799 0 1.566-.046 2.308-.215a5.387 5.387 0 0 0 2.222-1.044c1.545-1.218 2.723-2.989 3.649-4.893.778-1.597 1.382-3.296 1.868-4.811a3.763 3.763 0 0 0 1.633-1.192 4.291 4.291 0 0 0 .921-2.677c0-.86-.409-1.709-.988-2.452a8.573 8.573 0 0 0-2.267-1.996l-1.198 2.063a5.97 5.97 0 0 1 1.577 1.397c.281.364.481.722.481.983 0 .466-.149.885-.394 1.192-.22.277-.512.456-.835.492l-.778.087-.23.742c-.491 1.576-1.111 3.419-1.94 5.118-.793 1.628-1.765 3.112-2.978 4.069a3.026 3.026 0 0 1-1.27.583c-.517.118-1.121.149-1.786.149s-1.249-.026-1.766-.143a2.99 2.99 0 0 1-1.243-.564c-1.229-.951-2.211-2.441-3.005-4.068-.834-1.71-1.458-3.563-1.955-5.149l-.23-.742-.778-.087c-.302-.036-.589-.226-.809-.502a1.911 1.911 0 0 1-.419-1.182c0-1.387.424-1.745.88-2.124.445-.374.911-.763 1.31-1.52l-2.103-1.121.01.015Zm-5.225 48.525h16.695v-12.913l-.025-.215-2.437-10.359-.199-.399-3.496-4.417-.496-.63-.881.144-13.25 2.134-.783.128-.246.634c-.834 2.155-1.704 3.732-2.482 5.139-1.305 2.37-2.37 4.294-2.672 7.539-.056.604-.087 11.388-.087 12.094v1.126h10.359v-.005Z"></path><path fill="#B3B3B3" d="M461.25 378.504h-16.695v-12.913l.025-.215 2.436-10.359.2-.399 3.496-4.417.496-.63.881.144 13.25 2.134.783.128.246.634c.834 2.155 1.704 3.732 2.482 5.139 1.305 2.37 2.37 4.294 2.672 7.539.056.604.087 11.388.087 12.094v1.126H461.25v-.005Zm811.6-241.226v3.362h2.1v-3.362c0-.548-.54-.983-1.08-.973-.52.011-1.03.481-1.02.973Zm0 8.051v39.777h2.1v-39.777h-2.1Z"></path><path fill="#B3B3B3" d="M1273.9 139.586c-.94 0-1.79.379-2.4.993a3.358 3.358 0 0 0-.99 2.4c0 .937.37 1.787.99 2.401.61.614 1.46.993 2.4.993s1.79-.379 2.4-.993a3.4 3.4 0 0 0 .99-2.401 3.4 3.4 0 0 0-.99-2.4 3.371 3.371 0 0 0-2.4-.993Z"></path><path fill="#B3B3B3" d="M1292.54 144.029a1.05 1.05 0 0 0 0-2.099h-16.3c-.57 0-1.05.471-1.05 1.049 0 .579.48 1.05 1.05 1.05h16.3Zm-20.98 0c.57 0 1.04-.471 1.04-1.05 0-.578-.47-1.049-1.04-1.049h-16.31c-.57 0-1.04.471-1.04 1.049 0 .579.47 1.05 1.04 1.05h16.31Zm27.52 25.242h-18.17v1.049a9.58 9.58 0 0 0 2.82 6.792 9.572 9.572 0 0 0 6.79 2.815c2.65 0 5.05-1.075 6.79-2.815a9.58 9.58 0 0 0 2.82-6.792v-1.049h-1.05Z"></path><path fill="#B3B3B3" d="m1289.42 143.133-8.51 26.138 2 .624 8.51-26.143-2-.619Z"></path><path fill="#B3B3B3" d="m1289.62 143.752 8.5 26.143 2-.624-8.5-26.138-2 .619Zm-22.74 25.519h-18.16v1.049a9.57 9.57 0 0 0 2.81 6.792 9.578 9.578 0 0 0 6.8 2.815c2.65 0 5.05-1.075 6.79-2.815a9.57 9.57 0 0 0 2.81-6.792v-1.049h-1.05Z"></path><path fill="#B3B3B3" d="m1257.23 143.133-8.51 26.138 2 .624 8.51-26.143-2-.619Z"></path><path fill="#B3B3B3" d="m1257.42 143.752 8.51 26.143 2-.624-8.51-26.138-2 .619Zm11.18 42.306h10.59c0-3.603-10.59-3.603-10.59 0Zm24.15 160.758H1255v6.045c1.16.532 3.3 1.407 4.04 1.648 1.26.409 2.56.721 3.86.972 2.93.568 5.98.86 8.97.952v-1.991h4.82v1.981c3.03-.113 6.11-.425 9.06-1.029 1.29-.266 2.58-.588 3.82-1.018.73-.251 2.89-1.229 3.98-1.781v-5.779h-.8Zm-20.88 10.421v3.639h4.82v-3.65c3.08-.112 6.21-.43 9.22-1.049 1.35-.276 2.7-.619 4-1.075.67-.235 2.47-1.044 3.64-1.617v18.231H1255v-17.975c1.22.542 3.05 1.285 3.74 1.515 1.31.43 2.66.757 4.01 1.018 2.98.579 6.07.87 9.12.968v-.005Zm1.61-1.183h1.6v3.215h-1.6v-3.215Z"></path><path fill="#B3B3B3" d="M1281.51 346.816h-14.46v-1.505c0-.47.19-.895.5-1.202.31-.313.74-.502 1.2-.502h11.05c.47 0 .89.195 1.2.502.31.312.5.737.5 1.202v1.505h.01Zm-15.27 1.607h16.87v-3.112a3.314 3.314 0 0 0-3.31-3.311h-11.04a3.314 3.314 0 0 0-3.31 3.311v3.112h.8-.01Z"></path><path fill="#B3B3B3" fill-rule="evenodd" d="M573.443 258.285h-10.441v8.491h11.244v-8.491h-.803Zm-5.625 2.866h1.607v2.754h-1.607v-2.754Z" clip-rule="evenodd"></path><path fill="#B3B3B3" d="M599.948 236.252h-35.341v1.003h35.341v-1.003Z"></path><path fill="#B3B3B3" d="M600.748 234.645h-37.746v4.217h38.549v-4.217h-.803Zm-.001 34.337h-37.751v4.217h38.555v-4.217h-.804Zm-36.144 1.607h35.341v1.003h-35.341v-1.003Z"></path><path fill="#B3B3B3" d="M599.242 238.058h-1.607v31.727h1.607v-31.727Zm-5.383 0h-1.607v31.727h1.607v-31.727Zm-5.391 0h-1.607v31.727h1.607v-31.727Zm-5.388 0h-1.607v31.727h1.607v-31.727Zm-5.635 0h-1.607v31.727h1.607v-31.727Zm-6.746 0v11.403a5.559 5.559 0 0 1 1.607 1.009v-12.412h-1.607Zm-5.39 0v12.11a5.471 5.471 0 0 1 1.607-.84v-11.265h-1.607v-.005Zm3.312 12.601c-1.075 0-2.048.44-2.754 1.147a3.892 3.892 0 0 0-1.146 2.753v5.277h7.8v-5.277a3.88 3.88 0 0 0-1.147-2.753 3.89 3.89 0 0 0-2.753-1.147Zm-1.623 2.283a2.29 2.29 0 0 1 1.623-.676c.634 0 1.202.261 1.622.676.415.414.676.988.676 1.622v3.67h-4.591v-3.67c0-.629.256-1.203.675-1.622h-.005Zm31.201 187.747c-2.656.261-4.908.665-6.49 1.172-1.914.609-3.02 1.484-3.02 2.574 0 1.392 2.017 2.493 5.282 3.148 2.826.563 6.715.916 10.994.916s8.169-.348 10.994-.916c3.265-.655 5.282-1.756 5.282-3.148 0-1.085-1.091-1.955-2.984-2.564-1.561-.501-3.788-.911-6.413-1.172l-.773-.077-.266.727c-.19.507-.834.993-1.781 1.377-1.07.435-2.467.696-4.003.696-1.535 0-2.943-.261-4.007-.696-.947-.384-1.592-.875-1.776-1.382l-.266-.737-.773.077v.005Z"></path><path fill="#B3B3B3" d="M605.026 435.284c-.982 0-1.806-.164-2.492-.302-1.479-.297-2.493-.496-3.532.63-.276.302-.675 1.32-1.018 2.395-.41 1.279-.798 2.748-.798 3.102 0 1.335.982 2.487 2.569 3.255 1.366.665 3.229 1.074 5.271 1.074 2.043 0 3.906-.409 5.272-1.074 1.587-.773 2.569-1.92 2.569-3.255 0-.308-.348-1.823-.716-3.143-.302-1.085-.64-2.104-.865-2.39-.988-1.234-2.047-.998-3.583-.655-.727.164-1.612.358-2.677.358v.005Zm-8.479 11.756-.123.226c-.164.291-.251.455-.333.762a3.255 3.255 0 0 0-1.033 1.014 3.59 3.59 0 0 0-.574 1.965c0 .855.292 1.638.768 2.237a3.1 3.1 0 0 0 1.356.992c.41 1.27.911 2.687 1.561 4.023.778 1.597 1.771 3.081 3.066 4.085a4.43 4.43 0 0 0 1.843.844c.604.133 1.228.164 1.893.164.666 0 1.3-.036 1.925-.179a4.512 4.512 0 0 0 1.853-.87c1.284-1.014 2.267-2.488 3.035-4.074.644-1.326 1.146-2.739 1.55-3.998a3.097 3.097 0 0 0 1.357-.993 3.588 3.588 0 0 0 .767-2.236c0-.594-.143-1.162-.399-1.658a3.299 3.299 0 0 0-1.126-1.27c-.087-.056-.041-.102-.205-.297-.378-.46-.875-1.064-1.177-1.294l-1.213 1.602c.128.097.533.588.84.962.271.327.486.593.66.706a1.3 1.3 0 0 1 .435.496c.107.21.169.466.169.748 0 .384-.123.732-.328.988-.179.225-.419.378-.686.404l-.655.071-.194.625c-.41 1.31-.927 2.84-1.612 4.253-.655 1.351-1.464 2.585-2.472 3.378a2.586 2.586 0 0 1-1.05.481c-.43.097-.926.123-1.484.123-.558 0-1.034-.026-1.469-.118a2.475 2.475 0 0 1-1.029-.466c-1.018-.793-1.832-2.026-2.492-3.377-.696-1.418-1.213-2.959-1.622-4.279l-.195-.625-.655-.071c-.261-.031-.502-.179-.686-.405a1.566 1.566 0 0 1-.327-.987c0-.333.092-.635.245-.876.144-.225.343-.394.568-.47l.558-.2.103-.578c.066-.384.107-.451.215-.645.03-.057.071-.123.138-.256l-1.771-.942.005.015Z"></path><path fill="#B3B3B3" d="m608.487 462.395-2.57 3.9-.112.235-.84 2.513-.844-2.538-.113-.241-2.564-3.874-2.226.174 3.045 4.703 1.684 5.052-.149 6.505-5.281-7.631 1.929-2.774.425-.614-.471-.589-7.043-8.803 5.528-.773-.276-1.991-7.273 1.019-1.745.245 1.1 1.377 4.33 5.415c-2.441 1.213-4.499 2.902-6.024 4.913-1.756 2.314-2.805 5.047-2.933 7.969l-.225 5.154-.046 1.039h1.044l36.42.174h1.091l-.082-1.075-.415-5.328c-.225-2.876-1.269-5.573-2.973-7.861-1.515-2.037-3.552-3.746-5.994-4.975l4.34-5.425 1.096-1.367-1.73-.25-7.063-1.034-.292 1.991 5.333.783-3.987 4.985-3.066 3.828-.471.589.425.614 1.92 2.753-5.6 7.606.149-6.352 1.714-5.143 2.831-4.719-2.007-.169.011-.01Zm842.423-231.057c-5.17 0-9.85 2.093-13.23 5.481a18.646 18.646 0 0 0-5.48 13.236c0 5.169 2.09 9.847 5.48 13.235 3.38 3.388 8.06 5.482 13.23 5.482s9.85-2.094 13.24-5.482a18.646 18.646 0 0 0 5.48-13.235c0-5.17-2.09-9.848-5.48-13.236a18.668 18.668 0 0 0-13.24-5.481Zm-11.72 6.991c3-2.999 7.14-4.857 11.72-4.857 4.58 0 8.72 1.858 11.73 4.857 3 2.999 4.85 7.145 4.85 11.726 0 4.58-1.85 8.726-4.85 11.725-3 2.999-7.15 4.857-11.73 4.857s-8.72-1.858-11.72-4.857-4.86-7.145-4.86-11.725a16.54 16.54 0 0 1 4.86-11.726Z"></path><path fill="#B3B3B3" d="M1450.58 231c-5.17 0-9.85 2.093-13.24 5.481a18.65 18.65 0 0 0-5.48 13.236c0 5.169 2.09 9.847 5.48 13.235 3.39 3.388 8.07 5.482 13.24 5.482s9.85-2.094 13.23-5.482a18.654 18.654 0 0 0 5.49-13.235c0-5.169-2.1-9.847-5.49-13.236a18.627 18.627 0 0 0-13.23-5.481Zm-11.73 6.991c3-2.999 7.15-4.857 11.73-4.857s8.72 1.858 11.72 4.857c3 3 4.86 7.145 4.86 11.726 0 4.581-1.86 8.726-4.86 11.725-3 3-7.14 4.858-11.72 4.858-4.58 0-8.72-1.858-11.73-4.858a16.52 16.52 0 0 1-4.85-11.725c0-4.581 1.85-8.721 4.85-11.726Zm-19.38 45.771 13.42-11.126.79-.666-.64-.808-5.18-6.511-.68-.854-.84.701-7 5.881.13 13.383Z"></path><path fill="#B3B3B3" d="m1419.13 283.43 13.42-11.127.8-.67-.64-.809-5.18-6.505-.68-.855-.84.701-7.01 5.881.13 13.384Z"></path><path fill="#B3B3B3" d="m1436.76 261.089-7.97 6.831 1.38 1.617 7.97-6.832-1.38-1.616Z"></path><path fill="#B3B3B3" d="m1436.42 260.752-7.97 6.831 1.39 1.617 7.97-6.831-1.39-1.617Zm30.94 9.575c-1.16 4.049-3.4 6.639-6.05 8.184-3.46 2.012-7.62 2.288-11 1.689-3.4-.599-5.56-2.871-6.92-5.962-.88-1.976-1.44-4.284-1.79-6.72-.81-.43-1.59-.922-2.33-1.464.35 3.25 1 6.392 2.16 9.038 1.65 3.721 4.29 6.459 8.51 7.207 3.8.67 8.49.348 12.44-1.95 3.09-1.802 5.71-4.801 7.03-9.443.66-2.298.88-5.031.72-7.918a36.3 36.3 0 0 0-.78-5.748 19.432 19.432 0 0 1-1.6 3.204c.13.896.21 1.787.26 2.662.15 2.651-.05 5.144-.64 7.216l-.01.005Zm-26.24-8.24c-.41-.332-.8-.686-1.18-1.064-.36-.364-.7-.742-1.02-1.131-.2-10.677 1.77-17.535 4.8-21.266 1.7-2.104 3.74-3.25 5.95-3.552 2.17-.297 4.46.235 6.69 1.489 3.71 2.078 7.32 6.198 9.97 11.777.06.563.09 1.136.09 1.715 0 1.126-.12 2.231-.35 3.306-2.47-7.273-6.56-12.585-10.75-14.94-1.83-1.029-3.67-1.469-5.37-1.238-1.67.23-3.24 1.126-4.58 2.784-2.94 3.618-4.77 10.702-4.25 22.115v.005Zm13.11 3.122c-.69.149-1.39.256-2.11.313a56.82 56.82 0 0 1-.3-3.44 69.31 69.31 0 0 1-.1-4.606c.05-3.818.04-10.856 3.52-2.564.37.901.71 1.847 1 2.804.42 1.387.87 3.445 1.06 5.421.03.348.05.69.07 1.033-.69.313-1.39.579-2.11.789 0-.517-.03-1.065-.08-1.628-.17-1.822-.58-3.721-.97-4.995-.11-.353-.23-.712-.36-1.07v.241c-.02 1.499.02 3.009.1 4.473.04.727.13 1.955.29 3.24l-.01-.011Zm-3.2.359h-.12c-.68 0-1.37-.046-2.04-.133a61.76 61.76 0 0 1-.26-3.189c-.1-2.119-.15-4.407-.04-6.689.1-2.304.37-4.602.89-6.72.09-.389.28-1.05.51-1.741.71-2.042 1.78-2.354 3.37-.844.5.481.95.972 1.22 1.285 1.03 1.238 1.93 2.656 2.69 4.15a30.144 30.144 0 0 1 2.04 5.103c.48 1.536.92 3.526 1.14 5.523-.65.501-1.32.946-2.03 1.335l-.03-.358a28.406 28.406 0 0 0-1.11-5.881c-.49-1.586-1.12-3.214-1.91-4.749-.69-1.346-1.5-2.626-2.44-3.747-.21-.25-.56-.639-.96-1.023-.19.573-.35 1.126-.43 1.458-.48 1.976-.73 4.141-.83 6.321-.11 2.201-.07 4.422.04 6.485.06 1.126.15 2.293.29 3.434l.01-.02Zm6.76 3.045c.89-.328 1.74-.717 2.57-1.167-.06.287-.12.563-.2.829-.24.855-.56 1.633-1.04 2.313a5.09 5.09 0 0 1-2.09 1.72c-.78.358-1.67.563-2.56.645-1.94.179-3.34.276-4.19-1.622-.24-.538-.45-1.147-.56-1.526.39.026.79.036 1.19.036.34 0 .69-.01 1.03-.025.35 1.146.57 1.182 2.34 1.018.67-.061 1.32-.21 1.87-.46.54-.246.93-.589 1.23-1.009.16-.225.29-.476.42-.747l-.01-.005Zm3.4-.041c.17-.568.28-1.182.35-1.827.78-.497 1.53-1.049 2.24-1.658-.02 1.443-.18 2.835-.53 4.068-.8 2.78-2.37 4.694-4.43 5.835-2.19 1.213-4.9 1.51-7.77 1.003a4.45 4.45 0 0 1-1.01-.297 3.939 3.939 0 0 1-.96-.588c-1.4-1.177-2.26-3.419-2.8-5.809.75.179 1.52.317 2.29.409.44 1.638 1.05 3.061 1.89 3.767.13.113.27.2.43.266.16.072.34.118.54.154 2.4.425 4.63.204 6.38-.763 1.56-.865 2.76-2.359 3.39-4.555l-.01-.005Zm-13.42-3.317c-.75-.153-1.49-.363-2.2-.624a48.59 48.59 0 0 1-.16-2.216c-.13-2.564-.18-5.599.06-8.599.23-3.05.75-6.08 1.77-8.572.22-.548.73-1.643 1.37-2.478.51-.665 1.13-1.197 1.85-1.32.8-.143 1.72.148 2.58.624 1.11.609 2.2 1.536 2.75 2.083 1.48 1.449 2.74 3.199 3.79 5.073 1.19 2.124 2.12 4.427 2.79 6.627.33 1.086.64 2.319.88 3.614-.42.547-.87 1.07-1.37 1.566-.15.154-.31.302-.47.445a31.66 31.66 0 0 0-1.08-5.01c-.62-2.053-1.49-4.202-2.61-6.203-.96-1.715-2.1-3.302-3.42-4.597-.47-.46-1.37-1.238-2.27-1.735-.48-.266-.93-.44-1.2-.389-.11.021-.3.231-.52.512-.49.645-.9 1.536-1.08 1.986-.92 2.267-1.41 5.077-1.63 7.933-.22 2.912-.17 5.85-.05 8.332.04.789.11 1.822.23 2.954l-.01-.006Zm16.5 4.197c.47-1.607.62-3.449.57-5.343.02-.021.04-.036.05-.056.71-.702 1.35-1.449 1.93-2.237.04.42.08.839.11 1.259.14 2.436 0 4.857-.6 6.966-.53 1.853-1.34 3.516-2.49 4.918a11.322 11.322 0 0 1-4.15 3.184c-1.38.629-2.88 1.008-4.4 1.177-1.62.174-3.25.107-4.79-.164-3.65-.645-5.67-3.572-6.81-7.037-.43-1.3-.73-2.677-.95-4.028.76.343 1.53.634 2.33.88.18.84.39 1.679.65 2.477.91 2.785 2.46 5.129 5.15 5.605 1.35.24 2.79.296 4.2.148 1.31-.143 2.59-.466 3.74-.993a9.267 9.267 0 0 0 3.39-2.595c.94-1.162 1.62-2.569 2.08-4.156l-.01-.005Zm-19.82-5.287c-.77-.353-1.51-.767-2.22-1.243 0-.118-.01-.236-.02-.348-.14-2.841-.18-6.096.08-9.305.27-3.26.86-6.495 1.98-9.233.46-1.131 1.1-2.395 1.98-3.45.94-1.136 2.13-2.027 3.64-2.298 1.37-.246 2.76.062 4.05.645 1.57.717 3.02 1.878 4.09 2.928 1.66 1.632 3.09 3.592 4.27 5.696 1.33 2.359 2.37 4.898 3.13 7.355l.09.332a15.62 15.62 0 0 1-1.43 2.984 30.37 30.37 0 0 0-.7-2.697c-.71-2.324-1.68-4.719-2.94-6.93-1.09-1.929-2.39-3.726-3.91-5.22-.93-.906-2.16-1.899-3.49-2.503-.93-.425-1.89-.65-2.79-.486-.94.163-1.72.773-2.37 1.55-.71.86-1.25 1.925-1.64 2.892-1.02 2.518-1.57 5.538-1.83 8.609-.26 3.127-.22 6.28-.08 9.023.03.522.06 1.095.1 1.699h.01Z"></path><path fill="#b3b3b3ff" d="M1467.03 269.99c-1.16 4.048-3.4 6.638-6.06 8.184-3.45 2.011-7.61 2.287-10.99 1.689-3.4-.599-5.56-2.872-6.92-5.963-.88-1.976-1.44-4.284-1.79-6.72-.81-.43-1.59-.921-2.33-1.464.34 3.25.99 6.393 2.16 9.039 1.64 3.721 4.29 6.459 8.51 7.206 3.79.67 8.49.348 12.43-1.95 3.1-1.802 5.72-4.801 7.04-9.443.66-2.298.88-5.031.72-7.918-.1-1.873-.37-3.818-.78-5.747-.44 1.11-.97 2.185-1.6 3.204.13.895.21 1.786.26 2.661.15 2.651-.05 5.144-.65 7.217v.005Zm-26.24-8.24c-.41-.333-.8-.686-1.18-1.065-.36-.363-.71-.742-1.02-1.131-.2-10.676 1.77-17.535 4.79-21.266 1.71-2.103 3.75-3.25 5.96-3.552 2.17-.297 4.45.236 6.69 1.49 3.71 2.078 7.32 6.198 9.97 11.776.06.563.09 1.137.09 1.715 0 1.126-.12 2.231-.35 3.306-2.47-7.273-6.56-12.585-10.75-14.94-1.84-1.028-3.67-1.468-5.37-1.238-1.67.23-3.24 1.126-4.58 2.784-2.94 3.619-4.77 10.702-4.25 22.115v.006Zm13.11 3.122c-.69.148-1.4.255-2.11.312a49.635 49.635 0 0 1-.3-3.44 69.295 69.295 0 0 1-.1-4.606c.05-3.818.04-10.855 3.51-2.564.38.901.72 1.848 1.01 2.805.42 1.387.87 3.444 1.06 5.42.03.348.05.691.07 1.034-.69.312-1.39.578-2.12.788 0-.517-.02-1.065-.07-1.628a27.694 27.694 0 0 0-.97-4.995 24.93 24.93 0 0 0-.36-1.07v.241c-.02 1.499.02 3.009.1 4.473.04.727.12 1.955.29 3.24l-.01-.01Zm-3.2.358h-.12c-.69 0-1.37-.046-2.04-.133-.13-1.085-.2-2.16-.26-3.189a70.63 70.63 0 0 1-.05-6.689c.11-2.303.38-4.601.9-6.72.09-.389.28-1.049.51-1.74.71-2.042 1.77-2.355 3.37-.845.5.481.95.973 1.21 1.285 1.04 1.238 1.94 2.656 2.7 4.151a30.99 30.99 0 0 1 2.04 5.102c.47 1.536.91 3.527 1.13 5.523-.64.501-1.32.947-2.02 1.336l-.03-.359a28.396 28.396 0 0 0-1.11-5.88c-.49-1.587-1.12-3.215-1.91-4.75-.69-1.346-1.5-2.626-2.44-3.746-.21-.251-.56-.64-.96-1.024-.2.573-.35 1.126-.43 1.459-.48 1.975-.73 4.14-.84 6.32-.1 2.201-.06 4.422.05 6.485.06 1.126.14 2.293.29 3.429l.01-.015Zm6.76 3.045c.88-.327 1.74-.716 2.57-1.167-.06.287-.12.563-.2.829-.24.855-.56 1.633-1.04 2.314a5.095 5.095 0 0 1-2.09 1.719c-.78.359-1.67.563-2.56.645-1.94.179-3.35.277-4.19-1.622a13.06 13.06 0 0 1-.56-1.525c.39.025.79.035 1.19.035.34 0 .68-.01 1.03-.025.35 1.146.57 1.182 2.34 1.018.67-.061 1.32-.209 1.87-.46.54-.246.93-.589 1.23-1.009.16-.225.29-.475.41-.747v-.005Zm3.4-.041c.17-.568.28-1.182.35-1.827.78-.496 1.52-1.049 2.24-1.658-.02 1.443-.18 2.835-.54 4.069-.79 2.779-2.37 4.693-4.42 5.834-2.19 1.213-4.9 1.51-7.77 1.003a4.583 4.583 0 0 1-1.02-.296 3.92 3.92 0 0 1-.95-.589c-1.4-1.177-2.27-3.419-2.8-5.809.75.179 1.52.317 2.29.409.44 1.638 1.04 3.061 1.88 3.767.14.113.28.2.43.266.17.072.35.118.55.154 2.4.425 4.62.205 6.37-.763 1.56-.865 2.77-2.359 3.4-4.555l-.01-.005Zm-13.42-3.316c-.75-.154-1.49-.364-2.2-.625a48.59 48.59 0 0 1-.16-2.216c-.13-2.564-.18-5.599.05-8.598.24-3.051.76-6.081 1.78-8.573.22-.548.73-1.643 1.37-2.477.51-.666 1.13-1.198 1.84-1.321.81-.143 1.72.149 2.59.625 1.11.609 2.19 1.535 2.75 2.083 1.48 1.448 2.73 3.199 3.78 5.072 1.2 2.124 2.12 4.427 2.8 6.628.33 1.085.64 2.318.88 3.613-.42.548-.88 1.07-1.37 1.566-.16.154-.31.302-.47.445a31.685 31.685 0 0 0-1.08-5.01c-.62-2.052-1.49-4.202-2.61-6.203-.97-1.715-2.1-3.301-3.42-4.596-.47-.461-1.37-1.239-2.28-1.735-.48-.266-.92-.441-1.19-.389-.11.02-.3.23-.52.511-.49.645-.9 1.536-1.08 1.986-.93 2.268-1.41 5.077-1.63 7.933-.22 2.913-.18 5.85-.05 8.333.04.788.11 1.822.23 2.953l-.01-.005Zm16.5 4.197c.46-1.608.62-3.45.57-5.344.02-.02.04-.036.05-.056.7-.701 1.35-1.449 1.93-2.237.04.42.08.84.1 1.259.15 2.437 0 4.857-.6 6.966-.52 1.853-1.34 3.516-2.48 4.919a11.33 11.33 0 0 1-4.15 3.183c-1.38.63-2.88 1.008-4.4 1.177a17.24 17.24 0 0 1-4.8-.164c-3.64-.644-5.66-3.572-6.8-7.037-.43-1.3-.73-2.677-.95-4.028.76.343 1.53.635 2.33.88.17.84.38 1.679.64 2.478.92 2.784 2.47 5.128 5.15 5.604 1.36.24 2.8.297 4.21.148 1.31-.143 2.58-.465 3.74-.993a9.24 9.24 0 0 0 3.38-2.594c.95-1.162 1.63-2.57 2.09-4.156l-.01-.005Zm-19.83-5.288c-.77-.353-1.51-.767-2.22-1.243 0-.118-.01-.236-.02-.348-.14-2.841-.18-6.096.09-9.305.27-3.26.85-6.495 1.97-9.233.46-1.131 1.11-2.395 1.98-3.45.94-1.136 2.14-2.026 3.64-2.298 1.37-.245 2.76.062 4.05.645 1.58.717 3.02 1.879 4.1 2.928 1.66 1.632 3.08 3.593 4.27 5.696 1.33 2.36 2.37 4.898 3.12 7.355.04.107.07.22.1.333a15.64 15.64 0 0 1-1.43 2.983 39.59 39.59 0 0 0-.7-2.697c-.71-2.323-1.69-4.719-2.94-6.93-1.09-1.929-2.4-3.726-3.92-5.22-.92-.906-2.16-1.899-3.48-2.503-.93-.425-1.9-.65-2.8-.486-.93.164-1.72.773-2.36 1.551-.71.86-1.25 1.924-1.64 2.891-1.03 2.519-1.57 5.538-1.83 8.609-.26 3.127-.23 6.28-.08 9.023.02.522.06 1.096.1 1.699Z"></path><path fill="#6B7280" d="M770 265h16.8v6.3h-10.5v8.4h8.4v6.3h-8.4v8.4h10.5v6.3H770Zm42 0h-14.7c-4.2 0-6.3 2.1-6.3 6.3v23.1c0 4.2 2.1 6.3 6.3 6.3H812v-6.3h-14.7c-1.386 0-2.1-.714-2.1-2.1v-18.9c0-1.386.714-2.1 2.1-2.1H812Zm18.9 0h-8.4c-4.2 0-6.3 2.1-6.3 6.3v23.1c0 4.2 2.1 6.3 6.3 6.3h8.4c4.2 0 6.3-2.1 6.3-6.3v-23.1c0-4.2-2.1-6.3-6.3-6.3Zm0 6.3v23.1h-8.4v-23.1Zm31.5-6.3h-14.7c-4.2 0-6.3 2.1-6.3 6.3v8.4c0 4.2 2.1 6.3 6.3 6.3h8.4v8.4h-14.7v6.3h14.7c4.2 0 6.3-2.1 6.3-6.3V286c0-4.2-2.1-6.3-6.3-6.3h-8.4v-8.4h14.7Zm4.2 0h6.3v35.7h-6.3Zm31.5 0h-14.7c-4.2 0-6.3 2.1-6.3 6.3v8.4c0 4.2 2.1 6.3 6.3 6.3h8.4v8.4h-14.7v6.3h14.7c4.2 0 6.3-2.1 6.3-6.3V286c0-4.2-2.1-6.3-6.3-6.3h-8.4v-8.4h14.7Zm4.2 0h25.2v6.3h-9.45v29.4h-6.3v-29.4h-9.45Zm29.4 0h16.8v6.3H938v8.4h8.4v6.3H938v8.4h10.5v6.3h-16.8Zm21 35.7V265h8.4l8.4 21 8.4-21h8.4v35.7H980v-25.2l-8.4 21h-4.2l-8.4-21v25.2Zm50.4-35.7h-6.3l-10.5 35.7h7.14l2.52-8.4h7.98l2.52 8.4h7.14l-10.5-35.7Zm-5.04 21 1.89-14.7 1.89 14.7Z"></path><path fill="#d5d4d6ff" stroke="#fff" stroke-linejoin="round" stroke-width=".16" d="M765 333.6V320h3.2l3.2 8 3.2-8h3.2v13.6h-2.4V324l-3.2 8h-1.6l-3.2-8v9.6Zm19.2-13.6h2.4v13.6h-2.4Zm8.8 13.6V320h3.2l4.8 9.6V320h2.4v13.6h-3.2l-4.8-9.6v9.6Zm16.8-13.6h2.4v13.6h-2.4Zm8.8 13.6h7.2c1.6 0 2.4-.8 2.4-2.4V328c0-1.6-.8-2.4-2.4-2.4h-4v-3.2h6.4V320H821c-1.6 0-2.4.8-2.4 2.4v3.2c0 1.6.8 2.4 2.4 2.4h4v3.2h-6.4Zm16-13.6h9.6v2.4h-3.6v11.2h-2.4v-11.2h-3.6Zm16 0h8v2.4H853v3.2h4v2.4h-4v3.2h5.6v2.4h-8Zm14.4 0h6.4c2.4 0 3.2.8 3.2 3.2v1.6c0 1.6-.8 2.4-3.2 2.4h-4v6.4H865Zm2.4 2.4v2.4h4c.8 0 .8-.8.8-1.6s0-.8-.8-.8Zm3.2 4.8h2.4l3.2 6.4H873l-2.4-6.4Zm12-7.2h2.4v13.6h-2.4Zm8.8 7.2c0-4 1.6-7.2 5.6-7.2 4 0 5.6 3.2 5.6 7.2s-1.6 6.4-5.6 6.4c-4 0-5.6-2.4-5.6-6.4Zm2.4 0c0 3.2.8 4 3.2 4 2.4 0 3.2-.8 3.2-4s-.8-4.8-3.2-4.8c-2.4 0-3.2 1.6-3.2 4.8Zm24.8-7.2h6.4c2.4 0 3.2.8 3.2 3.2v1.6c0 2.4-.8 3.2-3.2 3.2h-4v5.6h-2.4Zm2.4 2.4v3.2h4c.8 0 .8-.8.8-2.4 0-.8 0-.8-.8-.8Zm13.6-2.4h2.4v9.6c0 1.6.8 1.6 1.6 1.6s1.6 0 1.6-1.6V320h2.4v9.6c0 3.2-1.6 4-4 4s-4-.8-4-4Zm3.2-2.4 2.4-2.4h1.6l-2.4 2.4ZM949 320h6.4c1.6 0 2.4.8 2.4 2.4v3.2c0 .8-.8 1.2-1.6 1.2 1.6 0 2.4.4 2.4 2v2.4c0 1.6-1.6 2.4-3.2 2.4H949Zm2.4 2.4v3.2h4c.8 0 .8-.8.8-2.4 0-.8 0-.8-.8-.8Zm0 5.6v3.2h4c.8 0 .8-.8.8-1.6s0-1.6-.8-1.6Zm13.6-8h2.4v11.2h5.6v2.4h-8Zm14.4 0h2.4v13.6h-2.4Zm20 3.2c0-2.4-1.6-3.2-5.6-3.2-4 0-5.6 3.2-5.6 7.2s1.6 6.4 5.6 6.4c4 0 5.6-.8 5.6-3.2V328H997v2.4c0 .8-.8.8-3.2.8-2.4 0-3.2-.8-3.2-4s.8-4.8 3.2-4.8c2.4 0 3.2.8 3.2 2.4v1.6h2.4Zm6.4 4c0-4 1.6-7.2 5.6-7.2 4 0 5.6 3.2 5.6 7.2s-1.6 6.4-5.6 6.4c-4 0-5.6-2.4-5.6-6.4Zm2.4 0c0 3.2.8 4 3.2 4 2.4 0 3.2-.8 3.2-4s-.8-4.8-3.2-4.8c-2.4 0-3.2 1.6-3.2 4.8Z"></path>',33)];function az(e,t){return a.openBlock(),a.createElementBlock("svg",nz,[...rz])}const oz={render:az},Md="fge_auth_redirect_url";function p9(e){e&&e!=="/login"&&localStorage.setItem(Md,e)}function m9(){return localStorage.getItem(Md)}function g9(){localStorage.removeItem(Md)}function iz(){return localStorage.getItem(Md)!==null}const sz={class:"fge-login-container fge-auth-container"},lz={class:"left"},cz={class:"right auth-relative-container"},uz={class:"right-container"},dz={class:"fge-login"},fz={class:"right-container-footer"},v9=a.defineComponent({__name:"PrincipalLoginComp",emits:["onLogin","onLoginError"],setup(e,{emit:t}){const n=et(),r=qs(),o=t,i=()=>{const s=m9();s?(g9(),window.location.href=s):n.defaultRedirectPath&&n.defaultRedirectPath!=="/"?window.location.href=n.defaultRedirectPath:o("onLogin")};return a.onMounted(()=>{n.currentPage="login",My("password-modified"),n.initializeTokensFromStorage(),jy();const l=new URLSearchParams(window.location.search).get("redirect");l&&(p9(l),window.history.replaceState({},"",window.location.pathname))}),(s,l)=>(a.openBlock(),a.createElementBlock("div",sz,[a.createElementVNode("div",lz,[a.createVNode(a.unref(oz))]),a.createElementVNode("div",cz,[a.unref(r).isLoading?(a.openBlock(),a.createBlock(Dd,{key:0})):a.createCommentVNode("",!0),a.createElementVNode("div",uz,[a.createElementVNode("div",dz,[a.unref(n).currentPage==="registrar"?(a.openBlock(),a.createBlock(nP,{key:0})):a.createCommentVNode("",!0),a.unref(n).currentPage==="recuperar-password"?(a.openBlock(),a.createBlock(JZ,{key:1})):a.createCommentVNode("",!0),a.unref(n).currentPage==="login"?(a.openBlock(),a.createBlock(nZ,{key:2,onOnLogin:i,onOnError:l[0]||(l[0]=c=>o("onLoginError"))})):a.createCommentVNode("",!0)])]),a.createElementVNode("div",fz,[a.createVNode(oP)])])]))}});function hz(){const e=a.ref(!1);return{displayModal:e,openDialog:()=>{e.value=!0},closeDialog:r=>{e.value=!1,typeof r=="function"&&r()}}}const pz="AUTH_PERFIL_PERSONA_EDITAR_FOTO",mz=e=>{var r;const n=((r=et().userState)==null?void 0:r.permisos)||[];if(n.length!==0)switch(typeof e){case"string":return n.includes(e);case"object":return e.every(o=>n.includes(o));default:return!1}return!1},gz={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 113 113"},vz=["stroke"],yz=["fill"],y9=a.defineComponent({__name:"DefaultUserIcon",setup(e){const t=a.computed(()=>window.getComputedStyle(document.documentElement).getPropertyValue("--fge-gray-icon")),n=a.computed(()=>window.getComputedStyle(document.documentElement).getPropertyValue("--fge-gray-color"));return(r,o)=>(a.openBlock(),a.createElementBlock("svg",gz,[a.createElementVNode("path",{stroke:t.value,"stroke-miterlimit":"10","stroke-width":"2",d:"M56.48 111.28a55 55 0 1 0 0-110 55 55 0 0 0 0 110Z"},null,8,vz),a.createElementVNode("path",{fill:n.value,d:"M85.32 53.21a29.5 29.5 0 0 0-29.47-29.47A29.5 29.5 0 0 0 26.4 53.21 29.47 29.47 0 0 0 45.87 80.9 38.04 38.04 0 0 0 22.88 100a54.78 54.78 0 0 0 33.38 11.3 55.18 55.18 0 0 0 33.82-11.65 37.61 37.61 0 0 0-23.6-18.98A29.47 29.47 0 0 0 85.3 53.21h.01Z"},null,8,yz)]))}}),bz={class:"header-container"},wz={class:"fge-auth-foto-container"},_z={class:"fge-image-container"},kz=["src"],Ez={key:1,class:"default-icon-size mr-2"},xz={key:0,class:"img-absolute-container"},Cz={class:"fge-text-gray fge-perfil-nombre"},Sz={class:"fge-text-gray fge-perfil-data"},Tz={class:"fge-text-gray fge-perfil-data"},Az={key:0,class:"text-left"},Oz=[a.createElementVNode("span",null,[a.createElementVNode("i",{class:"pi pi-lock",style:{"margin-right":"5px"}}),a.createTextVNode(" Cambiar contraseña ")],-1)],Bz=a.defineComponent({__name:"FgePerfilHeader",props:{cambiarPassword:{type:null,required:!1},changeImage:{type:Function,required:!1}},setup(e){const t=et(),n=a.ref(!0),r=()=>{n.value=!1};return(o,i)=>{var s,l,c,u;return a.openBlock(),a.createElementBlock("div",bz,[a.createElementVNode("div",null,[a.createElementVNode("div",wz,[a.createElementVNode("div",_z,[n.value?(a.openBlock(),a.createElementBlock("img",{key:0,src:(s=a.unref(t).userState.user)==null?void 0:s.fotoUrl,class:"fge-auth-profile-img",onError:r},null,40,kz)):(a.openBlock(),a.createElementBlock("div",Ez,[a.createVNode(y9)]))]),o.$slots.floatButton?(a.openBlock(),a.createElementBlock("div",xz,[a.renderSlot(o.$slots,"floatButton")])):a.createCommentVNode("",!0)])]),a.createElementVNode("div",null,[a.createElementVNode("p",Cz,a.toDisplayString((l=a.unref(t).userState.user)==null?void 0:l.nombreCompleto),1),a.createElementVNode("p",Sz,"CI. "+a.toDisplayString((c=a.unref(t).userState.user)==null?void 0:c.ci),1),a.createElementVNode("p",Tz,a.toDisplayString(((u=a.unref(t).userState.user)==null?void 0:u.sexo)==="M"?"Masculino":"Femenino"),1),e.cambiarPassword?(a.openBlock(),a.createElementBlock("div",Az,[a.createElementVNode("button",{onClick:i[0]||(i[0]=()=>{var d;return(d=e.cambiarPassword)==null?void 0:d.call(e)}),class:"fge-green-button change-psw-btn",label:"Cambiar contraseña"},Oz)])):a.createCommentVNode("",!0)])])}}});async function Iz(e){return new Promise((t,n)=>{const r=new FileReader;r.readAsDataURL(e),r.onload=()=>t(r.result),r.onerror=o=>n(o)})}const b9=e=>e&&{whatsapp:1,telegram:2,email:3,sms:5}[e]||0,Vz=async e=>{var o;const t=et(),n=b9(e.medio),r={usuarioId:(o=t.userState.user)==null?void 0:o.id,medio:n};return t.usaAuthNvEnLogin?ke.post("/v1/usuario/perfil/verificar-medio/enviar",r).then(i=>i).catch(i=>{var s;if((s=i.response)!=null&&s.data)return i.response.data;throw i}):ke.post("/v1/perfil-persona/perfil/verificar-medio/enviar",r).then(i=>i).catch(i=>{var s;if((s=i.response)!=null&&s.data)return i.response.data;throw i})},Rz=async e=>{var o;const t=et(),n=b9(e.medio),r={usuarioId:(o=t.userState.user)==null?void 0:o.id,medio:n,codigo:e.code_confirmacion};return t.usaAuthNvEnLogin?ke.post("/v1/usuario/perfil/verificar-medio/confirmar",r).then(i=>i).catch(i=>{var s;throw(s=i.response)!=null&&s.data?i.response.data:i}):ke.post("/v1/perfil-persona/perfil/verificar-medio/confirmar",r).then(i=>i).catch(i=>{var s;throw(s=i.response)!=null&&s.data?i.response.data:i})},Dz=async e=>et().usaAuthNvEnLogin?ke.patch("/v1/usuario/perfil/cambiar-password",e).then(n=>n).catch(n=>{var r;throw(r=n.response)!=null&&r.data?n.response.data:n}):ke.patch("/v1/perfil-persona/perfil/cambiar-password",e).then(n=>n).catch(n=>{var r;throw(r=n.response)!=null&&r.data?n.response.data:n}),Mz=async e=>ke.post("/v1/perfil-persona/update/profile/img",e).then(t=>t).catch(t=>{var n;throw(n=t.response)!=null&&n.data?t.response.data:t}),Pz=async e=>{var r;const t=et();if(!t.usaAuthNvEnLogin)return ke.post("/v1/perfil-persona/actualizar/datos",e).then(o=>o).catch(o=>{var i;throw(i=o.response)!=null&&i.data?o.response.data:o});const n={usuarioId:(r=t.userState.user)==null?void 0:r.id,...e};return ke.patch("/v1/usuario/perfil/actualizar-datos",n).then(o=>o).catch(o=>{var i;throw(i=o.response)!=null&&i.data?o.response.data:o})},Lz=async e=>ke.post("/v1/perfil-persona/2fa/verificacion",{checked:e}).then(t=>t).catch(t=>{var n;throw(n=t.response)!=null&&n.data?t.response.data:t}),Fz=async e=>ke.patch(`/v1/perfil-persona/2fa/asignar/medio/${e}`).then(t=>t).catch(t=>{var n;throw(n=t.response)!=null&&n.data?t.response.data:t}),Fo=a.ref([]),Th=a.ref(),Ya=a.ref(0);function Ah(){var V;const e=[oe.object().shape({celular:oe.string().required().matches(P1).length(8).label("Celular"),email:oe.string().required().email().label("E-mail"),direccion:oe.string().required().label("Dirección"),medio:oe.string().optional().label("Medio de verificación")}),oe.object().shape({codigo:oe.string().required().matches(fo).label("Código")}),oe.object().shape({oldPassword:oe.string().required().label("Contraseña actual"),newPassword:oe.string().required().matches(zc).min(8).max(15).label("Nueva contraseña"),repetirPassword:oe.string().required().oneOf([oe.ref("newPassword")],"Las contraseñas deben ser iguales").label("Confirmación de la contraseña")})],t=a.ref(!1),n=a.ref("normal"),r=et(),o=a.ref(!1),i=a.ref(),{refCounter:s,currentContacto:l,currentMedio:c,openTelegram:u,enviarMensaje:d,openTelegramPage:f,tiempoRestanteWhatsapp:h,tiempoRestanteTelegram:p,tiempoRestanteEmail:g,tiempoRestanteSms:w,message2Fa:y,message2FaContexto:k,url2FaContexto:v}=iu("profile"),m=a.ref(),b=a.ref(!1),_=a.ref(!1),E=a.ref(!1),x=a.ref(!1),O=a.ref(!1),B=a.ref(null),S=a.ref(null),A=a.ref(null),D=a.ref([{name:"step1"},{name:"step2"},{name:"step3"},{name:"step4"},{name:"step5"}]),q=a.computed(()=>e[Ya.value]),F=a.reactive({verificadoEmail:!1,verificadoTelegram:!1,verificadoWhatsapp:!1,verificadoSms:!1}),{values:X,handleSubmit:fe,errors:ae,setErrors:Z,setFieldValue:z,validateField:ne,setValues:Y}=je.useForm({validationSchema:q,keepValuesOnUnmount:!0});a.onMounted(()=>{var T,U,j,R,G;Y({celular:((U=(T=r.userState.user)==null?void 0:T.celular)==null?void 0:U.toString())||void 0,email:((j=r.userState.user)==null?void 0:j.email)||void 0,direccion:((R=r.userState.user)==null?void 0:R.direccion)||void 0,medio:((G=r.userState.user)==null?void 0:G.notificacionDefault)||void 0}),r.userState.user&&(F.verificadoWhatsapp=r.userState.user.whatsapp===1,F.verificadoTelegram=r.userState.user.telegram===1,F.verificadoEmail=r.userState.user.emailValidado===1,F.verificadoSms=r.userState.user.sms===1)}),a.watch(()=>X.celular,T=>{var U,j;if(T!==((j=(U=r.userState.user)==null?void 0:U.celular)==null?void 0:j.toString())&&(F.verificadoTelegram||F.verificadoWhatsapp||F.verificadoSms)){F.verificadoTelegram=!1,F.verificadoWhatsapp=!1,F.verificadoSms=!1;const R=X.medio;(R==="whatsapp"||R==="telegram"||R==="sms")&&z("medio",void 0)}}),a.watch(()=>X.email,T=>{var U;T!==((U=r.userState.user)==null?void 0:U.email)&&F.verificadoEmail&&(F.verificadoEmail=!1,X.medio==="email"&&z("medio",void 0))}),a.watch(()=>r.userState.user,T=>{T?(F.verificadoWhatsapp=T.whatsapp===1,F.verificadoTelegram=T.telegram===1,F.verificadoEmail=T.emailValidado===1,F.verificadoSms=T.sms===1):(F.verificadoWhatsapp=!1,F.verificadoTelegram=!1,F.verificadoEmail=!1,F.verificadoSms=!1)},{immediate:!0,deep:!0});const de=fe(async T=>{var U,j,R,G;b.value=!0;try{const W=(j=(U=r.userState.user)==null?void 0:U.celular)==null?void 0:j.toString(),Se=(R=r.userState.user)==null?void 0:R.email,$e=(G=r.userState.user)==null?void 0:G.notificacionDefault,Re=T.celular&&T.celular!==W,rt=T.email&&T.email!==Se;let Le=T.medio||void 0;Re&&($e==="whatsapp"||$e==="telegram"||$e==="sms")&&(Le=void 0),rt&&$e==="email"&&(Le=void 0);const xt={notificacionDefault:Le,direccion:T.direccion||void 0};Re&&(xt.celular=T.celular),rt&&(xt.email=T.email);const xn=await Pz(xt),yt={notificacionDefault:Le,direccion:T.direccion};T.celular&&(yt.celular=T.celular),T.email&&(yt.email=T.email),Re&&(yt.whatsapp=!1,yt.telegram=!1,yt.sms=!1),rt&&(yt.emailValidado=!1),r.updateUserData(yt),K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${xn.message}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:jn,closeOnClick:!1,dangerouslyHTMLString:!0})}catch(W){wr(W)||K.error(`<p class="toast-title">Error</p><p class="toast-description">${W.message}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0})}finally{b.value=!1}}),he=async()=>{b.value=!0;try{const{valid:T}=await ne("codigo");if(!T){b.value=!1;return}const U=await Rz({code_confirmacion:X.codigo,medio:c.value});if(!U){b.value=!1;return}c.value==="whatsapp"&&(_.value=!1),c.value==="telegram"&&(E.value=!1),c.value==="email"&&(x.value=!1),c.value==="sms"&&(O.value=!1),K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${U.message}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:jn,closeOnClick:!1,dangerouslyHTMLString:!0}),c.value==="email"?F.verificadoEmail=!0:c.value==="whatsapp"?F.verificadoWhatsapp=!0:c.value==="telegram"?F.verificadoTelegram=!0:c.value==="sms"&&(F.verificadoSms=!0);const j=c.value;r.updateUserData({email:X.email||void 0,celular:X.celular,whatsapp:F.verificadoWhatsapp?1:void 0,telegram:F.verificadoTelegram?1:void 0,sms:F.verificadoSms?1:void 0,emailValidado:F.verificadoEmail?1:void 0,notificacionDefault:j}),z("medio",j),c.value==="whatsapp"&&(_.value=!1),c.value==="telegram"&&(E.value=!1),c.value==="email"&&(x.value=!1),c.value==="sms"&&(O.value=!1),ct(),z("codigo",void 0),c.value=void 0,l.value=null}catch(T){cn({error:T,setErrors:Z})}finally{b.value=!1}},_e=async({medio:T,contacto:U})=>{var $e,Re,rt,Le,xt,xn,yt,ca,H,pe,ue,re,Oe;const j=T==="email";if(j){const{valid:I}=await ne("email");if(!I||F.verificadoEmail)return}const R=T==="telegram",G=T==="whatsapp",W=T==="sms";if(R||G||W){if(R&&F.verificadoTelegram||G&&F.verificadoWhatsapp||W&&F.verificadoSms)return;const{valid:I}=await ne("celular");if(!I)return}const Se=G?h.value:R?p.value:W?w.value:g.value;if(Se>0&&!R){c.value=T,l.value=U,B.value&&(k.value=B.value),a.nextTick(()=>{s.value&&s.value.reInit(Se)}),te();return}G&&(_.value=!0),R&&(E.value=!0),j&&(x.value=!0),W&&(O.value=!0);try{c.value=T,l.value=U;const I=await st(R);if(I!=null&&I.error){c.value=void 0,l.value=null,G&&(_.value=!1),R&&(E.value=!1),j&&(x.value=!1),W&&(O.value=!1);return}if(((Re=($e=I==null?void 0:I.response)==null?void 0:$e.data)==null?void 0:Re.medioActualizado)===!0){T==="whatsapp"?F.verificadoWhatsapp=!0:T==="telegram"?F.verificadoTelegram=!0:T==="sms"?F.verificadoSms=!0:T==="email"&&(F.verificadoEmail=!0);const ze=T;r.updateUserData({whatsapp:T==="whatsapp"?1:(rt=r.userState.user)==null?void 0:rt.whatsapp,telegram:T==="telegram"?1:(Le=r.userState.user)==null?void 0:Le.telegram,sms:T==="sms"?1:(xt=r.userState.user)==null?void 0:xt.sms,emailValidado:T==="email"?1:(xn=r.userState.user)==null?void 0:xn.emailValidado,notificacionDefault:ze}),z("medio",ze),K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${I.message||"Medio verificado exitosamente"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:jn,closeOnClick:!1,dangerouslyHTMLString:!0}),G&&(_.value=!1),R&&(E.value=!1),j&&(x.value=!1),W&&(O.value=!1);return}if((yt=I==null?void 0:I.response)!=null&&yt.telegramValid){F.verificadoTelegram=!0,r.updateUserData({telegram:!0,notificacionDefault:"telegram"}),z("medio","telegram"),E.value=!1;return}B.value=((H=(ca=I==null?void 0:I.response)==null?void 0:ca.data)==null?void 0:H.mensajeServicio)||null,S.value=((ue=(pe=I==null?void 0:I.response)==null?void 0:pe.data)==null?void 0:ue.tiempoVigencia)||null,A.value=((Oe=(re=I==null?void 0:I.response)==null?void 0:re.data)==null?void 0:Oe.url)||null,B.value&&(k.value=B.value),(T==="email"||T==="whatsapp"||T==="sms")&&S.value&&a.nextTick(()=>{var ze;(ze=s.value)==null||ze.reInit(S.value)}),T==="telegram"&&A.value&&(v.value=A.value),te()}catch(I){wr(I)||K.error(`<p class="toast-title">Error</p><p class="toast-description">${I.message}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0})}},st=async T=>{var j,R,G,W,Se,$e;const U=await d({callbackApi:Vz,abrirTelegramDialog:T,counterTime:S.value||60,tiempoVigencia:S.value||void 0});return U&&!U.error&&(B.value=((R=(j=U==null?void 0:U.response)==null?void 0:j.data)==null?void 0:R.mensajeServicio)||null,S.value=((W=(G=U==null?void 0:U.response)==null?void 0:G.data)==null?void 0:W.tiempoVigencia)||null,A.value=(($e=(Se=U==null?void 0:U.response)==null?void 0:Se.data)==null?void 0:$e.url)||null,B.value&&(k.value=B.value),!T&&S.value&&s.value&&a.nextTick(()=>{var Re;(Re=s.value)==null||Re.reInit(S.value)}),T&&A.value&&(v.value=A.value)),U},se=fe(async T=>{var U;b.value=!0;try{const j={usuarioId:(U=r.userState.user)==null?void 0:U.id,antiguoPassword:T.oldPassword,nuevoPassword:T.newPassword,confirmarNuevoPassword:T.repetirPassword},R=await Dz(j);K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${R.message}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:jn,closeOnClick:!1,dangerouslyHTMLString:!0}),Qd({name:"password-modified",value:JSON.stringify(!0),days:1}),ct()}catch(j){cn({error:j,setErrors:Z})}finally{b.value=!1}}),ge=()=>{var T;(T=m.value)==null||T.click()},Rt=async T=>{var R;i.value=(R=T==null?void 0:T.target)==null?void 0:R.files[0];const U="."+i.value.name.split(".").pop(),j=i.value.size/1024;if(!(U===".png"||U===".jpg"||U===".jpeg")){m.value.value=null,K.error('<p class="toast-title">Error</p><p class="toast-description">El archivo debe ser de extensión jpg, png o jpeg</p>',{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0});return}if(j>2048){m.value.value=null,K.error('<p class="toast-title">Error</p><p class="toast-description">El archivo no puede ser mayor a 2MB</p>',{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0});return}o.value=!0,m.value.value=null},an=async()=>{var T;try{b.value=!0;const U=i.value,j="."+U.name.split(".").pop(),G=(await Iz(U)).split(",")[1],Se=await Mz({extension:j,base64:G});r.updateUserData({fotoRuta:(T=Se.response)==null?void 0:T.foto})}catch(U){cn({error:U.response,setErrors:Z})}finally{b.value=!1,i.value=void 0}},De=async T=>{var j,R;let U=!1;try{b.value=!0;const G=await Lz(T);Fo.value=((j=G==null?void 0:G.response)==null?void 0:j.data)??[]}catch(G){wr(G)||K.error(`<p class="toast-title">Error</p><p class="toast-description">${G.message}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0}),T=!T,U=!0}finally{return b.value=!1,Fo.value&&Fo.value.length===1&&T?(Th.value=Fo.value[0].medio.toString(),Ze(Fo.value[0].id),r.disable2FAStore(),U=!1,ct()):Th.value=(R=(Fo.value??[]).find(G=>G.default))==null?void 0:R.medio.toString(),{checked:T,returnBack:U}}},Ze=async T=>{try{b.value=!0;const U=await Fz(T);K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${U.message}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:jn,closeOnClick:!1,dangerouslyHTMLString:!0})}catch(U){wr(U)||K.error(`<p class="toast-title">Error</p><p class="toast-description">${U.message}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0})}finally{b.value=!1,ct()}},ct=()=>{Ya.value=0,_.value=!1,E.value=!1,x.value=!1,O.value=!1,B.value=null,S.value=null,A.value=null,k.value=null,v.value=null},te=()=>{if(Ya.value=1,c.value&&S.value){const T=c.value==="whatsapp"?h.value:c.value==="telegram"?p.value:g.value;T>0&&s.value?a.nextTick(()=>{var U;(U=s.value)==null||U.reInit(T)}):S.value&&s.value&&a.nextTick(()=>{var U;(U=s.value)==null||U.reInit(S.value)})}},ve=()=>{Ya.value=3},N=T=>{t.value=!!T,n.value="forzar",Ya.value=2},C=()=>Ya.value=4;return a.watch(Ya,(T,U)=>{U===2&&T!==U&&(t.value=!1,n.value="normal")}),{forzarCambio:t,user:(V=r==null?void 0:r.userState)==null?void 0:V.user,userState:r==null?void 0:r.userState,mode:n,values:X,mediosVerificados:F,currentContacto:l,currentStep:Ya,steps:D,errors:ae,refCounter:s,isLoading:b,openUpdateImageDialog:o,inputImageRef:m,openTelegram:u,openTelegramPage:f,onOpenInputFile:ge,onActualizarDatos:de,onEnviarMensaje:st,onEnviarCodigoAlBackend:he,onEnviarCodigoAlUsuario:_e,cambiarPass:N,goToActiveMediosStep:C,goProfileStep:ct,goEnable2FA:ve,mediosHabilitados2FA:Fo,mediosHabilitadoDefault:Th,onAssignMedio2FaOption:Ze,onVerifyMediosHabilitados2Fa:De,onCambiarPasswordPerfil:se,onCambiarImagenPerfil:Rt,onAcceptImageUpdateClick:an,tiempoRestanteWhatsapp:h,tiempoRestanteTelegram:p,tiempoRestanteEmail:g,tiempoRestanteSms:w,isLoadingWhatsapp:_,isLoadingTelegram:E,isLoadingEmail:x,isLoadingSms:O,mensajeServicio:B,tiempoVigencia:S,urlTelegram:A,message2Fa:y,message2FaContexto:k,url2FaContexto:v,currentMedio:c}}const Uz={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Zz=[a.createElementVNode("path",{d:"M149.1 64.8 138.7 96H64c-35.3 0-64 28.7-64 64v256c0 35.3 28.7 64 64 64h384c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64h-74.7l-10.4-31.2C356.4 45.2 338.1 32 317.4 32H194.6c-20.7 0-39 13.2-45.5 32.8zM256 192a96 96 0 1 1 0 192 96 96 0 1 1 0-192z"},null,-1)];function zz(e,t){return a.openBlock(),a.createElementBlock("svg",Uz,[...Zz])}const jz={render:zz},Hz=a.createElementVNode("button",{class:"auth-hide-btn"},null,-1),qz={class:"auth-title-container"},Wz=a.createElementVNode("p",null,"Actualización de imagen",-1),Gz={class:"dialog-body"},Kz={class:"icon"},Yz=a.createElementVNode("p",{class:"body-title"},"¿Está de acuerdo en actualizar su imagen?",-1),Jz={class:"dialog-footer"},Xz=a.defineComponent({__name:"UpdateImageDialog",props:{open:{type:Boolean,default:!1},openClick:{type:Function,required:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=a.computed({get:()=>n.open,set:i=>o("update:open",i)}),o=t;return(i,s)=>(a.openBlock(),a.createBlock(a.unref(As),{open:r.value,"onUpdate:open":s[2]||(s[2]=l=>r.value=l)},{default:a.withCtx(()=>[a.createVNode(a.unref(Sc),{"as-child":""},{default:a.withCtx(()=>[Hz]),_:1}),a.createVNode(a.unref(Os),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Is),{class:"modal-overlay"}),a.createVNode(a.unref(Bs),{class:"auth-modal-container",onInteractOutside:s[1]||(s[1]=l=>l.preventDefault()),"aria-describedby":"dialog-description"},{default:a.withCtx(()=>[a.createVNode(a.unref(Vs),{class:"auth-dialog-title"},{default:a.withCtx(()=>[a.createElementVNode("div",qz,[Wz,a.createVNode(a.unref(co),{class:"close-icon","aria-label":"Close"},{default:a.withCtx(()=>[a.createVNode(a.unref(dd))]),_:1})])]),_:1}),a.createElementVNode("div",Gz,[a.createElementVNode("div",Kz,[a.createVNode(xl,{mode:"gray"})]),Yz]),a.createElementVNode("div",Jz,[a.createVNode(a.unref(co),{class:"fge-gray-button w-full","aria-label":"Close"},{default:a.withCtx(()=>[a.createTextVNode(" Cancelar ")]),_:1}),a.createElementVNode("button",{class:"w-full fge-auth-primary-button",onClick:s[0]||(s[0]=a.withModifiers(()=>e.openClick(),["prevent"]))}," Aceptar ")])]),_:1})]),_:1})]),_:1},8,["open"]))}}),Qz=e=>(a.pushScopeId("data-v-f658d6bd"),e=e(),a.popScopeId(),e),Nz={class:"switch-container"},$z=Qz(()=>a.createElementVNode("label",{class:"fge-text-gray",for:"airplane-mode"}," Activar doble factor de autenticación ",-1)),ej=Ut(a.defineComponent({__name:"Fge2FActivator",props:{showBtnProfile:{type:Boolean,default:!1}},emits:["success","error","goBack"],setup(e,{emit:t}){const{onVerifyMediosHabilitados2Fa:n,user:r,goProfileStep:o}=Ah(),i=a.ref(!!(r!=null&&r.dobleAutenticacion)),s=et(),l=t,c=u=>{n(u).then(d=>{typeof(d==null?void 0:d.checked)=="boolean"&&(s.updateUserData({dobleAutenticacion:d.checked?1:0}),i.value=d.checked,d.returnBack?l("goBack"):d.checked?l("success"):l("error"))})};return(u,d)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createElementVNode("div",Nz,[$z,a.createVNode(a.unref(fS),{id:"airplane-mode",checked:i.value,"onUpdate:checked":[d[0]||(d[0]=f=>i.value=f),c],class:"SwitchRoot"},{default:a.withCtx(()=>[a.createVNode(a.unref(hS),{class:"SwitchThumb"})]),_:1},8,["checked"])]),i.value&&e.showBtnProfile?(a.openBlock(),a.createElementBlock("button",{key:0,class:"fge-gray-button w-full mt-3",onClick:d[1]||(d[1]=f=>a.unref(o)())}," ir al perfil ")):a.createCommentVNode("",!0)],64))}}),[["__scopeId","data-v-f658d6bd"]]),tj=a.createElementVNode("div",{class:"msg-container mrgt-20"},[a.createElementVNode("span",{class:"fge-text-gray fge-lines"},"Medios verificados para 2FA:")],-1),nj={class:"auth-radiogroup"},rj=["for"],aj=a.createElementVNode("div",{class:"fge-horizontal-line"},null,-1),oj={class:"auth-btn-container margin-top"},ij=[a.createElementVNode("span",null,"Cancelar",-1)],sj=[a.createElementVNode("span",null," Activar 2FA ",-1)],lj={__name:"Fge2FConfirm",emits:["cancel","confirm","forzarCambio"],setup(e,{emit:t}){const{mediosHabilitados2FA:n,mediosHabilitadoDefault:r,onAssignMedio2FaOption:o}=Ah(),i=a.ref(r.value),s=t,l=a.computed(()=>n.value??[]),c=d=>d===1?"WhatsApp":d===2?"Telegram":d===3?"Email":d===4?"Móvil":d===5?"SMS":`${d} No definido`,u=d=>{const f=l.value.find(h=>h.medio===Number(d));f&&o(f.id)};return a.onMounted(async()=>{await a.nextTick(),i.value=String(r.value)}),(d,f)=>(a.openBlock(),a.createElementBlock("div",null,[tj,a.createElementVNode("div",nj,[a.createVNode(a.unref(je.Field),{modelValue:i.value,"onUpdate:modelValue":f[0]||(f[0]=h=>i.value=h),name:"medio"},{default:a.withCtx(({field:h})=>[a.createVNode(a.unref(Ic),a.mergeProps(h,{"default-value":i.value,"model-value":h.value,class:"auth-radio-group-container","aria-label":"View density"}),{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(l.value,p=>(a.openBlock(),a.createElementBlock("div",{key:p.medio,class:"auth-radio-group-item"},[a.createVNode(a.unref(ci),{id:p.id,value:`${p.medio}`},{default:a.withCtx(()=>[a.createVNode(a.unref(Vc))]),_:2},1032,["id","value"]),a.createElementVNode("label",{class:"fge-text-gray",for:p.id},a.toDisplayString(c(p.medio)),9,rj)]))),128))]),_:2},1040,["default-value","model-value"])]),_:1},8,["modelValue"])]),aj,a.createElementVNode("div",oj,[a.createElementVNode("button",{title:"Cancelar",onClick:f[1]||(f[1]=h=>s("cancel")),class:"fge-gray-button w-full"},ij),a.createElementVNode("button",{title:"Aceptar",onClick:f[2]||(f[2]=h=>u(i.value)),class:"w-full fge-auth-primary-button"},sj)])]))}},cj={class:"fge-profile-container"},uj={class:"fge-profile-header"},dj=a.createElementVNode("div",{class:"msg-container"},[a.createElementVNode("span",{class:"fge-text-gray fge-lines-container"},"Datos de contacto")],-1),fj={class:"auth-form-container"},hj={class:"auth-input-container"},pj=a.createElementVNode("label",{for:"celular",class:"fge-form-label"},"Celular:",-1),mj={class:"auth-relative-container"},gj={class:"auth-input-container"},vj=a.createElementVNode("label",{for:"email",class:"fge-form-label"},"E-mail:",-1),yj={class:"auth-relative-container"},bj={class:"auth-input-container"},wj=a.createElementVNode("label",{for:"direccion",class:"fge-form-label"},"Dirección:",-1),_j=a.createElementVNode("br",null,null,-1),kj=a.createElementVNode("div",{class:"msg-container"},[a.createElementVNode("span",{class:"fge-text-gray fge-lines-container"},"Medio de notificación")],-1),Ej={class:"auth-radiogroup"},xj=["disabled"],Cj={key:0,class:"pi pi-spin pi-spinner",style:{"font-size":"1.2rem",color:"var(--fge-color-gray)"}},Sj={key:0,class:"fge-counter-text"},Tj={key:1,class:"auth-radio-group-item"},Aj={class:"radio-wrapper"},Oj=a.createElementVNode("label",{class:"fge-text-gray",for:"r2"}," Telegram ",-1),Bj=["disabled"],Ij={key:0,class:"pi pi-spin pi-spinner",style:{"font-size":"1.2rem",color:"var(--fge-color-gray)"}},Vj={key:0,class:"fge-counter-text"},Rj={key:3,class:"auth-radio-group-item"},Dj={class:"radio-wrapper"},Mj=a.createElementVNode("label",{class:"fge-text-gray",for:"r4"}," SMS ",-1),Pj=["disabled"],Lj={key:0,class:"pi pi-spin pi-spinner",style:{"font-size":"1.2rem",color:"var(--fge-color-gray)"}},Fj={key:0,class:"fge-counter-text"},Uj={key:5,class:"auth-radio-group-item"},Zj={class:"radio-wrapper"},zj=a.createElementVNode("label",{class:"fge-text-gray",for:"r3"}," Email ",-1),jj=a.createElementVNode("div",{class:"fge-horizontal-line"},null,-1),Hj={class:"auth-btn-container margin-top"},qj=[a.createElementVNode("span",null,"Cerrar",-1)],Wj=[a.createElementVNode("span",null," Aceptar ",-1)],Gj={class:"fge-profile-step2"},Kj={class:"auth-form-container"},Yj={class:"auth-input-container"},Jj=a.createElementVNode("label",{for:"old_ps",class:"fge-form-label"},"Contraseña actual:",-1),Xj={class:"auth-input-container"},Qj=a.createElementVNode("label",{for:"new-ps",class:"fge-form-label"},"Contraseña nueva:",-1),Nj={class:"auth-input-container"},$j=a.createElementVNode("label",{for:"rep_password",class:"fge-form-label"},"Repetir contraseña:",-1),eH={class:"auth-btn-container margin-top"},tH=[a.createElementVNode("span",null,"Cancelar",-1)],nH=[a.createElementVNode("span",null," Actualizar ",-1)],rH={class:"auth-form-container fge-profile-step5"},aH={class:"auth-input-container"},oH=a.createElementVNode("label",{for:"celular",class:"fge-form-label"},"Celular:",-1),iH={class:"auth-relative-container"},sH={key:0,class:"fge-counter-text-inline"},lH={key:0,class:"fge-counter-text-inline"},cH={class:"auth-input-container"},uH=a.createElementVNode("label",{for:"email",class:"fge-form-label"},"E-mail:",-1),dH={class:"auth-relative-container"},fH={key:0,class:"fge-counter-text-inline"},hH=a.createElementVNode("br",null,null,-1),pH=a.createElementVNode("br",null,null,-1),mH=a.defineComponent({__name:"FgePerfil",props:{onCloseBtn:{type:Function,required:!1}},setup(e,{expose:t}){const{userState:n,forzarCambio:r,mode:o,values:i,mediosVerificados:s,currentContacto:l,currentStep:c,steps:u,errors:d,refCounter:f,isLoading:h,inputImageRef:p,openUpdateImageDialog:g,openTelegram:w,openTelegramPage:y,onCambiarPasswordPerfil:k,onActualizarDatos:v,onEnviarMensaje:m,onEnviarCodigoAlBackend:b,onEnviarCodigoAlUsuario:_,onCambiarImagenPerfil:E,onOpenInputFile:x,cambiarPass:O,goToActiveMediosStep:B,goProfileStep:S,goEnable2FA:A,onAcceptImageUpdateClick:D,tiempoRestanteWhatsapp:q,tiempoRestanteTelegram:F,tiempoRestanteEmail:X,tiempoRestanteSms:fe,isLoadingWhatsapp:ae,isLoadingTelegram:Z,isLoadingEmail:z,isLoadingSms:ne,message2Fa:Y,message2FaContexto:de,url2FaContexto:he,currentMedio:_e}=Ah();return t({cambiarPass:O,goToActiveMediosStep:B}),(st,se)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.unref(h)?(a.openBlock(),a.createBlock(Dd,{key:0})):a.createCommentVNode("",!0),a.createElementVNode("div",cj,[a.createElementVNode("div",uj,[a.createVNode(Bz,{"cambiar-password":a.unref(c)===0?a.unref(O):void 0,showCameraBtn:a.unref(c)===0},{floatButton:a.withCtx(()=>[a.unref(c)===0&&a.unref(mz)(a.unref(pz))?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.createElementVNode("button",{onClick:se[0]||(se[0]=(...ge)=>a.unref(x)&&a.unref(x)(...ge)),class:"fge-auth-camera-file-button"},[a.createVNode(a.unref(jz))]),a.createElementVNode("input",{accept:".png,.jpg,.jpeg",type:"file",ref_key:"inputImageRef",ref:p,class:"input-hidden",onChange:se[1]||(se[1]=(...ge)=>a.unref(E)&&a.unref(E)(...ge))},null,544)],64)):a.createCommentVNode("",!0)]),_:1},8,["cambiar-password","showCameraBtn"])]),a.createVNode(J0,{currentStep:a.unref(c),steps:a.unref(u),showHeader:!1},{step1:a.withCtx(()=>[dj,a.createElementVNode("div",fj,[a.createElementVNode("div",hj,[pj,a.createElementVNode("div",mj,[a.createVNode(a.unref(je.Field),{name:"celular",id:"celular",class:a.normalizeClass(["fge-auth-input with-btns",{"fge-auth-input-invalid":a.unref(d).celular}]),type:"text"},null,8,["class"])]),a.createVNode(pt,{error:a.unref(d).celular},null,8,["error"])]),a.createElementVNode("div",gj,[vj,a.createElementVNode("div",yj,[a.createVNode(a.unref(je.Field),{name:"email",id:"email",class:a.normalizeClass(["fge-auth-input with-btn",{"fge-auth-input-invalid":a.unref(d).email}]),type:"text"},null,8,["class"])]),a.createVNode(pt,{error:a.unref(d).email},null,8,["error"])]),a.createElementVNode("div",bj,[wj,a.createVNode(a.unref(je.Field),{name:"direccion",id:"fge_dr",class:a.normalizeClass(["fge-auth-input",{"fge-auth-input-invalid":a.unref(d).direccion}]),type:"text"},null,8,["class"]),a.createVNode(pt,{error:a.unref(d).direccion},null,8,["error"])]),_j,kj,a.createElementVNode("div",Ej,[a.createVNode(a.unref(je.Field),{name:"medio"},{default:a.withCtx(({field:ge})=>[a.createVNode(a.unref(Ic),a.mergeProps(ge,{"model-value":ge.value,class:"auth-radio-group-container"}),{default:a.withCtx(()=>[a.unref(s).verificadoTelegram?(a.openBlock(),a.createElementBlock("div",Tj,[a.createElementVNode("div",Aj,[a.createVNode(a.unref(ci),{class:"radio",id:"r2",value:"telegram",disabled:!a.unref(s).verificadoTelegram},{default:a.withCtx(()=>[a.createVNode(a.unref(Vc))]),_:1},8,["disabled"])]),Oj])):(a.openBlock(),a.createBlock(a.unref(Ms),{key:0,"delay-duration":0},{default:a.withCtx(()=>[a.createVNode(a.unref(Ps),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Ls),{"as-child":""},{default:a.withCtx(()=>[a.createElementVNode("div",{onClick:se[2]||(se[2]=Rt=>!a.unref(Z)&&a.unref(_)({medio:"telegram",contacto:a.unref(i).celular})),class:"auth-radio-group-item fge-gray-button-option w-full",style:a.normalizeStyle({cursor:a.unref(Z)?"not-allowed":"pointer",opacity:a.unref(Z)?.6:1})},[a.createElementVNode("button",{class:"btn-whatsapp",style:a.normalizeStyle({cursor:a.unref(Z)?"not-allowed":"pointer"}),disabled:a.unref(Z)},[a.unref(Z)?(a.openBlock(),a.createElementBlock("i",Cj)):(a.openBlock(),a.createBlock(a.unref(Sl),{key:1,class:a.normalizeClass({"auth-svg-primary":a.unref(s).verificadoTelegram,"auth-svg-gray":!a.unref(s).verificadoTelegram})},null,8,["class"]))],12,xj),a.createElementVNode("label",{class:"fge-text-gray",for:"r2",style:a.normalizeStyle({cursor:a.unref(Z)?"not-allowed":"pointer",whiteSpace:"nowrap"})},[a.createTextVNode(" Telegram "),a.unref(F)>0?(a.openBlock(),a.createElementBlock("span",Sj," ("+a.toDisplayString(a.unref(F))+" seg.) ",1)):a.createCommentVNode("",!0)],4)],4)]),_:1}),a.createVNode(a.unref(Zs),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Fs),{class:"tooltip","side-offset":5},{default:a.withCtx(()=>[a.createTextVNode(" Verificar Telegram "),a.createVNode(a.unref(Us),{class:"arrow-svg",width:10})]),_:1})]),_:1})]),_:1})]),_:1})),a.unref(s).verificadoSms?(a.openBlock(),a.createElementBlock("div",Rj,[a.createElementVNode("div",Dj,[a.createVNode(a.unref(ci),{class:"radio",id:"r4",value:"sms",disabled:!a.unref(s).verificadoSms},{default:a.withCtx(()=>[a.createVNode(a.unref(Vc))]),_:1},8,["disabled"])]),Mj])):(a.openBlock(),a.createBlock(a.unref(Ms),{key:2,"delay-duration":0},{default:a.withCtx(()=>[a.createVNode(a.unref(Ps),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Ls),{"as-child":""},{default:a.withCtx(()=>[a.createElementVNode("div",{onClick:se[3]||(se[3]=Rt=>!a.unref(ne)&&a.unref(_)({medio:"sms",contacto:a.unref(i).celular})),class:"auth-radio-group-item fge-gray-button-option w-full",style:a.normalizeStyle({cursor:a.unref(ne)?"not-allowed":"pointer",opacity:a.unref(ne)?.6:1})},[a.createElementVNode("button",{class:"btn-whatsapp",style:a.normalizeStyle({cursor:a.unref(ne)?"not-allowed":"pointer"}),disabled:a.unref(ne)},[a.unref(ne)?(a.openBlock(),a.createElementBlock("i",Ij)):(a.openBlock(),a.createBlock(a.unref(fd),{key:1,class:a.normalizeClass({"auth-svg-primary":a.unref(s).verificadoSms,"auth-svg-gray":!a.unref(s).verificadoSms})},null,8,["class"]))],12,Bj),a.createElementVNode("label",{class:"fge-text-gray",for:"r4",style:a.normalizeStyle({cursor:a.unref(ne)?"not-allowed":"pointer",whiteSpace:"nowrap"})},[a.createTextVNode(" SMS "),a.unref(fe)>0?(a.openBlock(),a.createElementBlock("span",Vj," ("+a.toDisplayString(a.unref(fe))+" seg.) ",1)):a.createCommentVNode("",!0)],4)],4)]),_:1}),a.createVNode(a.unref(Zs),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Fs),{class:"tooltip","side-offset":5},{default:a.withCtx(()=>[a.createTextVNode(" Verificar SMS "),a.createVNode(a.unref(Us),{class:"arrow-svg",width:10})]),_:1})]),_:1})]),_:1})]),_:1})),a.unref(s).verificadoEmail?(a.openBlock(),a.createElementBlock("div",Uj,[a.createElementVNode("div",Zj,[a.createVNode(a.unref(ci),{class:"radio",id:"r3",value:"email",disabled:!a.unref(s).verificadoEmail},{default:a.withCtx(()=>[a.createVNode(a.unref(Vc))]),_:1},8,["disabled"])]),zj])):(a.openBlock(),a.createBlock(a.unref(Ms),{key:4,"delay-duration":0},{default:a.withCtx(()=>[a.createVNode(a.unref(Ps),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Ls),{"as-child":""},{default:a.withCtx(()=>[a.createElementVNode("div",{onClick:se[4]||(se[4]=Rt=>!a.unref(z)&&a.unref(_)({medio:"email",contacto:a.unref(i).email})),class:"auth-radio-group-item fge-gray-button-option w-full",style:a.normalizeStyle({cursor:a.unref(z)?"not-allowed":"pointer",opacity:a.unref(z)?.6:1})},[a.createElementVNode("button",{class:"btn-whatsapp",style:a.normalizeStyle({cursor:a.unref(z)?"not-allowed":"pointer"}),disabled:a.unref(z)},[a.unref(z)?(a.openBlock(),a.createElementBlock("i",Lj)):(a.openBlock(),a.createBlock(a.unref(Cl),{key:1,class:a.normalizeClass({"auth-svg-primary":a.unref(s).verificadoEmail,"auth-svg-gray":!a.unref(s).verificadoEmail})},null,8,["class"]))],12,Pj),a.createElementVNode("label",{class:"fge-text-gray",for:"r3",style:a.normalizeStyle({cursor:a.unref(z)?"not-allowed":"pointer",whiteSpace:"nowrap"})},[a.createTextVNode(" Email "),a.unref(X)>0?(a.openBlock(),a.createElementBlock("span",Fj," ("+a.toDisplayString(a.unref(X))+" seg.) ",1)):a.createCommentVNode("",!0)],4)],4)]),_:1}),a.createVNode(a.unref(Zs),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Fs),{class:"tooltip","side-offset":5},{default:a.withCtx(()=>[a.createTextVNode(" Verificar Email "),a.createVNode(a.unref(Us),{class:"arrow-svg",width:10})]),_:1})]),_:1})]),_:1})]),_:1}))]),_:2},1040,["model-value"])]),_:1})]),jj]),a.createElementVNode("div",Hj,[a.createElementVNode("button",{title:"Cerrar perfil",onClick:se[5]||(se[5]=()=>{var ge;return(ge=e.onCloseBtn)==null?void 0:ge.call(e)}),class:"fge-gray-button w-full"},qj),a.createElementVNode("button",{title:"Guardar cambios",onClick:se[6]||(se[6]=(...ge)=>a.unref(v)&&a.unref(v)(...ge)),class:"w-full fge-auth-primary-button"},Wj)])]),step2:a.withCtx(()=>[a.createElementVNode("div",Gj,[a.createVNode(ud,{fieldName:"codigo",refCounter:a.unref(f),"onUpdate:refCounter":se[7]||(se[7]=ge=>a.isRef(f)?f.value=ge:null),error:a.unref(d).codigo,currentContacto:a.unref(l),cancelarFunction:a.unref(n).forzarActivar2FA?a.unref(B):a.unref(S),aceptarFunction:a.unref(b),"reenviar-mensaje":a.unref(_e)==="telegram"?void 0:a.unref(m),message2Fa:a.unref(Y),message2FaContexto:a.unref(de),url2FaContexto:a.unref(he),isTelegram:a.unref(_e)==="telegram"},null,8,["refCounter","error","currentContacto","cancelarFunction","aceptarFunction","reenviar-mensaje","message2Fa","message2FaContexto","url2FaContexto","isTelegram"])])]),step3:a.withCtx(()=>[a.createElementVNode("div",Kj,[a.createElementVNode("div",Yj,[Jj,a.createVNode(a.unref(je.Field),{name:"oldPassword"},{default:a.withCtx(({field:ge})=>[a.createVNode(Ra,a.mergeProps({id:"oldPassword"},ge,{class:"fge-auth-input with-btn",modelValue:ge.value}),null,16,["modelValue"])]),_:1}),a.createVNode(pt,{error:a.unref(d).oldPassword},null,8,["error"])]),a.createElementVNode("div",Xj,[Qj,a.createVNode(a.unref(je.Field),{name:"newPassword"},{default:a.withCtx(({field:ge})=>[a.createVNode(Ra,a.mergeProps({id:"new-ps"},ge,{class:"fge-auth-input with-btn",modelValue:ge.value,"error-classes":"fge-auth-input-invalid"}),null,16,["modelValue"])]),_:1}),a.createVNode(pt,{error:a.unref(d).newPassword},null,8,["error"])]),a.createElementVNode("div",Nj,[$j,a.createVNode(a.unref(je.Field),{name:"repetirPassword"},{default:a.withCtx(({field:ge})=>[a.createVNode(Ra,a.mergeProps({id:"fge_contra_rep"},ge,{class:"fge-auth-input with-btn",modelValue:ge.value,"error-classes":"fge-auth-input-invalid"}),null,16,["modelValue"])]),_:1}),a.createVNode(pt,{error:a.unref(d).repetirPassword},null,8,["error"])])]),a.createElementVNode("div",eH,[a.unref(o)==="forzar"&&a.unref(r)?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("button",{key:0,title:"Cancelar",onClick:se[8]||(se[8]=(...ge)=>a.unref(S)&&a.unref(S)(...ge)),class:"fge-gray-button w-full"},tH)),a.createElementVNode("button",{title:"Aceptar",onClick:se[9]||(se[9]=(...ge)=>a.unref(k)&&a.unref(k)(...ge)),class:"w-full fge-auth-primary-button"},nH)])]),step4:a.withCtx(()=>[a.createVNode(lj,{onCancel:a.unref(S)},null,8,["onCancel"])]),step5:a.withCtx(()=>[a.createElementVNode("div",rH,[a.createElementVNode("div",aH,[oH,a.createElementVNode("div",iH,[a.createVNode(a.unref(je.Field),{name:"celular",id:"celular",class:a.normalizeClass(["fge-auth-input with-btns",{"fge-auth-input-invalid":a.unref(d).celular}]),type:"text"},null,8,["class"]),a.createVNode(a.unref(Ms),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Ps),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Ls),{title:a.unref(s).verificadoTelegram?"Verificado":"Verificar telegram",class:"btn-only-icon absolute",onClick:se[10]||(se[10]=ge=>a.unref(_)({medio:"telegram",contacto:a.unref(i).celular}))},{default:a.withCtx(()=>[a.createVNode(a.unref(Sl),{class:a.normalizeClass({"auth-svg-primary":a.unref(s).verificadoTelegram,"auth-svg-gray":!a.unref(s).verificadoTelegram})},null,8,["class"])]),_:1},8,["title"]),a.createVNode(a.unref(Zs),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Fs),{class:"tooltip","side-offset":5},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(s).verificadoTelegram?"Verificado":"Verificar")+" ",1),a.createVNode(a.unref(Us),{class:"arrow-svg",width:10})]),_:1})]),_:1})]),_:1})]),_:1})]),a.createVNode(pt,{error:a.unref(d).celular},null,8,["error"]),a.unref(s).verificadoTelegram?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("button",{key:0,class:"fge-auth-primary-button w-full mt-3",onClick:se[11]||(se[11]=ge=>a.unref(_)({medio:"telegram",contacto:a.unref(i).celular}))},[a.createTextVNode(" validar Telegram "),a.unref(F)>0?(a.openBlock(),a.createElementBlock("span",sH," ("+a.toDisplayString(a.unref(F))+" seg.) ",1)):a.createCommentVNode("",!0)])),a.unref(s).verificadoSms?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("button",{key:1,class:"fge-auth-primary-button w-full mt-3",onClick:se[12]||(se[12]=ge=>a.unref(_)({medio:"sms",contacto:a.unref(i).celular}))},[a.createTextVNode(" validar SMS "),a.unref(fe)>0?(a.openBlock(),a.createElementBlock("span",lH," ("+a.toDisplayString(a.unref(fe))+" seg.) ",1)):a.createCommentVNode("",!0)]))]),a.createElementVNode("div",cH,[uH,a.createElementVNode("div",dH,[a.createVNode(a.unref(je.Field),{name:"email",id:"email",class:a.normalizeClass(["fge-auth-input with-btn",{"fge-auth-input-invalid":a.unref(d).email}]),type:"text"},null,8,["class"]),a.createVNode(a.unref(Ms),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Ps),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Ls),{title:a.unref(s).verificadoEmail?"Verificado":"Verificar",class:"btn-only-icon absolute",onClick:se[13]||(se[13]=ge=>a.unref(_)({medio:"email",contacto:a.unref(i).email}))},{default:a.withCtx(()=>[a.createVNode(a.unref(Cl),{class:a.normalizeClass({"auth-svg-primary":a.unref(s).verificadoEmail,"auth-svg-gray":!a.unref(s).verificadoEmail})},null,8,["class"])]),_:1},8,["title"]),a.createVNode(a.unref(Zs),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Fs),{class:"tooltip","side-offset":5},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(s).verificadoEmail?"Verificado":"Verificar")+" ",1),a.createVNode(a.unref(Us),{class:"arrow-svg",width:10})]),_:1})]),_:1})]),_:1})]),_:1})]),a.createVNode(pt,{error:a.unref(d).email},null,8,["error"]),a.unref(s).verificadoEmail?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("button",{key:0,class:"fge-auth-primary-button w-full mt-3",onClick:se[14]||(se[14]=ge=>a.unref(_)({medio:"email",contacto:a.unref(i).email}))},[a.createTextVNode(" validar correo electrónico "),a.unref(X)>0?(a.openBlock(),a.createElementBlock("span",fH," ("+a.toDisplayString(a.unref(X))+" seg.) ",1)):a.createCommentVNode("",!0)]))]),hH,pH,a.createVNode(ej,{onSuccess:a.unref(A),showBtnProfile:"",onError:a.unref(B)},null,8,["onSuccess","onError"])])]),_:1},8,["currentStep","steps"])]),a.createVNode(Xz,{open:a.unref(g),"onUpdate:open":se[15]||(se[15]=ge=>a.isRef(g)?g.value=ge:null),openClick:a.unref(D)},null,8,["open","openClick"]),a.createVNode(h9,{open:a.unref(w),"onUpdate:open":se[16]||(se[16]=ge=>a.isRef(w)?w.value=ge:null),openClick:a.unref(y)},null,8,["open","openClick"])],64))}}),gH={class:"sidebar"},Oh=a.defineComponent({__name:"Sidebar",props:{isOpen:{type:Boolean,default:!1},dismissable:{type:Boolean,default:!0},noPadding:{type:Boolean,default:!1}},emits:["update:isOpen"],setup(e,{emit:t}){const n=e,r=t,o=()=>{n.dismissable&&r("update:isOpen",!1)};return(i,s)=>(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[a.createElementVNode("div",gH,[n.isOpen?(a.openBlock(),a.createElementBlock("div",{key:0,class:"auth-sidebar-backdrop",onClick:o})):a.createCommentVNode("",!0),a.createVNode(a.Transition,{name:"slide",mode:"out-in"},{default:a.withCtx(()=>[e.isOpen?(a.openBlock(),a.createElementBlock("div",{key:0,class:"sidebar-panel",style:a.normalizeStyle(n.noPadding?{padding:"0"}:void 0)},[a.renderSlot(i.$slots,"default")],4)):a.createCommentVNode("",!0)]),_:3})])]))}}),Bh=a.defineComponent({__name:"FgePerfilSidebar",setup(e,{expose:t}){const n=a.ref(),{displayModal:r,openDialog:o,closeDialog:i}=hz();return t({openDialog:o,closeDialog:i,goToChangePassword:c=>{o(),a.nextTick(()=>{var u;(u=n.value)==null||u.cambiarPass(c)})},goToActiveMedio:()=>{o(),a.nextTick(()=>{var c;(c=n.value)==null||c.goToActiveMediosStep()})}}),(c,u)=>(a.openBlock(),a.createBlock(Oh,{dismissable:!1,isOpen:a.unref(r),"onUpdate:isOpen":u[0]||(u[0]=d=>a.isRef(r)?r.value=d:null)},{default:a.withCtx(()=>[a.createVNode(mH,{onCloseBtn:a.unref(i),ref_key:"perfilRef",ref:n},null,8,["onCloseBtn"])]),_:1},8,["isOpen"]))}}),vH=async()=>ke.get("/v1/sesion/dispositivos").then(e=>{const t=(e==null?void 0:e.data)??e;return Array.isArray(t)?t:Array.isArray(t==null?void 0:t.response)?t.response:[]}).catch(e=>(console.error("Error fetching dispositivos:",e),[])),yH=async e=>ke.patch("/v1/sesion/dispositivos/eliminar",e).then(t=>t).catch(t=>{var n;throw(n=t.response)!=null&&n.data?t.response.data:t}),bH=async e=>ke.patch("/v1/sesion/dispositivos/eliminar-menos-actual",e).then(t=>t).catch(t=>{var n;throw(n=t.response)!=null&&n.data?t.response.data:t}),wH=async e=>ke.patch("/v1/sesion/dispositivos/eliminar-todos",e).then(t=>t).catch(t=>{var n;throw(n=t.response)!=null&&n.data?t.response.data:t});function _H(){const e=a.ref([]),t=a.ref(!1),n=a.ref(null),r=async()=>{t.value=!0,n.value=null;try{const i=await vH();console.debug("getDispositivos response:",i),e.value=Array.isArray(i)?i:[]}catch(i){n.value=i}finally{t.value=!1}},o=async()=>{await r()};return a.onMounted(()=>{r()}),{dispositivos:e,isLoading:t,error:n,refresh:o}}const kH={key:0,class:"fge-confirm-overlay",role:"dialog","aria-modal":"true"},EH={class:"fge-confirm-box"},xH={class:"fge-confirm-title"},CH={class:"fge-confirm-message"},SH={class:"fge-confirm-actions"},w9=Ut(a.defineComponent({__name:"ConfirmationDialog",props:{open:{type:Boolean,default:!1},title:{type:String,default:"Confirmar"},message:{type:String,default:"¿Desea continuar?"},confirmLabel:{type:String,default:"Confirmar"},cancelLabel:{type:String,default:"Cancelar"}},emits:["update:open","confirm","cancel"],setup(e,{emit:t}){const n=t;function r(){n("update:open",!1)}function o(){n("confirm"),r()}function i(){n("cancel"),r()}return(s,l)=>e.open?(a.openBlock(),a.createElementBlock("div",kH,[a.createElementVNode("div",EH,[a.createElementVNode("h3",xH,a.toDisplayString(e.title),1),a.createElementVNode("p",CH,a.toDisplayString(e.message),1),a.createElementVNode("div",SH,[a.createElementVNode("button",{class:"fge-gray-button",onClick:i},a.toDisplayString(e.cancelLabel),1),a.createElementVNode("button",{class:"fge-delete-button",onClick:o},a.toDisplayString(e.confirmLabel),1)])])])):a.createCommentVNode("",!0)}}),[["__scopeId","data-v-1f89df6f"]]),es=e=>(a.pushScopeId("data-v-14152d5e"),e=e(),a.popScopeId(),e),TH={class:"sidebar-header"},AH=es(()=>a.createElementVNode("h3",null,"Dispositivos de confianza",-1)),OH={class:"header-buttons"},BH=[es(()=>a.createElementVNode("i",{class:"pi pi-refresh"},null,-1))],IH={key:1,class:"error"},VH={class:"sidebar-body"},RH={key:0,class:"devices-list"},DH={class:"card-body"},MH={class:"card-left"},PH={class:"icon-circle"},LH={class:"card-content"},FH={class:"card-header"},UH={class:"device-title"},ZH={class:"device-id"},zH={class:"card-row"},jH=es(()=>a.createElementVNode("i",{class:"pi pi-calendar"},null,-1)),HH={class:"card-text"},qH={class:"muted-title"},WH={class:"muted-value"},GH={class:"card-row"},KH=es(()=>a.createElementVNode("i",{class:"pi pi-calendar"},null,-1)),YH={class:"card-text"},JH={class:"muted-title"},XH={class:"muted-value"},QH=["onClick"],NH=[es(()=>a.createElementVNode("i",{class:"pi pi-sign-out"},null,-1))],$H={key:1,class:"no-devices"},eq=[es(()=>a.createElementVNode("div",null,"No hay dispositivos de confianza registrados.",-1))],tq={key:2,class:"sidebar-footer"},nq=Ut(a.defineComponent({__name:"FgeDispositivos",setup(e,{expose:t}){const n=a.ref(!1),{dispositivos:r,isLoading:o,error:i,refresh:s}=_H(),l=et(),c=()=>{var b;return((b=l.userState.user)==null?void 0:b.id)??0},u=a.ref(!1),d=a.ref("Confirmar"),f=a.ref("¿Desea continuar?"),h=a.ref(null);async function p(){if(h.value)try{await h.value()}catch{}finally{h.value=null}}function g(b){d.value="Eliminar dispositivo",f.value="¿Está seguro que desea eliminar este dispositivo?",h.value=async()=>{try{const _=await yH({usuarioId:c(),dispositivoConfiableId:b.id});_!=null&&_.error?K.error(`<p class="toast-title">Error</p><p class="toast-description">${(_==null?void 0:_.message)||"Error al eliminar dispositivo"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0}):(K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${(_==null?void 0:_.message)||"Dispositivo eliminado"}</p>`,{autoClose:3e3,hideProgressBar:!0,icon:Wa,closeOnClick:!1,dangerouslyHTMLString:!0}),s())}catch(_){if(wr(_))return;console.error(_),K.error(`<p class="toast-title">Error</p><p class="toast-description">${(_==null?void 0:_.message)||"Error al eliminar dispositivo"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0})}},u.value=!0}function w(){d.value="Eliminar dispositivos",f.value="¿Está seguro que desea eliminar todos los dispositivos menos el actual?",h.value=async()=>{try{const b=await bH({usuarioId:c()});b!=null&&b.error?K.error(`<p class="toast-title">Error</p><p class="toast-description">${(b==null?void 0:b.message)||"Error al eliminar dispositivos"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0}):(K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${(b==null?void 0:b.message)||"Operación exitosa"}</p>`,{autoClose:3e3,hideProgressBar:!0,icon:Wa,closeOnClick:!1,dangerouslyHTMLString:!0}),s())}catch(b){if(wr(b))return;console.error(b),K.error(`<p class="toast-title">Error</p><p class="toast-description">${(b==null?void 0:b.message)||"Error al eliminar dispositivos"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0})}},u.value=!0}function y(){d.value="Eliminar dispositivos",f.value="¿Está seguro que desea eliminar todos los dispositivos?",h.value=async()=>{try{const b=await wH({usuarioId:c()});b!=null&&b.error?K.error(`<p class="toast-title">Error</p><p class="toast-description">${(b==null?void 0:b.message)||"Error al eliminar dispositivos"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0}):(K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${(b==null?void 0:b.message)||"Operación exitosa"}</p>`,{autoClose:3e3,hideProgressBar:!0,icon:Wa,closeOnClick:!1,dangerouslyHTMLString:!0}),s())}catch(b){if(wr(b))return;console.error(b),K.error(`<p class="toast-title">Error</p><p class="toast-description">${(b==null?void 0:b.message)||"Error al eliminar dispositivos"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0})}},u.value=!0}const k=a.computed(()=>r.value.map(b=>{const _=(E,x)=>{if(!E)return"";try{return typeof E=="string"?we.fromISO(E).toLocaleString(x):E instanceof Date?we.fromJSDate(E).toLocaleString(x):we.fromISO(String(E)).toLocaleString(x)}catch{return String(E)}};return{...b,fechaUltimaAutenticacion:_(b.fechaUltimaAutenticacion,we.DATETIME_MED),fechaExpiracion:_(b.fechaExpiracion,we.DATETIME_MED)}}));function v(){n.value=!0,s()}function m(){n.value=!1}return t({openDialog:v,closeDialog:m}),(b,_)=>(a.openBlock(),a.createBlock(Oh,{isOpen:n.value,"onUpdate:isOpen":_[2]||(_[2]=E=>n.value=E),dismissable:!1,noPadding:!0},{default:a.withCtx(()=>[a.unref(o)?(a.openBlock(),a.createBlock(Dd,{key:0})):a.createCommentVNode("",!0),a.createElementVNode("div",TH,[AH,a.createElementVNode("div",OH,[a.createElementVNode("button",{class:"close-btn",onClick:_[0]||(_[0]=(...E)=>a.unref(s)&&a.unref(s)(...E))},BH),a.createElementVNode("button",{class:"close-btn",onClick:m},"✕")])]),a.unref(i)?(a.openBlock(),a.createElementBlock("div",IH,"Error al cargar dispositivos")):a.createCommentVNode("",!0),a.createVNode(w9,{open:u.value,"onUpdate:open":_[1]||(_[1]=E=>u.value=E),title:d.value,message:f.value,confirmLabel:"Sí",cancelLabel:"No",onConfirm:p},null,8,["open","title","message"]),a.createElementVNode("div",VH,[!a.unref(o)&&k.value.length?(a.openBlock(),a.createElementBlock("ul",RH,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(k.value,E=>(a.openBlock(),a.createElementBlock("li",{key:E.id,class:"device-card"},[a.createElementVNode("div",DH,[a.createElementVNode("div",MH,[a.createElementVNode("div",PH,[a.createElementVNode("i",{class:a.normalizeClass(["pi",E.esMovil?"pi-mobile":"pi-desktop","icon"])},null,2)])]),a.createElementVNode("div",LH,[a.createElementVNode("div",FH,[a.createElementVNode("div",UH,a.toDisplayString(E.nombreDispositivo||"Dispositivo sin nombre"),1),a.createElementVNode("div",ZH,a.toDisplayString(E.identificadorDispositivo),1)]),a.createElementVNode("div",zH,[jH,a.createElementVNode("div",HH,[a.createElementVNode("span",qH,[a.createTextVNode("Última autenticación: "),a.createElementVNode("span",WH,a.toDisplayString(E.fechaUltimaAutenticacion),1)])])]),a.createElementVNode("div",GH,[KH,a.createElementVNode("div",YH,[a.createElementVNode("span",JH,[a.createTextVNode("Fecha expiración: "),a.createElementVNode("span",XH,a.toDisplayString(E.fechaExpiracion),1)])])])])]),a.createElementVNode("button",{class:"action-btn",title:"Cerrar sesión en este dispositivo",onClick:x=>g(E)},NH,8,QH)]))),128))])):a.createCommentVNode("",!0),!a.unref(o)&&!k.value.length?(a.openBlock(),a.createElementBlock("div",$H,eq)):a.createCommentVNode("",!0)]),!a.unref(o)&&k.value.length?(a.openBlock(),a.createElementBlock("div",tq,[a.createElementVNode("button",{class:"fge-delete2-button",onClick:w}," Eliminar todos menos el actual "),a.createElementVNode("button",{class:"fge-delete-button",onClick:y}," Eliminar todos los dispositivos ")])):a.createCommentVNode("",!0)]),_:1},8,["isOpen"]))}}),[["__scopeId","data-v-14152d5e"]]),rq=async e=>ke.patch("/v1/sesion/listar-activas",e).then(t=>{const n=(t==null?void 0:t.data)??t;return Array.isArray(n)?n:Array.isArray(n==null?void 0:n.response.data)?n.response.data:[]}).catch(t=>(console.error("Error fetching dispositivos:",t),[])),aq=async e=>ke.patch("/v1/sesion/finalizar",e).then(t=>t).catch(t=>{var n;throw(n=t.response)!=null&&n.data?t.response.data:t}),oq=async e=>ke.patch("/v1/sesion/finalizar-menos-actual",e).then(t=>t).catch(t=>{var n;throw(n=t.response)!=null&&n.data?t.response.data:t}),iq=async e=>ke.patch("/v1/sesion/finalizar-todas",e).then(t=>t).catch(t=>{var n;throw(n=t.response)!=null&&n.data?t.response.data:t});function sq(){const e=a.ref([]),t=a.ref(!1),n=a.ref(null),r=et(),o=async()=>{var s;t.value=!0,n.value=null;try{const l=((s=r.userState.user)==null?void 0:s.id)??0,c=await rq({usuarioId:l});console.debug("getSesiones response:",c),e.value=Array.isArray(c)?c:[]}catch(l){n.value=l}finally{t.value=!1}},i=async()=>{await o()};return a.onMounted(()=>{o()}),{sesiones:e,isLoading:t,error:n,refresh:i}}const Uo=e=>(a.pushScopeId("data-v-8fe494d1"),e=e(),a.popScopeId(),e),lq={class:"sidebar-header"},cq=Uo(()=>a.createElementVNode("h3",null,"Sesiones activas",-1)),uq={class:"header-buttons"},dq=[Uo(()=>a.createElementVNode("i",{class:"pi pi-refresh"},null,-1))],fq={class:"sidebar-body"},hq={key:0,class:"devices-list"},pq={class:"card-body"},mq={class:"card-left"},gq={class:"icon-circle"},vq={class:"card-content"},yq={class:"card-header"},bq={class:"device-title-row"},wq={class:"device-title"},_q={class:"badges"},kq={key:0,class:"badge badge-actual"},Eq={key:1,class:"badge badge-cd"},xq={class:"device-id"},Cq={class:"card-row"},Sq=Uo(()=>a.createElementVNode("i",{class:"pi pi-desktop"},null,-1)),Tq={class:"card-text"},Aq={class:"muted-title"},Oq={class:"muted-value"},Bq={class:"card-row"},Iq=Uo(()=>a.createElementVNode("i",{class:"pi pi-calendar"},null,-1)),Vq={class:"card-text"},Rq={class:"muted-title"},Dq={class:"muted-value"},Mq={class:"card-row"},Pq=Uo(()=>a.createElementVNode("i",{class:"pi pi-calendar"},null,-1)),Lq={class:"card-text"},Fq={class:"muted-title"},Uq={class:"muted-value"},Zq=["onClick"],zq=[Uo(()=>a.createElementVNode("i",{class:"pi pi-sign-out"},null,-1))],jq={key:1,class:"no-devices"},Hq=[Uo(()=>a.createElementVNode("div",null,"No hay sesiones activas.",-1))],qq={key:1,class:"sidebar-footer"},Wq=Ut(a.defineComponent({__name:"FgeSesiones",setup(e,{expose:t}){const n=a.ref(!1),{sesiones:r,isLoading:o,error:i,refresh:s}=sq(),l=et(),c=()=>{var b;return((b=l.userState.user)==null?void 0:b.id)??0},u=a.ref(!1),d=a.ref("Confirmar"),f=a.ref("¿Desea continuar?"),h=a.ref(null);async function p(){if(h.value)try{await h.value()}catch{}finally{h.value=null}}function g(b){d.value="Finalizar sesión",f.value="¿Desea cerrar esta sesión remota?",h.value=async()=>{try{const _=await aq({usuarioId:c(),sesionId:b.id});_!=null&&_.error?K.error(`<p class="toast-title">Error</p><p class="toast-description">${(_==null?void 0:_.message)||"Error al finalizar sesión"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0}):(K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${(_==null?void 0:_.message)||"Sesión finalizada"}</p>`,{autoClose:3e3,hideProgressBar:!0,icon:Wa,closeOnClick:!1,dangerouslyHTMLString:!0}),s())}catch(_){if(wr(_))return;console.error(_),K.error(`<p class="toast-title">Error</p><p class="toast-description">${(_==null?void 0:_.message)||"Error al finalizar sesión"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0})}},u.value=!0}function w(){d.value="Finalizar sesiones",f.value="¿Desea finalizar todas las sesiones menos la actual?",h.value=async()=>{try{const b=await oq({usuarioId:c()});b!=null&&b.error?K.error(`<p class="toast-title">Error</p><p class="toast-description">${(b==null?void 0:b.message)||"Error al finalizar sesiones"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0}):(K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${(b==null?void 0:b.message)||"Operación exitosa"}</p>`,{autoClose:3e3,hideProgressBar:!0,icon:Wa,closeOnClick:!1,dangerouslyHTMLString:!0}),s())}catch(b){if(wr(b))return;console.error(b),K.error(`<p class="toast-title">Error</p><p class="toast-description">${(b==null?void 0:b.message)||"Error al finalizar sesiones"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0})}},u.value=!0}function y(){d.value="Finalizar sesiones",f.value="¿Desea finalizar todas las sesiones?",h.value=async()=>{try{const b=await iq({usuarioId:c()});b!=null&&b.error?K.error(`<p class="toast-title">Error</p><p class="toast-description">${(b==null?void 0:b.message)||"Error al finalizar sesiones"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0}):(K.success(`<p class="toast-title">Operación exitosa</p><p class="toast-description">${(b==null?void 0:b.message)||"Operación exitosa"}</p>`,{autoClose:3e3,hideProgressBar:!0,icon:Wa,closeOnClick:!1,dangerouslyHTMLString:!0}),s())}catch(b){if(wr(b))return;console.error(b),K.error(`<p class="toast-title">Error</p><p class="toast-description">${(b==null?void 0:b.message)||"Error al finalizar sesiones"}</p>`,{autoClose:5e3,hideProgressBar:!0,icon:ot,closeOnClick:!1,dangerouslyHTMLString:!0})}},u.value=!0}const k=a.computed(()=>r.value.map(b=>{const _=E=>{if(!E)return"";try{return typeof E=="string"?we.fromISO(E).toLocaleString(we.DATETIME_MED):E instanceof Date?we.fromJSDate(E).toLocaleString(we.DATETIME_MED):we.fromISO(String(E)).toLocaleString(we.DATETIME_MED)}catch{return String(E)}};return{...b,createdAtFmt:_(b.createdAt),caducidadFmt:_(b.caducidad)}}));function v(){n.value=!0,s()}function m(){n.value=!1}return t({openDialog:v,closeDialog:m}),(b,_)=>(a.openBlock(),a.createBlock(Oh,{isOpen:n.value,"onUpdate:isOpen":_[2]||(_[2]=E=>n.value=E),dismissable:!1,noPadding:!0},{default:a.withCtx(()=>[a.unref(o)?(a.openBlock(),a.createBlock(Dd,{key:0})):a.createCommentVNode("",!0),a.createElementVNode("div",lq,[cq,a.createElementVNode("div",uq,[a.createElementVNode("button",{class:"close-btn",onClick:_[0]||(_[0]=(...E)=>a.unref(s)&&a.unref(s)(...E))},dq),a.createElementVNode("button",{class:"close-btn",onClick:m},"✕")])]),a.createVNode(w9,{open:u.value,"onUpdate:open":_[1]||(_[1]=E=>u.value=E),title:d.value,message:f.value,confirmLabel:"Sí",cancelLabel:"No",onConfirm:p},null,8,["open","title","message"]),a.createElementVNode("div",fq,[!a.unref(o)&&k.value.length?(a.openBlock(),a.createElementBlock("ul",hq,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(k.value,E=>(a.openBlock(),a.createElementBlock("li",{key:E.id,class:"device-card"},[a.createElementVNode("div",pq,[a.createElementVNode("div",mq,[a.createElementVNode("div",gq,[a.createElementVNode("i",{class:a.normalizeClass(["pi",E.esMovil?"pi-mobile":"pi-desktop","icon"])},null,2)])]),a.createElementVNode("div",vq,[a.createElementVNode("div",yq,[a.createElementVNode("div",bq,[a.createElementVNode("div",wq,a.toDisplayString(E.dispositivo||E.navegador||E.aplicacion),1),a.createElementVNode("div",_q,[E.actual?(a.openBlock(),a.createElementBlock("span",kq,"Actual")):a.createCommentVNode("",!0),E.ciudadania==1?(a.openBlock(),a.createElementBlock("span",Eq,"CD")):a.createCommentVNode("",!0)])]),a.createElementVNode("div",xq,a.toDisplayString(E.navegador)+" · "+a.toDisplayString(E.so),1)]),a.createElementVNode("div",Cq,[Sq,a.createElementVNode("div",Tq,[a.createElementVNode("span",Aq,[a.createTextVNode("Sistema: "),a.createElementVNode("span",Oq,a.toDisplayString(E.aplicacion),1)])])]),a.createElementVNode("div",Bq,[Iq,a.createElementVNode("div",Vq,[a.createElementVNode("span",Rq,[a.createTextVNode("Iniciado el: "),a.createElementVNode("span",Dq,a.toDisplayString(E.createdAtFmt),1)])])]),a.createElementVNode("div",Mq,[Pq,a.createElementVNode("div",Lq,[a.createElementVNode("span",Fq,[a.createTextVNode("Caduca: "),a.createElementVNode("span",Uq,a.toDisplayString(E.caducidadFmt),1)])])])])]),a.createElementVNode("button",{class:"action-btn",title:"Finalizar sesión",onClick:x=>g(E)},zq,8,Zq)]))),128))])):a.createCommentVNode("",!0),!a.unref(o)&&!k.value.length?(a.openBlock(),a.createElementBlock("div",jq,Hq)):a.createCommentVNode("",!0)]),!a.unref(o)&&k.value.length?(a.openBlock(),a.createElementBlock("div",qq,[a.createElementVNode("button",{class:"fge-delete2-button",onClick:w}," Finalizar todas menos el actual "),a.createElementVNode("button",{class:"fge-delete-button",onClick:y}," Finalizar todas las sesiones ")])):a.createCommentVNode("",!0)]),_:1},8,["isOpen"]))}}),[["__scopeId","data-v-8fe494d1"]]),Gq={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},Kq=[a.createElementVNode("path",{d:"M223.5 32C100 32 0 132.3 0 256s100 224 223.5 224c60.6 0 115.5-24.2 155.8-63.4 5-4.9 6.3-12.5 3.1-18.7s-10.1-9.7-17-8.5c-9.8 1.7-19.8 2.6-30.1 2.6-96.9 0-175.5-78.8-175.5-176 0-65.8 36-123.1 89.3-153.3 6.1-3.5 9.2-10.5 7.7-17.3s-7.3-11.9-14.3-12.5c-6.3-.5-12.6-.8-19-.8z"},null,-1)];function Yq(e,t){return a.openBlock(),a.createElementBlock("svg",Gq,[...Kq])}const Jq={render:Yq},Pd=e=>(a.pushScopeId("data-v-6cedda83"),e=e(),a.popScopeId(),e),Xq=Pd(()=>a.createElementVNode("button",{class:"auth-hide-btn"},null,-1)),Qq={class:"auth-title-container"},Nq=Pd(()=>a.createElementVNode("p",null,"Aviso de Seguridad",-1)),$q={class:"dialog-body"},eW={class:"icon"},tW={class:"body-title"},nW={class:"auth-modal-body-msg auth-msg-capitalize"},rW=Pd(()=>a.createElementVNode("p",{class:"auth-modal-body-msg"}," Te recordamos que es momento de renovar tu contraseña en el Ecosistema JL. Actualizarla cada 4 meses es una práctica recomendada para mantener tu información a salvo. ",-1)),aW=Pd(()=>a.createElementVNode("p",{class:"auth-modal-body-msg"},"¡Gracias por tu colaboración!",-1)),oW={class:"dialog-footer"},iW=Ut(a.defineComponent({__name:"PasswordDialog",props:{open:{type:Boolean,default:!1},openClick:{type:Function,required:!0},forzarCambioPassword:{type:Boolean,required:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=a.computed({get:()=>n.open,set:s=>i("update:open",s)}),o=et(),i=t;return(s,l)=>(a.openBlock(),a.createBlock(a.unref(As),{open:r.value,"onUpdate:open":l[2]||(l[2]=c=>r.value=c)},{default:a.withCtx(()=>[a.createVNode(a.unref(Sc),{"as-child":""},{default:a.withCtx(()=>[Xq]),_:1}),a.createVNode(a.unref(Os),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Is),{class:"modal-overlay"}),a.createVNode(a.unref(Bs),{class:"auth-modal-container",onInteractOutside:l[1]||(l[1]=c=>c.preventDefault()),"aria-describedby":"dialog-description"},{default:a.withCtx(()=>{var c,u,d,f;return[a.createVNode(a.unref(Vs),{class:"auth-dialog-title"},{default:a.withCtx(()=>[a.createElementVNode("div",Qq,[Nq,n.forzarCambioPassword?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(a.unref(co),{key:0,class:"close-icon","aria-label":"Close"},{default:a.withCtx(()=>[a.createVNode(a.unref(dd))]),_:1}))])]),_:1}),a.createElementVNode("div",$q,[a.createElementVNode("div",eW,[a.createVNode(xl,{mode:"gray"})]),a.createElementVNode("p",tW,a.toDisplayString(e.forzarCambioPassword?"Renueva tu Contraseña":"¿Desea cambiar la contraseña?"),1),a.createElementVNode("p",nW," Hola "+a.toDisplayString((u=(c=a.unref(o).userState)==null?void 0:c.user)!=null&&u.nombreCompleto?`${(f=(d=a.unref(o).userState)==null?void 0:d.user)==null?void 0:f.nombreCompleto.toLowerCase()}`:"Usuario")+", ",1),rW,aW]),a.createElementVNode("div",oW,[n.forzarCambioPassword?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(a.unref(co),{key:0,class:"fge-gray-button w-full","aria-label":"Close"},{default:a.withCtx(()=>[a.createTextVNode(" Más tarde ")]),_:1})),a.createElementVNode("button",{class:"w-full fge-auth-primary-button",onClick:l[0]||(l[0]=a.withModifiers(()=>e.openClick(),["prevent"]))}," Cambiar contraseña ")])]}),_:1})]),_:1})]),_:1},8,["open"]))}}),[["__scopeId","data-v-6cedda83"]]),sW=a.createElementVNode("button",{class:"auth-hide-btn"},null,-1),lW=a.createElementVNode("div",{class:"auth-title-container"},[a.createElementVNode("p",null,"SEGURIDAD DE AUTENTICACIÓN")],-1),cW={class:"dialog-body"},uW={class:"icon"},dW=a.createElementVNode("p",{class:"body-title"},"ACTIVACION DE DOBLE FACTOR DE AUTENTICACIÓN",-1),fW=a.createElementVNode("p",null," Esta aplicación requiere la activación de doble factor de autenticación, por tanto debe contar con uno de los siguientes requisitos: ",-1),hW=a.createElementVNode("br",null,null,-1),pW=a.createElementVNode("div",{style:{"margin-left":"50px"}},[a.createElementVNode("ul",null,[a.createElementVNode("li",null,[a.createTextVNode(" Tener cuenta de "),a.createElementVNode("b",null,[a.createElementVNode("a",{href:"https://play.google.com/store/apps/details?id=org.telegram.messenger",target:"_blank"}," Telegram ")])]),a.createElementVNode("li",null,"Correo electrónico.")])],-1),mW={class:"dialog-footer"},gW=a.defineComponent({__name:"Message2faDialog",emits:["openClick"],setup(e,{expose:t,emit:n}){const r=a.ref(!1),o=()=>r.value=!0,i=()=>{r.value=!1,s("openClick")},s=n;return t({openDialog:o}),(l,c)=>(a.openBlock(),a.createBlock(a.unref(As),{open:r.value,"onUpdate:open":c[1]||(c[1]=u=>r.value=u)},{default:a.withCtx(()=>[a.createVNode(a.unref(Sc),null,{default:a.withCtx(()=>[sW]),_:1}),a.createVNode(a.unref(Os),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Is),{class:"modal-overlay"}),a.createVNode(a.unref(Bs),{class:"auth-modal-container",onInteractOutside:c[0]||(c[0]=u=>u.preventDefault()),"aria-describedby":"dialog-description"},{default:a.withCtx(()=>[a.createVNode(a.unref(Vs),{class:"auth-dialog-title"},{default:a.withCtx(()=>[lW]),_:1}),a.createElementVNode("div",cW,[a.createElementVNode("div",uW,[a.createVNode(xl,{mode:"gray"})]),dW,fW,hW,pW]),a.createElementVNode("div",mW,[a.createElementVNode("button",{class:"w-full fge-auth-primary-button",onClick:a.withModifiers(i,["prevent"])}," aceptar ")])]),_:1})]),_:1})]),_:1},8,["open"]))}}),vW={class:"item-container"},yW={class:"auth-name-container"},bW={class:"name"},wW={class:"profession"},_W=a.createElementVNode("i",{class:"pi pi-user"},null,-1),kW=a.createElementVNode("span",{style:{"margin-left":"0.8rem"}},"Perfil",-1),EW=a.createElementVNode("span",{style:{"margin-left":"0.8rem"}},"Cambiar modo",-1),xW=a.createElementVNode("i",{class:"pi pi-users"},null,-1),CW=a.createElementVNode("span",{style:{"margin-left":"0.8rem"}},"Sesiones",-1),SW=a.createElementVNode("i",{class:"pi pi-desktop"},null,-1),TW=a.createElementVNode("span",{style:{"margin-left":"0.8rem"}},"Dispositivos de confianza",-1),AW=a.createElementVNode("i",{class:"pi pi-sign-out"},null,-1),OW=a.createElementVNode("span",{style:{"margin-left":"0.8rem"}},"Cerrar sesión",-1),_9=a.defineComponent({__name:"FgeMenuItems",props:{showChangeMode:{type:Boolean,default:!1},isDarkMode:{type:Boolean,default:!1}},emits:["onLogout","onChangeMode"],setup(e,{emit:t}){const n=e,r=et(),{logoutCD:o}=Gv(),i=a.ref(!1),s=a.ref(!1),l=a.ref();a.onMounted(()=>{y(),v()});const c=a.ref(),u=a.ref(),d=a.ref(),f=a.ref(!0),h=t,p=()=>{c.value.openDialog()},g=async()=>{try{r.usaAuthNvEnLogin?await Tw():await Sw(),r.binnacleId&&await o({})}catch{}finally{r.logoutStore(),localStorage.clear(),h("onLogout")}},w=async()=>{h("onChangeMode")},y=async()=>{const{fechaCambioPassword:O,cambiarPassword:B,forzarCambioPassword:S,diasVidaPassword:A}=r.userState;if(!r.enableChangePassword||typeof A!="number")return;const D=localStorage.getItem("show-change-password");if(!S&&D&&B)return;const q=O?we.fromISO(O):void 0;if(l.value=q,B){m(!!(B&&S));return}},k=a.ref(),v=async()=>{var O,B;(O=r.userState)!=null&&O.forzarActivar2FA&&((B=k.value)==null||B.openDialog())},m=O=>{Xd("password-modified")||(localStorage.setItem("show-change-password",new Date().toISOString()),O&&(f.value=!1),s.value=!0)},b=()=>{var B;const{forzarCambioPassword:O}=r.userState;(B=c.value)==null||B.goToChangePassword(O),s.value=!1,f.value=!1},_=()=>{var O;s.value=!1,f.value=!1,(O=c.value)==null||O.goToActiveMedio()},E=()=>{var O,B;(B=(O=u.value)==null?void 0:O.openDialog)==null||B.call(O)},x=()=>{var O,B;(B=(O=d.value)==null?void 0:O.openDialog)==null||B.call(O)};return(O,B)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createVNode(a.unref(qC),{open:i.value,"onUpdate:open":B[0]||(B[0]=S=>i.value=S)},{default:a.withCtx(()=>[a.createVNode(a.unref(WC),{class:a.normalizeClass(["link-item-container",{dark:n.isDarkMode}]),"aria-label":"menu-options"},{default:a.withCtx(()=>{var S,A,D,q;return[a.createElementVNode("div",vW,[a.createVNode(a.unref(KE),{class:"avatar-container"},{default:a.withCtx(()=>{var F,X;return[a.createVNode(a.unref(JE),{class:"avatar-image",src:(F=a.unref(r).userState.user)==null?void 0:F.fotoUrl,alt:`Foto de ${(X=a.unref(r).userState.user)==null?void 0:X.nombreCompleto}`},null,8,["src","alt"]),a.createVNode(a.unref(XE),{class:"avatar-fallback","delay-ms":600},{default:a.withCtx(()=>[a.createVNode(y9)]),_:1})]}),_:1}),a.createElementVNode("div",yW,[a.createElementVNode("p",bW,a.toDisplayString((A=(S=a.unref(r).userState)==null?void 0:S.user)==null?void 0:A.nombreCompleto),1),a.createElementVNode("p",wW,a.toDisplayString((q=(D=a.unref(r).userState)==null?void 0:D.user)==null?void 0:q.profesion),1)])])]}),_:1},8,["class"]),a.createVNode(a.unref(GC),null,{default:a.withCtx(()=>[a.createVNode(a.unref(KC),{class:a.normalizeClass(["auth-menu-content",{dark:n.isDarkMode}])},{default:a.withCtx(()=>[a.createVNode(a.unref(Rs),{class:"auth-menu-item",onClick:p},{default:a.withCtx(()=>[_W,kW]),_:1}),n.showChangeMode?(a.openBlock(),a.createBlock(a.unref(Rs),{key:0,class:"auth-menu-item",onClick:w},{default:a.withCtx(()=>[a.createVNode(a.unref(Jq)),EW]),_:1})):a.createCommentVNode("",!0),a.createVNode(a.unref(Rs),{class:"auth-menu-item",onClick:x},{default:a.withCtx(()=>[xW,CW]),_:1}),a.createVNode(a.unref(Rs),{class:"auth-menu-item",onClick:E},{default:a.withCtx(()=>[SW,TW]),_:1}),a.createVNode(a.unref(Rs),{class:"auth-menu-item",onClick:g},{default:a.withCtx(()=>[AW,OW]),_:1})]),_:1},8,["class"])]),_:1})]),_:1},8,["open"]),a.createVNode(Bh,{ref_key:"perfilRef",ref:c},null,512),a.createVNode(nq,{ref_key:"dispositivosRef",ref:u},null,512),a.createVNode(Wq,{ref_key:"sesionesRef",ref:d},null,512),a.createVNode(iW,{open:s.value,"onUpdate:open":B[1]||(B[1]=S=>s.value=S),openClick:b,forzarCambioPassword:!!a.unref(r).userState.forzarCambioPassword},null,8,["open","forzarCambioPassword"]),a.createVNode(gW,{ref_key:"message2faRef",ref:k,onOpenClick:_},null,512)],64))}}),BW={[String(P1)]:"${label} debe contener solo números",[String(zc)]:"${label} debe contener al menos una letra mayúscula, una letra minúscula, un número y un caracter especial",[String(fo)]:"${label} debe contener al menos una letra mayúscula, una letra minúscula, un número y un caracter especial"},k9={mixed:{required:"${label} es requerido",oneOf:"${label} deben ser iguales"},string:{min:"${label} debe tener al menos ${min} caracteres",max:"${label} no debe tener más de ${max} caracteres",length:"${label} debe tener ${length} caracteres",matches:({label:e,regex:t})=>BW[String(t)].replaceAll("${label}",e)||`${e} no es válido`,email:"${label} debe tener el formato ejemplo@ejemplo.com"},number:{min:"El valor mínimo permitido es ${min}",max:"El valor máximo permitido es ${max}"}};oe.addMethod(oe.string,"email",function(t){var n;return this.matches(fT,{message:t||((n=k9.string)==null?void 0:n.email),name:"email",excludeEmptyString:!0})});function IW(e){if(e)try{return JSON.parse(e)}catch(t){console.warn(t,"unknown json format!")}}function E9(e,t){var n=t.storage,r=t.encrypt,o=t.decrypt,i=n.getItem(e.$id);if(i){var s=IW(o?o(i):i);s&&(e.$state=s)}else{var l=JSON.stringify(e.$state);n.setItem(e.$id,r?r(l):l)}var c=function(d,f){var h=JSON.stringify(f);n.setItem(e.$id,r?r(h):h)};e.$subscribe(c,{detached:!0,deep:!0,immediate:!0})}function VW(e){return function(t){var n=Object.assign({},e),r=t.store,o=n.stores,i=n.encrypt,s=n.decrypt;o&&o.length>0&&o.forEach(function(l){if(typeof l=="string"){if(l===r.$id){var c=n.storage||localStorage;E9(r,{stores:o,storage:c,encrypt:i,decrypt:s})}}else if(l.name===r.$id){var u=l.storage,d=l.ciphertext,f=function(){return u||(n.storage?n.storage:localStorage)};E9(r,{stores:o,storage:f(),encrypt:d===!1?void 0:i,decrypt:d===!1?void 0:s})}})}}var ts=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function x9(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function RW(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var C9={exports:{}};function DW(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Ih={exports:{}};const MW=RW(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var S9;function T9(){return S9||(S9=1,function(e,t){(function(n,r){e.exports=r()})(ts,function(){var n=n||function(r,o){var i;if(typeof window<"u"&&window.crypto&&(i=window.crypto),typeof self<"u"&&self.crypto&&(i=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(i=globalThis.crypto),!i&&typeof window<"u"&&window.msCrypto&&(i=window.msCrypto),!i&&typeof ts<"u"&&ts.crypto&&(i=ts.crypto),!i&&typeof DW=="function")try{i=MW}catch{}var s=function(){if(i){if(typeof i.getRandomValues=="function")try{return i.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof i.randomBytes=="function")try{return i.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},l=Object.create||function(){function v(){}return function(m){var b;return v.prototype=m,b=new v,v.prototype=null,b}}(),c={},u=c.lib={},d=u.Base=function(){return{extend:function(v){var m=l(this);return v&&m.mixIn(v),(!m.hasOwnProperty("init")||this.init===m.init)&&(m.init=function(){m.$super.init.apply(this,arguments)}),m.init.prototype=m,m.$super=this,m},create:function(){var v=this.extend();return v.init.apply(v,arguments),v},init:function(){},mixIn:function(v){for(var m in v)v.hasOwnProperty(m)&&(this[m]=v[m]);v.hasOwnProperty("toString")&&(this.toString=v.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=u.WordArray=d.extend({init:function(v,m){v=this.words=v||[],m!=o?this.sigBytes=m:this.sigBytes=v.length*4},toString:function(v){return(v||p).stringify(this)},concat:function(v){var m=this.words,b=v.words,_=this.sigBytes,E=v.sigBytes;if(this.clamp(),_%4)for(var x=0;x<E;x++){var O=b[x>>>2]>>>24-x%4*8&255;m[_+x>>>2]|=O<<24-(_+x)%4*8}else for(var B=0;B<E;B+=4)m[_+B>>>2]=b[B>>>2];return this.sigBytes+=E,this},clamp:function(){var v=this.words,m=this.sigBytes;v[m>>>2]&=4294967295<<32-m%4*8,v.length=r.ceil(m/4)},clone:function(){var v=d.clone.call(this);return v.words=this.words.slice(0),v},random:function(v){for(var m=[],b=0;b<v;b+=4)m.push(s());return new f.init(m,v)}}),h=c.enc={},p=h.Hex={stringify:function(v){for(var m=v.words,b=v.sigBytes,_=[],E=0;E<b;E++){var x=m[E>>>2]>>>24-E%4*8&255;_.push((x>>>4).toString(16)),_.push((x&15).toString(16))}return _.join("")},parse:function(v){for(var m=v.length,b=[],_=0;_<m;_+=2)b[_>>>3]|=parseInt(v.substr(_,2),16)<<24-_%8*4;return new f.init(b,m/2)}},g=h.Latin1={stringify:function(v){for(var m=v.words,b=v.sigBytes,_=[],E=0;E<b;E++){var x=m[E>>>2]>>>24-E%4*8&255;_.push(String.fromCharCode(x))}return _.join("")},parse:function(v){for(var m=v.length,b=[],_=0;_<m;_++)b[_>>>2]|=(v.charCodeAt(_)&255)<<24-_%4*8;return new f.init(b,m)}},w=h.Utf8={stringify:function(v){try{return decodeURIComponent(escape(g.stringify(v)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(v){return g.parse(unescape(encodeURIComponent(v)))}},y=u.BufferedBlockAlgorithm=d.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(v){typeof v=="string"&&(v=w.parse(v)),this._data.concat(v),this._nDataBytes+=v.sigBytes},_process:function(v){var m,b=this._data,_=b.words,E=b.sigBytes,x=this.blockSize,O=x*4,B=E/O;v?B=r.ceil(B):B=r.max((B|0)-this._minBufferSize,0);var S=B*x,A=r.min(S*4,E);if(S){for(var D=0;D<S;D+=x)this._doProcessBlock(_,D);m=_.splice(0,S),b.sigBytes-=A}return new f.init(m,A)},clone:function(){var v=d.clone.call(this);return v._data=this._data.clone(),v},_minBufferSize:0});u.Hasher=y.extend({cfg:d.extend(),init:function(v){this.cfg=this.cfg.extend(v),this.reset()},reset:function(){y.reset.call(this),this._doReset()},update:function(v){return this._append(v),this._process(),this},finalize:function(v){v&&this._append(v);var m=this._doFinalize();return m},blockSize:16,_createHelper:function(v){return function(m,b){return new v.init(b).finalize(m)}},_createHmacHelper:function(v){return function(m,b){return new k.HMAC.init(v,b).finalize(m)}}});var k=c.algo={};return c}(Math);return n})}(Ih)),Ih.exports}(function(e,t){(function(n,r){e.exports=r(T9())})(ts,function(n){return n.enc.Utf8})})(C9);var PW=C9.exports;const A9=x9(PW);var O9={exports:{}};(function(e,t){(function(n,r){e.exports=r(T9())})(ts,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,s=r.enc;s.Base64={stringify:function(c){var u=c.words,d=c.sigBytes,f=this._map;c.clamp();for(var h=[],p=0;p<d;p+=3)for(var g=u[p>>>2]>>>24-p%4*8&255,w=u[p+1>>>2]>>>24-(p+1)%4*8&255,y=u[p+2>>>2]>>>24-(p+2)%4*8&255,k=g<<16|w<<8|y,v=0;v<4&&p+v*.75<d;v++)h.push(f.charAt(k>>>6*(3-v)&63));var m=f.charAt(64);if(m)for(;h.length%4;)h.push(m);return h.join("")},parse:function(c){var u=c.length,d=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var h=0;h<d.length;h++)f[d.charCodeAt(h)]=h}var p=d.charAt(64);if(p){var g=c.indexOf(p);g!==-1&&(u=g)}return l(c,u,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function l(c,u,d){for(var f=[],h=0,p=0;p<u;p++)if(p%4){var g=d[c.charCodeAt(p-1)]<<p%4*2,w=d[c.charCodeAt(p)]>>>6-p%4*2,y=g|w;f[h>>>2]|=y<<24-h%4*8,h++}return i.create(f,h)}}(),n.enc.Base64})})(O9);var LW=O9.exports;const B9=x9(LW);function FW(e){return B9.stringify(A9.parse(e))}function UW(e){try{return B9.parse(e).toString(A9)}catch(t){return console.error("Error al desencriptar",t),localStorage.removeItem("LOGIN_STORE"),""}}const I9=new WeakSet;function V9(e){if(I9.has(e))return e;const t=VW({stores:[{name:"LOGIN_STORE",storage:localStorage,ciphertext:!0}],encrypt:FW,decrypt:UW});return e.use(t),I9.add(e),e}function ZW(){const e=Cy();return V9(e)}const zW={install:(e,t)=>{t.useYupLocale&&oe.setLocale(k9),e.component("FgeLoginComponent",v9),e.component("FgePerfilMenuComponent",_9),e.component("FgePerfilSidebar",Bh),e.use(oF,{VITE_API_BASE_URL:window.location.href,VITE_API_APLICATION:t.aplicacion,VITE_API_MS_AGETIC:t.MS_AGETIC_URL,VITE_API_MS_AGETIC_FRONT:t.API_SERVER_REDIRECT,VITE_DEVELOPMENT_ENVIRONMENT:t.ENVIRONMENT||"DEV",VITE_API_AGETIC_ANUNCIOS:"https://www.facebook.com/story.php?story_fbid=999108625735075&id=100069078404748&mibextid=wwXIfr&rdid=Jl5hWv1li8tIYJ45"});const n=t.pinia?V9(t.pinia):ZW();e.use(n),et().setConfigs({newBaseURL:t.baseUrl,newIsRegister:t.isRegister||!1,newAplicacion:t.aplicacion,newBaseURLAuthNv:t.baseUrlAuthNv,newWebSocketUrl:t.MS_WEBSOCKET_URL,newWebSocketToken:t.TOKEN_WEBSOCKET??"",newRrhhUrl:t.rrhhUrl,verificarSiFuncionario:t.verificarSiFuncionario||!1,telegramBot:t.telegramBot??"fiscalia_bo_bot",systemVersion:t.systemVersion,enableChangePasswordMsg:t.ENABLE_CHANGE_PASSWORD,enableForceChangePassword:t.ENABLE_FORCE_CHANGE_PASSWORD,newDefaultRedirectPath:t.defaultRedirectPath}),Bw()}};Xe.FgeAuthMenuComponent=_9,Xe.FgeLoginComponent=v9,Xe.FgePerfilSidebar=Bh,Xe.InvalidRefreshResponseError=Kl,Xe.MissingRefreshTokenError=Nd,Xe.applyBearerTokenToConfig=as,Xe.attachAuthRefreshInterceptor=ip,Xe.clearRedirectUrl=g9,Xe.default=zW,Xe.getErrorRequestConfig=Ph,Xe.getRedirectUrl=m9,Xe.hasRedirectUrl=iz,Xe.isUnauthorizedError=Mh,Xe.saveRedirectUrl=p9,Xe.shouldSkipAuthRefresh=Lh,Xe.useFgeAuthLoginStore=et,Xe.useFgeAuthStateStore=qs,Object.defineProperties(Xe,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|