Files
qhmes/web-dist/js/vue-vendor-DNhG1Cve.js

33 lines
146 KiB
Java
Raw Normal View History

2026-06-16 18:19:57 +08:00
/**
* @vue/shared v3.5.27
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Be(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ee={},$t=[],Ge=()=>{},li=()=>!1,Nn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),zs=e=>e.startsWith("onUpdate:"),oe=Object.assign,Js=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Sf=Object.prototype.hasOwnProperty,re=(e,t)=>Sf.call(e,t),K=Array.isArray,Wt=e=>tn(e)==="[object Map]",Ht=e=>tn(e)==="[object Set]",Vr=e=>tn(e)==="[object Date]",hl=e=>tn(e)==="[object RegExp]",z=e=>typeof e=="function",ae=e=>typeof e=="string",Je=e=>typeof e=="symbol",le=e=>e!==null&&typeof e=="object",Xs=e=>(le(e)||z(e))&&z(e.then)&&z(e.catch),ci=Object.prototype.toString,tn=e=>ci.call(e),dl=e=>tn(e).slice(8,-1),os=e=>tn(e)==="[object Object]",ls=e=>ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Lt=Be(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Rf=Be("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Qs=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},xf=/-\w/g,Ae=Qs(e=>e.replace(xf,t=>t.slice(1).toUpperCase())),wf=/\B([A-Z])/g,Ne=Qs(e=>e.replace(wf,"-$1").toLowerCase()),nn=Qs(e=>e.charAt(0).toUpperCase()+e.slice(1)),qt=Qs(e=>e?`on${nn(e)}`:""),xe=(e,t)=>!Object.is(e,t),Yt=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ai=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},cs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},zn=e=>{const t=ae(e)?Number(e):NaN;return isNaN(t)?e:t};let lo;const as=()=>lo||(lo=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{}),Nf=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function Of(e){return Nf.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}function Pf(e,t){return e+JSON.stringify(t,(n,s)=>typeof s=="function"?s.toString():s)}const If={TEXT:1,1:"TEXT",CLASS:2,2:"CLASS",STYLE:4,4:"STYLE",PROPS:8,8:"PROPS",FULL_PROPS:16,16:"FULL_PROPS",NEED_HYDRATION:32,32:"NEED_HYDRATION",STABLE_FRAGMENT:64,64:"STABLE_FRAGMENT",KEYED_FRAGMENT:128,128:"KEYED_FRAGMENT",UNKEYED_FRAGMENT:256,256:"UNKEYED_FRAGMENT",NEED_PATCH:512,512:"NEED_PATCH",DYNAMIC_SLOTS:1024,1024:"DYNAMIC_SLOTS",DEV_ROOT_FRAGMENT:2048,2048:"DEV_ROOT_FRAGMENT",CACHED:-1,"-1":"CACHED",BAIL:-2,"-2":"BAIL"},Mf={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"CACHED",[-2]:"BAIL"},Df={ELEMENT:1,1:"ELEMENT",FUNCTIONAL_COMPONENT:2,2:"FUNCTIONAL_COMPONENT",STATEFUL_COMPONENT:4,4:"STATEFUL_COMPONENT",TEXT_CHILDREN:8,8:"TEXT_CHILDREN",ARRAY_CHILDREN:16,16:"ARRAY_CHILDREN",SLOTS_CHILDREN:32,32:"SLOTS_CHILDREN",TELEPORT:64,64:"TELEPORT",SUSPENSE:128,128:"SUSPENSE",COMPONENT_SHOULD_KEEP_ALIVE:256,256:"COMPONENT_SHOULD_KEEP_ALIVE",COMPONENT_KEPT_ALIVE:512,512:"COMPONENT_KEPT_ALIVE",COMPONENT:6,6:"COMPONENT"},Lf={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},kf={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},Ff="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",fi=Be(Ff),Vf=fi,co=2;function Hf(e,t=0,n=e.length){if(t=Math.max(0,Math.min(t,e.length)),n=Math.max(0,Math.min(n,e.length)),t>n)return"";let s=e.split(/(\r?\n)/);const r=s.filter((l,c)=>c%2===1);s=s.filter((l,c)=>c%2===0);let i=0;const o=[];for(let l=0;l<s.length;l++)if(i+=s[l].length+(r[l]&&r[l].length||0),i>=t){for(let c=l-co;c<=l+co||n>i;c++){if(c<0||c>=s.length)continue;const u=c+1;o.push(`${u}${" ".repeat(Math.max(3-String(u).length,0))}| ${s[c]}`);const a=s[c].length,f=r[c]&&r[c].length||0;if(c===l){const p=t-(i-(a+f)),m=Math.max(1,n>i?a-p:n-t);o.push(" | "+" ".repeat(p)+"^".repeat(m))}else if(c>l){if(n>i){const p=Math.max(Math.min(n-i,a),1);o.
`)}function sn(e){if(K(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ae(s)?pl(s):sn(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(ae(e)||le(e))return e}const Bf=/;(?![^(]*\))/g,Uf=/:([^]+)/,jf=/\/\*[^]*?\*\//g;function pl(e){const t={};return e.replace(jf,"").split(Bf).forEach(n=>{if(n){const s=n.split(Uf);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Kf(e){if(!e)return"";if(ae(e))return e;let t="";for(const n in e){const s=e[n];if(ae(s)||typeof s=="number"){const r=n.startsWith("--")?n:Ne(n);t+=`${r}:${s};`}}return t}function rn(e){let t="";if(ae(e))t=e;else if(K(e))for(let n=0;n<e.length;n++){const s=rn(e[n]);s&&(t+=s+" ")}else if(le(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function ui(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ae(t)&&(e.class=rn(t)),n&&(e.style=sn(n)),e}const Gf="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",$f="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",Wf="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",qf="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",Yf=Be(Gf),zf=Be($f),Jf=Be(Wf),Xf=Be(qf),gl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ml=Be(gl),Qf=Be(gl+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function hi(e){return!!e||e===""}const Zf=/[>/="'\u0009\u000a\u000c\u0020]/,Ar={};function eu(e){if(Ar.hasOwnProperty(e))return Ar[e];const t=Zf.test(e);return Ar[e]=!t}const tu={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},nu=Be("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),su=Be("xmlns,
* @vue/reactivity v3.5.27
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Re;class er{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Re,!t&&Re&&(this.index=(Re.scopes||(Re.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Re;try{return Re=this,t()}finally{Re=n}}}on(){++this._on===1&&(this.prevScope=Re,Re=this)}off(){this._on>0&&--this._on===0&&(Re=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function vl(e){return new er(e)}function di(){return Re}function Al(e,t=!1){Re&&Re.cleanups.push(e)}let de;const Cr=new WeakSet;class bn{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Re&&Re.active&&Re.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Cr.has(this)&&(Cr.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Cl(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ao(this),Sl(this);const t=de,n=Ze;de=this,Ze=!0;try{return this.fn()}finally{Rl(this),de=t,Ze=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)mi(t);this.deps=this.depsTail=void 0,ao(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Cr.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Hr(this)&&this.run()}get dirty(){return Hr(this)}}let Tl=0,jn,Kn;function Cl(e,t=!1){if(e.flags|=8,t){e.next=Kn,Kn=e;return}e.next=jn,jn=e}function pi(){Tl++}function gi(){if(--Tl>0)return;if(Kn){let t=Kn;for(Kn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;jn;){let t=jn;for(jn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Sl(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Rl(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),mi(s),hu(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Hr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(xl(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function xl(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Jn)||(e.globalVersion=Jn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Hr(e))))return;e.flags|=2;const t=e.dep,n=de,s=Ze;de=e,Ze=!0;try{Sl(e);const r=e.fn(e._value);(t.version===0||xe(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{de=n,Ze=s,Rl(e),e.flags&=-3}}function mi(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)mi(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function hu(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function wl(e,t){e.effect instanceof bn&&(e=e.effect.fn);const n=new bn(e);t&&oe(n,t);try{n.run()}catch(r){throw n.stop(),r}const s=n.run.bind(n);return s.effect=n,s}function Nl(e){e.effect.stop()}let Ze=!0;const Ol=[];function Tt(){Ol.
* @vue/runtime-core v3.5.27
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const Jl=[];function Hu(e){Jl.push(e)}function Bu(){Jl.pop()}function Xl(e,t){}const Ql={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},Uu={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function on(e,t,n,s){try{return s?e(...s):e()}catch(r){Bt(r,t,n)}}function We(e,t,n,s){if(z(e)){const r=on(e,t,n,s);return r&&Xs(r)&&r.catch(i=>{Bt(i,t,n)}),r}if(K(e)){const r=[];for(let i=0;i<e.length;i++)r.push(We(e[i],t,n,s));return r}}function Bt(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||ee;if(t){let l=t.parent;const c=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const a=l.ec;if(a){for(let f=0;f<a.length;f++)if(a[f](e,c,u)===!1)return}l=l.parent}if(i){Tt(),on(i,null,10,[e,c,u]),Ct();return}}ju(e,n,r,s,o)}function ju(e,t,n,s=!0,r=!1){if(r)throw e}const Me=[];let ct=-1;const gn=[];let It=null,un=0;const Zl=Promise.resolve();let Fs=null;function In(e){const t=Fs||Zl;return e?t.then(this?e.bind(this):e):t}function Ku(e){let t=ct+1,n=Me.length;for(;t<n;){const s=t+n>>>1,r=Me[s],i=Zn(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function Ei(e){if(!(e.flags&1)){const t=Zn(e),n=Me[Me.length-1];!n||!(e.flags&2)&&t>=Zn(n)?Me.push(e):Me.splice(Ku(t),0,e),e.flags|=1,ec()}}function ec(){Fs||(Fs=Zl.then(tc))}function vn(e){K(e)?gn.push(...e):It&&e.id===-1?It.splice(un+1,0,e):e.flags&1||(gn.push(e),e.flags|=1),ec()}function uo(e,t,n=ct+1){for(;n<Me.length;n++){const s=Me[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Me.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Vs(e){if(gn.length){const t=[...new Set(gn)].sort((n,s)=>Zn(n)-Zn(s));if(gn.length=0,It){It.push(...t);return}for(It=t,un=0;un<It.length;un++){const n=It[un];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}It=null,un=0}}const Zn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function tc(e){try{for(ct=0;ct<Me.length;ct++){const t=Me[ct];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),on(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;ct<Me.length;ct++){const t=Me[ct];t&&(t.flags&=-2)}ct=-1,Me.length=0,Vs(),Fs=null,(Me.length||gn.length)&&tc()}}let hn,Ts=[];function nc(e,t){var n,s;hn=e,hn?(hn.enabled=!0,Ts.forEach(({event:r,args:i})=>hn.emit(r,...i)),Ts=[]):typeof window!="undefined"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{nc(i,t)}),setTimeout(()=>{hn||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Ts=[])},3e3)):Ts=[]}let Ce=null,cr=null;function es(e){const t=Ce;return Ce=e,cr=e&&e.type.__scopeId||null,t}function sc(e){cr=e}function rc(){cr=null}const ic=e=>ar;function ar(e,t=Ce,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Tn(-1);const i=es(t);let o;try{o=e(...r)}finally{es(i),s._d&&Tn(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function oc(e,t){if(Ce===null)return e;const n=_s(Ce),s=e.dirs||(e.
`&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(U=U.slice(1));const{textContent:ue}=g;ue!==U&&ue!==U.replace(/\r\n|\r/g,`
`)&&(xs(g,0)||fn(),g.textContent=_.children)}if(P){if(fe||!B||$&48){const U=g.tagName.includes("-");for(const ue in P)(fe&&(ue.endsWith("value")||ue==="indeterminate")||Nn(ue)&&!Lt(ue)||ue[0]==="."||U&&!Lt(ue))&&s(g,ue,null,P[ue],void 0,v)}else if(P.onClick)s(g,"onClick",null,P.onClick,void 0,v);else if($&4&&ft(P.style))for(const U in P.style)P.style[U]}let X;(X=P&&P.onVnodeBeforeMount)&&Ve(X,v,_),W&&at(_,null,v,"beforeMount"),((X=P&&P.onVnodeMounted)||W||G)&&ga(()=>{X&&Ve(X,v,_),G&&ne.enter(g),W&&at(_,null,v,"mounted")},x)}return g.nextSibling},m=(g,_,v,x,D,B,N)=>{N=N||!!_.dynamicChildren;const P=_.children,$=P.length;for(let O=0;O<$;O++){const W=N?P[O]:P[O]=He(P[O]),ne=W.type===vt;g?(ne&&!N&&O+1<$&&He(P[O+1]).type===vt&&(c(r(g.data.slice(W.children.length)),v,i(g)),g.data=W.children),g=f(g,W,x,D,B,N)):ne&&!W.children?c(W.el=r(""),v):(xs(v,1)||fn(),n(null,W,v,null,x,D,Rs(v),B))}return g},E=(g,_,v,x,D,B)=>{const{slotScopeIds:N}=_;N&&(D=D?D.concat(N):N);const P=o(g),$=m(i(g),_,P,v,x,D,B);return $&&pn($)&&$.data==="]"?i(_.anchor=$):(fn(),c(_.anchor=u("]"),P,$),$)},b=(g,_,v,x,D,B)=>{if(xs(g.parentElement,1)||fn(),_.el=null,B){const $=M(g);for(;;){const O=i(g);if(O&&O!==$)l(O);else break}}const N=i(g),P=o(g);return l(g),n(null,_,P,N,v,x,Rs(P),D),v&&(v.vnode.el=_.el,gr(v,_.el)),N},M=(g,_="[",v="]")=>{let x=0;for(;g;)if(g=i(g),g&&pn(g)&&(g.data===_&&x++,g.data===v)){if(x===0)return i(g);x--}return g},I=(g,_,v)=>{const x=_.parentNode;x&&x.replaceChild(g,_);let D=v;for(;D;)D.vnode.el===_&&(D.vnode.el=D.subTree.el=g),D=D.parent},A=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[a,f]}const bo="data-allow-mismatch",Ju={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function xs(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(bo);)e=e.parentElement;const n=e&&e.getAttribute(bo);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:s.includes(Ju[t])}}const Xu=as().requestIdleCallback||(e=>setTimeout(e,1)),Qu=as().cancelIdleCallback||(e=>clearTimeout(e)),vc=(e=1e4)=>t=>{const n=Xu(t,{timeout:e});return()=>Qu(n)};function Zu(e){const{top:t,left:n,bottom:s,right:r}=e.getBoundingClientRect(),{innerHeight:i,innerWidth:o}=window;return(t>0&&t<i||s>0&&s<i)&&(n>0&&n<o||r>0&&r<o)}const Ac=e=>(t,n)=>{const s=new IntersectionObserver(r=>{for(const i of r)if(i.isIntersecting){s.disconnect(),t();break}},e);return n(r=>{if(r instanceof Element){if(Zu(r))return t(),s.disconnect(),!1;s.observe(r)}}),()=>s.disconnect()},Tc=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},Cc=(e=[])=>(t,n)=>{ae(e)&&(e=[e]);let s=!1;const r=o=>{s||(s=!0,i(),t(),o.target.dispatchEvent(new o.constructor(o.type,o)))},i=()=>{n(o=>{for(const l of e)o.removeEventListener(l,r)})};return n(o=>{for(const l of e)o.addEventListener(l,r,{once:!0})}),i};function eh(e,t){if(pn(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(pn(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const Et=e=>!!e.type.__asyncLoader;function Sc(e){z(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,hydrate:i,timeout:o,suspensible:l=!0,onError:c}=e;let u=null,a,f=0;const p=()=>(f++,u=null,m()),m=()=>{let E;return u||(E=u=t().catch(b=>{if(b=b instanceof Error?b:new Error(String(b)),c)return new Promise((M,I)=>{c(b,()=>M(p()),()=>I(b),f+1)});throw b}).then(b=>E!==u&&u?u:(b&&(b.__esModule||b[Symbol.toStringTag]==="Module")&&(b=b.default),a=b,b)))};return Mn({name:"AsyncComponentWrapper",__asyncLoader:m,__asyncHydrate(E,b,M){let I=!1;(b.bu||(b.bu=[])).push(()=>I=!0);const A=()=>{I||M()},g=i?()=>{const _=i(A,v=>eh(E,v));_&&(b.bum||(b.bum=[])).push(_)}:A;a?g():m().then(()=>!b.isUnmounted&&g())},get __asyncResolved(){return a},setup(){const E=Te;if(Si(E),a)return()=>ws(a,E);const b=g=>{u=null,Bt(g,E,13,!s)};if(l&&E.suspense||Cn)return m().then(g=>()=>ws(g,E)).catch(g=>(b(g),()=>s?pe(s,{error:g}):null));const M=Jt(!1),I=Jt(),A=Jt(!!r);return r&&setTim
* @vue/runtime-dom v3.5.27
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let ei;const xo=typeof window!="undefined"&&window.trustedTypes;if(xo)try{ei=xo.createPolicy("vue",{createHTML:e=>e})}catch(e){}const Ba=ei?e=>ei.createHTML(e):e=>e,Vh="http://www.w3.org/2000/svg",Hh="http://www.w3.org/1998/Math/MathML",gt=typeof document!="undefined"?document:null,wo=gt&&gt.createElement("template"),qi={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?gt.createElementNS(Vh,e):t==="mathml"?gt.createElementNS(Hh,e):n?gt.createElement(e,{is:n}):gt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>gt.createTextNode(e),createComment:e=>gt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>gt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{wo.innerHTML=Ba(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=wo.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},xt="transition",Fn="animation",Sn=Symbol("_vtc"),Ua={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},ja=oe({},ur,Ua),Bh=e=>(e.displayName="Transition",e.props=ja,e),Ka=Bh((e,{slots:t})=>ys(Ci,Ga(e),t)),Kt=(e,t=[])=>{K(e)?e.forEach(n=>n(...t)):e&&e(...t)},No=e=>e?K(e)?e.some(t=>t.length>1):e.length>1:!1;function Ga(e){const t={};for(const O in e)O in Ua||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=o,appearToClass:a=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,E=Uh(r),b=E&&E[0],M=E&&E[1],{onBeforeEnter:I,onEnter:A,onEnterCancelled:g,onLeave:_,onLeaveCancelled:v,onBeforeAppear:x=I,onAppear:D=A,onAppearCancelled:B=g}=t,N=(O,W,ne,fe)=>{O._enterCancelled=fe,Nt(O,W?a:l),Nt(O,W?u:o),ne&&ne()},P=(O,W)=>{O._isLeaving=!1,Nt(O,f),Nt(O,m),Nt(O,p),W&&W()},$=O=>(W,ne)=>{const fe=O?D:A,G=()=>N(W,O,ne);Kt(fe,[W,G]),Oo(()=>{Nt(W,O?c:i),lt(W,O?a:l),No(fe)||Po(W,s,b,G)})};return oe(t,{onBeforeEnter(O){Kt(I,[O]),lt(O,i),lt(O,o)},onBeforeAppear(O){Kt(x,[O]),lt(O,c),lt(O,u)},onEnter:$(!1),onAppear:$(!0),onLeave(O,W){O._isLeaving=!0;const ne=()=>P(O,W);lt(O,f),O._enterCancelled?(lt(O,p),ti(O)):(ti(O),lt(O,p)),Oo(()=>{O._isLeaving&&(Nt(O,f),lt(O,m),No(_)||Po(O,s,M,ne))}),Kt(_,[O,ne])},onEnterCancelled(O){N(O,!1,void 0,!0),Kt(g,[O])},onAppearCancelled(O){N(O,!0,void 0,!0),Kt(B,[O])},onLeaveCancelled(O){P(O),Kt(v,[O])}})}function Uh(e){if(e==null)return null;if(le(e))return[Pr(e.enter),Pr(e.leave)];{const t=Pr(e);return[t,t]}}function Pr(e){return zn(e)}function lt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Sn]||(e[Sn]=new Set)).add(t)}function Nt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Sn];n&&(n.delete(t),n.size||(e[Sn]=void 0))}function Oo(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let jh=0;function Po(e,t,n,s){const r=e._endId=++jh,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=$a(e,t);if(!o)return s();const u=o+"end";let a=0;const f=()=>{e.removeEventListener(u,p),i()},p=m=>{m.target===e&&++a>=c&&f()};setTimeout(()=>{a<c&&f()},l+1),e.addEventListener(u,p)}function $a(e,t){const n=window.getComputedStyle(e),s=E=>(n[E]||"").split(", "),r=s(`${xt}Delay`),i=s(`${xt}Duration`),o=Io(r,i),l=s
* vue v3.5.27
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const pd=()=>{},Ap=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Ci,BaseTransitionPropsValidators:ur,Comment:_e,DeprecationTypes:Ha,EffectScope:er,ErrorCodes:Ql,ErrorTypeStrings:Ma,Fragment:Ee,KeepAlive:Rc,ReactiveEffect:bn,Static:Ft,Suspense:da,Teleport:pc,Text:vt,TrackOpTypes:ql,Transition:Ka,TransitionGroup:ef,TriggerOpTypes:Yl,VueElement:bs,assertNumber:Xl,callWithAsyncErrorHandling:We,callWithErrorHandling:on,camelize:Ae,capitalize:nn,cloneVNode:st,compatUtils:Va,compile:pd,computed:Ke,createApp:Ys,createBlock:ss,createCommentVNode:Aa,createElementBlock:ya,createElementVNode:mr,createHydrationRenderer:Bi,createPropsRestProxy:Yc,createRenderer:Hi,createSSRApp:to,createSlots:Mc,createStaticVNode:va,createTextVNode:_r,createVNode:pe,customRef:yi,defineAsyncComponent:Sc,defineComponent:Mn,defineCustomElement:Ji,defineEmits:Fc,defineExpose:Vc,defineModel:Uc,defineOptions:Hc,defineProps:kc,defineSSRCustomElement:za,defineSlots:Bc,devtools:Da,effect:wl,effectScope:vl,getCurrentInstance:Le,getCurrentScope:di,getCurrentWatcher:zl,getTransitionRawChildren:hs,guardReactiveProps:ji,h:ys,handleError:Bt,hasInjectionContext:lc,hydrate:af,hydrateOnIdle:vc,hydrateOnInteraction:Cc,hydrateOnMediaQuery:Tc,hydrateOnVisible:Ac,initCustomFormatter:Oa,initDirectivesForSSR:hf,inject:$e,isMemoSame:$i,isProxy:Pn,isReactive:ft,isReadonly:tt,isRef:ye,isRuntimeOnly:xa,isShallow:De,isVNode:ht,markRaw:_i,mergeDefaults:Wc,mergeModels:qc,mergeProps:Gi,nextTick:In,nodeOps:qi,normalizeClass:rn,normalizeProps:ui,normalizeStyle:sn,onActivated:Ri,onBeforeMount:wi,onBeforeUnmount:gs,onBeforeUpdate:dr,onDeactivated:xi,onErrorCaptured:Ii,onMounted:Dn,onRenderTracked:Pi,onRenderTriggered:Oi,onScopeDispose:Al,onServerPrefetch:Ni,onUnmounted:ms,onUpdated:ps,onWatcherCleanup:bi,openBlock:An,patchProp:zi,popScopeId:rc,provide:mn,proxyRefs:lr,pushScopeId:sc,queuePostFlushCb:vn,reactive:On,readonly:Qn,ref:Jt,registerRuntimeCompiler:Ra,render:eo,renderList:Ic,renderSlot:Dc,resolveComponent:wc,resolveDirective:Pc,resolveDynamicComponent:Oc,resolveFilter:Fa,resolveTransitionHooks:Qt,setBlockTracking:Tn,setDevtoolsHook:La,setTransitionHooks:ut,shallowReactive:rr,shallowReadonly:Bl,shallowRef:or,ssrContextKey:vi,ssrUtils:ka,stop:Nl,toDisplayString:Zs,toHandlerKey:qt,toHandlers:Lc,toRaw:te,toRef:$l,toRefs:Gl,toValue:Kl,transformVNodeArgs:ba,triggerRef:jl,unref:et,useAttrs:Gc,useCssModule:Xa,useCssVars:Ya,useHost:Xi,useId:bc,useModel:Qc,useSSRContext:Ai,useShadowRoot:Ja,useSlots:Kc,useTemplateRef:Ec,useTransitionState:fr,vModelCheckbox:yr,vModelDynamic:Zi,vModelRadio:br,vModelSelect:Qi,vModelText:rs,vShow:Yi,version:Wi,warn:Ia,watch:kt,watchEffect:cc,watchPostEffect:ac,watchSyncEffect:Ti,withAsyncContext:zc,withCtx:ar,withDefaults:jc,withDirectives:oc,withKeys:rf,withMemo:Pa,withModifiers:sf,withScopeId:ic},Symbol.toStringTag,{value:"Module"}));/*!
* vue-router v4.6.4
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/const dn=typeof document!="undefined";function df(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function gd(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&df(e.default)}const ie=Object.assign;function Dr(e,t){const n={};for(const s in t){const r=t[s];n[s]=rt(r)?r.map(e):e(r)}return n}const Yn=()=>{},rt=Array.isArray;function Jo(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const pf=/#/g,md=/&/g,_d=/\//g,yd=/=/g,bd=/\?/g,gf=/\+/g,Ed=/%5B/g,vd=/%5D/g,mf=/%5E/g,Ad=/%60/g,_f=/%7B/g,Td=/%7C/g,yf=/%7D/g,Cd=/%20/g;function no(e){return e==null?"":encodeURI(""+e).replace(Td,"|").replace(Ed,"[").replace(vd,"]")}function Sd(e){return no(e).replace(_f,"{").replace(yf,"}").replace(mf,"^")}function si(e){return no(e).replace(gf,"%2B").replace(Cd,"+").replace(pf,"%23").replace(md,"%26").replace(Ad,"`").replace(_f,"{").replace(yf,"}").replace(mf,"^")}function Rd(e){return si(e).replace(yd,"%3D")}function xd(e){return no(e).replace(pf,"%23").replace(bd,"%3F")}function wd(e){return xd(e).replace(_d,"%2F")}function is(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Nd=/\/$/,Od=e=>e.replace(Nd,"");function Lr(e,t,n="/"){let s,r={},i="",o="";const l=t.indexOf("#");let c=t.indexOf("?");return c=l>=0&&c>l?-1:c,c>=0&&(s=t.slice(0,c),i=t.slice(c,l>0?l:t.length),r=e(i.slice(1))),l>=0&&(s=s||t.slice(0,l),o=t.slice(l,t.length)),s=Dd(s!=null?s:t,n),{fullPath:s+i+o,path:s,query:r,hash:is(o)}}function Pd(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Xo(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Id(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&xn(t.matched[s],n.matched[r])&&bf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function xn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function bf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Md(e[n],t[n]))return!1;return!0}function Md(e,t){return rt(e)?Qo(e,t):rt(t)?Qo(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function Qo(e,t){return rt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Dd(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,o,l;for(o=0;o<s.length;o++)if(l=s[o],l!==".")if(l==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o).join("/")}const wt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let ri=(function(e){return e.pop="pop",e.push="push",e})({}),kr=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function Ld(e){if(!e)if(dn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Od(e)}const kd=/^[^#]+#/;function Fd(e,t){return e.replace(kd,"#")+t}function Vd(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Er=()=>({left:window.scrollX,top:window.scrollY});function Hd(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Vd(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Zo(e,t){return(history.state?history.state.position-t:-1)+e}const ii=new Map;function Bd(e,t){ii.set(e,t)}function Ud(e){const t=ii.get(e);return ii.delete(e),t}function jd(e){return typeof e=="string"||e&&typeof e=="object"}function Ef(e){return typeof e=="string"||typeof e=="symbol"}let me=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e
* vue-router v4.6.4
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/let zd=()=>location.protocol+"//"+location.host;function Af(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let o=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(o);return l[0]!=="/"&&(l="/"+l),Xo(l,"")}return Xo(n,e)+s+r}function Jd(e,t,n,s){let r=[],i=[],o=null;const l=({state:p})=>{const m=Af(e,location),E=n.value,b=t.value;let M=0;if(p){if(n.value=m,t.value=p,o&&o===E){o=null;return}M=b?p.position-b.position:0}else s(m);r.forEach(I=>{I(n.value,E,{delta:M,type:ri.pop,direction:M?M>0?kr.forward:kr.back:kr.unknown})})};function c(){o=n.value}function u(p){r.push(p);const m=()=>{const E=r.indexOf(p);E>-1&&r.splice(E,1)};return i.push(m),m}function a(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(ie({},p.state,{scroll:Er()}),"")}}function f(){for(const p of i)p();i=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",a),document.removeEventListener("visibilitychange",a)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",a),document.addEventListener("visibilitychange",a),{pauseListeners:c,listen:u,destroy:f}}function nl(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Er():null}}function Xd(e){const{history:t,location:n}=window,s={value:Af(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,u,a){const f=e.indexOf("#"),p=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:zd()+e+c;try{t[a?"replaceState":"pushState"](u,"",p),r.value=u}catch(m){n[a?"replace":"assign"](p)}}function o(c,u){i(c,ie({},t.state,nl(r.value.back,c,r.value.forward,!0),u,{position:r.value.position}),!0),s.value=c}function l(c,u){const a=ie({},r.value,t.state,{forward:c,scroll:Er()});i(a.current,a,!0),i(c,ie({},nl(s.value,c,null),{position:a.position+1},u),!1),s.value=c}return{location:s,state:r,push:l,replace:o}}function Qd(e){e=Ld(e);const t=Xd(e),n=Jd(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=ie({location:"",base:e,go:s,createHref:Fd.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Tp(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Qd(e)}let Gt=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var ve=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(ve||{});const Zd={type:Gt.Static,value:""},ep=/[a-zA-Z0-9_]/;function tp(e){if(!e)return[[]];if(e==="/")return[[Zd]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${u}": ${m}`)}let n=ve.Static,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let l=0,c,u="",a="";function f(){u&&(n===ve.Static?i.push({type:Gt.Static,value:u}):n===ve.Param||n===ve.ParamRegExp||n===ve.ParamRegExpEnd?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:Gt.Param,value:u,regexp:a,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function p(){u+=c}for(;l<e.length;){if(c=e[l++],c==="\\"&&n!==ve.ParamRegExp){s=n,n=ve.EscapeNext;continue}switch(n){case ve.Static:c==="/"?(u&&f(),o()):c===":"?(f(),n=ve.Param):p();break;case ve.EscapeNext:p(),n=s;break;case ve.Param:c==="("?n=ve.ParamRegExp:ep.test(c)?p():(f(),n=ve.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case ve.ParamRegExp:c===")"?a[a.length-1]=="\\"?a=a.slice(0,-1)+c:n=ve.ParamRegExpEnd:a+=c;break;case ve.ParamRegExpEnd:f(),n=ve.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--,a="";break;default:t("Unknown state");break}}return n===ve.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),f(),o(),r}const sl="[^/]+?",np={sensitive:!1