70 lines
312 KiB
JavaScript
70 lines
312 KiB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-Crbd1Tvi.js","assets/features-animation-BkV7kg8P.js","assets/gestures-BHfQC-M8.js","assets/react-vendor-jWT2yUdV.js","assets/qface-BZLvZXJ8.js","assets/react-hot-toast-cGcFZPSt.js","assets/react-router-dom-C6k78GT4.js","assets/web_login-CMycqFcX.js","assets/chunk-5PILOUBS-KHYNqMZE.js","assets/chunk-D5XJWRAV-DVN21qSw.js","assets/chunk-MLPFQTYO-DSnBqIsb.js","assets/index-BsnVex0g.js","assets/chunk-2QAN2V2R-B2qCPZrG.js","assets/chunk-SLABUSGS-Cmz8sGrU.js","assets/useFocusable-DA5Croun.js","assets/chunk-M3MASYO7-B4fjH-eW.js","assets/index-FvTxWQTZ.js","assets/iconBase-B7bT1FlI.js","assets/logo-kBMoCJob.js","assets/pure-XNiwTrk_.js","assets/chunk-EN4B57RQ-Ief8qCCd.js","assets/chunk-UX7UMZL5-CMHjUaC_.js","assets/useToggle-B3ZYBe5S.js","assets/usePress-BrNwsdVw.js","assets/icons-C0t6aNgu.js","assets/chunk-OPTZHMJX-CY9g90YL.js","assets/chunk-6LIX6LVT-B246pOuK.js","assets/chunk-WQVQ7P2I-BJd1EiqP.js","assets/useHover-DC1o5-bm.js","assets/proxy-BsRmjYPH.js","assets/layout-Buao20KT.js","assets/index-Dx1G_OVB.js","assets/chunk-B75B6XQK-aFCr8AK6.js","assets/chunk-FGM523TA-CgSvUh2a.js","assets/chunk-NAV3ZXLI-ChbUTMf0.js","assets/index-DE7yoXMZ.js","assets/chunk-IHO36JMK-DJPUeGG0.js","assets/chunk-RJKRL3AU-CjtrMR1U.js","assets/chunk-AXSF7SRE-Cr4elNVq.js","assets/index-DvErMbt6.js","assets/use-dialog-CRIMuzeE.js","assets/process_utils-Bjmp-2dU.js","assets/index-BBhZPeTB.js","assets/qq_manager-BfRTEAby.js","assets/qq_login-CEQa75PR.js","assets/chunk-ML27DD5T-ZFWrMOn-.js","assets/index-BV9-YCKp.js","assets/SelectionManager-Dl9uHsLK.js","assets/Item-D8Sud-UP.js","assets/index-D6HfLP9Q.js","assets/chunk-KVDW62ZT-CGYYmJoP.js","assets/DOMLayoutDelegate-DOgfSALU.js","assets/chunk-SXMLSBOY-NckgDZ9w.js","assets/chunk-KQ5CH2X7-DgF-_fDD.js","assets/chunk-2QQAR2RD-YG5LNmAk.js","assets/index-j_lE0ff_.js","assets/useRequest-B1BwPztr.js","assets/index-DPx4wqle.js","assets/chunk-J6JGI6RM-Djlxjgjl.js","assets/chunk-APIAPHLK-nGgOe_Nr.js","assets/index-_HIxriDC.js","assets/mirror_selector_modal-CyjkhfUx.js","assets/index-Bz8pD9tN.js","assets/use-config-Cu0QvgCe.js","assets/about-hJDPu37V.js","assets/index-BMgeCmqo.js","assets/react-hook-form-DTbqnRcd.js","assets/switch_card-5j4Yjx-K.js","assets/codemirror-core-782AVq39.js","assets/file_manager-BG19iFYW.js","assets/index-Mx73Ba53.js","assets/index-B7sEHDC8.js","assets/code_editor-TFSnOENo.js","assets/codemirror-lang-DFaD5e7G.js","assets/modal-CW_tV9ed.js","assets/modal-DqW0R8N9.css","assets/index-CNcy_3u9.js","assets/file_manager-DG9T_SkS.js","assets/index-CVa9XolR.js","assets/empty_state-BmDJmEaB.js","assets/logs-FVKktap5.js","assets/xterm-m1lN6Krd.js","assets/xterm-CFbL2ovg.css","assets/network-CV3GIG8e.js","assets/chunk-TE6SZS6W-DGowl7ka.js","assets/page_header-Dr2OAQrb.js","assets/terminal-RrXWbdeN.js","assets/plugin-y4YoZhit.js","assets/plugin_manager-OIjldREQ.js","assets/plugin_store-DB9s3Pf8.js","assets/extension-BuyZL8L1.js"])))=>i.map(i=>d[i]);
|
|
var Pu=Object.defineProperty;var ku=(e,t,r)=>t in e?Pu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var fi=(e,t,r)=>ku(e,typeof t!="symbol"?t+"":t,r);import{a as Ru,r as C,j as I,R as ae,$ as y0,b as Ou}from"./react-vendor-jWT2yUdV.js";import{F as Nu}from"./react-hot-toast-cGcFZPSt.js";import{u as E0,R as Lu,a as Me,B as Mu}from"./react-router-dom-C6k78GT4.js";import{a as Iu,c as To,g as Hu}from"./qface-BZLvZXJ8.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(o){if(o.ep)return;o.ep=!0;const a=r(o);fetch(o.href,a)}})();const ju="modulepreload",zu=function(e){return"/webui/"+e},di={},Pe=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){let i=function(c){return Promise.all(c.map(l=>Promise.resolve(l).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),u=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));o=i(r.map(c=>{if(c=zu(c),c in di)return;di[c]=!0;const l=c.endsWith(".css"),d=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${d}`))return;const f=document.createElement("link");if(f.rel=l?"stylesheet":ju,l||(f.as="script"),f.crossOrigin="",f.href=c,u&&f.setAttribute("nonce",u),document.head.appendChild(f),l)return new Promise((p,x)=>{f.addEventListener("load",p),f.addEventListener("error",()=>x(new Error(`Unable to preload CSS for ${c}`)))})}))}function a(i){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i}return o.then(i=>{for(const s of i||[])s.status==="rejected"&&a(s.reason);return t().catch(a)})};var Po={exports:{}},ko={};/**
|
|
* @license React
|
|
* use-sync-external-store-with-selector.production.js
|
|
*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/var xi;function Uu(){if(xi)return ko;xi=1;var e=Ru();function t(u,c){return u===c&&(u!==0||1/u===1/c)||u!==u&&c!==c}var r=typeof Object.is=="function"?Object.is:t,n=e.useSyncExternalStore,o=e.useRef,a=e.useEffect,i=e.useMemo,s=e.useDebugValue;return ko.useSyncExternalStoreWithSelector=function(u,c,l,d,f){var p=o(null);if(p.current===null){var x={hasValue:!1,value:null};p.current=x}else x=p.current;p=i(function(){function h(A){if(!w){if(w=!0,m=A,A=d(A),f!==void 0&&x.hasValue){var _=x.value;if(f(_,A))return g=_}return g=A}if(_=g,r(m,A))return _;var D=d(A);return f!==void 0&&f(_,D)?(m=A,_):(m=A,g=D)}var w=!1,m,g,y=l===void 0?null:l;return[function(){return h(c())},y===null?void 0:function(){return h(y())}]},[c,l,d,f]);var v=n(u,p[0],p[1]);return a(function(){x.hasValue=!0,x.value=v},[v]),s(v),v},ko}var pi;function Wu(){return pi||(pi=1,Po.exports=Uu()),Po.exports}var qu=Wu();function Vu(e){e()}function Ku(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Vu(()=>{let r=e;for(;r;)r.callback(),r=r.next})},get(){const r=[];let n=e;for(;n;)r.push(n),n=n.next;return r},subscribe(r){let n=!0;const o=t={callback:r,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){!n||e===null||(n=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}var hi={notify(){},get:()=>[]};function Gu(e,t){let r,n=hi,o=0,a=!1;function i(v){l();const h=n.subscribe(v);let w=!1;return()=>{w||(w=!0,h(),d())}}function s(){n.notify()}function u(){x.onStateChange&&x.onStateChange()}function c(){return a}function l(){o++,r||(r=e.subscribe(u),n=Ku())}function d(){o--,r&&o===0&&(r(),r=void 0,n.clear(),n=hi)}function f(){a||(a=!0,l())}function p(){a&&(a=!1,d())}const x={addNestedSub:i,notifyNestedSubs:s,handleChangeWrapper:u,isSubscribed:c,trySubscribe:f,tryUnsubscribe:p,getListeners:()=>n};return x}var Xu=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Yu=Xu(),Zu=()=>typeof navigator<"u"&&navigator.product==="ReactNative",Ju=Zu(),Qu=()=>Yu||Ju?C.useLayoutEffect:C.useEffect,ef=Qu(),Ro=Symbol.for("react-redux-context"),Oo=typeof globalThis<"u"?globalThis:{};function tf(){if(!C.createContext)return{};const e=Oo[Ro]??(Oo[Ro]=new Map);let t=e.get(C.createContext);return t||(t=C.createContext(null),e.set(C.createContext,t)),t}var _t=tf();function rf(e){const{children:t,context:r,serverState:n,store:o}=e,a=C.useMemo(()=>{const u=Gu(o);return{store:o,subscription:u,getServerState:n?()=>n:void 0}},[o,n]),i=C.useMemo(()=>o.getState(),[o]);ef(()=>{const{subscription:u}=a;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),i!==o.getState()&&u.notifyNestedSubs(),()=>{u.tryUnsubscribe(),u.onStateChange=void 0}},[a,i]);const s=r||_t;return C.createElement(s.Provider,{value:a},t)}var nf=rf;function La(e=_t){return function(){return C.useContext(e)}}var w0=La();function C0(e=_t){const t=e===_t?w0:La(e),r=()=>{const{store:n}=t();return n};return Object.assign(r,{withTypes:()=>r}),r}var of=C0();function af(e=_t){const t=e===_t?of:C0(e),r=()=>t().dispatch;return Object.assign(r,{withTypes:()=>r}),r}var Lm=af(),sf=(e,t)=>e===t;function cf(e=_t){const t=e===_t?w0:La(e),r=(n,o={})=>{const{equalityFn:a=sf}=typeof o=="function"?{equalityFn:o}:o,i=t(),{store:s,subscription:u,getServerState:c}=i;C.useRef(!0);const l=C.useCallback({[n.name](f){return n(f)}}[n.name],[n]),d=qu.useSyncExternalStoreWithSelector(u.addNestedSub,s.getState,c||s.getState,l,a);return C.useDebugValue(d),d};return Object.assign(r,{withTypes:()=>r}),r}var Mm=cf();const lf=()=>I.jsxs("div",{className:"fixed inset-0 w-full h-full -z-10 overflow-hidden bg-gradient-to-br from-[#fffafc] via-white to-[#f3f9fd] dark:from-[#0b0b12] dark:via-[#101019] dark:to-[#0a1015]",children:[I.jsx("div",{className:"sc-float-slow absolute -top-[14%] -left-[8%] w-[520px] h-[520px] rounded-full bg-primary-200/25 blur-[110px]"}),I.jsx("div",{className:"sc-float-slower absolute top-[16%] -right-[10%] w-[440px] h-[440px] rounded-full bg-secondary-200/25 blur-[100px]"}),I.jsx("div",{className:"sc-float-slow absolute -bottom-[16%] left-[22%] w-[600px] h-[600px] rounded-full bg-pink-200/20 blur-[120px] dark:bg-primary-900/20"}),I.jsx("div",{className:"absolute inset-0 opacity-[0.35] dark:opacity-[0.18]",style:{backgroundImage:"linear-gradient(to right, rgba(148,163,184,0.10) 1px, transparent 1px), linear-gradient(to bottom, rgba(148,163,184,0.10) 1px, transparent 1px)",backgroundSize:"44px 44px",maskImage:"radial-gradient(circle at 50% 30%, black 0%, transparent 78%)",WebkitMaskImage:"radial-gradient(circle at 50% 30%, black 0%, transparent 78%)"}}),I.jsx("div",{className:"absolute inset-x-0 top-0 h-40 bg-gradient-to-b from-white/70 to-transparent dark:from-white/[0.04]"})]});function sr(e){return C.forwardRef(e)}var $0=(e,t,r=!0)=>{if(!t)return[e,{}];const n=t.reduce((o,a)=>a in e?{...o,[a]:e[a]}:o,{});return r?[Object.keys(e).filter(a=>!t.includes(a)).reduce((a,i)=>({...a,[i]:e[i]}),{}),n]:[e,n]},Wr=["small","medium","large"],vi={theme:{opacity:["disabled"],spacing:["divider"],borderWidth:Wr,borderRadius:Wr},classGroups:{shadow:[{shadow:Wr}],"font-size":[{text:["tiny",...Wr]}],"bg-image":["bg-stripe-gradient-default","bg-stripe-gradient-primary","bg-stripe-gradient-secondary","bg-stripe-gradient-success","bg-stripe-gradient-warning","bg-stripe-gradient-danger"]}},bi=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,qe=e=>!e||typeof e!="object"||Object.keys(e).length===0,uf=(e,t)=>JSON.stringify(e)===JSON.stringify(t);function A0(e,t){e.forEach(function(r){Array.isArray(r)?A0(r,t):t.push(r)})}function S0(e){let t=[];return A0(e,t),t}var B0=(...e)=>S0(e).filter(Boolean),_0=(e,t)=>{let r={},n=Object.keys(e),o=Object.keys(t);for(let a of n)if(o.includes(a)){let i=e[a],s=t[a];typeof i=="object"&&typeof s=="object"?r[a]=_0(i,s):Array.isArray(i)||Array.isArray(s)?r[a]=B0(s,i):r[a]=s+" "+i}else r[a]=e[a];for(let a of o)n.includes(a)||(r[a]=t[a]);return r},gi=e=>!e||typeof e!="string"?e:e.replace(/\s+/g," ").trim();function ff(){for(var e=0,t,r,n="";e<arguments.length;)(t=arguments[e++])&&(r=F0(t))&&(n&&(n+=" "),n+=r);return n}function F0(e){if(typeof e=="string")return e;for(var t,r="",n=0;n<e.length;n++)e[n]&&(t=F0(e[n]))&&(r&&(r+=" "),r+=t);return r}var Ma="-";function df(e){var t=pf(e),r=e.conflictingClassGroups,n=e.conflictingClassGroupModifiers,o=n===void 0?{}:n;function a(s){var u=s.split(Ma);return u[0]===""&&u.length!==1&&u.shift(),D0(u,t)||xf(s)}function i(s,u){var c=r[s]||[];return u&&o[s]?[].concat(c,o[s]):c}return{getClassGroupId:a,getConflictingClassGroupIds:i}}function D0(e,t){var i;if(e.length===0)return t.classGroupId;var r=e[0],n=t.nextPart.get(r),o=n?D0(e.slice(1),n):void 0;if(o)return o;if(t.validators.length!==0){var a=e.join(Ma);return(i=t.validators.find(function(s){var u=s.validator;return u(a)}))==null?void 0:i.classGroupId}}var mi=/^\[(.+)\]$/;function xf(e){if(mi.test(e)){var t=mi.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}function pf(e){var t=e.theme,r=e.prefix,n={nextPart:new Map,validators:[]},o=vf(Object.entries(e.classGroups),r);return o.forEach(function(a){var i=a[0],s=a[1];ta(s,n,i,t)}),n}function ta(e,t,r,n){e.forEach(function(o){if(typeof o=="string"){var a=o===""?t:yi(t,o);a.classGroupId=r;return}if(typeof o=="function"){if(hf(o)){ta(o(n),t,r,n);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(function(i){var s=i[0],u=i[1];ta(u,yi(t,s),r,n)})})}function yi(e,t){var r=e;return t.split(Ma).forEach(function(n){r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r}function hf(e){return e.isThemeGetter}function vf(e,t){return t?e.map(function(r){var n=r[0],o=r[1],a=o.map(function(i){return typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(function(s){var u=s[0],c=s[1];return[t+u,c]})):i});return[n,a]}):e}function bf(e){if(e<1)return{get:function(){},set:function(){}};var t=0,r=new Map,n=new Map;function o(a,i){r.set(a,i),t++,t>e&&(t=0,n=r,r=new Map)}return{get:function(i){var s=r.get(i);if(s!==void 0)return s;if((s=n.get(i))!==void 0)return o(i,s),s},set:function(i,s){r.has(i)?r.set(i,s):o(i,s)}}}var T0="!";function gf(e){var t=e.separator||":",r=t.length===1,n=t[0],o=t.length;return function(i){for(var s=[],u=0,c=0,l,d=0;d<i.length;d++){var f=i[d];if(u===0){if(f===n&&(r||i.slice(d,d+o)===t)){s.push(i.slice(c,d)),c=d+o;continue}if(f==="/"){l=d;continue}}f==="["?u++:f==="]"&&u--}var p=s.length===0?i:i.substring(c),x=p.startsWith(T0),v=x?p.substring(1):p,h=l&&l>c?l-c:void 0;return{modifiers:s,hasImportantModifier:x,baseClassName:v,maybePostfixModifierPosition:h}}}function mf(e){if(e.length<=1)return e;var t=[],r=[];return e.forEach(function(n){var o=n[0]==="[";o?(t.push.apply(t,r.sort().concat([n])),r=[]):r.push(n)}),t.push.apply(t,r.sort()),t}function yf(e){return{cache:bf(e.cacheSize),splitModifiers:gf(e),...df(e)}}var Ef=/\s+/;function wf(e,t){var r=t.splitModifiers,n=t.getClassGroupId,o=t.getConflictingClassGroupIds,a=new Set;return e.trim().split(Ef).map(function(i){var s=r(i),u=s.modifiers,c=s.hasImportantModifier,l=s.baseClassName,d=s.maybePostfixModifierPosition,f=n(d?l.substring(0,d):l),p=!!d;if(!f){if(!d)return{isTailwindClass:!1,originalClassName:i};if(f=n(l),!f)return{isTailwindClass:!1,originalClassName:i};p=!1}var x=mf(u).join(":"),v=c?x+T0:x;return{isTailwindClass:!0,modifierId:v,classGroupId:f,originalClassName:i,hasPostfixModifier:p}}).reverse().filter(function(i){if(!i.isTailwindClass)return!0;var s=i.modifierId,u=i.classGroupId,c=i.hasPostfixModifier,l=s+u;return a.has(l)?!1:(a.add(l),o(u,c).forEach(function(d){return a.add(s+d)}),!0)}).reverse().map(function(i){return i.originalClassName}).join(" ")}function ra(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o,a,i=s;function s(c){var l=t[0],d=t.slice(1),f=d.reduce(function(p,x){return x(p)},l());return n=yf(f),o=n.cache.get,a=n.cache.set,i=u,u(c)}function u(c){var l=o(c);if(l)return l;var d=wf(c,n);return a(c,d),d}return function(){return i(ff.apply(null,arguments))}}function ge(e){var t=function(n){return n[e]||[]};return t.isThemeGetter=!0,t}var P0=/^\[(?:([a-z-]+):)?(.+)\]$/i,Cf=/^\d+\/\d+$/,$f=new Set(["px","full","screen"]),Af=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Sf=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Bf=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function Qe(e){return Ot(e)||$f.has(e)||Cf.test(e)||na(e)}function na(e){return qt(e,"length",kf)}function _f(e){return qt(e,"size",k0)}function Ff(e){return qt(e,"position",k0)}function Df(e){return qt(e,"url",Rf)}function qr(e){return qt(e,"number",Ot)}function Ot(e){return!Number.isNaN(Number(e))}function Tf(e){return e.endsWith("%")&&Ot(e.slice(0,-1))}function dr(e){return Ei(e)||qt(e,"number",Ei)}function ce(e){return P0.test(e)}function xr(){return!0}function yt(e){return Af.test(e)}function Pf(e){return qt(e,"",Of)}function qt(e,t,r){var n=P0.exec(e);return n?n[1]?n[1]===t:r(n[2]):!1}function kf(e){return Sf.test(e)}function k0(){return!1}function Rf(e){return e.startsWith("url(")}function Ei(e){return Number.isInteger(Number(e))}function Of(e){return Bf.test(e)}function oa(){var e=ge("colors"),t=ge("spacing"),r=ge("blur"),n=ge("brightness"),o=ge("borderColor"),a=ge("borderRadius"),i=ge("borderSpacing"),s=ge("borderWidth"),u=ge("contrast"),c=ge("grayscale"),l=ge("hueRotate"),d=ge("invert"),f=ge("gap"),p=ge("gradientColorStops"),x=ge("gradientColorStopPositions"),v=ge("inset"),h=ge("margin"),w=ge("opacity"),m=ge("padding"),g=ge("saturate"),y=ge("scale"),A=ge("sepia"),_=ge("skew"),D=ge("space"),b=ge("translate"),k=function(){return["auto","contain","none"]},F=function(){return["auto","hidden","clip","visible","scroll"]},S=function(){return["auto",ce,t]},B=function(){return[ce,t]},$=function(){return["",Qe]},O=function(){return["auto",Ot,ce]},P=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},H=function(){return["solid","dashed","dotted","double","none"]},W=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},j=function(){return["start","end","center","between","around","evenly","stretch"]},q=function(){return["","0",ce]},Z=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},E=function(){return[Ot,qr]},T=function(){return[Ot,ce]};return{cacheSize:500,theme:{colors:[xr],spacing:[Qe],blur:["none","",yt,ce],brightness:E(),borderColor:[e],borderRadius:["none","","full",yt,ce],borderSpacing:B(),borderWidth:$(),contrast:E(),grayscale:q(),hueRotate:T(),invert:q(),gap:B(),gradientColorStops:[e],gradientColorStopPositions:[Tf,na],inset:S(),margin:S(),opacity:E(),padding:B(),saturate:E(),scale:E(),sepia:q(),skew:T(),space:B(),translate:B()},classGroups:{aspect:[{aspect:["auto","square","video",ce]}],container:["container"],columns:[{columns:[yt]}],"break-after":[{"break-after":Z()}],"break-before":[{"break-before":Z()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(P(),[ce])}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",dr]}],basis:[{basis:S()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ce]}],grow:[{grow:q()}],shrink:[{shrink:q()}],order:[{order:["first","last","none",dr]}],"grid-cols":[{"grid-cols":[xr]}],"col-start-end":[{col:["auto",{span:["full",dr]},ce]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[xr]}],"row-start-end":[{row:["auto",{span:[dr]},ce]}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ce]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ce]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal"].concat(j())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(j(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(j(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[D]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[D]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",ce,t]}],"min-w":[{"min-w":["min","max","fit",ce,Qe]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[yt]},yt,ce]}],h:[{h:[ce,t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",ce,Qe]}],"max-h":[{"max-h":[ce,t,"min","max","fit"]}],"font-size":[{text:["base",yt,na]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",qr]}],"font-family":[{font:[xr]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ce]}],"line-clamp":[{"line-clamp":["none",Ot,qr]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ce,Qe]}],"list-image":[{"list-image":["none",ce]}],"list-style-type":[{list:["none","disc","decimal",ce]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(H(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",Qe]}],"underline-offset":[{"underline-offset":["auto",ce,Qe]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:B()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ce]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ce]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(P(),[Ff])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",_f]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Df]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[].concat(H(),["hidden"])}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:H()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:[""].concat(H())}],"outline-offset":[{"outline-offset":[ce,Qe]}],"outline-w":[{outline:[Qe]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[Qe]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",yt,Pf]}],"shadow-color":[{shadow:[xr]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":W()}],"bg-blend":[{"bg-blend":W()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",yt,ce]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[l]}],invert:[{invert:[d]}],saturate:[{saturate:[g]}],sepia:[{sepia:[A]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[l]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[g]}],"backdrop-sepia":[{"backdrop-sepia":[A]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ce]}],duration:[{duration:T()}],ease:[{ease:["linear","in","out","in-out",ce]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",ce]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[y]}],"scale-x":[{"scale-x":[y]}],"scale-y":[{"scale-y":[y]}],rotate:[{rotate:[dr,ce]}],"translate-x":[{"translate-x":[b]}],"translate-y":[{"translate-y":[b]}],"skew-x":[{"skew-x":[_]}],"skew-y":[{"skew-y":[_]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ce]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ce]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":B()}],"scroll-mx":[{"scroll-mx":B()}],"scroll-my":[{"scroll-my":B()}],"scroll-ms":[{"scroll-ms":B()}],"scroll-me":[{"scroll-me":B()}],"scroll-mt":[{"scroll-mt":B()}],"scroll-mr":[{"scroll-mr":B()}],"scroll-mb":[{"scroll-mb":B()}],"scroll-ml":[{"scroll-ml":B()}],"scroll-p":[{"scroll-p":B()}],"scroll-px":[{"scroll-px":B()}],"scroll-py":[{"scroll-py":B()}],"scroll-ps":[{"scroll-ps":B()}],"scroll-pe":[{"scroll-pe":B()}],"scroll-pt":[{"scroll-pt":B()}],"scroll-pr":[{"scroll-pr":B()}],"scroll-pb":[{"scroll-pb":B()}],"scroll-pl":[{"scroll-pl":B()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ce]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Qe,qr]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}function Nf(e,t){for(var r in t)R0(e,r,t[r]);return e}var Lf=Object.prototype.hasOwnProperty,Mf=new Set(["string","number","boolean"]);function R0(e,t,r){if(!Lf.call(e,t)||Mf.has(typeof r)||r===null){e[t]=r;return}if(Array.isArray(r)&&Array.isArray(e[t])){e[t]=e[t].concat(r);return}if(typeof r=="object"&&typeof e[t]=="object"){if(e[t]===null){e[t]=r;return}for(var n in r)R0(e[t],n,r[n])}}function If(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return typeof e=="function"?ra.apply(void 0,[oa,e].concat(r)):ra.apply(void 0,[function(){return Nf(oa(),e)}].concat(r))}var Hf=ra(oa),jf={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},O0=e=>e||void 0,Sr=(...e)=>O0(S0(e).filter(Boolean).join(" ")),No=null,Vn={},aa=!1,pr=(...e)=>t=>t.twMerge?((!No||aa)&&(aa=!1,No=qe(Vn)?Hf:If(Vn)),O0(No(Sr(e)))):Sr(e),wi=(e,t)=>{for(let r in t)e.hasOwnProperty(r)?e[r]=Sr(e[r],t[r]):e[r]=t[r];return e},zf=(e,t)=>{let{extend:r=null,slots:n={},variants:o={},compoundVariants:a=[],compoundSlots:i=[],defaultVariants:s={}}=e,u={...jf,...t},c=r!=null&&r.base?Sr(r.base,e==null?void 0:e.base):e==null?void 0:e.base,l=r!=null&&r.variants&&!qe(r.variants)?_0(o,r.variants):o,d=r!=null&&r.defaultVariants&&!qe(r.defaultVariants)?{...r.defaultVariants,...s}:s;!qe(u.twMergeConfig)&&!uf(u.twMergeConfig,Vn)&&(aa=!0,Vn=u.twMergeConfig);let f=qe(r==null?void 0:r.slots),p=qe(n)?{}:{base:Sr(e==null?void 0:e.base,f&&(r==null?void 0:r.base)),...n},x=f?p:wi({...r==null?void 0:r.slots},qe(p)?{base:e==null?void 0:e.base}:p),v=w=>{if(qe(l)&&qe(n)&&f)return pr(c,w==null?void 0:w.class,w==null?void 0:w.className)(u);if(a&&!Array.isArray(a))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof a}`);if(i&&!Array.isArray(i))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof i}`);let m=(B,$,O=[],P)=>{let H=O;if(typeof $=="string")H=H.concat(gi($).split(" ").map(W=>`${B}:${W}`));else if(Array.isArray($))H=H.concat($.reduce((W,j)=>W.concat(`${B}:${j}`),[]));else if(typeof $=="object"&&typeof P=="string"){for(let W in $)if($.hasOwnProperty(W)&&W===P){let j=$[W];if(j&&typeof j=="string"){let q=gi(j);H[P]?H[P]=H[P].concat(q.split(" ").map(Z=>`${B}:${Z}`)):H[P]=q.split(" ").map(Z=>`${B}:${Z}`)}else Array.isArray(j)&&j.length>0&&(H[P]=j.reduce((q,Z)=>q.concat(`${B}:${Z}`),[]))}}return H},g=(B,$=l,O=null,P=null)=>{var H;let W=$[B];if(!W||qe(W))return null;let j=(H=P==null?void 0:P[B])!=null?H:w==null?void 0:w[B];if(j===null)return null;let q=bi(j),Z=Array.isArray(u.responsiveVariants)&&u.responsiveVariants.length>0||u.responsiveVariants===!0,E=d==null?void 0:d[B],T=[];if(typeof q=="object"&&Z)for(let[L,V]of Object.entries(q)){let Y=W[V];if(L==="initial"){E=V;continue}Array.isArray(u.responsiveVariants)&&!u.responsiveVariants.includes(L)||(T=m(L,Y,T,O))}let R=W[q]||W[bi(E)];return typeof T=="object"&&typeof O=="string"&&T[O]?wi(T,R):T.length>0?(T.push(R),T):R},y=()=>l?Object.keys(l).map(B=>g(B,l)):null,A=(B,$)=>{if(!l||typeof l!="object")return null;let O=new Array;for(let P in l){let H=g(P,l,B,$),W=B==="base"&&typeof H=="string"?H:H&&H[B];W&&(O[O.length]=W)}return O},_={};for(let B in w)w[B]!==void 0&&(_[B]=w[B]);let D=(B,$)=>{var O;let P=typeof(w==null?void 0:w[B])=="object"?{[B]:(O=w[B])==null?void 0:O.initial}:{};return{...d,..._,...P,...$}},b=(B=[],$)=>{let O=[];for(let{class:P,className:H,...W}of B){let j=!0;for(let[q,Z]of Object.entries(W)){let E=D(q,$);if(Array.isArray(Z)){if(!Z.includes(E[q])){j=!1;break}}else if(E[q]!==Z){j=!1;break}}j&&(P&&O.push(P),H&&O.push(H))}return O},k=B=>{let $=b(a,B),O=b(r==null?void 0:r.compoundVariants,B);return B0(O,$)},F=B=>{let $=k(B);if(!Array.isArray($))return $;let O={};for(let P of $)if(typeof P=="string"&&(O.base=pr(O.base,P)(u)),typeof P=="object")for(let[H,W]of Object.entries(P))O[H]=pr(O[H],W)(u);return O},S=B=>{if(i.length<1)return null;let $={};for(let{slots:O=[],class:P,className:H,...W}of i){if(!qe(W)){let j=!0;for(let q of Object.keys(W)){let Z=D(q,B)[q];if(Z===void 0||(Array.isArray(W[q])?!W[q].includes(Z):W[q]!==Z)){j=!1;break}}if(!j)continue}for(let j of O)$[j]=$[j]||[],$[j].push([P,H])}return $};if(!qe(n)||!f){let B={};if(typeof x=="object"&&!qe(x))for(let $ of Object.keys(x))B[$]=O=>{var P,H;return pr(x[$],A($,O),((P=F(O))!=null?P:[])[$],((H=S(O))!=null?H:[])[$],O==null?void 0:O.class,O==null?void 0:O.className)(u)};return B}return pr(c,y(),k(),w==null?void 0:w.class,w==null?void 0:w.className)(u)},h=()=>{if(!(!l||typeof l!="object"))return Object.keys(l)};return v.variantKeys=h(),v.extend=r,v.base=c,v.slots=x,v.variants=l,v.defaultVariants=d,v.compoundSlots=i,v.compoundVariants=a,v},io=(e,t)=>{var r,n,o;return zf(e,{...t,twMerge:(r=void 0)!=null?r:!0,twMergeConfig:{theme:{...(n=void 0)==null?void 0:n.theme,...vi.theme},classGroups:{...(o=void 0)==null?void 0:o.classGroups,...vi.classGroups}}})},Ci=io({slots:{base:"relative inline-flex flex-col gap-2 items-center justify-center",wrapper:"relative flex",circle1:["absolute","w-full","h-full","rounded-full","animate-spinner-ease-spin","border-2","border-solid","border-t-transparent","border-l-transparent","border-r-transparent"],circle2:["absolute","w-full","h-full","rounded-full","opacity-75","animate-spinner-linear-spin","border-2","border-dotted","border-t-transparent","border-l-transparent","border-r-transparent"],label:"text-foreground dark:text-foreground-dark font-regular"},variants:{size:{sm:{wrapper:"w-5 h-5",circle1:"border-2",circle2:"border-2",label:"text-small"},md:{wrapper:"w-8 h-8",circle1:"border-3",circle2:"border-3",label:"text-medium"},lg:{wrapper:"w-10 h-10",circle1:"border-3",circle2:"border-3",label:"text-large"}},color:{current:{circle1:"border-b-current",circle2:"border-b-current"},white:{circle1:"border-b-white",circle2:"border-b-white"},default:{circle1:"border-b-default",circle2:"border-b-default"},primary:{circle1:"border-b-primary",circle2:"border-b-primary"},secondary:{circle1:"border-b-secondary",circle2:"border-b-secondary"},success:{circle1:"border-b-success",circle2:"border-b-success"},warning:{circle1:"border-b-warning",circle2:"border-b-warning"},danger:{circle1:"border-b-danger",circle2:"border-b-danger"}},labelColor:{foreground:{label:"text-foreground"},primary:{label:"text-primary"},secondary:{label:"text-secondary"},success:{label:"text-success"},warning:{label:"text-warning"},danger:{label:"text-danger"}}},defaultVariants:{size:"md",color:"primary",labelColor:"foreground"}}),N0=["outline-none","data-[focus-visible=true]:z-10","data-[focus-visible=true]:outline-2","data-[focus-visible=true]:outline-focus","data-[focus-visible=true]:outline-offset-2"],Im=["outline-none","group-data-[focus-visible=true]:z-10","group-data-[focus-visible=true]:ring-2","group-data-[focus-visible=true]:ring-focus","group-data-[focus-visible=true]:ring-offset-2","group-data-[focus-visible=true]:ring-offset-background"],Hm=["outline-none","ring-2","ring-focus","ring-offset-2","ring-offset-background"],jm=["absolute","top-1/2","left-1/2","-translate-x-1/2","-translate-y-1/2"],Yt={default:["[&+.border-medium.border-default]:ms-[calc(theme(borderWidth.medium)*-1)]"],primary:["[&+.border-medium.border-primary]:ms-[calc(theme(borderWidth.medium)*-1)]"],secondary:["[&+.border-medium.border-secondary]:ms-[calc(theme(borderWidth.medium)*-1)]"],success:["[&+.border-medium.border-success]:ms-[calc(theme(borderWidth.medium)*-1)]"],warning:["[&+.border-medium.border-warning]:ms-[calc(theme(borderWidth.medium)*-1)]"],danger:["[&+.border-medium.border-danger]:ms-[calc(theme(borderWidth.medium)*-1)]"]},zm=["[--cursor-hit-x:8px]","font-inherit","text-[100%]","leading-[1.15]","m-0","p-0","overflow-visible","box-border","absolute","top-0","start-[calc(var(--cursor-hit-x)*-1)]","w-[calc(100%+var(--cursor-hit-x)*2)]","h-full","opacity-[0.0001]","z-[1]","cursor-pointer","disabled:cursor-default"],Uf={default:"bg-default text-default-foreground",primary:"bg-primary text-primary-foreground",secondary:"bg-secondary text-secondary-foreground",success:"bg-success text-success-foreground",warning:"bg-warning text-warning-foreground",danger:"bg-danger text-danger-foreground",foreground:"bg-foreground text-background"},Wf={default:"shadow-lg shadow-default/50 bg-default text-default-foreground",primary:"shadow-lg shadow-primary/40 bg-primary text-primary-foreground",secondary:"shadow-lg shadow-secondary/40 bg-secondary text-secondary-foreground",success:"shadow-lg shadow-success/40 bg-success text-success-foreground",warning:"shadow-lg shadow-warning/40 bg-warning text-warning-foreground",danger:"shadow-lg shadow-danger/40 bg-danger text-danger-foreground"},qf={default:"bg-transparent border-default text-foreground",primary:"bg-transparent border-primary text-primary",secondary:"bg-transparent border-secondary text-secondary",success:"bg-transparent border-success text-success",warning:"bg-transparent border-warning text-warning",danger:"bg-transparent border-danger text-danger"},Vf={default:"bg-default/40 text-default-700",primary:"bg-primary/20 text-primary-600",secondary:"bg-secondary/20 text-secondary-600",success:"bg-success/20 text-success-700 dark:text-success",warning:"bg-warning/20 text-warning-700 dark:text-warning",danger:"bg-danger/20 text-danger-600 dark:text-danger-500"},Kf={default:"border-default bg-default-100 text-default-foreground",primary:"border-default bg-default-100 text-primary",secondary:"border-default bg-default-100 text-secondary",success:"border-default bg-default-100 text-success",warning:"border-default bg-default-100 text-warning",danger:"border-default bg-default-100 text-danger"},Gf={default:"bg-transparent text-default-foreground",primary:"bg-transparent text-primary",secondary:"bg-transparent text-secondary",success:"bg-transparent text-success",warning:"bg-transparent text-warning",danger:"bg-transparent text-danger"},Xf={default:"border-default text-default-foreground",primary:"border-primary text-primary",secondary:"border-secondary text-secondary",success:"border-success text-success",warning:"border-warning text-warning",danger:"border-danger text-danger"},ne={solid:Uf,shadow:Wf,bordered:qf,flat:Vf,faded:Kf,light:Gf,ghost:Xf},$i=io({slots:{wrapper:["flex","w-screen","h-[100dvh]","fixed","inset-0","z-50","overflow-x-auto","justify-center","h-[--visual-viewport-height]"],base:["flex","flex-col","relative","bg-white","z-50","w-full","box-border","bg-content1","outline-none","mx-1","my-1","sm:mx-6","sm:my-16"],backdrop:"z-50",header:"flex py-4 px-6 flex-initial text-large font-semibold",body:"flex flex-1 flex-col gap-3 px-6 py-2",footer:"flex flex-row gap-2 px-6 py-4 justify-end",closeButton:["absolute","appearance-none","outline-none","select-none","top-1","end-1","p-2","text-foreground-500","rounded-full","hover:bg-default-100","active:bg-default-200","tap-highlight-transparent",...N0]},variants:{size:{xs:{base:"max-w-xs"},sm:{base:"max-w-sm"},md:{base:"max-w-md"},lg:{base:"max-w-lg"},xl:{base:"max-w-xl"},"2xl":{base:"max-w-2xl"},"3xl":{base:"max-w-3xl"},"4xl":{base:"max-w-4xl"},"5xl":{base:"max-w-5xl"},full:{base:"my-0 mx-0 sm:mx-0 sm:my-0 max-w-full h-[100dvh] min-h-[100dvh] !rounded-none"}},radius:{none:{base:"rounded-none"},sm:{base:"rounded-small"},md:{base:"rounded-medium"},lg:{base:"rounded-large"}},placement:{auto:{wrapper:"items-end sm:items-center"},center:{wrapper:"items-center sm:items-center"},top:{wrapper:"items-start sm:items-start"},"top-center":{wrapper:"items-start sm:items-center"},bottom:{wrapper:"items-end sm:items-end"},"bottom-center":{wrapper:"items-end sm:items-center"}},shadow:{none:{base:"shadow-none"},sm:{base:"shadow-small"},md:{base:"shadow-medium"},lg:{base:"shadow-large"}},backdrop:{transparent:{backdrop:"hidden"},opaque:{backdrop:"bg-overlay/50 backdrop-opacity-disabled"},blur:{backdrop:"backdrop-blur-md backdrop-saturate-150 bg-overlay/30"}},scrollBehavior:{normal:{base:"overflow-y-hidden"},inside:{base:"max-h-[calc(100%_-_8rem)]",body:"overflow-y-auto"},outside:{wrapper:"items-start sm:items-start overflow-y-auto",base:"my-16"}},disableAnimation:{false:{wrapper:["[--scale-enter:100%]","[--scale-exit:100%]","[--slide-enter:0px]","[--slide-exit:80px]","sm:[--scale-enter:100%]","sm:[--scale-exit:103%]","sm:[--slide-enter:0px]","sm:[--slide-exit:0px]"]}}},defaultVariants:{size:"md",radius:"lg",shadow:"sm",placement:"auto",backdrop:"opaque",scrollBehavior:"normal"},compoundVariants:[{backdrop:["opaque","blur"],class:{backdrop:"w-screen h-screen fixed inset-0"}}]}),Yf=io({base:["z-0","group","relative","inline-flex","items-center","justify-center","box-border","appearance-none","outline-none","select-none","whitespace-nowrap","min-w-max","font-normal","subpixel-antialiased","overflow-hidden","tap-highlight-transparent","data-[pressed=true]:scale-[0.97]",...N0],variants:{variant:{solid:"",bordered:"border-medium bg-transparent",light:"bg-transparent",flat:"",faded:"border-medium",shadow:"",ghost:"border-medium bg-transparent"},size:{sm:"px-3 min-w-16 h-8 text-tiny gap-2 rounded-small",md:"px-4 min-w-20 h-10 text-small gap-2 rounded-medium",lg:"px-6 min-w-24 h-12 text-medium gap-3 rounded-large"},color:{default:"",primary:"",secondary:"",success:"",warning:"",danger:""},radius:{none:"rounded-none",sm:"rounded-small",md:"rounded-medium",lg:"rounded-large",full:"rounded-full"},fullWidth:{true:"w-full"},isDisabled:{true:"opacity-disabled pointer-events-none"},isInGroup:{true:"[&:not(:first-child):not(:last-child)]:rounded-none"},isIconOnly:{true:"px-0 !gap-0",false:"[&>svg]:max-w-[theme(spacing.8)]"},disableAnimation:{true:"!transition-none data-[pressed=true]:scale-100",false:"transition-transform-colors-opacity motion-reduce:transition-none"}},defaultVariants:{size:"md",variant:"solid",color:"default",fullWidth:!1,isDisabled:!1,isInGroup:!1},compoundVariants:[{variant:"solid",color:"default",class:ne.solid.default},{variant:"solid",color:"primary",class:ne.solid.primary},{variant:"solid",color:"secondary",class:ne.solid.secondary},{variant:"solid",color:"success",class:ne.solid.success},{variant:"solid",color:"warning",class:ne.solid.warning},{variant:"solid",color:"danger",class:ne.solid.danger},{variant:"shadow",color:"default",class:ne.shadow.default},{variant:"shadow",color:"primary",class:ne.shadow.primary},{variant:"shadow",color:"secondary",class:ne.shadow.secondary},{variant:"shadow",color:"success",class:ne.shadow.success},{variant:"shadow",color:"warning",class:ne.shadow.warning},{variant:"shadow",color:"danger",class:ne.shadow.danger},{variant:"bordered",color:"default",class:ne.bordered.default},{variant:"bordered",color:"primary",class:ne.bordered.primary},{variant:"bordered",color:"secondary",class:ne.bordered.secondary},{variant:"bordered",color:"success",class:ne.bordered.success},{variant:"bordered",color:"warning",class:ne.bordered.warning},{variant:"bordered",color:"danger",class:ne.bordered.danger},{variant:"flat",color:"default",class:ne.flat.default},{variant:"flat",color:"primary",class:ne.flat.primary},{variant:"flat",color:"secondary",class:ne.flat.secondary},{variant:"flat",color:"success",class:ne.flat.success},{variant:"flat",color:"warning",class:ne.flat.warning},{variant:"flat",color:"danger",class:ne.flat.danger},{variant:"faded",color:"default",class:ne.faded.default},{variant:"faded",color:"primary",class:ne.faded.primary},{variant:"faded",color:"secondary",class:ne.faded.secondary},{variant:"faded",color:"success",class:ne.faded.success},{variant:"faded",color:"warning",class:ne.faded.warning},{variant:"faded",color:"danger",class:ne.faded.danger},{variant:"light",color:"default",class:[ne.light.default,"data-[hover=true]:bg-default/40"]},{variant:"light",color:"primary",class:[ne.light.primary,"data-[hover=true]:bg-primary/20"]},{variant:"light",color:"secondary",class:[ne.light.secondary,"data-[hover=true]:bg-secondary/20"]},{variant:"light",color:"success",class:[ne.light.success,"data-[hover=true]:bg-success/20"]},{variant:"light",color:"warning",class:[ne.light.warning,"data-[hover=true]:bg-warning/20"]},{variant:"light",color:"danger",class:[ne.light.danger,"data-[hover=true]:bg-danger/20"]},{variant:"ghost",color:"default",class:[ne.ghost.default,"data-[hover=true]:!bg-default"]},{variant:"ghost",color:"primary",class:[ne.ghost.primary,"data-[hover=true]:!bg-primary data-[hover=true]:!text-primary-foreground"]},{variant:"ghost",color:"secondary",class:[ne.ghost.secondary,"data-[hover=true]:!bg-secondary data-[hover=true]:!text-secondary-foreground"]},{variant:"ghost",color:"success",class:[ne.ghost.success,"data-[hover=true]:!bg-success data-[hover=true]:!text-success-foreground"]},{variant:"ghost",color:"warning",class:[ne.ghost.warning,"data-[hover=true]:!bg-warning data-[hover=true]:!text-warning-foreground"]},{variant:"ghost",color:"danger",class:[ne.ghost.danger,"data-[hover=true]:!bg-danger data-[hover=true]:!text-danger-foreground"]},{isInGroup:!0,class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,size:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,isRounded:!0,class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,radius:"none",class:"rounded-none first:rounded-s-none last:rounded-e-none"},{isInGroup:!0,radius:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,radius:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,radius:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,radius:"full",class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,variant:["ghost","bordered"],color:"default",className:Yt.default},{isInGroup:!0,variant:["ghost","bordered"],color:"primary",className:Yt.primary},{isInGroup:!0,variant:["ghost","bordered"],color:"secondary",className:Yt.secondary},{isInGroup:!0,variant:["ghost","bordered"],color:"success",className:Yt.success},{isInGroup:!0,variant:["ghost","bordered"],color:"warning",className:Yt.warning},{isInGroup:!0,variant:["ghost","bordered"],color:"danger",className:Yt.danger},{isIconOnly:!0,size:"sm",class:"min-w-8 w-8 h-8"},{isIconOnly:!0,size:"md",class:"min-w-10 w-10 h-10"},{isIconOnly:!0,size:"lg",class:"min-w-12 w-12 h-12"},{variant:["solid","faded","flat","bordered","shadow"],class:"data-[hover=true]:opacity-hover"}]}),Um=io({base:"inline-flex items-center justify-center h-auto",variants:{fullWidth:{true:"w-full"}},defaultVariants:{fullWidth:!1}});function Ia(e){return Array.isArray(e)}function Zf(e){return Ia(e)&&e.length===0}function L0(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Ia(e)}function Jf(e){return L0(e)&&Object.keys(e).length===0}function Wm(e){return Ia(e)?Zf(e):L0(e)?Jf(e):e==null||e===""}function qm(e){return typeof e=="function"}var st=e=>e?"true":void 0;function M0(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=M0(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function nr(...e){for(var t=0,r,n,o="";t<e.length;)(r=e[t++])&&(n=M0(r))&&(o&&(o+=" "),o+=n);return o}var Ai={};function Qf(e,t,...r){const o=`[Next UI]${t?` [${t}]`:" "}: ${e}`;typeof console>"u"||Ai[o]||(Ai[o]=!0)}var ed=Object.create,I0=Object.defineProperty,td=Object.getOwnPropertyDescriptor,H0=Object.getOwnPropertyNames,rd=Object.getPrototypeOf,nd=Object.prototype.hasOwnProperty,j0=(e,t)=>function(){return t||(0,e[H0(e)[0]])((t={exports:{}}).exports,t),t.exports},od=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of H0(t))!nd.call(e,o)&&o!==r&&I0(e,o,{get:()=>t[o],enumerable:!(n=td(t,o))||n.enumerable});return e},ad=(e,t,r)=>(r=e!=null?ed(rd(e)):{},od(!e||!e.__esModule?I0(r,"default",{value:e,enumerable:!0}):r,e)),id=j0({"../../../node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react.production.min.js"(e){var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.iterator;function p(E){return E===null||typeof E!="object"?null:(E=f&&E[f]||E["@@iterator"],typeof E=="function"?E:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,h={};function w(E,T,R){this.props=E,this.context=T,this.refs=h,this.updater=R||x}w.prototype.isReactComponent={},w.prototype.setState=function(E,T){if(typeof E!="object"&&typeof E!="function"&&E!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,E,T,"setState")},w.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function m(){}m.prototype=w.prototype;function g(E,T,R){this.props=E,this.context=T,this.refs=h,this.updater=R||x}var y=g.prototype=new m;y.constructor=g,v(y,w.prototype),y.isPureReactComponent=!0;var A=Array.isArray,_=Object.prototype.hasOwnProperty,D={current:null},b={key:!0,ref:!0,__self:!0,__source:!0};function k(E,T,R){var L,V={},Y=null,ie=null;if(T!=null)for(L in T.ref!==void 0&&(ie=T.ref),T.key!==void 0&&(Y=""+T.key),T)_.call(T,L)&&!b.hasOwnProperty(L)&&(V[L]=T[L]);var K=arguments.length-2;if(K===1)V.children=R;else if(1<K){for(var re=Array(K),pe=0;pe<K;pe++)re[pe]=arguments[pe+2];V.children=re}if(E&&E.defaultProps)for(L in K=E.defaultProps,K)V[L]===void 0&&(V[L]=K[L]);return{$$typeof:t,type:E,key:Y,ref:ie,props:V,_owner:D.current}}function F(E,T){return{$$typeof:t,type:E.type,key:T,ref:E.ref,props:E.props,_owner:E._owner}}function S(E){return typeof E=="object"&&E!==null&&E.$$typeof===t}function B(E){var T={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(R){return T[R]})}var $=/\/+/g;function O(E,T){return typeof E=="object"&&E!==null&&E.key!=null?B(""+E.key):T.toString(36)}function P(E,T,R,L,V){var Y=typeof E;(Y==="undefined"||Y==="boolean")&&(E=null);var ie=!1;if(E===null)ie=!0;else switch(Y){case"string":case"number":ie=!0;break;case"object":switch(E.$$typeof){case t:case r:ie=!0}}if(ie)return ie=E,V=V(ie),E=L===""?"."+O(ie,0):L,A(V)?(R="",E!=null&&(R=E.replace($,"$&/")+"/"),P(V,T,R,"",function(pe){return pe})):V!=null&&(S(V)&&(V=F(V,R+(!V.key||ie&&ie.key===V.key?"":(""+V.key).replace($,"$&/")+"/")+E)),T.push(V)),1;if(ie=0,L=L===""?".":L+":",A(E))for(var K=0;K<E.length;K++){Y=E[K];var re=L+O(Y,K);ie+=P(Y,T,R,re,V)}else if(re=p(E),typeof re=="function")for(E=re.call(E),K=0;!(Y=E.next()).done;)Y=Y.value,re=L+O(Y,K++),ie+=P(Y,T,R,re,V);else if(Y==="object")throw T=String(E),Error("Objects are not valid as a React child (found: "+(T==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":T)+"). If you meant to render a collection of children, use an array instead.");return ie}function H(E,T,R){if(E==null)return E;var L=[],V=0;return P(E,L,"","",function(Y){return T.call(R,Y,V++)}),L}function W(E){if(E._status===-1){var T=E._result;T=T(),T.then(function(R){(E._status===0||E._status===-1)&&(E._status=1,E._result=R)},function(R){(E._status===0||E._status===-1)&&(E._status=2,E._result=R)}),E._status===-1&&(E._status=0,E._result=T)}if(E._status===1)return E._result.default;throw E._result}var j={current:null},q={transition:null},Z={ReactCurrentDispatcher:j,ReactCurrentBatchConfig:q,ReactCurrentOwner:D};e.Children={map:H,forEach:function(E,T,R){H(E,function(){T.apply(this,arguments)},R)},count:function(E){var T=0;return H(E,function(){T++}),T},toArray:function(E){return H(E,function(T){return T})||[]},only:function(E){if(!S(E))throw Error("React.Children.only expected to receive a single React element child.");return E}},e.Component=w,e.Fragment=n,e.Profiler=a,e.PureComponent=g,e.StrictMode=o,e.Suspense=c,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Z,e.cloneElement=function(E,T,R){if(E==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+E+".");var L=v({},E.props),V=E.key,Y=E.ref,ie=E._owner;if(T!=null){if(T.ref!==void 0&&(Y=T.ref,ie=D.current),T.key!==void 0&&(V=""+T.key),E.type&&E.type.defaultProps)var K=E.type.defaultProps;for(re in T)_.call(T,re)&&!b.hasOwnProperty(re)&&(L[re]=T[re]===void 0&&K!==void 0?K[re]:T[re])}var re=arguments.length-2;if(re===1)L.children=R;else if(1<re){K=Array(re);for(var pe=0;pe<re;pe++)K[pe]=arguments[pe+2];L.children=K}return{$$typeof:t,type:E.type,key:V,ref:Y,props:L,_owner:ie}},e.createContext=function(E){return E={$$typeof:s,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},E.Provider={$$typeof:i,_context:E},E.Consumer=E},e.createElement=k,e.createFactory=function(E){var T=k.bind(null,E);return T.type=E,T},e.createRef=function(){return{current:null}},e.forwardRef=function(E){return{$$typeof:u,render:E}},e.isValidElement=S,e.lazy=function(E){return{$$typeof:d,_payload:{_status:-1,_result:E},_init:W}},e.memo=function(E,T){return{$$typeof:l,type:E,compare:T===void 0?null:T}},e.startTransition=function(E){var T=q.transition;q.transition={};try{E()}finally{q.transition=T}},e.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},e.useCallback=function(E,T){return j.current.useCallback(E,T)},e.useContext=function(E){return j.current.useContext(E)},e.useDebugValue=function(){},e.useDeferredValue=function(E){return j.current.useDeferredValue(E)},e.useEffect=function(E,T){return j.current.useEffect(E,T)},e.useId=function(){return j.current.useId()},e.useImperativeHandle=function(E,T,R){return j.current.useImperativeHandle(E,T,R)},e.useInsertionEffect=function(E,T){return j.current.useInsertionEffect(E,T)},e.useLayoutEffect=function(E,T){return j.current.useLayoutEffect(E,T)},e.useMemo=function(E,T){return j.current.useMemo(E,T)},e.useReducer=function(E,T,R){return j.current.useReducer(E,T,R)},e.useRef=function(E){return j.current.useRef(E)},e.useState=function(E){return j.current.useState(E)},e.useSyncExternalStore=function(E,T,R){return j.current.useSyncExternalStore(E,T,R)},e.useTransition=function(){return j.current.useTransition()},e.version="18.2.0"}}),sd=j0({"../../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js"(e,t){t.exports=id()}}),cd=ad(sd()),Vm=e=>e?e.charAt(0).toUpperCase()+e.slice(1).toLowerCase():"";function ld(e){return`${e}-${Math.floor(Math.random()*1e6)}`}function Km(e){for(const t in e)t.startsWith("on")&&delete e[t];return e}function z0(e){if(!e||typeof e!="object")return"";try{return JSON.stringify(e)}catch{return""}}var ud=()=>cd.default.version.split(".")[0]==="19",Gm=e=>ud()?e:e?"":void 0;/**
|
|
* @license React
|
|
* react.development.js
|
|
*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*//**
|
|
* @license React
|
|
* react.production.min.js
|
|
*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/function fd(e,t,r){return Math.min(Math.max(e,t),r)}function dd(e){const[t,r]=$0(e,Ci.variantKeys),{children:n,className:o,classNames:a,label:i,...s}=t,u=C.useMemo(()=>Ci({...r}),[z0(r)]),c=nr(a==null?void 0:a.base,o),l=i||n,d=C.useMemo(()=>l&&typeof l=="string"?l:s["aria-label"]?"":"Loading",[n,l,s["aria-label"]]),f=C.useCallback(()=>({"aria-label":d,className:u.base({class:c}),...s}),[d,u,c,s]);return{label:l,slots:u,classNames:a,getSpinnerProps:f}}var U0=sr((e,t)=>{const{slots:r,classNames:n,label:o,getSpinnerProps:a}=dd({...e});return I.jsxs("div",{ref:t,...a(),children:[I.jsxs("div",{className:r.wrapper({class:n==null?void 0:n.wrapper}),children:[I.jsx("i",{className:r.circle1({class:n==null?void 0:n.circle1})}),I.jsx("i",{className:r.circle2({class:n==null?void 0:n.circle2})})]}),o&&I.jsx("span",{className:r.label({class:n==null?void 0:n.label}),children:o})]})});U0.displayName="HeroUI.Spinner";var W0=U0;function q0(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=q0(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Ha(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=q0(e))&&(n&&(n+=" "),n+=t);return n}const xd=({loading:e})=>I.jsx("div",{className:Ha("absolute inset-0 z-30 flex justify-center items-center rounded-2xl","bg-white/40 dark:bg-black/30 backdrop-blur-md",{hidden:!e}),children:I.jsxs("div",{className:"px-6 py-5 rounded-2xl bg-white/80 dark:bg-white/[0.06] border border-white/70 dark:border-white/10 shadow-lg flex flex-col items-center gap-3",children:[I.jsx(W0,{size:"lg",color:"primary"}),I.jsx("span",{className:"text-[10px] text-default-500 tracking-[0.25em] uppercase",children:"Loading"})]})});function V0(e,t){window.dispatchEvent(new StorageEvent("storage",{key:e,newValue:t}))}function Xm(e,t){const[r,n]=C.useState(e);return C.useEffect(()=>{const o=setTimeout(()=>{n(e)},t);return()=>{clearTimeout(o)}},[e,t]),r}const Si=(e,t)=>{const r=JSON.stringify(t);window.localStorage.setItem(e,r),V0(e,r)},pd=e=>{window.localStorage.removeItem(e),V0(e,null)},Bi=e=>window.localStorage.getItem(e),hd=e=>(window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)),vd=()=>{throw Error("useLocalStorage is a client-only hook")};function K0(e,t){const r=()=>Bi(e),n=C.useSyncExternalStore(hd,r,vd),o=C.useCallback(a=>{try{const i=typeof a=="function"?a(JSON.parse(n)):a;i==null?pd(e):Si(e,i)}catch(i){console.warn(i)}},[e,n]);return C.useEffect(()=>{Bi(e)===null&&typeof t<"u"&&Si(e,t)},[e,t]),[n?JSON.parse(n):t,o]}const Et={key:"theme",light:"light",dark:"dark"},bd=e=>{const[t,r]=K0(Et.key,e),n=C.useMemo(()=>t===Et.dark,[t]),o=C.useMemo(()=>t===Et.light,[t]),a=c=>{r(c),document.documentElement.classList.remove(Et.light,Et.dark),document.documentElement.classList.add(c)},i=()=>a(Et.light),s=()=>a(Et.dark),u=()=>t===Et.dark?i():s();return C.useEffect(()=>{a(t)}),{theme:t,isDark:n,isLight:o,setLightTheme:i,setDarkTheme:s,toggleTheme:u}},gd=()=>{const{isDark:e}=bd();return I.jsx(Nu,{toastOptions:{style:{borderRadius:"20px",background:e?"#333":"#fff",color:e?"#fff":"#333",maxWidth:"400px",wordBreak:"break-word"}}})};function ja(e={}){const{strict:t=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:n}=e,o=C.createContext(void 0);o.displayName=n;function a(){var i;const s=C.useContext(o);if(!s&&t){const u=new Error(r);throw u.name="ContextError",(i=Error.captureStackTrace)==null||i.call(Error,u,a),u}return s}return[o.Provider,a,o]}function Ym(e){return{UNSAFE_getDOMNode(){return e.current}}}function Or(e){const t=C.useRef(null);return C.useImperativeHandle(e,()=>t.current),t}var md=new Set(["id","type","style","title","role","tabIndex","htmlFor","width","height","abbr","accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","challenge","charset","checked","cite","class","className","cols","colSpan","command","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","disabled","download","draggable","dropzone","encType","enterKeyHint","for","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","hidden","high","href","hrefLang","httpEquiv","icon","inputMode","isMap","itemId","itemProp","itemRef","itemScope","itemType","kind","label","lang","list","loop","manifest","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","name","noValidate","open","optimum","pattern","ping","placeholder","poster","preload","radioGroup","referrerPolicy","readOnly","rel","required","rows","rowSpan","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","slot","sortable","span","spellCheck","src","srcDoc","srcSet","start","step","target","translate","typeMustMatch","useMap","value","wmode","wrap"]),yd=new Set(["onCopy","onCut","onPaste","onLoad","onError","onWheel","onScroll","onCompositionEnd","onCompositionStart","onCompositionUpdate","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onSubmit","onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onPointerDown","onPointerEnter","onPointerLeave","onPointerUp","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd"]),_i=/^(data-.*)$/,Ed=/^(aria-.*)$/,Vr=/^(on[A-Z].*)$/;function Fi(e,t={}){let{labelable:r=!0,enabled:n=!0,propNames:o,omitPropNames:a,omitEventNames:i,omitDataProps:s,omitEventProps:u}=t,c={};if(!n)return e;for(const l in e)a!=null&&a.has(l)||i!=null&&i.has(l)&&Vr.test(l)||Vr.test(l)&&!yd.has(l)||s&&_i.test(l)||u&&Vr.test(l)||(Object.prototype.hasOwnProperty.call(e,l)&&(md.has(l)||r&&Ed.test(l)||o!=null&&o.has(l)||_i.test(l))||Vr.test(l))&&(c[l]=e[l]);return c}var[wd,G0]=ja({name:"ProviderContext",strict:!1});const Cd=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),$d=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function X0(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize(),n=typeof r.getTextInfo=="function"?r.getTextInfo():r.textInfo;if(n)return n.direction==="rtl";if(r.script)return Cd.has(r.script)}let t=e.split("-")[0];return $d.has(t)}const Y0={prefix:String(Math.round(Math.random()*1e10)),current:0},Z0=ae.createContext(Y0),Ad=ae.createContext(!1);let Lo=new WeakMap;function Sd(e=!1){let t=C.useContext(Z0),r=C.useRef(null);if(r.current===null&&!e){var n,o;let a=(o=ae.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||o===void 0||(n=o.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(a){let i=Lo.get(a);i==null?Lo.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==i.state&&(t.current=i.id,Lo.delete(a))}r.current=++t.current}return r.current}function Bd(e){let t=C.useContext(Z0),r=Sd(!!e),n=`react-aria${t.prefix}`;return e||`${n}-${r}`}function _d(e){let t=ae.useId(),[r]=C.useState(Vt()),n=r?"react-aria":`react-aria${Y0.prefix}`;return e||`${n}-${t}`}const J0=typeof ae.useId=="function"?_d:Bd;function Fd(){return!1}function Dd(){return!0}function Td(e){return()=>{}}function Vt(){return typeof ae.useSyncExternalStore=="function"?ae.useSyncExternalStore(Td,Fd,Dd):C.useContext(Ad)}const Pd=Symbol.for("react-aria.i18n.locale");function Q0(){let e=typeof window<"u"&&window[Pd]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:X0(e)?"rtl":"ltr"}}let ia=Q0(),gr=new Set;function Di(){ia=Q0();for(let e of gr)e(ia)}function ec(){let e=Vt(),[t,r]=C.useState(ia);return C.useEffect(()=>(gr.size===0&&window.addEventListener("languagechange",Di),gr.add(r),()=>{gr.delete(r),gr.size===0&&window.removeEventListener("languagechange",Di)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const tc=ae.createContext(null);function kd(e){let{locale:t,children:r}=e,n=ec(),o=ae.useMemo(()=>t?{locale:t,direction:X0(t)?"rtl":"ltr"}:n,[n,t]);return ae.createElement(tc.Provider,{value:o},r)}function Zm(){let e=ec();return C.useContext(tc)||e}const Rd=Symbol.for("react-aria.i18n.locale"),Od=Symbol.for("react-aria.i18n.strings");let Zt;class so{getStringForLocale(t,r){let o=this.getStringsForLocale(r)[t];if(!o)throw new Error(`Could not find intl message ${t} in ${r} locale`);return o}getStringsForLocale(t){let r=this.strings[t];return r||(r=Nd(t,this.strings,this.defaultLocale),this.strings[t]=r),r}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let r=window[Rd];if(Zt===void 0){let o=window[Od];if(!o)return null;Zt={};for(let a in o)Zt[a]=new so({[r]:o[a]},r)}let n=Zt==null?void 0:Zt[t];if(!n)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return n}constructor(t,r="en-US"){this.strings=Object.fromEntries(Object.entries(t).filter(([,n])=>n)),this.defaultLocale=r}}function Nd(e,t,r="en-US"){if(t[e])return t[e];let n=Ld(e);if(t[n])return t[n];for(let o in t)if(o.startsWith(n+"-"))return t[o];return t[r]}function Ld(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const Ti=new Map,Pi=new Map;class Md{format(t,r){let n=this.strings.getStringForLocale(t,this.locale);return typeof n=="function"?n(r,this):n}plural(t,r,n="cardinal"){let o=r["="+t];if(o)return typeof o=="function"?o():o;let a=this.locale+":"+n,i=Ti.get(a);i||(i=new Intl.PluralRules(this.locale,{type:n}),Ti.set(a,i));let s=i.select(t);return o=r[s]||r.other,typeof o=="function"?o():o}number(t){let r=Pi.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),Pi.set(this.locale,r)),r.format(t)}select(t,r){let n=t[r]||t.other;return typeof n=="function"?n():n}constructor(t,r){this.locale=t,this.strings=r}}function Id(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Hd(e,t,r){Id(e,t),t.set(e,r)}const _e=typeof document<"u"?ae.useLayoutEffect:()=>{};var Mo;const jd=(Mo=ae.useInsertionEffect)!==null&&Mo!==void 0?Mo:_e;function ct(e){const t=C.useRef(null);return jd(()=>{t.current=e},[e]),C.useCallback((...r)=>{const n=t.current;return n==null?void 0:n(...r)},[])}function zd(e){let[t,r]=C.useState(e),n=C.useRef(null),o=ct(()=>{if(!n.current)return;let i=n.current.next();if(i.done){n.current=null;return}t===i.value?o():r(i.value)});_e(()=>{n.current&&o()});let a=ct(i=>{n.current=i(t),o()});return[t,a]}let Ud=!!(typeof window<"u"&&window.document&&window.document.createElement),tr=new Map,mr;typeof FinalizationRegistry<"u"&&(mr=new FinalizationRegistry(e=>{tr.delete(e)}));function rc(e){let[t,r]=C.useState(e),n=C.useRef(null),o=J0(t),a=C.useRef(null);if(mr&&mr.register(a,o),Ud){const i=tr.get(o);i&&!i.includes(n)?i.push(n):tr.set(o,[n])}return _e(()=>{let i=o;return()=>{mr&&mr.unregister(a),tr.delete(i)}},[o]),C.useEffect(()=>{let i=n.current;return i&&r(i),()=>{i&&(n.current=null)}}),o}function Wd(e,t){if(e===t)return e;let r=tr.get(e);if(r)return r.forEach(o=>o.current=t),t;let n=tr.get(t);return n?(n.forEach(o=>o.current=e),e):t}function qd(e=[]){let t=rc(),[r,n]=zd(t),o=C.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return _e(o,[t,o,...e]),r}function Br(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}const he=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},Ye=e=>e&&"window"in e&&e.window===e?e:he(e).defaultView||window;function Vd(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function Kd(e){return Vd(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let Gd=!1,Xd=!1;function Jm(){return Gd}function co(){return Xd}function sa(e,t){if(!co())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let r=t;for(;r!==null;){if(r===e)return!0;r.tagName==="SLOT"&&r.assignedSlot?r=r.assignedSlot.parentNode:Kd(r)?r=r.host:r=r.parentNode}return!1}const je=(e=document)=>{var t;if(!co())return e.activeElement;let r=e.activeElement;for(;r&&"shadowRoot"in r&&(!((t=r.shadowRoot)===null||t===void 0)&&t.activeElement);)r=r.shadowRoot.activeElement;return r};function $t(e){return co()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}class Yd{get currentNode(){return this._currentNode}set currentNode(t){if(!sa(this.root,t))throw new Error("Cannot set currentNode to a node that is not contained by the root node.");const r=[];let n=t,o=t;for(this._currentNode=t;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const i=n,s=this._doc.createTreeWalker(i,this.whatToShow,{acceptNode:this._acceptNode});r.push(s),s.currentNode=o,this._currentSetFor.add(s),n=o=i.host}else n=n.parentNode;const a=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});r.push(a),a.currentNode=o,this._currentSetFor.add(a),this._walkerStack=r}get doc(){return this._doc}firstChild(){let t=this.currentNode,r=this.nextNode();return sa(t,r)?(r&&(this.currentNode=r),r):(this.currentNode=t,null)}lastChild(){let r=this._walkerStack[0].lastChild();return r&&(this.currentNode=r),r}nextNode(){const t=this._walkerStack[0].nextNode();if(t){if(t.shadowRoot){var r;let o;if(typeof this.filter=="function"?o=this.filter(t):!((r=this.filter)===null||r===void 0)&&r.acceptNode&&(o=this.filter.acceptNode(t)),o===NodeFilter.FILTER_ACCEPT)return this.currentNode=t,t;let a=this.nextNode();return a&&(this.currentNode=a),a}return t&&(this.currentNode=t),t}else if(this._walkerStack.length>1){this._walkerStack.shift();let n=this.nextNode();return n&&(this.currentNode=n),n}else return null}previousNode(){const t=this._walkerStack[0];if(t.currentNode===t.root){if(this._currentSetFor.has(t))if(this._currentSetFor.delete(t),this._walkerStack.length>1){this._walkerStack.shift();let o=this.previousNode();return o&&(this.currentNode=o),o}else return null;return null}const r=t.previousNode();if(r){if(r.shadowRoot){var n;let a;if(typeof this.filter=="function"?a=this.filter(r):!((n=this.filter)===null||n===void 0)&&n.acceptNode&&(a=this.filter.acceptNode(r)),a===NodeFilter.FILTER_ACCEPT)return r&&(this.currentNode=r),r;let i=this.lastChild();return i&&(this.currentNode=i),i}return r&&(this.currentNode=r),r}else if(this._walkerStack.length>1){this._walkerStack.shift();let o=this.previousNode();return o&&(this.currentNode=o),o}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}constructor(t,r,n,o){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=i=>{if(i.nodeType===Node.ELEMENT_NODE){const u=i.shadowRoot;if(u){const c=this._doc.createTreeWalker(u,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(c),NodeFilter.FILTER_ACCEPT}else{var s;if(typeof this.filter=="function")return this.filter(i);if(!((s=this.filter)===null||s===void 0)&&s.acceptNode)return this.filter.acceptNode(i);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}}return NodeFilter.FILTER_SKIP},this._doc=t,this.root=r,this.filter=o??null,this.whatToShow=n??NodeFilter.SHOW_ALL,this._currentNode=r,this._walkerStack.unshift(t.createTreeWalker(r,n,this._acceptNode));const a=r.shadowRoot;if(a){const i=this._doc.createTreeWalker(a,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(i)}}}function Zd(e,t,r,n){return co()?new Yd(e,t,r,n):e.createTreeWalker(t,r,n)}function _r(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let o in n){let a=t[o],i=n[o];typeof a=="function"&&typeof i=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?t[o]=Br(a,i):(o==="className"||o==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[o]=Ha(a,i):o==="id"&&a&&i?t.id=Wd(a,i):t[o]=i!==void 0?i:a}}return t}const Jd=new Set(["id"]),Qd=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),ex=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),tx=new Set(["dir","lang","hidden","inert","translate"]),ki=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),rx=/^(data-.*)$/;function nx(e,t={}){let{labelable:r,isLink:n,global:o,events:a=o,propNames:i}=t,s={};for(const u in e)Object.prototype.hasOwnProperty.call(e,u)&&(Jd.has(u)||r&&Qd.has(u)||n&&ex.has(u)||o&&tx.has(u)||a&&ki.has(u)||u.endsWith("Capture")&&ki.has(u.slice(0,-7))||i!=null&&i.has(u)||rx.test(u))&&(s[u]=e[u]);return s}function tt(e){if(ox())e.focus({preventScroll:!0});else{let t=ax(e);e.focus(),ix(t)}}let Kr=null;function ox(){if(Kr==null){Kr=!1;try{document.createElement("div").focus({get preventScroll(){return Kr=!0,!0}})}catch{}}return Kr}function ax(e){let t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}function ix(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}function lo(e){var t;if(typeof window>"u"||window.navigator==null)return!1;let r=(t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands;return Array.isArray(r)&&r.some(n=>e.test(n.brand))||e.test(window.navigator.userAgent)}function za(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function gt(e){let t=null;return()=>(t==null&&(t=e()),t)}const or=gt(function(){return za(/^Mac/i)}),sx=gt(function(){return za(/^iPhone/i)}),nc=gt(function(){return za(/^iPad/i)||or()&&navigator.maxTouchPoints>1}),uo=gt(function(){return sx()||nc()}),Qm=gt(function(){return or()||uo()}),cx=gt(function(){return lo(/AppleWebKit/i)&&!oc()}),oc=gt(function(){return lo(/Chrome/i)}),Ua=gt(function(){return lo(/Android/i)}),lx=gt(function(){return lo(/Firefox/i)}),ux=C.createContext({isNative:!0,open:xx,useHref:e=>e});function ac(){return C.useContext(ux)}function fx(e,t){let r=e.getAttribute("target");return(!r||r==="_self")&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function ar(e,t,r=!0){var n,o;let{metaKey:a,ctrlKey:i,altKey:s,shiftKey:u}=t;lx()&&(!((o=window.event)===null||o===void 0||(n=o.type)===null||n===void 0)&&n.startsWith("key"))&&e.target==="_blank"&&(or()?a=!0:i=!0);let c=cx()&&or()&&!nc()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:i,altKey:s,shiftKey:u}):new MouseEvent("click",{metaKey:a,ctrlKey:i,altKey:s,shiftKey:u,bubbles:!0,cancelable:!0});ar.isOpening=r,tt(e),e.dispatchEvent(c),ar.isOpening=!1}ar.isOpening=!1;function dx(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let r=document.createElement("a");r.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(r.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(r.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(r.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(r.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(r),t(r),e.removeChild(r)}}function xx(e,t){dx(e,r=>ar(r,t))}function ey(e){let t=ac();var r;const n=t.useHref((r=e.href)!==null&&r!==void 0?r:"");return{"data-href":e.href?n:void 0,"data-target":e.target,"data-rel":e.rel,"data-download":e.download,"data-ping":e.ping,"data-referrer-policy":e.referrerPolicy}}function ty(e){let t=ac();var r;const n=t.useHref((r=e==null?void 0:e.href)!==null&&r!==void 0?r:"");return{href:e!=null&&e.href?n:void 0,target:e==null?void 0:e.target,rel:e==null?void 0:e.rel,download:e==null?void 0:e.download,ping:e==null?void 0:e.ping,referrerPolicy:e==null?void 0:e.referrerPolicy}}function ry(e,t,r,n){!t.isNative&&e.currentTarget instanceof HTMLAnchorElement&&e.currentTarget.href&&!e.isDefaultPrevented()&&fx(e.currentTarget,e)&&r&&(e.preventDefault(),t.open(e.currentTarget,e,r,n))}let At=new Map,ca=new Set;function Ri(){if(typeof window>"u")return;function e(n){return"propertyName"in n}let t=n=>{if(!e(n)||!n.target)return;let o=At.get(n.target);o||(o=new Set,At.set(n.target,o),n.target.addEventListener("transitioncancel",r,{once:!0})),o.add(n.propertyName)},r=n=>{if(!e(n)||!n.target)return;let o=At.get(n.target);if(o&&(o.delete(n.propertyName),o.size===0&&(n.target.removeEventListener("transitioncancel",r),At.delete(n.target)),At.size===0)){for(let a of ca)a();ca.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",r)}typeof document<"u"&&(document.readyState!=="loading"?Ri():document.addEventListener("DOMContentLoaded",Ri));function px(){for(const[e]of At)"isConnected"in e&&!e.isConnected&&At.delete(e)}function Wa(e){requestAnimationFrame(()=>{px(),At.size===0?e():ca.add(e)})}function ic(){let e=C.useRef(new Map),t=C.useCallback((o,a,i,s)=>{let u=s!=null&&s.once?(...c)=>{e.current.delete(i),i(...c)}:i;e.current.set(i,{type:a,eventTarget:o,fn:u,options:s}),o.addEventListener(a,u,s)},[]),r=C.useCallback((o,a,i,s)=>{var u;let c=((u=e.current.get(i))===null||u===void 0?void 0:u.fn)||i;o.removeEventListener(a,c,s),e.current.delete(i)},[]),n=C.useCallback(()=>{e.current.forEach((o,a)=>{r(o.eventTarget,o.type,a,o.options)})},[r]);return C.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}function hx(e,t){let{id:r,"aria-label":n,"aria-labelledby":o}=e;return r=rc(r),o&&n?o=[...new Set([r,...o.trim().split(/\s+/)])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),!n&&!o&&t&&(n=t),{id:r,"aria-label":n,"aria-labelledby":o}}function sc(e,t){_e(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function Oi(e,t){if(!e)return!1;let r=window.getComputedStyle(e),n=/(auto|scroll)/.test(r.overflow+r.overflowX+r.overflowY);return n&&t&&(n=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),n}function cc(e,t){let r=e;for(Oi(r,t)&&(r=r.parentElement);r&&!Oi(r,t);)r=r.parentElement;return r||document.scrollingElement||document.documentElement}function la(e){return e.pointerType===""&&e.isTrusted?!0:Ua()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function vx(e){return!Ua()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}const bx=typeof Element<"u"&&"checkVisibility"in Element.prototype;function gx(e){const t=Ye(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:r,visibility:n}=e.style,o=r!=="none"&&n!=="hidden"&&n!=="collapse";if(o){const{getComputedStyle:a}=e.ownerDocument.defaultView;let{display:i,visibility:s}=a(e);o=i!=="none"&&s!=="hidden"&&s!=="collapse"}return o}function mx(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function qa(e,t){return bx?e.checkVisibility({visibilityProperty:!0})&&!e.closest("[data-react-aria-prevent-focus]"):e.nodeName!=="#comment"&&gx(e)&&mx(e,t)&&(!e.parentElement||qa(e.parentElement,e))}const Va=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],yx=Va.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Va.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const Ex=Va.join(':not([hidden]):not([tabindex="-1"]),');function lc(e){return e.matches(yx)&&qa(e)&&!uc(e)}function wx(e){return e.matches(Ex)&&qa(e)&&!uc(e)}function uc(e){let t=e;for(;t!=null;){if(t instanceof t.ownerDocument.defaultView.HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}function Cx(e,t,r){let[n,o]=C.useState(e||t),a=C.useRef(e!==void 0),i=e!==void 0;C.useEffect(()=>{a.current,a.current=i},[i]);let s=i?e:n,u=C.useCallback((c,...l)=>{let d=(f,...p)=>{r&&(Object.is(s,f)||r(f,...p)),i||(s=f)};typeof c=="function"?o((p,...x)=>{let v=c(i?s:p,...x);return d(v,...l),i?p:v}):(i||o(c),d(c,...l))},[i,s,r]);return[s,u]}const $x=typeof document<"u"?ae.useLayoutEffect:()=>{};let Ax=!!(typeof window<"u"&&window.document&&window.document.createElement),Ct=new Map;function ny(e){let[t,r]=C.useState(e),n=C.useRef(null),o=J0(t),a=C.useCallback(i=>{n.current=i},[]);return Ax&&(Ct.has(o)&&!Ct.get(o).includes(a)?Ct.set(o,[...Ct.get(o),a]):Ct.set(o,[a])),$x(()=>{let i=o;return()=>{Ct.delete(i)}},[o]),C.useEffect(()=>{let i=n.current;i&&(n.current=null,r(i))}),o}function Sx(e,t){if(e===t)return e;let r=Ct.get(e);if(r)return r.forEach(o=>o(t)),t;let n=Ct.get(t);return n?(n.forEach(o=>o(e)),e):t}function fo(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}function It(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let o in n){let a=t[o],i=n[o];typeof a=="function"&&typeof i=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?t[o]=fo(a,i):(o==="className"||o==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[o]=Ha(a,i):o==="id"&&a&&i?t.id=Sx(a,i):t[o]=i!==void 0?i:a}}return t}function Bx(...e){return e.length===1&&e[0]?e[0]:t=>{for(let r of e)typeof r=="function"?r(t):r!=null&&(r.current=t)}}const _x=new Set(["id"]),Fx=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Dx=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),Tx=/^(data-.*)$/;function Px(e,t={}){let{labelable:r,isLink:n,propNames:o}=t,a={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(_x.has(i)||r&&Fx.has(i)||n&&Dx.has(i)||o!=null&&o.has(i)||Tx.test(i))&&(a[i]=e[i]);return a}function kx(e){if(Rx())e.focus({preventScroll:!0});else{let t=Ox(e);e.focus(),Nx(t)}}let Gr=null;function Rx(){if(Gr==null){Gr=!1;try{document.createElement("div").focus({get preventScroll(){return Gr=!0,!0}})}catch{}}return Gr}function Ox(e){let t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}function Nx(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}function xo(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(r=>e.test(r.brand)))||e.test(window.navigator.userAgent)}function Ka(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function Ft(e){let t=null;return()=>(t==null&&(t=e()),t)}const ua=Ft(function(){return Ka(/^Mac/i)}),Lx=Ft(function(){return Ka(/^iPhone/i)}),fc=Ft(function(){return Ka(/^iPad/i)||ua()&&navigator.maxTouchPoints>1}),Mx=Ft(function(){return Lx()||fc()}),Ix=Ft(function(){return xo(/AppleWebKit/i)&&!Hx()}),Hx=Ft(function(){return xo(/Chrome/i)}),jx=Ft(function(){return xo(/Android/i)}),zx=Ft(function(){return xo(/Firefox/i)}),dc=C.createContext({isNative:!0,open:Vx,useHref:e=>e});function Ux(e){let{children:t,navigate:r,useHref:n}=e,o=C.useMemo(()=>({isNative:!1,open:(a,i,s,u)=>{xc(a,c=>{qx(c,i)?r(s,u):Fr(c,i)})},useHref:n||(a=>a)}),[r,n]);return ae.createElement(dc.Provider,{value:o},t)}function Wx(){return C.useContext(dc)}function qx(e,t){let r=e.getAttribute("target");return(!r||r==="_self")&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function Fr(e,t,r=!0){var n,o;let{metaKey:a,ctrlKey:i,altKey:s,shiftKey:u}=t;zx()&&(!((o=window.event)===null||o===void 0||(n=o.type)===null||n===void 0)&&n.startsWith("key"))&&e.target==="_blank"&&(ua()?a=!0:i=!0);let c=Ix()&&ua()&&!fc()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:i,altKey:s,shiftKey:u}):new MouseEvent("click",{metaKey:a,ctrlKey:i,altKey:s,shiftKey:u,bubbles:!0,cancelable:!0});Fr.isOpening=r,kx(e),e.dispatchEvent(c),Fr.isOpening=!1}Fr.isOpening=!1;function xc(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let r=document.createElement("a");r.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(r.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(r.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(r.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(r.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(r),t(r),e.removeChild(r)}}function Vx(e,t){xc(e,r=>Fr(r,t))}function oy(e){let t=Wx();var r;const n=t.useHref((r=e==null?void 0:e.href)!==null&&r!==void 0?r:"");return{href:e!=null&&e.href?n:void 0,target:e==null?void 0:e.target,rel:e==null?void 0:e.rel,download:e==null?void 0:e.download,ping:e==null?void 0:e.ping,referrerPolicy:e==null?void 0:e.referrerPolicy}}let Xe=typeof document<"u"&&window.visualViewport;function Kx(){let e=Vt(),[t,r]=C.useState(()=>e?{width:0,height:0}:Ni());return C.useEffect(()=>{let n=()=>{r(o=>{let a=Ni();return a.width===o.width&&a.height===o.height?o:a})};return Xe?Xe.addEventListener("resize",n):window.addEventListener("resize",n),()=>{Xe?Xe.removeEventListener("resize",n):window.removeEventListener("resize",n)}},[]),t}function Ni(){return{width:Xe&&(Xe==null?void 0:Xe.width)||window.innerWidth,height:Xe&&(Xe==null?void 0:Xe.height)||window.innerHeight}}const Gx=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Xx=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function Yx(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize(),n=typeof r.getTextInfo=="function"?r.getTextInfo():r.textInfo;if(n)return n.direction==="rtl";if(r.script)return Gx.has(r.script)}let t=e.split("-")[0];return Xx.has(t)}const Zx=Symbol.for("react-aria.i18n.locale");function pc(){let e=typeof window<"u"&&window[Zx]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:Yx(e)?"rtl":"ltr"}}let fa=pc(),yr=new Set;function Li(){fa=pc();for(let e of yr)e(fa)}function Jx(){let e=Vt(),[t,r]=C.useState(fa);return C.useEffect(()=>(yr.size===0&&window.addEventListener("languagechange",Li),yr.add(r),()=>{yr.delete(r),yr.size===0&&window.removeEventListener("languagechange",Li)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const Qx=ae.createContext(null);function ep(){let e=Jx();return C.useContext(Qx)||e}const Mi=new WeakMap;function tp(e){let t=Mi.get(e);return t||(t=new so(e),Mi.set(e,t)),t}function rp(e,t){return t&&so.getGlobalDictionaryForPackage(t)||tp(e)}function np(e,t){let{locale:r}=ep(),n=rp(e,t);return C.useMemo(()=>new Md(r,n),[r,n])}function hc(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function op(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function vc(e){let t=C.useRef({isFocused:!1,observer:null});_e(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let r=ct(n=>{e==null||e(n)});return C.useCallback(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let o=n.target,a=i=>{if(t.current.isFocused=!1,o.disabled){let s=hc(i);r(s)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};o.addEventListener("focusout",a,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){var i;(i=t.current.observer)===null||i===void 0||i.disconnect();let s=o===document.activeElement?null:document.activeElement;o.dispatchEvent(new FocusEvent("blur",{relatedTarget:s})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:s}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[r])}let Kn=!1;function ay(e){for(;e&&!lc(e);)e=e.parentElement;let t=Ye(e),r=t.document.activeElement;if(!r||r===e)return;Kn=!0;let n=!1,o=l=>{(l.target===r||n)&&l.stopImmediatePropagation()},a=l=>{(l.target===r||n)&&(l.stopImmediatePropagation(),!e&&!n&&(n=!0,tt(r),u()))},i=l=>{(l.target===e||n)&&l.stopImmediatePropagation()},s=l=>{(l.target===e||n)&&(l.stopImmediatePropagation(),n||(n=!0,tt(r),u()))};t.addEventListener("blur",o,!0),t.addEventListener("focusout",a,!0),t.addEventListener("focusin",s,!0),t.addEventListener("focus",i,!0);let u=()=>{cancelAnimationFrame(c),t.removeEventListener("blur",o,!0),t.removeEventListener("focusout",a,!0),t.removeEventListener("focusin",s,!0),t.removeEventListener("focus",i,!0),Kn=!1,n=!1},c=requestAnimationFrame(u);return u}const bc=ae.createContext({register:()=>{}});bc.displayName="PressResponderContext";function ap(e,t){return t.get?t.get.call(e):t.value}function gc(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function ip(e,t){var r=gc(e,t,"get");return ap(e,r)}function sp(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}function Ii(e,t,r){var n=gc(e,t,"set");return sp(e,n,r),r}let vt=null,Dr=new Set,$r=new Map,Ht=!1,da=!1;const cp={Tab:!0,Escape:!0};function po(e,t){for(let r of Dr)r(e,t)}function lp(e){return!(e.metaKey||!or()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Gn(e){Ht=!0,lp(e)&&(vt="keyboard",po("keyboard",e))}function rr(e){vt="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Ht=!0,po("pointer",e))}function mc(e){la(e)&&(Ht=!0,vt="virtual")}function yc(e){e.target===window||e.target===document||Kn||!e.isTrusted||(!Ht&&!da&&(vt="virtual",po("virtual",e)),Ht=!1,da=!1)}function Ec(){Kn||(Ht=!1,da=!0)}function Xn(e){if(typeof window>"u"||typeof document>"u"||$r.get(Ye(e)))return;const t=Ye(e),r=he(e);let n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Ht=!0,n.apply(this,arguments)},r.addEventListener("keydown",Gn,!0),r.addEventListener("keyup",Gn,!0),r.addEventListener("click",mc,!0),t.addEventListener("focus",yc,!0),t.addEventListener("blur",Ec,!1),typeof PointerEvent<"u"&&(r.addEventListener("pointerdown",rr,!0),r.addEventListener("pointermove",rr,!0),r.addEventListener("pointerup",rr,!0)),t.addEventListener("beforeunload",()=>{wc(e)},{once:!0}),$r.set(t,{focus:n})}const wc=(e,t)=>{const r=Ye(e),n=he(e);t&&n.removeEventListener("DOMContentLoaded",t),$r.has(r)&&(r.HTMLElement.prototype.focus=$r.get(r).focus,n.removeEventListener("keydown",Gn,!0),n.removeEventListener("keyup",Gn,!0),n.removeEventListener("click",mc,!0),r.removeEventListener("focus",yc,!0),r.removeEventListener("blur",Ec,!1),typeof PointerEvent<"u"&&(n.removeEventListener("pointerdown",rr,!0),n.removeEventListener("pointermove",rr,!0),n.removeEventListener("pointerup",rr,!0)),$r.delete(r))};function up(e){const t=he(e);let r;return t.readyState!=="loading"?Xn(e):(r=()=>{Xn(e)},t.addEventListener("DOMContentLoaded",r)),()=>wc(e,r)}typeof document<"u"&&up();function Cc(){return vt!=="pointer"}function Ga(){return vt}function iy(e){vt=e,po(e,null)}function sy(){Xn();let[e,t]=C.useState(vt);return C.useEffect(()=>{let r=()=>{t(vt)};return Dr.add(r),()=>{Dr.delete(r)}},[]),Vt()?null:e}const fp=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function dp(e,t,r){let n=he(r==null?void 0:r.target);const o=typeof window<"u"?Ye(r==null?void 0:r.target).HTMLInputElement:HTMLInputElement,a=typeof window<"u"?Ye(r==null?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,i=typeof window<"u"?Ye(r==null?void 0:r.target).HTMLElement:HTMLElement,s=typeof window<"u"?Ye(r==null?void 0:r.target).KeyboardEvent:KeyboardEvent;return e=e||n.activeElement instanceof o&&!fp.has(n.activeElement.type)||n.activeElement instanceof a||n.activeElement instanceof i&&n.activeElement.isContentEditable,!(e&&t==="keyboard"&&r instanceof s&&!cp[r.key])}function xp(e,t,r){Xn(),C.useEffect(()=>{let n=(o,a)=>{dp(!!(r!=null&&r.isTextInput),o,a)&&e(Cc())};return Dr.add(n),()=>{Dr.delete(n)}},t)}function xa(e){const t=he(e),r=je(t);if(Ga()==="virtual"){let n=r;Wa(()=>{je(t)===n&&e.isConnected&&tt(e)})}else tt(e)}function $c(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:o}=e;const a=C.useCallback(u=>{if(u.target===u.currentTarget)return n&&n(u),o&&o(!1),!0},[n,o]),i=vc(a),s=C.useCallback(u=>{const c=he(u.target),l=c?je(c):je();u.target===u.currentTarget&&l===$t(u.nativeEvent)&&(r&&r(u),o&&o(!0),i(u))},[o,r,i]);return{focusProps:{onFocus:!t&&(r||o||n)?s:void 0,onBlur:!t&&(n||o)?a:void 0}}}function Hi(e){if(!e)return;let t=!0;return r=>{let n={...r,preventDefault(){r.preventDefault()},isDefaultPrevented(){return r.isDefaultPrevented()},stopPropagation(){t=!0},continuePropagation(){t=!1},isPropagationStopped(){return t}};e(n),t&&r.stopPropagation()}}function pp(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:Hi(e.onKeyDown),onKeyUp:Hi(e.onKeyUp)}}}function hp({children:e}){let t=C.useMemo(()=>({register:()=>{}}),[]);return ae.createElement(bc.Provider,{value:t},e)}function Xa(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:o}=e,a=C.useRef({isFocusWithin:!1}),{addGlobalListener:i,removeAllGlobalListeners:s}=ic(),u=C.useCallback(d=>{d.currentTarget.contains(d.target)&&a.current.isFocusWithin&&!d.currentTarget.contains(d.relatedTarget)&&(a.current.isFocusWithin=!1,s(),r&&r(d),o&&o(!1))},[r,o,a,s]),c=vc(u),l=C.useCallback(d=>{if(!d.currentTarget.contains(d.target))return;const f=he(d.target),p=je(f);if(!a.current.isFocusWithin&&p===$t(d.nativeEvent)){n&&n(d),o&&o(!0),a.current.isFocusWithin=!0,c(d);let x=d.currentTarget;i(f,"focus",v=>{if(a.current.isFocusWithin&&!sa(x,v.target)){let h=new f.defaultView.FocusEvent("blur",{relatedTarget:v.target});op(h,x);let w=hc(h);u(w)}},{capture:!0})}},[n,o,c,i,u]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:l,onBlur:u}}}function vp(e){let{ref:t,onInteractOutside:r,isDisabled:n,onInteractOutsideStart:o}=e,a=C.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),i=ct(u=>{r&&ji(u,t)&&(o&&o(u),a.current.isPointerDown=!0)}),s=ct(u=>{r&&r(u)});C.useEffect(()=>{let u=a.current;if(n)return;const c=t.current,l=he(c);if(typeof PointerEvent<"u"){let d=f=>{u.isPointerDown&&ji(f,t)&&s(f),u.isPointerDown=!1};return l.addEventListener("pointerdown",i,!0),l.addEventListener("click",d,!0),()=>{l.removeEventListener("pointerdown",i,!0),l.removeEventListener("click",d,!0)}}},[t,n,i,s])}function ji(e,t){if(e.button>0)return!1;if(e.target){const r=e.target.ownerDocument;if(!r||!r.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current?!e.composedPath().includes(t.current):!1}const zi=ae.createContext(null),pa="react-aria-focus-scope-restore";let ve=null;function bp(e){let{children:t,contain:r,restoreFocus:n,autoFocus:o}=e,a=C.useRef(null),i=C.useRef(null),s=C.useRef([]),{parentNode:u}=C.useContext(zi)||{},c=C.useMemo(()=>new va({scopeRef:s}),[s]);_e(()=>{let f=u||Be.root;if(Be.getTreeNode(f.scopeRef)&&ve&&!Yn(ve,f.scopeRef)){let p=Be.getTreeNode(ve);p&&(f=p)}f.addChild(c),Be.addNode(c)},[c,u]),_e(()=>{let f=Be.getTreeNode(s);f&&(f.contain=!!r)},[r]),_e(()=>{var f;let p=(f=a.current)===null||f===void 0?void 0:f.nextSibling,x=[],v=h=>h.stopPropagation();for(;p&&p!==i.current;)x.push(p),p.addEventListener(pa,v),p=p.nextSibling;return s.current=x,()=>{for(let h of x)h.removeEventListener(pa,v)}},[t]),Cp(s,n,r),yp(s,r),$p(s,n,r),wp(s,o),C.useEffect(()=>{const f=je(he(s.current?s.current[0]:void 0));let p=null;if(Ze(f,s.current)){for(let x of Be.traverse())x.scopeRef&&Ze(f,x.scopeRef.current)&&(p=x);p===Be.getTreeNode(s)&&(ve=p.scopeRef)}},[s]),_e(()=>()=>{var f,p,x;let v=(x=(p=Be.getTreeNode(s))===null||p===void 0||(f=p.parent)===null||f===void 0?void 0:f.scopeRef)!==null&&x!==void 0?x:null;(s===ve||Yn(s,ve))&&(!v||Be.getTreeNode(v))&&(ve=v),Be.removeTreeNode(s)},[s]);let l=C.useMemo(()=>gp(s),[]),d=C.useMemo(()=>({focusManager:l,parentNode:c}),[c,l]);return ae.createElement(zi.Provider,{value:d},ae.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:a}),t,ae.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:i}))}function gp(e){return{focusNext(t={}){let r=e.current,{from:n,tabbable:o,wrap:a,accept:i}=t;var s;let u=n||je(he((s=r[0])!==null&&s!==void 0?s:void 0)),c=r[0].previousElementSibling,l=Nt(r),d=Bt(l,{tabbable:o,accept:i},r);d.currentNode=Ze(u,r)?u:c;let f=d.nextNode();return!f&&a&&(d.currentNode=c,f=d.nextNode()),f&&pt(f,!0),f},focusPrevious(t={}){let r=e.current,{from:n,tabbable:o,wrap:a,accept:i}=t;var s;let u=n||je(he((s=r[0])!==null&&s!==void 0?s:void 0)),c=r[r.length-1].nextElementSibling,l=Nt(r),d=Bt(l,{tabbable:o,accept:i},r);d.currentNode=Ze(u,r)?u:c;let f=d.previousNode();return!f&&a&&(d.currentNode=c,f=d.previousNode()),f&&pt(f,!0),f},focusFirst(t={}){let r=e.current,{tabbable:n,accept:o}=t,a=Nt(r),i=Bt(a,{tabbable:n,accept:o},r);i.currentNode=r[0].previousElementSibling;let s=i.nextNode();return s&&pt(s,!0),s},focusLast(t={}){let r=e.current,{tabbable:n,accept:o}=t,a=Nt(r),i=Bt(a,{tabbable:n,accept:o},r);i.currentNode=r[r.length-1].nextElementSibling;let s=i.previousNode();return s&&pt(s,!0),s}}}function Nt(e){return e[0].parentElement}function Er(e){let t=Be.getTreeNode(ve);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function mp(e){if(e.checked)return!0;let t=[];if(!e.form)t=[...he(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)].filter(a=>!a.form);else{var r,n;let a=(n=e.form)===null||n===void 0||(r=n.elements)===null||r===void 0?void 0:r.namedItem(e.name);t=[...a??[]]}return t?!t.some(a=>a.checked):!1}function yp(e,t){let r=C.useRef(void 0),n=C.useRef(void 0);_e(()=>{let o=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}const a=he(o?o[0]:void 0);let i=c=>{if(c.key!=="Tab"||c.altKey||c.ctrlKey||c.metaKey||!Er(e)||c.isComposing)return;let l=je(a),d=e.current;if(!d||!Ze(l,d))return;let f=Nt(d),p=Bt(f,{tabbable:!0},d);if(!l)return;p.currentNode=l;let x=c.shiftKey?p.previousNode():p.nextNode();x||(p.currentNode=c.shiftKey?d[d.length-1].nextElementSibling:d[0].previousElementSibling,x=c.shiftKey?p.previousNode():p.nextNode()),c.preventDefault(),x&&pt(x,!0)},s=c=>{(!ve||Yn(ve,e))&&Ze($t(c),e.current)?(ve=e,r.current=$t(c)):Er(e)&&!St($t(c),e)?r.current?r.current.focus():ve&&ve.current&&ha(ve.current):Er(e)&&(r.current=$t(c))},u=c=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{let l=Ga(),d=(l==="virtual"||l===null)&&Ua()&&oc(),f=je(a);if(!d&&f&&Er(e)&&!St(f,e)){ve=e;let x=$t(c);if(x&&x.isConnected){var p;r.current=x,(p=r.current)===null||p===void 0||p.focus()}else ve.current&&ha(ve.current)}})};return a.addEventListener("keydown",i,!1),a.addEventListener("focusin",s,!1),o==null||o.forEach(c=>c.addEventListener("focusin",s,!1)),o==null||o.forEach(c=>c.addEventListener("focusout",u,!1)),()=>{a.removeEventListener("keydown",i,!1),a.removeEventListener("focusin",s,!1),o==null||o.forEach(c=>c.removeEventListener("focusin",s,!1)),o==null||o.forEach(c=>c.removeEventListener("focusout",u,!1))}},[e,t]),_e(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function Ac(e){return St(e)}function Ze(e,t){return!e||!t?!1:t.some(r=>r.contains(e))}function St(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of Be.traverse(Be.getTreeNode(t)))if(r&&Ze(e,r.current))return!0;return!1}function Ep(e){return St(e,ve)}function Yn(e,t){var r;let n=(r=Be.getTreeNode(t))===null||r===void 0?void 0:r.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function pt(e,t=!1){if(e!=null&&!t)try{xa(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function Sc(e,t=!0){let r=e[0].previousElementSibling,n=Nt(e),o=Bt(n,{tabbable:t},e);o.currentNode=r;let a=o.nextNode();return t&&!a&&(n=Nt(e),o=Bt(n,{tabbable:!1},e),o.currentNode=r,a=o.nextNode()),a}function ha(e,t=!0){pt(Sc(e,t))}function wp(e,t){const r=ae.useRef(t);C.useEffect(()=>{if(r.current){ve=e;const n=he(e.current?e.current[0]:void 0);!Ze(je(n),ve.current)&&e.current&&ha(e.current)}r.current=!1},[e])}function Cp(e,t,r){_e(()=>{if(t||r)return;let n=e.current;const o=he(n?n[0]:void 0);let a=i=>{let s=$t(i);Ze(s,e.current)?ve=e:Ac(s)||(ve=null)};return o.addEventListener("focusin",a,!1),n==null||n.forEach(i=>i.addEventListener("focusin",a,!1)),()=>{o.removeEventListener("focusin",a,!1),n==null||n.forEach(i=>i.removeEventListener("focusin",a,!1))}},[e,t,r])}function Ui(e){let t=Be.getTreeNode(ve);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function $p(e,t,r){const n=C.useRef(typeof document<"u"?je(he(e.current?e.current[0]:void 0)):null);_e(()=>{let o=e.current;const a=he(o?o[0]:void 0);if(!t||r)return;let i=()=>{(!ve||Yn(ve,e))&&Ze(je(a),e.current)&&(ve=e)};return a.addEventListener("focusin",i,!1),o==null||o.forEach(s=>s.addEventListener("focusin",i,!1)),()=>{a.removeEventListener("focusin",i,!1),o==null||o.forEach(s=>s.removeEventListener("focusin",i,!1))}},[e,r]),_e(()=>{const o=he(e.current?e.current[0]:void 0);if(!t)return;let a=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!Er(e)||i.isComposing)return;let s=o.activeElement;if(!St(s,e)||!Ui(e))return;let u=Be.getTreeNode(e);if(!u)return;let c=u.nodeToRestore,l=Bt(o.body,{tabbable:!0});l.currentNode=s;let d=i.shiftKey?l.previousNode():l.nextNode();if((!c||!c.isConnected||c===o.body)&&(c=void 0,u.nodeToRestore=void 0),(!d||!St(d,e))&&c){l.currentNode=c;do d=i.shiftKey?l.previousNode():l.nextNode();while(St(d,e));i.preventDefault(),i.stopPropagation(),d?pt(d,!0):Ac(c)?pt(c,!0):s.blur()}};return r||o.addEventListener("keydown",a,!0),()=>{r||o.removeEventListener("keydown",a,!0)}},[e,t,r]),_e(()=>{const o=he(e.current?e.current[0]:void 0);if(!t)return;let a=Be.getTreeNode(e);if(a){var i;return a.nodeToRestore=(i=n.current)!==null&&i!==void 0?i:void 0,()=>{let s=Be.getTreeNode(e);if(!s)return;let u=s.nodeToRestore,c=je(o);if(t&&u&&(c&&St(c,e)||c===o.body&&Ui(e))){let l=Be.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let d=l.getTreeNode(e);for(;d;){if(d.nodeToRestore&&d.nodeToRestore.isConnected){Wi(d.nodeToRestore);return}d=d.parent}for(d=l.getTreeNode(e);d;){if(d.scopeRef&&d.scopeRef.current&&Be.getTreeNode(d.scopeRef)){let f=Sc(d.scopeRef.current,!0);Wi(f);return}d=d.parent}}})}}}},[e,t])}function Wi(e){e.dispatchEvent(new CustomEvent(pa,{bubbles:!0,cancelable:!0}))&&pt(e)}function Bt(e,t,r){let n=t!=null&&t.tabbable?wx:lc,o=(e==null?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null,a=he(o),i=Zd(a,e||a,NodeFilter.SHOW_ELEMENT,{acceptNode(s){var u;return!(t==null||(u=t.from)===null||u===void 0)&&u.contains(s)||t!=null&&t.tabbable&&s.tagName==="INPUT"&&s.getAttribute("type")==="radio"&&(!mp(s)||i.currentNode.tagName==="INPUT"&&i.currentNode.type==="radio"&&i.currentNode.name===s.name)?NodeFilter.FILTER_REJECT:n(s)&&(!r||Ze(s,r))&&(!(t!=null&&t.accept)||t.accept(s))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(i.currentNode=t.from),i}class Ya{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,r,n){let o=this.fastMap.get(r??null);if(!o)return;let a=new va({scopeRef:t});o.addChild(a),a.parent=o,this.fastMap.set(t,a),n&&(a.nodeToRestore=n)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let r=this.fastMap.get(t);if(!r)return;let n=r.parent;for(let a of this.traverse())a!==r&&r.nodeToRestore&&a.nodeToRestore&&r.scopeRef&&r.scopeRef.current&&Ze(a.nodeToRestore,r.scopeRef.current)&&(a.nodeToRestore=r.nodeToRestore);let o=r.children;n&&(n.removeChild(r),o.size>0&&o.forEach(a=>n&&n.addChild(a))),this.fastMap.delete(r.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let r of t.children)yield*this.traverse(r)}clone(){var t;let r=new Ya;var n;for(let o of this.traverse())r.addTreeNode(o.scopeRef,(n=(t=o.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&n!==void 0?n:null,o.nodeToRestore);return r}constructor(){this.fastMap=new Map,this.root=new va({scopeRef:null}),this.fastMap.set(null,this.root)}}class va{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}}let Be=new Ya;const dt=[];function Ap(e,t){let{onClose:r,shouldCloseOnBlur:n,isOpen:o,isDismissable:a=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:s}=e;C.useEffect(()=>(o&&dt.push(t),()=>{let x=dt.indexOf(t);x>=0&&dt.splice(x,1)}),[o,t]);let u=()=>{dt[dt.length-1]===t&&r&&r()},c=x=>{(!s||s(x.target))&&dt[dt.length-1]===t&&(x.stopPropagation(),x.preventDefault())},l=x=>{(!s||s(x.target))&&(dt[dt.length-1]===t&&(x.stopPropagation(),x.preventDefault()),u())},d=x=>{x.key==="Escape"&&!i&&!x.nativeEvent.isComposing&&(x.stopPropagation(),x.preventDefault(),u())};vp({ref:t,onInteractOutside:a&&o?l:void 0,onInteractOutsideStart:c});let{focusWithinProps:f}=Xa({isDisabled:!n,onBlurWithin:x=>{!x.relatedTarget||Ep(x.relatedTarget)||(!s||s(x.relatedTarget))&&(r==null||r())}}),p=x=>{x.target===x.currentTarget&&x.preventDefault()};return{overlayProps:{onKeyDown:d,...f},underlayProps:{onPointerDown:p}}}const Io=typeof document<"u"&&window.visualViewport,Sp=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let Xr=0,Ho;function Bp(e={}){let{isDisabled:t}=e;_e(()=>{if(!t)return Xr++,Xr===1&&(uo()?Ho=Fp():Ho=_p()),()=>{Xr--,Xr===0&&Ho()}},[t])}function _p(){return Br(Qt(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),Qt(document.documentElement,"overflow","hidden"))}function Fp(){let e,t,r=c=>{e=cc(c.target,!0),!(e===document.documentElement&&e===document.body)&&e instanceof HTMLElement&&window.getComputedStyle(e).overscrollBehavior==="auto"&&(t=Qt(e,"overscrollBehavior","contain"))},n=c=>{if(!e||e===document.documentElement||e===document.body){c.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&c.preventDefault()},o=c=>{let l=c.target;Vi(l)&&l!==document.activeElement&&(c.preventDefault(),s(),l.style.transform="translateY(-2000px)",l.focus(),requestAnimationFrame(()=>{l.style.transform=""})),t&&t()},a=c=>{let l=c.target;Vi(l)&&(s(),l.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{l.style.transform="",Io&&(Io.height<window.innerHeight?requestAnimationFrame(()=>{qi(l)}):Io.addEventListener("resize",()=>qi(l),{once:!0}))}))},i=null,s=()=>{if(i)return;let c=()=>{window.scrollTo(0,0)},l=window.pageXOffset,d=window.pageYOffset;i=Br(hr(window,"scroll",c),Qt(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),Qt(document.documentElement,"overflow","hidden"),Qt(document.body,"marginTop",`-${d}px`),()=>{window.scrollTo(l,d)}),window.scrollTo(0,0)},u=Br(hr(document,"touchstart",r,{passive:!1,capture:!0}),hr(document,"touchmove",n,{passive:!1,capture:!0}),hr(document,"touchend",o,{passive:!1,capture:!0}),hr(document,"focus",a,!0));return()=>{t==null||t(),i==null||i(),u()}}function Qt(e,t,r){let n=e.style[t];return e.style[t]=r,()=>{e.style[t]=n}}function hr(e,t,r,n){return e.addEventListener(t,r,n),()=>{e.removeEventListener(t,r,n)}}function qi(e){let t=document.scrollingElement||document.documentElement,r=e;for(;r&&r!==t;){let n=cc(r);if(n!==document.documentElement&&n!==document.body&&n!==r){let o=n.getBoundingClientRect().top,a=r.getBoundingClientRect().top;a>o+r.clientHeight&&(n.scrollTop+=a-o)}r=n.parentElement}}function Vi(e){return e instanceof HTMLInputElement&&!Sp.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}const ba=ae.createContext(null);function Dp(e){let{children:t}=e,r=C.useContext(ba),[n,o]=C.useState(0),a=C.useMemo(()=>({parent:r,modalCount:n,addModal(){o(i=>i+1),r&&r.addModal()},removeModal(){o(i=>i-1),r&&r.removeModal()}}),[r,n]);return ae.createElement(ba.Provider,{value:a},t)}function Tp(){let e=C.useContext(ba);return{modalProviderProps:{"aria-hidden":e&&e.modalCount>0?!0:void 0}}}function Pp(e){let{modalProviderProps:t}=Tp();return ae.createElement("div",{"data-overlay-container":!0,...e,...t})}function Bc(e){return ae.createElement(Dp,null,ae.createElement(Pp,e))}function cy(e){let t=Vt(),{portalContainer:r=t?null:document.body,...n}=e;if(ae.useEffect(()=>{if(r!=null&&r.closest("[data-overlay-container]"))throw new Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[r]),!r)return null;let o=ae.createElement(Bc,n);return y0.createPortal(o,r)}var _c={};_c={dismiss:"تجاهل"};var Fc={};Fc={dismiss:"Отхвърляне"};var Dc={};Dc={dismiss:"Odstranit"};var Tc={};Tc={dismiss:"Luk"};var Pc={};Pc={dismiss:"Schließen"};var kc={};kc={dismiss:"Απόρριψη"};var Rc={};Rc={dismiss:"Dismiss"};var Oc={};Oc={dismiss:"Descartar"};var Nc={};Nc={dismiss:"Lõpeta"};var Lc={};Lc={dismiss:"Hylkää"};var Mc={};Mc={dismiss:"Rejeter"};var Ic={};Ic={dismiss:"התעלם"};var Hc={};Hc={dismiss:"Odbaci"};var jc={};jc={dismiss:"Elutasítás"};var zc={};zc={dismiss:"Ignora"};var Uc={};Uc={dismiss:"閉じる"};var Wc={};Wc={dismiss:"무시"};var qc={};qc={dismiss:"Atmesti"};var Vc={};Vc={dismiss:"Nerādīt"};var Kc={};Kc={dismiss:"Lukk"};var Gc={};Gc={dismiss:"Negeren"};var Xc={};Xc={dismiss:"Zignoruj"};var Yc={};Yc={dismiss:"Descartar"};var Zc={};Zc={dismiss:"Dispensar"};var Jc={};Jc={dismiss:"Revocare"};var Qc={};Qc={dismiss:"Пропустить"};var el={};el={dismiss:"Zrušiť"};var tl={};tl={dismiss:"Opusti"};var rl={};rl={dismiss:"Odbaci"};var nl={};nl={dismiss:"Avvisa"};var ol={};ol={dismiss:"Kapat"};var al={};al={dismiss:"Скасувати"};var il={};il={dismiss:"取消"};var sl={};sl={dismiss:"關閉"};var cl={};cl={"ar-AE":_c,"bg-BG":Fc,"cs-CZ":Dc,"da-DK":Tc,"de-DE":Pc,"el-GR":kc,"en-US":Rc,"es-ES":Oc,"et-EE":Nc,"fi-FI":Lc,"fr-FR":Mc,"he-IL":Ic,"hr-HR":Hc,"hu-HU":jc,"it-IT":zc,"ja-JP":Uc,"ko-KR":Wc,"lt-LT":qc,"lv-LV":Vc,"nb-NO":Kc,"nl-NL":Gc,"pl-PL":Xc,"pt-BR":Yc,"pt-PT":Zc,"ro-RO":Jc,"ru-RU":Qc,"sk-SK":el,"sl-SI":tl,"sr-SP":rl,"sv-SE":nl,"tr-TR":ol,"uk-UA":al,"zh-CN":il,"zh-TW":sl};const Ki={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function kp(e={}){let{style:t,isFocusable:r}=e,[n,o]=C.useState(!1),{focusWithinProps:a}=Xa({isDisabled:!r,onFocusWithinChange:s=>o(s)}),i=C.useMemo(()=>n?t:t?{...Ki,...t}:Ki,[n]);return{visuallyHiddenProps:{...a,style:i}}}function Rp(e){let{children:t,elementType:r="div",isFocusable:n,style:o,...a}=e,{visuallyHiddenProps:i}=kp(e);return ae.createElement(r,_r(a,i),t)}function Op(e){return e&&e.__esModule?e.default:e}function Gi(e){let{onDismiss:t,...r}=e,n=np(Op(cl),"@react-aria/overlays"),o=hx(r,n.format("dismiss")),a=()=>{t&&t()};return ae.createElement(Rp,null,ae.createElement("button",{...o,tabIndex:-1,onClick:a,style:{width:1,height:1}}))}let vr=new WeakMap,Ge=[];function Np(e,t=document.body){let r=new Set(e),n=new Set,o=u=>{for(let f of u.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))r.add(f);let c=f=>{if(r.has(f)||f.parentElement&&n.has(f.parentElement)&&f.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let p of r)if(f.contains(p))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},l=document.createTreeWalker(u,NodeFilter.SHOW_ELEMENT,{acceptNode:c}),d=c(u);if(d===NodeFilter.FILTER_ACCEPT&&a(u),d!==NodeFilter.FILTER_REJECT){let f=l.nextNode();for(;f!=null;)a(f),f=l.nextNode()}},a=u=>{var c;let l=(c=vr.get(u))!==null&&c!==void 0?c:0;u.getAttribute("aria-hidden")==="true"&&l===0||(l===0&&u.setAttribute("aria-hidden","true"),n.add(u),vr.set(u,l+1))};Ge.length&&Ge[Ge.length-1].disconnect(),o(t);let i=new MutationObserver(u=>{for(let c of u)if(!(c.type!=="childList"||c.addedNodes.length===0)&&![...r,...n].some(l=>l.contains(c.target))){for(let l of c.removedNodes)l instanceof Element&&(r.delete(l),n.delete(l));for(let l of c.addedNodes)(l instanceof HTMLElement||l instanceof SVGElement)&&(l.dataset.liveAnnouncer==="true"||l.dataset.reactAriaTopLayer==="true")?r.add(l):l instanceof Element&&o(l)}});i.observe(t,{childList:!0,subtree:!0});let s={observe(){i.observe(t,{childList:!0,subtree:!0})},disconnect(){i.disconnect()}};return Ge.push(s),()=>{i.disconnect();for(let u of n){let c=vr.get(u);c!=null&&(c===1?(u.removeAttribute("aria-hidden"),vr.delete(u)):vr.set(u,c-1))}s===Ge[Ge.length-1]?(Ge.pop(),Ge.length&&Ge[Ge.length-1].observe()):Ge.splice(Ge.indexOf(s),1)}}const Lp=C.createContext({});function Mp(){var e;return(e=C.useContext(Lp))!==null&&e!==void 0?e:{}}const ll=ae.createContext(null);function Ip(e){let t=Vt(),{portalContainer:r=t?null:document.body,isExiting:n}=e,[o,a]=C.useState(!1),i=C.useMemo(()=>({contain:o,setContain:a}),[o,a]),{getContainer:s}=Mp();if(!e.portalContainer&&s&&(r=s()),!r)return null;let u=e.children;return e.disableFocusManagement||(u=ae.createElement(bp,{restoreFocus:!0,contain:o&&!n},u)),u=ae.createElement(ll.Provider,{value:i},ae.createElement(hp,null,u)),y0.createPortal(u,r)}function Hp(){let e=C.useContext(ll),t=e==null?void 0:e.setContain;_e(()=>{t==null||t(!0)},[t])}const ul=C.createContext({});function ho(e){const t=C.useRef(null);return t.current===null&&(t.current=e()),t.current}const fl=typeof window<"u",dl=fl?C.useLayoutEffect:C.useEffect,vo=C.createContext(null),jp=(e,t,r)=>r>t?t:r<e?e:r,zp={};function Up(e){return typeof e=="object"&&e!==null}const xl=e=>t=>typeof t=="string"&&t.startsWith(e),pl=xl("--"),Wp=xl("var(--"),ly=e=>Wp(e)?qp.test(e.split("/*")[0].trim()):!1,qp=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Za={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ga={...Za,transform:e=>jp(0,1,e)},Yr={...Za,default:1},Nr=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),kt=Nr("deg"),jo=Nr("%"),te=Nr("px"),uy=Nr("vh"),fy=Nr("vw"),Xi={...jo,parse:e=>jo.parse(e)/100,transform:e=>jo.transform(e*100)},bo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],hl=new Set(bo),Yi={...Za,transform:Math.round},Vp={rotate:kt,rotateX:kt,rotateY:kt,rotateZ:kt,scale:Yr,scaleX:Yr,scaleY:Yr,scaleZ:Yr,skew:kt,skewX:kt,skewY:kt,distance:te,translateX:te,translateY:te,translateZ:te,x:te,y:te,z:te,perspective:te,transformPerspective:te,opacity:ga,originX:Xi,originY:Xi,originZ:te},vl={borderWidth:te,borderTopWidth:te,borderRightWidth:te,borderBottomWidth:te,borderLeftWidth:te,borderRadius:te,radius:te,borderTopLeftRadius:te,borderTopRightRadius:te,borderBottomRightRadius:te,borderBottomLeftRadius:te,width:te,maxWidth:te,height:te,maxHeight:te,top:te,right:te,bottom:te,left:te,padding:te,paddingTop:te,paddingRight:te,paddingBottom:te,paddingLeft:te,margin:te,marginTop:te,marginRight:te,marginBottom:te,marginLeft:te,backgroundPositionX:te,backgroundPositionY:te,...Vp,zIndex:Yi,fillOpacity:ga,strokeOpacity:ga,numOctaves:Yi},bl=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function Kp(e){return Up(e)&&"offsetHeight"in e}const jt=e=>!!(e&&e.getVelocity),Tr=C.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function Zi(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Gp(...e){return t=>{let r=!1;const n=e.map(o=>{const a=Zi(o,t);return!r&&typeof a=="function"&&(r=!0),a});if(r)return()=>{for(let o=0;o<n.length;o++){const a=n[o];typeof a=="function"?a():Zi(e[o],null)}}}}function Xp(...e){return C.useCallback(Gp(...e),e)}class Yp extends C.Component{getSnapshotBeforeUpdate(t){const r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){const n=r.offsetParent,o=Kp(n)&&n.offsetWidth||0,a=this.props.sizeRef.current;a.height=r.offsetHeight||0,a.width=r.offsetWidth||0,a.top=r.offsetTop,a.left=r.offsetLeft,a.right=o-a.width-a.left}return null}componentDidUpdate(){}render(){return this.props.children}}function Zp({children:e,isPresent:t,anchorX:r,root:n}){const o=C.useId(),a=C.useRef(null),i=C.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:s}=C.useContext(Tr),u=Xp(a,e==null?void 0:e.ref);return C.useInsertionEffect(()=>{const{width:c,height:l,top:d,left:f,right:p}=i.current;if(t||!a.current||!c||!l)return;const x=r==="left"?`left: ${f}`:`right: ${p}`;a.current.dataset.motionPopId=o;const v=document.createElement("style");s&&(v.nonce=s);const h=n??document.head;return h.appendChild(v),v.sheet&&v.sheet.insertRule(`
|
|
[data-motion-pop-id="${o}"] {
|
|
position: absolute !important;
|
|
width: ${c}px !important;
|
|
height: ${l}px !important;
|
|
${x}px !important;
|
|
top: ${d}px !important;
|
|
}
|
|
`),()=>{h.contains(v)&&h.removeChild(v)}},[t]),I.jsx(Yp,{isPresent:t,childRef:a,sizeRef:i,children:C.cloneElement(e,{ref:u})})}const Jp=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:o,presenceAffectsLayout:a,mode:i,anchorX:s,root:u})=>{const c=ho(Qp),l=C.useId();let d=!0,f=C.useMemo(()=>(d=!1,{id:l,initial:t,isPresent:r,custom:o,onExitComplete:p=>{c.set(p,!0);for(const x of c.values())if(!x)return;n&&n()},register:p=>(c.set(p,!1),()=>c.delete(p))}),[r,c,n]);return a&&d&&(f={...f}),C.useMemo(()=>{c.forEach((p,x)=>c.set(x,!1))},[r]),C.useEffect(()=>{!r&&!c.size&&n&&n()},[r]),i==="popLayout"&&(e=I.jsx(Zp,{isPresent:r,anchorX:s,root:u,children:e})),I.jsx(vo.Provider,{value:f,children:e})};function Qp(){return new Map}function eh(e=!0){const t=C.useContext(vo);if(t===null)return[!0,null];const{isPresent:r,onExitComplete:n,register:o}=t,a=C.useId();C.useEffect(()=>{if(e)return o(a)},[e]);const i=C.useCallback(()=>e&&n&&n(a),[a,n,e]);return!r&&n?[!1,i]:[!0]}const Zr=e=>e.key||"";function Ji(e){const t=[];return C.Children.forEach(e,r=>{C.isValidElement(r)&&t.push(r)}),t}const gl=({children:e,custom:t,initial:r=!0,onExitComplete:n,presenceAffectsLayout:o=!0,mode:a="sync",propagate:i=!1,anchorX:s="left",root:u})=>{const[c,l]=eh(i),d=C.useMemo(()=>Ji(e),[e]),f=i&&!c?[]:d.map(Zr),p=C.useRef(!0),x=C.useRef(d),v=ho(()=>new Map),[h,w]=C.useState(d),[m,g]=C.useState(d);dl(()=>{p.current=!1,x.current=d;for(let _=0;_<m.length;_++){const D=Zr(m[_]);f.includes(D)?v.delete(D):v.get(D)!==!0&&v.set(D,!1)}},[m,f.length,f.join("-")]);const y=[];if(d!==h){let _=[...d];for(let D=0;D<m.length;D++){const b=m[D],k=Zr(b);f.includes(k)||(_.splice(D,0,b),y.push(b))}return a==="wait"&&y.length&&(_=y),g(Ji(_)),w(d),null}const{forceRender:A}=C.useContext(ul);return I.jsx(I.Fragment,{children:m.map(_=>{const D=Zr(_),b=i&&!c?!1:d===m||f.includes(D),k=()=>{if(v.has(D))v.set(D,!0);else return;let F=!0;v.forEach(S=>{S||(F=!1)}),F&&(A==null||A(),g(x.current),i&&(l==null||l()),n&&n())};return I.jsx(Jp,{isPresent:b,initial:!p.current||r?void 0:!1,custom:t,presenceAffectsLayout:o,mode:a,root:u,onExitComplete:b?void 0:k,anchorX:s,children:_},D)})})},Ja=C.createContext({strict:!1}),Qi={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Zn={};for(const e in Qi)Zn[e]={isEnabled:t=>Qi[e].some(r=>!!t[r])};function ma(e){for(const t in e)Zn[t]={...Zn[t],...e[t]}}function ya({children:e,features:t,strict:r=!1}){const[,n]=C.useState(!zo(t)),o=C.useRef(void 0);if(!zo(t)){const{renderer:a,...i}=t;o.current=a,ma(i)}return C.useEffect(()=>{zo(t)&&t().then(({renderer:a,...i})=>{ma(i),o.current=a,n(!0)})},[]),I.jsx(Ja.Provider,{value:{renderer:o.current,strict:r},children:e})}function zo(e){return typeof e=="function"}const th=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Jn(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||th.has(e)}let ml=e=>!Jn(e);function yl(e){typeof e=="function"&&(ml=t=>t.startsWith("on")?!Jn(t):e(t))}try{yl(require("@emotion/is-prop-valid").default)}catch{}function rh(e,t,r){const n={};for(const o in e)o==="values"&&typeof e.values=="object"||(ml(o)||r===!0&&Jn(o)||!t&&!Jn(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}function nh({children:e,isValidProp:t,...r}){t&&yl(t),r={...C.useContext(Tr),...r},r.isStatic=ho(()=>r.isStatic);const n=C.useMemo(()=>r,[JSON.stringify(r.transition),r.transformPagePoint,r.reducedMotion]);return I.jsx(Tr.Provider,{value:n,children:e})}const go=C.createContext({});function El(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Ea(e){return typeof e=="string"||Array.isArray(e)}const oh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ah=["initial",...oh];function Qa(e){return El(e.animate)||ah.some(t=>Ea(e[t]))}function ih(e){return!!(Qa(e)||e.variants)}function sh(e,t){if(Qa(e)){const{initial:r,animate:n}=e;return{initial:r===!1||Ea(r)?r:void 0,animate:Ea(n)?n:void 0}}return e.inherit!==!1?t:{}}function ch(e){const{initial:t,animate:r}=sh(e,C.useContext(go));return C.useMemo(()=>({initial:t,animate:r}),[es(t),es(r)])}function es(e){return Array.isArray(e)?e.join(" "):e}const wa={};function dy(e){for(const t in e)wa[t]=e[t],pl(t)&&(wa[t].isCSSVariable=!0)}function wl(e,{layout:t,layoutId:r}){return hl.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!wa[e]||e==="opacity")}const lh={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},uh=bo.length;function fh(e,t,r){let n="",o=!0;for(let a=0;a<uh;a++){const i=bo[a],s=e[i];if(s===void 0)continue;let u=!0;if(typeof s=="number"?u=s===(i.startsWith("scale")?1:0):u=parseFloat(s)===0,!u||r){const c=bl(s,vl[i]);if(!u){o=!1;const l=lh[i]||i;n+=`${l}(${c}) `}r&&(t[i]=c)}}return n=n.trim(),r?n=r(t,o?"":n):o&&(n="none"),n}function Cl(e,t,r){const{style:n,vars:o,transformOrigin:a}=e;let i=!1,s=!1;for(const u in t){const c=t[u];if(hl.has(u)){i=!0;continue}else if(pl(u)){o[u]=c;continue}else{const l=bl(c,vl[u]);u.startsWith("origin")?(s=!0,a[u]=l):n[u]=l}}if(t.transform||(i||r?n.transform=fh(t,e.transform,r):n.transform&&(n.transform="none")),s){const{originX:u="50%",originY:c="50%",originZ:l=0}=a;n.transformOrigin=`${u} ${c} ${l}`}}const ei=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function $l(e,t,r){for(const n in t)!jt(t[n])&&!wl(n,r)&&(e[n]=t[n])}function dh({transformTemplate:e},t){return C.useMemo(()=>{const r=ei();return Cl(r,t,e),Object.assign({},r.vars,r.style)},[t])}function xh(e,t){const r=e.style||{},n={};return $l(n,r,e),Object.assign(n,dh(e,t)),n}function ph(e,t){const r={},n=xh(e,t);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=n,r}const hh={offset:"stroke-dashoffset",array:"stroke-dasharray"},vh={offset:"strokeDashoffset",array:"strokeDasharray"};function bh(e,t,r=1,n=0,o=!0){e.pathLength=1;const a=o?hh:vh;e[a.offset]=te.transform(-n);const i=te.transform(t),s=te.transform(r);e[a.array]=`${i} ${s}`}function gh(e,{attrX:t,attrY:r,attrScale:n,pathLength:o,pathSpacing:a=1,pathOffset:i=0,...s},u,c,l){if(Cl(e,s,c),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),f.transform&&(f.transformBox=(l==null?void 0:l.transformBox)??"fill-box",delete d.transformBox),t!==void 0&&(d.x=t),r!==void 0&&(d.y=r),n!==void 0&&(d.scale=n),o!==void 0&&bh(d,o,a,i,!1)}const Al=()=>({...ei(),attrs:{}}),mh=e=>typeof e=="string"&&e.toLowerCase()==="svg";function yh(e,t,r,n){const o=C.useMemo(()=>{const a=Al();return gh(a,t,mh(n),e.transformTemplate,e.style),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};$l(a,e.style,e),o.style={...a,...o.style}}return o}const Eh=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Sl(e){return typeof e!="string"||e.includes("-")?!1:!!(Eh.indexOf(e)>-1||/[A-Z]/u.test(e))}function wh(e,t,r,{latestValues:n},o,a=!1){const s=(Sl(e)?yh:ph)(t,n,o,e),u=rh(t,typeof e=="string",a),c=e!==C.Fragment?{...u,...s,ref:r}:{},{children:l}=t,d=C.useMemo(()=>jt(l)?l.get():l,[l]);return C.createElement(e,{...c,children:d})}function ts(e){const t=[{},{}];return e==null||e.values.forEach((r,n)=>{t[0][n]=r.get(),t[1][n]=r.getVelocity()}),t}function Ch(e,t,r,n){if(typeof t=="function"){const[o,a]=ts(n);t=t(r!==void 0?r:e.custom,o,a)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[o,a]=ts(n);t=t(r!==void 0?r:e.custom,o,a)}return t}function $h(e){return jt(e)?e.get():e}function Ah({scrapeMotionValuesFromProps:e,createRenderState:t},r,n,o){return{latestValues:Sh(r,n,o,e),renderState:t()}}function Sh(e,t,r,n){const o={},a=n(e,{});for(const f in a)o[f]=$h(a[f]);let{initial:i,animate:s}=e;const u=Qa(e),c=ih(e);t&&c&&!u&&e.inherit!==!1&&(i===void 0&&(i=t.initial),s===void 0&&(s=t.animate));let l=r?r.initial===!1:!1;l=l||i===!1;const d=l?s:i;if(d&&typeof d!="boolean"&&!El(d)){const f=Array.isArray(d)?d:[d];for(let p=0;p<f.length;p++){const x=Ch(e,f[p]);if(x){const{transitionEnd:v,transition:h,...w}=x;for(const m in w){let g=w[m];if(Array.isArray(g)){const y=l?g.length-1:0;g=g[y]}g!==null&&(o[m]=g)}for(const m in v)o[m]=v[m]}}}return o}const Bl=e=>(t,r)=>{const n=C.useContext(go),o=C.useContext(vo),a=()=>Ah(e,t,n,o);return r?a():ho(a)};function _l(e,t,r){var a;const{style:n}=e,o={};for(const i in n)(jt(n[i])||t.style&&jt(t.style[i])||wl(i,e)||((a=r==null?void 0:r.getValue(i))==null?void 0:a.liveStyle)!==void 0)&&(o[i]=n[i]);return o}const Bh=Bl({scrapeMotionValuesFromProps:_l,createRenderState:ei});function _h(e,t,r){const n=_l(e,t,r);for(const o in e)if(jt(e[o])||jt(t[o])){const a=bo.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;n[a]=e[o]}return n}const Fh=Bl({scrapeMotionValuesFromProps:_h,createRenderState:Al}),Dh=Symbol.for("motionComponentSymbol");function Fl(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Th(e,t,r){return C.useCallback(n=>{n&&e.onMount&&e.onMount(n),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):Fl(r)&&(r.current=n))},[t])}const Ph=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),kh="framerAppearId",Rh="data-"+Ph(kh),Oh=C.createContext({});function Nh(e,t,r,n,o){var v,h;const{visualElement:a}=C.useContext(go),i=C.useContext(Ja),s=C.useContext(vo),u=C.useContext(Tr).reducedMotion,c=C.useRef(null);n=n||i.renderer,!c.current&&n&&(c.current=n(e,{visualState:t,parent:a,props:r,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:u}));const l=c.current,d=C.useContext(Oh);l&&!l.projection&&o&&(l.type==="html"||l.type==="svg")&&Lh(c.current,r,o,d);const f=C.useRef(!1);C.useInsertionEffect(()=>{l&&f.current&&l.update(r,s)});const p=r[Rh],x=C.useRef(!!p&&!((v=window.MotionHandoffIsComplete)!=null&&v.call(window,p))&&((h=window.MotionHasOptimisedAnimation)==null?void 0:h.call(window,p)));return dl(()=>{l&&(f.current=!0,window.MotionIsMounted=!0,l.updateFeatures(),l.scheduleRenderMicrotask(),x.current&&l.animationState&&l.animationState.animateChanges())}),C.useEffect(()=>{l&&(!x.current&&l.animationState&&l.animationState.animateChanges(),x.current&&(queueMicrotask(()=>{var w;(w=window.MotionHandoffMarkAsComplete)==null||w.call(window,p)}),x.current=!1),l.enteringChildren=void 0)}),l}function Lh(e,t,r,n){const{layoutId:o,layout:a,drag:i,dragConstraints:s,layoutScroll:u,layoutRoot:c,layoutCrossfade:l}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:Dl(e.parent)),e.projection.setOptions({layoutId:o,layout:a,alwaysMeasureLayout:!!i||s&&Fl(s),visualElement:e,animationType:typeof a=="string"?a:"both",initialPromotionConfig:n,crossfade:l,layoutScroll:u,layoutRoot:c})}function Dl(e){if(e)return e.options.allowProjection!==!1?e.projection:Dl(e.parent)}function Uo(e,{forwardMotionProps:t=!1}={},r,n){r&&ma(r);const o=Sl(e)?Fh:Bh;function a(s,u){let c;const l={...C.useContext(Tr),...s,layoutId:Mh(s)},{isStatic:d}=l,f=ch(s),p=o(s,d);if(!d&&fl){Ih();const x=Hh(l);c=x.MeasureLayout,f.visualElement=Nh(e,p,l,n,x.ProjectionNode)}return I.jsxs(go.Provider,{value:f,children:[c&&f.visualElement?I.jsx(c,{visualElement:f.visualElement,...l}):null,wh(e,s,Th(p,f.visualElement,u),p,d,t)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const i=C.forwardRef(a);return i[Dh]=e,i}function Mh({layoutId:e}){const t=C.useContext(ul).id;return t&&e!==void 0?t+"-"+e:e}function Ih(e,t){C.useContext(Ja).strict}function Hh(e){const{drag:t,layout:r}=Zn;if(!t&&!r)return{};const n={...t,...r};return{MeasureLayout:t!=null&&t.isEnabled(e)||r!=null&&r.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}function jh(e,t){if(typeof Proxy>"u")return Uo;const r=new Map,n=(a,i)=>Uo(a,i,e,t),o=(a,i)=>n(a,i);return new Proxy(o,{get:(a,i)=>i==="create"?n:(r.has(i)||r.set(i,Uo(i,void 0,e,t)),r.get(i))})}const Ca=jh();var zh=({children:e,navigate:t,disableAnimation:r,useHref:n,disableRipple:o=!1,skipFramerMotionAnimations:a=r,reducedMotion:i="never",validationBehavior:s,locale:u="en-US",defaultDates:c,createCalendar:l,...d})=>{let f=e;t&&(f=I.jsx(Ux,{navigate:t,useHref:n,children:f}));const p=C.useMemo(()=>(r&&a&&(zp.skipAnimations=!0),{createCalendar:l,defaultDates:c,disableAnimation:r,disableRipple:o,validationBehavior:s}),[l,c==null?void 0:c.maxDate,c==null?void 0:c.minDate,r,o,s]);return I.jsx(wd,{value:p,children:I.jsx(kd,{locale:u,children:I.jsx(nh,{reducedMotion:i,children:I.jsx(Bc,{...d,children:f})})})})},[xy,Uh]=ja({name:"ButtonGroupContext",strict:!1});function Wh(e){const t=he(e);if(Ga()==="virtual"){let r=t.activeElement;Wa(()=>{t.activeElement===r&&e.isConnected&&tt(e)})}else tt(e)}function Tl(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,o=C.useRef({isFocused:!1,isFocusVisible:t||Cc()}),[a,i]=C.useState(!1),[s,u]=C.useState(()=>o.current.isFocused&&o.current.isFocusVisible),c=C.useCallback(()=>u(o.current.isFocused&&o.current.isFocusVisible),[]),l=C.useCallback(p=>{o.current.isFocused=p,i(p),c()},[c]);xp(p=>{o.current.isFocusVisible=p,c()},[],{isTextInput:r});let{focusProps:d}=$c({isDisabled:n,onFocusChange:l}),{focusWithinProps:f}=Xa({isDisabled:!n,onFocusWithinChange:l});return{isFocused:a,isFocusVisible:s,focusProps:n?f:d}}let qh=ae.createContext(null);function Vh(e){let t=C.useContext(qh)||{};sc(t,e);let{ref:r,...n}=t;return n}function Kh(e,t){let{focusProps:r}=$c(e),{keyboardProps:n}=pp(e),o=_r(r,n),a=Vh(t),i=e.isDisabled?{}:a,s=C.useRef(e.autoFocus);return C.useEffect(()=>{s.current&&t.current&&Wh(t.current),s.current=!1},[t]),{focusableProps:_r({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}let er="default",$a="",an=new WeakMap;function rs(e){if(uo()){if(er==="default"){const t=he(e);$a=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}er="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(an.set(e,e.style.userSelect),e.style.userSelect="none")}function Jr(e){if(uo()){if(er!=="disabled")return;er="restoring",setTimeout(()=>{Wa(()=>{if(er==="restoring"){const t=he(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=$a||""),$a="",er="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&an.has(e)){let t=an.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),an.delete(e)}}const Pl=ae.createContext({register:()=>{}});Pl.displayName="PressResponderContext";function Gh(e){let t=C.useContext(Pl);if(t){let{register:r,...n}=t;e=_r(n,e),r()}return sc(t,e.ref),e}var Qr=new WeakMap;class en{continuePropagation(){Ii(this,Qr,!1)}get shouldStopPropagation(){return ip(this,Qr)}constructor(t,r,n,o){Hd(this,Qr,{writable:!0,value:void 0}),Ii(this,Qr,!0);var a;let i=(a=o==null?void 0:o.target)!==null&&a!==void 0?a:n.currentTarget;const s=i==null?void 0:i.getBoundingClientRect();let u,c=0,l,d=null;n.clientX!=null&&n.clientY!=null&&(l=n.clientX,d=n.clientY),s&&(l!=null&&d!=null?(u=l-s.left,c=d-s.top):(u=s.width/2,c=s.height/2)),this.type=t,this.pointerType=r,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=u,this.y=c}}const ns=Symbol("linkClicked");function Xh(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:i,isPressed:s,preventFocusOnPress:u,shouldCancelOnPointerExit:c,allowTextSelectionOnPress:l,ref:d,...f}=Gh(e),[p,x]=C.useState(!1),v=C.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:h,removeAllGlobalListeners:w}=ic(),m=ct((b,k)=>{let F=v.current;if(i||F.didFirePressStart)return!1;let S=!0;if(F.isTriggeringEvent=!0,n){let B=new en("pressstart",k,b);n(B),S=B.shouldStopPropagation}return r&&r(!0),F.isTriggeringEvent=!1,F.didFirePressStart=!0,x(!0),S}),g=ct((b,k,F=!0)=>{let S=v.current;if(!S.didFirePressStart)return!1;S.ignoreClickAfterPress=!0,S.didFirePressStart=!1,S.isTriggeringEvent=!0;let B=!0;if(o){let $=new en("pressend",k,b);o($),B=$.shouldStopPropagation}if(r&&r(!1),x(!1),t&&F&&!i){let $=new en("press",k,b);t($),B&&(B=$.shouldStopPropagation)}return S.isTriggeringEvent=!1,B}),y=ct((b,k)=>{let F=v.current;if(i)return!1;if(a){F.isTriggeringEvent=!0;let S=new en("pressup",k,b);return a(S),F.isTriggeringEvent=!1,S.shouldStopPropagation}return!0}),A=ct(b=>{let k=v.current;k.isPressed&&k.target&&(k.isOverTarget&&k.pointerType!=null&&g(xt(k.target,b),k.pointerType,!1),k.isPressed=!1,k.isOverTarget=!1,k.activePointerId=null,k.pointerType=null,w(),l||Jr(k.target))}),_=ct(b=>{c&&A(b)}),D=C.useMemo(()=>{let b=v.current,k={onKeyDown(S){if(Wo(S.nativeEvent,S.currentTarget)&&S.currentTarget.contains(S.target)){var B;as(S.target,S.key)&&S.preventDefault();let $=!0;if(!b.isPressed&&!S.repeat){b.target=S.currentTarget,b.isPressed=!0,$=m(S,"keyboard");let O=S.currentTarget,P=H=>{Wo(H,O)&&!H.repeat&&O.contains(H.target)&&b.target&&y(xt(b.target,H),"keyboard")};h(he(S.currentTarget),"keyup",Br(P,F),!0)}$&&S.stopPropagation(),S.metaKey&&or()&&((B=b.metaKeyEvents)===null||B===void 0||B.set(S.key,S.nativeEvent))}else S.key==="Meta"&&(b.metaKeyEvents=new Map)},onClick(S){if(!(S&&!S.currentTarget.contains(S.target))&&S&&S.button===0&&!b.isTriggeringEvent&&!ar.isOpening){let B=!0;if(i&&S.preventDefault(),!b.ignoreClickAfterPress&&!b.ignoreEmulatedMouseEvents&&!b.isPressed&&(b.pointerType==="virtual"||la(S.nativeEvent))){!i&&!u&&tt(S.currentTarget);let $=m(S,"virtual"),O=y(S,"virtual"),P=g(S,"virtual");B=$&&O&&P}b.ignoreEmulatedMouseEvents=!1,b.ignoreClickAfterPress=!1,B&&S.stopPropagation()}}},F=S=>{var B;if(b.isPressed&&b.target&&Wo(S,b.target)){var $;as(S.target,S.key)&&S.preventDefault();let P=S.target;g(xt(b.target,S),"keyboard",b.target.contains(P)),w(),S.key!=="Enter"&&ti(b.target)&&b.target.contains(P)&&!S[ns]&&(S[ns]=!0,ar(b.target,S,!1)),b.isPressed=!1,($=b.metaKeyEvents)===null||$===void 0||$.delete(S.key)}else if(S.key==="Meta"&&(!((B=b.metaKeyEvents)===null||B===void 0)&&B.size)){var O;let P=b.metaKeyEvents;b.metaKeyEvents=void 0;for(let H of P.values())(O=b.target)===null||O===void 0||O.dispatchEvent(new KeyboardEvent("keyup",H))}};if(typeof PointerEvent<"u"){k.onPointerDown=P=>{if(P.button!==0||!P.currentTarget.contains(P.target))return;if(vx(P.nativeEvent)){b.pointerType="virtual";return}qo(P.currentTarget)&&P.preventDefault(),b.pointerType=P.pointerType;let H=!0;b.isPressed||(b.isPressed=!0,b.isOverTarget=!0,b.activePointerId=P.pointerId,b.target=P.currentTarget,!i&&!u&&tt(P.currentTarget),l||rs(b.target),H=m(P,b.pointerType),h(he(P.currentTarget),"pointermove",S,!1),h(he(P.currentTarget),"pointerup",B,!1),h(he(P.currentTarget),"pointercancel",O,!1)),H&&P.stopPropagation()},k.onMouseDown=P=>{P.currentTarget.contains(P.target)&&P.button===0&&(qo(P.currentTarget)&&P.preventDefault(),P.stopPropagation())},k.onPointerUp=P=>{!P.currentTarget.contains(P.target)||b.pointerType==="virtual"||P.button===0&&Jt(P,P.currentTarget)&&y(P,b.pointerType||P.pointerType)};let S=P=>{P.pointerId===b.activePointerId&&(b.target&&Jt(P,b.target)?!b.isOverTarget&&b.pointerType!=null&&(b.isOverTarget=!0,m(xt(b.target,P),b.pointerType)):b.target&&b.isOverTarget&&b.pointerType!=null&&(b.isOverTarget=!1,g(xt(b.target,P),b.pointerType,!1),_(P)))},B=P=>{P.pointerId===b.activePointerId&&b.isPressed&&P.button===0&&b.target&&(Jt(P,b.target)&&b.pointerType!=null?g(xt(b.target,P),b.pointerType):b.isOverTarget&&b.pointerType!=null&&g(xt(b.target,P),b.pointerType,!1),b.isPressed=!1,b.isOverTarget=!1,b.activePointerId=null,b.pointerType=null,w(),l||Jr(b.target),"ontouchend"in b.target&&P.pointerType!=="mouse"&&h(b.target,"touchend",$,{once:!0}))},$=P=>{kl(P.currentTarget)&&P.preventDefault()},O=P=>{A(P)};k.onDragStart=P=>{P.currentTarget.contains(P.target)&&A(P)}}else{k.onMouseDown=$=>{if($.button!==0||!$.currentTarget.contains($.target))return;if(qo($.currentTarget)&&$.preventDefault(),b.ignoreEmulatedMouseEvents){$.stopPropagation();return}b.isPressed=!0,b.isOverTarget=!0,b.target=$.currentTarget,b.pointerType=la($.nativeEvent)?"virtual":"mouse",!i&&!u&&tt($.currentTarget),m($,b.pointerType)&&$.stopPropagation(),h(he($.currentTarget),"mouseup",S,!1)},k.onMouseEnter=$=>{if(!$.currentTarget.contains($.target))return;let O=!0;b.isPressed&&!b.ignoreEmulatedMouseEvents&&b.pointerType!=null&&(b.isOverTarget=!0,O=m($,b.pointerType)),O&&$.stopPropagation()},k.onMouseLeave=$=>{if(!$.currentTarget.contains($.target))return;let O=!0;b.isPressed&&!b.ignoreEmulatedMouseEvents&&b.pointerType!=null&&(b.isOverTarget=!1,O=g($,b.pointerType,!1),_($)),O&&$.stopPropagation()},k.onMouseUp=$=>{$.currentTarget.contains($.target)&&!b.ignoreEmulatedMouseEvents&&$.button===0&&y($,b.pointerType||"mouse")};let S=$=>{if($.button===0){if(b.isPressed=!1,w(),b.ignoreEmulatedMouseEvents){b.ignoreEmulatedMouseEvents=!1;return}b.target&&Jt($,b.target)&&b.pointerType!=null?g(xt(b.target,$),b.pointerType):b.target&&b.isOverTarget&&b.pointerType!=null&&g(xt(b.target,$),b.pointerType,!1),b.isOverTarget=!1}};k.onTouchStart=$=>{if(!$.currentTarget.contains($.target))return;let O=Yh($.nativeEvent);if(!O)return;b.activePointerId=O.identifier,b.ignoreEmulatedMouseEvents=!0,b.isOverTarget=!0,b.isPressed=!0,b.target=$.currentTarget,b.pointerType="touch",!i&&!u&&tt($.currentTarget),l||rs(b.target),m(wt(b.target,$),b.pointerType)&&$.stopPropagation(),h(Ye($.currentTarget),"scroll",B,!0)},k.onTouchMove=$=>{if(!$.currentTarget.contains($.target))return;if(!b.isPressed){$.stopPropagation();return}let O=os($.nativeEvent,b.activePointerId),P=!0;O&&Jt(O,$.currentTarget)?!b.isOverTarget&&b.pointerType!=null&&(b.isOverTarget=!0,P=m(wt(b.target,$),b.pointerType)):b.isOverTarget&&b.pointerType!=null&&(b.isOverTarget=!1,P=g(wt(b.target,$),b.pointerType,!1),_(wt(b.target,$))),P&&$.stopPropagation()},k.onTouchEnd=$=>{if(!$.currentTarget.contains($.target))return;if(!b.isPressed){$.stopPropagation();return}let O=os($.nativeEvent,b.activePointerId),P=!0;O&&Jt(O,$.currentTarget)&&b.pointerType!=null?(y(wt(b.target,$),b.pointerType),P=g(wt(b.target,$),b.pointerType)):b.isOverTarget&&b.pointerType!=null&&(P=g(wt(b.target,$),b.pointerType,!1)),P&&$.stopPropagation(),b.isPressed=!1,b.activePointerId=null,b.isOverTarget=!1,b.ignoreEmulatedMouseEvents=!0,b.target&&!l&&Jr(b.target),w()},k.onTouchCancel=$=>{$.currentTarget.contains($.target)&&($.stopPropagation(),b.isPressed&&A(wt(b.target,$)))};let B=$=>{b.isPressed&&$.target.contains(b.target)&&A({currentTarget:b.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};k.onDragStart=$=>{$.currentTarget.contains($.target)&&A($)}}return k},[h,i,u,w,l,A,_,g,m,y]);return C.useEffect(()=>()=>{var b;l||Jr((b=v.current.target)!==null&&b!==void 0?b:void 0)},[l]),{isPressed:s||p,pressProps:_r(f,D)}}function ti(e){return e.tagName==="A"&&e.hasAttribute("href")}function Wo(e,t){const{key:r,code:n}=e,o=t,a=o.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(o instanceof Ye(o).HTMLInputElement&&!Rl(o,r)||o instanceof Ye(o).HTMLTextAreaElement||o.isContentEditable)&&!((a==="link"||!a&&ti(o))&&r!=="Enter")}function Yh(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function os(e,t){const r=e.changedTouches;for(let n=0;n<r.length;n++){const o=r[n];if(o.identifier===t)return o}return null}function wt(e,t){let r=0,n=0;return t.targetTouches&&t.targetTouches.length===1&&(r=t.targetTouches[0].clientX,n=t.targetTouches[0].clientY),{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:n}}function xt(e,t){let r=t.clientX,n=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:n}}function Zh(e){let t=0,r=0;return e.width!==void 0?t=e.width/2:e.radiusX!==void 0&&(t=e.radiusX),e.height!==void 0?r=e.height/2:e.radiusY!==void 0&&(r=e.radiusY),{top:e.clientY-r,right:e.clientX+t,bottom:e.clientY+r,left:e.clientX-t}}function Jh(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Jt(e,t){let r=t.getBoundingClientRect(),n=Zh(e);return Jh(r,n)}function qo(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function kl(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!ti(e)}function as(e,t){return e instanceof HTMLInputElement?!Rl(e,t):kl(e)}const Qh=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Rl(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":Qh.has(e.type)}let Qn=!1,Vo=0;function Aa(){Qn=!0,setTimeout(()=>{Qn=!1},50)}function is(e){e.pointerType==="touch"&&Aa()}function e1(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",is):document.addEventListener("touchend",Aa),Vo++,()=>{Vo--,!(Vo>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",is):document.removeEventListener("touchend",Aa))}}function t1(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:o}=e,[a,i]=C.useState(!1),s=C.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;C.useEffect(e1,[]);let{hoverProps:u,triggerHoverEnd:c}=C.useMemo(()=>{let l=(p,x)=>{if(s.pointerType=x,o||x==="touch"||s.isHovered||!p.currentTarget.contains(p.target))return;s.isHovered=!0;let v=p.currentTarget;s.target=v,t&&t({type:"hoverstart",target:v,pointerType:x}),r&&r(!0),i(!0)},d=(p,x)=>{if(s.pointerType="",s.target=null,x==="touch"||!s.isHovered)return;s.isHovered=!1;let v=p.currentTarget;n&&n({type:"hoverend",target:v,pointerType:x}),r&&r(!1),i(!1)},f={};return typeof PointerEvent<"u"?(f.onPointerEnter=p=>{Qn&&p.pointerType==="mouse"||l(p,p.pointerType)},f.onPointerLeave=p=>{!o&&p.currentTarget.contains(p.target)&&d(p,p.pointerType)}):(f.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},f.onMouseEnter=p=>{!s.ignoreEmulatedMouseEvents&&!Qn&&l(p,"mouse"),s.ignoreEmulatedMouseEvents=!1},f.onMouseLeave=p=>{!o&&p.currentTarget.contains(p.target)&&d(p,"mouse")}),{hoverProps:f,triggerHoverEnd:d}},[t,r,n,o,s]);return C.useEffect(()=>{o&&c({currentTarget:s.target},s.pointerType)},[o]),{hoverProps:u,isHovered:a}}function Ol(e,t){let{elementType:r="button",isDisabled:n,onPress:o,onPressStart:a,onPressEnd:i,onPressChange:s,preventFocusOnPress:u,allowFocusWhenDisabled:c,onClick:l,href:d,target:f,rel:p,type:x="button",allowTextSelectionOnPress:v}=e,h;r==="button"?h={type:x,disabled:n}:h={role:"button",tabIndex:n?void 0:0,href:r==="a"&&!n?d:void 0,target:r==="a"?f:void 0,type:r==="input"?x:void 0,disabled:r==="input"?n:void 0,"aria-disabled":!n||r==="input"?void 0:n,rel:r==="a"?p:void 0};let w=Mx()||jx();l&&typeof l=="function"&&Qf("onClick is deprecated, please use onPress instead. See: https://github.com/heroui-inc/heroui/issues/4292","useButton");const m=D=>{w&&(l==null||l(D)),o==null||o(D)};let{pressProps:g,isPressed:y}=Xh({onPressStart:a,onPressEnd:i,onPressChange:s,onPress:m,isDisabled:n,preventFocusOnPress:u,allowTextSelectionOnPress:v,ref:t}),{focusableProps:A}=Kh(e,t);c&&(A.tabIndex=n?-1:A.tabIndex);let _=It(A,g,Px(e,{labelable:!0}));return{isPressed:y,buttonProps:It(h,_,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:D=>{x==="button"&&w||l==null||l(D)}})}}var r1=()=>Pe(()=>import("./index-Crbd1Tvi.js"),__vite__mapDeps([0,1,2,3,4,5,6])).then(e=>e.default),Nl=e=>{const{ripples:t=[],motionProps:r,color:n="currentColor",style:o,onClear:a}=e;return I.jsx(I.Fragment,{children:t.map(i=>{const s=fd(.01*i.size,.2,i.size>100?.75:.5);return I.jsx(ya,{features:r1,children:I.jsx(gl,{mode:"popLayout",children:I.jsx(Ca.span,{animate:{transform:"scale(2)",opacity:0},className:"heroui-ripple",exit:{opacity:0},initial:{transform:"scale(0)",opacity:.35},style:{position:"absolute",backgroundColor:n,borderRadius:"100%",transformOrigin:"center",pointerEvents:"none",overflow:"hidden",inset:0,zIndex:0,top:i.y,left:i.x,width:`${i.size}px`,height:`${i.size}px`,...o},transition:{duration:s},onAnimationComplete:()=>{a(i.key)},...r})})},i.key)})})};Nl.displayName="HeroUI.Ripple";var n1=Nl;function o1(e={}){const[t,r]=C.useState([]),n=C.useCallback(a=>{const i=a.target,s=Math.max(i.clientWidth,i.clientHeight);r(u=>[...u,{key:ld(u.length.toString()),size:s,x:a.x-s/2,y:a.y-s/2}])},[]),o=C.useCallback(a=>{r(i=>i.filter(s=>s.key!==a))},[]);return{ripples:t,onClear:o,onPress:n,...e}}function a1(e){var t,r,n,o,a,i,s,u,c;const l=Uh(),d=G0(),f=!!l,{ref:p,as:x,children:v,startContent:h,endContent:w,autoFocus:m,className:g,spinner:y,isLoading:A=!1,disableRipple:_=!1,fullWidth:D=(t=l==null?void 0:l.fullWidth)!=null?t:!1,radius:b=l==null?void 0:l.radius,size:k=(r=l==null?void 0:l.size)!=null?r:"md",color:F=(n=l==null?void 0:l.color)!=null?n:"default",variant:S=(o=l==null?void 0:l.variant)!=null?o:"solid",disableAnimation:B=(i=(a=l==null?void 0:l.disableAnimation)!=null?a:d==null?void 0:d.disableAnimation)!=null?i:!1,isDisabled:$=(s=l==null?void 0:l.isDisabled)!=null?s:!1,isIconOnly:O=(u=l==null?void 0:l.isIconOnly)!=null?u:!1,spinnerPlacement:P="start",onPress:H,onClick:W,...j}=e,q=x||"button",Z=typeof q=="string",E=Or(p),T=(c=_||(d==null?void 0:d.disableRipple))!=null?c:B,{isFocusVisible:R,isFocused:L,focusProps:V}=Tl({autoFocus:m}),Y=$||A,ie=C.useMemo(()=>Yf({size:k,color:F,variant:S,radius:b,fullWidth:D,isDisabled:Y,isInGroup:f,disableAnimation:B,isIconOnly:O,className:g}),[k,F,S,b,D,Y,f,O,B,g]),{onPress:K,onClear:re,ripples:pe}=o1(),$e=C.useCallback(J=>{T||Y||B||E.current&&K(J)},[T,Y,B,E,K]),{buttonProps:nt,isPressed:Ne}=Ol({elementType:x,isDisabled:Y,onPress:fo(H,$e),onClick:W,...j},E),{isHovered:Fe,hoverProps:ot}=t1({isDisabled:Y}),M=C.useCallback((J={})=>({"data-disabled":st(Y),"data-focus":st(L),"data-pressed":st(Ne),"data-focus-visible":st(R),"data-hover":st(Fe),"data-loading":st(A),...It(nt,V,ot,Fi(j,{enabled:Z}),Fi(J))}),[A,Y,L,Ne,Z,R,Fe,nt,V,ot,j]),z=J=>C.isValidElement(J)?C.cloneElement(J,{"aria-hidden":!0,focusable:!1,tabIndex:-1}):null,G=z(h),U=z(w),Q=C.useMemo(()=>({sm:"sm",md:"sm",lg:"md"})[k],[k]),X=C.useCallback(()=>({ripples:pe,onClear:re}),[pe,re]);return{Component:q,children:v,domRef:E,spinner:y,styles:ie,startContent:G,endContent:U,isLoading:A,spinnerPlacement:P,spinnerSize:Q,disableRipple:T,getButtonProps:M,getRippleProps:X,isIconOnly:O}}var Ll=sr((e,t)=>{const{Component:r,domRef:n,children:o,styles:a,spinnerSize:i,spinner:s=I.jsx(W0,{color:"current",size:i}),spinnerPlacement:u,startContent:c,endContent:l,isLoading:d,disableRipple:f,getButtonProps:p,getRippleProps:x,isIconOnly:v}=a1({...e,ref:t});return I.jsxs(r,{ref:n,className:a,...p(),children:[c,d&&u==="start"&&s,d&&v?null:o,d&&u==="end"&&s,l,!f&&I.jsx(n1,{...x()})]})});Ll.displayName="HeroUI.Button";var ss=Ll,[i1,mo]=ja({name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap all popover components within `<Modal />`"}),Ml=sr((e,t)=>{const{as:r,children:n,className:o,...a}=e,{slots:i,classNames:s,bodyId:u,setBodyMounted:c}=mo(),l=Or(t),d=r||"div";return C.useEffect(()=>(c(!0),()=>c(!1)),[c]),I.jsx(d,{ref:l,className:i.body({class:nr(s==null?void 0:s.body,o)}),id:u,...a,children:n})});Ml.displayName="HeroUI.ModalBody";var s1=Ml,Ar={ease:[.36,.66,.4,1]},c1={scaleSpring:{enter:{transform:"scale(1)",opacity:1,transition:{type:"spring",bounce:0,duration:.2}},exit:{transform:"scale(0.85)",opacity:0,transition:{type:"easeOut",duration:.15}}},scaleSpringOpacity:{initial:{opacity:0,transform:"scale(0.8)"},enter:{opacity:1,transform:"scale(1)",transition:{type:"spring",bounce:0,duration:.3}},exit:{opacity:0,transform:"scale(0.96)",transition:{type:"easeOut",bounce:0,duration:.15}}},fade:{enter:{opacity:1,transition:{duration:.4,ease:Ar.ease}},exit:{opacity:0,transition:{duration:.3,ease:Ar.ease}}}},l1={enter:{scale:"var(--scale-enter)",y:"var(--slide-enter)",opacity:1,willChange:"auto",transition:{scale:{duration:.4,ease:Ar.ease},opacity:{duration:.4,ease:Ar.ease},y:{type:"spring",bounce:0,duration:.6}}},exit:{scale:"var(--scale-exit)",y:"var(--slide-exit)",opacity:0,willChange:"transform",transition:{duration:.3,ease:Ar.ease}}},u1=e=>{const{isSelected:t,isIndeterminate:r,disableAnimation:n,...o}=e;return I.jsx("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",role:"presentation",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",width:"1em",...o,children:I.jsx("path",{d:"M18 6L6 18M6 6l12 12"})})};const f1=ae.createContext(null);function d1(){let e=C.useContext(f1),t=e==null?void 0:e.setContain;_e(()=>{t==null||t(!0)},[t])}function x1(e,t){let{role:r="dialog"}=e,n=qd();n=e["aria-label"]?void 0:n;let o=C.useRef(!1);return C.useEffect(()=>{if(t.current&&!t.current.contains(document.activeElement)){xa(t.current);let a=setTimeout(()=>{document.activeElement===t.current&&(o.current=!0,t.current&&(t.current.blur(),xa(t.current)),o.current=!1)},500);return()=>{clearTimeout(a)}}},[t]),d1(),{dialogProps:{...nx(e,{labelable:!0}),role:r,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||n,onBlur:a=>{o.current&&a.stopPropagation()}},titleProps:{id:n}}}var cs=()=>Pe(()=>import("./index-Crbd1Tvi.js"),__vite__mapDeps([0,1,2,3,4,5,6])).then(e=>e.default),Il=e=>{const{as:t,children:r,role:n="dialog",...o}=e,{Component:a,domRef:i,slots:s,classNames:u,motionProps:c,backdrop:l,closeButton:d,hideCloseButton:f,disableAnimation:p,getDialogProps:x,getBackdropProps:v,getCloseButtonProps:h,onClose:w}=mo(),m=t||a||"div",g=Kx(),{dialogProps:y}=x1({role:n},i),A=C.isValidElement(d)?C.cloneElement(d,h()):I.jsx("button",{...h(),children:I.jsx(u1,{})}),_=C.useCallback(B=>{B.key==="Tab"&&B.nativeEvent.isComposing&&(B.stopPropagation(),B.preventDefault())},[]),D=x(It(y,o)),b=I.jsxs(m,{...D,onKeyDown:fo(D.onKeyDown,_),children:[I.jsx(Gi,{onDismiss:w}),!f&&A,typeof r=="function"?r(w):r,I.jsx(Gi,{onDismiss:w})]}),k=C.useMemo(()=>l==="transparent"?null:p?I.jsx("div",{...v()}):I.jsx(ya,{features:cs,children:I.jsx(Ca.div,{animate:"enter",exit:"exit",initial:"exit",variants:c1.fade,...v()})}),[l,p,v]),F={"--visual-viewport-height":g.height+"px"},S=p?I.jsx("div",{className:s.wrapper({class:u==null?void 0:u.wrapper}),"data-slot":"wrapper",style:F,children:b}):I.jsx(ya,{features:cs,children:I.jsx(Ca.div,{animate:"enter",className:s.wrapper({class:u==null?void 0:u.wrapper}),"data-slot":"wrapper",exit:"exit",initial:"exit",variants:l1,...c,style:F,children:b})});return I.jsxs("div",{tabIndex:-1,children:[k,S]})};Il.displayName="HeroUI.ModalContent";var p1=Il,Hl=sr((e,t)=>{const{as:r,children:n,className:o,...a}=e,{slots:i,classNames:s}=mo(),u=Or(t),c=r||"footer";return I.jsx(c,{ref:u,className:i.footer({class:nr(s==null?void 0:s.footer,o)}),...a,children:n})});Hl.displayName="HeroUI.ModalFooter";var h1=Hl,jl=sr((e,t)=>{const{as:r,children:n,className:o,...a}=e,{slots:i,classNames:s,headerId:u,setHeaderMounted:c}=mo(),l=Or(t),d=r||"header";return C.useEffect(()=>(c(!0),()=>c(!1)),[c]),I.jsx(d,{ref:l,className:i.header({class:nr(s==null?void 0:s.header,o)}),id:u,...a,children:n})});jl.displayName="HeroUI.ModalHeader";var v1=jl;function b1(e={shouldBlockScroll:!0},t,r){let{overlayProps:n,underlayProps:o}=Ap({...e,isOpen:t.isOpen,onClose:t.close},r);return Bp({isDisabled:!t.isOpen||!e.shouldBlockScroll}),Hp(),C.useEffect(()=>{if(t.isOpen&&r.current)return Np([r.current])},[t.isOpen,r]),{modalProps:It(n),underlayProps:o}}function g1(e){let[t,r]=Cx(e.isOpen,e.defaultOpen||!1,e.onOpenChange);const n=C.useCallback(()=>{r(!0)},[r]),o=C.useCallback(()=>{r(!1)},[r]),a=C.useCallback(()=>{r(!t)},[r,t]);return{isOpen:t,setOpen:r,open:n,close:o,toggle:a}}function m1(e){var t,r,n;const o=G0(),[a,i]=$0(e,$i.variantKeys),{ref:s,as:u,className:c,classNames:l,isOpen:d,defaultOpen:f,onOpenChange:p,motionProps:x,closeButton:v,isDismissable:h=!0,hideCloseButton:w=!1,shouldBlockScroll:m=!0,portalContainer:g,isKeyboardDismissDisabled:y=!1,onClose:A,..._}=a,D=u||"section",b=Or(s),k=C.useRef(null),[F,S]=C.useState(!1),[B,$]=C.useState(!1),O=(r=(t=e.disableAnimation)!=null?t:o==null?void 0:o.disableAnimation)!=null?r:!1,P=C.useId(),H=C.useId(),W=C.useId(),j=g1({isOpen:d,defaultOpen:f,onOpenChange:re=>{p==null||p(re),re||A==null||A()}}),{modalProps:q,underlayProps:Z}=b1({isDismissable:h,shouldBlockScroll:m,isKeyboardDismissDisabled:y},j,b),{buttonProps:E}=Ol({onPress:j.close},k),{isFocusVisible:T,focusProps:R}=Tl(),L=nr(l==null?void 0:l.base,c),V=C.useMemo(()=>$i({...i,disableAnimation:O}),[z0(i),O]),Y=(re={},pe=null)=>{var $e;return{ref:Bx(pe,b),...It(q,_,re),className:V.base({class:nr(L,re.className)}),id:P,"data-open":st(j.isOpen),"data-dismissable":st(h),"aria-modal":st(!0),"data-placement":($e=e==null?void 0:e.placement)!=null?$e:"right","aria-labelledby":F?H:void 0,"aria-describedby":B?W:void 0}},ie=C.useCallback((re={})=>({className:V.backdrop({class:l==null?void 0:l.backdrop}),onClick:()=>j.close(),...Z,...re}),[V,l,Z]),K=()=>({role:"button",tabIndex:0,"aria-label":"Close","data-focus-visible":st(T),className:V.closeButton({class:l==null?void 0:l.closeButton}),...It(E,R)});return{Component:D,slots:V,domRef:b,headerId:H,bodyId:W,motionProps:x,classNames:l,isDismissable:h,closeButton:v,hideCloseButton:w,portalContainer:g,shouldBlockScroll:m,backdrop:(n=e.backdrop)!=null?n:"opaque",isOpen:j.isOpen,onClose:j.close,disableAnimation:O,setBodyMounted:$,setHeaderMounted:S,getDialogProps:Y,getBackdropProps:ie,getCloseButtonProps:K}}var zl=sr((e,t)=>{const{children:r,...n}=e,o=m1({...n,ref:t}),a=I.jsx(Ip,{portalContainer:o.portalContainer,children:r});return I.jsx(i1,{value:o,children:o.disableAnimation&&o.isOpen?a:I.jsx(gl,{children:o.isOpen?a:null})})});zl.displayName="HeroUI.Modal";var y1=zl;function E1(e,t,r){let[n,o]=C.useState(e||t),a=C.useRef(e!==void 0),i=e!==void 0;C.useEffect(()=>{let c=a.current;c!==i&&console.warn(`WARN: A component changed from ${c?"controlled":"uncontrolled"} to ${i?"controlled":"uncontrolled"}.`),a.current=i},[i]);let s=i?e:n,u=C.useCallback((c,...l)=>{let d=(f,...p)=>{r&&(Object.is(s,f)||r(f,...p)),i||(s=f)};typeof c=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((p,...x)=>{let v=c(i?s:p,...x);return d(v,...l),i?p:v})):(i||o(c),d(c,...l))},[i,s,r]);return[s,u]}var w1=globalThis!=null&&globalThis.document?C.useLayoutEffect:C.useEffect;function ls(e,t=[]){const r=C.useRef(e);return w1(()=>{r.current=e}),C.useCallback((...n)=>{var o;return(o=r.current)==null?void 0:o.call(r,...n)},t)}function C1(e={}){const{id:t,defaultOpen:r,isOpen:n,onClose:o,onOpen:a,onChange:i=()=>{}}=e,s=ls(a),u=ls(o),[c,l]=E1(n,r||!1,i),d=C.useId(),f=t||d,p=n!==void 0,x=C.useCallback(()=>{p||l(!1),u==null||u()},[p,u]),v=C.useCallback(()=>{p||l(!0),s==null||s()},[p,s]),h=C.useCallback(()=>{(c?x:v)()},[c,v,x]);return{isOpen:!!c,onOpen:v,onClose:x,onOpenChange:h,isControlled:p,getButtonProps:(w={})=>({...w,"aria-expanded":c,"aria-controls":f,onClick:fo(w.onClick,h)}),getDisclosureProps:(w={})=>({...w,hidden:!c,id:f})}}const Ul=ae.memo(e=>{const{backdrop:t="blur",title:r,content:n,showCancel:o=!0,dismissible:a,confirmText:i="确定",cancelText:s="取消",hideFooter:u=!1,onClose:c,onConfirm:l,onCancel:d,...f}=e,{onClose:p}=C1();return I.jsx(y1,{defaultOpen:!0,backdrop:t,isDismissable:a,onClose:()=>{c==null||c(),p()},classNames:{backdrop:"z-[99] backdrop-blur-sm",wrapper:"z-[99]"},...f,children:I.jsx(p1,{className:"rounded-3xl border border-white/70 dark:border-white/10 bg-white/90 dark:bg-zinc-900/90 backdrop-blur-2xl shadow-2xl shadow-primary-900/10",children:x=>I.jsxs(I.Fragment,{children:[r&&I.jsx(v1,{className:"flex flex-col gap-1 text-lg font-semibold",children:r}),I.jsx(s1,{className:"break-all",children:n}),!u&&I.jsxs(h1,{children:[o&&I.jsx(ss,{color:"primary",variant:"light",onPress:()=>{d==null||d(),x()},children:s}),I.jsx(ss,{color:"primary",onPress:()=>{l==null||l(),x()},children:i})]})]})})})});Ul.displayName="Modal";const $1=ae.createContext({alert:()=>{},confirm:()=>{}}),A1=({children:e})=>{const[t,r]=ae.useState([]),n=a=>{const{onConfirm:i,size:s="md",...u}=a;r(c=>{var d;const l=((d=c[c.length-1])==null?void 0:d.id)+1||0;return[...c,{id:l,size:s,backdrop:"blur",showCancel:!1,onConfirm:()=>{i==null||i(),setTimeout(()=>{r(f=>f.filter(p=>p.id!==l))},300)},...u}]})},o=a=>{const{onConfirm:i,onCancel:s,size:u="md",...c}=a;r(l=>{var f;const d=((f=l[l.length-1])==null?void 0:f.id)+1||0;return[...l,{id:d,size:u,backdrop:"blur",showCancel:!0,onConfirm:()=>{i==null||i(),setTimeout(()=>{r(p=>p.filter(x=>x.id!==d))},300)},onCancel:()=>{s==null||s(),setTimeout(()=>{r(p=>p.filter(x=>x.id!==d))},300)},...c}]})};return I.jsxs($1.Provider,{value:{alert:n,confirm:o},children:[e,t==null?void 0:t.map(({id:a,...i})=>I.jsx(Ul,{...i},a))]})};var lt=(e=>(e.token="token",e.theme="theme",e.backgroundImage="background-image",e.musicID="music-id",e.showMusicTip="show-music-tip",e.autoPlay="auto-play",e.customIcons="custom-icons",e.isCollapsedMusicPlayer="is-collapsed-music-player",e.sideBarOpen="side-bar-open",e.httpDebugConfig="http-debug-config",e.wsDebugConfig="ws-debug-config",e))(lt||{});const S1=()=>{const[e,t]=K0(lt.token,"");return{token:e,isAuth:!!e,revokeAuth:()=>t("")}};function Oe(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var B1=typeof Symbol=="function"&&Symbol.observable||"@@observable",us=B1,Ko=()=>Math.random().toString(36).substring(7).split("").join("."),_1={INIT:`@@redux/INIT${Ko()}`,REPLACE:`@@redux/REPLACE${Ko()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Ko()}`},eo=_1;function ri(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Wl(e,t,r){if(typeof e!="function")throw new Error(Oe(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Oe(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Oe(1));return r(Wl)(e,t)}let n=e,o=t,a=new Map,i=a,s=0,u=!1;function c(){i===a&&(i=new Map,a.forEach((h,w)=>{i.set(w,h)}))}function l(){if(u)throw new Error(Oe(3));return o}function d(h){if(typeof h!="function")throw new Error(Oe(4));if(u)throw new Error(Oe(5));let w=!0;c();const m=s++;return i.set(m,h),function(){if(w){if(u)throw new Error(Oe(6));w=!1,c(),i.delete(m),a=null}}}function f(h){if(!ri(h))throw new Error(Oe(7));if(typeof h.type>"u")throw new Error(Oe(8));if(typeof h.type!="string")throw new Error(Oe(17));if(u)throw new Error(Oe(9));try{u=!0,o=n(o,h)}finally{u=!1}return(a=i).forEach(m=>{m()}),h}function p(h){if(typeof h!="function")throw new Error(Oe(10));n=h,f({type:eo.REPLACE})}function x(){const h=d;return{subscribe(w){if(typeof w!="object"||w===null)throw new Error(Oe(11));function m(){const y=w;y.next&&y.next(l())}return m(),{unsubscribe:h(m)}},[us](){return this}}}return f({type:eo.INIT}),{dispatch:f,subscribe:d,getState:l,replaceReducer:p,[us]:x}}function F1(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:eo.INIT})>"u")throw new Error(Oe(12));if(typeof r(void 0,{type:eo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Oe(13))})}function D1(e){const t=Object.keys(e),r={};for(let a=0;a<t.length;a++){const i=t[a];typeof e[i]=="function"&&(r[i]=e[i])}const n=Object.keys(r);let o;try{F1(r)}catch(a){o=a}return function(i={},s){if(o)throw o;let u=!1;const c={};for(let l=0;l<n.length;l++){const d=n[l],f=r[d],p=i[d],x=f(p,s);if(typeof x>"u")throw s&&s.type,new Error(Oe(14));c[d]=x,u=u||x!==p}return u=u||n.length!==Object.keys(i).length,u?c:i}}function to(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function T1(...e){return t=>(r,n)=>{const o=t(r,n);let a=()=>{throw new Error(Oe(15))};const i={getState:o.getState,dispatch:(u,...c)=>a(u,...c)},s=e.map(u=>u(i));return a=to(...s)(o.dispatch),{...o,dispatch:a}}}function P1(e){return ri(e)&&"type"in e&&typeof e.type=="string"}var ql=Symbol.for("immer-nothing"),fs=Symbol.for("immer-draftable"),Ve=Symbol.for("immer-state");function et(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Pr=Object.getPrototypeOf;function zt(e){return!!e&&!!e[Ve]}function bt(e){var t;return e?Vl(e)||Array.isArray(e)||!!e[fs]||!!((t=e.constructor)!=null&&t[fs])||Lr(e)||Eo(e):!1}var k1=Object.prototype.constructor.toString(),ds=new WeakMap;function Vl(e){if(!e||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);if(t===null||t===Object.prototype)return!0;const r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;if(r===Object)return!0;if(typeof r!="function")return!1;let n=ds.get(r);return n===void 0&&(n=Function.toString.call(r),ds.set(r,n)),n===k1}function ro(e,t,r=!0){yo(e)===0?(r?Reflect.ownKeys(e):Object.keys(e)).forEach(o=>{t(o,e[o],e)}):e.forEach((n,o)=>t(o,n,e))}function yo(e){const t=e[Ve];return t?t.type_:Array.isArray(e)?1:Lr(e)?2:Eo(e)?3:0}function Sa(e,t){return yo(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Kl(e,t,r){const n=yo(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function R1(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Lr(e){return e instanceof Map}function Eo(e){return e instanceof Set}function Rt(e){return e.copy_||e.base_}function Ba(e,t){if(Lr(e))return new Map(e);if(Eo(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const r=Vl(e);if(t===!0||t==="class_only"&&!r){const n=Object.getOwnPropertyDescriptors(e);delete n[Ve];let o=Reflect.ownKeys(n);for(let a=0;a<o.length;a++){const i=o[a],s=n[i];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(n[i]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[i]})}return Object.create(Pr(e),n)}else{const n=Pr(e);if(n!==null&&r)return{...e};const o=Object.create(n);return Object.assign(o,e)}}function ni(e,t=!1){return wo(e)||zt(e)||!bt(e)||(yo(e)>1&&Object.defineProperties(e,{set:tn,add:tn,clear:tn,delete:tn}),Object.freeze(e),t&&Object.values(e).forEach(r=>ni(r,!0))),e}function O1(){et(2)}var tn={value:O1};function wo(e){return e===null||typeof e!="object"?!0:Object.isFrozen(e)}var N1={};function Ut(e){const t=N1[e];return t||et(0,e),t}var kr;function Gl(){return kr}function L1(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function xs(e,t){t&&(Ut("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function _a(e){Fa(e),e.drafts_.forEach(M1),e.drafts_=null}function Fa(e){e===kr&&(kr=e.parent_)}function ps(e){return kr=L1(kr,e)}function M1(e){const t=e[Ve];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function hs(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[Ve].modified_&&(_a(t),et(4)),bt(e)&&(e=no(t,e),t.parent_||oo(t,e)),t.patches_&&Ut("Patches").generateReplacementPatches_(r[Ve].base_,e,t.patches_,t.inversePatches_)):e=no(t,r,[]),_a(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==ql?e:void 0}function no(e,t,r){if(wo(t))return t;const n=e.immer_.shouldUseStrictIteration(),o=t[Ve];if(!o)return ro(t,(a,i)=>vs(e,o,t,a,i,r),n),t;if(o.scope_!==e)return t;if(!o.modified_)return oo(e,o.base_,!0),o.base_;if(!o.finalized_){o.finalized_=!0,o.scope_.unfinalizedDrafts_--;const a=o.copy_;let i=a,s=!1;o.type_===3&&(i=new Set(a),a.clear(),s=!0),ro(i,(u,c)=>vs(e,o,a,u,c,r,s),n),oo(e,a,!1),r&&e.patches_&&Ut("Patches").generatePatches_(o,r,e.patches_,e.inversePatches_)}return o.copy_}function vs(e,t,r,n,o,a,i){if(o==null||typeof o!="object"&&!i)return;const s=wo(o);if(!(s&&!i)){if(zt(o)){const u=a&&t&&t.type_!==3&&!Sa(t.assigned_,n)?a.concat(n):void 0,c=no(e,o,u);if(Kl(r,n,c),zt(c))e.canAutoFreeze_=!1;else return}else i&&r.add(o);if(bt(o)&&!s){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||t&&t.base_&&t.base_[n]===o&&s)return;no(e,o),(!t||!t.scope_.parent_)&&typeof n!="symbol"&&(Lr(r)?r.has(n):Object.prototype.propertyIsEnumerable.call(r,n))&&oo(e,o)}}}function oo(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&ni(t,r)}function I1(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:Gl(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=n,a=oi;r&&(o=[n],a=Rr);const{revoke:i,proxy:s}=Proxy.revocable(o,a);return n.draft_=s,n.revoke_=i,s}var oi={get(e,t){if(t===Ve)return e;const r=Rt(e);if(!Sa(r,t))return H1(e,r,t);const n=r[t];return e.finalized_||!bt(n)?n:n===Go(e.base_,t)?(Xo(e),e.copy_[t]=Ta(n,e)):n},has(e,t){return t in Rt(e)},ownKeys(e){return Reflect.ownKeys(Rt(e))},set(e,t,r){const n=Xl(Rt(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const o=Go(Rt(e),t),a=o==null?void 0:o[Ve];if(a&&a.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(R1(r,o)&&(r!==void 0||Sa(e.base_,t)))return!0;Xo(e),Da(e)}return e.copy_[t]===r&&(r!==void 0||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_[t]=!0),!0},deleteProperty(e,t){return Go(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Xo(e),Da(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=Rt(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty(){et(11)},getPrototypeOf(e){return Pr(e.base_)},setPrototypeOf(){et(12)}},Rr={};ro(oi,(e,t)=>{Rr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Rr.deleteProperty=function(e,t){return Rr.set.call(this,e,t,void 0)};Rr.set=function(e,t,r){return oi.set.call(this,e[0],t,r,e[0])};function Go(e,t){const r=e[Ve];return(r?Rt(r):e)[t]}function H1(e,t,r){var o;const n=Xl(t,r);return n?"value"in n?n.value:(o=n.get)==null?void 0:o.call(e.draft_):void 0}function Xl(e,t){if(!(t in e))return;let r=Pr(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Pr(r)}}function Da(e){e.modified_||(e.modified_=!0,e.parent_&&Da(e.parent_))}function Xo(e){e.copy_||(e.copy_=Ba(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var j1=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(t,r,n)=>{if(typeof t=="function"&&typeof r!="function"){const a=r;r=t;const i=this;return function(u=a,...c){return i.produce(u,l=>r.call(this,l,...c))}}typeof r!="function"&&et(6),n!==void 0&&typeof n!="function"&&et(7);let o;if(bt(t)){const a=ps(this),i=Ta(t,void 0);let s=!0;try{o=r(i),s=!1}finally{s?_a(a):Fa(a)}return xs(a,n),hs(o,a)}else if(!t||typeof t!="object"){if(o=r(t),o===void 0&&(o=t),o===ql&&(o=void 0),this.autoFreeze_&&ni(o,!0),n){const a=[],i=[];Ut("Patches").generateReplacementPatches_(t,o,a,i),n(a,i)}return o}else et(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(i,...s)=>this.produceWithPatches(i,u=>t(u,...s));let n,o;return[this.produce(t,r,(i,s)=>{n=i,o=s}),n,o]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),typeof(e==null?void 0:e.useStrictIteration)=="boolean"&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){bt(e)||et(8),zt(e)&&(e=z1(e));const t=ps(this),r=Ta(e,void 0);return r[Ve].isManual_=!0,Fa(t),r}finishDraft(e,t){const r=e&&e[Ve];(!r||!r.isManual_)&&et(9);const{scope_:n}=r;return xs(n,t),hs(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){const o=t[r];if(o.path.length===0&&o.op==="replace"){e=o.value;break}}r>-1&&(t=t.slice(r+1));const n=Ut("Patches").applyPatches_;return zt(e)?n(e,t):this.produce(e,o=>n(o,t))}};function Ta(e,t){const r=Lr(e)?Ut("MapSet").proxyMap_(e,t):Eo(e)?Ut("MapSet").proxySet_(e,t):I1(e,t);return(t?t.scope_:Gl()).drafts_.push(r),r}function z1(e){return zt(e)||et(10,e),Yl(e)}function Yl(e){if(!bt(e)||wo(e))return e;const t=e[Ve];let r,n=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=Ba(e,t.scope_.immer_.useStrictShallowCopy_),n=t.scope_.immer_.shouldUseStrictIteration()}else r=Ba(e,!0);return ro(r,(o,a)=>{Kl(r,o,Yl(a))},n),t&&(t.finalized_=!1),r}var Pa=new j1,Zl=Pa.produce,U1=Pa.setUseStrictIteration.bind(Pa);function Jl(e){return({dispatch:r,getState:n})=>o=>a=>typeof a=="function"?a(r,n,e):o(a)}var W1=Jl(),q1=Jl,V1=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?to:to.apply(null,arguments)};function bs(e,t){function r(...n){if(t){let o=t(...n);if(!o)throw new Error(ht(0));return{type:e,payload:o.payload,..."meta"in o&&{meta:o.meta},..."error"in o&&{error:o.error}}}return{type:e,payload:n[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=n=>P1(n)&&n.type===e,r}var Ql=class wr extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,wr.prototype)}static get[Symbol.species](){return wr}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new wr(...t[0].concat(this)):new wr(...t.concat(this))}};function gs(e){return bt(e)?Zl(e,()=>{}):e}function rn(e,t,r){return e.has(t)?e.get(t):e.set(t,r(t)).get(t)}function K1(e){return typeof e=="boolean"}var G1=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:o=!0,actionCreatorCheck:a=!0}=t??{};let i=new Ql;return r&&(K1(r)?i.push(W1):i.push(q1(r.extraArgument))),i},X1="RTK_autoBatch",ms=e=>t=>{setTimeout(t,e)},Y1=(e={type:"raf"})=>t=>(...r)=>{const n=t(...r);let o=!0,a=!1,i=!1;const s=new Set,u=e.type==="tick"?queueMicrotask:e.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:ms(10):e.type==="callback"?e.queueNotification:ms(e.timeout),c=()=>{i=!1,a&&(a=!1,s.forEach(l=>l()))};return Object.assign({},n,{subscribe(l){const d=()=>o&&l(),f=n.subscribe(d);return s.add(l),()=>{f(),s.delete(l)}},dispatch(l){var d;try{return o=!((d=l==null?void 0:l.meta)!=null&&d[X1]),a=!o,a&&(i||(i=!0,u(c))),n.dispatch(l)}finally{o=!0}}})},Z1=e=>function(r){const{autoBatch:n=!0}=r??{};let o=new Ql(e);return n&&o.push(Y1(typeof n=="object"?n:void 0)),o};function J1(e){const t=G1(),{reducer:r=void 0,middleware:n,devTools:o=!0,preloadedState:a=void 0,enhancers:i=void 0}=e||{};let s;if(typeof r=="function")s=r;else if(ri(r))s=D1(r);else throw new Error(ht(1));let u;typeof n=="function"?u=n(t):u=t();let c=to;o&&(c=V1({trace:!1,...typeof o=="object"&&o}));const l=T1(...u),d=Z1(l);let f=typeof i=="function"?i(d):d();const p=c(...f);return Wl(s,a,p)}function eu(e){const t={},r=[];let n;const o={addCase(a,i){const s=typeof a=="string"?a:a.type;if(!s)throw new Error(ht(28));if(s in t)throw new Error(ht(29));return t[s]=i,o},addAsyncThunk(a,i){return i.pending&&(t[a.pending.type]=i.pending),i.rejected&&(t[a.rejected.type]=i.rejected),i.fulfilled&&(t[a.fulfilled.type]=i.fulfilled),i.settled&&r.push({matcher:a.settled,reducer:i.settled}),o},addMatcher(a,i){return r.push({matcher:a,reducer:i}),o},addDefaultCase(a){return n=a,o}};return e(o),[t,r,n]}U1(!1);function Q1(e){return typeof e=="function"}function ev(e,t){let[r,n,o]=eu(t),a;if(Q1(e))a=()=>gs(e());else{const s=gs(e);a=()=>s}function i(s=a(),u){let c=[r[u.type],...n.filter(({matcher:l})=>l(u)).map(({reducer:l})=>l)];return c.filter(l=>!!l).length===0&&(c=[o]),c.reduce((l,d)=>{if(d)if(zt(l)){const p=d(l,u);return p===void 0?l:p}else{if(bt(l))return Zl(l,f=>d(f,u));{const f=d(l,u);if(f===void 0){if(l===null)return l;throw Error("A case reducer on a non-draftable value must not return undefined")}return f}}return l},s)}return i.getInitialState=a,i}var tv=Symbol.for("rtk-slice-createasyncthunk");function rv(e,t){return`${e}/${t}`}function nv({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[tv];return function(o){const{name:a,reducerPath:i=a}=o;if(!a)throw new Error(ht(11));const s=(typeof o.reducers=="function"?o.reducers(iv()):o.reducers)||{},u=Object.keys(s),c={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},l={addCase(y,A){const _=typeof y=="string"?y:y.type;if(!_)throw new Error(ht(12));if(_ in c.sliceCaseReducersByType)throw new Error(ht(13));return c.sliceCaseReducersByType[_]=A,l},addMatcher(y,A){return c.sliceMatchers.push({matcher:y,reducer:A}),l},exposeAction(y,A){return c.actionCreators[y]=A,l},exposeCaseReducer(y,A){return c.sliceCaseReducersByName[y]=A,l}};u.forEach(y=>{const A=s[y],_={reducerName:y,type:rv(a,y),createNotation:typeof o.reducers=="function"};cv(A)?uv(_,A,l,t):sv(_,A,l)});function d(){const[y={},A=[],_=void 0]=typeof o.extraReducers=="function"?eu(o.extraReducers):[o.extraReducers],D={...y,...c.sliceCaseReducersByType};return ev(o.initialState,b=>{for(let k in D)b.addCase(k,D[k]);for(let k of c.sliceMatchers)b.addMatcher(k.matcher,k.reducer);for(let k of A)b.addMatcher(k.matcher,k.reducer);_&&b.addDefaultCase(_)})}const f=y=>y,p=new Map,x=new WeakMap;let v;function h(y,A){return v||(v=d()),v(y,A)}function w(){return v||(v=d()),v.getInitialState()}function m(y,A=!1){function _(b){let k=b[y];return typeof k>"u"&&A&&(k=rn(x,_,w)),k}function D(b=f){const k=rn(p,A,()=>new WeakMap);return rn(k,b,()=>{const F={};for(const[S,B]of Object.entries(o.selectors??{}))F[S]=ov(B,b,()=>rn(x,b,w),A);return F})}return{reducerPath:y,getSelectors:D,get selectors(){return D(_)},selectSlice:_}}const g={name:a,reducer:h,actions:c.actionCreators,caseReducers:c.sliceCaseReducersByName,getInitialState:w,...m(i),injectInto(y,{reducerPath:A,..._}={}){const D=A??i;return y.inject({reducerPath:D,reducer:h},_),{...g,...m(D,!0)}}};return g}}function ov(e,t,r,n){function o(a,...i){let s=t(a);return typeof s>"u"&&n&&(s=r()),e(s,...i)}return o.unwrapped=e,o}var av=nv();function iv(){function e(t,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...r}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...r){return t(...r)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,r){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:r}},asyncThunk:e}}function sv({type:e,reducerName:t,createNotation:r},n,o){let a,i;if("reducer"in n){if(r&&!lv(n))throw new Error(ht(17));a=n.reducer,i=n.prepare}else a=n;o.addCase(e,a).exposeCaseReducer(t,a).exposeAction(t,i?bs(e,i):bs(e))}function cv(e){return e._reducerDefinitionType==="asyncThunk"}function lv(e){return e._reducerDefinitionType==="reducerWithPrepare"}function uv({type:e,reducerName:t},r,n,o){if(!o)throw new Error(ht(18));const{payloadCreator:a,fulfilled:i,pending:s,rejected:u,settled:c,options:l}=r,d=o(e,a,l);n.exposeAction(t,d),i&&n.addCase(d.fulfilled,i),s&&n.addCase(d.pending,s),u&&n.addCase(d.rejected,u),c&&n.addMatcher(d.settled,c),n.exposeCaseReducer(t,{fulfilled:i||nn,pending:s||nn,rejected:u||nn,settled:c||nn})}function nn(){}function ht(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}const fv=["httpServers","httpClients","httpSseServers","websocketServers","websocketClients","mcpServers"],dv={baseTimeout:1e4,uploadSpeedKBps:256,downloadSpeedKBps:256,maxTimeout:18e5},xv=e=>Array.isArray(e)?e:[],pv=e=>{if(!e||typeof e!="object")return{name:""};const t=e;return{...t,name:typeof t.name=="string"?t.name:"",enable:t.enable===!0,debug:t.debug===!0}},tu=e=>{const t=e??{},r=t.network??{},n={};for(const o of fv)n[o]=xv(r[o]).map(pv);return{network:n,musicSignUrl:typeof t.musicSignUrl=="string"?t.musicSignUrl:"",enableLocalFile2Url:t.enableLocalFile2Url===!0,parseMultMsg:t.parseMultMsg!==!1,imageDownloadProxy:typeof t.imageDownloadProxy=="string"?t.imageDownloadProxy:"",timeout:{...dv,...t.timeout??{}}}},py=(e,t)=>{var n;const r=(n=e==null?void 0:e.network)==null?void 0:n[t];return Array.isArray(r)?r:[]},hv={value:tu()},ru=av({name:"config",initialState:hv,reducers:{updateConfig:(e,t)=>{e.value=tu(t.payload)}}}),{updateConfig:hy}=ru.actions,vv=ru.reducer,bv=J1({reducer:{config:vv}}),gv=C.lazy(()=>Pe(()=>import("./web_login-CMycqFcX.js"),__vite__mapDeps([7,3,4,8,9,10,11,12,13,14,15,5,16,17,18,19,20,21,22,23,24,25,26,27,28,29,2,30,6]))),mv=C.lazy(()=>Pe(()=>import("./index-Dx1G_OVB.js"),__vite__mapDeps([31,3,4,32,23,14,33,34,15,10,11,26,27,28,21,35,17,36,37,38,39,18,40,6,29,2,30,41,42,43,5]))),yv=C.lazy(()=>Pe(()=>import("./qq_login-CEQa75PR.js"),__vite__mapDeps([44,3,4,8,9,10,11,45,46,21,47,23,30,2,1,48,5,35,17,18,49,12,13,14,15,36,37,38,34,50,27,51,28,43,40,19,20,22,24,25,26,52,53,54,33,16,39,6,29]))),Ev=C.lazy(()=>Pe(()=>import("./index-j_lE0ff_.js"),__vite__mapDeps([55,3,4,8,34,15,36,37,38,56,5,17,42,26,27,28,14,21,39,16,52,12,13,11,57,9,50,48,47,23,51,58,20,22,59,46,45,30,2,1,60,61,40,62,63,43,6]))),wv=C.lazy(()=>Pe(()=>import("./about-hJDPu37V.js"),__vite__mapDeps([64,3,4,8,9,34,15,36,37,38,10,11,25,45,46,21,47,23,30,2,1,48,56,57,17,16,42,18,5,6]))),Cv=C.lazy(()=>Pe(()=>import("./index-BMgeCmqo.js"),__vite__mapDeps([65,3,4,8,45,46,21,47,23,30,2,1,48,12,13,14,15,36,37,38,52,11,56,66,5,39,17,49,34,50,27,51,28,35,43,40,41,42,67,58,20,22,63,68,9,60,54,33,69,16,10,6]))),$v=C.lazy(()=>Pe(()=>import("./index-Mx73Ba53.js"),__vite__mapDeps([70,3,4,6]))),Av=C.lazy(()=>Pe(()=>import("./index-B7sEHDC8.js"),__vite__mapDeps([71,3,4,16,17,72,68,73,12,13,14,15,54,27,33,50,48,47,23,51,28,38,26,21,45,46,30,2,1,34,5,74,40,60,35,57,10,11,42,66,75,29,6]))),Sv=C.lazy(()=>Pe(()=>import("./index-CNcy_3u9.js"),__vite__mapDeps([76,3,4,8,12,13,14,15,5,16,17,68,9,54,27,33,50,48,47,23,51,28,38,74,26,21,40,60,35,57,10,11,42,45,46,30,2,1,66,72,73,75,34,52,29,6]))),Bv=C.lazy(()=>Pe(()=>import("./file_manager-DG9T_SkS.js"),__vite__mapDeps([77,3,4,32,23,14,33,12,13,15,56,5,78,17,35,72,68,73,69,59,37,28,46,47,22,51,62,79,60,10,11,16,40,6,29,2,30]))),_v=C.lazy(()=>Pe(()=>import("./logs-FVKktap5.js"),__vite__mapDeps([80,3,4,45,46,21,47,23,30,2,1,48,56,5,8,9,50,27,13,51,28,38,81,82,34,15,16,17,6]))),Fv=C.lazy(()=>Pe(()=>import("./network-CV3GIG8e.js"),__vite__mapDeps([83,3,4,45,46,21,47,23,30,2,1,48,5,39,17,53,54,27,33,50,13,51,28,38,26,14,60,16,24,34,15,58,20,22,12,78,35,8,84,9,79,63,43,40,66,67,85,42,6]))),Dv=C.lazy(()=>Pe(()=>import("./terminal-RrXWbdeN.js"),__vite__mapDeps([86,3,4,5,16,17,81,82,6]))),Tv=C.lazy(()=>Pe(()=>import("./plugin-y4YoZhit.js"),__vite__mapDeps([87,3,4,5,39,17,42,79,85,52,12,13,14,15,11,8,84,34,58,20,21,22,23,26,27,28,35,88,40,50,48,47,51,38,6]))),Pv=C.lazy(()=>Pe(()=>import("./plugin_store-DB9s3Pf8.js"),__vite__mapDeps([89,3,4,12,13,14,15,45,46,21,47,23,30,2,1,48,26,27,28,59,37,5,39,17,42,52,11,8,84,34,35,79,88,61,40,6]))),kv=C.lazy(()=>Pe(()=>import("./extension-BuyZL8L1.js"),__vite__mapDeps([90,3,4,45,46,21,47,23,30,2,1,48,5,39,17,35,79,85,88,6])));function Rv(){return I.jsx(A1,{children:I.jsxs(nf,{store:bv,children:[I.jsx(lf,{}),I.jsx(gd,{}),I.jsx(C.Suspense,{fallback:I.jsx(xd,{}),children:I.jsx(Ov,{children:I.jsx(Nv,{})})})]})})}function Ov({children:e}){const{isAuth:t}=S1(),r=E0();return C.useEffect(()=>{if(!t){const o=new URLSearchParams(window.location.search).get("token");let a="/web_login";o&&(a+=`?token=${o}`),r(a,{replace:!0})}},[t,r]),I.jsx(I.Fragment,{children:e})}function Nv(){return I.jsxs(Lu,{children:[I.jsxs(Me,{path:"/",element:I.jsx(mv,{}),children:[I.jsx(Me,{index:!0,element:I.jsx(Ev,{})}),I.jsx(Me,{path:"network",element:I.jsx(Fv,{})}),I.jsx(Me,{path:"config",element:I.jsx(Cv,{})}),I.jsx(Me,{path:"logs",element:I.jsx(_v,{})}),I.jsxs(Me,{path:"debug",element:I.jsx($v,{}),children:[I.jsx(Me,{path:"ws",element:I.jsx(Sv,{})}),I.jsx(Me,{path:"http",element:I.jsx(Av,{})})]}),I.jsx(Me,{path:"file_manager",element:I.jsx(Bv,{})}),I.jsx(Me,{path:"terminal",element:I.jsx(Dv,{})}),I.jsx(Me,{path:"plugins",element:I.jsx(Tv,{})}),I.jsx(Me,{path:"plugin_store",element:I.jsx(Pv,{})}),I.jsx(Me,{path:"extension",element:I.jsx(kv,{})}),I.jsx(Me,{path:"about",element:I.jsx(wv,{})})]}),I.jsx(Me,{path:"/qq_login",element:I.jsx(yv,{})}),I.jsx(Me,{path:"/web_login",element:I.jsx(gv,{})})]})}function Lv({children:e}){const t=E0();return I.jsx(zh,{navigate:t,children:e})}var sn={exports:{}};function Mv(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 cn={exports:{}};const Iv={},Hv=Object.freeze(Object.defineProperty({__proto__:null,default:Iv},Symbol.toStringTag,{value:"Module"})),jv=Iu(Hv);var zv=cn.exports,ys;function ue(){return ys||(ys=1,(function(e,t){(function(r,n){e.exports=n()})(zv,function(){var r=r||(function(n,o){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof To<"u"&&To.crypto&&(a=To.crypto),!a&&typeof Mv=="function")try{a=jv}catch{}var i=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||(function(){function m(){}return function(g){var y;return m.prototype=g,y=new m,m.prototype=null,y}})(),u={},c=u.lib={},l=c.Base=(function(){return{extend:function(m){var g=s(this);return m&&g.mixIn(m),(!g.hasOwnProperty("init")||this.init===g.init)&&(g.init=function(){g.$super.init.apply(this,arguments)}),g.init.prototype=g,g.$super=this,g},create:function(){var m=this.extend();return m.init.apply(m,arguments),m},init:function(){},mixIn:function(m){for(var g in m)m.hasOwnProperty(g)&&(this[g]=m[g]);m.hasOwnProperty("toString")&&(this.toString=m.toString)},clone:function(){return this.init.prototype.extend(this)}}})(),d=c.WordArray=l.extend({init:function(m,g){m=this.words=m||[],g!=o?this.sigBytes=g:this.sigBytes=m.length*4},toString:function(m){return(m||p).stringify(this)},concat:function(m){var g=this.words,y=m.words,A=this.sigBytes,_=m.sigBytes;if(this.clamp(),A%4)for(var D=0;D<_;D++){var b=y[D>>>2]>>>24-D%4*8&255;g[A+D>>>2]|=b<<24-(A+D)%4*8}else for(var k=0;k<_;k+=4)g[A+k>>>2]=y[k>>>2];return this.sigBytes+=_,this},clamp:function(){var m=this.words,g=this.sigBytes;m[g>>>2]&=4294967295<<32-g%4*8,m.length=n.ceil(g/4)},clone:function(){var m=l.clone.call(this);return m.words=this.words.slice(0),m},random:function(m){for(var g=[],y=0;y<m;y+=4)g.push(i());return new d.init(g,m)}}),f=u.enc={},p=f.Hex={stringify:function(m){for(var g=m.words,y=m.sigBytes,A=[],_=0;_<y;_++){var D=g[_>>>2]>>>24-_%4*8&255;A.push((D>>>4).toString(16)),A.push((D&15).toString(16))}return A.join("")},parse:function(m){for(var g=m.length,y=[],A=0;A<g;A+=2)y[A>>>3]|=parseInt(m.substr(A,2),16)<<24-A%8*4;return new d.init(y,g/2)}},x=f.Latin1={stringify:function(m){for(var g=m.words,y=m.sigBytes,A=[],_=0;_<y;_++){var D=g[_>>>2]>>>24-_%4*8&255;A.push(String.fromCharCode(D))}return A.join("")},parse:function(m){for(var g=m.length,y=[],A=0;A<g;A++)y[A>>>2]|=(m.charCodeAt(A)&255)<<24-A%4*8;return new d.init(y,g)}},v=f.Utf8={stringify:function(m){try{return decodeURIComponent(escape(x.stringify(m)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(m){return x.parse(unescape(encodeURIComponent(m)))}},h=c.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new d.init,this._nDataBytes=0},_append:function(m){typeof m=="string"&&(m=v.parse(m)),this._data.concat(m),this._nDataBytes+=m.sigBytes},_process:function(m){var g,y=this._data,A=y.words,_=y.sigBytes,D=this.blockSize,b=D*4,k=_/b;m?k=n.ceil(k):k=n.max((k|0)-this._minBufferSize,0);var F=k*D,S=n.min(F*4,_);if(F){for(var B=0;B<F;B+=D)this._doProcessBlock(A,B);g=A.splice(0,F),y.sigBytes-=S}return new d.init(g,S)},clone:function(){var m=l.clone.call(this);return m._data=this._data.clone(),m},_minBufferSize:0});c.Hasher=h.extend({cfg:l.extend(),init:function(m){this.cfg=this.cfg.extend(m),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(m){return this._append(m),this._process(),this},finalize:function(m){m&&this._append(m);var g=this._doFinalize();return g},blockSize:16,_createHelper:function(m){return function(g,y){return new m.init(y).finalize(g)}},_createHmacHelper:function(m){return function(g,y){return new w.HMAC.init(m,y).finalize(g)}}});var w=u.algo={};return u})(Math);return r})})(cn)),cn.exports}var ln={exports:{}},Uv=ln.exports,Es;function Co(){return Es||(Es=1,(function(e,t){(function(r,n){e.exports=n(ue())})(Uv,function(r){return(function(n){var o=r,a=o.lib,i=a.Base,s=a.WordArray,u=o.x64={};u.Word=i.extend({init:function(c,l){this.high=c,this.low=l}}),u.WordArray=i.extend({init:function(c,l){c=this.words=c||[],l!=n?this.sigBytes=l:this.sigBytes=c.length*8},toX32:function(){for(var c=this.words,l=c.length,d=[],f=0;f<l;f++){var p=c[f];d.push(p.high),d.push(p.low)}return s.create(d,this.sigBytes)},clone:function(){for(var c=i.clone.call(this),l=c.words=this.words.slice(0),d=l.length,f=0;f<d;f++)l[f]=l[f].clone();return c}})})(),r})})(ln)),ln.exports}var un={exports:{}},Wv=un.exports,ws;function qv(){return ws||(ws=1,(function(e,t){(function(r,n){e.exports=n(ue())})(Wv,function(r){return(function(){if(typeof ArrayBuffer=="function"){var n=r,o=n.lib,a=o.WordArray,i=a.init,s=a.init=function(u){if(u instanceof ArrayBuffer&&(u=new Uint8Array(u)),(u instanceof Int8Array||typeof Uint8ClampedArray<"u"&&u instanceof Uint8ClampedArray||u instanceof Int16Array||u instanceof Uint16Array||u instanceof Int32Array||u instanceof Uint32Array||u instanceof Float32Array||u instanceof Float64Array)&&(u=new Uint8Array(u.buffer,u.byteOffset,u.byteLength)),u instanceof Uint8Array){for(var c=u.byteLength,l=[],d=0;d<c;d++)l[d>>>2]|=u[d]<<24-d%4*8;i.call(this,l,c)}else i.apply(this,arguments)};s.prototype=a}})(),r.lib.WordArray})})(un)),un.exports}var fn={exports:{}},Vv=fn.exports,Cs;function Kv(){return Cs||(Cs=1,(function(e,t){(function(r,n){e.exports=n(ue())})(Vv,function(r){return(function(){var n=r,o=n.lib,a=o.WordArray,i=n.enc;i.Utf16=i.Utf16BE={stringify:function(u){for(var c=u.words,l=u.sigBytes,d=[],f=0;f<l;f+=2){var p=c[f>>>2]>>>16-f%4*8&65535;d.push(String.fromCharCode(p))}return d.join("")},parse:function(u){for(var c=u.length,l=[],d=0;d<c;d++)l[d>>>1]|=u.charCodeAt(d)<<16-d%2*16;return a.create(l,c*2)}},i.Utf16LE={stringify:function(u){for(var c=u.words,l=u.sigBytes,d=[],f=0;f<l;f+=2){var p=s(c[f>>>2]>>>16-f%4*8&65535);d.push(String.fromCharCode(p))}return d.join("")},parse:function(u){for(var c=u.length,l=[],d=0;d<c;d++)l[d>>>1]|=s(u.charCodeAt(d)<<16-d%2*16);return a.create(l,c*2)}};function s(u){return u<<8&4278255360|u>>>8&16711935}})(),r.enc.Utf16})})(fn)),fn.exports}var dn={exports:{}},Gv=dn.exports,$s;function Kt(){return $s||($s=1,(function(e,t){(function(r,n){e.exports=n(ue())})(Gv,function(r){return(function(){var n=r,o=n.lib,a=o.WordArray,i=n.enc;i.Base64={stringify:function(u){var c=u.words,l=u.sigBytes,d=this._map;u.clamp();for(var f=[],p=0;p<l;p+=3)for(var x=c[p>>>2]>>>24-p%4*8&255,v=c[p+1>>>2]>>>24-(p+1)%4*8&255,h=c[p+2>>>2]>>>24-(p+2)%4*8&255,w=x<<16|v<<8|h,m=0;m<4&&p+m*.75<l;m++)f.push(d.charAt(w>>>6*(3-m)&63));var g=d.charAt(64);if(g)for(;f.length%4;)f.push(g);return f.join("")},parse:function(u){var c=u.length,l=this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var f=0;f<l.length;f++)d[l.charCodeAt(f)]=f}var p=l.charAt(64);if(p){var x=u.indexOf(p);x!==-1&&(c=x)}return s(u,c,d)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function s(u,c,l){for(var d=[],f=0,p=0;p<c;p++)if(p%4){var x=l[u.charCodeAt(p-1)]<<p%4*2,v=l[u.charCodeAt(p)]>>>6-p%4*2,h=x|v;d[f>>>2]|=h<<24-f%4*8,f++}return a.create(d,f)}})(),r.enc.Base64})})(dn)),dn.exports}var xn={exports:{}},Xv=xn.exports,As;function Yv(){return As||(As=1,(function(e,t){(function(r,n){e.exports=n(ue())})(Xv,function(r){return(function(){var n=r,o=n.lib,a=o.WordArray,i=n.enc;i.Base64url={stringify:function(u,c){c===void 0&&(c=!0);var l=u.words,d=u.sigBytes,f=c?this._safe_map:this._map;u.clamp();for(var p=[],x=0;x<d;x+=3)for(var v=l[x>>>2]>>>24-x%4*8&255,h=l[x+1>>>2]>>>24-(x+1)%4*8&255,w=l[x+2>>>2]>>>24-(x+2)%4*8&255,m=v<<16|h<<8|w,g=0;g<4&&x+g*.75<d;g++)p.push(f.charAt(m>>>6*(3-g)&63));var y=f.charAt(64);if(y)for(;p.length%4;)p.push(y);return p.join("")},parse:function(u,c){c===void 0&&(c=!0);var l=u.length,d=c?this._safe_map:this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var p=0;p<d.length;p++)f[d.charCodeAt(p)]=p}var x=d.charAt(64);if(x){var v=u.indexOf(x);v!==-1&&(l=v)}return s(u,l,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function s(u,c,l){for(var d=[],f=0,p=0;p<c;p++)if(p%4){var x=l[u.charCodeAt(p-1)]<<p%4*2,v=l[u.charCodeAt(p)]>>>6-p%4*2,h=x|v;d[f>>>2]|=h<<24-f%4*8,f++}return a.create(d,f)}})(),r.enc.Base64url})})(xn)),xn.exports}var pn={exports:{}},Zv=pn.exports,Ss;function Gt(){return Ss||(Ss=1,(function(e,t){(function(r,n){e.exports=n(ue())})(Zv,function(r){return(function(n){var o=r,a=o.lib,i=a.WordArray,s=a.Hasher,u=o.algo,c=[];(function(){for(var v=0;v<64;v++)c[v]=n.abs(n.sin(v+1))*4294967296|0})();var l=u.MD5=s.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(v,h){for(var w=0;w<16;w++){var m=h+w,g=v[m];v[m]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360}var y=this._hash.words,A=v[h+0],_=v[h+1],D=v[h+2],b=v[h+3],k=v[h+4],F=v[h+5],S=v[h+6],B=v[h+7],$=v[h+8],O=v[h+9],P=v[h+10],H=v[h+11],W=v[h+12],j=v[h+13],q=v[h+14],Z=v[h+15],E=y[0],T=y[1],R=y[2],L=y[3];E=d(E,T,R,L,A,7,c[0]),L=d(L,E,T,R,_,12,c[1]),R=d(R,L,E,T,D,17,c[2]),T=d(T,R,L,E,b,22,c[3]),E=d(E,T,R,L,k,7,c[4]),L=d(L,E,T,R,F,12,c[5]),R=d(R,L,E,T,S,17,c[6]),T=d(T,R,L,E,B,22,c[7]),E=d(E,T,R,L,$,7,c[8]),L=d(L,E,T,R,O,12,c[9]),R=d(R,L,E,T,P,17,c[10]),T=d(T,R,L,E,H,22,c[11]),E=d(E,T,R,L,W,7,c[12]),L=d(L,E,T,R,j,12,c[13]),R=d(R,L,E,T,q,17,c[14]),T=d(T,R,L,E,Z,22,c[15]),E=f(E,T,R,L,_,5,c[16]),L=f(L,E,T,R,S,9,c[17]),R=f(R,L,E,T,H,14,c[18]),T=f(T,R,L,E,A,20,c[19]),E=f(E,T,R,L,F,5,c[20]),L=f(L,E,T,R,P,9,c[21]),R=f(R,L,E,T,Z,14,c[22]),T=f(T,R,L,E,k,20,c[23]),E=f(E,T,R,L,O,5,c[24]),L=f(L,E,T,R,q,9,c[25]),R=f(R,L,E,T,b,14,c[26]),T=f(T,R,L,E,$,20,c[27]),E=f(E,T,R,L,j,5,c[28]),L=f(L,E,T,R,D,9,c[29]),R=f(R,L,E,T,B,14,c[30]),T=f(T,R,L,E,W,20,c[31]),E=p(E,T,R,L,F,4,c[32]),L=p(L,E,T,R,$,11,c[33]),R=p(R,L,E,T,H,16,c[34]),T=p(T,R,L,E,q,23,c[35]),E=p(E,T,R,L,_,4,c[36]),L=p(L,E,T,R,k,11,c[37]),R=p(R,L,E,T,B,16,c[38]),T=p(T,R,L,E,P,23,c[39]),E=p(E,T,R,L,j,4,c[40]),L=p(L,E,T,R,A,11,c[41]),R=p(R,L,E,T,b,16,c[42]),T=p(T,R,L,E,S,23,c[43]),E=p(E,T,R,L,O,4,c[44]),L=p(L,E,T,R,W,11,c[45]),R=p(R,L,E,T,Z,16,c[46]),T=p(T,R,L,E,D,23,c[47]),E=x(E,T,R,L,A,6,c[48]),L=x(L,E,T,R,B,10,c[49]),R=x(R,L,E,T,q,15,c[50]),T=x(T,R,L,E,F,21,c[51]),E=x(E,T,R,L,W,6,c[52]),L=x(L,E,T,R,b,10,c[53]),R=x(R,L,E,T,P,15,c[54]),T=x(T,R,L,E,_,21,c[55]),E=x(E,T,R,L,$,6,c[56]),L=x(L,E,T,R,Z,10,c[57]),R=x(R,L,E,T,S,15,c[58]),T=x(T,R,L,E,j,21,c[59]),E=x(E,T,R,L,k,6,c[60]),L=x(L,E,T,R,H,10,c[61]),R=x(R,L,E,T,D,15,c[62]),T=x(T,R,L,E,O,21,c[63]),y[0]=y[0]+E|0,y[1]=y[1]+T|0,y[2]=y[2]+R|0,y[3]=y[3]+L|0},_doFinalize:function(){var v=this._data,h=v.words,w=this._nDataBytes*8,m=v.sigBytes*8;h[m>>>5]|=128<<24-m%32;var g=n.floor(w/4294967296),y=w;h[(m+64>>>9<<4)+15]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,h[(m+64>>>9<<4)+14]=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,v.sigBytes=(h.length+1)*4,this._process();for(var A=this._hash,_=A.words,D=0;D<4;D++){var b=_[D];_[D]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360}return A},clone:function(){var v=s.clone.call(this);return v._hash=this._hash.clone(),v}});function d(v,h,w,m,g,y,A){var _=v+(h&w|~h&m)+g+A;return(_<<y|_>>>32-y)+h}function f(v,h,w,m,g,y,A){var _=v+(h&m|w&~m)+g+A;return(_<<y|_>>>32-y)+h}function p(v,h,w,m,g,y,A){var _=v+(h^w^m)+g+A;return(_<<y|_>>>32-y)+h}function x(v,h,w,m,g,y,A){var _=v+(w^(h|~m))+g+A;return(_<<y|_>>>32-y)+h}o.MD5=s._createHelper(l),o.HmacMD5=s._createHmacHelper(l)})(Math),r.MD5})})(pn)),pn.exports}var hn={exports:{}},Jv=hn.exports,Bs;function nu(){return Bs||(Bs=1,(function(e,t){(function(r,n){e.exports=n(ue())})(Jv,function(r){return(function(){var n=r,o=n.lib,a=o.WordArray,i=o.Hasher,s=n.algo,u=[],c=s.SHA1=i.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(l,d){for(var f=this._hash.words,p=f[0],x=f[1],v=f[2],h=f[3],w=f[4],m=0;m<80;m++){if(m<16)u[m]=l[d+m]|0;else{var g=u[m-3]^u[m-8]^u[m-14]^u[m-16];u[m]=g<<1|g>>>31}var y=(p<<5|p>>>27)+w+u[m];m<20?y+=(x&v|~x&h)+1518500249:m<40?y+=(x^v^h)+1859775393:m<60?y+=(x&v|x&h|v&h)-1894007588:y+=(x^v^h)-899497514,w=h,h=v,v=x<<30|x>>>2,x=p,p=y}f[0]=f[0]+p|0,f[1]=f[1]+x|0,f[2]=f[2]+v|0,f[3]=f[3]+h|0,f[4]=f[4]+w|0},_doFinalize:function(){var l=this._data,d=l.words,f=this._nDataBytes*8,p=l.sigBytes*8;return d[p>>>5]|=128<<24-p%32,d[(p+64>>>9<<4)+14]=Math.floor(f/4294967296),d[(p+64>>>9<<4)+15]=f,l.sigBytes=d.length*4,this._process(),this._hash},clone:function(){var l=i.clone.call(this);return l._hash=this._hash.clone(),l}});n.SHA1=i._createHelper(c),n.HmacSHA1=i._createHmacHelper(c)})(),r.SHA1})})(hn)),hn.exports}var vn={exports:{}},Qv=vn.exports,_s;function ai(){return _s||(_s=1,(function(e,t){(function(r,n){e.exports=n(ue())})(Qv,function(r){return(function(n){var o=r,a=o.lib,i=a.WordArray,s=a.Hasher,u=o.algo,c=[],l=[];(function(){function p(w){for(var m=n.sqrt(w),g=2;g<=m;g++)if(!(w%g))return!1;return!0}function x(w){return(w-(w|0))*4294967296|0}for(var v=2,h=0;h<64;)p(v)&&(h<8&&(c[h]=x(n.pow(v,1/2))),l[h]=x(n.pow(v,1/3)),h++),v++})();var d=[],f=u.SHA256=s.extend({_doReset:function(){this._hash=new i.init(c.slice(0))},_doProcessBlock:function(p,x){for(var v=this._hash.words,h=v[0],w=v[1],m=v[2],g=v[3],y=v[4],A=v[5],_=v[6],D=v[7],b=0;b<64;b++){if(b<16)d[b]=p[x+b]|0;else{var k=d[b-15],F=(k<<25|k>>>7)^(k<<14|k>>>18)^k>>>3,S=d[b-2],B=(S<<15|S>>>17)^(S<<13|S>>>19)^S>>>10;d[b]=F+d[b-7]+B+d[b-16]}var $=y&A^~y&_,O=h&w^h&m^w&m,P=(h<<30|h>>>2)^(h<<19|h>>>13)^(h<<10|h>>>22),H=(y<<26|y>>>6)^(y<<21|y>>>11)^(y<<7|y>>>25),W=D+H+$+l[b]+d[b],j=P+O;D=_,_=A,A=y,y=g+W|0,g=m,m=w,w=h,h=W+j|0}v[0]=v[0]+h|0,v[1]=v[1]+w|0,v[2]=v[2]+m|0,v[3]=v[3]+g|0,v[4]=v[4]+y|0,v[5]=v[5]+A|0,v[6]=v[6]+_|0,v[7]=v[7]+D|0},_doFinalize:function(){var p=this._data,x=p.words,v=this._nDataBytes*8,h=p.sigBytes*8;return x[h>>>5]|=128<<24-h%32,x[(h+64>>>9<<4)+14]=n.floor(v/4294967296),x[(h+64>>>9<<4)+15]=v,p.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var p=s.clone.call(this);return p._hash=this._hash.clone(),p}});o.SHA256=s._createHelper(f),o.HmacSHA256=s._createHmacHelper(f)})(Math),r.SHA256})})(vn)),vn.exports}var bn={exports:{}},eb=bn.exports,Fs;function tb(){return Fs||(Fs=1,(function(e,t){(function(r,n,o){e.exports=n(ue(),ai())})(eb,function(r){return(function(){var n=r,o=n.lib,a=o.WordArray,i=n.algo,s=i.SHA256,u=i.SHA224=s.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var c=s._doFinalize.call(this);return c.sigBytes-=4,c}});n.SHA224=s._createHelper(u),n.HmacSHA224=s._createHmacHelper(u)})(),r.SHA224})})(bn)),bn.exports}var gn={exports:{}},rb=gn.exports,Ds;function ou(){return Ds||(Ds=1,(function(e,t){(function(r,n,o){e.exports=n(ue(),Co())})(rb,function(r){return(function(){var n=r,o=n.lib,a=o.Hasher,i=n.x64,s=i.Word,u=i.WordArray,c=n.algo;function l(){return s.create.apply(s,arguments)}var d=[l(1116352408,3609767458),l(1899447441,602891725),l(3049323471,3964484399),l(3921009573,2173295548),l(961987163,4081628472),l(1508970993,3053834265),l(2453635748,2937671579),l(2870763221,3664609560),l(3624381080,2734883394),l(310598401,1164996542),l(607225278,1323610764),l(1426881987,3590304994),l(1925078388,4068182383),l(2162078206,991336113),l(2614888103,633803317),l(3248222580,3479774868),l(3835390401,2666613458),l(4022224774,944711139),l(264347078,2341262773),l(604807628,2007800933),l(770255983,1495990901),l(1249150122,1856431235),l(1555081692,3175218132),l(1996064986,2198950837),l(2554220882,3999719339),l(2821834349,766784016),l(2952996808,2566594879),l(3210313671,3203337956),l(3336571891,1034457026),l(3584528711,2466948901),l(113926993,3758326383),l(338241895,168717936),l(666307205,1188179964),l(773529912,1546045734),l(1294757372,1522805485),l(1396182291,2643833823),l(1695183700,2343527390),l(1986661051,1014477480),l(2177026350,1206759142),l(2456956037,344077627),l(2730485921,1290863460),l(2820302411,3158454273),l(3259730800,3505952657),l(3345764771,106217008),l(3516065817,3606008344),l(3600352804,1432725776),l(4094571909,1467031594),l(275423344,851169720),l(430227734,3100823752),l(506948616,1363258195),l(659060556,3750685593),l(883997877,3785050280),l(958139571,3318307427),l(1322822218,3812723403),l(1537002063,2003034995),l(1747873779,3602036899),l(1955562222,1575990012),l(2024104815,1125592928),l(2227730452,2716904306),l(2361852424,442776044),l(2428436474,593698344),l(2756734187,3733110249),l(3204031479,2999351573),l(3329325298,3815920427),l(3391569614,3928383900),l(3515267271,566280711),l(3940187606,3454069534),l(4118630271,4000239992),l(116418474,1914138554),l(174292421,2731055270),l(289380356,3203993006),l(460393269,320620315),l(685471733,587496836),l(852142971,1086792851),l(1017036298,365543100),l(1126000580,2618297676),l(1288033470,3409855158),l(1501505948,4234509866),l(1607167915,987167468),l(1816402316,1246189591)],f=[];(function(){for(var x=0;x<80;x++)f[x]=l()})();var p=c.SHA512=a.extend({_doReset:function(){this._hash=new u.init([new s.init(1779033703,4089235720),new s.init(3144134277,2227873595),new s.init(1013904242,4271175723),new s.init(2773480762,1595750129),new s.init(1359893119,2917565137),new s.init(2600822924,725511199),new s.init(528734635,4215389547),new s.init(1541459225,327033209)])},_doProcessBlock:function(x,v){for(var h=this._hash.words,w=h[0],m=h[1],g=h[2],y=h[3],A=h[4],_=h[5],D=h[6],b=h[7],k=w.high,F=w.low,S=m.high,B=m.low,$=g.high,O=g.low,P=y.high,H=y.low,W=A.high,j=A.low,q=_.high,Z=_.low,E=D.high,T=D.low,R=b.high,L=b.low,V=k,Y=F,ie=S,K=B,re=$,pe=O,$e=P,nt=H,Ne=W,Fe=j,ot=q,M=Z,z=E,G=T,U=R,Q=L,X=0;X<80;X++){var J,de,se=f[X];if(X<16)de=se.high=x[v+X*2]|0,J=se.low=x[v+X*2+1]|0;else{var xe=f[X-15],fe=xe.high,ee=xe.low,be=(fe>>>1|ee<<31)^(fe>>>8|ee<<24)^fe>>>7,Ke=(ee>>>1|fe<<31)^(ee>>>8|fe<<24)^(ee>>>7|fe<<25),mt=f[X-2],Ae=mt.high,Ee=mt.low,We=(Ae>>>19|Ee<<13)^(Ae<<3|Ee>>>29)^Ae>>>6,ut=(Ee>>>19|Ae<<13)^(Ee<<3|Ae>>>29)^(Ee>>>6|Ae<<26),Tt=f[X-7],Je=Tt.high,Xt=Tt.low,De=f[X-16],ur=De.high,at=De.low;J=Ke+Xt,de=be+Je+(J>>>0<Ke>>>0?1:0),J=J+ut,de=de+We+(J>>>0<ut>>>0?1:0),J=J+at,de=de+ur+(J>>>0<at>>>0?1:0),se.high=de,se.low=J}var Do=Ne&ot^~Ne&z,zr=Fe&M^~Fe&G,Ur=V&ie^V&re^ie&re,fr=Y&K^Y&pe^K&pe,Pt=(V>>>28|Y<<4)^(V<<30|Y>>>2)^(V<<25|Y>>>7),we=(Y>>>28|V<<4)^(Y<<30|V>>>2)^(Y<<25|V>>>7),Ce=(Ne>>>14|Fe<<18)^(Ne>>>18|Fe<<14)^(Ne<<23|Fe>>>9),He=(Fe>>>14|Ne<<18)^(Fe>>>18|Ne<<14)^(Fe<<23|Ne>>>9),Le=d[X],Re=Le.high,Se=Le.low,me=Q+He,Te=U+Ce+(me>>>0<Q>>>0?1:0),me=me+zr,Te=Te+Do+(me>>>0<zr>>>0?1:0),me=me+Se,Te=Te+Re+(me>>>0<Se>>>0?1:0),me=me+J,Te=Te+de+(me>>>0<J>>>0?1:0),ft=we+fr,Tu=Pt+Ur+(ft>>>0<we>>>0?1:0);U=z,Q=G,z=ot,G=M,ot=Ne,M=Fe,Fe=nt+me|0,Ne=$e+Te+(Fe>>>0<nt>>>0?1:0)|0,$e=re,nt=pe,re=ie,pe=K,ie=V,K=Y,Y=me+ft|0,V=Te+Tu+(Y>>>0<me>>>0?1:0)|0}F=w.low=F+Y,w.high=k+V+(F>>>0<Y>>>0?1:0),B=m.low=B+K,m.high=S+ie+(B>>>0<K>>>0?1:0),O=g.low=O+pe,g.high=$+re+(O>>>0<pe>>>0?1:0),H=y.low=H+nt,y.high=P+$e+(H>>>0<nt>>>0?1:0),j=A.low=j+Fe,A.high=W+Ne+(j>>>0<Fe>>>0?1:0),Z=_.low=Z+M,_.high=q+ot+(Z>>>0<M>>>0?1:0),T=D.low=T+G,D.high=E+z+(T>>>0<G>>>0?1:0),L=b.low=L+Q,b.high=R+U+(L>>>0<Q>>>0?1:0)},_doFinalize:function(){var x=this._data,v=x.words,h=this._nDataBytes*8,w=x.sigBytes*8;v[w>>>5]|=128<<24-w%32,v[(w+128>>>10<<5)+30]=Math.floor(h/4294967296),v[(w+128>>>10<<5)+31]=h,x.sigBytes=v.length*4,this._process();var m=this._hash.toX32();return m},clone:function(){var x=a.clone.call(this);return x._hash=this._hash.clone(),x},blockSize:1024/32});n.SHA512=a._createHelper(p),n.HmacSHA512=a._createHmacHelper(p)})(),r.SHA512})})(gn)),gn.exports}var mn={exports:{}},nb=mn.exports,Ts;function ob(){return Ts||(Ts=1,(function(e,t){(function(r,n,o){e.exports=n(ue(),Co(),ou())})(nb,function(r){return(function(){var n=r,o=n.x64,a=o.Word,i=o.WordArray,s=n.algo,u=s.SHA512,c=s.SHA384=u.extend({_doReset:function(){this._hash=new i.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var l=u._doFinalize.call(this);return l.sigBytes-=16,l}});n.SHA384=u._createHelper(c),n.HmacSHA384=u._createHmacHelper(c)})(),r.SHA384})})(mn)),mn.exports}var yn={exports:{}},ab=yn.exports,Ps;function ib(){return Ps||(Ps=1,(function(e,t){(function(r,n,o){e.exports=n(ue(),Co())})(ab,function(r){return(function(n){var o=r,a=o.lib,i=a.WordArray,s=a.Hasher,u=o.x64,c=u.Word,l=o.algo,d=[],f=[],p=[];(function(){for(var h=1,w=0,m=0;m<24;m++){d[h+5*w]=(m+1)*(m+2)/2%64;var g=w%5,y=(2*h+3*w)%5;h=g,w=y}for(var h=0;h<5;h++)for(var w=0;w<5;w++)f[h+5*w]=w+(2*h+3*w)%5*5;for(var A=1,_=0;_<24;_++){for(var D=0,b=0,k=0;k<7;k++){if(A&1){var F=(1<<k)-1;F<32?b^=1<<F:D^=1<<F-32}A&128?A=A<<1^113:A<<=1}p[_]=c.create(D,b)}})();var x=[];(function(){for(var h=0;h<25;h++)x[h]=c.create()})();var v=l.SHA3=s.extend({cfg:s.cfg.extend({outputLength:512}),_doReset:function(){for(var h=this._state=[],w=0;w<25;w++)h[w]=new c.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(h,w){for(var m=this._state,g=this.blockSize/2,y=0;y<g;y++){var A=h[w+2*y],_=h[w+2*y+1];A=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,_=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360;var D=m[y];D.high^=_,D.low^=A}for(var b=0;b<24;b++){for(var k=0;k<5;k++){for(var F=0,S=0,B=0;B<5;B++){var D=m[k+5*B];F^=D.high,S^=D.low}var $=x[k];$.high=F,$.low=S}for(var k=0;k<5;k++)for(var O=x[(k+4)%5],P=x[(k+1)%5],H=P.high,W=P.low,F=O.high^(H<<1|W>>>31),S=O.low^(W<<1|H>>>31),B=0;B<5;B++){var D=m[k+5*B];D.high^=F,D.low^=S}for(var j=1;j<25;j++){var F,S,D=m[j],q=D.high,Z=D.low,E=d[j];E<32?(F=q<<E|Z>>>32-E,S=Z<<E|q>>>32-E):(F=Z<<E-32|q>>>64-E,S=q<<E-32|Z>>>64-E);var T=x[f[j]];T.high=F,T.low=S}var R=x[0],L=m[0];R.high=L.high,R.low=L.low;for(var k=0;k<5;k++)for(var B=0;B<5;B++){var j=k+5*B,D=m[j],V=x[j],Y=x[(k+1)%5+5*B],ie=x[(k+2)%5+5*B];D.high=V.high^~Y.high&ie.high,D.low=V.low^~Y.low&ie.low}var D=m[0],K=p[b];D.high^=K.high,D.low^=K.low}},_doFinalize:function(){var h=this._data,w=h.words;this._nDataBytes*8;var m=h.sigBytes*8,g=this.blockSize*32;w[m>>>5]|=1<<24-m%32,w[(n.ceil((m+1)/g)*g>>>5)-1]|=128,h.sigBytes=w.length*4,this._process();for(var y=this._state,A=this.cfg.outputLength/8,_=A/8,D=[],b=0;b<_;b++){var k=y[b],F=k.high,S=k.low;F=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,S=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360,D.push(S),D.push(F)}return new i.init(D,A)},clone:function(){for(var h=s.clone.call(this),w=h._state=this._state.slice(0),m=0;m<25;m++)w[m]=w[m].clone();return h}});o.SHA3=s._createHelper(v),o.HmacSHA3=s._createHmacHelper(v)})(Math),r.SHA3})})(yn)),yn.exports}var En={exports:{}},sb=En.exports,ks;function cb(){return ks||(ks=1,(function(e,t){(function(r,n){e.exports=n(ue())})(sb,function(r){/** @preserve
|
|
(c) 2012 by Cédric Mesnil. All rights reserved.
|
|
|
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
|
|
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
*/return(function(n){var o=r,a=o.lib,i=a.WordArray,s=a.Hasher,u=o.algo,c=i.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),l=i.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),d=i.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),f=i.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),p=i.create([0,1518500249,1859775393,2400959708,2840853838]),x=i.create([1352829926,1548603684,1836072691,2053994217,0]),v=u.RIPEMD160=s.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(_,D){for(var b=0;b<16;b++){var k=D+b,F=_[k];_[k]=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360}var S=this._hash.words,B=p.words,$=x.words,O=c.words,P=l.words,H=d.words,W=f.words,j,q,Z,E,T,R,L,V,Y,ie;R=j=S[0],L=q=S[1],V=Z=S[2],Y=E=S[3],ie=T=S[4];for(var K,b=0;b<80;b+=1)K=j+_[D+O[b]]|0,b<16?K+=h(q,Z,E)+B[0]:b<32?K+=w(q,Z,E)+B[1]:b<48?K+=m(q,Z,E)+B[2]:b<64?K+=g(q,Z,E)+B[3]:K+=y(q,Z,E)+B[4],K=K|0,K=A(K,H[b]),K=K+T|0,j=T,T=E,E=A(Z,10),Z=q,q=K,K=R+_[D+P[b]]|0,b<16?K+=y(L,V,Y)+$[0]:b<32?K+=g(L,V,Y)+$[1]:b<48?K+=m(L,V,Y)+$[2]:b<64?K+=w(L,V,Y)+$[3]:K+=h(L,V,Y)+$[4],K=K|0,K=A(K,W[b]),K=K+ie|0,R=ie,ie=Y,Y=A(V,10),V=L,L=K;K=S[1]+Z+Y|0,S[1]=S[2]+E+ie|0,S[2]=S[3]+T+R|0,S[3]=S[4]+j+L|0,S[4]=S[0]+q+V|0,S[0]=K},_doFinalize:function(){var _=this._data,D=_.words,b=this._nDataBytes*8,k=_.sigBytes*8;D[k>>>5]|=128<<24-k%32,D[(k+64>>>9<<4)+14]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,_.sigBytes=(D.length+1)*4,this._process();for(var F=this._hash,S=F.words,B=0;B<5;B++){var $=S[B];S[B]=($<<8|$>>>24)&16711935|($<<24|$>>>8)&4278255360}return F},clone:function(){var _=s.clone.call(this);return _._hash=this._hash.clone(),_}});function h(_,D,b){return _^D^b}function w(_,D,b){return _&D|~_&b}function m(_,D,b){return(_|~D)^b}function g(_,D,b){return _&b|D&~b}function y(_,D,b){return _^(D|~b)}function A(_,D){return _<<D|_>>>32-D}o.RIPEMD160=s._createHelper(v),o.HmacRIPEMD160=s._createHmacHelper(v)})(),r.RIPEMD160})})(En)),En.exports}var wn={exports:{}},lb=wn.exports,Rs;function ii(){return Rs||(Rs=1,(function(e,t){(function(r,n){e.exports=n(ue())})(lb,function(r){(function(){var n=r,o=n.lib,a=o.Base,i=n.enc,s=i.Utf8,u=n.algo;u.HMAC=a.extend({init:function(c,l){c=this._hasher=new c.init,typeof l=="string"&&(l=s.parse(l));var d=c.blockSize,f=d*4;l.sigBytes>f&&(l=c.finalize(l)),l.clamp();for(var p=this._oKey=l.clone(),x=this._iKey=l.clone(),v=p.words,h=x.words,w=0;w<d;w++)v[w]^=1549556828,h[w]^=909522486;p.sigBytes=x.sigBytes=f,this.reset()},reset:function(){var c=this._hasher;c.reset(),c.update(this._iKey)},update:function(c){return this._hasher.update(c),this},finalize:function(c){var l=this._hasher,d=l.finalize(c);l.reset();var f=l.finalize(this._oKey.clone().concat(d));return f}})})()})})(wn)),wn.exports}var Cn={exports:{}},ub=Cn.exports,Os;function fb(){return Os||(Os=1,(function(e,t){(function(r,n,o){e.exports=n(ue(),ai(),ii())})(ub,function(r){return(function(){var n=r,o=n.lib,a=o.Base,i=o.WordArray,s=n.algo,u=s.SHA256,c=s.HMAC,l=s.PBKDF2=a.extend({cfg:a.extend({keySize:128/32,hasher:u,iterations:25e4}),init:function(d){this.cfg=this.cfg.extend(d)},compute:function(d,f){for(var p=this.cfg,x=c.create(p.hasher,d),v=i.create(),h=i.create([1]),w=v.words,m=h.words,g=p.keySize,y=p.iterations;w.length<g;){var A=x.update(f).finalize(h);x.reset();for(var _=A.words,D=_.length,b=A,k=1;k<y;k++){b=x.finalize(b),x.reset();for(var F=b.words,S=0;S<D;S++)_[S]^=F[S]}v.concat(A),m[0]++}return v.sigBytes=g*4,v}});n.PBKDF2=function(d,f,p){return l.create(p).compute(d,f)}})(),r.PBKDF2})})(Cn)),Cn.exports}var $n={exports:{}},db=$n.exports,Ns;function Dt(){return Ns||(Ns=1,(function(e,t){(function(r,n,o){e.exports=n(ue(),nu(),ii())})(db,function(r){return(function(){var n=r,o=n.lib,a=o.Base,i=o.WordArray,s=n.algo,u=s.MD5,c=s.EvpKDF=a.extend({cfg:a.extend({keySize:128/32,hasher:u,iterations:1}),init:function(l){this.cfg=this.cfg.extend(l)},compute:function(l,d){for(var f,p=this.cfg,x=p.hasher.create(),v=i.create(),h=v.words,w=p.keySize,m=p.iterations;h.length<w;){f&&x.update(f),f=x.update(l).finalize(d),x.reset();for(var g=1;g<m;g++)f=x.finalize(f),x.reset();v.concat(f)}return v.sigBytes=w*4,v}});n.EvpKDF=function(l,d,f){return c.create(f).compute(l,d)}})(),r.EvpKDF})})($n)),$n.exports}var An={exports:{}},xb=An.exports,Ls;function ke(){return Ls||(Ls=1,(function(e,t){(function(r,n,o){e.exports=n(ue(),Dt())})(xb,function(r){r.lib.Cipher||(function(n){var o=r,a=o.lib,i=a.Base,s=a.WordArray,u=a.BufferedBlockAlgorithm,c=o.enc;c.Utf8;var l=c.Base64,d=o.algo,f=d.EvpKDF,p=a.Cipher=u.extend({cfg:i.extend(),createEncryptor:function(F,S){return this.create(this._ENC_XFORM_MODE,F,S)},createDecryptor:function(F,S){return this.create(this._DEC_XFORM_MODE,F,S)},init:function(F,S,B){this.cfg=this.cfg.extend(B),this._xformMode=F,this._key=S,this.reset()},reset:function(){u.reset.call(this),this._doReset()},process:function(F){return this._append(F),this._process()},finalize:function(F){F&&this._append(F);var S=this._doFinalize();return S},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:(function(){function F(S){return typeof S=="string"?k:_}return function(S){return{encrypt:function(B,$,O){return F($).encrypt(S,B,$,O)},decrypt:function(B,$,O){return F($).decrypt(S,B,$,O)}}}})()});a.StreamCipher=p.extend({_doFinalize:function(){var F=this._process(!0);return F},blockSize:1});var x=o.mode={},v=a.BlockCipherMode=i.extend({createEncryptor:function(F,S){return this.Encryptor.create(F,S)},createDecryptor:function(F,S){return this.Decryptor.create(F,S)},init:function(F,S){this._cipher=F,this._iv=S}}),h=x.CBC=(function(){var F=v.extend();F.Encryptor=F.extend({processBlock:function(B,$){var O=this._cipher,P=O.blockSize;S.call(this,B,$,P),O.encryptBlock(B,$),this._prevBlock=B.slice($,$+P)}}),F.Decryptor=F.extend({processBlock:function(B,$){var O=this._cipher,P=O.blockSize,H=B.slice($,$+P);O.decryptBlock(B,$),S.call(this,B,$,P),this._prevBlock=H}});function S(B,$,O){var P,H=this._iv;H?(P=H,this._iv=n):P=this._prevBlock;for(var W=0;W<O;W++)B[$+W]^=P[W]}return F})(),w=o.pad={},m=w.Pkcs7={pad:function(F,S){for(var B=S*4,$=B-F.sigBytes%B,O=$<<24|$<<16|$<<8|$,P=[],H=0;H<$;H+=4)P.push(O);var W=s.create(P,$);F.concat(W)},unpad:function(F){var S=F.words[F.sigBytes-1>>>2]&255;F.sigBytes-=S}};a.BlockCipher=p.extend({cfg:p.cfg.extend({mode:h,padding:m}),reset:function(){var F;p.reset.call(this);var S=this.cfg,B=S.iv,$=S.mode;this._xformMode==this._ENC_XFORM_MODE?F=$.createEncryptor:(F=$.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==F?this._mode.init(this,B&&B.words):(this._mode=F.call($,this,B&&B.words),this._mode.__creator=F)},_doProcessBlock:function(F,S){this._mode.processBlock(F,S)},_doFinalize:function(){var F,S=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(S.pad(this._data,this.blockSize),F=this._process(!0)):(F=this._process(!0),S.unpad(F)),F},blockSize:128/32});var g=a.CipherParams=i.extend({init:function(F){this.mixIn(F)},toString:function(F){return(F||this.formatter).stringify(this)}}),y=o.format={},A=y.OpenSSL={stringify:function(F){var S,B=F.ciphertext,$=F.salt;return $?S=s.create([1398893684,1701076831]).concat($).concat(B):S=B,S.toString(l)},parse:function(F){var S,B=l.parse(F),$=B.words;return $[0]==1398893684&&$[1]==1701076831&&(S=s.create($.slice(2,4)),$.splice(0,4),B.sigBytes-=16),g.create({ciphertext:B,salt:S})}},_=a.SerializableCipher=i.extend({cfg:i.extend({format:A}),encrypt:function(F,S,B,$){$=this.cfg.extend($);var O=F.createEncryptor(B,$),P=O.finalize(S),H=O.cfg;return g.create({ciphertext:P,key:B,iv:H.iv,algorithm:F,mode:H.mode,padding:H.padding,blockSize:F.blockSize,formatter:$.format})},decrypt:function(F,S,B,$){$=this.cfg.extend($),S=this._parse(S,$.format);var O=F.createDecryptor(B,$).finalize(S.ciphertext);return O},_parse:function(F,S){return typeof F=="string"?S.parse(F,this):F}}),D=o.kdf={},b=D.OpenSSL={execute:function(F,S,B,$,O){if($||($=s.random(64/8)),O)var P=f.create({keySize:S+B,hasher:O}).compute(F,$);else var P=f.create({keySize:S+B}).compute(F,$);var H=s.create(P.words.slice(S),B*4);return P.sigBytes=S*4,g.create({key:P,iv:H,salt:$})}},k=a.PasswordBasedCipher=_.extend({cfg:_.cfg.extend({kdf:b}),encrypt:function(F,S,B,$){$=this.cfg.extend($);var O=$.kdf.execute(B,F.keySize,F.ivSize,$.salt,$.hasher);$.iv=O.iv;var P=_.encrypt.call(this,F,S,O.key,$);return P.mixIn(O),P},decrypt:function(F,S,B,$){$=this.cfg.extend($),S=this._parse(S,$.format);var O=$.kdf.execute(B,F.keySize,F.ivSize,S.salt,$.hasher);$.iv=O.iv;var P=_.decrypt.call(this,F,S,O.key,$);return P}})})()})})(An)),An.exports}var Sn={exports:{}},pb=Sn.exports,Ms;function hb(){return Ms||(Ms=1,(function(e,t){(function(r,n,o){e.exports=n(ue(),ke())})(pb,function(r){return r.mode.CFB=(function(){var n=r.lib.BlockCipherMode.extend();n.Encryptor=n.extend({processBlock:function(a,i){var s=this._cipher,u=s.blockSize;o.call(this,a,i,u,s),this._prevBlock=a.slice(i,i+u)}}),n.Decryptor=n.extend({processBlock:function(a,i){var s=this._cipher,u=s.blockSize,c=a.slice(i,i+u);o.call(this,a,i,u,s),this._prevBlock=c}});function o(a,i,s,u){var c,l=this._iv;l?(c=l.slice(0),this._iv=void 0):c=this._prevBlock,u.encryptBlock(c,0);for(var d=0;d<s;d++)a[i+d]^=c[d]}return n})(),r.mode.CFB})})(Sn)),Sn.exports}var Bn={exports:{}},vb=Bn.exports,Is;function bb(){return Is||(Is=1,(function(e,t){(function(r,n,o){e.exports=n(ue(),ke())})(vb,function(r){return r.mode.CTR=(function(){var n=r.lib.BlockCipherMode.extend(),o=n.Encryptor=n.extend({processBlock:function(a,i){var s=this._cipher,u=s.blockSize,c=this._iv,l=this._counter;c&&(l=this._counter=c.slice(0),this._iv=void 0);var d=l.slice(0);s.encryptBlock(d,0),l[u-1]=l[u-1]+1|0;for(var f=0;f<u;f++)a[i+f]^=d[f]}});return n.Decryptor=o,n})(),r.mode.CTR})})(Bn)),Bn.exports}var _n={exports:{}},gb=_n.exports,Hs;function mb(){return Hs||(Hs=1,(function(e,t){(function(r,n,o){e.exports=n(ue(),ke())})(gb,function(r){/** @preserve
|
|
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|
* derived from CryptoJS.mode.CTR
|
|
* Jan Hruby jhruby.web@gmail.com
|
|
*/return r.mode.CTRGladman=(function(){var n=r.lib.BlockCipherMode.extend();function o(s){if((s>>24&255)===255){var u=s>>16&255,c=s>>8&255,l=s&255;u===255?(u=0,c===255?(c=0,l===255?l=0:++l):++c):++u,s=0,s+=u<<16,s+=c<<8,s+=l}else s+=1<<24;return s}function a(s){return(s[0]=o(s[0]))===0&&(s[1]=o(s[1])),s}var i=n.Encryptor=n.extend({processBlock:function(s,u){var c=this._cipher,l=c.blockSize,d=this._iv,f=this._counter;d&&(f=this._counter=d.slice(0),this._iv=void 0),a(f);var p=f.slice(0);c.encryptBlock(p,0);for(var x=0;x<l;x++)s[u+x]^=p[x]}});return n.Decryptor=i,n})(),r.mode.CTRGladman})})(_n)),_n.exports}var Fn={exports:{}},yb=Fn.exports,js;function Eb(){return js||(js=1,(function(e,t){(function(r,n,o){e.exports=n(ue(),ke())})(yb,function(r){return r.mode.OFB=(function(){var n=r.lib.BlockCipherMode.extend(),o=n.Encryptor=n.extend({processBlock:function(a,i){var s=this._cipher,u=s.blockSize,c=this._iv,l=this._keystream;c&&(l=this._keystream=c.slice(0),this._iv=void 0),s.encryptBlock(l,0);for(var d=0;d<u;d++)a[i+d]^=l[d]}});return n.Decryptor=o,n})(),r.mode.OFB})})(Fn)),Fn.exports}var Dn={exports:{}},wb=Dn.exports,zs;function Cb(){return zs||(zs=1,(function(e,t){(function(r,n,o){e.exports=n(ue(),ke())})(wb,function(r){return r.mode.ECB=(function(){var n=r.lib.BlockCipherMode.extend();return n.Encryptor=n.extend({processBlock:function(o,a){this._cipher.encryptBlock(o,a)}}),n.Decryptor=n.extend({processBlock:function(o,a){this._cipher.decryptBlock(o,a)}}),n})(),r.mode.ECB})})(Dn)),Dn.exports}var Tn={exports:{}},$b=Tn.exports,Us;function Ab(){return Us||(Us=1,(function(e,t){(function(r,n,o){e.exports=n(ue(),ke())})($b,function(r){return r.pad.AnsiX923={pad:function(n,o){var a=n.sigBytes,i=o*4,s=i-a%i,u=a+s-1;n.clamp(),n.words[u>>>2]|=s<<24-u%4*8,n.sigBytes+=s},unpad:function(n){var o=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=o}},r.pad.Ansix923})})(Tn)),Tn.exports}var Pn={exports:{}},Sb=Pn.exports,Ws;function Bb(){return Ws||(Ws=1,(function(e,t){(function(r,n,o){e.exports=n(ue(),ke())})(Sb,function(r){return r.pad.Iso10126={pad:function(n,o){var a=o*4,i=a-n.sigBytes%a;n.concat(r.lib.WordArray.random(i-1)).concat(r.lib.WordArray.create([i<<24],1))},unpad:function(n){var o=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=o}},r.pad.Iso10126})})(Pn)),Pn.exports}var kn={exports:{}},_b=kn.exports,qs;function Fb(){return qs||(qs=1,(function(e,t){(function(r,n,o){e.exports=n(ue(),ke())})(_b,function(r){return r.pad.Iso97971={pad:function(n,o){n.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(n,o)},unpad:function(n){r.pad.ZeroPadding.unpad(n),n.sigBytes--}},r.pad.Iso97971})})(kn)),kn.exports}var Rn={exports:{}},Db=Rn.exports,Vs;function Tb(){return Vs||(Vs=1,(function(e,t){(function(r,n,o){e.exports=n(ue(),ke())})(Db,function(r){return r.pad.ZeroPadding={pad:function(n,o){var a=o*4;n.clamp(),n.sigBytes+=a-(n.sigBytes%a||a)},unpad:function(n){for(var o=n.words,a=n.sigBytes-1,a=n.sigBytes-1;a>=0;a--)if(o[a>>>2]>>>24-a%4*8&255){n.sigBytes=a+1;break}}},r.pad.ZeroPadding})})(Rn)),Rn.exports}var On={exports:{}},Pb=On.exports,Ks;function kb(){return Ks||(Ks=1,(function(e,t){(function(r,n,o){e.exports=n(ue(),ke())})(Pb,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})})(On)),On.exports}var Nn={exports:{}},Rb=Nn.exports,Gs;function Ob(){return Gs||(Gs=1,(function(e,t){(function(r,n,o){e.exports=n(ue(),ke())})(Rb,function(r){return(function(n){var o=r,a=o.lib,i=a.CipherParams,s=o.enc,u=s.Hex,c=o.format;c.Hex={stringify:function(l){return l.ciphertext.toString(u)},parse:function(l){var d=u.parse(l);return i.create({ciphertext:d})}}})(),r.format.Hex})})(Nn)),Nn.exports}var Ln={exports:{}},Nb=Ln.exports,Xs;function Lb(){return Xs||(Xs=1,(function(e,t){(function(r,n,o){e.exports=n(ue(),Kt(),Gt(),Dt(),ke())})(Nb,function(r){return(function(){var n=r,o=n.lib,a=o.BlockCipher,i=n.algo,s=[],u=[],c=[],l=[],d=[],f=[],p=[],x=[],v=[],h=[];(function(){for(var g=[],y=0;y<256;y++)y<128?g[y]=y<<1:g[y]=y<<1^283;for(var A=0,_=0,y=0;y<256;y++){var D=_^_<<1^_<<2^_<<3^_<<4;D=D>>>8^D&255^99,s[A]=D,u[D]=A;var b=g[A],k=g[b],F=g[k],S=g[D]*257^D*16843008;c[A]=S<<24|S>>>8,l[A]=S<<16|S>>>16,d[A]=S<<8|S>>>24,f[A]=S;var S=F*16843009^k*65537^b*257^A*16843008;p[D]=S<<24|S>>>8,x[D]=S<<16|S>>>16,v[D]=S<<8|S>>>24,h[D]=S,A?(A=b^g[g[g[F^b]]],_^=g[g[_]]):A=_=1}})();var w=[0,1,2,4,8,16,32,64,128,27,54],m=i.AES=a.extend({_doReset:function(){var g;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var y=this._keyPriorReset=this._key,A=y.words,_=y.sigBytes/4,D=this._nRounds=_+6,b=(D+1)*4,k=this._keySchedule=[],F=0;F<b;F++)F<_?k[F]=A[F]:(g=k[F-1],F%_?_>6&&F%_==4&&(g=s[g>>>24]<<24|s[g>>>16&255]<<16|s[g>>>8&255]<<8|s[g&255]):(g=g<<8|g>>>24,g=s[g>>>24]<<24|s[g>>>16&255]<<16|s[g>>>8&255]<<8|s[g&255],g^=w[F/_|0]<<24),k[F]=k[F-_]^g);for(var S=this._invKeySchedule=[],B=0;B<b;B++){var F=b-B;if(B%4)var g=k[F];else var g=k[F-4];B<4||F<=4?S[B]=g:S[B]=p[s[g>>>24]]^x[s[g>>>16&255]]^v[s[g>>>8&255]]^h[s[g&255]]}}},encryptBlock:function(g,y){this._doCryptBlock(g,y,this._keySchedule,c,l,d,f,s)},decryptBlock:function(g,y){var A=g[y+1];g[y+1]=g[y+3],g[y+3]=A,this._doCryptBlock(g,y,this._invKeySchedule,p,x,v,h,u);var A=g[y+1];g[y+1]=g[y+3],g[y+3]=A},_doCryptBlock:function(g,y,A,_,D,b,k,F){for(var S=this._nRounds,B=g[y]^A[0],$=g[y+1]^A[1],O=g[y+2]^A[2],P=g[y+3]^A[3],H=4,W=1;W<S;W++){var j=_[B>>>24]^D[$>>>16&255]^b[O>>>8&255]^k[P&255]^A[H++],q=_[$>>>24]^D[O>>>16&255]^b[P>>>8&255]^k[B&255]^A[H++],Z=_[O>>>24]^D[P>>>16&255]^b[B>>>8&255]^k[$&255]^A[H++],E=_[P>>>24]^D[B>>>16&255]^b[$>>>8&255]^k[O&255]^A[H++];B=j,$=q,O=Z,P=E}var j=(F[B>>>24]<<24|F[$>>>16&255]<<16|F[O>>>8&255]<<8|F[P&255])^A[H++],q=(F[$>>>24]<<24|F[O>>>16&255]<<16|F[P>>>8&255]<<8|F[B&255])^A[H++],Z=(F[O>>>24]<<24|F[P>>>16&255]<<16|F[B>>>8&255]<<8|F[$&255])^A[H++],E=(F[P>>>24]<<24|F[B>>>16&255]<<16|F[$>>>8&255]<<8|F[O&255])^A[H++];g[y]=j,g[y+1]=q,g[y+2]=Z,g[y+3]=E},keySize:256/32});n.AES=a._createHelper(m)})(),r.AES})})(Ln)),Ln.exports}var Mn={exports:{}},Mb=Mn.exports,Ys;function Ib(){return Ys||(Ys=1,(function(e,t){(function(r,n,o){e.exports=n(ue(),Kt(),Gt(),Dt(),ke())})(Mb,function(r){return(function(){var n=r,o=n.lib,a=o.WordArray,i=o.BlockCipher,s=n.algo,u=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],c=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],l=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],d=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],f=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],p=s.DES=i.extend({_doReset:function(){for(var w=this._key,m=w.words,g=[],y=0;y<56;y++){var A=u[y]-1;g[y]=m[A>>>5]>>>31-A%32&1}for(var _=this._subKeys=[],D=0;D<16;D++){for(var b=_[D]=[],k=l[D],y=0;y<24;y++)b[y/6|0]|=g[(c[y]-1+k)%28]<<31-y%6,b[4+(y/6|0)]|=g[28+(c[y+24]-1+k)%28]<<31-y%6;b[0]=b[0]<<1|b[0]>>>31;for(var y=1;y<7;y++)b[y]=b[y]>>>(y-1)*4+3;b[7]=b[7]<<5|b[7]>>>27}for(var F=this._invSubKeys=[],y=0;y<16;y++)F[y]=_[15-y]},encryptBlock:function(w,m){this._doCryptBlock(w,m,this._subKeys)},decryptBlock:function(w,m){this._doCryptBlock(w,m,this._invSubKeys)},_doCryptBlock:function(w,m,g){this._lBlock=w[m],this._rBlock=w[m+1],x.call(this,4,252645135),x.call(this,16,65535),v.call(this,2,858993459),v.call(this,8,16711935),x.call(this,1,1431655765);for(var y=0;y<16;y++){for(var A=g[y],_=this._lBlock,D=this._rBlock,b=0,k=0;k<8;k++)b|=d[k][((D^A[k])&f[k])>>>0];this._lBlock=D,this._rBlock=_^b}var F=this._lBlock;this._lBlock=this._rBlock,this._rBlock=F,x.call(this,1,1431655765),v.call(this,8,16711935),v.call(this,2,858993459),x.call(this,16,65535),x.call(this,4,252645135),w[m]=this._lBlock,w[m+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function x(w,m){var g=(this._lBlock>>>w^this._rBlock)&m;this._rBlock^=g,this._lBlock^=g<<w}function v(w,m){var g=(this._rBlock>>>w^this._lBlock)&m;this._lBlock^=g,this._rBlock^=g<<w}n.DES=i._createHelper(p);var h=s.TripleDES=i.extend({_doReset:function(){var w=this._key,m=w.words;if(m.length!==2&&m.length!==4&&m.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var g=m.slice(0,2),y=m.length<4?m.slice(0,2):m.slice(2,4),A=m.length<6?m.slice(0,2):m.slice(4,6);this._des1=p.createEncryptor(a.create(g)),this._des2=p.createEncryptor(a.create(y)),this._des3=p.createEncryptor(a.create(A))},encryptBlock:function(w,m){this._des1.encryptBlock(w,m),this._des2.decryptBlock(w,m),this._des3.encryptBlock(w,m)},decryptBlock:function(w,m){this._des3.decryptBlock(w,m),this._des2.encryptBlock(w,m),this._des1.decryptBlock(w,m)},keySize:192/32,ivSize:64/32,blockSize:64/32});n.TripleDES=i._createHelper(h)})(),r.TripleDES})})(Mn)),Mn.exports}var In={exports:{}},Hb=In.exports,Zs;function jb(){return Zs||(Zs=1,(function(e,t){(function(r,n,o){e.exports=n(ue(),Kt(),Gt(),Dt(),ke())})(Hb,function(r){return(function(){var n=r,o=n.lib,a=o.StreamCipher,i=n.algo,s=i.RC4=a.extend({_doReset:function(){for(var l=this._key,d=l.words,f=l.sigBytes,p=this._S=[],x=0;x<256;x++)p[x]=x;for(var x=0,v=0;x<256;x++){var h=x%f,w=d[h>>>2]>>>24-h%4*8&255;v=(v+p[x]+w)%256;var m=p[x];p[x]=p[v],p[v]=m}this._i=this._j=0},_doProcessBlock:function(l,d){l[d]^=u.call(this)},keySize:256/32,ivSize:0});function u(){for(var l=this._S,d=this._i,f=this._j,p=0,x=0;x<4;x++){d=(d+1)%256,f=(f+l[d])%256;var v=l[d];l[d]=l[f],l[f]=v,p|=l[(l[d]+l[f])%256]<<24-x*8}return this._i=d,this._j=f,p}n.RC4=a._createHelper(s);var c=i.RC4Drop=s.extend({cfg:s.cfg.extend({drop:192}),_doReset:function(){s._doReset.call(this);for(var l=this.cfg.drop;l>0;l--)u.call(this)}});n.RC4Drop=a._createHelper(c)})(),r.RC4})})(In)),In.exports}var Hn={exports:{}},zb=Hn.exports,Js;function Ub(){return Js||(Js=1,(function(e,t){(function(r,n,o){e.exports=n(ue(),Kt(),Gt(),Dt(),ke())})(zb,function(r){return(function(){var n=r,o=n.lib,a=o.StreamCipher,i=n.algo,s=[],u=[],c=[],l=i.Rabbit=a.extend({_doReset:function(){for(var f=this._key.words,p=this.cfg.iv,x=0;x<4;x++)f[x]=(f[x]<<8|f[x]>>>24)&16711935|(f[x]<<24|f[x]>>>8)&4278255360;var v=this._X=[f[0],f[3]<<16|f[2]>>>16,f[1],f[0]<<16|f[3]>>>16,f[2],f[1]<<16|f[0]>>>16,f[3],f[2]<<16|f[1]>>>16],h=this._C=[f[2]<<16|f[2]>>>16,f[0]&4294901760|f[1]&65535,f[3]<<16|f[3]>>>16,f[1]&4294901760|f[2]&65535,f[0]<<16|f[0]>>>16,f[2]&4294901760|f[3]&65535,f[1]<<16|f[1]>>>16,f[3]&4294901760|f[0]&65535];this._b=0;for(var x=0;x<4;x++)d.call(this);for(var x=0;x<8;x++)h[x]^=v[x+4&7];if(p){var w=p.words,m=w[0],g=w[1],y=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360,A=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,_=y>>>16|A&4294901760,D=A<<16|y&65535;h[0]^=y,h[1]^=_,h[2]^=A,h[3]^=D,h[4]^=y,h[5]^=_,h[6]^=A,h[7]^=D;for(var x=0;x<4;x++)d.call(this)}},_doProcessBlock:function(f,p){var x=this._X;d.call(this),s[0]=x[0]^x[5]>>>16^x[3]<<16,s[1]=x[2]^x[7]>>>16^x[5]<<16,s[2]=x[4]^x[1]>>>16^x[7]<<16,s[3]=x[6]^x[3]>>>16^x[1]<<16;for(var v=0;v<4;v++)s[v]=(s[v]<<8|s[v]>>>24)&16711935|(s[v]<<24|s[v]>>>8)&4278255360,f[p+v]^=s[v]},blockSize:128/32,ivSize:64/32});function d(){for(var f=this._X,p=this._C,x=0;x<8;x++)u[x]=p[x];p[0]=p[0]+1295307597+this._b|0,p[1]=p[1]+3545052371+(p[0]>>>0<u[0]>>>0?1:0)|0,p[2]=p[2]+886263092+(p[1]>>>0<u[1]>>>0?1:0)|0,p[3]=p[3]+1295307597+(p[2]>>>0<u[2]>>>0?1:0)|0,p[4]=p[4]+3545052371+(p[3]>>>0<u[3]>>>0?1:0)|0,p[5]=p[5]+886263092+(p[4]>>>0<u[4]>>>0?1:0)|0,p[6]=p[6]+1295307597+(p[5]>>>0<u[5]>>>0?1:0)|0,p[7]=p[7]+3545052371+(p[6]>>>0<u[6]>>>0?1:0)|0,this._b=p[7]>>>0<u[7]>>>0?1:0;for(var x=0;x<8;x++){var v=f[x]+p[x],h=v&65535,w=v>>>16,m=((h*h>>>17)+h*w>>>15)+w*w,g=((v&4294901760)*v|0)+((v&65535)*v|0);c[x]=m^g}f[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,f[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,f[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,f[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,f[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,f[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,f[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,f[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}n.Rabbit=a._createHelper(l)})(),r.Rabbit})})(Hn)),Hn.exports}var jn={exports:{}},Wb=jn.exports,Qs;function qb(){return Qs||(Qs=1,(function(e,t){(function(r,n,o){e.exports=n(ue(),Kt(),Gt(),Dt(),ke())})(Wb,function(r){return(function(){var n=r,o=n.lib,a=o.StreamCipher,i=n.algo,s=[],u=[],c=[],l=i.RabbitLegacy=a.extend({_doReset:function(){var f=this._key.words,p=this.cfg.iv,x=this._X=[f[0],f[3]<<16|f[2]>>>16,f[1],f[0]<<16|f[3]>>>16,f[2],f[1]<<16|f[0]>>>16,f[3],f[2]<<16|f[1]>>>16],v=this._C=[f[2]<<16|f[2]>>>16,f[0]&4294901760|f[1]&65535,f[3]<<16|f[3]>>>16,f[1]&4294901760|f[2]&65535,f[0]<<16|f[0]>>>16,f[2]&4294901760|f[3]&65535,f[1]<<16|f[1]>>>16,f[3]&4294901760|f[0]&65535];this._b=0;for(var h=0;h<4;h++)d.call(this);for(var h=0;h<8;h++)v[h]^=x[h+4&7];if(p){var w=p.words,m=w[0],g=w[1],y=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360,A=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,_=y>>>16|A&4294901760,D=A<<16|y&65535;v[0]^=y,v[1]^=_,v[2]^=A,v[3]^=D,v[4]^=y,v[5]^=_,v[6]^=A,v[7]^=D;for(var h=0;h<4;h++)d.call(this)}},_doProcessBlock:function(f,p){var x=this._X;d.call(this),s[0]=x[0]^x[5]>>>16^x[3]<<16,s[1]=x[2]^x[7]>>>16^x[5]<<16,s[2]=x[4]^x[1]>>>16^x[7]<<16,s[3]=x[6]^x[3]>>>16^x[1]<<16;for(var v=0;v<4;v++)s[v]=(s[v]<<8|s[v]>>>24)&16711935|(s[v]<<24|s[v]>>>8)&4278255360,f[p+v]^=s[v]},blockSize:128/32,ivSize:64/32});function d(){for(var f=this._X,p=this._C,x=0;x<8;x++)u[x]=p[x];p[0]=p[0]+1295307597+this._b|0,p[1]=p[1]+3545052371+(p[0]>>>0<u[0]>>>0?1:0)|0,p[2]=p[2]+886263092+(p[1]>>>0<u[1]>>>0?1:0)|0,p[3]=p[3]+1295307597+(p[2]>>>0<u[2]>>>0?1:0)|0,p[4]=p[4]+3545052371+(p[3]>>>0<u[3]>>>0?1:0)|0,p[5]=p[5]+886263092+(p[4]>>>0<u[4]>>>0?1:0)|0,p[6]=p[6]+1295307597+(p[5]>>>0<u[5]>>>0?1:0)|0,p[7]=p[7]+3545052371+(p[6]>>>0<u[6]>>>0?1:0)|0,this._b=p[7]>>>0<u[7]>>>0?1:0;for(var x=0;x<8;x++){var v=f[x]+p[x],h=v&65535,w=v>>>16,m=((h*h>>>17)+h*w>>>15)+w*w,g=((v&4294901760)*v|0)+((v&65535)*v|0);c[x]=m^g}f[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,f[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,f[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,f[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,f[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,f[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,f[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,f[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}n.RabbitLegacy=a._createHelper(l)})(),r.RabbitLegacy})})(jn)),jn.exports}var zn={exports:{}},Vb=zn.exports,e0;function Kb(){return e0||(e0=1,(function(e,t){(function(r,n,o){e.exports=n(ue(),Kt(),Gt(),Dt(),ke())})(Vb,function(r){return(function(){var n=r,o=n.lib,a=o.BlockCipher,i=n.algo;const s=16,u=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],c=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var l={pbox:[],sbox:[]};function d(h,w){let m=w>>24&255,g=w>>16&255,y=w>>8&255,A=w&255,_=h.sbox[0][m]+h.sbox[1][g];return _=_^h.sbox[2][y],_=_+h.sbox[3][A],_}function f(h,w,m){let g=w,y=m,A;for(let _=0;_<s;++_)g=g^h.pbox[_],y=d(h,g)^y,A=g,g=y,y=A;return A=g,g=y,y=A,y=y^h.pbox[s],g=g^h.pbox[s+1],{left:g,right:y}}function p(h,w,m){let g=w,y=m,A;for(let _=s+1;_>1;--_)g=g^h.pbox[_],y=d(h,g)^y,A=g,g=y,y=A;return A=g,g=y,y=A,y=y^h.pbox[1],g=g^h.pbox[0],{left:g,right:y}}function x(h,w,m){for(let D=0;D<4;D++){h.sbox[D]=[];for(let b=0;b<256;b++)h.sbox[D][b]=c[D][b]}let g=0;for(let D=0;D<s+2;D++)h.pbox[D]=u[D]^w[g],g++,g>=m&&(g=0);let y=0,A=0,_=0;for(let D=0;D<s+2;D+=2)_=f(h,y,A),y=_.left,A=_.right,h.pbox[D]=y,h.pbox[D+1]=A;for(let D=0;D<4;D++)for(let b=0;b<256;b+=2)_=f(h,y,A),y=_.left,A=_.right,h.sbox[D][b]=y,h.sbox[D][b+1]=A;return!0}var v=i.Blowfish=a.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var h=this._keyPriorReset=this._key,w=h.words,m=h.sigBytes/4;x(l,w,m)}},encryptBlock:function(h,w){var m=f(l,h[w],h[w+1]);h[w]=m.left,h[w+1]=m.right},decryptBlock:function(h,w){var m=p(l,h[w],h[w+1]);h[w]=m.left,h[w+1]=m.right},blockSize:64/32,keySize:128/32,ivSize:64/32});n.Blowfish=a._createHelper(v)})(),r.Blowfish})})(zn)),zn.exports}var Gb=sn.exports,t0;function Xb(){return t0||(t0=1,(function(e,t){(function(r,n,o){e.exports=n(ue(),Co(),qv(),Kv(),Kt(),Yv(),Gt(),nu(),ai(),tb(),ou(),ob(),ib(),cb(),ii(),fb(),Dt(),ke(),hb(),bb(),mb(),Eb(),Cb(),Ab(),Bb(),Fb(),Tb(),kb(),Ob(),Lb(),Ib(),jb(),Ub(),qb(),Kb())})(Gb,function(r){return r})})(sn)),sn.exports}var Yb=Xb();const Zb=Hu(Yb);var Cr={exports:{}};/** @license
|
|
* eventsource.js
|
|
* Available under MIT License (MIT)
|
|
* https://github.com/Yaffle/EventSource/
|
|
*/var Jb=Cr.exports,r0;function Qb(){return r0||(r0=1,(function(e,t){(function(r){var n=r.setTimeout,o=r.clearTimeout,a=r.XMLHttpRequest,i=r.XDomainRequest,s=r.ActiveXObject,u=r.EventSource,c=r.document,l=r.Promise,d=r.fetch,f=r.Response,p=r.TextDecoder,x=r.TextEncoder,v=r.AbortController;if(typeof window<"u"&&typeof c<"u"&&!("readyState"in c)&&c.body==null&&(c.readyState="loading",window.addEventListener("load",function(M){c.readyState="complete"},!1)),a==null&&s!=null&&(a=function(){return new s("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(M){function z(){}return z.prototype=M,new z}),Date.now||(Date.now=function(){return new Date().getTime()}),v==null){var h=d;d=function(M,z){var G=z.signal;return h(M,{headers:z.headers,credentials:z.credentials,cache:z.cache}).then(function(U){var Q=U.body.getReader();return G._reader=Q,G._aborted&&G._reader.cancel(),{status:U.status,statusText:U.statusText,headers:U.headers,body:{getReader:function(){return Q}}}})},v=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function w(){this.bitsNeeded=0,this.codePoint=0}w.prototype.decode=function(M){function z(xe,fe,ee){if(ee===1)return xe>=128>>fe&&xe<<fe<=2047;if(ee===2)return xe>=2048>>fe&&xe<<fe<=55295||xe>=57344>>fe&&xe<<fe<=65535;if(ee===3)return xe>=65536>>fe&&xe<<fe<=1114111;throw new Error}function G(xe,fe){if(xe===6)return fe>>6>15?3:fe>31?2:1;if(xe===12)return fe>15?3:2;if(xe===18)return 3;throw new Error}for(var U=65533,Q="",X=this.bitsNeeded,J=this.codePoint,de=0;de<M.length;de+=1){var se=M[de];X!==0&&(se<128||se>191||!z(J<<6|se&63,X-6,G(X,J)))&&(X=0,J=U,Q+=String.fromCharCode(J)),X===0?(se>=0&&se<=127?(X=0,J=se):se>=192&&se<=223?(X=6,J=se&31):se>=224&&se<=239?(X=12,J=se&15):se>=240&&se<=247?(X=18,J=se&7):(X=0,J=U),X!==0&&!z(J,X,G(X,J))&&(X=0,J=U)):(X-=6,J=J<<6|se&63),X===0&&(J<=65535?Q+=String.fromCharCode(J):(Q+=String.fromCharCode(55296+(J-65535-1>>10)),Q+=String.fromCharCode(56320+(J-65535-1&1023))))}return this.bitsNeeded=X,this.codePoint=J,Q};var m=function(){try{return new p().decode(new x().encode("test"),{stream:!0})==="test"}catch(M){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+M)}return!1};(p==null||x==null||!m())&&(p=w);var g=function(){};function y(M){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=g,this.onload=g,this.onerror=g,this.onreadystatechange=g,this._contentType="",this._xhr=M,this._sendTimeout=0,this._abort=g}y.prototype.open=function(M,z){this._abort(!0);var G=this,U=this._xhr,Q=1,X=0;this._abort=function(ee){G._sendTimeout!==0&&(o(G._sendTimeout),G._sendTimeout=0),(Q===1||Q===2||Q===3)&&(Q=4,U.onload=g,U.onerror=g,U.onabort=g,U.onprogress=g,U.onreadystatechange=g,U.abort(),X!==0&&(o(X),X=0),ee||(G.readyState=4,G.onabort(null),G.onreadystatechange())),Q=0};var J=function(){if(Q===1){var ee=0,be="",Ke=void 0;if("contentType"in U)ee=200,be="OK",Ke=U.contentType;else try{ee=U.status,be=U.statusText,Ke=U.getResponseHeader("Content-Type")}catch{ee=0,be="",Ke=void 0}ee!==0&&(Q=2,G.readyState=2,G.status=ee,G.statusText=be,G._contentType=Ke,G.onreadystatechange())}},de=function(){if(J(),Q===2||Q===3){Q=3;var ee="";try{ee=U.responseText}catch{}G.readyState=3,G.responseText=ee,G.onprogress()}},se=function(ee,be){if((be==null||be.preventDefault==null)&&(be={preventDefault:g}),de(),Q===1||Q===2||Q===3){if(Q=4,X!==0&&(o(X),X=0),G.readyState=4,ee==="load")G.onload(be);else if(ee==="error")G.onerror(be);else if(ee==="abort")G.onabort(be);else throw new TypeError;G.onreadystatechange()}},xe=function(ee){U!=null&&(U.readyState===4?(!("onload"in U)||!("onerror"in U)||!("onabort"in U))&&se(U.responseText===""?"error":"load",ee):U.readyState===3?"onprogress"in U||de():U.readyState===2&&J())},fe=function(){X=n(function(){fe()},500),U.readyState===3&&de()};"onload"in U&&(U.onload=function(ee){se("load",ee)}),"onerror"in U&&(U.onerror=function(ee){se("error",ee)}),"onabort"in U&&(U.onabort=function(ee){se("abort",ee)}),"onprogress"in U&&(U.onprogress=de),"onreadystatechange"in U&&(U.onreadystatechange=function(ee){xe(ee)}),("contentType"in U||!("ontimeout"in a.prototype))&&(z+=(z.indexOf("?")===-1?"?":"&")+"padding=true"),U.open(M,z,!0),"readyState"in U&&(X=n(function(){fe()},0))},y.prototype.abort=function(){this._abort(!1)},y.prototype.getResponseHeader=function(M){return this._contentType},y.prototype.setRequestHeader=function(M,z){var G=this._xhr;"setRequestHeader"in G&&G.setRequestHeader(M,z)},y.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},y.prototype.send=function(){if((!("ontimeout"in a.prototype)||!("sendAsBinary"in a.prototype)&&!("mozAnon"in a.prototype))&&c!=null&&c.readyState!=null&&c.readyState!=="complete"){var M=this;M._sendTimeout=n(function(){M._sendTimeout=0,M.send()},4);return}var z=this._xhr;"withCredentials"in z&&(z.withCredentials=this.withCredentials);try{z.send(void 0)}catch(G){throw G}};function A(M){return M.replace(/[A-Z]/g,function(z){return String.fromCharCode(z.charCodeAt(0)+32)})}function _(M){for(var z=Object.create(null),G=M.split(`\r
|
|
`),U=0;U<G.length;U+=1){var Q=G[U],X=Q.split(": "),J=X.shift(),de=X.join(": ");z[A(J)]=de}this._map=z}_.prototype.get=function(M){return this._map[A(M)]},a!=null&&a.HEADERS_RECEIVED==null&&(a.HEADERS_RECEIVED=2);function D(){}D.prototype.open=function(M,z,G,U,Q,X,J){M.open("GET",Q);var de=0;M.onprogress=function(){var xe=M.responseText,fe=xe.slice(de);de+=fe.length,G(fe)},M.onerror=function(xe){xe.preventDefault(),U(new Error("NetworkError"))},M.onload=function(){U(null)},M.onabort=function(){U(null)},M.onreadystatechange=function(){if(M.readyState===a.HEADERS_RECEIVED){var xe=M.status,fe=M.statusText,ee=M.getResponseHeader("Content-Type"),be=M.getAllResponseHeaders();z(xe,fe,ee,new _(be))}},M.withCredentials=X;for(var se in J)Object.prototype.hasOwnProperty.call(J,se)&&M.setRequestHeader(se,J[se]);return M.send(),M};function b(M){this._headers=M}b.prototype.get=function(M){return this._headers.get(M)};function k(){}k.prototype.open=function(M,z,G,U,Q,X,J){var de=null,se=new v,xe=se.signal,fe=new p;return d(Q,{headers:J,credentials:X?"include":"same-origin",signal:xe,cache:"no-store"}).then(function(ee){return de=ee.body.getReader(),z(ee.status,ee.statusText,ee.headers.get("Content-Type"),new b(ee.headers)),new l(function(be,Ke){var mt=function(){de.read().then(function(Ae){if(Ae.done)be(void 0);else{var Ee=fe.decode(Ae.value,{stream:!0});G(Ee),mt()}}).catch(function(Ae){Ke(Ae)})};mt()})}).catch(function(ee){if(ee.name!=="AbortError")return ee}).then(function(ee){U(ee)}),{abort:function(){de!=null&&de.cancel(),se.abort()}}};function F(){this._listeners=Object.create(null)}function S(M){n(function(){throw M},0)}F.prototype.dispatchEvent=function(M){M.target=this;var z=this._listeners[M.type];if(z!=null)for(var G=z.length,U=0;U<G;U+=1){var Q=z[U];try{typeof Q.handleEvent=="function"?Q.handleEvent(M):Q.call(this,M)}catch(X){S(X)}}},F.prototype.addEventListener=function(M,z){M=String(M);var G=this._listeners,U=G[M];U==null&&(U=[],G[M]=U);for(var Q=!1,X=0;X<U.length;X+=1)U[X]===z&&(Q=!0);Q||U.push(z)},F.prototype.removeEventListener=function(M,z){M=String(M);var G=this._listeners,U=G[M];if(U!=null){for(var Q=[],X=0;X<U.length;X+=1)U[X]!==z&&Q.push(U[X]);Q.length===0?delete G[M]:G[M]=Q}};function B(M){this.type=M,this.target=void 0}function $(M,z){B.call(this,M),this.data=z.data,this.lastEventId=z.lastEventId}$.prototype=Object.create(B.prototype);function O(M,z){B.call(this,M),this.status=z.status,this.statusText=z.statusText,this.headers=z.headers}O.prototype=Object.create(B.prototype);function P(M,z){B.call(this,M),this.error=z.error}P.prototype=Object.create(B.prototype);var H=-1,W=0,j=1,q=2,Z=-1,E=0,T=1,R=2,L=3,V=/^text\/event\-stream(;.*)?$/i,Y=1e3,ie=18e6,K=function(M,z){var G=M==null?z:parseInt(M,10);return G!==G&&(G=z),re(G)},re=function(M){return Math.min(Math.max(M,Y),ie)},pe=function(M,z,G){try{typeof z=="function"&&z.call(M,G)}catch(U){S(U)}};function $e(M,z){F.call(this),z=z||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,Fe(this,M,z)}function nt(){return a!=null&&"withCredentials"in a.prototype||i==null?new a:new i}var Ne=d!=null&&f!=null&&"body"in f.prototype;function Fe(M,z,G){z=String(z);var U=!!G.withCredentials,Q=G.lastEventIdQueryParameterName||"lastEventId",X=re(1e3),J=K(G.heartbeatTimeout,45e3),de="",se=X,xe=!1,fe=0,ee=G.headers||{},be=G.Transport,Ke=Ne&&be==null?void 0:new y(be!=null?new be:nt()),mt=be!=null&&typeof be!="string"?new be:Ke==null?new k:new D,Ae=void 0,Ee=0,We=H,ut="",Tt="",Je="",Xt="",De=E,ur=0,at=0,Do=function(we,Ce,He,Le){if(We===W)if(we===200&&He!=null&&V.test(He)){We=j,xe=Date.now(),se=X,M.readyState=j;var Re=new O("open",{status:we,statusText:Ce,headers:Le});M.dispatchEvent(Re),pe(M,M.onopen,Re)}else{var Se="";we!==200?(Ce&&(Ce=Ce.replace(/\s+/g," ")),Se="EventSource's response has a status "+we+" "+Ce+" that is not 200. Aborting the connection."):Se="EventSource's response has a Content-Type specifying an unsupported type: "+(He==null?"-":He.replace(/\s+/g," "))+". Aborting the connection.",fr();var Re=new O("error",{status:we,statusText:Ce,headers:Le});M.dispatchEvent(Re),pe(M,M.onerror,Re),console.error(Se)}},zr=function(we){if(We===j){for(var Ce=-1,He=0;He<we.length;He+=1){var Le=we.charCodeAt(He);(Le===10||Le===13)&&(Ce=He)}var Re=(Ce!==-1?Xt:"")+we.slice(0,Ce+1);Xt=(Ce===-1?Xt:"")+we.slice(Ce+1),we!==""&&(xe=Date.now(),fe+=we.length);for(var Se=0;Se<Re.length;Se+=1){var Le=Re.charCodeAt(Se);if(De===Z&&Le===10)De=E;else if(De===Z&&(De=E),Le===13||Le===10){if(De!==E){De===T&&(at=Se+1);var me=Re.slice(ur,at-1),Te=Re.slice(at+(at<Se&&Re.charCodeAt(at)===32?1:0),Se);me==="data"?(ut+=`
|
|
`,ut+=Te):me==="id"?Tt=Te:me==="event"?Je=Te:me==="retry"?(X=K(Te,X),se=X):me==="heartbeatTimeout"&&(J=K(Te,J),Ee!==0&&(o(Ee),Ee=n(function(){Pt()},J)))}if(De===E){if(ut!==""){de=Tt,Je===""&&(Je="message");var ft=new $(Je,{data:ut.slice(1),lastEventId:Tt});if(M.dispatchEvent(ft),Je==="open"?pe(M,M.onopen,ft):Je==="message"?pe(M,M.onmessage,ft):Je==="error"&&pe(M,M.onerror,ft),We===q)return}ut="",Je=""}De=Le===13?Z:E}else De===E&&(ur=Se,De=T),De===T?Le===58&&(at=Se+1,De=R):De===R&&(De=L)}}},Ur=function(we){if(We===j||We===W){We=H,Ee!==0&&(o(Ee),Ee=0),Ee=n(function(){Pt()},se),se=re(Math.min(X*16,se*2)),M.readyState=W;var Ce=new P("error",{error:we});M.dispatchEvent(Ce),pe(M,M.onerror,Ce),we!=null&&console.error(we)}},fr=function(){We=q,Ae!=null&&(Ae.abort(),Ae=void 0),Ee!==0&&(o(Ee),Ee=0),M.readyState=q},Pt=function(){if(Ee=0,We!==H){if(!xe&&Ae!=null)Ur(new Error("No activity within "+J+" milliseconds. "+(We===W?"No response received.":fe+" chars received.")+" Reconnecting.")),Ae!=null&&(Ae.abort(),Ae=void 0);else{var we=Math.max((xe||Date.now())+J-Date.now(),1);xe=!1,Ee=n(function(){Pt()},we)}return}xe=!1,fe=0,Ee=n(function(){Pt()},J),We=W,ut="",Je="",Tt=de,Xt="",ur=0,at=0,De=E;var Ce=z;if(z.slice(0,5)!=="data:"&&z.slice(0,5)!=="blob:"&&de!==""){var He=z.indexOf("?");Ce=He===-1?z:z.slice(0,He+1)+z.slice(He+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(Te,ft){return ft===Q?"":Te}),Ce+=(z.indexOf("?")===-1?"?":"&")+Q+"="+encodeURIComponent(de)}var Le=M.withCredentials,Re={};Re.Accept="text/event-stream";var Se=M.headers;if(Se!=null)for(var me in Se)Object.prototype.hasOwnProperty.call(Se,me)&&(Re[me]=Se[me]);try{Ae=mt.open(Ke,Do,zr,Ur,Ce,Le,Re)}catch(Te){throw fr(),Te}};M.url=z,M.readyState=W,M.withCredentials=U,M.headers=ee,M._close=fr,Pt()}$e.prototype=Object.create(F.prototype),$e.prototype.CONNECTING=W,$e.prototype.OPEN=j,$e.prototype.CLOSED=q,$e.prototype.close=function(){this._close()},$e.CONNECTING=W,$e.OPEN=j,$e.CLOSED=q,$e.prototype.withCredentials=void 0;var ot=u;a!=null&&(u==null||!("withCredentials"in u.prototype))&&(ot=$e),(function(M){{var z=M(t);z!==void 0&&(e.exports=z)}})(function(M){M.EventSourcePolyfill=$e,M.NativeEventSource=u,M.EventSource=ot})})(typeof globalThis>"u"?typeof window<"u"?window:typeof self<"u"?self:Jb:globalThis)})(Cr,Cr.exports)),Cr.exports}var n0=Qb();function au(e,t){return function(){return e.apply(t,arguments)}}const{toString:eg}=Object.prototype,{getPrototypeOf:si}=Object,{iterator:$o,toStringTag:iu}=Symbol,Ao=(e=>t=>{const r=eg.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),rt=e=>(e=e.toLowerCase(),t=>Ao(t)===e),So=e=>t=>typeof t===e,{isArray:cr}=Array,ir=So("undefined");function Mr(e){return e!==null&&!ir(e)&&e.constructor!==null&&!ir(e.constructor)&&ze(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const su=rt("ArrayBuffer");function tg(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&su(e.buffer),t}const rg=So("string"),ze=So("function"),cu=So("number"),Ir=e=>e!==null&&typeof e=="object",ng=e=>e===!0||e===!1,Un=e=>{if(Ao(e)!=="object")return!1;const t=si(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(iu in e)&&!($o in e)},og=e=>{if(!Ir(e)||Mr(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},ag=rt("Date"),ig=rt("File"),sg=rt("Blob"),cg=rt("FileList"),lg=e=>Ir(e)&&ze(e.pipe),ug=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ze(e.append)&&((t=Ao(e))==="formdata"||t==="object"&&ze(e.toString)&&e.toString()==="[object FormData]"))},fg=rt("URLSearchParams"),[dg,xg,pg,hg]=["ReadableStream","Request","Response","Headers"].map(rt),vg=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Hr(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,o;if(typeof e!="object"&&(e=[e]),cr(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{if(Mr(e))return;const a=r?Object.getOwnPropertyNames(e):Object.keys(e),i=a.length;let s;for(n=0;n<i;n++)s=a[n],t.call(null,e[s],s,e)}}function lu(e,t){if(Mr(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n=r.length,o;for(;n-- >0;)if(o=r[n],t===o.toLowerCase())return o;return null}const Lt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,uu=e=>!ir(e)&&e!==Lt;function ka(){const{caseless:e,skipUndefined:t}=uu(this)&&this||{},r={},n=(o,a)=>{const i=e&&lu(r,a)||a;Un(r[i])&&Un(o)?r[i]=ka(r[i],o):Un(o)?r[i]=ka({},o):cr(o)?r[i]=o.slice():(!t||!ir(o))&&(r[i]=o)};for(let o=0,a=arguments.length;o<a;o++)arguments[o]&&Hr(arguments[o],n);return r}const bg=(e,t,r,{allOwnKeys:n}={})=>(Hr(t,(o,a)=>{r&&ze(o)?e[a]=au(o,r):e[a]=o},{allOwnKeys:n}),e),gg=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),mg=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},yg=(e,t,r,n)=>{let o,a,i;const s={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)i=o[a],(!n||n(i,e,t))&&!s[i]&&(t[i]=e[i],s[i]=!0);e=r!==!1&&si(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Eg=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},wg=e=>{if(!e)return null;if(cr(e))return e;let t=e.length;if(!cu(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Cg=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&si(Uint8Array)),$g=(e,t)=>{const n=(e&&e[$o]).call(e);let o;for(;(o=n.next())&&!o.done;){const a=o.value;t.call(e,a[0],a[1])}},Ag=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Sg=rt("HTMLFormElement"),Bg=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),o0=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),_g=rt("RegExp"),fu=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Hr(r,(o,a)=>{let i;(i=t(o,a,e))!==!1&&(n[a]=i||o)}),Object.defineProperties(e,n)},Fg=e=>{fu(e,(t,r)=>{if(ze(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(ze(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Dg=(e,t)=>{const r={},n=o=>{o.forEach(a=>{r[a]=!0})};return cr(e)?n(e):n(String(e).split(t)),r},Tg=()=>{},Pg=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function kg(e){return!!(e&&ze(e.append)&&e[iu]==="FormData"&&e[$o])}const Rg=e=>{const t=new Array(10),r=(n,o)=>{if(Ir(n)){if(t.indexOf(n)>=0)return;if(Mr(n))return n;if(!("toJSON"in n)){t[o]=n;const a=cr(n)?[]:{};return Hr(n,(i,s)=>{const u=r(i,o+1);!ir(u)&&(a[s]=u)}),t[o]=void 0,a}}return n};return r(e,0)},Og=rt("AsyncFunction"),Ng=e=>e&&(Ir(e)||ze(e))&&ze(e.then)&&ze(e.catch),du=((e,t)=>e?setImmediate:t?((r,n)=>(Lt.addEventListener("message",({source:o,data:a})=>{o===Lt&&a===r&&n.length&&n.shift()()},!1),o=>{n.push(o),Lt.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",ze(Lt.postMessage)),Lg=typeof queueMicrotask<"u"?queueMicrotask.bind(Lt):typeof process<"u"&&process.nextTick||du,Mg=e=>e!=null&&ze(e[$o]),N={isArray:cr,isArrayBuffer:su,isBuffer:Mr,isFormData:ug,isArrayBufferView:tg,isString:rg,isNumber:cu,isBoolean:ng,isObject:Ir,isPlainObject:Un,isEmptyObject:og,isReadableStream:dg,isRequest:xg,isResponse:pg,isHeaders:hg,isUndefined:ir,isDate:ag,isFile:ig,isBlob:sg,isRegExp:_g,isFunction:ze,isStream:lg,isURLSearchParams:fg,isTypedArray:Cg,isFileList:cg,forEach:Hr,merge:ka,extend:bg,trim:vg,stripBOM:gg,inherits:mg,toFlatObject:yg,kindOf:Ao,kindOfTest:rt,endsWith:Eg,toArray:wg,forEachEntry:$g,matchAll:Ag,isHTMLForm:Sg,hasOwnProperty:o0,hasOwnProp:o0,reduceDescriptors:fu,freezeMethods:Fg,toObjectSet:Dg,toCamelCase:Bg,noop:Tg,toFiniteNumber:Pg,findKey:lu,global:Lt,isContextDefined:uu,isSpecCompliantForm:kg,toJSONObject:Rg,isAsyncFn:Og,isThenable:Ng,setImmediate:du,asap:Lg,isIterable:Mg};function oe(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}N.inherits(oe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:N.toJSONObject(this.config),code:this.code,status:this.status}}});const xu=oe.prototype,pu={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{pu[e]={value:e}});Object.defineProperties(oe,pu);Object.defineProperty(xu,"isAxiosError",{value:!0});oe.from=(e,t,r,n,o,a)=>{const i=Object.create(xu);N.toFlatObject(e,i,function(l){return l!==Error.prototype},c=>c!=="isAxiosError");const s=e&&e.message?e.message:"Error",u=t==null&&e?e.code:t;return oe.call(i,s,u,r,n,o),e&&i.cause==null&&Object.defineProperty(i,"cause",{value:e,configurable:!0}),i.name=e&&e.name||"Error",a&&Object.assign(i,a),i};const Ig=null;function Ra(e){return N.isPlainObject(e)||N.isArray(e)}function hu(e){return N.endsWith(e,"[]")?e.slice(0,-2):e}function a0(e,t,r){return e?e.concat(t).map(function(o,a){return o=hu(o),!r&&a?"["+o+"]":o}).join(r?".":""):t}function Hg(e){return N.isArray(e)&&!e.some(Ra)}const jg=N.toFlatObject(N,{},null,function(t){return/^is[A-Z]/.test(t)});function Bo(e,t,r){if(!N.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=N.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,h){return!N.isUndefined(h[v])});const n=r.metaTokens,o=r.visitor||l,a=r.dots,i=r.indexes,u=(r.Blob||typeof Blob<"u"&&Blob)&&N.isSpecCompliantForm(t);if(!N.isFunction(o))throw new TypeError("visitor must be a function");function c(x){if(x===null)return"";if(N.isDate(x))return x.toISOString();if(N.isBoolean(x))return x.toString();if(!u&&N.isBlob(x))throw new oe("Blob is not supported. Use a Buffer instead.");return N.isArrayBuffer(x)||N.isTypedArray(x)?u&&typeof Blob=="function"?new Blob([x]):Buffer.from(x):x}function l(x,v,h){let w=x;if(x&&!h&&typeof x=="object"){if(N.endsWith(v,"{}"))v=n?v:v.slice(0,-2),x=JSON.stringify(x);else if(N.isArray(x)&&Hg(x)||(N.isFileList(x)||N.endsWith(v,"[]"))&&(w=N.toArray(x)))return v=hu(v),w.forEach(function(g,y){!(N.isUndefined(g)||g===null)&&t.append(i===!0?a0([v],y,a):i===null?v:v+"[]",c(g))}),!1}return Ra(x)?!0:(t.append(a0(h,v,a),c(x)),!1)}const d=[],f=Object.assign(jg,{defaultVisitor:l,convertValue:c,isVisitable:Ra});function p(x,v){if(!N.isUndefined(x)){if(d.indexOf(x)!==-1)throw Error("Circular reference detected in "+v.join("."));d.push(x),N.forEach(x,function(w,m){(!(N.isUndefined(w)||w===null)&&o.call(t,w,N.isString(m)?m.trim():m,v,f))===!0&&p(w,v?v.concat(m):[m])}),d.pop()}}if(!N.isObject(e))throw new TypeError("data must be an object");return p(e),t}function i0(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function ci(e,t){this._pairs=[],e&&Bo(e,this,t)}const vu=ci.prototype;vu.append=function(t,r){this._pairs.push([t,r])};vu.toString=function(t){const r=t?function(n){return t.call(this,n,i0)}:i0;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function zg(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function bu(e,t,r){if(!t)return e;const n=r&&r.encode||zg;N.isFunction(r)&&(r={serialize:r});const o=r&&r.serialize;let a;if(o?a=o(t,r):a=N.isURLSearchParams(t)?t.toString():new ci(t,r).toString(n),a){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class s0{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){N.forEach(this.handlers,function(n){n!==null&&t(n)})}}const gu={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ug=typeof URLSearchParams<"u"?URLSearchParams:ci,Wg=typeof FormData<"u"?FormData:null,qg=typeof Blob<"u"?Blob:null,Vg={isBrowser:!0,classes:{URLSearchParams:Ug,FormData:Wg,Blob:qg},protocols:["http","https","file","blob","url","data"]},li=typeof window<"u"&&typeof document<"u",Oa=typeof navigator=="object"&&navigator||void 0,Kg=li&&(!Oa||["ReactNative","NativeScript","NS"].indexOf(Oa.product)<0),Gg=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Xg=li&&window.location.href||"http://localhost",Yg=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:li,hasStandardBrowserEnv:Kg,hasStandardBrowserWebWorkerEnv:Gg,navigator:Oa,origin:Xg},Symbol.toStringTag,{value:"Module"})),Ie={...Yg,...Vg};function Zg(e,t){return Bo(e,new Ie.classes.URLSearchParams,{visitor:function(r,n,o,a){return Ie.isNode&&N.isBuffer(r)?(this.append(n,r.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)},...t})}function Jg(e){return N.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Qg(e){const t={},r=Object.keys(e);let n;const o=r.length;let a;for(n=0;n<o;n++)a=r[n],t[a]=e[a];return t}function mu(e){function t(r,n,o,a){let i=r[a++];if(i==="__proto__")return!0;const s=Number.isFinite(+i),u=a>=r.length;return i=!i&&N.isArray(o)?o.length:i,u?(N.hasOwnProp(o,i)?o[i]=[o[i],n]:o[i]=n,!s):((!o[i]||!N.isObject(o[i]))&&(o[i]=[]),t(r,n,o[i],a)&&N.isArray(o[i])&&(o[i]=Qg(o[i])),!s)}if(N.isFormData(e)&&N.isFunction(e.entries)){const r={};return N.forEachEntry(e,(n,o)=>{t(Jg(n),o,r,0)}),r}return null}function em(e,t,r){if(N.isString(e))try{return(t||JSON.parse)(e),N.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const jr={transitional:gu,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,a=N.isObject(t);if(a&&N.isHTMLForm(t)&&(t=new FormData(t)),N.isFormData(t))return o?JSON.stringify(mu(t)):t;if(N.isArrayBuffer(t)||N.isBuffer(t)||N.isStream(t)||N.isFile(t)||N.isBlob(t)||N.isReadableStream(t))return t;if(N.isArrayBufferView(t))return t.buffer;if(N.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Zg(t,this.formSerializer).toString();if((s=N.isFileList(t))||n.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return Bo(s?{"files[]":t}:t,u&&new u,this.formSerializer)}}return a||o?(r.setContentType("application/json",!1),em(t)):t}],transformResponse:[function(t){const r=this.transitional||jr.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(N.isResponse(t)||N.isReadableStream(t))return t;if(t&&N.isString(t)&&(n&&!this.responseType||o)){const i=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t,this.parseReviver)}catch(s){if(i)throw s.name==="SyntaxError"?oe.from(s,oe.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ie.classes.FormData,Blob:Ie.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};N.forEach(["delete","get","head","post","put","patch"],e=>{jr.headers[e]={}});const tm=N.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),rm=e=>{const t={};let r,n,o;return e&&e.split(`
|
|
`).forEach(function(i){o=i.indexOf(":"),r=i.substring(0,o).trim().toLowerCase(),n=i.substring(o+1).trim(),!(!r||t[r]&&tm[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},c0=Symbol("internals");function br(e){return e&&String(e).trim().toLowerCase()}function Wn(e){return e===!1||e==null?e:N.isArray(e)?e.map(Wn):String(e)}function nm(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const om=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Yo(e,t,r,n,o){if(N.isFunction(n))return n.call(this,t,r);if(o&&(t=r),!!N.isString(t)){if(N.isString(n))return t.indexOf(n)!==-1;if(N.isRegExp(n))return n.test(t)}}function am(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function im(e,t){const r=N.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(o,a,i){return this[n].call(this,t,o,a,i)},configurable:!0})})}let Ue=class{constructor(t){t&&this.set(t)}set(t,r,n){const o=this;function a(s,u,c){const l=br(u);if(!l)throw new Error("header name must be a non-empty string");const d=N.findKey(o,l);(!d||o[d]===void 0||c===!0||c===void 0&&o[d]!==!1)&&(o[d||u]=Wn(s))}const i=(s,u)=>N.forEach(s,(c,l)=>a(c,l,u));if(N.isPlainObject(t)||t instanceof this.constructor)i(t,r);else if(N.isString(t)&&(t=t.trim())&&!om(t))i(rm(t),r);else if(N.isObject(t)&&N.isIterable(t)){let s={},u,c;for(const l of t){if(!N.isArray(l))throw TypeError("Object iterator must return a key-value pair");s[c=l[0]]=(u=s[c])?N.isArray(u)?[...u,l[1]]:[u,l[1]]:l[1]}i(s,r)}else t!=null&&a(r,t,n);return this}get(t,r){if(t=br(t),t){const n=N.findKey(this,t);if(n){const o=this[n];if(!r)return o;if(r===!0)return nm(o);if(N.isFunction(r))return r.call(this,o,n);if(N.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=br(t),t){const n=N.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||Yo(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let o=!1;function a(i){if(i=br(i),i){const s=N.findKey(n,i);s&&(!r||Yo(n,n[s],s,r))&&(delete n[s],o=!0)}}return N.isArray(t)?t.forEach(a):a(t),o}clear(t){const r=Object.keys(this);let n=r.length,o=!1;for(;n--;){const a=r[n];(!t||Yo(this,this[a],a,t,!0))&&(delete this[a],o=!0)}return o}normalize(t){const r=this,n={};return N.forEach(this,(o,a)=>{const i=N.findKey(n,a);if(i){r[i]=Wn(o),delete r[a];return}const s=t?am(a):String(a).trim();s!==a&&delete r[a],r[s]=Wn(o),n[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return N.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=t&&N.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
|
|
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[c0]=this[c0]={accessors:{}}).accessors,o=this.prototype;function a(i){const s=br(i);n[s]||(im(o,i),n[s]=!0)}return N.isArray(t)?t.forEach(a):a(t),this}};Ue.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);N.reduceDescriptors(Ue.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});N.freezeMethods(Ue);function Zo(e,t){const r=this||jr,n=t||r,o=Ue.from(n.headers);let a=n.data;return N.forEach(e,function(s){a=s.call(r,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function yu(e){return!!(e&&e.__CANCEL__)}function lr(e,t,r){oe.call(this,e??"canceled",oe.ERR_CANCELED,t,r),this.name="CanceledError"}N.inherits(lr,oe,{__CANCEL__:!0});function Eu(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new oe("Request failed with status code "+r.status,[oe.ERR_BAD_REQUEST,oe.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function sm(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function cm(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,a=0,i;return t=t!==void 0?t:1e3,function(u){const c=Date.now(),l=n[a];i||(i=c),r[o]=u,n[o]=c;let d=a,f=0;for(;d!==o;)f+=r[d++],d=d%e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),c-i<t)return;const p=l&&c-l;return p?Math.round(f*1e3/p):void 0}}function lm(e,t){let r=0,n=1e3/t,o,a;const i=(c,l=Date.now())=>{r=l,o=null,a&&(clearTimeout(a),a=null),e(...c)};return[(...c)=>{const l=Date.now(),d=l-r;d>=n?i(c,l):(o=c,a||(a=setTimeout(()=>{a=null,i(o)},n-d)))},()=>o&&i(o)]}const ao=(e,t,r=3)=>{let n=0;const o=cm(50,250);return lm(a=>{const i=a.loaded,s=a.lengthComputable?a.total:void 0,u=i-n,c=o(u),l=i<=s;n=i;const d={loaded:i,total:s,progress:s?i/s:void 0,bytes:u,rate:c||void 0,estimated:c&&s&&l?(s-i)/c:void 0,event:a,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(d)},r)},l0=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},u0=e=>(...t)=>N.asap(()=>e(...t)),um=Ie.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,Ie.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(Ie.origin),Ie.navigator&&/(msie|trident)/i.test(Ie.navigator.userAgent)):()=>!0,fm=Ie.hasStandardBrowserEnv?{write(e,t,r,n,o,a,i){if(typeof document>"u")return;const s=[`${e}=${encodeURIComponent(t)}`];N.isNumber(r)&&s.push(`expires=${new Date(r).toUTCString()}`),N.isString(n)&&s.push(`path=${n}`),N.isString(o)&&s.push(`domain=${o}`),a===!0&&s.push("secure"),N.isString(i)&&s.push(`SameSite=${i}`),document.cookie=s.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function dm(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function xm(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function wu(e,t,r){let n=!dm(t);return e&&(n||r==!1)?xm(e,t):t}const f0=e=>e instanceof Ue?{...e}:e;function Wt(e,t){t=t||{};const r={};function n(c,l,d,f){return N.isPlainObject(c)&&N.isPlainObject(l)?N.merge.call({caseless:f},c,l):N.isPlainObject(l)?N.merge({},l):N.isArray(l)?l.slice():l}function o(c,l,d,f){if(N.isUndefined(l)){if(!N.isUndefined(c))return n(void 0,c,d,f)}else return n(c,l,d,f)}function a(c,l){if(!N.isUndefined(l))return n(void 0,l)}function i(c,l){if(N.isUndefined(l)){if(!N.isUndefined(c))return n(void 0,c)}else return n(void 0,l)}function s(c,l,d){if(d in t)return n(c,l);if(d in e)return n(void 0,c)}const u={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:s,headers:(c,l,d)=>o(f0(c),f0(l),d,!0)};return N.forEach(Object.keys({...e,...t}),function(l){const d=u[l]||o,f=d(e[l],t[l],l);N.isUndefined(f)&&d!==s||(r[l]=f)}),r}const Cu=e=>{const t=Wt({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:o,xsrfCookieName:a,headers:i,auth:s}=t;if(t.headers=i=Ue.from(i),t.url=bu(wu(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&i.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),N.isFormData(r)){if(Ie.hasStandardBrowserEnv||Ie.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if(N.isFunction(r.getHeaders)){const u=r.getHeaders(),c=["content-type","content-length"];Object.entries(u).forEach(([l,d])=>{c.includes(l.toLowerCase())&&i.set(l,d)})}}if(Ie.hasStandardBrowserEnv&&(n&&N.isFunction(n)&&(n=n(t)),n||n!==!1&&um(t.url))){const u=o&&a&&fm.read(a);u&&i.set(o,u)}return t},pm=typeof XMLHttpRequest<"u",hm=pm&&function(e){return new Promise(function(r,n){const o=Cu(e);let a=o.data;const i=Ue.from(o.headers).normalize();let{responseType:s,onUploadProgress:u,onDownloadProgress:c}=o,l,d,f,p,x;function v(){p&&p(),x&&x(),o.cancelToken&&o.cancelToken.unsubscribe(l),o.signal&&o.signal.removeEventListener("abort",l)}let h=new XMLHttpRequest;h.open(o.method.toUpperCase(),o.url,!0),h.timeout=o.timeout;function w(){if(!h)return;const g=Ue.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),A={data:!s||s==="text"||s==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:g,config:e,request:h};Eu(function(D){r(D),v()},function(D){n(D),v()},A),h=null}"onloadend"in h?h.onloadend=w:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(w)},h.onabort=function(){h&&(n(new oe("Request aborted",oe.ECONNABORTED,e,h)),h=null)},h.onerror=function(y){const A=y&&y.message?y.message:"Network Error",_=new oe(A,oe.ERR_NETWORK,e,h);_.event=y||null,n(_),h=null},h.ontimeout=function(){let y=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const A=o.transitional||gu;o.timeoutErrorMessage&&(y=o.timeoutErrorMessage),n(new oe(y,A.clarifyTimeoutError?oe.ETIMEDOUT:oe.ECONNABORTED,e,h)),h=null},a===void 0&&i.setContentType(null),"setRequestHeader"in h&&N.forEach(i.toJSON(),function(y,A){h.setRequestHeader(A,y)}),N.isUndefined(o.withCredentials)||(h.withCredentials=!!o.withCredentials),s&&s!=="json"&&(h.responseType=o.responseType),c&&([f,x]=ao(c,!0),h.addEventListener("progress",f)),u&&h.upload&&([d,p]=ao(u),h.upload.addEventListener("progress",d),h.upload.addEventListener("loadend",p)),(o.cancelToken||o.signal)&&(l=g=>{h&&(n(!g||g.type?new lr(null,e,h):g),h.abort(),h=null)},o.cancelToken&&o.cancelToken.subscribe(l),o.signal&&(o.signal.aborted?l():o.signal.addEventListener("abort",l)));const m=sm(o.url);if(m&&Ie.protocols.indexOf(m)===-1){n(new oe("Unsupported protocol "+m+":",oe.ERR_BAD_REQUEST,e));return}h.send(a||null)})},vm=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,o;const a=function(c){if(!o){o=!0,s();const l=c instanceof Error?c:this.reason;n.abort(l instanceof oe?l:new lr(l instanceof Error?l.message:l))}};let i=t&&setTimeout(()=>{i=null,a(new oe(`timeout ${t} of ms exceeded`,oe.ETIMEDOUT))},t);const s=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(a):c.removeEventListener("abort",a)}),e=null)};e.forEach(c=>c.addEventListener("abort",a));const{signal:u}=n;return u.unsubscribe=()=>N.asap(s),u}},bm=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,o;for(;n<r;)o=n+t,yield e.slice(n,o),n=o},gm=async function*(e,t){for await(const r of mm(e))yield*bm(r,t)},mm=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},d0=(e,t,r,n)=>{const o=gm(e,t);let a=0,i,s=u=>{i||(i=!0,n&&n(u))};return new ReadableStream({async pull(u){try{const{done:c,value:l}=await o.next();if(c){s(),u.close();return}let d=l.byteLength;if(r){let f=a+=d;r(f)}u.enqueue(new Uint8Array(l))}catch(c){throw s(c),c}},cancel(u){return s(u),o.return()}},{highWaterMark:2})},x0=64*1024,{isFunction:on}=N,ym=(({Request:e,Response:t})=>({Request:e,Response:t}))(N.global),{ReadableStream:p0,TextEncoder:h0}=N.global,v0=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Em=e=>{e=N.merge.call({skipUndefined:!0},ym,e);const{fetch:t,Request:r,Response:n}=e,o=t?on(t):typeof fetch=="function",a=on(r),i=on(n);if(!o)return!1;const s=o&&on(p0),u=o&&(typeof h0=="function"?(x=>v=>x.encode(v))(new h0):async x=>new Uint8Array(await new r(x).arrayBuffer())),c=a&&s&&v0(()=>{let x=!1;const v=new r(Ie.origin,{body:new p0,method:"POST",get duplex(){return x=!0,"half"}}).headers.has("Content-Type");return x&&!v}),l=i&&s&&v0(()=>N.isReadableStream(new n("").body)),d={stream:l&&(x=>x.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(x=>{!d[x]&&(d[x]=(v,h)=>{let w=v&&v[x];if(w)return w.call(v);throw new oe(`Response type '${x}' is not supported`,oe.ERR_NOT_SUPPORT,h)})});const f=async x=>{if(x==null)return 0;if(N.isBlob(x))return x.size;if(N.isSpecCompliantForm(x))return(await new r(Ie.origin,{method:"POST",body:x}).arrayBuffer()).byteLength;if(N.isArrayBufferView(x)||N.isArrayBuffer(x))return x.byteLength;if(N.isURLSearchParams(x)&&(x=x+""),N.isString(x))return(await u(x)).byteLength},p=async(x,v)=>{const h=N.toFiniteNumber(x.getContentLength());return h??f(v)};return async x=>{let{url:v,method:h,data:w,signal:m,cancelToken:g,timeout:y,onDownloadProgress:A,onUploadProgress:_,responseType:D,headers:b,withCredentials:k="same-origin",fetchOptions:F}=Cu(x),S=t||fetch;D=D?(D+"").toLowerCase():"text";let B=vm([m,g&&g.toAbortSignal()],y),$=null;const O=B&&B.unsubscribe&&(()=>{B.unsubscribe()});let P;try{if(_&&c&&h!=="get"&&h!=="head"&&(P=await p(b,w))!==0){let E=new r(v,{method:"POST",body:w,duplex:"half"}),T;if(N.isFormData(w)&&(T=E.headers.get("content-type"))&&b.setContentType(T),E.body){const[R,L]=l0(P,ao(u0(_)));w=d0(E.body,x0,R,L)}}N.isString(k)||(k=k?"include":"omit");const H=a&&"credentials"in r.prototype,W={...F,signal:B,method:h.toUpperCase(),headers:b.normalize().toJSON(),body:w,duplex:"half",credentials:H?k:void 0};$=a&&new r(v,W);let j=await(a?S($,F):S(v,W));const q=l&&(D==="stream"||D==="response");if(l&&(A||q&&O)){const E={};["status","statusText","headers"].forEach(V=>{E[V]=j[V]});const T=N.toFiniteNumber(j.headers.get("content-length")),[R,L]=A&&l0(T,ao(u0(A),!0))||[];j=new n(d0(j.body,x0,R,()=>{L&&L(),O&&O()}),E)}D=D||"text";let Z=await d[N.findKey(d,D)||"text"](j,x);return!q&&O&&O(),await new Promise((E,T)=>{Eu(E,T,{data:Z,headers:Ue.from(j.headers),status:j.status,statusText:j.statusText,config:x,request:$})})}catch(H){throw O&&O(),H&&H.name==="TypeError"&&/Load failed|fetch/i.test(H.message)?Object.assign(new oe("Network Error",oe.ERR_NETWORK,x,$),{cause:H.cause||H}):oe.from(H,H&&H.code,x,$)}}},wm=new Map,$u=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:o}=t,a=[n,o,r];let i=a.length,s=i,u,c,l=wm;for(;s--;)u=a[s],c=l.get(u),c===void 0&&l.set(u,c=s?new Map:Em(t)),l=c;return c};$u();const ui={http:Ig,xhr:hm,fetch:{get:$u}};N.forEach(ui,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const b0=e=>`- ${e}`,Cm=e=>N.isFunction(e)||e===null||e===!1;function $m(e,t){e=N.isArray(e)?e:[e];const{length:r}=e;let n,o;const a={};for(let i=0;i<r;i++){n=e[i];let s;if(o=n,!Cm(n)&&(o=ui[(s=String(n)).toLowerCase()],o===void 0))throw new oe(`Unknown adapter '${s}'`);if(o&&(N.isFunction(o)||(o=o.get(t))))break;a[s||"#"+i]=o}if(!o){const i=Object.entries(a).map(([u,c])=>`adapter ${u} `+(c===!1?"is not supported by the environment":"is not available in the build"));let s=r?i.length>1?`since :
|
|
`+i.map(b0).join(`
|
|
`):" "+b0(i[0]):"as no adapter specified";throw new oe("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return o}const Au={getAdapter:$m,adapters:ui};function Jo(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new lr(null,e)}function g0(e){return Jo(e),e.headers=Ue.from(e.headers),e.data=Zo.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Au.getAdapter(e.adapter||jr.adapter,e)(e).then(function(n){return Jo(e),n.data=Zo.call(e,e.transformResponse,n),n.headers=Ue.from(n.headers),n},function(n){return yu(n)||(Jo(e),n&&n.response&&(n.response.data=Zo.call(e,e.transformResponse,n.response),n.response.headers=Ue.from(n.response.headers))),Promise.reject(n)})}const Su="1.13.2",_o={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{_o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const m0={};_o.transitional=function(t,r,n){function o(a,i){return"[Axios v"+Su+"] Transitional option '"+a+"'"+i+(n?". "+n:"")}return(a,i,s)=>{if(t===!1)throw new oe(o(i," has been removed"+(r?" in "+r:"")),oe.ERR_DEPRECATED);return r&&!m0[i]&&(m0[i]=!0,console.warn(o(i," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(a,i,s):!0}};_o.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function Am(e,t,r){if(typeof e!="object")throw new oe("options must be an object",oe.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const a=n[o],i=t[a];if(i){const s=e[a],u=s===void 0||i(s,a,e);if(u!==!0)throw new oe("option "+a+" must be "+u,oe.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new oe("Unknown option "+a,oe.ERR_BAD_OPTION)}}const qn={assertOptions:Am,validators:_o},it=qn.validators;let Mt=class{constructor(t){this.defaults=t||{},this.interceptors={request:new s0,response:new s0}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const a=o.stack?o.stack.replace(/^.+\n/,""):"";try{n.stack?a&&!String(n.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(n.stack+=`
|
|
`+a):n.stack=a}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Wt(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:a}=r;n!==void 0&&qn.assertOptions(n,{silentJSONParsing:it.transitional(it.boolean),forcedJSONParsing:it.transitional(it.boolean),clarifyTimeoutError:it.transitional(it.boolean)},!1),o!=null&&(N.isFunction(o)?r.paramsSerializer={serialize:o}:qn.assertOptions(o,{encode:it.function,serialize:it.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),qn.assertOptions(r,{baseUrl:it.spelling("baseURL"),withXsrfToken:it.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let i=a&&N.merge(a.common,a[r.method]);a&&N.forEach(["delete","get","head","post","put","patch","common"],x=>{delete a[x]}),r.headers=Ue.concat(i,a);const s=[];let u=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(r)===!1||(u=u&&v.synchronous,s.unshift(v.fulfilled,v.rejected))});const c=[];this.interceptors.response.forEach(function(v){c.push(v.fulfilled,v.rejected)});let l,d=0,f;if(!u){const x=[g0.bind(this),void 0];for(x.unshift(...s),x.push(...c),f=x.length,l=Promise.resolve(r);d<f;)l=l.then(x[d++],x[d++]);return l}f=s.length;let p=r;for(;d<f;){const x=s[d++],v=s[d++];try{p=x(p)}catch(h){v.call(this,h);break}}try{l=g0.call(this,p)}catch(x){return Promise.reject(x)}for(d=0,f=c.length;d<f;)l=l.then(c[d++],c[d++]);return l}getUri(t){t=Wt(this.defaults,t);const r=wu(t.baseURL,t.url,t.allowAbsoluteUrls);return bu(r,t.params,t.paramsSerializer)}};N.forEach(["delete","get","head","options"],function(t){Mt.prototype[t]=function(r,n){return this.request(Wt(n||{},{method:t,url:r,data:(n||{}).data}))}});N.forEach(["post","put","patch"],function(t){function r(n){return function(a,i,s){return this.request(Wt(s||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:a,data:i}))}}Mt.prototype[t]=r(),Mt.prototype[t+"Form"]=r(!0)});let Sm=class Bu{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(a){r=a});const n=this;this.promise.then(o=>{if(!n._listeners)return;let a=n._listeners.length;for(;a-- >0;)n._listeners[a](o);n._listeners=null}),this.promise.then=o=>{let a;const i=new Promise(s=>{n.subscribe(s),a=s}).then(o);return i.cancel=function(){n.unsubscribe(a)},i},t(function(a,i,s){n.reason||(n.reason=new lr(a,i,s),r(n.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 r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new Bu(function(o){t=o}),cancel:t}}};function Bm(e){return function(r){return e.apply(null,r)}}function _m(e){return N.isObject(e)&&e.isAxiosError===!0}const Na={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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Na).forEach(([e,t])=>{Na[t]=e});function _u(e){const t=new Mt(e),r=au(Mt.prototype.request,t);return N.extend(r,Mt.prototype,t,{allOwnKeys:!0}),N.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return _u(Wt(e,o))},r}const ye=_u(jr);ye.Axios=Mt;ye.CanceledError=lr;ye.CancelToken=Sm;ye.isCancel=yu;ye.VERSION=Su;ye.toFormData=Bo;ye.AxiosError=oe;ye.Cancel=ye.CanceledError;ye.all=function(t){return Promise.all(t)};ye.spread=Bm;ye.isAxiosError=_m;ye.mergeConfig=Wt;ye.AxiosHeaders=Ue;ye.formToJSON=e=>mu(N.isHTMLForm(e)?new FormData(e):e);ye.getAdapter=Au.getAdapter;ye.HttpStatusCode=Na;ye.default=ye;const{Axios:gy,AxiosError:my,CanceledError:yy,isCancel:Ey,CancelToken:wy,VERSION:Cy,all:$y,Cancel:Ay,isAxiosError:Sy,spread:By,toFormData:_y,AxiosHeaders:Fy,HttpStatusCode:Dy,formToJSON:Ty,getAdapter:Py,mergeConfig:ky}=ye,le=ye.create({timeout:3e4}),Fm=ye.create({timeout:1e4}),Ry=async(e,t)=>{const r=localStorage.getItem(lt.token);return r&&(t.headers={...t.headers,Authorization:`Bearer ${JSON.parse(r)}`}),await fetch("/api"+e,t)};le.interceptors.request.use(e=>{const t="/api";e.baseURL=t;const r=localStorage.getItem(lt.token);return r&&(e.headers.Authorization=`Bearer ${JSON.parse(r)}`),e});le.interceptors.response.use(e=>{if(e.headers["content-type"]==="application/octet-stream")return e;if(e.data.code!==0){if(e.data.message==="Unauthorized"){const t=localStorage.getItem(lt.token);t&&JSON.parse(t)&&(localStorage.removeItem(lt.token),window.location.reload())}throw new Error(e.data.message)}return e});class Fu{static async checkWebUiLogined(){const{data:t}=await le.post("/auth/check");return t.data}static async loginWithToken(t,r){const n=Zb.SHA256(t+".napcat").toString(),{data:o}=await le.post("/auth/login",{hash:n,totpCode:r});return o.data}static async get2FAStatus(){const{data:t}=await le.get("/auth/2fa/status");return t.data}static async generate2FASecret(){const{data:t}=await le.post("/auth/2fa/generate-secret");return t.data}static async enable2FA(t,r){const{data:n}=await le.post("/auth/2fa/enable",{secret:t,totpCode:r});return n.data}static async disable2FA(t){const{data:r}=await le.post("/auth/2fa/disable",{totpCode:t});return r.data}static async changePassword(t,r){const{data:n}=await le.post("/auth/update_token",{oldToken:t,newToken:r});return n.data}static async proxy(t=""){const r=await le.get("/base/proxy?url="+encodeURIComponent(t));return r.data.data=JSON.parse(r.data.data),r.data}static async GetSnowCatVersion(){const{data:t}=await le.get("/base/GetSnowCatVersion");return t.data}static async getLatestTag(){const{data:t}=await le.get("/base/getLatestTag");return t.data}static async getAllReleases(t={}){const{page:r=1,pageSize:n=20,type:o="release",search:a="",mirror:i}=t,{data:s}=await le.get("/base/getAllReleases",{params:{page:r,pageSize:n,type:o,search:a,mirror:i}});return s.data}static async getMirrors(){const{data:t}=await le.get("/base/getMirrors");return t.data}static async UpdateSnowCat(t){const{data:r}=await le.post("/UpdateSnowCat/update",{mirror:t},{timeout:12e4});return r}static async UpdateSnowCatToVersion(t,r=!1,n){const{data:o}=await le.post("/UpdateSnowCat/update",{targetVersion:t,force:r,mirror:n},{timeout:12e4});return o}static async getQQVersion(){const{data:t}=await le.get("/base/QQVersion");return t.data}static async getThemeConfig(){const{data:t}=await le.get("/base/Theme");return t.data}static async setThemeConfig(t){const{data:r}=await le.post("/base/SetTheme",{theme:t});return r.data}static async restart(){const{data:t}=await le.post("/Process/Restart");return t.data}static async getAllUsers(){const{data:t}=await le.get("/QQLogin/GetAllUsers");return t.data}static async getLogList(){const{data:t}=await le.get("/Log/GetLogList");return t.data}static async getLogContent(t){const{data:r}=await le.get(`/Log/GetLog?id=${t}`);return r.data}static getRealTimeLogs(t){const r=localStorage.getItem("token");if(!r)throw new Error("未登录");const n=JSON.parse(r),o=new n0.EventSourcePolyfill("/api/Log/GetLogRealTime",{headers:{Authorization:`Bearer ${n}`,Accept:"text/event-stream"},withCredentials:!0});return o.onmessage=a=>{try{const i=JSON.parse(a.data);i.message=i.message.replace(/\n/g,`\r
|
|
`),t([i])}catch(i){console.error(i)}},o.onerror=a=>{console.error("SSE连接出错:",a),o.close()},o}static getSystemStatus(t){const r=localStorage.getItem("token");if(!r)throw new Error("未登录");const n=JSON.parse(r),o=new n0.EventSourcePolyfill("/api/base/GetSysStatusRealTime",{headers:{Authorization:`Bearer ${n}`,Accept:"text/event-stream"},withCredentials:!0});return o.onmessage=a=>{try{const i=JSON.parse(a.data);t(i)}catch(i){console.error(i)}},o.onerror=a=>{console.error("SSE连接出错:",a),o.close()},o}static async getWebUIConfig(){const{data:t}=await le.get("/WebUIConfig/GetConfig");return t.data}static async updateWebUIConfig(t){const{data:r}=await le.post("/WebUIConfig/UpdateConfig",t);return r.data}static async getDisableWebUI(){const{data:t}=await le.get("/WebUIConfig/GetDisableWebUI");return t.data}static async updateDisableWebUI(t){const{data:r}=await le.post("/WebUIConfig/UpdateDisableWebUI",{disable:t});return r.data}static async getClientIP(){const{data:t}=await le.get("/WebUIConfig/GetClientIP");return t.data}static async getSSLStatus(){const{data:t}=await le.get("/WebUIConfig/GetSSLStatus");return t.data}static async saveSSLCert(t,r){const{data:n}=await le.post("/WebUIConfig/UploadSSLCert",{cert:t,key:r});return n.data}static async deleteSSLCert(){const{data:t}=await le.post("/WebUIConfig/DeleteSSLCert");return t.data}static async generatePasskeyRegistrationOptions(){const{data:t}=await le.post("/auth/passkey/generate-registration-options");return t.data}static async verifyPasskeyRegistration(t){const{data:r}=await le.post("/auth/passkey/verify-registration",{response:t});return r.data}static async generatePasskeyAuthenticationOptions(){const{data:t}=await le.post("/auth/passkey/generate-authentication-options");return t.data}static async verifyPasskeyAuthentication(t){const{data:r}=await le.post("/auth/passkey/verify-authentication",{response:t});return r.data}static async GetSnowCatFileHash(){const{data:t}=await le.get("/base/GetSnowCatFileHash");return t.data}}fi(Fu,"VersionTypes",{RELEASE:"release",PRERELEASE:"prerelease",ACTION:"action"});const Du=document.createElement("style");document.head.appendChild(Du);const Fo=document.createElement("style");Fo.id="font-preview-style";document.head.appendChild(Fo);function Dm(){Fm("/files/theme.css?_t="+Date.now()).then(e=>e.data).then(e=>{Du.innerHTML=e,Fo.innerHTML="",document.documentElement.style.removeProperty("--font-family-base")}).catch(()=>{console.error("Failed to load theme.css")})}const Tm=e=>{let t="";e==="aacute"?t=`
|
|
@font-face {
|
|
font-family: 'Aa偷吃可爱长大的';
|
|
src: url('/webui/fonts/AaCute.woff') format('woff');
|
|
font-display: swap;
|
|
}`:e==="custom"&&(t=`
|
|
@font-face {
|
|
font-family: 'CustomFont';
|
|
src: url('/webui/fonts/CustomFont.woff') format('woff');
|
|
font-display: swap;
|
|
}`),Fo.innerHTML=t},Oy=["--heroui-background","--heroui-foreground-50","--heroui-foreground-100","--heroui-foreground-200","--heroui-foreground-300","--heroui-foreground-400","--heroui-foreground-500","--heroui-foreground-600","--heroui-foreground-700","--heroui-foreground-800","--heroui-foreground-900","--heroui-foreground","--heroui-content1","--heroui-content1-foreground","--heroui-content2","--heroui-content2-foreground","--heroui-content3","--heroui-content3-foreground","--heroui-content4","--heroui-content4-foreground","--heroui-default-50","--heroui-default-100","--heroui-default-200","--heroui-default-300","--heroui-default-400","--heroui-default-500","--heroui-default-600","--heroui-default-700","--heroui-default-800","--heroui-default-900","--heroui-default-foreground","--heroui-default","--heroui-danger-50","--heroui-danger-100","--heroui-danger-200","--heroui-danger-300","--heroui-danger-400","--heroui-danger-500","--heroui-danger-600","--heroui-danger-700","--heroui-danger-800","--heroui-danger-900","--heroui-danger-foreground","--heroui-danger","--heroui-primary-50","--heroui-primary-100","--heroui-primary-200","--heroui-primary-300","--heroui-primary-400","--heroui-primary-500","--heroui-primary-600","--heroui-primary-700","--heroui-primary-800","--heroui-primary-900","--heroui-primary-foreground","--heroui-primary","--heroui-secondary-50","--heroui-secondary-100","--heroui-secondary-200","--heroui-secondary-300","--heroui-secondary-400","--heroui-secondary-500","--heroui-secondary-600","--heroui-secondary-700","--heroui-secondary-800","--heroui-secondary-900","--heroui-secondary-foreground","--heroui-secondary","--heroui-success-50","--heroui-success-100","--heroui-success-200","--heroui-success-300","--heroui-success-400","--heroui-success-500","--heroui-success-600","--heroui-success-700","--heroui-success-800","--heroui-success-900","--heroui-success-foreground","--heroui-success","--heroui-warning-50","--heroui-warning-100","--heroui-warning-200","--heroui-warning-300","--heroui-warning-400","--heroui-warning-500","--heroui-warning-600","--heroui-warning-700","--heroui-warning-800","--heroui-warning-900","--heroui-warning-foreground","--heroui-warning","--heroui-focus","--heroui-overlay","--heroui-divider","--heroui-code-background","--heroui-strong","--heroui-code-mdx"],Ny=(e,t)=>{let r=`:root ${t?`.${t}`:""}, .light ${t?`.${t}`:""}, [data-theme="light"] ${t?`.${t}`:""} {`;for(const n in e.light){const o=n;r+=`${o}: ${e.light[o]};`}r+="}",r+=`.dark ${t?`.${t}`:""}, [data-theme="dark"] ${t?`.${t}`:""} {`;for(const n in e.dark){const o=n;r+=`${o}: ${e.dark[o]};`}return r+="}",r},Ly=e=>{const t=document.documentElement;Tm(e),e==="aacute"?(t.style.setProperty("--font-family-base","'Aa偷吃可爱长大的', var(--font-family-fallbacks)","important"),t.style.setProperty("--font-family-mono","'Aa偷吃可爱长大的', var(--font-family-fallbacks)","important")):e==="custom"?(t.style.setProperty("--font-family-base","'CustomFont', var(--font-family-fallbacks)","important"),t.style.setProperty("--font-family-mono","'CustomFont', var(--font-family-fallbacks)","important")):(t.style.setProperty("--font-family-base","var(--font-family-fallbacks)","important"),t.style.setProperty("--font-family-mono",'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',"important"))},My=e=>{};Fu.checkWebUiLogined();const Qo=localStorage.getItem(lt.token),ea=localStorage.getItem(lt.theme);Qo&&!Qo.startsWith('"')&&localStorage.setItem(lt.token,JSON.stringify(Qo));ea&&!ea.startsWith('"')&&localStorage.setItem(lt.theme,JSON.stringify(ea));Dm();Ou.createRoot(document.getElementById("root")).render(I.jsx(Mu,{basename:"/webui/",children:I.jsx(Lv,{children:I.jsx(Rv,{})})}));"serviceWorker"in navigator&&window.addEventListener("load",()=>{const e="/webui/",t=`${e}sw.js`;navigator.serviceWorker.register(t,{scope:e}).then(r=>{console.log("SW registered: ",r)}).catch(r=>{console.log("SW registration failed: ",r)})});export{Rp as $,gl as A,z0 as B,Zb as C,st as D,sr as E,Ly as F,My as G,Dm as H,Ny as I,Oy as J,Ry as K,le as L,Ul as M,Gt as N,y1 as O,xd as P,p1 as Q,v1 as R,s1 as S,h1 as T,C1 as U,ne as V,Fu as W,nr as X,Fi as Y,zm as Z,Im as _,bd as a,xp as a$,Um as a0,xy as a1,np as a2,ct as a3,sy as a4,ep as a5,rc as a6,nx as a7,_r as a8,Br as a9,x1 as aA,Gi as aB,ya as aC,Pe as aD,Ca as aE,c1 as aF,Ol as aG,Ip as aH,n0 as aI,w1 as aJ,Zm as aK,$x as aL,la as aM,or as aN,Oi as aO,Xa as aP,cx as aQ,Wm as aR,Vm as aS,Ap as aT,g1 as aU,Bp as aV,Bx as aW,Np as aX,hx as aY,ny as aZ,iy as a_,Bt as aa,xa as ab,Cc as ac,cc as ad,Jm as ae,Ua as af,ey as ag,Cx as ah,ac as ai,ty as aj,ry as ak,fo as al,jh as am,Ye as an,_e as ao,he as ap,Wh as aq,ja as ar,qd as as,pp as at,$c as au,t1 as av,Km as aw,Mm as ax,Lm as ay,hy as az,ss as b,_h as b$,jm as b0,Ga as b1,Ym as b2,cy as b3,E1 as b4,$1 as b5,sc as b6,o1 as b7,n1 as b8,Hm as b9,$t as bA,vx as bB,ay as bC,bc as bD,Ii as bE,ip as bF,Hd as bG,zp as bH,Za as bI,ga as bJ,ly as bK,bo as bL,kt as bM,fy as bN,uy as bO,vl as bP,Kp as bQ,fl as bR,Qa as bS,ih as bT,hl as bU,Zn as bV,Ch as bW,pl as bX,Cl as bY,_l as bZ,Ph as b_,ic as ba,sa as bb,dl as bc,ul as bd,Gm as be,Up as bf,jp as bg,Fl as bh,jo as bi,te as bj,eh as bk,Oh as bl,dy as bm,jt as bn,$h as bo,wa as bp,qm as bq,oc as br,tt as bs,je as bt,Qm as bu,ar as bv,uo as bw,Wa as bx,op as by,hc as bz,Ha as c,gh as c0,mh as c1,Sl as c2,Rh as c3,Ea as c4,ah as c5,El as c6,oh as c7,S1 as d,Xm as e,N0 as f,py as g,Mx as h,jx as i,Kh as j,lt as k,Xh as l,Px as m,It as n,Wx as o,oy as p,qx as q,Fm as r,W0 as s,io as t,K0 as u,G0 as v,Qf as w,$0 as x,Or as y,Tl as z};
|