trellis 3.2.0 → 3.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +61 -171
- package/dist/browser/index.d.ts +18 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +95 -0
- package/dist/{chunk-3ETIIPPB.js → chunk-2AACZRII.js} +312 -30
- package/dist/{chunk-3GDRZTAW.js → chunk-5KSGGKET.js} +1 -1
- package/dist/{chunk-MBNBTJCR.js → chunk-6GEZ6DN5.js} +2 -2
- package/dist/chunk-6RWGFC3N.js +403 -0
- package/dist/{chunk-X762XWVC.js → chunk-7DUMWO5L.js} +1 -1
- package/dist/chunk-CAG4FULI.js +121 -0
- package/dist/{chunk-GD5QJXSS.js → chunk-FWRS4CSC.js} +2 -2
- package/dist/{chunk-36VSSTL7.js → chunk-GU374KWZ.js} +1 -1
- package/dist/{chunk-BJ7EZ7FP.js → chunk-JHHEXEDM.js} +17 -0
- package/dist/{chunk-7WQGTFVJ.js → chunk-L5N5PR2S.js} +130 -75
- package/dist/{chunk-BXSTJVE3.js → chunk-N6MYZT4O.js} +2 -1
- package/dist/chunk-NWSW5YNS.js +225 -0
- package/dist/{chunk-HO4TURXW.js → chunk-S3XLFZ27.js} +28 -11
- package/dist/{chunk-BQBUVMRN.js → chunk-S6GBJ2ZB.js} +25 -14
- package/dist/{chunk-B3ZIFA2O.js → chunk-VBYUTRXX.js} +1 -1
- package/dist/cli/deploy-cli.d.ts +18 -0
- package/dist/cli/deploy-cli.d.ts.map +1 -0
- package/dist/cli/deploy-cli.js +67 -0
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +153 -100
- package/dist/client/index.browser.d.ts +29 -0
- package/dist/client/index.browser.d.ts.map +1 -0
- package/dist/client/index.browser.js +64 -0
- package/dist/client/index.js +10 -10
- package/dist/client/sdk.browser.d.ts +131 -0
- package/dist/client/sdk.browser.d.ts.map +1 -0
- package/dist/{sdk-LZ7W3EEY.js → client/sdk.browser.js} +2 -2
- package/dist/client/sdk.js +1 -1
- package/dist/db/index.js +16 -16
- package/dist/db/inspector.js +6 -6
- package/dist/decisions/index.js +2 -2
- package/dist/embeddings/auto-embed.d.ts.map +1 -1
- package/dist/embeddings/index.js +1 -1
- package/dist/embeddings/store.d.ts.map +1 -1
- package/dist/engine.d.ts +27 -7
- package/dist/engine.d.ts.map +1 -1
- package/dist/index.js +6 -6
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/react/index.js +2 -2
- package/dist/react/schema-hooks.js +7 -7
- package/dist/{remote-manager-SG545WNY.js → remote-manager-ODE3T2KR.js} +5 -5
- package/dist/scaffold/seed.d.ts.map +1 -1
- package/dist/scaffold/write.d.ts +1 -1
- package/dist/scaffold/write.d.ts.map +1 -1
- package/dist/schema/index.js +4 -3
- package/dist/server/cors.d.ts +13 -0
- package/dist/server/cors.d.ts.map +1 -0
- package/dist/server/deploy-meta.d.ts +25 -0
- package/dist/server/deploy-meta.d.ts.map +1 -0
- package/dist/server/deploy.d.ts +8 -3
- package/dist/server/deploy.d.ts.map +1 -1
- package/dist/server/deploy.js +9 -0
- package/dist/server/index.d.ts +5 -2
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +51 -17
- package/dist/server/realtime.d.ts +4 -1
- package/dist/server/realtime.d.ts.map +1 -1
- package/dist/server/server.d.ts +1 -0
- package/dist/server/server.d.ts.map +1 -1
- package/dist/server/sprites.d.ts +18 -1
- package/dist/server/sprites.d.ts.map +1 -1
- package/dist/server/tenancy.d.ts +4 -0
- package/dist/server/tenancy.d.ts.map +1 -1
- package/dist/server/usage-meter.d.ts +53 -0
- package/dist/server/usage-meter.d.ts.map +1 -0
- package/dist/{server-IGBIIJSF.js → server-OGVWNDNK.js} +6 -1
- package/dist/sprites-KQGTGM6W.js +27 -0
- package/dist/{tenancy-OP34NFFS.js → tenancy-POMWQP6M.js} +5 -3
- package/dist/vcs/index.js +3 -3
- package/dist/vcs/types.d.ts +2 -0
- package/dist/vcs/types.d.ts.map +1 -1
- package/package.json +17 -6
- package/dist/better-sqlite-backend-PII64VE6.js +0 -159
- package/dist/better-sqlite-backend-VUBVQ7SN.js +0 -209
- package/dist/better-sqlite-backend-Y3AQN65E.js +0 -159
- package/dist/better-sqlite-backend-Y3M7DXOX.js +0 -159
- package/dist/boot-middleware-FJDGVUM4.js +0 -9
- package/dist/boot-middleware-MLJUTLUM.js +0 -9
- package/dist/boot-middleware-ZZPDZNYR.js +0 -9
- package/dist/chunk-276LKLZR.js +0 -359
- package/dist/chunk-2CX5UCRV.js +0 -111
- package/dist/chunk-2ESYSVXG.js +0 -48
- package/dist/chunk-2I5JU73Y.js +0 -340
- package/dist/chunk-2UNSRRNB.js +0 -171
- package/dist/chunk-335UEHQR.js +0 -907
- package/dist/chunk-4CF2L46N.js +0 -29
- package/dist/chunk-5CINODKT.js +0 -41
- package/dist/chunk-5ESGWJ5L.js +0 -45
- package/dist/chunk-5FGLQGMF.js +0 -1676
- package/dist/chunk-5IQZFITY.js +0 -357
- package/dist/chunk-5JWFAQDW.js +0 -150
- package/dist/chunk-62UHTVU3.js +0 -141
- package/dist/chunk-66UJQT2I.js +0 -35
- package/dist/chunk-6RNNVOAS.js +0 -355
- package/dist/chunk-6X23PZ6H.js +0 -969
- package/dist/chunk-7C7LL6MB.js +0 -315
- package/dist/chunk-7F4HM3JG.js +0 -394
- package/dist/chunk-7KJ7T4D3.js +0 -910
- package/dist/chunk-7QQQNUB5.js +0 -92
- package/dist/chunk-7QWJBS72.js +0 -946
- package/dist/chunk-7R36OZK3.js +0 -957
- package/dist/chunk-7UPKCOHE.js +0 -946
- package/dist/chunk-A3BONW34.js +0 -35
- package/dist/chunk-AHMDVHBL.js +0 -141
- package/dist/chunk-AW6A4OZY.js +0 -171
- package/dist/chunk-BJ5EKCJ5.js +0 -458
- package/dist/chunk-BRGYDO7D.js +0 -223
- package/dist/chunk-C5KPSEDN.js +0 -359
- package/dist/chunk-CCTNYTUC.js +0 -940
- package/dist/chunk-CYQ2OVD2.js +0 -35
- package/dist/chunk-DDAK7YOE.js +0 -299
- package/dist/chunk-DRILKBY6.js +0 -965
- package/dist/chunk-DXE24HNN.js +0 -45
- package/dist/chunk-E7ICUNW7.js +0 -945
- package/dist/chunk-EAL2PUOE.js +0 -10022
- package/dist/chunk-ELT7MLZB.js +0 -109
- package/dist/chunk-EWEIRF6G.js +0 -171
- package/dist/chunk-F5VDGQJC.js +0 -120
- package/dist/chunk-FCPL3IEQ.js +0 -98
- package/dist/chunk-FDPKYSV7.js +0 -96
- package/dist/chunk-FES3TC24.js +0 -171
- package/dist/chunk-FF36CQHZ.js +0 -61
- package/dist/chunk-FOWKR5TW.js +0 -129
- package/dist/chunk-FZVCXDYW.js +0 -150
- package/dist/chunk-G3XIHPSQ.js +0 -361
- package/dist/chunk-GKJLYLVU.js +0 -359
- package/dist/chunk-GNXHXNVQ.js +0 -113
- package/dist/chunk-GSR6ILTM.js +0 -277
- package/dist/chunk-GWRIMRSX.js +0 -45
- package/dist/chunk-H72UW2HJ.js +0 -45
- package/dist/chunk-HGI74PXB.js +0 -7417
- package/dist/chunk-HGRA37LO.js +0 -145
- package/dist/chunk-HXSRQO3L.js +0 -145
- package/dist/chunk-IG2X2BVO.js +0 -373
- package/dist/chunk-IIJVDD54.js +0 -373
- package/dist/chunk-IUWVEEOX.js +0 -145
- package/dist/chunk-IX4BBOIT.js +0 -394
- package/dist/chunk-IXU4RMQM.js +0 -349
- package/dist/chunk-J6OUIION.js +0 -857
- package/dist/chunk-K46RNFDE.js +0 -171
- package/dist/chunk-KAGU2XMY.js +0 -359
- package/dist/chunk-KCVYJNVX.js +0 -394
- package/dist/chunk-KKDRMIV6.js +0 -419
- package/dist/chunk-KYLIQ3YI.js +0 -399
- package/dist/chunk-KZYJJIRN.js +0 -946
- package/dist/chunk-LFOX744K.js +0 -96
- package/dist/chunk-LHOVJEWR.js +0 -7403
- package/dist/chunk-LOPXTPF3.js +0 -120
- package/dist/chunk-LZR3VIFU.js +0 -907
- package/dist/chunk-MCKGQKYU.js +0 -15
- package/dist/chunk-MU6EOS6F.js +0 -0
- package/dist/chunk-MWRQ2TXT.js +0 -357
- package/dist/chunk-NO73OK2I.js +0 -102
- package/dist/chunk-NPE2YJHK.js +0 -394
- package/dist/chunk-NSDXU6QX.js +0 -2213
- package/dist/chunk-NXIRDSZ6.js +0 -145
- package/dist/chunk-NZWFNHCS.js +0 -407
- package/dist/chunk-OB4CMMX6.js +0 -260
- package/dist/chunk-OBKU74FU.js +0 -7411
- package/dist/chunk-OQNDWRDE.js +0 -145
- package/dist/chunk-OVWAJMB6.js +0 -394
- package/dist/chunk-PDHLBTTD.js +0 -45
- package/dist/chunk-PEQNRKLG.js +0 -210
- package/dist/chunk-QERIS7QY.js +0 -7403
- package/dist/chunk-QHA2DM3C.js +0 -373
- package/dist/chunk-QLM4HSYC.js +0 -45
- package/dist/chunk-S2OT3TQJ.js +0 -283
- package/dist/chunk-S5PHSN5K.js +0 -907
- package/dist/chunk-SIAA4J6H.js +0 -21
- package/dist/chunk-SQBNLUIA.js +0 -171
- package/dist/chunk-STLN6A6B.js +0 -355
- package/dist/chunk-U7HV7GU2.js +0 -17
- package/dist/chunk-UGZHOGRA.js +0 -39
- package/dist/chunk-UICF66FS.js +0 -359
- package/dist/chunk-UK3EQREE.js +0 -1078
- package/dist/chunk-UPKPURVY.js +0 -394
- package/dist/chunk-URC74VCN.js +0 -959
- package/dist/chunk-V3G7Q3QQ.js +0 -102
- package/dist/chunk-VUJ6SA55.js +0 -303
- package/dist/chunk-VUJQLIML.js +0 -141
- package/dist/chunk-VWKLKLYB.js +0 -267
- package/dist/chunk-VYC3RZMK.js +0 -277
- package/dist/chunk-WMERMSWI.js +0 -154
- package/dist/chunk-WMR777PO.js +0 -2213
- package/dist/chunk-X46IECAC.js +0 -517
- package/dist/chunk-XEN3OEYY.js +0 -2234
- package/dist/chunk-XZQ66K7A.js +0 -124
- package/dist/chunk-YY3GF7DH.js +0 -7411
- package/dist/chunk-ZE5R3H4C.js +0 -907
- package/dist/chunk-ZHVI7BQN.js +0 -1077
- package/dist/chunk-ZMN5LUB7.js +0 -7411
- package/dist/chunk-ZUV4MD5U.js +0 -94
- package/dist/config-KMY6RRK3.js +0 -19
- package/dist/config-VDMK2DUJ.js +0 -19
- package/dist/db/trellis.css +0 -1
- package/dist/deploy-66EC752W.js +0 -9
- package/dist/deploy-SO7AFK6L.js +0 -9
- package/dist/engine-7GXBM4IT.js +0 -7
- package/dist/engine-NSR6BIF7.js +0 -7
- package/dist/factory-2P64OC7M.js +0 -34
- package/dist/factory-YP4ZZK5K.js +0 -34
- package/dist/import-AJLYHFIA.js +0 -10
- package/dist/launch-explorer-AI6L2AWJ.js +0 -91
- package/dist/query-GJL3CVGN.js +0 -31
- package/dist/query-MBJSK3EB.js +0 -31
- package/dist/query-TJHEVSKL.js +0 -31
- package/dist/query-WUIKOHPE.js +0 -524
- package/dist/remote-manager-BLJZ6KF6.js +0 -224
- package/dist/remote-manager-BPYE46SI.js +0 -223
- package/dist/remote-manager-FMESEAFA.js +0 -224
- package/dist/remote-manager-K2WZ5RHY.js +0 -223
- package/dist/remote-manager-SG5PQKCH.js +0 -224
- package/dist/remote-manager-WGP6MIQZ.js +0 -224
- package/dist/sdk-3KBB3E6V.js +0 -16
- package/dist/sdk-4ZQO6UTU.js +0 -16
- package/dist/sdk-6JA6GV3G.js +0 -16
- package/dist/sdk-6VTP5UTZ.js +0 -16
- package/dist/sdk-7VS6TYCD.js +0 -16
- package/dist/sdk-HQ3FTLRT.js +0 -16
- package/dist/sdk-HZ7NU3XE.js +0 -15
- package/dist/sdk-KBQE2OXT.js +0 -16
- package/dist/sdk-MSCDZ7JU.js +0 -15
- package/dist/sdk-WNZOGO3S.js +0 -15
- package/dist/sdk-YLV33ZCW.js +0 -9
- package/dist/sdk-ZSUD2LLJ.js +0 -16
- package/dist/server-AFXFFBWA.js +0 -11
- package/dist/server-AGHC4VUL.js +0 -11
- package/dist/server-BOH7M4TT.js +0 -13
- package/dist/server-DBUY2KY5.js +0 -11
- package/dist/server-GWBQJPRG.js +0 -11
- package/dist/server-JZZFULVU.js +0 -11
- package/dist/server-L5XAF4M5.js +0 -11
- package/dist/server-NYFUHANA.js +0 -12
- package/dist/server-OABUB2LO.js +0 -12
- package/dist/server-P2CKZWWV.js +0 -12
- package/dist/sprites-RU3E4XQN.js +0 -15
- package/dist/sprites-XVSMQLSI.js +0 -15
- package/dist/sql-wasm-FORCZFHZ.js +0 -2148
- package/dist/sql-wasm-JZH76RLO.js +0 -2148
- package/dist/sqljs-backend-CJQOIQYE.js +0 -266
- package/dist/sqljs-backend-KWXBUDUO.js +0 -266
- package/dist/state-demo.bundle.js +0 -1033
- package/dist/tenancy-CBWYEVUB.js +0 -11
- package/dist/tenancy-FO6WVYFN.js +0 -13
- package/dist/tenancy-FWDBESMX.js +0 -14
- package/dist/tenancy-HGPIS5QA.js +0 -13
- package/dist/tenancy-HXFALA37.js +0 -14
- package/dist/tenancy-S676GLID.js +0 -14
- package/dist/tenancy-V7ARWNNV.js +0 -14
- package/dist/tenancy-ZDN4GXK5.js +0 -13
- package/dist/tenancy-ZT5VMY7B.js +0 -14
- package/dist/vm-config-YZRJ3KUB.js +0 -21
- /package/dist/{chunk-2BRTCEHB.js → chunk-PZ4XYZ4J.js} +0 -0
- /package/dist/{chunk-EO3J7GRP.js → chunk-WXSWA3MV.js} +0 -0
package/dist/db/inspector.js
CHANGED
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
* @vue/shared v3.5.35
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
|
-
**/function
|
|
5
|
+
**/function xs(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return s=>s in e}const z={},le=[],Rt=()=>{},fn=()=>!1,ze=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),qe=t=>t.startsWith("onUpdate:"),st=Object.assign,ys=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},ur=Object.prototype.hasOwnProperty,H=(t,e)=>ur.call(t,e),P=Array.isArray,ce=t=>ve(t)==="[object Map]",un=t=>ve(t)==="[object Set]",an=t=>ve(t)==="[object Date]",N=t=>typeof t=="function",tt=t=>typeof t=="string",Mt=t=>typeof t=="symbol",U=t=>t!==null&&typeof t=="object",dn=t=>(U(t)||N(t))&&N(t.then)&&N(t.catch),hn=Object.prototype.toString,ve=t=>hn.call(t),ar=t=>ve(t).slice(8,-1),Ge=t=>ve(t)==="[object Object]",vs=t=>tt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,we=xs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Je=t=>{const e=Object.create(null);return(s=>e[s]||(e[s]=t(s)))},dr=/-\w/g,bt=Je(t=>t.replace(dr,e=>e.slice(1).toUpperCase())),hr=/\B([A-Z])/g,mt=Je(t=>t.replace(hr,"-$1").toLowerCase()),pn=Je(t=>t.charAt(0).toUpperCase()+t.slice(1)),ws=Je(t=>t?`on${pn(t)}`:""),It=(t,e)=>!Object.is(t,e),Ye=(t,...e)=>{for(let s=0;s<t.length;s++)t[s](...e)},gn=(t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})},Ss=t=>{const e=parseFloat(t);return isNaN(e)?t:e},bn=t=>{const e=tt(t)?Number(t):NaN;return isNaN(e)?t:e};let _n;const Xe=()=>_n||(_n=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Se(t){if(P(t)){const e={};for(let s=0;s<t.length;s++){const n=t[s],i=tt(n)?_r(n):Se(n);if(i)for(const r in i)e[r]=i[r]}return e}else if(tt(t)||U(t))return t}const pr=/;(?![^(]*\))/g,gr=/:([^]+)/,br=/\/\*[^]*?\*\//g;function _r(t){const e={};return t.replace(br,"").split(pr).forEach(s=>{if(s){const n=s.split(gr);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function Zt(t){let e="";if(tt(t))e=t;else if(P(t))for(let s=0;s<t.length;s++){const n=Zt(t[s]);n&&(e+=n+" ")}else if(U(t))for(const s in t)t[s]&&(e+=s+" ");return e.trim()}const mr=xs("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function mn(t){return!!t||t===""}function xr(t,e){if(t.length!==e.length)return!1;let s=!0;for(let n=0;s&&n<t.length;n++)s=Cs(t[n],e[n]);return s}function Cs(t,e){if(t===e)return!0;let s=an(t),n=an(e);if(s||n)return s&&n?t.getTime()===e.getTime():!1;if(s=Mt(t),n=Mt(e),s||n)return t===e;if(s=P(t),n=P(e),s||n)return s&&n?xr(t,e):!1;if(s=U(t),n=U(e),s||n){if(!s||!n)return!1;const i=Object.keys(t).length,r=Object.keys(e).length;if(i!==r)return!1;for(const o in t){const l=t.hasOwnProperty(o),c=e.hasOwnProperty(o);if(l&&!c||!l&&c||!Cs(t[o],e[o]))return!1}}return String(t)===String(e)}const xn=t=>!!(t&&t.__v_isRef===!0),nt=t=>tt(t)?t:t==null?"":P(t)||U(t)&&(t.toString===hn||!N(t.toString))?xn(t)?nt(t.value):JSON.stringify(t,yn,2):String(t),yn=(t,e)=>xn(e)?yn(t,e.value):ce(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((s,[n,i],r)=>(s[Ts(n,r)+" =>"]=i,s),{})}:un(e)?{[`Set(${e.size})`]:[...e.values()].map(s=>Ts(s))}:Mt(e)?Ts(e):U(e)&&!P(e)&&!Ge(e)?String(e):e,Ts=(t,e="")=>{var s;return Mt(t)?`Symbol(${(s=t.description)!=null?s:e})`:t};/**
|
|
6
6
|
* @vue/reactivity v3.5.35
|
|
7
7
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
8
|
* @license MIT
|
|
9
|
-
**/let nt;class vr{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&nt&&(nt.active?(this.parent=nt,this.index=(nt.scopes||(nt.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].pause();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].resume();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].resume()}}run(e){if(this._active){const s=nt;try{return nt=this,e()}finally{nt=s}}}on(){++this._on===1&&(this.prevScope=nt,nt=this)}off(){if(this._on>0&&--this._on===0){if(nt===this)nt=this.prevScope;else{let e=nt;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function xr(){return nt}let q;const Ts=new WeakSet;class vn{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,nt&&(nt.active?nt.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ts.has(this)&&(Ts.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||wn(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,An(this),Sn(this);const e=q,s=xt;q=this,xt=!0;try{return this.fn()}finally{Cn(this),q=e,xt=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Os(e);this.deps=this.depsTail=void 0,An(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ts.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ps(this)&&this.run()}get dirty(){return Ps(this)}}let xn=0,Se,Ce;function wn(t,e=!1){if(t.flags|=8,e){t.next=Ce,Ce=t;return}t.next=Se,Se=t}function Es(){xn++}function As(){if(--xn>0)return;if(Ce){let e=Ce;for(Ce=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;Se;){let e=Se;for(Se=void 0;e;){const s=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(n){t||(t=n)}e=s}}if(t)throw t}function Sn(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Cn(t){let e,s=t.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),Os(n),wr(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}t.deps=e,t.depsTail=s}function Ps(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Tn(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function Tn(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Te)||(t.globalVersion=Te,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!Ps(t))))return;t.flags|=2;const e=t.dep,s=q,n=xt;q=t,xt=!0;try{Sn(t);const i=t.fn(t._value);(e.version===0||Et(i,t._value))&&(t.flags|=128,t._value=i,e.version++)}catch(i){throw e.version++,i}finally{q=s,xt=n,Cn(t),t.flags&=-3}}function Os(t,e=!1){const{dep:s,prevSub:n,nextSub:i}=t;if(n&&(n.nextSub=i,t.prevSub=void 0),i&&(i.prevSub=n,t.nextSub=void 0),s.subs===t&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let r=s.computed.deps;r;r=r.nextDep)Os(r,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function wr(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let xt=!0;const En=[];function At(){En.push(xt),xt=!1}function Pt(){const t=En.pop();xt=t===void 0?!0:t}function An(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=q;q=void 0;try{e()}finally{q=s}}}let Te=0;class Sr{constructor(e,s){this.sub=e,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Rs{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!q||!xt||q===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==q)s=this.activeLink=new Sr(q,this),q.deps?(s.prevDep=q.depsTail,q.depsTail.nextDep=s,q.depsTail=s):q.deps=q.depsTail=s,Pn(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=q.depsTail,s.nextDep=void 0,q.depsTail.nextDep=s,q.depsTail=s,q.deps===s&&(q.deps=n)}return s}trigger(e){this.version++,Te++,this.notify(e)}notify(e){Es();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{As()}}}function Pn(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let n=e.deps;n;n=n.nextDep)Pn(n)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const Ms=new WeakMap,zt=Symbol(""),Is=Symbol(""),Ee=Symbol("");function ot(t,e,s){if(xt&&q){let n=Ms.get(t);n||Ms.set(t,n=new Map);let i=n.get(s);i||(n.set(s,i=new Rs),i.map=n,i.key=s),i.track()}}function Kt(t,e,s,n,i,r){const o=Ms.get(t);if(!o){Te++;return}const l=c=>{c&&c.trigger()};if(Es(),e==="clear")o.forEach(l);else{const c=R(t),d=c&&vs(s);if(c&&s==="length"){const a=Number(n);o.forEach((p,w)=>{(w==="length"||w===Ee||!Tt(w)&&w>=a)&&l(p)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),d&&l(o.get(Ee)),e){case"add":c?d&&l(o.get("length")):(l(o.get(zt)),ce(t)&&l(o.get(Is)));break;case"delete":c||(l(o.get(zt)),ce(t)&&l(o.get(Is)));break;case"set":ce(t)&&l(o.get(zt));break}}As()}function fe(t){const e=H(t);return e===t?e:(ot(e,"iterate",Ee),yt(t)?e:e.map(wt))}function ze(t){return ot(t=H(t),"iterate",Ee),t}function Ot(t,e){return Vt(t)?ue(Qt(t)?wt(e):e):wt(e)}const Cr={__proto__:null,[Symbol.iterator](){return Ns(this,Symbol.iterator,t=>Ot(this,t))},concat(...t){return fe(this).concat(...t.map(e=>R(e)?fe(e):e))},entries(){return Ns(this,"entries",t=>(t[1]=Ot(this,t[1]),t))},every(t,e){return Ut(this,"every",t,e,void 0,arguments)},filter(t,e){return Ut(this,"filter",t,e,s=>s.map(n=>Ot(this,n)),arguments)},find(t,e){return Ut(this,"find",t,e,s=>Ot(this,s),arguments)},findIndex(t,e){return Ut(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return Ut(this,"findLast",t,e,s=>Ot(this,s),arguments)},findLastIndex(t,e){return Ut(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return Ut(this,"forEach",t,e,void 0,arguments)},includes(...t){return Ds(this,"includes",t)},indexOf(...t){return Ds(this,"indexOf",t)},join(t){return fe(this).join(t)},lastIndexOf(...t){return Ds(this,"lastIndexOf",t)},map(t,e){return Ut(this,"map",t,e,void 0,arguments)},pop(){return Ae(this,"pop")},push(...t){return Ae(this,"push",t)},reduce(t,...e){return On(this,"reduce",t,e)},reduceRight(t,...e){return On(this,"reduceRight",t,e)},shift(){return Ae(this,"shift")},some(t,e){return Ut(this,"some",t,e,void 0,arguments)},splice(...t){return Ae(this,"splice",t)},toReversed(){return fe(this).toReversed()},toSorted(t){return fe(this).toSorted(t)},toSpliced(...t){return fe(this).toSpliced(...t)},unshift(...t){return Ae(this,"unshift",t)},values(){return Ns(this,"values",t=>Ot(this,t))}};function Ns(t,e,s){const n=ze(t),i=n[e]();return n!==t&&!yt(t)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.done||(r.value=s(r.value)),r}),i}const Tr=Array.prototype;function Ut(t,e,s,n,i,r){const o=ze(t),l=o!==t&&!yt(t),c=o[e];if(c!==Tr[e]){const p=c.apply(t,r);return l?wt(p):p}let d=s;o!==t&&(l?d=function(p,w){return s.call(this,Ot(t,p),w,t)}:s.length>2&&(d=function(p,w){return s.call(this,p,w,t)}));const a=c.call(o,d,n);return l&&i?i(a):a}function On(t,e,s,n){const i=ze(t),r=i!==t&&!yt(t);let o=s,l=!1;i!==t&&(r?(l=n.length===0,o=function(d,a,p){return l&&(l=!1,d=Ot(t,d)),s.call(this,d,Ot(t,a),p,t)}):s.length>3&&(o=function(d,a,p){return s.call(this,d,a,p,t)}));const c=i[e](o,...n);return l?Ot(t,c):c}function Ds(t,e,s){const n=H(t);ot(n,"iterate",Ee);const i=n[e](...s);return(i===-1||i===!1)&&Ls(s[0])?(s[0]=H(s[0]),n[e](...s)):i}function Ae(t,e,s=[]){At(),Es();const n=H(t)[e].apply(t,s);return As(),Pt(),n}const Er=ms("__proto__,__v_isRef,__isVue"),Rn=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Tt));function Ar(t){Tt(t)||(t=String(t));const e=H(this);return ot(e,"has",t),e.hasOwnProperty(t)}class Mn{constructor(e=!1,s=!1){this._isReadonly=e,this._isShallow=s}get(e,s,n){if(s==="__v_skip")return e.__v_skip;const i=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return r;if(s==="__v_raw")return n===(i?r?Ln:jn:r?Fn:Dn).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const o=R(e);if(!i){let c;if(o&&(c=Cr[s]))return c;if(s==="hasOwnProperty")return Ar}const l=Reflect.get(e,s,it(e)?e:n);if((Tt(s)?Rn.has(s):Er(s))||(i||ot(e,"get",s),r))return l;if(it(l)){const c=o&&vs(s)?l:l.value;return i&&V(c)?js(c):c}return V(l)?i?js(l):Pe(l):l}}class In extends Mn{constructor(e=!1){super(!1,e)}set(e,s,n,i){let r=e[s];const o=R(e)&&vs(s);if(!this._isShallow){const d=Vt(r);if(!yt(n)&&!Vt(n)&&(r=H(r),n=H(n)),!o&&it(r)&&!it(n))return d||(r.value=n),!0}const l=o?Number(s)<e.length:K(e,s),c=Reflect.set(e,s,n,it(e)?e:i);return e===H(i)&&(l?Et(n,r)&&Kt(e,"set",s,n):Kt(e,"add",s,n)),c}deleteProperty(e,s){const n=K(e,s);e[s];const i=Reflect.deleteProperty(e,s);return i&&n&&Kt(e,"delete",s,void 0),i}has(e,s){const n=Reflect.has(e,s);return(!Tt(s)||!Rn.has(s))&&ot(e,"has",s),n}ownKeys(e){return ot(e,"iterate",R(e)?"length":zt),Reflect.ownKeys(e)}}class Nn extends Mn{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const Pr=new In,Or=new Nn,Rr=new In(!0),Mr=new Nn(!0),Fs=t=>t,Qe=t=>Reflect.getPrototypeOf(t);function Ir(t,e,s){return function(...n){const i=this.__v_raw,r=H(i),o=ce(r),l=t==="entries"||t===Symbol.iterator&&o,c=t==="keys"&&o,d=i[t](...n),a=s?Fs:e?ue:wt;return!e&&ot(r,"iterate",c?Is:zt),Z(Object.create(d),{next(){const{value:p,done:w}=d.next();return w?{value:p,done:w}:{value:l?[a(p[0]),a(p[1])]:a(p),done:w}}})}}function Ze(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Nr(t,e){const s={get(i){const r=this.__v_raw,o=H(r),l=H(i);t||(Et(i,l)&&ot(o,"get",i),ot(o,"get",l));const{has:c}=Qe(o),d=e?Fs:t?ue:wt;if(c.call(o,i))return d(r.get(i));if(c.call(o,l))return d(r.get(l));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!t&&ot(H(i),"iterate",zt),i.size},has(i){const r=this.__v_raw,o=H(r),l=H(i);return t||(Et(i,l)&&ot(o,"has",i),ot(o,"has",l)),i===l?r.has(i):r.has(i)||r.has(l)},forEach(i,r){const o=this,l=o.__v_raw,c=H(l),d=e?Fs:t?ue:wt;return!t&&ot(c,"iterate",zt),l.forEach((a,p)=>i.call(r,d(a),d(p),o))}};return Z(s,t?{add:Ze("add"),set:Ze("set"),delete:Ze("delete"),clear:Ze("clear")}:{add(i){const r=H(this),o=Qe(r),l=H(i),c=!e&&!yt(i)&&!Vt(i)?l:i;return o.has.call(r,c)||Et(i,c)&&o.has.call(r,i)||Et(l,c)&&o.has.call(r,l)||(r.add(c),Kt(r,"add",c,c)),this},set(i,r){!e&&!yt(r)&&!Vt(r)&&(r=H(r));const o=H(this),{has:l,get:c}=Qe(o);let d=l.call(o,i);d||(i=H(i),d=l.call(o,i));const a=c.call(o,i);return o.set(i,r),d?Et(r,a)&&Kt(o,"set",i,r):Kt(o,"add",i,r),this},delete(i){const r=H(this),{has:o,get:l}=Qe(r);let c=o.call(r,i);c||(i=H(i),c=o.call(r,i)),l&&l.call(r,i);const d=r.delete(i);return c&&Kt(r,"delete",i,void 0),d},clear(){const i=H(this),r=i.size!==0,o=i.clear();return r&&Kt(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=Ir(i,t,e)}),s}function ts(t,e){const s=Nr(t,e);return(n,i,r)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?n:Reflect.get(K(s,i)&&i in n?s:n,i,r)}const Dr={get:ts(!1,!1)},Fr={get:ts(!1,!0)},jr={get:ts(!0,!1)},Lr={get:ts(!0,!0)},Dn=new WeakMap,Fn=new WeakMap,jn=new WeakMap,Ln=new WeakMap;function Hr(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Pe(t){return Vt(t)?t:es(t,!1,Pr,Dr,Dn)}function $r(t){return es(t,!1,Rr,Fr,Fn)}function js(t){return es(t,!0,Or,jr,jn)}function Ic(t){return es(t,!0,Mr,Lr,Ln)}function es(t,e,s,n,i){if(!V(t)||t.__v_raw&&!(e&&t.__v_isReactive)||t.__v_skip||!Object.isExtensible(t))return t;const r=i.get(t);if(r)return r;const o=Hr(ar(t));if(o===0)return t;const l=new Proxy(t,o===2?n:s);return i.set(t,l),l}function Qt(t){return Vt(t)?Qt(t.__v_raw):!!(t&&t.__v_isReactive)}function Vt(t){return!!(t&&t.__v_isReadonly)}function yt(t){return!!(t&&t.__v_isShallow)}function Ls(t){return t?!!t.__v_raw:!1}function H(t){const e=t&&t.__v_raw;return e?H(e):t}function Kr(t){return!K(t,"__v_skip")&&Object.isExtensible(t)&&pn(t,"__v_skip",!0),t}const wt=t=>V(t)?Pe(t):t,ue=t=>V(t)?js(t):t;function it(t){return t?t.__v_isRef===!0:!1}function ct(t){return Ur(t,!1)}function Ur(t,e){return it(t)?t:new Vr(t,e)}class Vr{constructor(e,s){this.dep=new Rs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:H(e),this._value=s?e:wt(e),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(e){const s=this._rawValue,n=this.__v_isShallow||yt(e)||Vt(e);e=n?e:H(e),Et(e,s)&&(this._rawValue=e,this._value=n?e:wt(e),this.dep.trigger())}}function Hn(t){return it(t)?t.value:t}const Br={get:(t,e,s)=>e==="__v_raw"?t:Hn(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const i=t[e];return it(i)&&!it(s)?(i.value=s,!0):Reflect.set(t,e,s,n)}};function $n(t){return Qt(t)?t:new Proxy(t,Br)}class kr{constructor(e,s,n){this.fn=e,this.setter=s,this._value=void 0,this.dep=new Rs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Te-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&q!==this)return wn(this,!0),!0}get value(){const e=this.dep.track();return Tn(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Wr(t,e,s=!1){let n,i;return D(t)?n=t:(n=t.get,i=t.set),new kr(n,i,s)}const ss={},ns=new WeakMap;let Zt;function qr(t,e=!1,s=Zt){if(s){let n=ns.get(s);n||ns.set(s,n=[]),n.push(t)}}function Gr(t,e,s=k){const{immediate:n,deep:i,once:r,scheduler:o,augmentJob:l,call:c}=s,d=P=>i?P:yt(P)||i===!1||i===0?Bt(P,1):Bt(P);let a,p,w,E,$=!1,I=!1;if(it(t)?(p=()=>t.value,$=yt(t)):Qt(t)?(p=()=>d(t),$=!0):R(t)?(I=!0,$=t.some(P=>Qt(P)||yt(P)),p=()=>t.map(P=>{if(it(P))return P.value;if(Qt(P))return d(P);if(D(P))return c?c(P,2):P()})):D(t)?e?p=c?()=>c(t,2):t:p=()=>{if(w){At();try{w()}finally{Pt()}}const P=Zt;Zt=a;try{return c?c(t,3,[E]):t(E)}finally{Zt=P}}:p=Ct,e&&i){const P=p,z=i===!0?1/0:i;p=()=>Bt(P(),z)}const Q=xr(),J=()=>{a.stop(),Q&&Q.active&&ys(Q.effects,a)};if(r&&e){const P=e;e=(...z)=>{P(...z),J()}}let j=I?new Array(t.length).fill(ss):ss;const U=P=>{if(!(!(a.flags&1)||!a.dirty&&!P))if(e){const z=a.run();if(i||$||(I?z.some((Dt,pt)=>Et(Dt,j[pt])):Et(z,j))){w&&w();const Dt=Zt;Zt=a;try{const pt=[z,j===ss?void 0:I&&j[0]===ss?[]:j,E];j=z,c?c(e,3,pt):e(...pt)}finally{Zt=Dt}}}else a.run()};return l&&l(U),a=new vn(p),a.scheduler=o?()=>o(U,!1):U,E=P=>qr(P,!1,a),w=a.onStop=()=>{const P=ns.get(a);if(P){if(c)c(P,4);else for(const z of P)z();ns.delete(a)}},e?n?U(!0):j=a.run():o?o(U.bind(null,!0),!0):a.run(),J.pause=a.pause.bind(a),J.resume=a.resume.bind(a),J.stop=J,J}function Bt(t,e=1/0,s){if(e<=0||!V(t)||t.__v_skip||(s=s||new Map,(s.get(t)||0)>=e))return t;if(s.set(t,e),e--,it(t))Bt(t.value,e,s);else if(R(t))for(let n=0;n<t.length;n++)Bt(t[n],e,s);else if(fn(t)||ce(t))t.forEach(n=>{Bt(n,e,s)});else if(Ge(t)){for(const n in t)Bt(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&Bt(t[n],e,s)}return t}/**
|
|
9
|
+
**/let ot;class yr{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&ot&&(ot.active?(this.parent=ot,this.index=(ot.scopes||(ot.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].pause();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].resume();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].resume()}}run(e){if(this._active){const s=ot;try{return ot=this,e()}finally{ot=s}}}on(){++this._on===1&&(this.prevScope=ot,ot=this)}off(){if(this._on>0&&--this._on===0){if(ot===this)ot=this.prevScope;else{let e=ot;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function vr(){return ot}let G;const Es=new WeakSet;class vn{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ot&&(ot.active?ot.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Es.has(this)&&(Es.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Sn(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,On(this),Cn(this);const e=G,s=Tt;G=this,Tt=!0;try{return this.fn()}finally{Tn(this),G=e,Tt=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Rs(e);this.deps=this.depsTail=void 0,On(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Es.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ps(this)&&this.run()}get dirty(){return Ps(this)}}let wn=0,Ce,Te;function Sn(t,e=!1){if(t.flags|=8,e){t.next=Te,Te=t;return}t.next=Ce,Ce=t}function As(){wn++}function Os(){if(--wn>0)return;if(Te){let e=Te;for(Te=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;Ce;){let e=Ce;for(Ce=void 0;e;){const s=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(n){t||(t=n)}e=s}}if(t)throw t}function Cn(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Tn(t){let e,s=t.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),Rs(n),wr(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}t.deps=e,t.depsTail=s}function Ps(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(En(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function En(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Ee)||(t.globalVersion=Ee,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!Ps(t))))return;t.flags|=2;const e=t.dep,s=G,n=Tt;G=t,Tt=!0;try{Cn(t);const i=t.fn(t._value);(e.version===0||It(i,t._value))&&(t.flags|=128,t._value=i,e.version++)}catch(i){throw e.version++,i}finally{G=s,Tt=n,Tn(t),t.flags&=-3}}function Rs(t,e=!1){const{dep:s,prevSub:n,nextSub:i}=t;if(n&&(n.nextSub=i,t.prevSub=void 0),i&&(i.prevSub=n,t.nextSub=void 0),s.subs===t&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let r=s.computed.deps;r;r=r.nextDep)Rs(r,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function wr(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let Tt=!0;const An=[];function kt(){An.push(Tt),Tt=!1}function Nt(){const t=An.pop();Tt=t===void 0?!0:t}function On(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=G;G=void 0;try{e()}finally{G=s}}}let Ee=0;class Sr{constructor(e,s){this.sub=e,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ms{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!G||!Tt||G===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==G)s=this.activeLink=new Sr(G,this),G.deps?(s.prevDep=G.depsTail,G.depsTail.nextDep=s,G.depsTail=s):G.deps=G.depsTail=s,Pn(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=G.depsTail,s.nextDep=void 0,G.depsTail.nextDep=s,G.depsTail=s,G.deps===s&&(G.deps=n)}return s}trigger(e){this.version++,Ee++,this.notify(e)}notify(e){As();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Os()}}}function Pn(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let n=e.deps;n;n=n.nextDep)Pn(n)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const Is=new WeakMap,te=Symbol(""),ks=Symbol(""),Ae=Symbol("");function ft(t,e,s){if(Tt&&G){let n=Is.get(t);n||Is.set(t,n=new Map);let i=n.get(s);i||(n.set(s,i=new Ms),i.map=n,i.key=s),i.track()}}function Vt(t,e,s,n,i,r){const o=Is.get(t);if(!o){Ee++;return}const l=c=>{c&&c.trigger()};if(As(),e==="clear")o.forEach(l);else{const c=P(t),d=c&&vs(s);if(c&&s==="length"){const a=Number(n);o.forEach((p,S)=>{(S==="length"||S===Ae||!Mt(S)&&S>=a)&&l(p)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),d&&l(o.get(Ae)),e){case"add":c?d&&l(o.get("length")):(l(o.get(te)),ce(t)&&l(o.get(ks)));break;case"delete":c||(l(o.get(te)),ce(t)&&l(o.get(ks)));break;case"set":ce(t)&&l(o.get(te));break}}Os()}function fe(t){const e=L(t);return e===t?e:(ft(e,"iterate",Ae),St(t)?e:e.map(Et))}function Qe(t){return ft(t=L(t),"iterate",Ae),t}function Dt(t,e){return Wt(t)?ue(ee(t)?Et(e):e):Et(e)}const Cr={__proto__:null,[Symbol.iterator](){return Ns(this,Symbol.iterator,t=>Dt(this,t))},concat(...t){return fe(this).concat(...t.map(e=>P(e)?fe(e):e))},entries(){return Ns(this,"entries",t=>(t[1]=Dt(this,t[1]),t))},every(t,e){return Bt(this,"every",t,e,void 0,arguments)},filter(t,e){return Bt(this,"filter",t,e,s=>s.map(n=>Dt(this,n)),arguments)},find(t,e){return Bt(this,"find",t,e,s=>Dt(this,s),arguments)},findIndex(t,e){return Bt(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return Bt(this,"findLast",t,e,s=>Dt(this,s),arguments)},findLastIndex(t,e){return Bt(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return Bt(this,"forEach",t,e,void 0,arguments)},includes(...t){return Ds(this,"includes",t)},indexOf(...t){return Ds(this,"indexOf",t)},join(t){return fe(this).join(t)},lastIndexOf(...t){return Ds(this,"lastIndexOf",t)},map(t,e){return Bt(this,"map",t,e,void 0,arguments)},pop(){return Oe(this,"pop")},push(...t){return Oe(this,"push",t)},reduce(t,...e){return Rn(this,"reduce",t,e)},reduceRight(t,...e){return Rn(this,"reduceRight",t,e)},shift(){return Oe(this,"shift")},some(t,e){return Bt(this,"some",t,e,void 0,arguments)},splice(...t){return Oe(this,"splice",t)},toReversed(){return fe(this).toReversed()},toSorted(t){return fe(this).toSorted(t)},toSpliced(...t){return fe(this).toSpliced(...t)},unshift(...t){return Oe(this,"unshift",t)},values(){return Ns(this,"values",t=>Dt(this,t))}};function Ns(t,e,s){const n=Qe(t),i=n[e]();return n!==t&&!St(t)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.done||(r.value=s(r.value)),r}),i}const Tr=Array.prototype;function Bt(t,e,s,n,i,r){const o=Qe(t),l=o!==t&&!St(t),c=o[e];if(c!==Tr[e]){const p=c.apply(t,r);return l?Et(p):p}let d=s;o!==t&&(l?d=function(p,S){return s.call(this,Dt(t,p),S,t)}:s.length>2&&(d=function(p,S){return s.call(this,p,S,t)}));const a=c.call(o,d,n);return l&&i?i(a):a}function Rn(t,e,s,n){const i=Qe(t),r=i!==t&&!St(t);let o=s,l=!1;i!==t&&(r?(l=n.length===0,o=function(d,a,p){return l&&(l=!1,d=Dt(t,d)),s.call(this,d,Dt(t,a),p,t)}):s.length>3&&(o=function(d,a,p){return s.call(this,d,a,p,t)}));const c=i[e](o,...n);return l?Dt(t,c):c}function Ds(t,e,s){const n=L(t);ft(n,"iterate",Ae);const i=n[e](...s);return(i===-1||i===!1)&&Ls(s[0])?(s[0]=L(s[0]),n[e](...s)):i}function Oe(t,e,s=[]){kt(),As();const n=L(t)[e].apply(t,s);return Os(),Nt(),n}const Er=xs("__proto__,__v_isRef,__isVue"),Mn=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Mt));function Ar(t){Mt(t)||(t=String(t));const e=L(this);return ft(e,"has",t),e.hasOwnProperty(t)}class In{constructor(e=!1,s=!1){this._isReadonly=e,this._isShallow=s}get(e,s,n){if(s==="__v_skip")return e.__v_skip;const i=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return r;if(s==="__v_raw")return n===(i?r?Ln:jn:r?Fn:Dn).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const o=P(e);if(!i){let c;if(o&&(c=Cr[s]))return c;if(s==="hasOwnProperty")return Ar}const l=Reflect.get(e,s,lt(e)?e:n);if((Mt(s)?Mn.has(s):Er(s))||(i||ft(e,"get",s),r))return l;if(lt(l)){const c=o&&vs(s)?l:l.value;return i&&U(c)?js(c):c}return U(l)?i?js(l):Pe(l):l}}class kn extends In{constructor(e=!1){super(!1,e)}set(e,s,n,i){let r=e[s];const o=P(e)&&vs(s);if(!this._isShallow){const d=Wt(r);if(!St(n)&&!Wt(n)&&(r=L(r),n=L(n)),!o&<(r)&&!lt(n))return d||(r.value=n),!0}const l=o?Number(s)<e.length:H(e,s),c=Reflect.set(e,s,n,lt(e)?e:i);return e===L(i)&&(l?It(n,r)&&Vt(e,"set",s,n):Vt(e,"add",s,n)),c}deleteProperty(e,s){const n=H(e,s);e[s];const i=Reflect.deleteProperty(e,s);return i&&n&&Vt(e,"delete",s,void 0),i}has(e,s){const n=Reflect.has(e,s);return(!Mt(s)||!Mn.has(s))&&ft(e,"has",s),n}ownKeys(e){return ft(e,"iterate",P(e)?"length":te),Reflect.ownKeys(e)}}class Nn extends In{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const Or=new kn,Pr=new Nn,Rr=new kn(!0),Mr=new Nn(!0),Fs=t=>t,Ze=t=>Reflect.getPrototypeOf(t);function Ir(t,e,s){return function(...n){const i=this.__v_raw,r=L(i),o=ce(r),l=t==="entries"||t===Symbol.iterator&&o,c=t==="keys"&&o,d=i[t](...n),a=s?Fs:e?ue:Et;return!e&&ft(r,"iterate",c?ks:te),st(Object.create(d),{next(){const{value:p,done:S}=d.next();return S?{value:p,done:S}:{value:l?[a(p[0]),a(p[1])]:a(p),done:S}}})}}function ts(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function kr(t,e){const s={get(i){const r=this.__v_raw,o=L(r),l=L(i);t||(It(i,l)&&ft(o,"get",i),ft(o,"get",l));const{has:c}=Ze(o),d=e?Fs:t?ue:Et;if(c.call(o,i))return d(r.get(i));if(c.call(o,l))return d(r.get(l));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!t&&ft(L(i),"iterate",te),i.size},has(i){const r=this.__v_raw,o=L(r),l=L(i);return t||(It(i,l)&&ft(o,"has",i),ft(o,"has",l)),i===l?r.has(i):r.has(i)||r.has(l)},forEach(i,r){const o=this,l=o.__v_raw,c=L(l),d=e?Fs:t?ue:Et;return!t&&ft(c,"iterate",te),l.forEach((a,p)=>i.call(r,d(a),d(p),o))}};return st(s,t?{add:ts("add"),set:ts("set"),delete:ts("delete"),clear:ts("clear")}:{add(i){const r=L(this),o=Ze(r),l=L(i),c=!e&&!St(i)&&!Wt(i)?l:i;return o.has.call(r,c)||It(i,c)&&o.has.call(r,i)||It(l,c)&&o.has.call(r,l)||(r.add(c),Vt(r,"add",c,c)),this},set(i,r){!e&&!St(r)&&!Wt(r)&&(r=L(r));const o=L(this),{has:l,get:c}=Ze(o);let d=l.call(o,i);d||(i=L(i),d=l.call(o,i));const a=c.call(o,i);return o.set(i,r),d?It(r,a)&&Vt(o,"set",i,r):Vt(o,"add",i,r),this},delete(i){const r=L(this),{has:o,get:l}=Ze(r);let c=o.call(r,i);c||(i=L(i),c=o.call(r,i)),l&&l.call(r,i);const d=r.delete(i);return c&&Vt(r,"delete",i,void 0),d},clear(){const i=L(this),r=i.size!==0,o=i.clear();return r&&Vt(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=Ir(i,t,e)}),s}function es(t,e){const s=kr(t,e);return(n,i,r)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?n:Reflect.get(H(s,i)&&i in n?s:n,i,r)}const Nr={get:es(!1,!1)},Dr={get:es(!1,!0)},Fr={get:es(!0,!1)},jr={get:es(!0,!0)},Dn=new WeakMap,Fn=new WeakMap,jn=new WeakMap,Ln=new WeakMap;function Lr(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Pe(t){return Wt(t)?t:ss(t,!1,Or,Nr,Dn)}function Hr(t){return ss(t,!1,Rr,Dr,Fn)}function js(t){return ss(t,!0,Pr,Fr,jn)}function kc(t){return ss(t,!0,Mr,jr,Ln)}function ss(t,e,s,n,i){if(!U(t)||t.__v_raw&&!(e&&t.__v_isReactive)||t.__v_skip||!Object.isExtensible(t))return t;const r=i.get(t);if(r)return r;const o=Lr(ar(t));if(o===0)return t;const l=new Proxy(t,o===2?n:s);return i.set(t,l),l}function ee(t){return Wt(t)?ee(t.__v_raw):!!(t&&t.__v_isReactive)}function Wt(t){return!!(t&&t.__v_isReadonly)}function St(t){return!!(t&&t.__v_isShallow)}function Ls(t){return t?!!t.__v_raw:!1}function L(t){const e=t&&t.__v_raw;return e?L(e):t}function $r(t){return!H(t,"__v_skip")&&Object.isExtensible(t)&&gn(t,"__v_skip",!0),t}const Et=t=>U(t)?Pe(t):t,ue=t=>U(t)?js(t):t;function lt(t){return t?t.__v_isRef===!0:!1}function at(t){return Ur(t,!1)}function Ur(t,e){return lt(t)?t:new Kr(t,e)}class Kr{constructor(e,s){this.dep=new Ms,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:L(e),this._value=s?e:Et(e),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(e){const s=this._rawValue,n=this.__v_isShallow||St(e)||Wt(e);e=n?e:L(e),It(e,s)&&(this._rawValue=e,this._value=n?e:Et(e),this.dep.trigger())}}function Hn(t){return lt(t)?t.value:t}const Vr={get:(t,e,s)=>e==="__v_raw"?t:Hn(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const i=t[e];return lt(i)&&!lt(s)?(i.value=s,!0):Reflect.set(t,e,s,n)}};function $n(t){return ee(t)?t:new Proxy(t,Vr)}class Br{constructor(e,s,n){this.fn=e,this.setter=s,this._value=void 0,this.dep=new Ms(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ee-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&G!==this)return Sn(this,!0),!0}get value(){const e=this.dep.track();return En(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Wr(t,e,s=!1){let n,i;return N(t)?n=t:(n=t.get,i=t.set),new Br(n,i,s)}const ns={},is=new WeakMap;let se;function zr(t,e=!1,s=se){if(s){let n=is.get(s);n||is.set(s,n=[]),n.push(t)}}function qr(t,e,s=z){const{immediate:n,deep:i,once:r,scheduler:o,augmentJob:l,call:c}=s,d=M=>i?M:St(M)||i===!1||i===0?zt(M,1):zt(M);let a,p,S,C,$=!1,E=!1;if(lt(t)?(p=()=>t.value,$=St(t)):ee(t)?(p=()=>d(t),$=!0):P(t)?(E=!0,$=t.some(M=>ee(M)||St(M)),p=()=>t.map(M=>{if(lt(M))return M.value;if(ee(M))return d(M);if(N(M))return c?c(M,2):M()})):N(t)?e?p=c?()=>c(t,2):t:p=()=>{if(S){kt();try{S()}finally{Nt()}}const M=se;se=a;try{return c?c(t,3,[C]):t(C)}finally{se=M}}:p=Rt,e&&i){const M=p,Y=i===!0?1/0:i;p=()=>zt(M(),Y)}const Q=vr(),K=()=>{a.stop(),Q&&Q.active&&ys(Q.effects,a)};if(r&&e){const M=e;e=(...Y)=>{M(...Y),K()}}let F=E?new Array(t.length).fill(ns):ns;const V=M=>{if(!(!(a.flags&1)||!a.dirty&&!M))if(e){const Y=a.run();if(i||$||(E?Y.some((yt,gt)=>It(yt,F[gt])):It(Y,F))){S&&S();const yt=se;se=a;try{const gt=[Y,F===ns?void 0:E&&F[0]===ns?[]:F,C];F=Y,c?c(e,3,gt):e(...gt)}finally{se=yt}}}else a.run()};return l&&l(V),a=new vn(p),a.scheduler=o?()=>o(V,!1):V,C=M=>zr(M,!1,a),S=a.onStop=()=>{const M=is.get(a);if(M){if(c)c(M,4);else for(const Y of M)Y();is.delete(a)}},e?n?V(!0):F=a.run():o?o(V.bind(null,!0),!0):a.run(),K.pause=a.pause.bind(a),K.resume=a.resume.bind(a),K.stop=K,K}function zt(t,e=1/0,s){if(e<=0||!U(t)||t.__v_skip||(s=s||new Map,(s.get(t)||0)>=e))return t;if(s.set(t,e),e--,lt(t))zt(t.value,e,s);else if(P(t))for(let n=0;n<t.length;n++)zt(t[n],e,s);else if(un(t)||ce(t))t.forEach(n=>{zt(n,e,s)});else if(Ge(t)){for(const n in t)zt(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&zt(t[n],e,s)}return t}/**
|
|
10
10
|
* @vue/runtime-core v3.5.35
|
|
11
11
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
12
|
* @license MIT
|
|
13
|
-
**/const
|
|
13
|
+
**/const Re=[];let Hs=!1;function Nc(t,...e){if(Hs)return;Hs=!0,kt();const s=Re.length?Re[Re.length-1].component:null,n=s&&s.appContext.config.warnHandler,i=Gr();if(n)ae(n,s,11,[t+e.map(r=>{var o,l;return(l=(o=r.toString)==null?void 0:o.call(r))!=null?l:JSON.stringify(r)}).join(""),s&&s.proxy,i.map(({vnode:r})=>`at <${ji(s,r.type)}>`).join(`
|
|
14
14
|
`),i]);else{const r=[`[Vue warn]: ${t}`,...e];i.length&&r.push(`
|
|
15
|
-
`,...
|
|
16
|
-
`],...Xr(s))}),e}function Xr({vnode:t,recurseCount:e}){const s=e>0?`... (${e} recursive calls)`:"",n=t.component?t.component.parent==null:!1,i=` at <${ji(t.component,t.type,n)}`,r=">"+s;return t.props?[i,...zr(t.props),r]:[i+r]}function zr(t){const e=[],s=Object.keys(t);return s.slice(0,3).forEach(n=>{e.push(...Kn(n,t[n]))}),s.length>3&&e.push(" ..."),e}function Kn(t,e,s){return X(e)?(e=JSON.stringify(e),s?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?s?e:[`${t}=${e}`]:it(e)?(e=Kn(t,H(e.value),!0),s?e:[`${t}=Ref<`,e,">"]):D(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=H(e),s?e:[`${t}=`,e])}function ae(t,e,s,n){try{return n?t(...n):t()}catch(i){is(i,e,s)}}function St(t,e,s,n){if(D(t)){const i=ae(t,e,s,n);return i&&an(i)&&i.catch(r=>{is(r,e,s)}),i}if(R(t)){const i=[];for(let r=0;r<t.length;r++)i.push(St(t[r],e,s,n));return i}}function is(t,e,s,n=!0){const i=e?e.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=e&&e.appContext.config||k;if(e){let l=e.parent;const c=e.proxy,d=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const a=l.ec;if(a){for(let p=0;p<a.length;p++)if(a[p](t,c,d)===!1)return}l=l.parent}if(r){At(),ae(r,null,10,[t,c,d]),Pt();return}}Qr(t,s,i,n,o)}function Qr(t,e,s,n=!0,i=!1){if(i)throw t;console.error(t)}const ft=[];let Rt=-1;const de=[];let Gt=null,he=0;const Un=Promise.resolve();let rs=null;function Vn(t){const e=rs||Un;return t?e.then(this?t.bind(this):t):e}function Zr(t){let e=Rt+1,s=ft.length;for(;e<s;){const n=e+s>>>1,i=ft[n],r=Re(i);r<t||r===t&&i.flags&2?e=n+1:s=n}return e}function $s(t){if(!(t.flags&1)){const e=Re(t),s=ft[ft.length-1];!s||!(t.flags&2)&&e>=Re(s)?ft.push(t):ft.splice(Zr(e),0,t),t.flags|=1,Bn()}}function Bn(){rs||(rs=Un.then(qn))}function to(t){R(t)?de.push(...t):Gt&&t.id===-1?Gt.splice(he+1,0,t):t.flags&1||(de.push(t),t.flags|=1),Bn()}function kn(t,e,s=Rt+1){for(;s<ft.length;s++){const n=ft[s];if(n&&n.flags&2){if(t&&n.id!==t.uid)continue;ft.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Wn(t){if(de.length){const e=[...new Set(de)].sort((s,n)=>Re(s)-Re(n));if(de.length=0,Gt){Gt.push(...e);return}for(Gt=e,he=0;he<Gt.length;he++){const s=Gt[he];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Gt=null,he=0}}const Re=t=>t.id==null?t.flags&2?-1:1/0:t.id;function qn(t){try{for(Rt=0;Rt<ft.length;Rt++){const e=ft[Rt];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),ae(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Rt<ft.length;Rt++){const e=ft[Rt];e&&(e.flags&=-2)}Rt=-1,ft.length=0,Wn(),rs=null,(ft.length||de.length)&&qn()}}let vt=null,Gn=null;function os(t){const e=vt;return vt=t,Gn=t&&t.type.__scopeId||null,e}function eo(t,e=vt,s){if(!e||t._n)return t;const n=(...i)=>{n._d&&Pi(-1);const r=os(e);let o;try{o=t(...i)}finally{os(r),n._d&&Pi(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function so(t,e){if(vt===null)return t;const s=gs(vt),n=t.dirs||(t.dirs=[]);for(let i=0;i<e.length;i++){let[r,o,l,c=k]=e[i];r&&(D(r)&&(r={mounted:r,updated:r}),r.deep&&Bt(o),n.push({dir:r,instance:s,value:o,oldValue:void 0,arg:l,modifiers:c}))}return t}function te(t,e,s,n){const i=t.dirs,r=e&&e.dirs;for(let o=0;o<i.length;o++){const l=i[o];r&&(l.oldValue=r[o].value);let c=l.dir[n];c&&(At(),St(c,s,8,[t.el,l,t,e]),Pt())}}function no(t,e){if(at){let s=at.provides;const n=at.parent&&at.parent.provides;n===s&&(s=at.provides=Object.create(n)),s[t]=e}}function ls(t,e,s=!1){const n=nl();if(n||pe){let i=pe?pe._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(i&&t in i)return i[t];if(arguments.length>1)return s&&D(e)?e.call(n&&n.proxy):e}}const io=Symbol.for("v-scx"),ro=()=>ls(io);function Ks(t,e,s){return Jn(t,e,s)}function Jn(t,e,s=k){const{immediate:n,deep:i,flush:r,once:o}=s,l=Z({},s),c=e&&n||!e&&r!=="post";let d;if($e){if(r==="sync"){const E=ro();d=E.__watcherHandles||(E.__watcherHandles=[])}else if(!c){const E=()=>{};return E.stop=Ct,E.resume=Ct,E.pause=Ct,E}}const a=at;l.call=(E,$,I)=>St(E,a,$,I);let p=!1;r==="post"?l.scheduler=E=>{ht(E,a&&a.suspense)}:r!=="sync"&&(p=!0,l.scheduler=(E,$)=>{$?E():$s(E)}),l.augmentJob=E=>{e&&(E.flags|=4),p&&(E.flags|=2,a&&(E.id=a.uid,E.i=a))};const w=Gr(t,e,l);return $e&&(d?d.push(w):c&&w()),w}function oo(t,e,s){const n=this.proxy,i=X(t)?t.includes(".")?Yn(n,t):()=>n[t]:t.bind(n,n);let r;D(e)?r=e:(r=e.handler,s=e);const o=He(this),l=Jn(i,r.bind(n),s);return o(),l}function Yn(t,e){const s=e.split(".");return()=>{let n=t;for(let i=0;i<s.length&&n;i++)n=n[s[i]];return n}}const lo=Symbol("_vte"),co=t=>t.__isTeleport,Us=Symbol("_leaveCb");function Vs(t,e){t.shapeFlag&6&&t.component?(t.transition=e,Vs(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Xn(t,e){return D(t)?Z({name:t.name},e,{setup:t}):t}function zn(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Qn(t,e){let s;return!!((s=Object.getOwnPropertyDescriptor(t,e))&&!s.configurable)}const cs=new WeakMap;function Me(t,e,s,n,i=!1){if(R(t)){t.forEach((I,Q)=>Me(I,e&&(R(e)?e[Q]:e),s,n,i));return}if(Ie(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Me(t,e,s,n.component.subTree);return}const r=n.shapeFlag&4?gs(n.component):n.el,o=i?null:r,{i:l,r:c}=t,d=e&&e.r,a=l.refs===k?l.refs={}:l.refs,p=l.setupState,w=H(p),E=p===k?cn:I=>Qn(a,I)?!1:K(w,I),$=(I,Q)=>!(Q&&Qn(a,Q));if(d!=null&&d!==c){if(Zn(e),X(d))a[d]=null,E(d)&&(p[d]=null);else if(it(d)){const I=e;$(d,I.k)&&(d.value=null),I.k&&(a[I.k]=null)}}if(D(c))ae(c,l,12,[o,a]);else{const I=X(c),Q=it(c);if(I||Q){const J=()=>{if(t.f){const j=I?E(c)?p[c]:a[c]:$()||!t.k?c.value:a[t.k];if(i)R(j)&&ys(j,r);else if(R(j))j.includes(r)||j.push(r);else if(I)a[c]=[r],E(c)&&(p[c]=a[c]);else{const U=[r];$(c,t.k)&&(c.value=U),t.k&&(a[t.k]=U)}}else I?(a[c]=o,E(c)&&(p[c]=o)):Q&&($(c,t.k)&&(c.value=o),t.k&&(a[t.k]=o))};if(o){const j=()=>{J(),cs.delete(t)};j.id=-1,cs.set(t,j),ht(j,s)}else Zn(t),J()}}}function Zn(t){const e=cs.get(t);e&&(e.flags|=8,cs.delete(t))}Xe().requestIdleCallback,Xe().cancelIdleCallback;const Ie=t=>!!t.type.__asyncLoader,ti=t=>t.type.__isKeepAlive;function fo(t,e){ei(t,"a",e)}function uo(t,e){ei(t,"da",e)}function ei(t,e,s=at){const n=t.__wdc||(t.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(fs(e,n,s),s){let i=s.parent;for(;i&&i.parent;)ti(i.parent.vnode)&&ao(n,e,s,i),i=i.parent}}function ao(t,e,s,n){const i=fs(e,t,n,!0);Bs(()=>{ys(n[e],i)},s)}function fs(t,e,s=at,n=!1){if(s){const i=s[t]||(s[t]=[]),r=e.__weh||(e.__weh=(...o)=>{At();const l=He(s),c=St(e,s,t,o);return l(),Pt(),c});return n?i.unshift(r):i.push(r),r}}const kt=t=>(e,s=at)=>{(!$e||t==="sp")&&fs(t,(...n)=>e(...n),s)},ho=kt("bm"),si=kt("m"),po=kt("bu"),go=kt("u"),_o=kt("bum"),Bs=kt("um"),bo=kt("sp"),mo=kt("rtg"),yo=kt("rtc");function vo(t,e=at){fs("ec",t,e)}const xo=Symbol.for("v-ndc");function ee(t,e,s,n){let i;const r=s,o=R(t);if(o||X(t)){const l=o&&Qt(t);let c=!1,d=!1;l&&(c=!yt(t),d=Vt(t),t=ze(t)),i=new Array(t.length);for(let a=0,p=t.length;a<p;a++)i[a]=e(c?d?ue(wt(t[a])):wt(t[a]):t[a],a,void 0,r)}else if(typeof t=="number"){i=new Array(t);for(let l=0;l<t;l++)i[l]=e(l+1,l,void 0,r)}else if(V(t))if(t[Symbol.iterator])i=Array.from(t,(l,c)=>e(l,c,void 0,r));else{const l=Object.keys(t);i=new Array(l.length);for(let c=0,d=l.length;c<d;c++){const a=l[c];i[c]=e(t[a],a,c,r)}}else i=[];return i}const ks=t=>t?Ni(t)?gs(t):ks(t.parent):null,Ne=Z(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>ks(t.parent),$root:t=>ks(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>oi(t),$forceUpdate:t=>t.f||(t.f=()=>{$s(t.update)}),$nextTick:t=>t.n||(t.n=Vn.bind(t.proxy)),$watch:t=>oo.bind(t)}),Ws=(t,e)=>t!==k&&!t.__isScriptSetup&&K(t,e),wo={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:r,accessCache:o,type:l,appContext:c}=t;if(e[0]!=="$"){const w=o[e];if(w!==void 0)switch(w){case 1:return n[e];case 2:return i[e];case 4:return s[e];case 3:return r[e]}else{if(Ws(n,e))return o[e]=1,n[e];if(i!==k&&K(i,e))return o[e]=2,i[e];if(K(r,e))return o[e]=3,r[e];if(s!==k&&K(s,e))return o[e]=4,s[e];qs&&(o[e]=0)}}const d=Ne[e];let a,p;if(d)return e==="$attrs"&&ot(t.attrs,"get",""),d(t);if((a=l.__cssModules)&&(a=a[e]))return a;if(s!==k&&K(s,e))return o[e]=4,s[e];if(p=c.config.globalProperties,K(p,e))return p[e]},set({_:t},e,s){const{data:n,setupState:i,ctx:r}=t;return Ws(i,e)?(i[e]=s,!0):n!==k&&K(n,e)?(n[e]=s,!0):K(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(r[e]=s,!0)},has({_:{data:t,setupState:e,accessCache:s,ctx:n,appContext:i,props:r,type:o}},l){let c;return!!(s[l]||t!==k&&l[0]!=="$"&&K(t,l)||Ws(e,l)||K(r,l)||K(n,l)||K(Ne,l)||K(i.config.globalProperties,l)||(c=o.__cssModules)&&c[l])},defineProperty(t,e,s){return s.get!=null?t._.accessCache[e]=0:K(s,"value")&&this.set(t,e,s.value,null),Reflect.defineProperty(t,e,s)}};function ni(t){return R(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}let qs=!0;function So(t){const e=oi(t),s=t.proxy,n=t.ctx;qs=!1,e.beforeCreate&&ii(e.beforeCreate,t,"bc");const{data:i,computed:r,methods:o,watch:l,provide:c,inject:d,created:a,beforeMount:p,mounted:w,beforeUpdate:E,updated:$,activated:I,deactivated:Q,beforeDestroy:J,beforeUnmount:j,destroyed:U,unmounted:P,render:z,renderTracked:Dt,renderTriggered:pt,errorCaptured:gt,serverPrefetch:Yt,expose:Ft,inheritAttrs:ne,components:ye,directives:ie,filters:Ue}=e;if(d&&Co(d,n,null),o)for(const T in o){const S=o[T];D(S)&&(n[T]=S.bind(s))}if(i){const T=i.call(s,s);V(T)&&(t.data=Pe(T))}if(qs=!0,r)for(const T in r){const S=r[T],st=D(S)?S.bind(s,s):D(S.get)?S.get.bind(s,s):Ct,re=!D(S)&&D(S.set)?S.set.bind(s):Ct,oe=Li({get:st,set:re});Object.defineProperty(n,T,{enumerable:!0,configurable:!0,get:()=>oe.value,set:jt=>oe.value=jt})}if(l)for(const T in l)ri(l[T],n,s,T);if(c){const T=D(c)?c.call(s):c;Reflect.ownKeys(T).forEach(S=>{no(S,T[S])})}a&&ii(a,t,"c");function F(T,S){R(S)?S.forEach(st=>T(st.bind(s))):S&&T(S.bind(s))}if(F(ho,p),F(si,w),F(po,E),F(go,$),F(fo,I),F(uo,Q),F(vo,gt),F(yo,Dt),F(mo,pt),F(_o,j),F(Bs,P),F(bo,Yt),R(Ft))if(Ft.length){const T=t.exposed||(t.exposed={});Ft.forEach(S=>{Object.defineProperty(T,S,{get:()=>s[S],set:st=>s[S]=st,enumerable:!0})})}else t.exposed||(t.exposed={});z&&t.render===Ct&&(t.render=z),ne!=null&&(t.inheritAttrs=ne),ye&&(t.components=ye),ie&&(t.directives=ie),Yt&&zn(t)}function Co(t,e,s=Ct){R(t)&&(t=Gs(t));for(const n in t){const i=t[n];let r;V(i)?"default"in i?r=ls(i.from||n,i.default,!0):r=ls(i.from||n):r=ls(i),it(r)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):e[n]=r}}function ii(t,e,s){St(R(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,s)}function ri(t,e,s,n){let i=n.includes(".")?Yn(s,n):()=>s[n];if(X(t)){const r=e[t];D(r)&&Ks(i,r)}else if(D(t))Ks(i,t.bind(s));else if(V(t))if(R(t))t.forEach(r=>ri(r,e,s,n));else{const r=D(t.handler)?t.handler.bind(s):e[t.handler];D(r)&&Ks(i,r,t)}}function oi(t){const e=t.type,{mixins:s,extends:n}=e,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=t.appContext,l=r.get(e);let c;return l?c=l:!i.length&&!s&&!n?c=e:(c={},i.length&&i.forEach(d=>us(c,d,o,!0)),us(c,e,o)),V(e)&&r.set(e,c),c}function us(t,e,s,n=!1){const{mixins:i,extends:r}=e;r&&us(t,r,s,!0),i&&i.forEach(o=>us(t,o,s,!0));for(const o in e)if(!(n&&o==="expose")){const l=To[o]||s&&s[o];t[o]=l?l(t[o],e[o]):e[o]}return t}const To={data:li,props:ci,emits:ci,methods:De,computed:De,beforeCreate:ut,created:ut,beforeMount:ut,mounted:ut,beforeUpdate:ut,updated:ut,beforeDestroy:ut,beforeUnmount:ut,destroyed:ut,unmounted:ut,activated:ut,deactivated:ut,errorCaptured:ut,serverPrefetch:ut,components:De,directives:De,watch:Ao,provide:li,inject:Eo};function li(t,e){return e?t?function(){return Z(D(t)?t.call(this,this):t,D(e)?e.call(this,this):e)}:e:t}function Eo(t,e){return De(Gs(t),Gs(e))}function Gs(t){if(R(t)){const e={};for(let s=0;s<t.length;s++)e[t[s]]=t[s];return e}return t}function ut(t,e){return t?[...new Set([].concat(t,e))]:e}function De(t,e){return t?Z(Object.create(null),t,e):e}function ci(t,e){return t?R(t)&&R(e)?[...new Set([...t,...e])]:Z(Object.create(null),ni(t),ni(e??{})):e}function Ao(t,e){if(!t)return e;if(!e)return t;const s=Z(Object.create(null),t);for(const n in e)s[n]=ut(t[n],e[n]);return s}function fi(){return{app:null,config:{isNativeTag:cn,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Po=0;function Oo(t,e){return function(n,i=null){D(n)||(n=Z({},n)),i!=null&&!V(i)&&(i=null);const r=fi(),o=new WeakSet,l=[];let c=!1;const d=r.app={_uid:Po++,_component:n,_props:i,_container:null,_context:r,_instance:null,version:dl,get config(){return r.config},set config(a){},use(a,...p){return o.has(a)||(a&&D(a.install)?(o.add(a),a.install(d,...p)):D(a)&&(o.add(a),a(d,...p))),d},mixin(a){return r.mixins.includes(a)||r.mixins.push(a),d},component(a,p){return p?(r.components[a]=p,d):r.components[a]},directive(a,p){return p?(r.directives[a]=p,d):r.directives[a]},mount(a,p,w){if(!c){const E=d._ceVNode||Mt(n,i);return E.appContext=r,w===!0?w="svg":w===!1&&(w=void 0),t(E,a,w),c=!0,d._container=a,a.__vue_app__=d,gs(E.component)}},onUnmount(a){l.push(a)},unmount(){c&&(St(l,d._instance,16),t(null,d._container),delete d._container.__vue_app__)},provide(a,p){return r.provides[a]=p,d},runWithContext(a){const p=pe;pe=d;try{return a()}finally{pe=p}}};return d}}let pe=null;const Ro=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${dt(e)}Modifiers`]||t[`${_t(e)}Modifiers`];function Mo(t,e,...s){if(t.isUnmounted)return;const n=t.vnode.props||k;let i=s;const r=e.startsWith("update:"),o=r&&Ro(n,e.slice(7));o&&(o.trim&&(i=s.map(a=>X(a)?a.trim():a)),o.number&&(i=s.map(ws)));let l,c=n[l=xs(e)]||n[l=xs(dt(e))];!c&&r&&(c=n[l=xs(_t(e))]),c&&St(c,t,6,i);const d=n[l+"Once"];if(d){if(!t.emitted)t.emitted={};else if(t.emitted[l])return;t.emitted[l]=!0,St(d,t,6,i)}}const Io=new WeakMap;function ui(t,e,s=!1){const n=s?Io:e.emitsCache,i=n.get(t);if(i!==void 0)return i;const r=t.emits;let o={},l=!1;if(!D(t)){const c=d=>{const a=ui(d,e,!0);a&&(l=!0,Z(o,a))};!s&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}return!r&&!l?(V(t)&&n.set(t,null),null):(R(r)?r.forEach(c=>o[c]=null):Z(o,r),V(t)&&n.set(t,o),o)}function as(t,e){return!t||!We(e)?!1:(e=e.slice(2).replace(/Once$/,""),K(t,e[0].toLowerCase()+e.slice(1))||K(t,_t(e))||K(t,e))}function Dc(){}function ai(t){const{type:e,vnode:s,proxy:n,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:c,render:d,renderCache:a,props:p,data:w,setupState:E,ctx:$,inheritAttrs:I}=t,Q=os(t);let J,j;try{if(s.shapeFlag&4){const P=i||n,z=P;J=It(d.call(z,P,a,p,E,w,$)),j=l}else{const P=e;J=It(P.length>1?P(p,{attrs:l,slots:o,emit:c}):P(p,null)),j=e.props?l:No(l)}}catch(P){Fe.length=0,is(P,t,1),J=Mt(Jt)}let U=J;if(j&&I!==!1){const P=Object.keys(j),{shapeFlag:z}=U;P.length&&z&7&&(r&&P.some(qe)&&(j=Do(j,r)),U=ge(U,j,!1,!0))}return s.dirs&&(U=ge(U,null,!1,!0),U.dirs=U.dirs?U.dirs.concat(s.dirs):s.dirs),s.transition&&Vs(U,s.transition),J=U,os(Q),J}const No=t=>{let e;for(const s in t)(s==="class"||s==="style"||We(s))&&((e||(e={}))[s]=t[s]);return e},Do=(t,e)=>{const s={};for(const n in t)(!qe(n)||!(n.slice(9)in e))&&(s[n]=t[n]);return s};function Fo(t,e,s){const{props:n,children:i,component:r}=t,{props:o,children:l,patchFlag:c}=e,d=r.emitsOptions;if(e.dirs||e.transition)return!0;if(s&&c>=0){if(c&1024)return!0;if(c&16)return n?di(n,o,d):!!o;if(c&8){const a=e.dynamicProps;for(let p=0;p<a.length;p++){const w=a[p];if(hi(o,n,w)&&!as(d,w))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:n===o?!1:n?o?di(n,o,d):!0:!!o;return!1}function di(t,e,s){const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(let i=0;i<n.length;i++){const r=n[i];if(hi(e,t,r)&&!as(s,r))return!0}return!1}function hi(t,e,s){const n=t[s],i=e[s];return s==="style"&&V(n)&&V(i)?!Ss(n,i):n!==i}function jo({vnode:t,parent:e,suspense:s},n){for(;e;){const i=e.subTree;if(i.suspense&&i.suspense.activeBranch===t&&(i.suspense.vnode.el=i.el=n,t=i),i===t)(t=e.vnode).el=n,e=e.parent;else break}s&&s.activeBranch===t&&(s.vnode.el=n)}const pi={},gi=()=>Object.create(pi),_i=t=>Object.getPrototypeOf(t)===pi;function Lo(t,e,s,n=!1){const i={},r=gi();t.propsDefaults=Object.create(null),bi(t,e,i,r);for(const o in t.propsOptions[0])o in i||(i[o]=void 0);s?t.props=n?i:$r(i):t.type.props?t.props=i:t.props=r,t.attrs=r}function Ho(t,e,s,n){const{props:i,attrs:r,vnode:{patchFlag:o}}=t,l=H(i),[c]=t.propsOptions;let d=!1;if((n||o>0)&&!(o&16)){if(o&8){const a=t.vnode.dynamicProps;for(let p=0;p<a.length;p++){let w=a[p];if(as(t.emitsOptions,w))continue;const E=e[w];if(c)if(K(r,w))E!==r[w]&&(r[w]=E,d=!0);else{const $=dt(w);i[$]=Js(c,l,$,E,t,!1)}else E!==r[w]&&(r[w]=E,d=!0)}}}else{bi(t,e,i,r)&&(d=!0);let a;for(const p in l)(!e||!K(e,p)&&((a=_t(p))===p||!K(e,a)))&&(c?s&&(s[p]!==void 0||s[a]!==void 0)&&(i[p]=Js(c,l,p,void 0,t,!0)):delete i[p]);if(r!==l)for(const p in r)(!e||!K(e,p))&&(delete r[p],d=!0)}d&&Kt(t.attrs,"set","")}function bi(t,e,s,n){const[i,r]=t.propsOptions;let o=!1,l;if(e)for(let c in e){if(xe(c))continue;const d=e[c];let a;i&&K(i,a=dt(c))?!r||!r.includes(a)?s[a]=d:(l||(l={}))[a]=d:as(t.emitsOptions,c)||(!(c in n)||d!==n[c])&&(n[c]=d,o=!0)}if(r){const c=H(s),d=l||k;for(let a=0;a<r.length;a++){const p=r[a];s[p]=Js(i,c,p,d[p],t,!K(d,p))}}return o}function Js(t,e,s,n,i,r){const o=t[s];if(o!=null){const l=K(o,"default");if(l&&n===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&D(c)){const{propsDefaults:d}=i;if(s in d)n=d[s];else{const a=He(i);n=d[s]=c.call(null,e),a()}}else n=c;i.ce&&i.ce._setProp(s,n)}o[0]&&(r&&!l?n=!1:o[1]&&(n===""||n===_t(s))&&(n=!0))}return n}const $o=new WeakMap;function mi(t,e,s=!1){const n=s?$o:e.propsCache,i=n.get(t);if(i)return i;const r=t.props,o={},l=[];let c=!1;if(!D(t)){const a=p=>{c=!0;const[w,E]=mi(p,e,!0);Z(o,w),E&&l.push(...E)};!s&&e.mixins.length&&e.mixins.forEach(a),t.extends&&a(t.extends),t.mixins&&t.mixins.forEach(a)}if(!r&&!c)return V(t)&&n.set(t,le),le;if(R(r))for(let a=0;a<r.length;a++){const p=dt(r[a]);yi(p)&&(o[p]=k)}else if(r)for(const a in r){const p=dt(a);if(yi(p)){const w=r[a],E=o[p]=R(w)||D(w)?{type:w}:Z({},w),$=E.type;let I=!1,Q=!0;if(R($))for(let J=0;J<$.length;++J){const j=$[J],U=D(j)&&j.name;if(U==="Boolean"){I=!0;break}else U==="String"&&(Q=!1)}else I=D($)&&$.name==="Boolean";E[0]=I,E[1]=Q,(I||K(E,"default"))&&l.push(p)}}const d=[o,l];return V(t)&&n.set(t,d),d}function yi(t){return t[0]!=="$"&&!xe(t)}const Ys=t=>t==="_"||t==="_ctx"||t==="$stable",Xs=t=>R(t)?t.map(It):[It(t)],Ko=(t,e,s)=>{if(e._n)return e;const n=eo((...i)=>Xs(e(...i)),s);return n._c=!1,n},vi=(t,e,s)=>{const n=t._ctx;for(const i in t){if(Ys(i))continue;const r=t[i];if(D(r))e[i]=Ko(i,r,n);else if(r!=null){const o=Xs(r);e[i]=()=>o}}},xi=(t,e)=>{const s=Xs(e);t.slots.default=()=>s},wi=(t,e,s)=>{for(const n in e)(s||!Ys(n))&&(t[n]=e[n])},Uo=(t,e,s)=>{const n=t.slots=gi();if(t.vnode.shapeFlag&32){const i=e._;i?(wi(n,e,s),s&&pn(n,"_",i,!0)):vi(e,n)}else e&&xi(t,e)},Vo=(t,e,s)=>{const{vnode:n,slots:i}=t;let r=!0,o=k;if(n.shapeFlag&32){const l=e._;l?s&&l===1?r=!1:wi(i,e,s):(r=!e.$stable,vi(e,i)),o=e}else e&&(xi(t,e),o={default:1});if(r)for(const l in i)!Ys(l)&&o[l]==null&&delete i[l]},ht=Go;function Bo(t){return ko(t)}function ko(t,e){const s=Xe();s.__VUE__=!0;const{insert:n,remove:i,patchProp:r,createElement:o,createText:l,createComment:c,setText:d,setElementText:a,parentNode:p,nextSibling:w,setScopeId:E=Ct,insertStaticContent:$}=t,I=(f,u,h,m=null,_=null,g=null,x=void 0,v=null,y=!!u.dynamicChildren)=>{if(f===u)return;f&&!Le(f,u)&&(m=bs(f),jt(f,_,g,!0),f=null),u.patchFlag===-2&&(y=!1,u.dynamicChildren=null);const{type:b,ref:O,shapeFlag:C}=u;switch(b){case ds:Q(f,u,h,m);break;case Jt:J(f,u,h,m);break;case Qs:f==null&&j(u,h,m,x);break;case lt:ye(f,u,h,m,_,g,x,v,y);break;default:C&1?z(f,u,h,m,_,g,x,v,y):C&6?ie(f,u,h,m,_,g,x,v,y):(C&64||C&128)&&b.process(f,u,h,m,_,g,x,v,y,Be)}O!=null&&_?Me(O,f&&f.ref,g,u||f,!u):O==null&&f&&f.ref!=null&&Me(f.ref,null,g,f,!0)},Q=(f,u,h,m)=>{if(f==null)n(u.el=l(u.children),h,m);else{const _=u.el=f.el;u.children!==f.children&&d(_,u.children)}},J=(f,u,h,m)=>{f==null?n(u.el=c(u.children||""),h,m):u.el=f.el},j=(f,u,h,m)=>{[f.el,f.anchor]=$(f.children,u,h,m,f.el,f.anchor)},U=({el:f,anchor:u},h,m)=>{let _;for(;f&&f!==u;)_=w(f),n(f,h,m),f=_;n(u,h,m)},P=({el:f,anchor:u})=>{let h;for(;f&&f!==u;)h=w(f),i(f),f=h;i(u)},z=(f,u,h,m,_,g,x,v,y)=>{if(u.type==="svg"?x="svg":u.type==="math"&&(x="mathml"),f==null)Dt(u,h,m,_,g,x,v,y);else{const b=f.el&&f.el._isVueCE?f.el:null;try{b&&b._beginPatch(),Yt(f,u,_,g,x,v,y)}finally{b&&b._endPatch()}}},Dt=(f,u,h,m,_,g,x,v)=>{let y,b;const{props:O,shapeFlag:C,transition:A,dirs:N}=f;if(y=f.el=o(f.type,g,O&&O.is,O),C&8?a(y,f.children):C&16&>(f.children,y,null,m,_,zs(f,g),x,v),N&&te(f,null,m,"created"),pt(y,f,f.scopeId,x,m),O){for(const W in O)W!=="value"&&!xe(W)&&r(y,W,null,O[W],g,m);"value"in O&&r(y,"value",null,O.value,g),(b=O.onVnodeBeforeMount)&&Nt(b,m,f)}N&&te(f,null,m,"beforeMount");const L=Wo(_,A);L&&A.beforeEnter(y),n(y,u,h),((b=O&&O.onVnodeMounted)||L||N)&&ht(()=>{try{b&&Nt(b,m,f),L&&A.enter(y),N&&te(f,null,m,"mounted")}finally{}},_)},pt=(f,u,h,m,_)=>{if(h&&E(f,h),m)for(let g=0;g<m.length;g++)E(f,m[g]);if(_){let g=_.subTree;if(u===g||Ai(g.type)&&(g.ssContent===u||g.ssFallback===u)){const x=_.vnode;pt(f,x,x.scopeId,x.slotScopeIds,_.parent)}}},gt=(f,u,h,m,_,g,x,v,y=0)=>{for(let b=y;b<f.length;b++){const O=f[b]=v?Wt(f[b]):It(f[b]);I(null,O,u,h,m,_,g,x,v)}},Yt=(f,u,h,m,_,g,x)=>{const v=u.el=f.el;let{patchFlag:y,dynamicChildren:b,dirs:O}=u;y|=f.patchFlag&16;const C=f.props||k,A=u.props||k;let N;if(h&&se(h,!1),(N=A.onVnodeBeforeUpdate)&&Nt(N,h,u,f),O&&te(u,f,h,"beforeUpdate"),h&&se(h,!0),(C.innerHTML&&A.innerHTML==null||C.textContent&&A.textContent==null)&&a(v,""),b?Ft(f.dynamicChildren,b,v,h,m,zs(u,_),g):x||S(f,u,v,null,h,m,zs(u,_),g,!1),y>0){if(y&16)ne(v,C,A,h,_);else if(y&2&&C.class!==A.class&&r(v,"class",null,A.class,_),y&4&&r(v,"style",C.style,A.style,_),y&8){const L=u.dynamicProps;for(let W=0;W<L.length;W++){const B=L[W],et=C[B],rt=A[B];(rt!==et||B==="value")&&r(v,B,et,rt,_,h)}}y&1&&f.children!==u.children&&a(v,u.children)}else!x&&b==null&&ne(v,C,A,h,_);((N=A.onVnodeUpdated)||O)&&ht(()=>{N&&Nt(N,h,u,f),O&&te(u,f,h,"updated")},m)},Ft=(f,u,h,m,_,g,x)=>{for(let v=0;v<u.length;v++){const y=f[v],b=u[v],O=y.el&&(y.type===lt||!Le(y,b)||y.shapeFlag&198)?p(y.el):h;I(y,b,O,null,m,_,g,x,!0)}},ne=(f,u,h,m,_)=>{if(u!==h){if(u!==k)for(const g in u)!xe(g)&&!(g in h)&&r(f,g,u[g],null,_,m);for(const g in h){if(xe(g))continue;const x=h[g],v=u[g];x!==v&&g!=="value"&&r(f,g,v,x,_,m)}"value"in h&&r(f,"value",u.value,h.value,_)}},ye=(f,u,h,m,_,g,x,v,y)=>{const b=u.el=f?f.el:l(""),O=u.anchor=f?f.anchor:l("");let{patchFlag:C,dynamicChildren:A,slotScopeIds:N}=u;N&&(v=v?v.concat(N):N),f==null?(n(b,h,m),n(O,h,m),gt(u.children||[],h,O,_,g,x,v,y)):C>0&&C&64&&A&&f.dynamicChildren&&f.dynamicChildren.length===A.length?(Ft(f.dynamicChildren,A,h,_,g,x,v),(u.key!=null||_&&u===_.subTree)&&Si(f,u,!0)):S(f,u,h,O,_,g,x,v,y)},ie=(f,u,h,m,_,g,x,v,y)=>{u.slotScopeIds=v,f==null?u.shapeFlag&512?_.ctx.activate(u,h,m,x,y):Ue(u,h,m,_,g,x,y):_s(f,u,y)},Ue=(f,u,h,m,_,g,x)=>{const v=f.component=sl(f,m,_);if(ti(f)&&(v.ctx.renderer=Be),il(v,!1,x),v.asyncDep){if(_&&_.registerDep(v,F,x),!f.el){const y=v.subTree=Mt(Jt);J(null,y,u,h),f.placeholder=y.el}}else F(v,f,u,h,_,g,x)},_s=(f,u,h)=>{const m=u.component=f.component;if(Fo(f,u,h))if(m.asyncDep&&!m.asyncResolved){T(m,u,h);return}else m.next=u,m.update();else u.el=f.el,m.vnode=u},F=(f,u,h,m,_,g,x)=>{const v=()=>{if(f.isMounted){let{next:C,bu:A,u:N,parent:L,vnode:W}=f;{const Ht=Ci(f);if(Ht){C&&(C.el=W.el,T(f,C,x)),Ht.asyncDep.then(()=>{ht(()=>{f.isUnmounted||b()},_)});return}}let B=C,et;se(f,!1),C?(C.el=W.el,T(f,C,x)):C=W,A&&Ye(A),(et=C.props&&C.props.onVnodeBeforeUpdate)&&Nt(et,L,C,W),se(f,!0);const rt=ai(f),Lt=f.subTree;f.subTree=rt,I(Lt,rt,p(Lt.el),bs(Lt),f,_,g),C.el=rt.el,B===null&&jo(f,rt.el),N&&ht(N,_),(et=C.props&&C.props.onVnodeUpdated)&&ht(()=>Nt(et,L,C,W),_)}else{let C;const{el:A,props:N}=u,{bm:L,m:W,parent:B,root:et,type:rt}=f,Lt=Ie(u);se(f,!1),L&&Ye(L),!Lt&&(C=N&&N.onVnodeBeforeMount)&&Nt(C,B,u),se(f,!0);{et.ce&&et.ce._hasShadowRoot()&&et.ce._injectChildStyle(rt,f.parent?f.parent.type:void 0);const Ht=f.subTree=ai(f);I(null,Ht,h,m,f,_,g),u.el=Ht.el}if(W&&ht(W,_),!Lt&&(C=N&&N.onVnodeMounted)){const Ht=u;ht(()=>Nt(C,B,Ht),_)}(u.shapeFlag&256||B&&Ie(B.vnode)&&B.vnode.shapeFlag&256)&&f.a&&ht(f.a,_),f.isMounted=!0,u=h=m=null}};f.scope.on();const y=f.effect=new vn(v);f.scope.off();const b=f.update=y.run.bind(y),O=f.job=y.runIfDirty.bind(y);O.i=f,O.id=f.uid,y.scheduler=()=>$s(O),se(f,!0),b()},T=(f,u,h)=>{u.component=f;const m=f.vnode.props;f.vnode=u,f.next=null,Ho(f,u.props,m,h),Vo(f,u.children,h),At(),kn(f),Pt()},S=(f,u,h,m,_,g,x,v,y=!1)=>{const b=f&&f.children,O=f?f.shapeFlag:0,C=u.children,{patchFlag:A,shapeFlag:N}=u;if(A>0){if(A&128){re(b,C,h,m,_,g,x,v,y);return}else if(A&256){st(b,C,h,m,_,g,x,v,y);return}}N&8?(O&16&&Ve(b,_,g),C!==b&&a(h,C)):O&16?N&16?re(b,C,h,m,_,g,x,v,y):Ve(b,_,g,!0):(O&8&&a(h,""),N&16&>(C,h,m,_,g,x,v,y))},st=(f,u,h,m,_,g,x,v,y)=>{f=f||le,u=u||le;const b=f.length,O=u.length,C=Math.min(b,O);let A;for(A=0;A<C;A++){const N=u[A]=y?Wt(u[A]):It(u[A]);I(f[A],N,h,null,_,g,x,v,y)}b>O?Ve(f,_,g,!0,!1,C):gt(u,h,m,_,g,x,v,y,C)},re=(f,u,h,m,_,g,x,v,y)=>{let b=0;const O=u.length;let C=f.length-1,A=O-1;for(;b<=C&&b<=A;){const N=f[b],L=u[b]=y?Wt(u[b]):It(u[b]);if(Le(N,L))I(N,L,h,null,_,g,x,v,y);else break;b++}for(;b<=C&&b<=A;){const N=f[C],L=u[A]=y?Wt(u[A]):It(u[A]);if(Le(N,L))I(N,L,h,null,_,g,x,v,y);else break;C--,A--}if(b>C){if(b<=A){const N=A+1,L=N<O?u[N].el:m;for(;b<=A;)I(null,u[b]=y?Wt(u[b]):It(u[b]),h,L,_,g,x,v,y),b++}}else if(b>A)for(;b<=C;)jt(f[b],_,g,!0),b++;else{const N=b,L=b,W=new Map;for(b=L;b<=A;b++){const mt=u[b]=y?Wt(u[b]):It(u[b]);mt.key!=null&&W.set(mt.key,b)}let B,et=0;const rt=A-L+1;let Lt=!1,Ht=0;const ke=new Array(rt);for(b=0;b<rt;b++)ke[b]=0;for(b=N;b<=C;b++){const mt=f[b];if(et>=rt){jt(mt,_,g,!0);continue}let $t;if(mt.key!=null)$t=W.get(mt.key);else for(B=L;B<=A;B++)if(ke[B-L]===0&&Le(mt,u[B])){$t=B;break}$t===void 0?jt(mt,_,g,!0):(ke[$t-L]=b+1,$t>=Ht?Ht=$t:Lt=!0,I(mt,u[$t],h,null,_,g,x,v,y),et++)}const lr=Lt?qo(ke):le;for(B=lr.length-1,b=rt-1;b>=0;b--){const mt=L+b,$t=u[mt],cr=u[mt+1],fr=mt+1<O?cr.el||Ei(cr):m;ke[b]===0?I(null,$t,h,fr,_,g,x,v,y):Lt&&(B<0||b!==lr[B]?oe($t,h,fr,2):B--)}}},oe=(f,u,h,m,_=null)=>{const{el:g,type:x,transition:v,children:y,shapeFlag:b}=f;if(b&6){oe(f.component.subTree,u,h,m);return}if(b&128){f.suspense.move(u,h,m);return}if(b&64){x.move(f,u,h,Be);return}if(x===lt){n(g,u,h);for(let C=0;C<y.length;C++)oe(y[C],u,h,m);n(f.anchor,u,h);return}if(x===Qs){U(f,u,h);return}if(m!==2&&b&1&&v)if(m===0)v.persisted&&!g[Us]?n(g,u,h):(v.beforeEnter(g),n(g,u,h),ht(()=>v.enter(g),_));else{const{leave:C,delayLeave:A,afterLeave:N}=v,L=()=>{f.ctx.isUnmounted?i(g):n(g,u,h)},W=()=>{const B=g._isLeaving||!!g[Us];g._isLeaving&&g[Us](!0),v.persisted&&!B?L():C(g,()=>{L(),N&&N()})};A?A(g,L,W):W()}else n(g,u,h)},jt=(f,u,h,m=!1,_=!1)=>{const{type:g,props:x,ref:v,children:y,dynamicChildren:b,shapeFlag:O,patchFlag:C,dirs:A,cacheIndex:N,memo:L}=f;if(C===-2&&(_=!1),v!=null&&(At(),Me(v,null,h,f,!0),Pt()),N!=null&&(u.renderCache[N]=void 0),O&256){u.ctx.deactivate(f);return}const W=O&1&&A,B=!Ie(f);let et;if(B&&(et=x&&x.onVnodeBeforeUnmount)&&Nt(et,u,f),O&6)Rc(f.component,h,m);else{if(O&128){f.suspense.unmount(h,m);return}W&&te(f,null,u,"beforeUnmount"),O&64?f.type.remove(f,u,h,Be,m):b&&!b.hasOnce&&(g!==lt||C>0&&C&64)?Ve(b,u,h,!1,!0):(g===lt&&C&384||!_&&O&16)&&Ve(y,u,h),m&&rr(f)}const rt=L!=null&&N==null;(B&&(et=x&&x.onVnodeUnmounted)||W||rt)&&ht(()=>{et&&Nt(et,u,f),W&&te(f,null,u,"unmounted"),rt&&(f.el=null)},h)},rr=f=>{const{type:u,el:h,anchor:m,transition:_}=f;if(u===lt){Oc(h,m);return}if(u===Qs){P(f);return}const g=()=>{i(h),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(f.shapeFlag&1&&_&&!_.persisted){const{leave:x,delayLeave:v}=_,y=()=>x(h,g);v?v(f.el,g,y):y()}else g()},Oc=(f,u)=>{let h;for(;f!==u;)h=w(f),i(f),f=h;i(u)},Rc=(f,u,h)=>{const{bum:m,scope:_,job:g,subTree:x,um:v,m:y,a:b}=f;Ti(y),Ti(b),m&&Ye(m),_.stop(),g&&(g.flags|=8,jt(x,f,u,h)),v&&ht(v,u),ht(()=>{f.isUnmounted=!0},u)},Ve=(f,u,h,m=!1,_=!1,g=0)=>{for(let x=g;x<f.length;x++)jt(f[x],u,h,m,_)},bs=f=>{if(f.shapeFlag&6)return bs(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const u=w(f.anchor||f.el),h=u&&u[lo];return h?w(h):u};let ln=!1;const or=(f,u,h)=>{let m;f==null?u._vnode&&(jt(u._vnode,null,null,!0),m=u._vnode.component):I(u._vnode||null,f,u,null,null,null,h),u._vnode=f,ln||(ln=!0,kn(m),Wn(),ln=!1)},Be={p:I,um:jt,m:oe,r:rr,mt:Ue,mc:gt,pc:S,pbc:Ft,n:bs,o:t};return{render:or,hydrate:void 0,createApp:Oo(or)}}function zs({type:t,props:e},s){return s==="svg"&&t==="foreignObject"||s==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:s}function se({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function Wo(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Si(t,e,s=!1){const n=t.children,i=e.children;if(R(n)&&R(i))for(let r=0;r<n.length;r++){const o=n[r];let l=i[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[r]=Wt(i[r]),l.el=o.el),!s&&l.patchFlag!==-2&&Si(o,l)),l.type===ds&&(l.patchFlag===-1&&(l=i[r]=Wt(l)),l.el=o.el),l.type===Jt&&!l.el&&(l.el=o.el)}}function qo(t){const e=t.slice(),s=[0];let n,i,r,o,l;const c=t.length;for(n=0;n<c;n++){const d=t[n];if(d!==0){if(i=s[s.length-1],t[i]<d){e[n]=i,s.push(n);continue}for(r=0,o=s.length-1;r<o;)l=r+o>>1,t[s[l]]<d?r=l+1:o=l;d<t[s[r]]&&(r>0&&(e[n]=s[r-1]),s[r]=n)}}for(r=s.length,o=s[r-1];r-- >0;)s[r]=o,o=e[o];return s}function Ci(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Ci(e)}function Ti(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function Ei(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?Ei(e.subTree):null}const Ai=t=>t.__isSuspense;function Go(t,e){e&&e.pendingBranch?R(t)?e.effects.push(...t):e.effects.push(t):to(t)}const lt=Symbol.for("v-fgt"),ds=Symbol.for("v-txt"),Jt=Symbol.for("v-cmt"),Qs=Symbol.for("v-stc"),Fe=[];let bt=null;function G(t=!1){Fe.push(bt=t?null:[])}function Jo(){Fe.pop(),bt=Fe[Fe.length-1]||null}let je=1;function Pi(t,e=!1){je+=t,t<0&&bt&&e&&(bt.hasOnce=!0)}function Oi(t){return t.dynamicChildren=je>0?bt||le:null,Jo(),je>0&&bt&&bt.push(t),t}function Y(t,e,s,n,i,r){return Oi(M(t,e,s,n,i,r,!0))}function Yo(t,e,s,n,i){return Oi(Mt(t,e,s,n,i,!0))}function Ri(t){return t?t.__v_isVNode===!0:!1}function Le(t,e){return t.type===e.type&&t.key===e.key}const Mi=({key:t})=>t??null,hs=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?X(t)||it(t)||D(t)?{i:vt,r:t,k:e,f:!!s}:t:null);function M(t,e=null,s=null,n=0,i=null,r=t===lt?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Mi(e),ref:e&&hs(e),scopeId:Gn,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:vt};return l?(Zs(c,s),r&128&&t.normalize(c)):s&&(c.shapeFlag|=X(s)?8:16),je>0&&!o&&bt&&(c.patchFlag>0||r&6)&&c.patchFlag!==32&&bt.push(c),c}const Mt=Xo;function Xo(t,e=null,s=null,n=0,i=null,r=!1){if((!t||t===xo)&&(t=Jt),Ri(t)){const l=ge(t,e,!0);return s&&Zs(l,s),je>0&&!r&&bt&&(l.shapeFlag&6?bt[bt.indexOf(t)]=l:bt.push(l)),l.patchFlag=-2,l}if(al(t)&&(t=t.__vccOpts),e){e=zo(e);let{class:l,style:c}=e;l&&!X(l)&&(e.class=Xt(l)),V(c)&&(Ls(c)&&!R(c)&&(c=Z({},c)),e.style=we(c))}const o=X(t)?1:Ai(t)?128:co(t)?64:V(t)?4:D(t)?2:0;return M(t,e,s,n,i,o,r,!0)}function zo(t){return t?Ls(t)||_i(t)?Z({},t):t:null}function ge(t,e,s=!1,n=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:c}=t,d=e?Zo(i||{},e):i,a={__v_isVNode:!0,__v_skip:!0,type:t.type,props:d,key:d&&Mi(d),ref:e&&e.ref?s&&r?R(r)?r.concat(hs(e)):[r,hs(e)]:hs(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:l,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==lt?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:c,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&ge(t.ssContent),ssFallback:t.ssFallback&&ge(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return c&&n&&Vs(a,c.clone(a)),a}function Qo(t=" ",e=0){return Mt(ds,null,t,e)}function _e(t="",e=!1){return e?(G(),Yo(Jt,null,t)):Mt(Jt,null,t)}function It(t){return t==null||typeof t=="boolean"?Mt(Jt):R(t)?Mt(lt,null,t.slice()):Ri(t)?Wt(t):Mt(ds,null,String(t))}function Wt(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:ge(t)}function Zs(t,e){let s=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(R(e))s=16;else if(typeof e=="object")if(n&65){const i=e.default;i&&(i._c&&(i._d=!1),Zs(t,i()),i._c&&(i._d=!0));return}else{s=32;const i=e._;!i&&!_i(e)?e._ctx=vt:i===3&&vt&&(vt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else D(e)?(e={default:e,_ctx:vt},s=32):(e=String(e),n&64?(s=16,e=[Qo(e)]):s=8);t.children=e,t.shapeFlag|=s}function Zo(...t){const e={};for(let s=0;s<t.length;s++){const n=t[s];for(const i in n)if(i==="class")e.class!==n.class&&(e.class=Xt([e.class,n.class]));else if(i==="style")e.style=we([e.style,n.style]);else if(We(i)){const r=e[i],o=n[i];o&&r!==o&&!(R(r)&&r.includes(o))?e[i]=r?[].concat(r,o):o:o==null&&r==null&&!qe(i)&&(e[i]=o)}else i!==""&&(e[i]=n[i])}return e}function Nt(t,e,s,n=null){St(t,e,7,[s,n])}const tl=fi();let el=0;function sl(t,e,s){const n=t.type,i=(e?e.appContext:t.appContext)||tl,r={uid:el++,vnode:t,type:n,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new vr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(i.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:mi(n,i),emitsOptions:ui(n,i),emit:null,emitted:null,propsDefaults:k,inheritAttrs:n.inheritAttrs,ctx:k,data:k,props:k,attrs:k,slots:k,refs:k,setupState:k,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=e?e.root:r,r.emit=Mo.bind(null,r),t.ce&&t.ce(r),r}let at=null;const nl=()=>at||vt;let ps,tn;{const t=Xe(),e=(s,n)=>{let i;return(i=t[s])||(i=t[s]=[]),i.push(n),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};ps=e("__VUE_INSTANCE_SETTERS__",s=>at=s),tn=e("__VUE_SSR_SETTERS__",s=>$e=s)}const He=t=>{const e=at;return ps(t),t.scope.on(),()=>{t.scope.off(),ps(e)}},Ii=()=>{at&&at.scope.off(),ps(null)};function Ni(t){return t.vnode.shapeFlag&4}let $e=!1;function il(t,e=!1,s=!1){e&&tn(e);const{props:n,children:i}=t.vnode,r=Ni(t);Lo(t,n,r,e),Uo(t,i,s||e);const o=r?rl(t,e):void 0;return e&&tn(!1),o}function rl(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,wo);const{setup:n}=s;if(n){At();const i=t.setupContext=n.length>1?ll(t):null,r=He(t),o=ae(n,t,0,[t.props,i]),l=an(o);if(Pt(),r(),(l||t.sp)&&!Ie(t)&&zn(t),l){if(o.then(Ii,Ii),e)return o.then(c=>{Di(t,c)}).catch(c=>{is(c,t,0)});t.asyncDep=o}else Di(t,o)}else Fi(t)}function Di(t,e,s){D(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:V(e)&&(t.setupState=$n(e)),Fi(t)}function Fi(t,e,s){const n=t.type;t.render||(t.render=n.render||Ct);{const i=He(t);At();try{So(t)}finally{Pt(),i()}}}const ol={get(t,e){return ot(t,"get",""),t[e]}};function ll(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,ol),slots:t.slots,emit:t.emit,expose:e}}function gs(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy($n(Kr(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in Ne)return Ne[s](t)},has(e,s){return s in e||s in Ne}})):t.proxy}const cl=/(?:^|[-_])\w/g,fl=t=>t.replace(cl,e=>e.toUpperCase()).replace(/[-_]/g,"");function ul(t,e=!0){return D(t)?t.displayName||t.name:t.name||e&&t.__name}function ji(t,e,s=!1){let n=ul(e);if(!n&&e.__file){const i=e.__file.match(/([^/\\]+)\.\w+$/);i&&(n=i[1])}if(!n&&t){const i=r=>{for(const o in r)if(r[o]===e)return o};n=i(t.components)||t.parent&&i(t.parent.type.components)||i(t.appContext.components)}return n?fl(n):s?"App":"Anonymous"}function al(t){return D(t)&&"__vccOpts"in t}const Li=(t,e)=>Wr(t,e,$e),dl="3.5.35";/**
|
|
15
|
+
`,...Jr(i)),console.warn(...r)}Nt(),Hs=!1}function Gr(){let t=Re[Re.length-1];if(!t)return[];const e=[];for(;t;){const s=e[0];s&&s.vnode===t?s.recurseCount++:e.push({vnode:t,recurseCount:0});const n=t.component&&t.component.parent;t=n&&n.vnode}return e}function Jr(t){const e=[];return t.forEach((s,n)=>{e.push(...n===0?[]:[`
|
|
16
|
+
`],...Yr(s))}),e}function Yr({vnode:t,recurseCount:e}){const s=e>0?`... (${e} recursive calls)`:"",n=t.component?t.component.parent==null:!1,i=` at <${ji(t.component,t.type,n)}`,r=">"+s;return t.props?[i,...Xr(t.props),r]:[i+r]}function Xr(t){const e=[],s=Object.keys(t);return s.slice(0,3).forEach(n=>{e.push(...Un(n,t[n]))}),s.length>3&&e.push(" ..."),e}function Un(t,e,s){return tt(e)?(e=JSON.stringify(e),s?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?s?e:[`${t}=${e}`]:lt(e)?(e=Un(t,L(e.value),!0),s?e:[`${t}=Ref<`,e,">"]):N(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=L(e),s?e:[`${t}=`,e])}function ae(t,e,s,n){try{return n?t(...n):t()}catch(i){rs(i,e,s)}}function At(t,e,s,n){if(N(t)){const i=ae(t,e,s,n);return i&&dn(i)&&i.catch(r=>{rs(r,e,s)}),i}if(P(t)){const i=[];for(let r=0;r<t.length;r++)i.push(At(t[r],e,s,n));return i}}function rs(t,e,s,n=!0){const i=e?e.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=e&&e.appContext.config||z;if(e){let l=e.parent;const c=e.proxy,d=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const a=l.ec;if(a){for(let p=0;p<a.length;p++)if(a[p](t,c,d)===!1)return}l=l.parent}if(r){kt(),ae(r,null,10,[t,c,d]),Nt();return}}Qr(t,s,i,n,o)}function Qr(t,e,s,n=!0,i=!1){if(i)throw t;console.error(t)}const dt=[];let Ft=-1;const de=[];let Yt=null,he=0;const Kn=Promise.resolve();let os=null;function Vn(t){const e=os||Kn;return t?e.then(this?t.bind(this):t):e}function Zr(t){let e=Ft+1,s=dt.length;for(;e<s;){const n=e+s>>>1,i=dt[n],r=Me(i);r<t||r===t&&i.flags&2?e=n+1:s=n}return e}function $s(t){if(!(t.flags&1)){const e=Me(t),s=dt[dt.length-1];!s||!(t.flags&2)&&e>=Me(s)?dt.push(t):dt.splice(Zr(e),0,t),t.flags|=1,Bn()}}function Bn(){os||(os=Kn.then(qn))}function to(t){P(t)?de.push(...t):Yt&&t.id===-1?Yt.splice(he+1,0,t):t.flags&1||(de.push(t),t.flags|=1),Bn()}function Wn(t,e,s=Ft+1){for(;s<dt.length;s++){const n=dt[s];if(n&&n.flags&2){if(t&&n.id!==t.uid)continue;dt.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function zn(t){if(de.length){const e=[...new Set(de)].sort((s,n)=>Me(s)-Me(n));if(de.length=0,Yt){Yt.push(...e);return}for(Yt=e,he=0;he<Yt.length;he++){const s=Yt[he];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Yt=null,he=0}}const Me=t=>t.id==null?t.flags&2?-1:1/0:t.id;function qn(t){try{for(Ft=0;Ft<dt.length;Ft++){const e=dt[Ft];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),ae(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Ft<dt.length;Ft++){const e=dt[Ft];e&&(e.flags&=-2)}Ft=-1,dt.length=0,zn(),os=null,(dt.length||de.length)&&qn()}}let Ct=null,Gn=null;function ls(t){const e=Ct;return Ct=t,Gn=t&&t.type.__scopeId||null,e}function eo(t,e=Ct,s){if(!e||t._n)return t;const n=(...i)=>{n._d&&Pi(-1);const r=ls(e);let o;try{o=t(...i)}finally{ls(r),n._d&&Pi(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function so(t,e){if(Ct===null)return t;const s=bs(Ct),n=t.dirs||(t.dirs=[]);for(let i=0;i<e.length;i++){let[r,o,l,c=z]=e[i];r&&(N(r)&&(r={mounted:r,updated:r}),r.deep&&zt(o),n.push({dir:r,instance:s,value:o,oldValue:void 0,arg:l,modifiers:c}))}return t}function ne(t,e,s,n){const i=t.dirs,r=e&&e.dirs;for(let o=0;o<i.length;o++){const l=i[o];r&&(l.oldValue=r[o].value);let c=l.dir[n];c&&(kt(),At(c,s,8,[t.el,l,t,e]),Nt())}}function no(t,e){if(pt){let s=pt.provides;const n=pt.parent&&pt.parent.provides;n===s&&(s=pt.provides=Object.create(n)),s[t]=e}}function cs(t,e,s=!1){const n=nl();if(n||pe){let i=pe?pe._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(i&&t in i)return i[t];if(arguments.length>1)return s&&N(e)?e.call(n&&n.proxy):e}}const io=Symbol.for("v-scx"),ro=()=>cs(io);function Us(t,e,s){return Jn(t,e,s)}function Jn(t,e,s=z){const{immediate:n,deep:i,flush:r,once:o}=s,l=st({},s),c=e&&n||!e&&r!=="post";let d;if($e){if(r==="sync"){const C=ro();d=C.__watcherHandles||(C.__watcherHandles=[])}else if(!c){const C=()=>{};return C.stop=Rt,C.resume=Rt,C.pause=Rt,C}}const a=pt;l.call=(C,$,E)=>At(C,a,$,E);let p=!1;r==="post"?l.scheduler=C=>{_t(C,a&&a.suspense)}:r!=="sync"&&(p=!0,l.scheduler=(C,$)=>{$?C():$s(C)}),l.augmentJob=C=>{e&&(C.flags|=4),p&&(C.flags|=2,a&&(C.id=a.uid,C.i=a))};const S=qr(t,e,l);return $e&&(d?d.push(S):c&&S()),S}function oo(t,e,s){const n=this.proxy,i=tt(t)?t.includes(".")?Yn(n,t):()=>n[t]:t.bind(n,n);let r;N(e)?r=e:(r=e.handler,s=e);const o=He(this),l=Jn(i,r.bind(n),s);return o(),l}function Yn(t,e){const s=e.split(".");return()=>{let n=t;for(let i=0;i<s.length&&n;i++)n=n[s[i]];return n}}const lo=Symbol("_vte"),co=t=>t.__isTeleport,Ks=Symbol("_leaveCb");function Vs(t,e){t.shapeFlag&6&&t.component?(t.transition=e,Vs(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Xn(t,e){return N(t)?st({name:t.name},e,{setup:t}):t}function Qn(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Zn(t,e){let s;return!!((s=Object.getOwnPropertyDescriptor(t,e))&&!s.configurable)}const fs=new WeakMap;function Ie(t,e,s,n,i=!1){if(P(t)){t.forEach((E,Q)=>Ie(E,e&&(P(e)?e[Q]:e),s,n,i));return}if(ke(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Ie(t,e,s,n.component.subTree);return}const r=n.shapeFlag&4?bs(n.component):n.el,o=i?null:r,{i:l,r:c}=t,d=e&&e.r,a=l.refs===z?l.refs={}:l.refs,p=l.setupState,S=L(p),C=p===z?fn:E=>Zn(a,E)?!1:H(S,E),$=(E,Q)=>!(Q&&Zn(a,Q));if(d!=null&&d!==c){if(ti(e),tt(d))a[d]=null,C(d)&&(p[d]=null);else if(lt(d)){const E=e;$(d,E.k)&&(d.value=null),E.k&&(a[E.k]=null)}}if(N(c))ae(c,l,12,[o,a]);else{const E=tt(c),Q=lt(c);if(E||Q){const K=()=>{if(t.f){const F=E?C(c)?p[c]:a[c]:$()||!t.k?c.value:a[t.k];if(i)P(F)&&ys(F,r);else if(P(F))F.includes(r)||F.push(r);else if(E)a[c]=[r],C(c)&&(p[c]=a[c]);else{const V=[r];$(c,t.k)&&(c.value=V),t.k&&(a[t.k]=V)}}else E?(a[c]=o,C(c)&&(p[c]=o)):Q&&($(c,t.k)&&(c.value=o),t.k&&(a[t.k]=o))};if(o){const F=()=>{K(),fs.delete(t)};F.id=-1,fs.set(t,F),_t(F,s)}else ti(t),K()}}}function ti(t){const e=fs.get(t);e&&(e.flags|=8,fs.delete(t))}Xe().requestIdleCallback,Xe().cancelIdleCallback;const ke=t=>!!t.type.__asyncLoader,ei=t=>t.type.__isKeepAlive;function fo(t,e){si(t,"a",e)}function uo(t,e){si(t,"da",e)}function si(t,e,s=pt){const n=t.__wdc||(t.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(us(e,n,s),s){let i=s.parent;for(;i&&i.parent;)ei(i.parent.vnode)&&ao(n,e,s,i),i=i.parent}}function ao(t,e,s,n){const i=us(e,t,n,!0);Bs(()=>{ys(n[e],i)},s)}function us(t,e,s=pt,n=!1){if(s){const i=s[t]||(s[t]=[]),r=e.__weh||(e.__weh=(...o)=>{kt();const l=He(s),c=At(e,s,t,o);return l(),Nt(),c});return n?i.unshift(r):i.push(r),r}}const qt=t=>(e,s=pt)=>{(!$e||t==="sp")&&us(t,(...n)=>e(...n),s)},ho=qt("bm"),ni=qt("m"),po=qt("bu"),go=qt("u"),bo=qt("bum"),Bs=qt("um"),_o=qt("sp"),mo=qt("rtg"),xo=qt("rtc");function yo(t,e=pt){us("ec",t,e)}const vo=Symbol.for("v-ndc");function ie(t,e,s,n){let i;const r=s,o=P(t);if(o||tt(t)){const l=o&&ee(t);let c=!1,d=!1;l&&(c=!St(t),d=Wt(t),t=Qe(t)),i=new Array(t.length);for(let a=0,p=t.length;a<p;a++)i[a]=e(c?d?ue(Et(t[a])):Et(t[a]):t[a],a,void 0,r)}else if(typeof t=="number"){i=new Array(t);for(let l=0;l<t;l++)i[l]=e(l+1,l,void 0,r)}else if(U(t))if(t[Symbol.iterator])i=Array.from(t,(l,c)=>e(l,c,void 0,r));else{const l=Object.keys(t);i=new Array(l.length);for(let c=0,d=l.length;c<d;c++){const a=l[c];i[c]=e(t[a],a,c,r)}}else i=[];return i}const Ws=t=>t?Ni(t)?bs(t):Ws(t.parent):null,Ne=st(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Ws(t.parent),$root:t=>Ws(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>li(t),$forceUpdate:t=>t.f||(t.f=()=>{$s(t.update)}),$nextTick:t=>t.n||(t.n=Vn.bind(t.proxy)),$watch:t=>oo.bind(t)}),zs=(t,e)=>t!==z&&!t.__isScriptSetup&&H(t,e),wo={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:r,accessCache:o,type:l,appContext:c}=t;if(e[0]!=="$"){const S=o[e];if(S!==void 0)switch(S){case 1:return n[e];case 2:return i[e];case 4:return s[e];case 3:return r[e]}else{if(zs(n,e))return o[e]=1,n[e];if(i!==z&&H(i,e))return o[e]=2,i[e];if(H(r,e))return o[e]=3,r[e];if(s!==z&&H(s,e))return o[e]=4,s[e];qs&&(o[e]=0)}}const d=Ne[e];let a,p;if(d)return e==="$attrs"&&ft(t.attrs,"get",""),d(t);if((a=l.__cssModules)&&(a=a[e]))return a;if(s!==z&&H(s,e))return o[e]=4,s[e];if(p=c.config.globalProperties,H(p,e))return p[e]},set({_:t},e,s){const{data:n,setupState:i,ctx:r}=t;return zs(i,e)?(i[e]=s,!0):n!==z&&H(n,e)?(n[e]=s,!0):H(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(r[e]=s,!0)},has({_:{data:t,setupState:e,accessCache:s,ctx:n,appContext:i,props:r,type:o}},l){let c;return!!(s[l]||t!==z&&l[0]!=="$"&&H(t,l)||zs(e,l)||H(r,l)||H(n,l)||H(Ne,l)||H(i.config.globalProperties,l)||(c=o.__cssModules)&&c[l])},defineProperty(t,e,s){return s.get!=null?t._.accessCache[e]=0:H(s,"value")&&this.set(t,e,s.value,null),Reflect.defineProperty(t,e,s)}};function ii(t){return P(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}let qs=!0;function So(t){const e=li(t),s=t.proxy,n=t.ctx;qs=!1,e.beforeCreate&&ri(e.beforeCreate,t,"bc");const{data:i,computed:r,methods:o,watch:l,provide:c,inject:d,created:a,beforeMount:p,mounted:S,beforeUpdate:C,updated:$,activated:E,deactivated:Q,beforeDestroy:K,beforeUnmount:F,destroyed:V,unmounted:M,render:Y,renderTracked:yt,renderTriggered:gt,errorCaptured:vt,serverPrefetch:xe,expose:Ot,inheritAttrs:Pt,components:Qt,directives:oe,filters:Ke}=e;if(d&&Co(d,n,null),o)for(const Z in o){const B=o[Z];N(B)&&(n[Z]=B.bind(s))}if(i){const Z=i.call(s,s);U(Z)&&(t.data=Pe(Z))}if(qs=!0,r)for(const Z in r){const B=r[Z],D=N(B)?B.bind(s,s):N(B.get)?B.get.bind(s,s):Rt,I=!N(B)&&N(B.set)?B.set.bind(s):Rt,A=Li({get:D,set:I});Object.defineProperty(n,Z,{enumerable:!0,configurable:!0,get:()=>A.value,set:et=>A.value=et})}if(l)for(const Z in l)oi(l[Z],n,s,Z);if(c){const Z=N(c)?c.call(s):c;Reflect.ownKeys(Z).forEach(B=>{no(B,Z[B])})}a&&ri(a,t,"c");function rt(Z,B){P(B)?B.forEach(D=>Z(D.bind(s))):B&&Z(B.bind(s))}if(rt(ho,p),rt(ni,S),rt(po,C),rt(go,$),rt(fo,E),rt(uo,Q),rt(yo,vt),rt(xo,yt),rt(mo,gt),rt(bo,F),rt(Bs,M),rt(_o,xe),P(Ot))if(Ot.length){const Z=t.exposed||(t.exposed={});Ot.forEach(B=>{Object.defineProperty(Z,B,{get:()=>s[B],set:D=>s[B]=D,enumerable:!0})})}else t.exposed||(t.exposed={});Y&&t.render===Rt&&(t.render=Y),Pt!=null&&(t.inheritAttrs=Pt),Qt&&(t.components=Qt),oe&&(t.directives=oe),xe&&Qn(t)}function Co(t,e,s=Rt){P(t)&&(t=Gs(t));for(const n in t){const i=t[n];let r;U(i)?"default"in i?r=cs(i.from||n,i.default,!0):r=cs(i.from||n):r=cs(i),lt(r)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):e[n]=r}}function ri(t,e,s){At(P(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,s)}function oi(t,e,s,n){let i=n.includes(".")?Yn(s,n):()=>s[n];if(tt(t)){const r=e[t];N(r)&&Us(i,r)}else if(N(t))Us(i,t.bind(s));else if(U(t))if(P(t))t.forEach(r=>oi(r,e,s,n));else{const r=N(t.handler)?t.handler.bind(s):e[t.handler];N(r)&&Us(i,r,t)}}function li(t){const e=t.type,{mixins:s,extends:n}=e,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=t.appContext,l=r.get(e);let c;return l?c=l:!i.length&&!s&&!n?c=e:(c={},i.length&&i.forEach(d=>as(c,d,o,!0)),as(c,e,o)),U(e)&&r.set(e,c),c}function as(t,e,s,n=!1){const{mixins:i,extends:r}=e;r&&as(t,r,s,!0),i&&i.forEach(o=>as(t,o,s,!0));for(const o in e)if(!(n&&o==="expose")){const l=To[o]||s&&s[o];t[o]=l?l(t[o],e[o]):e[o]}return t}const To={data:ci,props:fi,emits:fi,methods:De,computed:De,beforeCreate:ht,created:ht,beforeMount:ht,mounted:ht,beforeUpdate:ht,updated:ht,beforeDestroy:ht,beforeUnmount:ht,destroyed:ht,unmounted:ht,activated:ht,deactivated:ht,errorCaptured:ht,serverPrefetch:ht,components:De,directives:De,watch:Ao,provide:ci,inject:Eo};function ci(t,e){return e?t?function(){return st(N(t)?t.call(this,this):t,N(e)?e.call(this,this):e)}:e:t}function Eo(t,e){return De(Gs(t),Gs(e))}function Gs(t){if(P(t)){const e={};for(let s=0;s<t.length;s++)e[t[s]]=t[s];return e}return t}function ht(t,e){return t?[...new Set([].concat(t,e))]:e}function De(t,e){return t?st(Object.create(null),t,e):e}function fi(t,e){return t?P(t)&&P(e)?[...new Set([...t,...e])]:st(Object.create(null),ii(t),ii(e??{})):e}function Ao(t,e){if(!t)return e;if(!e)return t;const s=st(Object.create(null),t);for(const n in e)s[n]=ht(t[n],e[n]);return s}function ui(){return{app:null,config:{isNativeTag:fn,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Oo=0;function Po(t,e){return function(n,i=null){N(n)||(n=st({},n)),i!=null&&!U(i)&&(i=null);const r=ui(),o=new WeakSet,l=[];let c=!1;const d=r.app={_uid:Oo++,_component:n,_props:i,_container:null,_context:r,_instance:null,version:dl,get config(){return r.config},set config(a){},use(a,...p){return o.has(a)||(a&&N(a.install)?(o.add(a),a.install(d,...p)):N(a)&&(o.add(a),a(d,...p))),d},mixin(a){return r.mixins.includes(a)||r.mixins.push(a),d},component(a,p){return p?(r.components[a]=p,d):r.components[a]},directive(a,p){return p?(r.directives[a]=p,d):r.directives[a]},mount(a,p,S){if(!c){const C=d._ceVNode||jt(n,i);return C.appContext=r,S===!0?S="svg":S===!1&&(S=void 0),t(C,a,S),c=!0,d._container=a,a.__vue_app__=d,bs(C.component)}},onUnmount(a){l.push(a)},unmount(){c&&(At(l,d._instance,16),t(null,d._container),delete d._container.__vue_app__)},provide(a,p){return r.provides[a]=p,d},runWithContext(a){const p=pe;pe=d;try{return a()}finally{pe=p}}};return d}}let pe=null;const Ro=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${bt(e)}Modifiers`]||t[`${mt(e)}Modifiers`];function Mo(t,e,...s){if(t.isUnmounted)return;const n=t.vnode.props||z;let i=s;const r=e.startsWith("update:"),o=r&&Ro(n,e.slice(7));o&&(o.trim&&(i=s.map(a=>tt(a)?a.trim():a)),o.number&&(i=s.map(Ss)));let l,c=n[l=ws(e)]||n[l=ws(bt(e))];!c&&r&&(c=n[l=ws(mt(e))]),c&&At(c,t,6,i);const d=n[l+"Once"];if(d){if(!t.emitted)t.emitted={};else if(t.emitted[l])return;t.emitted[l]=!0,At(d,t,6,i)}}const Io=new WeakMap;function ai(t,e,s=!1){const n=s?Io:e.emitsCache,i=n.get(t);if(i!==void 0)return i;const r=t.emits;let o={},l=!1;if(!N(t)){const c=d=>{const a=ai(d,e,!0);a&&(l=!0,st(o,a))};!s&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}return!r&&!l?(U(t)&&n.set(t,null),null):(P(r)?r.forEach(c=>o[c]=null):st(o,r),U(t)&&n.set(t,o),o)}function ds(t,e){return!t||!ze(e)?!1:(e=e.slice(2).replace(/Once$/,""),H(t,e[0].toLowerCase()+e.slice(1))||H(t,mt(e))||H(t,e))}function Dc(){}function di(t){const{type:e,vnode:s,proxy:n,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:c,render:d,renderCache:a,props:p,data:S,setupState:C,ctx:$,inheritAttrs:E}=t,Q=ls(t);let K,F;try{if(s.shapeFlag&4){const M=i||n,Y=M;K=Lt(d.call(Y,M,a,p,C,S,$)),F=l}else{const M=e;K=Lt(M.length>1?M(p,{attrs:l,slots:o,emit:c}):M(p,null)),F=e.props?l:ko(l)}}catch(M){Fe.length=0,rs(M,t,1),K=jt(Xt)}let V=K;if(F&&E!==!1){const M=Object.keys(F),{shapeFlag:Y}=V;M.length&&Y&7&&(r&&M.some(qe)&&(F=No(F,r)),V=ge(V,F,!1,!0))}return s.dirs&&(V=ge(V,null,!1,!0),V.dirs=V.dirs?V.dirs.concat(s.dirs):s.dirs),s.transition&&Vs(V,s.transition),K=V,ls(Q),K}const ko=t=>{let e;for(const s in t)(s==="class"||s==="style"||ze(s))&&((e||(e={}))[s]=t[s]);return e},No=(t,e)=>{const s={};for(const n in t)(!qe(n)||!(n.slice(9)in e))&&(s[n]=t[n]);return s};function Do(t,e,s){const{props:n,children:i,component:r}=t,{props:o,children:l,patchFlag:c}=e,d=r.emitsOptions;if(e.dirs||e.transition)return!0;if(s&&c>=0){if(c&1024)return!0;if(c&16)return n?hi(n,o,d):!!o;if(c&8){const a=e.dynamicProps;for(let p=0;p<a.length;p++){const S=a[p];if(pi(o,n,S)&&!ds(d,S))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:n===o?!1:n?o?hi(n,o,d):!0:!!o;return!1}function hi(t,e,s){const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(let i=0;i<n.length;i++){const r=n[i];if(pi(e,t,r)&&!ds(s,r))return!0}return!1}function pi(t,e,s){const n=t[s],i=e[s];return s==="style"&&U(n)&&U(i)?!Cs(n,i):n!==i}function Fo({vnode:t,parent:e,suspense:s},n){for(;e;){const i=e.subTree;if(i.suspense&&i.suspense.activeBranch===t&&(i.suspense.vnode.el=i.el=n,t=i),i===t)(t=e.vnode).el=n,e=e.parent;else break}s&&s.activeBranch===t&&(s.vnode.el=n)}const gi={},bi=()=>Object.create(gi),_i=t=>Object.getPrototypeOf(t)===gi;function jo(t,e,s,n=!1){const i={},r=bi();t.propsDefaults=Object.create(null),mi(t,e,i,r);for(const o in t.propsOptions[0])o in i||(i[o]=void 0);s?t.props=n?i:Hr(i):t.type.props?t.props=i:t.props=r,t.attrs=r}function Lo(t,e,s,n){const{props:i,attrs:r,vnode:{patchFlag:o}}=t,l=L(i),[c]=t.propsOptions;let d=!1;if((n||o>0)&&!(o&16)){if(o&8){const a=t.vnode.dynamicProps;for(let p=0;p<a.length;p++){let S=a[p];if(ds(t.emitsOptions,S))continue;const C=e[S];if(c)if(H(r,S))C!==r[S]&&(r[S]=C,d=!0);else{const $=bt(S);i[$]=Js(c,l,$,C,t,!1)}else C!==r[S]&&(r[S]=C,d=!0)}}}else{mi(t,e,i,r)&&(d=!0);let a;for(const p in l)(!e||!H(e,p)&&((a=mt(p))===p||!H(e,a)))&&(c?s&&(s[p]!==void 0||s[a]!==void 0)&&(i[p]=Js(c,l,p,void 0,t,!0)):delete i[p]);if(r!==l)for(const p in r)(!e||!H(e,p))&&(delete r[p],d=!0)}d&&Vt(t.attrs,"set","")}function mi(t,e,s,n){const[i,r]=t.propsOptions;let o=!1,l;if(e)for(let c in e){if(we(c))continue;const d=e[c];let a;i&&H(i,a=bt(c))?!r||!r.includes(a)?s[a]=d:(l||(l={}))[a]=d:ds(t.emitsOptions,c)||(!(c in n)||d!==n[c])&&(n[c]=d,o=!0)}if(r){const c=L(s),d=l||z;for(let a=0;a<r.length;a++){const p=r[a];s[p]=Js(i,c,p,d[p],t,!H(d,p))}}return o}function Js(t,e,s,n,i,r){const o=t[s];if(o!=null){const l=H(o,"default");if(l&&n===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&N(c)){const{propsDefaults:d}=i;if(s in d)n=d[s];else{const a=He(i);n=d[s]=c.call(null,e),a()}}else n=c;i.ce&&i.ce._setProp(s,n)}o[0]&&(r&&!l?n=!1:o[1]&&(n===""||n===mt(s))&&(n=!0))}return n}const Ho=new WeakMap;function xi(t,e,s=!1){const n=s?Ho:e.propsCache,i=n.get(t);if(i)return i;const r=t.props,o={},l=[];let c=!1;if(!N(t)){const a=p=>{c=!0;const[S,C]=xi(p,e,!0);st(o,S),C&&l.push(...C)};!s&&e.mixins.length&&e.mixins.forEach(a),t.extends&&a(t.extends),t.mixins&&t.mixins.forEach(a)}if(!r&&!c)return U(t)&&n.set(t,le),le;if(P(r))for(let a=0;a<r.length;a++){const p=bt(r[a]);yi(p)&&(o[p]=z)}else if(r)for(const a in r){const p=bt(a);if(yi(p)){const S=r[a],C=o[p]=P(S)||N(S)?{type:S}:st({},S),$=C.type;let E=!1,Q=!0;if(P($))for(let K=0;K<$.length;++K){const F=$[K],V=N(F)&&F.name;if(V==="Boolean"){E=!0;break}else V==="String"&&(Q=!1)}else E=N($)&&$.name==="Boolean";C[0]=E,C[1]=Q,(E||H(C,"default"))&&l.push(p)}}const d=[o,l];return U(t)&&n.set(t,d),d}function yi(t){return t[0]!=="$"&&!we(t)}const Ys=t=>t==="_"||t==="_ctx"||t==="$stable",Xs=t=>P(t)?t.map(Lt):[Lt(t)],$o=(t,e,s)=>{if(e._n)return e;const n=eo((...i)=>Xs(e(...i)),s);return n._c=!1,n},vi=(t,e,s)=>{const n=t._ctx;for(const i in t){if(Ys(i))continue;const r=t[i];if(N(r))e[i]=$o(i,r,n);else if(r!=null){const o=Xs(r);e[i]=()=>o}}},wi=(t,e)=>{const s=Xs(e);t.slots.default=()=>s},Si=(t,e,s)=>{for(const n in e)(s||!Ys(n))&&(t[n]=e[n])},Uo=(t,e,s)=>{const n=t.slots=bi();if(t.vnode.shapeFlag&32){const i=e._;i?(Si(n,e,s),s&&gn(n,"_",i,!0)):vi(e,n)}else e&&wi(t,e)},Ko=(t,e,s)=>{const{vnode:n,slots:i}=t;let r=!0,o=z;if(n.shapeFlag&32){const l=e._;l?s&&l===1?r=!1:Si(i,e,s):(r=!e.$stable,vi(e,i)),o=e}else e&&(wi(t,e),o={default:1});if(r)for(const l in i)!Ys(l)&&o[l]==null&&delete i[l]},_t=qo;function Vo(t){return Bo(t)}function Bo(t,e){const s=Xe();s.__VUE__=!0;const{insert:n,remove:i,patchProp:r,createElement:o,createText:l,createComment:c,setText:d,setElementText:a,parentNode:p,nextSibling:S,setScopeId:C=Rt,insertStaticContent:$}=t,E=(f,u,h,m=null,b=null,g=null,v=void 0,y=null,x=!!u.dynamicChildren)=>{if(f===u)return;f&&!Le(f,u)&&(m=ms(f),et(f,b,g,!0),f=null),u.patchFlag===-2&&(x=!1,u.dynamicChildren=null);const{type:_,ref:O,shapeFlag:w}=u;switch(_){case hs:Q(f,u,h,m);break;case Xt:K(f,u,h,m);break;case Zs:f==null&&F(u,h,m,v);break;case ut:Qt(f,u,h,m,b,g,v,y,x);break;default:w&1?Y(f,u,h,m,b,g,v,y,x):w&6?oe(f,u,h,m,b,g,v,y,x):(w&64||w&128)&&_.process(f,u,h,m,b,g,v,y,x,Be)}O!=null&&b?Ie(O,f&&f.ref,g,u||f,!u):O==null&&f&&f.ref!=null&&Ie(f.ref,null,g,f,!0)},Q=(f,u,h,m)=>{if(f==null)n(u.el=l(u.children),h,m);else{const b=u.el=f.el;u.children!==f.children&&d(b,u.children)}},K=(f,u,h,m)=>{f==null?n(u.el=c(u.children||""),h,m):u.el=f.el},F=(f,u,h,m)=>{[f.el,f.anchor]=$(f.children,u,h,m,f.el,f.anchor)},V=({el:f,anchor:u},h,m)=>{let b;for(;f&&f!==u;)b=S(f),n(f,h,m),f=b;n(u,h,m)},M=({el:f,anchor:u})=>{let h;for(;f&&f!==u;)h=S(f),i(f),f=h;i(u)},Y=(f,u,h,m,b,g,v,y,x)=>{if(u.type==="svg"?v="svg":u.type==="math"&&(v="mathml"),f==null)yt(u,h,m,b,g,v,y,x);else{const _=f.el&&f.el._isVueCE?f.el:null;try{_&&_._beginPatch(),xe(f,u,b,g,v,y,x)}finally{_&&_._endPatch()}}},yt=(f,u,h,m,b,g,v,y)=>{let x,_;const{props:O,shapeFlag:w,transition:T,dirs:k}=f;if(x=f.el=o(f.type,g,O&&O.is,O),w&8?a(x,f.children):w&16&&vt(f.children,x,null,m,b,Qs(f,g),v,y),k&&ne(f,null,m,"created"),gt(x,f,f.scopeId,v,m),O){for(const q in O)q!=="value"&&!we(q)&&r(x,q,null,O[q],g,m);"value"in O&&r(x,"value",null,O.value,g),(_=O.onVnodeBeforeMount)&&Ht(_,m,f)}k&&ne(f,null,m,"beforeMount");const j=Wo(b,T);j&&T.beforeEnter(x),n(x,u,h),((_=O&&O.onVnodeMounted)||j||k)&&_t(()=>{try{_&&Ht(_,m,f),j&&T.enter(x),k&&ne(f,null,m,"mounted")}finally{}},b)},gt=(f,u,h,m,b)=>{if(h&&C(f,h),m)for(let g=0;g<m.length;g++)C(f,m[g]);if(b){let g=b.subTree;if(u===g||Oi(g.type)&&(g.ssContent===u||g.ssFallback===u)){const v=b.vnode;gt(f,v,v.scopeId,v.slotScopeIds,b.parent)}}},vt=(f,u,h,m,b,g,v,y,x=0)=>{for(let _=x;_<f.length;_++){const O=f[_]=y?Gt(f[_]):Lt(f[_]);E(null,O,u,h,m,b,g,v,y)}},xe=(f,u,h,m,b,g,v)=>{const y=u.el=f.el;let{patchFlag:x,dynamicChildren:_,dirs:O}=u;x|=f.patchFlag&16;const w=f.props||z,T=u.props||z;let k;if(h&&re(h,!1),(k=T.onVnodeBeforeUpdate)&&Ht(k,h,u,f),O&&ne(u,f,h,"beforeUpdate"),h&&re(h,!0),(w.innerHTML&&T.innerHTML==null||w.textContent&&T.textContent==null)&&a(y,""),_?Ot(f.dynamicChildren,_,y,h,m,Qs(u,b),g):v||B(f,u,y,null,h,m,Qs(u,b),g,!1),x>0){if(x&16)Pt(y,w,T,h,b);else if(x&2&&w.class!==T.class&&r(y,"class",null,T.class,b),x&4&&r(y,"style",w.style,T.style,b),x&8){const j=u.dynamicProps;for(let q=0;q<j.length;q++){const W=j[q],it=w[W],ct=T[W];(ct!==it||W==="value")&&r(y,W,it,ct,b,h)}}x&1&&f.children!==u.children&&a(y,u.children)}else!v&&_==null&&Pt(y,w,T,h,b);((k=T.onVnodeUpdated)||O)&&_t(()=>{k&&Ht(k,h,u,f),O&&ne(u,f,h,"updated")},m)},Ot=(f,u,h,m,b,g,v)=>{for(let y=0;y<u.length;y++){const x=f[y],_=u[y],O=x.el&&(x.type===ut||!Le(x,_)||x.shapeFlag&198)?p(x.el):h;E(x,_,O,null,m,b,g,v,!0)}},Pt=(f,u,h,m,b)=>{if(u!==h){if(u!==z)for(const g in u)!we(g)&&!(g in h)&&r(f,g,u[g],null,b,m);for(const g in h){if(we(g))continue;const v=h[g],y=u[g];v!==y&&g!=="value"&&r(f,g,y,v,b,m)}"value"in h&&r(f,"value",u.value,h.value,b)}},Qt=(f,u,h,m,b,g,v,y,x)=>{const _=u.el=f?f.el:l(""),O=u.anchor=f?f.anchor:l("");let{patchFlag:w,dynamicChildren:T,slotScopeIds:k}=u;k&&(y=y?y.concat(k):k),f==null?(n(_,h,m),n(O,h,m),vt(u.children||[],h,O,b,g,v,y,x)):w>0&&w&64&&T&&f.dynamicChildren&&f.dynamicChildren.length===T.length?(Ot(f.dynamicChildren,T,h,b,g,v,y),(u.key!=null||b&&u===b.subTree)&&Ci(f,u,!0)):B(f,u,h,O,b,g,v,y,x)},oe=(f,u,h,m,b,g,v,y,x)=>{u.slotScopeIds=y,f==null?u.shapeFlag&512?b.ctx.activate(u,h,m,v,x):Ke(u,h,m,b,g,v,x):_s(f,u,x)},Ke=(f,u,h,m,b,g,v)=>{const y=f.component=sl(f,m,b);if(ei(f)&&(y.ctx.renderer=Be),il(y,!1,v),y.asyncDep){if(b&&b.registerDep(y,rt,v),!f.el){const x=y.subTree=jt(Xt);K(null,x,u,h),f.placeholder=x.el}}else rt(y,f,u,h,b,g,v)},_s=(f,u,h)=>{const m=u.component=f.component;if(Do(f,u,h))if(m.asyncDep&&!m.asyncResolved){Z(m,u,h);return}else m.next=u,m.update();else u.el=f.el,m.vnode=u},rt=(f,u,h,m,b,g,v)=>{const y=()=>{if(f.isMounted){let{next:w,bu:T,u:k,parent:j,vnode:q}=f;{const Ut=Ti(f);if(Ut){w&&(w.el=q.el,Z(f,w,v)),Ut.asyncDep.then(()=>{_t(()=>{f.isUnmounted||_()},b)});return}}let W=w,it;re(f,!1),w?(w.el=q.el,Z(f,w,v)):w=q,T&&Ye(T),(it=w.props&&w.props.onVnodeBeforeUpdate)&&Ht(it,j,w,q),re(f,!0);const ct=di(f),$t=f.subTree;f.subTree=ct,E($t,ct,p($t.el),ms($t),f,b,g),w.el=ct.el,W===null&&Fo(f,ct.el),k&&_t(k,b),(it=w.props&&w.props.onVnodeUpdated)&&_t(()=>Ht(it,j,w,q),b)}else{let w;const{el:T,props:k}=u,{bm:j,m:q,parent:W,root:it,type:ct}=f,$t=ke(u);re(f,!1),j&&Ye(j),!$t&&(w=k&&k.onVnodeBeforeMount)&&Ht(w,W,u),re(f,!0);{it.ce&&it.ce._hasShadowRoot()&&it.ce._injectChildStyle(ct,f.parent?f.parent.type:void 0);const Ut=f.subTree=di(f);E(null,Ut,h,m,f,b,g),u.el=Ut.el}if(q&&_t(q,b),!$t&&(w=k&&k.onVnodeMounted)){const Ut=u;_t(()=>Ht(w,W,Ut),b)}(u.shapeFlag&256||W&&ke(W.vnode)&&W.vnode.shapeFlag&256)&&f.a&&_t(f.a,b),f.isMounted=!0,u=h=m=null}};f.scope.on();const x=f.effect=new vn(y);f.scope.off();const _=f.update=x.run.bind(x),O=f.job=x.runIfDirty.bind(x);O.i=f,O.id=f.uid,x.scheduler=()=>$s(O),re(f,!0),_()},Z=(f,u,h)=>{u.component=f;const m=f.vnode.props;f.vnode=u,f.next=null,Lo(f,u.props,m,h),Ko(f,u.children,h),kt(),Wn(f),Nt()},B=(f,u,h,m,b,g,v,y,x=!1)=>{const _=f&&f.children,O=f?f.shapeFlag:0,w=u.children,{patchFlag:T,shapeFlag:k}=u;if(T>0){if(T&128){I(_,w,h,m,b,g,v,y,x);return}else if(T&256){D(_,w,h,m,b,g,v,y,x);return}}k&8?(O&16&&Ve(_,b,g),w!==_&&a(h,w)):O&16?k&16?I(_,w,h,m,b,g,v,y,x):Ve(_,b,g,!0):(O&8&&a(h,""),k&16&&vt(w,h,m,b,g,v,y,x))},D=(f,u,h,m,b,g,v,y,x)=>{f=f||le,u=u||le;const _=f.length,O=u.length,w=Math.min(_,O);let T;for(T=0;T<w;T++){const k=u[T]=x?Gt(u[T]):Lt(u[T]);E(f[T],k,h,null,b,g,v,y,x)}_>O?Ve(f,b,g,!0,!1,w):vt(u,h,m,b,g,v,y,x,w)},I=(f,u,h,m,b,g,v,y,x)=>{let _=0;const O=u.length;let w=f.length-1,T=O-1;for(;_<=w&&_<=T;){const k=f[_],j=u[_]=x?Gt(u[_]):Lt(u[_]);if(Le(k,j))E(k,j,h,null,b,g,v,y,x);else break;_++}for(;_<=w&&_<=T;){const k=f[w],j=u[T]=x?Gt(u[T]):Lt(u[T]);if(Le(k,j))E(k,j,h,null,b,g,v,y,x);else break;w--,T--}if(_>w){if(_<=T){const k=T+1,j=k<O?u[k].el:m;for(;_<=T;)E(null,u[_]=x?Gt(u[_]):Lt(u[_]),h,j,b,g,v,y,x),_++}}else if(_>T)for(;_<=w;)et(f[_],b,g,!0),_++;else{const k=_,j=_,q=new Map;for(_=j;_<=T;_++){const wt=u[_]=x?Gt(u[_]):Lt(u[_]);wt.key!=null&&q.set(wt.key,_)}let W,it=0;const ct=T-j+1;let $t=!1,Ut=0;const We=new Array(ct);for(_=0;_<ct;_++)We[_]=0;for(_=k;_<=w;_++){const wt=f[_];if(it>=ct){et(wt,b,g,!0);continue}let Kt;if(wt.key!=null)Kt=q.get(wt.key);else for(W=j;W<=T;W++)if(We[W-j]===0&&Le(wt,u[W])){Kt=W;break}Kt===void 0?et(wt,b,g,!0):(We[Kt-j]=_+1,Kt>=Ut?Ut=Kt:$t=!0,E(wt,u[Kt],h,null,b,g,v,y,x),it++)}const lr=$t?zo(We):le;for(W=lr.length-1,_=ct-1;_>=0;_--){const wt=j+_,Kt=u[wt],cr=u[wt+1],fr=wt+1<O?cr.el||Ai(cr):m;We[_]===0?E(null,Kt,h,fr,b,g,v,y,x):$t&&(W<0||_!==lr[W]?A(Kt,h,fr,2):W--)}}},A=(f,u,h,m,b=null)=>{const{el:g,type:v,transition:y,children:x,shapeFlag:_}=f;if(_&6){A(f.component.subTree,u,h,m);return}if(_&128){f.suspense.move(u,h,m);return}if(_&64){v.move(f,u,h,Be);return}if(v===ut){n(g,u,h);for(let w=0;w<x.length;w++)A(x[w],u,h,m);n(f.anchor,u,h);return}if(v===Zs){V(f,u,h);return}if(m!==2&&_&1&&y)if(m===0)y.persisted&&!g[Ks]?n(g,u,h):(y.beforeEnter(g),n(g,u,h),_t(()=>y.enter(g),b));else{const{leave:w,delayLeave:T,afterLeave:k}=y,j=()=>{f.ctx.isUnmounted?i(g):n(g,u,h)},q=()=>{const W=g._isLeaving||!!g[Ks];g._isLeaving&&g[Ks](!0),y.persisted&&!W?j():w(g,()=>{j(),k&&k()})};T?T(g,j,q):q()}else n(g,u,h)},et=(f,u,h,m=!1,b=!1)=>{const{type:g,props:v,ref:y,children:x,dynamicChildren:_,shapeFlag:O,patchFlag:w,dirs:T,cacheIndex:k,memo:j}=f;if(w===-2&&(b=!1),y!=null&&(kt(),Ie(y,null,h,f,!0),Nt()),k!=null&&(u.renderCache[k]=void 0),O&256){u.ctx.deactivate(f);return}const q=O&1&&T,W=!ke(f);let it;if(W&&(it=v&&v.onVnodeBeforeUnmount)&&Ht(it,u,f),O&6)Mc(f.component,h,m);else{if(O&128){f.suspense.unmount(h,m);return}q&&ne(f,null,u,"beforeUnmount"),O&64?f.type.remove(f,u,h,Be,m):_&&!_.hasOnce&&(g!==ut||w>0&&w&64)?Ve(_,u,h,!1,!0):(g===ut&&w&384||!b&&O&16)&&Ve(x,u,h),m&&ye(f)}const ct=j!=null&&k==null;(W&&(it=v&&v.onVnodeUnmounted)||q||ct)&&_t(()=>{it&&Ht(it,u,f),q&&ne(f,null,u,"unmounted"),ct&&(f.el=null)},h)},ye=f=>{const{type:u,el:h,anchor:m,transition:b}=f;if(u===ut){Rc(h,m);return}if(u===Zs){M(f);return}const g=()=>{i(h),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(f.shapeFlag&1&&b&&!b.persisted){const{leave:v,delayLeave:y}=b,x=()=>v(h,g);y?y(f.el,g,x):x()}else g()},Rc=(f,u)=>{let h;for(;f!==u;)h=S(f),i(f),f=h;i(u)},Mc=(f,u,h)=>{const{bum:m,scope:b,job:g,subTree:v,um:y,m:x,a:_}=f;Ei(x),Ei(_),m&&Ye(m),b.stop(),g&&(g.flags|=8,et(v,f,u,h)),y&&_t(y,u),_t(()=>{f.isUnmounted=!0},u)},Ve=(f,u,h,m=!1,b=!1,g=0)=>{for(let v=g;v<f.length;v++)et(f[v],u,h,m,b)},ms=f=>{if(f.shapeFlag&6)return ms(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const u=S(f.anchor||f.el),h=u&&u[lo];return h?S(h):u};let cn=!1;const or=(f,u,h)=>{let m;f==null?u._vnode&&(et(u._vnode,null,null,!0),m=u._vnode.component):E(u._vnode||null,f,u,null,null,null,h),u._vnode=f,cn||(cn=!0,Wn(m),zn(),cn=!1)},Be={p:E,um:et,m:A,r:ye,mt:Ke,mc:vt,pc:B,pbc:Ot,n:ms,o:t};return{render:or,hydrate:void 0,createApp:Po(or)}}function Qs({type:t,props:e},s){return s==="svg"&&t==="foreignObject"||s==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:s}function re({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function Wo(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Ci(t,e,s=!1){const n=t.children,i=e.children;if(P(n)&&P(i))for(let r=0;r<n.length;r++){const o=n[r];let l=i[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[r]=Gt(i[r]),l.el=o.el),!s&&l.patchFlag!==-2&&Ci(o,l)),l.type===hs&&(l.patchFlag===-1&&(l=i[r]=Gt(l)),l.el=o.el),l.type===Xt&&!l.el&&(l.el=o.el)}}function zo(t){const e=t.slice(),s=[0];let n,i,r,o,l;const c=t.length;for(n=0;n<c;n++){const d=t[n];if(d!==0){if(i=s[s.length-1],t[i]<d){e[n]=i,s.push(n);continue}for(r=0,o=s.length-1;r<o;)l=r+o>>1,t[s[l]]<d?r=l+1:o=l;d<t[s[r]]&&(r>0&&(e[n]=s[r-1]),s[r]=n)}}for(r=s.length,o=s[r-1];r-- >0;)s[r]=o,o=e[o];return s}function Ti(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Ti(e)}function Ei(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function Ai(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?Ai(e.subTree):null}const Oi=t=>t.__isSuspense;function qo(t,e){e&&e.pendingBranch?P(t)?e.effects.push(...t):e.effects.push(t):to(t)}const ut=Symbol.for("v-fgt"),hs=Symbol.for("v-txt"),Xt=Symbol.for("v-cmt"),Zs=Symbol.for("v-stc"),Fe=[];let xt=null;function J(t=!1){Fe.push(xt=t?null:[])}function Go(){Fe.pop(),xt=Fe[Fe.length-1]||null}let je=1;function Pi(t,e=!1){je+=t,t<0&&xt&&e&&(xt.hasOnce=!0)}function Ri(t){return t.dynamicChildren=je>0?xt||le:null,Go(),je>0&&xt&&xt.push(t),t}function X(t,e,s,n,i,r){return Ri(R(t,e,s,n,i,r,!0))}function Jo(t,e,s,n,i){return Ri(jt(t,e,s,n,i,!0))}function Mi(t){return t?t.__v_isVNode===!0:!1}function Le(t,e){return t.type===e.type&&t.key===e.key}const Ii=({key:t})=>t??null,ps=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?tt(t)||lt(t)||N(t)?{i:Ct,r:t,k:e,f:!!s}:t:null);function R(t,e=null,s=null,n=0,i=null,r=t===ut?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Ii(e),ref:e&&ps(e),scopeId:Gn,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Ct};return l?(tn(c,s),r&128&&t.normalize(c)):s&&(c.shapeFlag|=tt(s)?8:16),je>0&&!o&&xt&&(c.patchFlag>0||r&6)&&c.patchFlag!==32&&xt.push(c),c}const jt=Yo;function Yo(t,e=null,s=null,n=0,i=null,r=!1){if((!t||t===vo)&&(t=Xt),Mi(t)){const l=ge(t,e,!0);return s&&tn(l,s),je>0&&!r&&xt&&(l.shapeFlag&6?xt[xt.indexOf(t)]=l:xt.push(l)),l.patchFlag=-2,l}if(al(t)&&(t=t.__vccOpts),e){e=Xo(e);let{class:l,style:c}=e;l&&!tt(l)&&(e.class=Zt(l)),U(c)&&(Ls(c)&&!P(c)&&(c=st({},c)),e.style=Se(c))}const o=tt(t)?1:Oi(t)?128:co(t)?64:U(t)?4:N(t)?2:0;return R(t,e,s,n,i,o,r,!0)}function Xo(t){return t?Ls(t)||_i(t)?st({},t):t:null}function ge(t,e,s=!1,n=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:c}=t,d=e?Zo(i||{},e):i,a={__v_isVNode:!0,__v_skip:!0,type:t.type,props:d,key:d&&Ii(d),ref:e&&e.ref?s&&r?P(r)?r.concat(ps(e)):[r,ps(e)]:ps(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:l,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==ut?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:c,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&ge(t.ssContent),ssFallback:t.ssFallback&&ge(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return c&&n&&Vs(a,c.clone(a)),a}function Qo(t=" ",e=0){return jt(hs,null,t,e)}function be(t="",e=!1){return e?(J(),Jo(Xt,null,t)):jt(Xt,null,t)}function Lt(t){return t==null||typeof t=="boolean"?jt(Xt):P(t)?jt(ut,null,t.slice()):Mi(t)?Gt(t):jt(hs,null,String(t))}function Gt(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:ge(t)}function tn(t,e){let s=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(P(e))s=16;else if(typeof e=="object")if(n&65){const i=e.default;i&&(i._c&&(i._d=!1),tn(t,i()),i._c&&(i._d=!0));return}else{s=32;const i=e._;!i&&!_i(e)?e._ctx=Ct:i===3&&Ct&&(Ct.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else N(e)?(e={default:e,_ctx:Ct},s=32):(e=String(e),n&64?(s=16,e=[Qo(e)]):s=8);t.children=e,t.shapeFlag|=s}function Zo(...t){const e={};for(let s=0;s<t.length;s++){const n=t[s];for(const i in n)if(i==="class")e.class!==n.class&&(e.class=Zt([e.class,n.class]));else if(i==="style")e.style=Se([e.style,n.style]);else if(ze(i)){const r=e[i],o=n[i];o&&r!==o&&!(P(r)&&r.includes(o))?e[i]=r?[].concat(r,o):o:o==null&&r==null&&!qe(i)&&(e[i]=o)}else i!==""&&(e[i]=n[i])}return e}function Ht(t,e,s,n=null){At(t,e,7,[s,n])}const tl=ui();let el=0;function sl(t,e,s){const n=t.type,i=(e?e.appContext:t.appContext)||tl,r={uid:el++,vnode:t,type:n,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new yr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(i.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:xi(n,i),emitsOptions:ai(n,i),emit:null,emitted:null,propsDefaults:z,inheritAttrs:n.inheritAttrs,ctx:z,data:z,props:z,attrs:z,slots:z,refs:z,setupState:z,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=e?e.root:r,r.emit=Mo.bind(null,r),t.ce&&t.ce(r),r}let pt=null;const nl=()=>pt||Ct;let gs,en;{const t=Xe(),e=(s,n)=>{let i;return(i=t[s])||(i=t[s]=[]),i.push(n),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};gs=e("__VUE_INSTANCE_SETTERS__",s=>pt=s),en=e("__VUE_SSR_SETTERS__",s=>$e=s)}const He=t=>{const e=pt;return gs(t),t.scope.on(),()=>{t.scope.off(),gs(e)}},ki=()=>{pt&&pt.scope.off(),gs(null)};function Ni(t){return t.vnode.shapeFlag&4}let $e=!1;function il(t,e=!1,s=!1){e&&en(e);const{props:n,children:i}=t.vnode,r=Ni(t);jo(t,n,r,e),Uo(t,i,s||e);const o=r?rl(t,e):void 0;return e&&en(!1),o}function rl(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,wo);const{setup:n}=s;if(n){kt();const i=t.setupContext=n.length>1?ll(t):null,r=He(t),o=ae(n,t,0,[t.props,i]),l=dn(o);if(Nt(),r(),(l||t.sp)&&!ke(t)&&Qn(t),l){if(o.then(ki,ki),e)return o.then(c=>{Di(t,c)}).catch(c=>{rs(c,t,0)});t.asyncDep=o}else Di(t,o)}else Fi(t)}function Di(t,e,s){N(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:U(e)&&(t.setupState=$n(e)),Fi(t)}function Fi(t,e,s){const n=t.type;t.render||(t.render=n.render||Rt);{const i=He(t);kt();try{So(t)}finally{Nt(),i()}}}const ol={get(t,e){return ft(t,"get",""),t[e]}};function ll(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,ol),slots:t.slots,emit:t.emit,expose:e}}function bs(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy($n($r(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in Ne)return Ne[s](t)},has(e,s){return s in e||s in Ne}})):t.proxy}const cl=/(?:^|[-_])\w/g,fl=t=>t.replace(cl,e=>e.toUpperCase()).replace(/[-_]/g,"");function ul(t,e=!0){return N(t)?t.displayName||t.name:t.name||e&&t.__name}function ji(t,e,s=!1){let n=ul(e);if(!n&&e.__file){const i=e.__file.match(/([^/\\]+)\.\w+$/);i&&(n=i[1])}if(!n&&t){const i=r=>{for(const o in r)if(r[o]===e)return o};n=i(t.components)||t.parent&&i(t.parent.type.components)||i(t.appContext.components)}return n?fl(n):s?"App":"Anonymous"}function al(t){return N(t)&&"__vccOpts"in t}const Li=(t,e)=>Wr(t,e,$e),dl="3.5.35";/**
|
|
17
17
|
* @vue/runtime-dom v3.5.35
|
|
18
18
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
19
19
|
* @license MIT
|
|
20
|
-
**/let en;const Hi=typeof window<"u"&&window.trustedTypes;if(Hi)try{en=Hi.createPolicy("vue",{createHTML:t=>t})}catch{}const $i=en?t=>en.createHTML(t):t=>t,hl="http://www.w3.org/2000/svg",pl="http://www.w3.org/1998/Math/MathML",qt=typeof document<"u"?document:null,Ki=qt&&qt.createElement("template"),gl={insert:(t,e,s)=>{e.insertBefore(t,s||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,s,n)=>{const i=e==="svg"?qt.createElementNS(hl,t):e==="mathml"?qt.createElementNS(pl,t):s?qt.createElement(t,{is:s}):qt.createElement(t);return t==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:t=>qt.createTextNode(t),createComment:t=>qt.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>qt.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,s,n,i,r){const o=s?s.previousSibling:e.lastChild;if(i&&(i===r||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),s),!(i===r||!(i=i.nextSibling)););else{Ki.innerHTML=$i(n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t);const l=Ki.content;if(n==="svg"||n==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}e.insertBefore(l,s)}return[o?o.nextSibling:e.firstChild,s?s.previousSibling:e.lastChild]}},_l=Symbol("_vtc");function bl(t,e,s){const n=t[_l];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const Ui=Symbol("_vod"),ml=Symbol("_vsh"),yl=Symbol(""),vl=/(?:^|;)\s*display\s*:/;function xl(t,e,s){const n=t.style,i=X(s);let r=!1;if(s&&!i){if(e)if(X(e))for(const o of e.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&Ke(n,l,"")}else for(const o in e)s[o]==null&&Ke(n,o,"");for(const o in s){o==="display"&&(r=!0);const l=s[o];l!=null?Sl(t,o,!X(e)&&e?e[o]:void 0,l)||Ke(n,o,l):Ke(n,o,"")}}else if(i){if(e!==s){const o=n[yl];o&&(s+=";"+o),n.cssText=s,r=vl.test(s)}}else e&&t.removeAttribute("style");Ui in t&&(t[Ui]=r?n.display:"",t[ml]&&(n.display="none"))}const Vi=/\s*!important$/;function Ke(t,e,s){if(R(s))s.forEach(n=>Ke(t,e,n));else if(s==null&&(s=""),e.startsWith("--"))t.setProperty(e,s);else{const n=wl(t,e);Vi.test(s)?t.setProperty(_t(n),s.replace(Vi,""),"important"):t[n]=s}}const Bi=["Webkit","Moz","ms"],sn={};function wl(t,e){const s=sn[e];if(s)return s;let n=dt(e);if(n!=="filter"&&n in t)return sn[e]=n;n=hn(n);for(let i=0;i<Bi.length;i++){const r=Bi[i]+n;if(r in t)return sn[e]=r}return e}function Sl(t,e,s,n){return t.tagName==="TEXTAREA"&&(e==="width"||e==="height")&&X(n)&&s===n}const ki="http://www.w3.org/1999/xlink";function Wi(t,e,s,n,i,r=mr(e)){n&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(ki,e.slice(6,e.length)):t.setAttributeNS(ki,e,s):s==null||r&&!bn(s)?t.removeAttribute(e):t.setAttribute(e,r?"":Tt(s)?String(s):s)}function qi(t,e,s,n,i){if(e==="innerHTML"||e==="textContent"){s!=null&&(t[e]=e==="innerHTML"?$i(s):s);return}const r=t.tagName;if(e==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?t.getAttribute("value")||"":t.value,c=s==null?t.type==="checkbox"?"on":"":String(s);(l!==c||!("_value"in t))&&(t.value=c),s==null&&t.removeAttribute(e),t._value=s;return}let o=!1;if(s===""||s==null){const l=typeof t[e];l==="boolean"?s=bn(s):s==null&&l==="string"?(s="",o=!0):l==="number"&&(s=0,o=!0)}try{t[e]=s}catch{}o&&t.removeAttribute(i||e)}function be(t,e,s,n){t.addEventListener(e,s,n)}function Cl(t,e,s,n){t.removeEventListener(e,s,n)}const Gi=Symbol("_vei");function Tl(t,e,s,n,i=null){const r=t[Gi]||(t[Gi]={}),o=r[e];if(n&&o)o.value=n;else{const[l,c]=El(e);if(n){const d=r[e]=Ol(n,i);be(t,l,d,c)}else o&&(Cl(t,l,o,c),r[e]=void 0)}}const Ji=/(?:Once|Passive|Capture)$/;function El(t){let e;if(Ji.test(t)){e={};let n;for(;n=t.match(Ji);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):_t(t.slice(2)),e]}let nn=0;const Al=Promise.resolve(),Pl=()=>nn||(Al.then(()=>nn=0),nn=Date.now());function Ol(t,e){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const i=s.value;if(R(i)){const r=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0};const o=i.slice(),l=[n];for(let c=0;c<o.length&&!n._stopped;c++){const d=o[c];d&&St(d,e,5,l)}}else St(i,e,5,[n])};return s.value=t,s.attached=Pl(),s}const Yi=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Rl=(t,e,s,n,i,r)=>{const o=i==="svg";e==="class"?bl(t,n,o):e==="style"?xl(t,s,n):We(e)?qe(e)||Tl(t,e,s,n,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Ml(t,e,n,o))?(qi(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&Wi(t,e,n,o,r,e!=="value")):t._isVueCE&&(Il(t,e)||t._def.__asyncLoader&&(/[A-Z]/.test(e)||!X(n)))?qi(t,dt(e),n,r,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),Wi(t,e,n,o))};function Ml(t,e,s,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&Yi(e)&&D(s));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="sandbox"&&t.tagName==="IFRAME"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const i=t.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Yi(e)&&X(s)?!1:e in t}function Il(t,e){const s=t._def.props;if(!s)return!1;const n=dt(e);return Array.isArray(s)?s.some(i=>dt(i)===n):Object.keys(s).some(i=>dt(i)===n)}const Xi={};function Nl(t,e,s){let n=Xn(t,e);Ge(n)&&(n=Z({},n,e));class i extends rn{constructor(o){super(n,o,s)}}return i.def=n,i}const Dl=typeof HTMLElement<"u"?HTMLElement:class{};class rn extends Dl{constructor(e,s={},n=nr){super(),this._def=e,this._props=s,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&n!==nr?this._root=this.shadowRoot:e.shadowRoot!==!1?(this.attachShadow(Z({},e.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let e=this;for(;e=e&&(e.assignedSlot||e.parentNode||e.host);)if(e instanceof rn){this._parent=e;break}this._instance||(this._resolved?this._mount(this._def):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,Vn(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(e){for(const s of e)this._setAttr(s.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const e=(n,i=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:o}=n;let l;if(r&&!R(r))for(const c in r){const d=r[c];(d===Number||d&&d.type===Number)&&(c in this._props&&(this._props[c]=gn(this._props[c])),(l||(l=Object.create(null)))[dt(c)]=!0)}this._numberProps=l,this._resolveProps(n),this.shadowRoot&&this._applyStyles(o),this._mount(n)},s=this._def.__asyncLoader;s?this._pendingResolve=s().then(n=>{n.configureApp=this._def.configureApp,e(this._def=n,!0)}):e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const s=this._instance&&this._instance.exposed;if(s)for(const n in s)K(this,n)||Object.defineProperty(this,n,{get:()=>Hn(s[n])})}_resolveProps(e){const{props:s}=e,n=R(s)?s:Object.keys(s||{});for(const i of Object.keys(this))i[0]!=="_"&&n.includes(i)&&this._setProp(i,this[i]);for(const i of n.map(dt))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(r){this._setProp(i,r,!0,!this._patching)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const s=this.hasAttribute(e);let n=s?this.getAttribute(e):Xi;const i=dt(e);s&&this._numberProps&&this._numberProps[i]&&(n=gn(n)),this._setProp(i,n,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,s,n=!0,i=!1){if(s!==this._props[e]&&(this._dirty=!0,s===Xi?delete this._props[e]:(this._props[e]=s,e==="key"&&this._app&&(this._app._ceVNode.key=s)),i&&this._instance&&this._update(),n)){const r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),s===!0?this.setAttribute(_t(e),""):typeof s=="string"||typeof s=="number"?this.setAttribute(_t(e),s+""):s||this.removeAttribute(_t(e)),r&&r.observe(this,{attributes:!0})}}_update(){const e=this._createVNode();this._app&&(e.appContext=this._app._context),Ul(e,this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const s=Mt(this._def,Z(e,this._props));return this._instance||(s.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const i=(r,o)=>{this.dispatchEvent(new CustomEvent(r,Ge(o[0])?Z({detail:o},o[0]):{detail:o}))};n.emit=(r,...o)=>{i(r,o),_t(r)!==r&&i(_t(r),o)},this._setParent()}),s}_applyStyles(e,s,n){if(!e)return;if(s){if(s===this._def||this._styleChildren.has(s))return;this._styleChildren.add(s)}const i=this._nonce,r=this.shadowRoot,o=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(r);let l=null;for(let c=e.length-1;c>=0;c--){const d=document.createElement("style");i&&d.setAttribute("nonce",i),d.textContent=e[c],r.insertBefore(d,l||o),l=d,c===0&&(n||this._styleAnchors.set(this._def,d),s&&this._styleAnchors.set(s,d))}}_getStyleAnchor(e){if(!e)return null;const s=this._styleAnchors.get(e);return s&&s.parentNode===this.shadowRoot?s:(s&&this._styleAnchors.delete(e),null)}_getRootStyleInsertionAnchor(e){for(let s=0;s<e.childNodes.length;s++){const n=e.childNodes[s];if(!(n instanceof HTMLStyleElement))return n}return null}_parseSlots(){const e=this._slots={};let s;for(;s=this.firstChild;){const n=s.nodeType===1&&s.getAttribute("slot")||"default";(e[n]||(e[n]=[])).push(s),this.removeChild(s)}}_renderSlots(){const e=this._getSlots(),s=this._instance.type.__scopeId;for(let n=0;n<e.length;n++){const i=e[n],r=i.getAttribute("name")||"default",o=this._slots[r],l=i.parentNode;if(o)for(const c of o){if(s&&c.nodeType===1){const d=s+"-s",a=document.createTreeWalker(c,1);c.setAttribute(d,"");let p;for(;p=a.nextNode();)p.setAttribute(d,"")}l.insertBefore(c,i)}else for(;i.firstChild;)l.insertBefore(i.firstChild,i);l.removeChild(i)}}_getSlots(){const e=[this];this._teleportTargets&&e.push(...this._teleportTargets);const s=new Set;for(const n of e){const i=n.querySelectorAll("slot");for(let r=0;r<i.length;r++)s.add(i[r])}return Array.from(s)}_injectChildStyle(e,s){this._applyStyles(e.styles,e,s)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(e){}}const zi=t=>{const e=t.props["onUpdate:modelValue"]||!1;return R(e)?s=>Ye(e,s):e};function Fl(t){t.target.composing=!0}function Qi(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const on=Symbol("_assign");function Zi(t,e,s){return e&&(t=t.trim()),s&&(t=ws(t)),t}const jl={created(t,{modifiers:{lazy:e,trim:s,number:n}},i){t[on]=zi(i);const r=n||i.props&&i.props.type==="number";be(t,e?"change":"input",o=>{o.target.composing||t[on](Zi(t.value,s,r))}),(s||r)&&be(t,"change",()=>{t.value=Zi(t.value,s,r)}),e||(be(t,"compositionstart",Fl),be(t,"compositionend",Qi),be(t,"change",Qi))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:s,modifiers:{lazy:n,trim:i,number:r}},o){if(t[on]=zi(o),t.composing)return;const l=(r||t.type==="number")&&!/^0\d/.test(t.value)?ws(t.value):t.value,c=e??"";if(l===c)return;const d=t.getRootNode();(d instanceof Document||d instanceof ShadowRoot)&&d.activeElement===t&&t.type!=="range"&&(n&&e===s||i&&t.value.trim()===c)||(t.value=c)}},Ll=["ctrl","shift","alt","meta"],Hl={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>Ll.some(s=>t[`${s}Key`]&&!e.includes(s))},me=(t,e)=>{if(!t)return t;const s=t._withMods||(t._withMods={}),n=e.join(".");return s[n]||(s[n]=((i,...r)=>{for(let o=0;o<e.length;o++){const l=Hl[e[o]];if(l&&l(i,e))return}return t(i,...r)}))},$l={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},tr=(t,e)=>{const s=t._withKeys||(t._withKeys={}),n=e.join(".");return s[n]||(s[n]=(i=>{if(!("key"in i))return;const r=_t(i.key);if(e.some(o=>o===r||$l[o]===r))return t(i)}))},Kl=Z({patchProp:Rl},gl);let er;function sr(){return er||(er=Bo(Kl))}const Ul=((...t)=>{sr().render(...t)}),nr=((...t)=>{const e=sr().createApp(...t),{mount:s}=e;return e.mount=n=>{const i=Bl(n);if(!i)return;const r=e._component;!D(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=s(i,!1,Vl(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e});function Vl(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Bl(t){return X(t)?document.querySelector(t):t}const kl={class:"tdb-header-r"},Wl={class:"tdb-urlbar"},ql={class:"tdb-url"},Gl={class:"tdb-tabs"},Jl=["onClick"],Yl={key:0,class:"tdb-body"},Xl={class:"tdb-pills"},zl=["onClick"],Ql={key:0,class:"tdb-muted"},Zl={key:1,class:"tdb-muted"},tc={key:2,class:"tdb-list"},ec=["onClick"],sc={class:"tdb-arrow"},nc={class:"tdb-etype"},ic={class:"tdb-eid"},rc={key:0,class:"tdb-attrs"},oc={class:"tdb-akey"},lc={class:"tdb-aval"},cc={key:1,class:"tdb-body"},fc=["onKeydown"],uc={class:"tdb-examples"},ac=["onClick"],dc=["disabled"],hc={key:0,class:"tdb-error"},pc={key:1,class:"tdb-result"},gc={key:2,class:"tdb-body"},_c={key:0,class:"tdb-block"},bc={class:"tdb-row"},mc={class:"tdb-badge ok"},yc={key:0,class:"tdb-row"},vc={key:1,class:"tdb-block"},xc={class:"tdb-label"},wc={class:"tdb-count"},Sc={class:"tdb-row tdb-row-total"},Cc={class:"tdb-count"},Tc={class:"tdb-block"},Ec={class:"tdb-path"},Ac=Nl(Xn({__name:"Inspector",props:{dbUrl:{}},setup(t){const e=t,s=ct(!1),n=ct("entities"),i=Pe({x:0,y:0}),r=ct(!1),o=Pe({sx:0,sy:0,px:0,py:0});function l(F){F.target.closest(".tdb-close, .tdb-link")||(r.value=!0,o.sx=F.clientX,o.sy=F.clientY,o.px=i.x,o.py=i.y,F.preventDefault())}function c(F){r.value&&(i.x=o.px+(F.clientX-o.sx),i.y=o.py+(F.clientY-o.sy))}function d(){r.value=!1}si(()=>{i.x=window.innerWidth-360-20,i.y=window.innerHeight-48-20,window.addEventListener("mousemove",c),window.addEventListener("mouseup",d)}),Bs(()=>{window.removeEventListener("mousemove",c),window.removeEventListener("mouseup",d)});const a=ct([]),p=ct([]),w=ct(null),E=ct(new Set),$=ct(!1),I=Li(()=>w.value?a.value.filter(F=>F.type===w.value):a.value);async function Q(){$.value=!0;try{const T=await(await fetch(`${e.dbUrl}/entities?limit=200`)).json();a.value=T.data??[],p.value=[...new Set(a.value.map(S=>S.type))]}catch{a.value=[]}finally{$.value=!1}}function J(F){const T=new Set(E.value);T.has(F)?T.delete(F):T.add(F),E.value=T}const j=ct(""),U=ct(null),P=ct(null),z=ct(!1),Dt=["find Note",'find Note where pinned = "true"',"find Note limit 5"];async function pt(){if(j.value.trim()){z.value=!0,P.value=null,U.value=null;try{const T=await(await fetch(`${e.dbUrl}/query`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:j.value})})).json();if(T.error)throw new Error(T.error);U.value=T}catch(F){P.value=F.message}finally{z.value=!1}}}const gt=ct(null),Yt=ct({}),Ft=ct(0),ne=[{m:"GET",p:"/health"},{m:"GET",p:"/entities"},{m:"POST",p:"/entities"},{m:"GET",p:"/entities/:id"},{m:"PUT",p:"/entities/:id"},{m:"DELETE",p:"/entities/:id"},{m:"POST",p:"/query"},{m:"POST",p:"/upload"},{m:"GET",p:"/files/:hash"}];async function ye(){try{const[F,T]=await Promise.all([fetch(`${e.dbUrl}/health`).then(S=>S.json()).catch(()=>null),fetch(`${e.dbUrl}/entities?limit=500`).then(S=>S.json()).catch(()=>null)]);if(gt.value=F,T?.data){const S={};for(const st of T.data)S[st.type]=(S[st.type]??0)+1;Yt.value=S,Ft.value=T.total??T.data.length}}catch{}}function ie(F){n.value=F,F==="entities"?Q():F==="stats"&&ye()}function Ue(){s.value=!0,ie(n.value)}function _s(){s.value=!1}return(F,T)=>s.value?(G(),Y("div",{key:1,class:"tdb-panel",style:we({left:`${i.x}px`,top:`${i.y}px`})},[M("div",{class:"tdb-header",onMousedown:me(l,["prevent"])},[T[4]||(T[4]=M("div",{class:"tdb-header-l"},[M("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"#a78bfa","stroke-width":"2"},[M("polygon",{points:"12 2 22 8.5 22 15.5 12 22 2 15.5 2 8.5"})]),M("span",{class:"tdb-title"},"Trellis DB")],-1)),M("div",kl,[T[3]||(T[3]=M("span",{class:"tdb-link",title:"Coming soon — full client UI"},"Open Client ↗",-1)),M("button",{class:"tdb-close",onClick:me(_s,["stop"])},"✕")])],32),M("div",Wl,[T[5]||(T[5]=M("span",{class:"tdb-dot"},"◉",-1)),M("code",ql,tt(t.dbUrl),1)]),M("div",Gl,[(G(),Y(lt,null,ee(["entities","query","stats"],S=>M("button",{key:S,class:Xt(["tdb-tab",{active:n.value===S}]),onClick:st=>ie(S)},tt(S),11,Jl)),64))]),n.value==="entities"?(G(),Y("div",Yl,[M("div",Xl,[M("button",{class:Xt(["tdb-pill",{active:!w.value}]),onClick:T[0]||(T[0]=S=>w.value=null)}," All · "+tt(a.value.length),3),(G(!0),Y(lt,null,ee(p.value,S=>(G(),Y("button",{key:S,class:Xt(["tdb-pill",{active:w.value===S}]),onClick:st=>w.value=S},tt(S),11,zl))),128)),M("button",{class:"tdb-pill tdb-pill-icon",onClick:Q,title:"Refresh"},"↻")]),$.value?(G(),Y("div",Ql,"Loading…")):I.value.length?(G(),Y("div",tc,[(G(!0),Y(lt,null,ee(I.value,S=>(G(),Y("div",{key:S.id,class:"tdb-entity"},[M("div",{class:"tdb-entity-row",onClick:st=>J(S.id)},[M("span",sc,tt(E.value.has(S.id)?"▾":"▸"),1),M("span",nc,tt(S.type),1),M("span",ic,tt(S.id),1)],8,ec),E.value.has(S.id)?(G(),Y("div",rc,[(G(!0),Y(lt,null,ee(S,(st,re)=>(G(),Y("div",{key:String(re),class:"tdb-attr"},[M("span",oc,tt(re),1),M("span",lc,tt(st),1)]))),128))])):_e("",!0)]))),128))])):(G(),Y("div",Zl,"No entities found."))])):n.value==="query"?(G(),Y("div",cc,[so(M("textarea",{class:"tdb-textarea","onUpdate:modelValue":T[1]||(T[1]=S=>j.value=S),placeholder:'find Note where pinned = "true"',onKeydown:[tr(me(pt,["meta","prevent"]),["enter"]),tr(me(pt,["ctrl","prevent"]),["enter"])],spellcheck:"false"},null,40,fc),[[jl,j.value]]),M("div",uc,[(G(),Y(lt,null,ee(Dt,S=>M("span",{key:S,class:"tdb-ex",onClick:st=>j.value=S},tt(S),9,ac)),64))]),M("button",{class:"tdb-run",disabled:z.value||!j.value.trim(),onClick:pt},tt(z.value?"Running…":"Run ⌘↵"),9,dc),P.value?(G(),Y("div",hc,tt(P.value),1)):U.value?(G(),Y("pre",pc,tt(JSON.stringify(U.value,null,2)),1)):_e("",!0)])):n.value==="stats"?(G(),Y("div",gc,[gt.value?(G(),Y("div",_c,[M("div",bc,[T[6]||(T[6]=M("span",{class:"tdb-label"},"Status",-1)),M("span",mc,tt(gt.value.status),1)]),gt.value.uptime!==void 0?(G(),Y("div",yc,[T[7]||(T[7]=M("span",{class:"tdb-label"},"Uptime",-1)),M("span",null,tt(Math.round(gt.value.uptime))+"s",1)])):_e("",!0)])):_e("",!0),Object.keys(Yt.value).length?(G(),Y("div",vc,[T[9]||(T[9]=M("div",{class:"tdb-section-label"},"Entity Types",-1)),(G(!0),Y(lt,null,ee(Yt.value,(S,st)=>(G(),Y("div",{key:String(st),class:"tdb-row"},[M("span",xc,tt(st),1),M("span",wc,tt(S),1)]))),128)),M("div",Sc,[T[8]||(T[8]=M("span",{class:"tdb-label"},"Total",-1)),M("span",Cc,tt(Ft.value),1)])])):_e("",!0),M("div",Tc,[T[10]||(T[10]=M("div",{class:"tdb-section-label"},"REST API",-1)),(G(),Y(lt,null,ee(ne,S=>M("div",{key:S.m+S.p,class:"tdb-ep"},[M("span",{class:Xt(["tdb-method",S.m.toLowerCase()])},tt(S.m),3),M("code",Ec,tt(S.p),1)])),64))])])):_e("",!0)],4)):(G(),Y("div",{key:0,class:"tdb-toggle",onMousedown:me(l,["prevent"]),onClick:me(Ue,["stop"]),style:we({left:`${i.x}px`,top:`${i.y}px`})},[...T[2]||(T[2]=[M("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[M("polygon",{points:"12 2 22 8.5 22 15.5 12 22 2 15.5 2 8.5"})],-1),M("span",null,"DB",-1)])],36))}}));customElements.get("trellis-db-inspector")||customElements.define("trellis-db-inspector",Ac);function Pc(){const t=document.currentScript;if(t?.src)return new URL(t.src).origin;for(const e of Array.from(document.querySelectorAll("script[src]")))if(e.src.includes("/__trellis/inspector"))return new URL(e.src).origin;return window.location.origin}function ir(){if(document.querySelector("trellis-db-inspector"))return;const t=document.createElement("trellis-db-inspector");t.setAttribute("db-url",Pc()),document.body.appendChild(t)}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",ir):ir()})();
|
|
20
|
+
**/let sn;const Hi=typeof window<"u"&&window.trustedTypes;if(Hi)try{sn=Hi.createPolicy("vue",{createHTML:t=>t})}catch{}const $i=sn?t=>sn.createHTML(t):t=>t,hl="http://www.w3.org/2000/svg",pl="http://www.w3.org/1998/Math/MathML",Jt=typeof document<"u"?document:null,Ui=Jt&&Jt.createElement("template"),gl={insert:(t,e,s)=>{e.insertBefore(t,s||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,s,n)=>{const i=e==="svg"?Jt.createElementNS(hl,t):e==="mathml"?Jt.createElementNS(pl,t):s?Jt.createElement(t,{is:s}):Jt.createElement(t);return t==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:t=>Jt.createTextNode(t),createComment:t=>Jt.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Jt.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,s,n,i,r){const o=s?s.previousSibling:e.lastChild;if(i&&(i===r||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),s),!(i===r||!(i=i.nextSibling)););else{Ui.innerHTML=$i(n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t);const l=Ui.content;if(n==="svg"||n==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}e.insertBefore(l,s)}return[o?o.nextSibling:e.firstChild,s?s.previousSibling:e.lastChild]}},bl=Symbol("_vtc");function _l(t,e,s){const n=t[bl];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const Ki=Symbol("_vod"),ml=Symbol("_vsh"),xl=Symbol(""),yl=/(?:^|;)\s*display\s*:/;function vl(t,e,s){const n=t.style,i=tt(s);let r=!1;if(s&&!i){if(e)if(tt(e))for(const o of e.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&Ue(n,l,"")}else for(const o in e)s[o]==null&&Ue(n,o,"");for(const o in s){o==="display"&&(r=!0);const l=s[o];l!=null?Sl(t,o,!tt(e)&&e?e[o]:void 0,l)||Ue(n,o,l):Ue(n,o,"")}}else if(i){if(e!==s){const o=n[xl];o&&(s+=";"+o),n.cssText=s,r=yl.test(s)}}else e&&t.removeAttribute("style");Ki in t&&(t[Ki]=r?n.display:"",t[ml]&&(n.display="none"))}const Vi=/\s*!important$/;function Ue(t,e,s){if(P(s))s.forEach(n=>Ue(t,e,n));else if(s==null&&(s=""),e.startsWith("--"))t.setProperty(e,s);else{const n=wl(t,e);Vi.test(s)?t.setProperty(mt(n),s.replace(Vi,""),"important"):t[n]=s}}const Bi=["Webkit","Moz","ms"],nn={};function wl(t,e){const s=nn[e];if(s)return s;let n=bt(e);if(n!=="filter"&&n in t)return nn[e]=n;n=pn(n);for(let i=0;i<Bi.length;i++){const r=Bi[i]+n;if(r in t)return nn[e]=r}return e}function Sl(t,e,s,n){return t.tagName==="TEXTAREA"&&(e==="width"||e==="height")&&tt(n)&&s===n}const Wi="http://www.w3.org/1999/xlink";function zi(t,e,s,n,i,r=mr(e)){n&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(Wi,e.slice(6,e.length)):t.setAttributeNS(Wi,e,s):s==null||r&&!mn(s)?t.removeAttribute(e):t.setAttribute(e,r?"":Mt(s)?String(s):s)}function qi(t,e,s,n,i){if(e==="innerHTML"||e==="textContent"){s!=null&&(t[e]=e==="innerHTML"?$i(s):s);return}const r=t.tagName;if(e==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?t.getAttribute("value")||"":t.value,c=s==null?t.type==="checkbox"?"on":"":String(s);(l!==c||!("_value"in t))&&(t.value=c),s==null&&t.removeAttribute(e),t._value=s;return}let o=!1;if(s===""||s==null){const l=typeof t[e];l==="boolean"?s=mn(s):s==null&&l==="string"?(s="",o=!0):l==="number"&&(s=0,o=!0)}try{t[e]=s}catch{}o&&t.removeAttribute(i||e)}function _e(t,e,s,n){t.addEventListener(e,s,n)}function Cl(t,e,s,n){t.removeEventListener(e,s,n)}const Gi=Symbol("_vei");function Tl(t,e,s,n,i=null){const r=t[Gi]||(t[Gi]={}),o=r[e];if(n&&o)o.value=n;else{const[l,c]=El(e);if(n){const d=r[e]=Pl(n,i);_e(t,l,d,c)}else o&&(Cl(t,l,o,c),r[e]=void 0)}}const Ji=/(?:Once|Passive|Capture)$/;function El(t){let e;if(Ji.test(t)){e={};let n;for(;n=t.match(Ji);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):mt(t.slice(2)),e]}let rn=0;const Al=Promise.resolve(),Ol=()=>rn||(Al.then(()=>rn=0),rn=Date.now());function Pl(t,e){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const i=s.value;if(P(i)){const r=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0};const o=i.slice(),l=[n];for(let c=0;c<o.length&&!n._stopped;c++){const d=o[c];d&&At(d,e,5,l)}}else At(i,e,5,[n])};return s.value=t,s.attached=Ol(),s}const Yi=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Rl=(t,e,s,n,i,r)=>{const o=i==="svg";e==="class"?_l(t,n,o):e==="style"?vl(t,s,n):ze(e)?qe(e)||Tl(t,e,s,n,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Ml(t,e,n,o))?(qi(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&zi(t,e,n,o,r,e!=="value")):t._isVueCE&&(Il(t,e)||t._def.__asyncLoader&&(/[A-Z]/.test(e)||!tt(n)))?qi(t,bt(e),n,r,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),zi(t,e,n,o))};function Ml(t,e,s,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&Yi(e)&&N(s));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="sandbox"&&t.tagName==="IFRAME"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const i=t.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Yi(e)&&tt(s)?!1:e in t}function Il(t,e){const s=t._def.props;if(!s)return!1;const n=bt(e);return Array.isArray(s)?s.some(i=>bt(i)===n):Object.keys(s).some(i=>bt(i)===n)}const Xi={};function kl(t,e,s){let n=Xn(t,e);Ge(n)&&(n=st({},n,e));class i extends on{constructor(o){super(n,o,s)}}return i.def=n,i}const Nl=typeof HTMLElement<"u"?HTMLElement:class{};class on extends Nl{constructor(e,s={},n=ir){super(),this._def=e,this._props=s,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&n!==ir?this._root=this.shadowRoot:e.shadowRoot!==!1?(this.attachShadow(st({},e.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let e=this;for(;e=e&&(e.assignedSlot||e.parentNode||e.host);)if(e instanceof on){this._parent=e;break}this._instance||(this._resolved?this._mount(this._def):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,Vn(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(e){for(const s of e)this._setAttr(s.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const e=(n,i=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:o}=n;let l;if(r&&!P(r))for(const c in r){const d=r[c];(d===Number||d&&d.type===Number)&&(c in this._props&&(this._props[c]=bn(this._props[c])),(l||(l=Object.create(null)))[bt(c)]=!0)}this._numberProps=l,this._resolveProps(n),this.shadowRoot&&this._applyStyles(o),this._mount(n)},s=this._def.__asyncLoader;s?this._pendingResolve=s().then(n=>{n.configureApp=this._def.configureApp,e(this._def=n,!0)}):e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const s=this._instance&&this._instance.exposed;if(s)for(const n in s)H(this,n)||Object.defineProperty(this,n,{get:()=>Hn(s[n])})}_resolveProps(e){const{props:s}=e,n=P(s)?s:Object.keys(s||{});for(const i of Object.keys(this))i[0]!=="_"&&n.includes(i)&&this._setProp(i,this[i]);for(const i of n.map(bt))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(r){this._setProp(i,r,!0,!this._patching)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const s=this.hasAttribute(e);let n=s?this.getAttribute(e):Xi;const i=bt(e);s&&this._numberProps&&this._numberProps[i]&&(n=bn(n)),this._setProp(i,n,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,s,n=!0,i=!1){if(s!==this._props[e]&&(this._dirty=!0,s===Xi?delete this._props[e]:(this._props[e]=s,e==="key"&&this._app&&(this._app._ceVNode.key=s)),i&&this._instance&&this._update(),n)){const r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),s===!0?this.setAttribute(mt(e),""):typeof s=="string"||typeof s=="number"?this.setAttribute(mt(e),s+""):s||this.removeAttribute(mt(e)),r&&r.observe(this,{attributes:!0})}}_update(){const e=this._createVNode();this._app&&(e.appContext=this._app._context),Ul(e,this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const s=jt(this._def,st(e,this._props));return this._instance||(s.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const i=(r,o)=>{this.dispatchEvent(new CustomEvent(r,Ge(o[0])?st({detail:o},o[0]):{detail:o}))};n.emit=(r,...o)=>{i(r,o),mt(r)!==r&&i(mt(r),o)},this._setParent()}),s}_applyStyles(e,s,n){if(!e)return;if(s){if(s===this._def||this._styleChildren.has(s))return;this._styleChildren.add(s)}const i=this._nonce,r=this.shadowRoot,o=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(r);let l=null;for(let c=e.length-1;c>=0;c--){const d=document.createElement("style");i&&d.setAttribute("nonce",i),d.textContent=e[c],r.insertBefore(d,l||o),l=d,c===0&&(n||this._styleAnchors.set(this._def,d),s&&this._styleAnchors.set(s,d))}}_getStyleAnchor(e){if(!e)return null;const s=this._styleAnchors.get(e);return s&&s.parentNode===this.shadowRoot?s:(s&&this._styleAnchors.delete(e),null)}_getRootStyleInsertionAnchor(e){for(let s=0;s<e.childNodes.length;s++){const n=e.childNodes[s];if(!(n instanceof HTMLStyleElement))return n}return null}_parseSlots(){const e=this._slots={};let s;for(;s=this.firstChild;){const n=s.nodeType===1&&s.getAttribute("slot")||"default";(e[n]||(e[n]=[])).push(s),this.removeChild(s)}}_renderSlots(){const e=this._getSlots(),s=this._instance.type.__scopeId;for(let n=0;n<e.length;n++){const i=e[n],r=i.getAttribute("name")||"default",o=this._slots[r],l=i.parentNode;if(o)for(const c of o){if(s&&c.nodeType===1){const d=s+"-s",a=document.createTreeWalker(c,1);c.setAttribute(d,"");let p;for(;p=a.nextNode();)p.setAttribute(d,"")}l.insertBefore(c,i)}else for(;i.firstChild;)l.insertBefore(i.firstChild,i);l.removeChild(i)}}_getSlots(){const e=[this];this._teleportTargets&&e.push(...this._teleportTargets);const s=new Set;for(const n of e){const i=n.querySelectorAll("slot");for(let r=0;r<i.length;r++)s.add(i[r])}return Array.from(s)}_injectChildStyle(e,s){this._applyStyles(e.styles,e,s)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(e){}}const Qi=t=>{const e=t.props["onUpdate:modelValue"]||!1;return P(e)?s=>Ye(e,s):e};function Dl(t){t.target.composing=!0}function Zi(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const ln=Symbol("_assign");function tr(t,e,s){return e&&(t=t.trim()),s&&(t=Ss(t)),t}const Fl={created(t,{modifiers:{lazy:e,trim:s,number:n}},i){t[ln]=Qi(i);const r=n||i.props&&i.props.type==="number";_e(t,e?"change":"input",o=>{o.target.composing||t[ln](tr(t.value,s,r))}),(s||r)&&_e(t,"change",()=>{t.value=tr(t.value,s,r)}),e||(_e(t,"compositionstart",Dl),_e(t,"compositionend",Zi),_e(t,"change",Zi))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:s,modifiers:{lazy:n,trim:i,number:r}},o){if(t[ln]=Qi(o),t.composing)return;const l=(r||t.type==="number")&&!/^0\d/.test(t.value)?Ss(t.value):t.value,c=e??"";if(l===c)return;const d=t.getRootNode();(d instanceof Document||d instanceof ShadowRoot)&&d.activeElement===t&&t.type!=="range"&&(n&&e===s||i&&t.value.trim()===c)||(t.value=c)}},jl=["ctrl","shift","alt","meta"],Ll={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>jl.some(s=>t[`${s}Key`]&&!e.includes(s))},me=(t,e)=>{if(!t)return t;const s=t._withMods||(t._withMods={}),n=e.join(".");return s[n]||(s[n]=((i,...r)=>{for(let o=0;o<e.length;o++){const l=Ll[e[o]];if(l&&l(i,e))return}return t(i,...r)}))},Hl={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},er=(t,e)=>{const s=t._withKeys||(t._withKeys={}),n=e.join(".");return s[n]||(s[n]=(i=>{if(!("key"in i))return;const r=mt(i.key);if(e.some(o=>o===r||Hl[o]===r))return t(i)}))},$l=st({patchProp:Rl},gl);let sr;function nr(){return sr||(sr=Vo($l))}const Ul=((...t)=>{nr().render(...t)}),ir=((...t)=>{const e=nr().createApp(...t),{mount:s}=e;return e.mount=n=>{const i=Vl(n);if(!i)return;const r=e._component;!N(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=s(i,!1,Kl(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e});function Kl(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Vl(t){return tt(t)?document.querySelector(t):t}const Bl={class:"tdb-header-r"},Wl=["href"],zl={class:"tdb-urlbar"},ql={class:"tdb-url"},Gl={class:"tdb-tabs"},Jl=["onClick"],Yl={key:0,class:"tdb-body"},Xl={class:"tdb-pills"},Ql=["onClick"],Zl={key:0,class:"tdb-muted"},tc={key:1,class:"tdb-muted"},ec={key:2,class:"tdb-list"},sc=["onClick"],nc={class:"tdb-arrow"},ic={class:"tdb-etype"},rc={class:"tdb-eid"},oc={key:0,class:"tdb-attrs"},lc={class:"tdb-akey"},cc={class:"tdb-aval"},fc={key:1,class:"tdb-body"},uc=["onKeydown"],ac={class:"tdb-examples"},dc=["onClick"],hc=["disabled"],pc={key:0,class:"tdb-error"},gc={key:1,class:"tdb-result"},bc={key:2,class:"tdb-body"},_c={key:0,class:"tdb-block"},mc={class:"tdb-row"},xc={class:"tdb-badge ok"},yc={key:0,class:"tdb-row"},vc={key:1,class:"tdb-block"},wc={class:"tdb-label"},Sc={class:"tdb-count"},Cc={class:"tdb-row tdb-row-total"},Tc={class:"tdb-count"},Ec={class:"tdb-block"},Ac={class:"tdb-path"},Oc=kl(((t,e)=>{const s=t.__vccOpts||t;for(const[n,i]of e)s[n]=i;return s})(Xn({__name:"Inspector",props:{dbUrl:{type:String},clientUrl:{type:String}},setup(t){const e=t,s=new Set(["id","type"]);function n(D){return Object.entries(D).filter(([I])=>!s.has(I))}function i(){if(e.clientUrl)return e.clientUrl;const D=window.location.origin,I=new URL(e.dbUrl).origin;return D!==I?D:"http://localhost:4000"}const r=at(!1),o=at("entities"),l=Pe({x:0,y:0}),c=at(!1),d=Pe({sx:0,sy:0,px:0,py:0});function a(D){D.target.closest(".tdb-close, .tdb-link")||(c.value=!0,d.sx=D.clientX,d.sy=D.clientY,d.px=l.x,d.py=l.y,D.preventDefault())}function p(D){c.value&&(l.x=d.px+(D.clientX-d.sx),l.y=d.py+(D.clientY-d.sy))}function S(){c.value=!1}ni(()=>{l.x=window.innerWidth-360-20,l.y=window.innerHeight-48-20,window.addEventListener("mousemove",p),window.addEventListener("mouseup",S)}),Bs(()=>{window.removeEventListener("mousemove",p),window.removeEventListener("mouseup",S)});const C=at([]),$=at([]),E=at(null),Q=at(new Set),K=at(!1),F=Li(()=>E.value?C.value.filter(D=>D.type===E.value):C.value);async function V(){K.value=!0;try{const I=await(await fetch(`${e.dbUrl}/entities?limit=200`)).json();C.value=I.data??[],$.value=[...new Set(C.value.map(A=>A.type))]}catch{C.value=[]}finally{K.value=!1}}function M(D){const I=new Set(Q.value);I.has(D)?I.delete(D):I.add(D),Q.value=I}const Y=at(""),yt=at(null),gt=at(null),vt=at(!1),xe=["find Note",'find Note where pinned = "true"',"find Note limit 5"];async function Ot(){if(Y.value.trim()){vt.value=!0,gt.value=null,yt.value=null;try{const I=await(await fetch(`${e.dbUrl}/query`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:Y.value})})).json();if(I.error)throw new Error(I.error);yt.value=I}catch(D){gt.value=D.message}finally{vt.value=!1}}}const Pt=at(null),Qt=at({}),oe=at(0),Ke=[{m:"GET",p:"/health"},{m:"GET",p:"/entities"},{m:"POST",p:"/entities"},{m:"GET",p:"/entities/:id"},{m:"PUT",p:"/entities/:id"},{m:"DELETE",p:"/entities/:id"},{m:"POST",p:"/query"},{m:"POST",p:"/upload"},{m:"GET",p:"/files/:hash"}];async function _s(){try{const[D,I]=await Promise.all([fetch(`${e.dbUrl}/health`).then(A=>A.json()).catch(()=>null),fetch(`${e.dbUrl}/entities?limit=500`).then(A=>A.json()).catch(()=>null)]);if(Pt.value=D,I?.data){const A={};for(const et of I.data)A[et.type]=(A[et.type]??0)+1;Qt.value=A,oe.value=I.total??I.data.length}}catch{}}function rt(D){o.value=D,D==="entities"?V():D==="stats"&&_s()}function Z(){r.value=!0,rt(o.value)}function B(){r.value=!1}return(D,I)=>r.value?(J(),X("div",{key:1,class:"tdb-panel",style:Se({left:`${l.x}px`,top:`${l.y}px`})},[R("div",{class:"tdb-header",onMousedown:me(a,["prevent"])},[I[3]||(I[3]=R("div",{class:"tdb-header-l"},[R("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"#a78bfa","stroke-width":"2"},[R("polygon",{points:"12 2 22 8.5 22 15.5 12 22 2 15.5 2 8.5"})]),R("span",{class:"tdb-title"},"Trellis DB")],-1)),R("div",Bl,[R("a",{class:"tdb-link",href:i(),target:"_blank",rel:"noopener noreferrer"},"Open App ↗",8,Wl),R("button",{class:"tdb-close",onClick:me(B,["stop"])},"✕")])],32),R("div",zl,[I[4]||(I[4]=R("span",{class:"tdb-dot"},"◉",-1)),R("code",ql,nt(t.dbUrl),1)]),R("div",Gl,[(J(),X(ut,null,ie(["entities","query","stats"],A=>R("button",{key:A,class:Zt(["tdb-tab",{active:o.value===A}]),onClick:et=>rt(A)},nt(A),11,Jl)),64))]),o.value==="entities"?(J(),X("div",Yl,[R("div",Xl,[R("button",{class:Zt(["tdb-pill",{active:!E.value}]),onClick:I[0]||(I[0]=A=>E.value=null)}," All · "+nt(C.value.length),3),(J(!0),X(ut,null,ie($.value,A=>(J(),X("button",{key:A,class:Zt(["tdb-pill",{active:E.value===A}]),onClick:et=>E.value=A},nt(A),11,Ql))),128)),R("button",{class:"tdb-pill tdb-pill-icon",onClick:V,title:"Refresh"},"↻")]),K.value?(J(),X("div",Zl,"Loading…")):F.value.length?(J(),X("div",ec,[(J(!0),X(ut,null,ie(F.value,A=>(J(),X("div",{key:A.id,class:"tdb-entity"},[R("div",{class:"tdb-entity-row",onClick:et=>M(A.id)},[R("span",nc,nt(Q.value.has(A.id)?"▾":"▸"),1),R("span",ic,nt(A.type),1),R("span",rc,nt(A.id),1)],8,sc),Q.value.has(A.id)?(J(),X("div",oc,[(J(!0),X(ut,null,ie(n(A),([et,ye])=>(J(),X("div",{key:String(et),class:"tdb-attr"},[R("span",lc,nt(et),1),R("span",cc,nt(typeof ye=="object"?JSON.stringify(ye):ye),1)]))),128))])):be("",!0)]))),128))])):(J(),X("div",tc,"No entities found."))])):o.value==="query"?(J(),X("div",fc,[so(R("textarea",{class:"tdb-textarea","onUpdate:modelValue":I[1]||(I[1]=A=>Y.value=A),placeholder:'find Note where pinned = "true"',onKeydown:[er(me(Ot,["meta","prevent"]),["enter"]),er(me(Ot,["ctrl","prevent"]),["enter"])],spellcheck:"false"},null,40,uc),[[Fl,Y.value]]),R("div",ac,[(J(),X(ut,null,ie(xe,A=>R("span",{key:A,class:"tdb-ex",onClick:et=>Y.value=A},nt(A),9,dc)),64))]),R("button",{class:"tdb-run",disabled:vt.value||!Y.value.trim(),onClick:Ot},nt(vt.value?"Running…":"Run ⌘↵"),9,hc),gt.value?(J(),X("div",pc,nt(gt.value),1)):yt.value?(J(),X("pre",gc,nt(JSON.stringify(yt.value,null,2)),1)):be("",!0)])):o.value==="stats"?(J(),X("div",bc,[Pt.value?(J(),X("div",_c,[R("div",mc,[I[5]||(I[5]=R("span",{class:"tdb-label"},"Status",-1)),R("span",xc,nt(Pt.value.status),1)]),Pt.value.uptime!==void 0?(J(),X("div",yc,[I[6]||(I[6]=R("span",{class:"tdb-label"},"Uptime",-1)),R("span",null,nt(Math.round(Pt.value.uptime))+"s",1)])):be("",!0)])):be("",!0),Object.keys(Qt.value).length?(J(),X("div",vc,[I[8]||(I[8]=R("div",{class:"tdb-section-label"},"Entity Types",-1)),(J(!0),X(ut,null,ie(Qt.value,(A,et)=>(J(),X("div",{key:String(et),class:"tdb-row"},[R("span",wc,nt(et),1),R("span",Sc,nt(A),1)]))),128)),R("div",Cc,[I[7]||(I[7]=R("span",{class:"tdb-label"},"Total",-1)),R("span",Tc,nt(oe.value),1)])])):be("",!0),R("div",Ec,[I[9]||(I[9]=R("div",{class:"tdb-section-label"},"REST API",-1)),(J(),X(ut,null,ie(Ke,A=>R("div",{key:A.m+A.p,class:"tdb-ep"},[R("span",{class:Zt(["tdb-method",A.m.toLowerCase()])},nt(A.m),3),R("code",Ac,nt(A.p),1)])),64))])])):be("",!0)],4)):(J(),X("div",{key:0,class:"tdb-toggle",onMousedown:me(a,["prevent"]),onClick:me(Z,["stop"]),style:Se({left:`${l.x}px`,top:`${l.y}px`})},[...I[2]||(I[2]=[R("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[R("polygon",{points:"12 2 22 8.5 22 15.5 12 22 2 15.5 2 8.5"})],-1),R("span",null,"DB",-1)])],36))}}),[["styles",[":host{all:initial;font-family:ui-monospace,Cascadia Code,SF Mono,monospace;font-size:12px;line-height:1.5;color-scheme:dark}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}.tdb-toggle{position:fixed;z-index:2147483647;display:flex;align-items:center;gap:5px;padding:7px 13px;background:#0f0f1a;border:1px solid #4c1d95;border-radius:999px;color:#a78bfa;cursor:pointer;user-select:none;font-size:11px;font-weight:600;letter-spacing:.4px;box-shadow:0 2px 16px #6d28d959;transition:border-color .15s,box-shadow .15s}.tdb-toggle:hover{border-color:#a78bfa;box-shadow:0 2px 20px #6d28d98c}.tdb-panel{position:fixed;z-index:2147483647;width:360px;max-height:520px;background:#0a0a14;border:1px solid #1e1b4b;border-radius:10px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 12px 48px #000000b3,0 0 0 1px #7c3aed26;font-family:ui-monospace,Cascadia Code,monospace;font-size:12px;color:#e2e8f0}.tdb-header{display:flex;align-items:center;justify-content:space-between;padding:9px 12px;background:#0f0f1e;border-bottom:1px solid #1e1b4b;cursor:grab;user-select:none;flex-shrink:0}.tdb-header:active{cursor:grabbing}.tdb-header-l,.tdb-header-r{display:flex;align-items:center;gap:7px}.tdb-title{font-weight:700;font-size:12px;color:#a78bfa;letter-spacing:.3px}.tdb-link{font-size:10px;color:#64748b;cursor:pointer;letter-spacing:.2px;text-decoration:none;transition:color .15s}.tdb-link:hover{color:#a78bfa}.tdb-close{background:none;border:none;color:#4b5563;cursor:pointer;font-size:12px;padding:2px 5px;border-radius:3px;line-height:1;font-family:inherit}.tdb-close:hover{color:#e2e8f0;background:#1e1b4b}.tdb-urlbar{display:flex;align-items:center;gap:7px;padding:5px 12px;background:#08080f;border-bottom:1px solid #13132a;flex-shrink:0}.tdb-dot{font-size:9px;color:#22c55e}.tdb-url{font-size:10px;color:#475569;font-family:inherit}.tdb-tabs{display:flex;background:#08080f;border-bottom:1px solid #1e1b4b;flex-shrink:0}.tdb-tab{flex:1;padding:7px 0;background:none;border:none;border-bottom:2px solid transparent;color:#374151;cursor:pointer;font-size:11px;font-family:inherit;letter-spacing:.3px;transition:color .15s,border-color .15s}.tdb-tab:hover{color:#94a3b8}.tdb-tab.active{color:#a78bfa;border-bottom-color:#7c3aed}.tdb-body{flex:1;overflow-y:auto;padding:8px;display:flex;flex-direction:column;gap:6px}.tdb-body::-webkit-scrollbar{width:3px}.tdb-body::-webkit-scrollbar-track{background:transparent}.tdb-body::-webkit-scrollbar-thumb{background:#1e1b4b;border-radius:2px}.tdb-muted{color:#374151;text-align:center;padding:20px 0;font-size:11px}.tdb-pills{display:flex;flex-wrap:wrap;gap:4px}.tdb-pill{padding:2px 8px;background:#0f0f1e;border:1px solid #1e1b4b;border-radius:999px;color:#374151;cursor:pointer;font-size:10px;font-family:inherit;transition:all .1s}.tdb-pill:hover{color:#94a3b8;border-color:#374151}.tdb-pill.active{background:#1e1044;border-color:#6d28d9;color:#a78bfa}.tdb-pill-icon{padding:2px 7px}.tdb-list{display:flex;flex-direction:column;gap:2px}.tdb-entity-row{display:flex;align-items:center;gap:6px;padding:4px 7px;background:#0f0f1e;border:1px solid #13132a;border-radius:4px;cursor:pointer;transition:background .1s}.tdb-entity-row:hover{background:#141428}.tdb-arrow{color:#374151;font-size:10px;width:10px;flex-shrink:0}.tdb-etype{color:#6d28d9;font-weight:700;font-size:10px;flex-shrink:0;padding-right:6px;border-right:1px solid #1e1b4b;margin-right:2px}.tdb-eid{color:#334155;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1}.tdb-attrs{background:#08080f;border:1px solid #13132a;border-top:none;border-radius:0 0 4px 4px;padding:5px 8px;display:flex;flex-direction:column;gap:2px;margin-top:-1px}.tdb-attr{display:grid;grid-template-columns:minmax(4.5rem,34%) 1fr;gap:8px;font-size:10px;align-items:start}.tdb-akey{color:#475569;flex-shrink:0;word-break:break-word}.tdb-aval{color:#94a3b8;overflow-wrap:anywhere;word-break:break-word}.tdb-textarea{width:100%;min-height:60px;resize:vertical;background:#08080f;border:1px solid #1e1b4b;border-radius:6px;color:#e2e8f0;font-family:inherit;font-size:11px;padding:8px;outline:none}.tdb-textarea:focus{border-color:#6d28d9}.tdb-examples{display:flex;flex-wrap:wrap;gap:4px}.tdb-ex{padding:2px 6px;background:#0f0f1e;border:1px solid #1e1b4b;border-radius:4px;color:#374151;cursor:pointer;font-size:10px;transition:all .1s}.tdb-ex:hover{color:#94a3b8;border-color:#374151}.tdb-run{padding:5px 12px;background:#6d28d9;border:none;border-radius:6px;color:#fff;cursor:pointer;font-family:inherit;font-size:11px;font-weight:600;transition:background .15s;align-self:flex-start}.tdb-run:hover:not(:disabled){background:#5b21b6}.tdb-run:disabled{opacity:.4;cursor:not-allowed}.tdb-error{background:#180a0a;border:1px solid #7f1d1d;border-radius:4px;color:#f87171;padding:6px 8px;font-size:10px}.tdb-result{background:#08080f;border:1px solid #1e1b4b;border-radius:4px;color:#94a3b8;padding:8px;font-size:10px;overflow:auto;max-height:180px;margin:0;white-space:pre-wrap}.tdb-block{background:#0f0f1e;border:1px solid #13132a;border-radius:6px;padding:8px;display:flex;flex-direction:column;gap:4px}.tdb-section-label{color:#374151;font-size:10px;letter-spacing:.5px;text-transform:uppercase;margin-bottom:2px}.tdb-row{display:flex;justify-content:space-between;align-items:center;font-size:11px}.tdb-row-total{border-top:1px solid #1e1b4b;margin-top:2px;padding-top:4px}.tdb-label{color:#94a3b8}.tdb-badge{padding:1px 7px;border-radius:999px;font-size:10px;font-weight:600}.tdb-badge.ok{background:#052e16;color:#4ade80}.tdb-count{background:#1e1044;color:#a78bfa;padding:1px 7px;border-radius:999px;font-size:10px;font-weight:600}.tdb-ep{display:flex;align-items:center;gap:8px;font-size:10px;padding:2px 0}.tdb-method{font-weight:700;font-size:9px;width:38px;text-align:center;padding:1px 4px;border-radius:3px;flex-shrink:0}.tdb-method.get{background:#172554;color:#60a5fa}.tdb-method.post{background:#052e16;color:#4ade80}.tdb-method.put{background:#2d1900;color:#fbbf24}.tdb-method.delete{background:#280a0a;color:#f87171}.tdb-path{color:#475569;font-family:inherit}"]]]));customElements.get("trellis-db-inspector")||customElements.define("trellis-db-inspector",Oc);function Pc(){const t=document.currentScript;if(t?.src)return new URL(t.src).origin;for(const e of Array.from(document.querySelectorAll("script[src]")))if(e.src.includes("/__trellis/inspector"))return new URL(e.src).origin;return window.location.origin}function rr(){if(document.querySelector("trellis-db-inspector"))return;const t=document.createElement("trellis-db-inspector"),e=document.currentScript;t.setAttribute("db-url",Pc());const s=e?.dataset?.clientUrl??window.location.origin;s&&t.setAttribute("client-url",s),document.body.appendChild(t)}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",rr):rr()})();
|
package/dist/decisions/index.js
CHANGED
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
queryDecisions,
|
|
7
7
|
recordDecision,
|
|
8
8
|
wrapToolHandler
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-GU374KWZ.js";
|
|
10
|
+
import "../chunk-N6MYZT4O.js";
|
|
11
11
|
import "../chunk-GLM4HGN4.js";
|
|
12
12
|
import "../chunk-KFQGP6VL.js";
|
|
13
13
|
init_decisions();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auto-embed.d.ts","sourceRoot":"","sources":["../../src/embeddings/auto-embed.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"auto-embed.d.ts","sourceRoot":"","sources":["../../src/embeddings/auto-embed.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,KAAK,EACV,gBAAgB,EAGjB,MAAM,8BAA8B,CAAC;AAGtC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AA+CzC,MAAM,WAAW,gBAAgB;IAC/B,gDAAgD;IAChD,MAAM,EAAE,MAAM,CAAC;IACf,iEAAiE;IACjE,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,oFAAoF;IACpF,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED;;;;;GAKG;AACH,wBAAsB,yBAAyB,CAC7C,OAAO,EAAE,gBAAgB,GACxB,OAAO,CAAC,gBAAgB,GAAG;IAAE,KAAK,EAAE,MAAM,IAAI,CAAA;CAAE,CAAC,CA4BnD;AAiHD,MAAM,WAAW,UAAU;IACzB,0BAA0B;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,4CAA4C;IAC5C,MAAM,EAAE,KAAK,CAAC;QACZ,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC,CAAC;IACH,uDAAuD;IACvD,eAAe,EAAE,MAAM,CAAC;CACzB;AAED;;;GAGG;AACH,wBAAsB,eAAe,CACnC,KAAK,EAAE,MAAM,EACb,WAAW,EAAE,WAAW,EACxB,OAAO,GAAE,QAAgB,EACzB,OAAO,CAAC,EAAE;IACR,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,GACA,OAAO,CAAC,UAAU,CAAC,CAgCrB"}
|
package/dist/embeddings/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../src/embeddings/store.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EACV,SAAS,EAET,eAAe,EACf,aAAa,EACb,YAAY,EACb,MAAM,YAAY,CAAC;AA8BpB,qBAAa,WAAW;IAKF,OAAO,CAAC,MAAM;IAJlC,OAAO,CAAC,EAAE,CAAiB;IAC3B,OAAO,CAAC,KAAK,CAAkC;IAC/C,OAAO,CAAC,MAAM,CAAK;IAEnB,OAAO;IAEP;;;OAGG;WACU,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC;YAM3C,SAAS;IAyCvB,OAAO,CAAC,YAAY;IAWpB,OAAO,CAAC,WAAW;
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../src/embeddings/store.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EACV,SAAS,EAET,eAAe,EACf,aAAa,EACb,YAAY,EACb,MAAM,YAAY,CAAC;AA8BpB,qBAAa,WAAW;IAKF,OAAO,CAAC,MAAM;IAJlC,OAAO,CAAC,EAAE,CAAiB;IAC3B,OAAO,CAAC,KAAK,CAAkC;IAC/C,OAAO,CAAC,MAAM,CAAK;IAEnB,OAAO;IAEP;;;OAGG;WACU,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC;YAM3C,SAAS;IAyCvB,OAAO,CAAC,YAAY;IAWpB,OAAO,CAAC,WAAW;IAoBnB,OAAO,CAAC,iBAAiB;IA0BzB;;OAEG;IACH,MAAM,CAAC,MAAM,EAAE,eAAe,GAAG,IAAI;IA0BrC;;OAEG;IACH,WAAW,CAAC,OAAO,EAAE,eAAe,EAAE,GAAG,IAAI;IA6B7C;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IAQxB;;OAEG;IACH,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAqBtC;;OAEG;IACH,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAqBpC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI;IAKtC;;;OAGG;IACH,MAAM,CAAC,WAAW,EAAE,YAAY,EAAE,IAAI,GAAE,aAAkB,GAAG,YAAY,EAAE;IAsD3E;;OAEG;IACH,KAAK,IAAI,MAAM;IAKf;;OAEG;IACH,WAAW,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IASrC;;OAEG;IACH,KAAK,IAAI,IAAI;IAMb;;OAEG;IACH,KAAK,IAAI,IAAI;IAIb;;OAEG;IACH,KAAK,IAAI,IAAI;IAab,OAAO,CAAC,MAAM;IAWd,OAAO,CAAC,MAAM;IAWd,OAAO,CAAC,SAAS;CAGlB;AAiBD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,EAAE,YAAY,GAAG,MAAM,CAYzE"}
|
package/dist/engine.d.ts
CHANGED
|
@@ -34,6 +34,20 @@ export interface InitProgress {
|
|
|
34
34
|
total: number;
|
|
35
35
|
message: string;
|
|
36
36
|
}
|
|
37
|
+
export interface InitRepoOptions {
|
|
38
|
+
onProgress?: (progress: InitProgress) => void;
|
|
39
|
+
indexWorkspace?: boolean;
|
|
40
|
+
}
|
|
41
|
+
export interface InitRepoResult {
|
|
42
|
+
opsCreated: number;
|
|
43
|
+
filesIndexed: number;
|
|
44
|
+
indexWorkspace: boolean;
|
|
45
|
+
context: ProjectContext;
|
|
46
|
+
}
|
|
47
|
+
export interface IndexWorkspaceResult {
|
|
48
|
+
opsCreated: number;
|
|
49
|
+
filesIndexed: number;
|
|
50
|
+
}
|
|
37
51
|
export type IntegrateOpRejectReason = 'invalid-kind' | 'hash-mismatch' | 'missing-dependency' | 'apply-failed';
|
|
38
52
|
export interface IntegrateOpRejection {
|
|
39
53
|
op: VcsOp;
|
|
@@ -75,25 +89,31 @@ export declare class TrellisVcsEngine {
|
|
|
75
89
|
*/
|
|
76
90
|
opLog?: OpLog;
|
|
77
91
|
} & Partial<TrellisVcsConfig>);
|
|
92
|
+
private readPersistedConfig;
|
|
93
|
+
private writePersistedConfig;
|
|
94
|
+
private indexExistingFiles;
|
|
78
95
|
/**
|
|
79
96
|
* Initialize a new TrellisVCS repo. Creates .trellis/ directory and config.
|
|
80
97
|
*/
|
|
81
|
-
initRepo(opts?:
|
|
82
|
-
onProgress?: (progress: InitProgress) => void;
|
|
83
|
-
}): Promise<{
|
|
84
|
-
opsCreated: number;
|
|
85
|
-
context: ProjectContext;
|
|
86
|
-
}>;
|
|
98
|
+
initRepo(opts?: InitRepoOptions): Promise<InitRepoResult>;
|
|
87
99
|
/**
|
|
88
100
|
* Open an existing TrellisVCS repo. Loads ops and replays into EAV store.
|
|
89
101
|
*/
|
|
90
102
|
open(): {
|
|
91
103
|
opsReplayed: number;
|
|
92
104
|
};
|
|
105
|
+
/**
|
|
106
|
+
* Index all untracked files currently on disk into the Trellis graph.
|
|
107
|
+
*/
|
|
108
|
+
indexWorkspace(opts?: {
|
|
109
|
+
onProgress?: (progress: InitProgress) => void;
|
|
110
|
+
}): Promise<IndexWorkspaceResult>;
|
|
93
111
|
/**
|
|
94
112
|
* Start watching the filesystem for changes.
|
|
95
113
|
*/
|
|
96
|
-
watch(
|
|
114
|
+
watch(opts?: {
|
|
115
|
+
reconcileExisting?: boolean;
|
|
116
|
+
}): void;
|
|
97
117
|
/**
|
|
98
118
|
* Stop watching.
|
|
99
119
|
*/
|