@nuxt/devtools 1.3.2 → 1.3.4
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/dist/chunks/module-main.mjs +12 -7
- package/dist/chunks/vite-inspect.mjs +1 -1
- package/dist/chunks/vscode.mjs +1 -1
- package/dist/client/200.html +25 -26
- package/dist/client/404.html +25 -26
- package/dist/client/_nuxt/{DTf74veE.js → 6wcy4DsH.js} +1 -1
- package/dist/client/_nuxt/{DDnrbwm6.js → 8B46VhQd.js} +10 -10
- package/dist/client/_nuxt/{D7gBCge-.js → 8SMg7xCe.js} +1 -1
- package/dist/client/_nuxt/{nd9mx79B.js → 98R48OH2.js} +1 -1
- package/dist/client/_nuxt/{CfjSiY3T.js → B-sCWvv9.js} +1 -1
- package/dist/client/_nuxt/B29KOOGn.js +9 -0
- package/dist/client/_nuxt/{CJU5ujxD.js → B894X8py.js} +1 -1
- package/dist/client/_nuxt/{hXtXgLSE.js → B8ZbBSrc.js} +1 -1
- package/dist/client/_nuxt/{DQm4bOV6.js → BFLTkFCL.js} +1 -1
- package/dist/client/_nuxt/{BL_hfvyy.js → BFm6EJTU.js} +1 -1
- package/dist/client/_nuxt/{BO-iudyo.js → BKePb5M9.js} +1 -1
- package/dist/client/_nuxt/BKjxjBjR.js +1 -0
- package/dist/client/_nuxt/{BVJlJdda.js → BYuD4knm.js} +1 -1
- package/dist/client/_nuxt/{D847XyuR.js → BZs3jgFa.js} +1 -1
- package/dist/client/_nuxt/{BVCgwITN.js → Ba3iaRF0.js} +2 -2
- package/dist/client/_nuxt/{C8GUE1SK.js → BcsunUHc.js} +1 -1
- package/dist/client/_nuxt/{B-HJZUhU.js → BdeOTENY.js} +1 -1
- package/dist/client/_nuxt/{BfqSh0jD.js → Bj_XrxMu.js} +1 -1
- package/dist/client/_nuxt/{BeLKwQPd.js → BmiNF6l-.js} +1 -1
- package/dist/client/_nuxt/{DZg4WwSa.js → BoP7AKy2.js} +1 -1
- package/dist/client/_nuxt/{BGq4KZyx.js → Br6ll-O0.js} +1 -1
- package/dist/client/_nuxt/{CYVTKYED.js → BulALiVC.js} +1 -1
- package/dist/client/_nuxt/{V_y36BGi.js → Bxkoe-BC.js} +1 -1
- package/dist/client/_nuxt/{D44vw0ad.js → C54vwF0J.js} +1 -1
- package/dist/client/_nuxt/C8ESOK3J.js +30 -0
- package/dist/client/_nuxt/{DxtaXLVv.js → CBZOn9Tq.js} +1 -1
- package/dist/client/_nuxt/{Cri_jq9f.js → CDfEhAL9.js} +1 -1
- package/dist/client/_nuxt/{Dm8mUwGL.js → CGj_8s-I.js} +1 -1
- package/dist/client/_nuxt/{4DrMDvOf.js → CHQ52sTw.js} +1 -1
- package/dist/client/_nuxt/{BX8u6kVi.js → CIgTPfXa.js} +1 -1
- package/dist/client/_nuxt/{C41DfgCv.js → CO6YgqHh.js} +1 -1
- package/dist/client/_nuxt/{Bwpf36Bl.js → CUJNw4nr.js} +1 -1
- package/dist/client/_nuxt/{Dyh3t1OB.js → CUytAwsx.js} +1 -1
- package/dist/client/_nuxt/{D26FlHPL.js → CYSOmuwz.js} +1 -1
- package/dist/client/_nuxt/{BxZrC5KW.js → Cao9Hf6d.js} +1 -1
- package/dist/client/_nuxt/CeyWeT92.js +1032 -0
- package/dist/client/_nuxt/{s0KB5W3i.js → Cn5ttfU_.js} +1 -1
- package/dist/client/_nuxt/{BhuDhIKJ.js → CpJRPiL9.js} +1 -1
- package/dist/client/_nuxt/CrghN-Ad.js +2 -0
- package/dist/client/_nuxt/{l2Y-wpZG.js → CyeATGho.js} +2 -2
- package/dist/client/_nuxt/{CAWcj-Fr.js → D-4ohUPA.js} +1 -1
- package/dist/client/_nuxt/{BZAoIDF4.js → D3VgjIse.js} +2 -7
- package/dist/client/_nuxt/{8icePJ4I.js → D5WHU7S-.js} +1 -1
- package/dist/client/_nuxt/{DTjbdWHx.js → D6rOzE__.js} +1 -1
- package/dist/client/_nuxt/{B-hub2K2.js → D7I2o642.js} +1 -1
- package/dist/client/_nuxt/D9GqCGb7.js +100 -0
- package/dist/client/_nuxt/{_hj05-RZ.js → DBLkZRmC.js} +1 -1
- package/dist/client/_nuxt/{CQ4DIexe.js → DI2S-mmO.js} +1 -1
- package/dist/client/_nuxt/{D1Dg62su.js → DL0CET1h.js} +1 -1
- package/dist/client/_nuxt/DNH9VLI7.js +43 -0
- package/dist/client/_nuxt/{DGIjOFdj.js → DNTHL55G.js} +1 -1
- package/dist/client/_nuxt/{D_ZAQadg.js → DT3-Im-G.js} +1 -1
- package/dist/client/_nuxt/{CJ4574JA.js → DT7g2OtK.js} +1 -1
- package/dist/client/_nuxt/DZHRk8T6.js +1 -0
- package/dist/client/_nuxt/{D9bWLJbD.js → Da5JKEgm.js} +1 -1
- package/dist/client/_nuxt/DhzPY0Bk.js +1 -0
- package/dist/client/_nuxt/DotVwsdv.js +9 -0
- package/dist/client/_nuxt/{C_mHwna3.js → JMRChio8.js} +1 -1
- package/dist/client/_nuxt/{BZrBobni.js → LSJkDbxe.js} +1 -1
- package/dist/client/_nuxt/{NCodeBlock.Bcfh0aRP.css → NCodeBlock.BJ-XAY5s.css} +1 -1
- package/dist/client/_nuxt/NSectionBlock.Dnwb6MN5.css +1 -0
- package/dist/client/_nuxt/{CnDX42ER.js → QZOV8EJp.js} +1 -1
- package/dist/client/_nuxt/aYYjZ8bg.js +1 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/705c4cfa-d5c7-43a4-9f41-3c069a80d514.json +1 -0
- package/dist/client/_nuxt/entry.CuU2sB_i.css +1 -0
- package/dist/client/_nuxt/error-404.CdZ-8tbX.css +1 -0
- package/dist/client/_nuxt/error-500.4KK_ddFR.css +1 -0
- package/dist/client/_nuxt/{CQ0ZKsih.js → mjGmx9GM.js} +2 -2
- package/dist/client/_nuxt/{73fsk-_M.js → oNeXSGv8.js} +1 -1
- package/dist/client/_nuxt/{C49LnR7I.js → p_veFBpZ.js} +1 -1
- package/dist/client/_nuxt/terminals.dNTO8Cf0.css +1 -0
- package/dist/client/_nuxt/{WIBjn-aJ.js → u_lBCHfa.js} +1 -1
- package/dist/client/_nuxt/{CBxMqsuL.js → z73YSsxO.js} +1 -1
- package/dist/client/index.html +25 -26
- package/dist/module.json +2 -2
- package/dist/runtime/function-metrics-helpers.d.ts +1 -1
- package/dist/runtime/{function-metrics-helpers.mjs → function-metrics-helpers.js} +1 -1
- package/dist/runtime/plugins/{devtools.client.mjs → devtools.client.js} +1 -1
- package/dist/runtime/plugins/view/client.d.ts +1 -1
- package/dist/runtime/plugins/view/{client.mjs → client.js} +2 -2
- package/dist/runtime/plugins/view/state.d.ts +1 -1
- package/dist/runtime/plugins/view/{state.mjs → state.js} +1 -1
- package/dist/runtime/settings.d.ts +2 -2
- package/dist/runtime/shared/hooks.d.ts +1 -1
- package/dist/runtime/use-nuxt-devtools.d.ts +1 -1
- package/package.json +33 -35
- package/dist/client/_nuxt/BVT_pDx1.js +0 -9
- package/dist/client/_nuxt/BYLmgL12.js +0 -1
- package/dist/client/_nuxt/C71Avik8.js +0 -1
- package/dist/client/_nuxt/CI_a6Yq_.js +0 -9
- package/dist/client/_nuxt/CQhVfK23.js +0 -99
- package/dist/client/_nuxt/CYpIh8Vy.js +0 -1
- package/dist/client/_nuxt/C_vNhPYi.js +0 -1031
- package/dist/client/_nuxt/D2pUCviE.js +0 -1
- package/dist/client/_nuxt/DGmtW0X_.js +0 -30
- package/dist/client/_nuxt/DW2rdoo9.js +0 -48
- package/dist/client/_nuxt/Ds6yAegc.js +0 -2
- package/dist/client/_nuxt/NSectionBlock.DF4F_onM.css +0 -1
- package/dist/client/_nuxt/builds/meta/923994c1-a7bd-4c91-b02b-513548587468.json +0 -1
- package/dist/client/_nuxt/entry.C09IdXcP.css +0 -1
- package/dist/client/_nuxt/error-404.ClUqCsUG.css +0 -1
- package/dist/client/_nuxt/error-500.Xj6Xfe4d.css +0 -1
- package/dist/client/_nuxt/terminals.bPBXyte9.css +0 -32
- /package/dist/runtime/nitro/{inline.mjs → inline.js} +0 -0
- /package/dist/runtime/plugins/{devtools.server.mjs → devtools.server.js} +0 -0
- /package/dist/runtime/plugins/view/{utils.mjs → utils.js} +0 -0
- /package/dist/runtime/{settings.mjs → settings.js} +0 -0
- /package/dist/runtime/shared/{hooks.mjs → hooks.js} +0 -0
- /package/dist/runtime/{use-nuxt-devtools.mjs → use-nuxt-devtools.js} +0 -0
- /package/dist/runtime/vue-devtools/{overlay.mjs → overlay.js} +0 -0
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
if (!__vite__mapDeps.viteFileDeps) {
|
|
3
|
-
__vite__mapDeps.viteFileDeps = ["./Tw6nDHWX.js","./BMbUeBqv.js","./CHuuZgn4.js","./BiWblMbN.js","./_ECCzcZq.js","./Q9LIRUci.js","./DHFOa8tC.js","./jeEj0LFC.js"]
|
|
4
|
-
}
|
|
5
|
-
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
|
|
6
|
-
}
|
|
7
|
-
import{bj as _t,bk as $t,y as _Q,z as $Q,d as _,bl as Ao,aA as BB,o as d,h as V,r as S,m as y,i as Y,f as F,a as x,bm as sB,aR as KI,as as NB,k as N,F as cA,aa as eA,p as BA,a9 as GA,G as QA,ae as Bo,j as b,aw as dA,bn as CE,w as MA,v as PA,t as hA,I as uA,bo as iB,n as bA,bp as YI,bq as PI,aB as fQ,aq as IE,br as Qo,l as EQ,bs as eE,bt as tE,bh as vA,ax as yQ,bu as go,aS as Eo,aT as Co,bv as Ag,bw as Io,bx as eo,a2 as to,aU as oo,by as pA,b1 as wo,bz as Do,bA as so,bB as io,aO as no,ay as XE,bC as ao,bD as ro}from"./DW2rdoo9.js";function fM(){return{activeAppRecord:_t,connected:$t}}var co=Object.defineProperty,lo=(A,B,Q)=>B in A?co(A,B,{enumerable:!0,configurable:!0,writable:!0,value:Q}):A[B]=Q,c=(A,B,Q)=>(lo(A,typeof B!="symbol"?B+"":B,Q),Q);const Bg=(A,B)=>{const Q=A.__vccOpts||A;for(const[g,E]of B)Q[g]=E;return Q},ho={},uo={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Mo=wo('<svg height="130" viewBox="0 0 319 477" width="180" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a"><stop offset="0" stop-color="#52ce63"></stop><stop offset="1" stop-color="#51a256"></stop></linearGradient><linearGradient id="b" x1="55.342075%" x2="42.816933%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="c" x1="55.348642%" x2="42.808103%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="d" x1="50%" x2="50%" y1="0%" y2="58.811243%"><stop offset="0" stop-color="#8ae99c"></stop><stop offset="1" stop-color="#52ce63"></stop></linearGradient><linearGradient id="e" x1="51.37763%" x2="44.584719%" y1="17.472551%" y2="100%"><stop offset="0" stop-color="#ffe56c"></stop><stop offset="1" stop-color="#ffc63a"></stop></linearGradient><g fill="none" fill-rule="evenodd" transform="translate(-34 -24)"><g transform="matrix(.99254615 .12186934 -.12186934 .99254615 33.922073 .976691)"><path d="m103.950535 258.274149c44.361599-4.360825 60.014503-40.391282 65.353094-94.699444s-30.93219-103.451001-46.020347-101.9678079c-15.088156 1.4831932-63.0385313 58.9051239-68.3771222 113.2132869-5.3385908 54.308162 4.6827754 87.814791 49.0443752 83.453965z" fill="url(#b)" transform="matrix(.70710678 -.70710678 .70710678 .70710678 -80.496332 125.892944)"></path><path d="m275.876752 258.273992c44.3616 4.360826 53.167133-29.265322 47.828542-83.573485-5.338591-54.308162-52.073133-111.6105744-67.16129-113.0937675-15.088156-1.4831931-52.57477 47.5401275-47.236179 101.8482895s22.207328 90.458137 66.568927 94.818963z" fill="url(#c)" transform="matrix(.70710678 .70710678 -.70710678 .70710678 191.403399 -141.861963)"></path><path d="m188.370027 216.876305c39.941834 0 50.95265-38.251987 50.95265-97.89874 0-59.6467532-37.367733-118.10125956-50.95265-118.10125956s-52.04735 58.45450636-52.04735 118.10125956c0 59.646753 12.105516 97.89874 52.04735 97.89874z" fill="url(#d)"></path></g><path d="m184.473473 501c83.118854 0 150.526527-24.145148 150.526527-133.645148s-67.407673-199.354852-150.526527-199.354852c-83.118855 0-150.473473 89.854852-150.473473 199.354852s67.354618 133.645148 150.473473 133.645148z" fill="url(#e)"></path><ellipse cx="260.5" cy="335" fill="#eaadcc" rx="21.5" ry="10"></ellipse><ellipse cx="102.5" cy="329" fill="#eaadcc" rx="21.5" ry="10" transform="matrix(.99254615 .12186934 -.12186934 .99254615 40.859033 -10.039292)"></ellipse><g transform="matrix(-.99939083 .0348995 .0348995 .99939083 269.284825 271.027667)"><path d="m73.1046985 58.2728794c6.7372416 4.9130333 14.3132632 6.6640587 22.7280649 5.2530761 8.4148016-1.4109825 14.5054466-5.2535769 18.2719346-11.527783" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="6" transform="matrix(.9998477 .01745241 -.01745241 .9998477 1.026464 -1.624794)"></path><path d="m154.501124 3c-5.937545 0-11.312782 2.40629805-15.203644 6.29680621-3.89094 3.89058529-6.29748 9.26545449-6.29748 15.20263179 0 5.9376888 2.406488 11.3127422 6.297291 15.2034272 3.890886 3.8907673 9.266197 6.2971348 15.203833 6.2971348 5.937109 0 11.311896-2.4063889 15.202387-6.2972348 3.890299-3.8906535 6.296489-9.2656636 6.296489-15.2033272 0-5.9371521-2.406242-11.3119781-6.296677-15.20253181-3.890469-3.89058674-9.265181-6.29690619-15.202199-6.29690619z" fill="#000"></path><path d="m154 21c0-3.865549 3.135362-7 6.999413-7 3.866399 0 7.000587 3.134451 7.000587 7s-3.134188 7-7.000587 7c-3.864051-.0011735-6.999413-3.134451-6.999413-7z" fill="#fff"></path><path d="m24.5 13c-5.9375292 0-11.312426 2.406268-15.20299427 6.2967181-3.89069464 3.8905765-6.29700573 9.2654765-6.29700573 15.2027199 0 5.9377549 2.40625962 11.3128391 6.29681766 15.2035153 3.89059104 3.8907092 9.26556184 6.2970467 15.20318234 6.2970467 5.9371249 0 11.3122514-2.406419 15.2030371-6.2973229 3.8905441-3.8906623 6.2969629-9.2656416 6.2969629-15.2032391 0-5.937086-2.4064703-11.3118811-6.297151-15.2024437-3.890763-3.8906448-9.2658154-6.2969943-15.202849-6.2969943z" fill="#000"></path><g fill="#fff"><path d="m136 24.499438c0 10.2185232 8.282911 18.500562 18.501124 18.500562 10.217089 0 18.498876-8.2820388 18.498876-18.500562 0-10.2173992-8.281787-18.499438-18.498876-18.499438-10.218213 0-18.501124 8.2820388-18.501124 18.499438zm-6 0c0-13.5311954 10.96929-24.499438 24.501124-24.499438 13.530838 0 24.498876 10.9683711 24.498876 24.499438 0 13.5319607-10.967808 24.500562-24.498876 24.500562-13.532064 0-24.501124-10.9684728-24.501124-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m6 34.499438c0 10.2185232 8.2817873 18.500562 18.5 18.500562 10.2170889 0 18.5-8.2820388 18.5-18.500562 0-10.2173992-8.2829111-18.499438-18.5-18.499438-10.2182127 0-18.5 8.2820388-18.5 18.499438zm-6 0c0-13.531297 10.9682681-24.499438 24.5-24.499438 13.5309398 0 24.5 10.9684728 24.5 24.499438 0 13.5318591-10.96883 24.500562-24.5 24.500562-13.531962 0-24.5-10.9683711-24.5-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m24 31c0-3.865549 3.134451-7 7-7s7 3.134451 7 7-3.134451 7-7 7-7-3.134451-7-7z"></path></g></g><g stroke-linecap="round" stroke-width="11"><g stroke="#ecb732"><path d="m70.5 377.5 74 77"></path><path d="m134.5 386.5-47 50"></path></g><g stroke="#ecb732" transform="matrix(-1 0 0 1 298 377)"><path d="m.5.5 74 77"></path><path d="m64.5 9.5-47 50"></path></g><g stroke="#ffc73b" transform="matrix(0 1 -1 0 215 207)"><path d="m.5.5 49 49"></path><path d="m.5 10.5 49 49" transform="matrix(-1 0 0 1 50 0)"></path></g></g></g></svg><path d="M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z" fill="currentColor"></path>',2),po=[Mo];function Fo(A,B){return d(),y("svg",uo,po)}const Go=Bg(ho,[["render",Fo]]),oE=Symbol("VirtualRouteKey"),SI=Symbol("VirtualRoutesKey");function No(A){const B=S({path:"/"}),Q=x(()=>B.value.path),g=_({setup(){return()=>{const E=A.find(C=>C.path===Q.value);return E?CE(E.component):null}}});return sB(oE,B),sB(SI,A),{VirtualRouterView:g}}function wE(){const A=iB(oE);return{push(B){A.value.path=B}}}function Lo(){const A=iB(SI),B=iB(oE);return{routes:A,currentRoute:B}}const ko={"h-full":"","w-full":"",flex:"","items-center":""},fo={flex:"~ col gap2",ma:"","px-5":""},yo=N("div",{"flex-auto":""},null,-1),Ho={flex:"~ col","mt-20":"","items-center":""},Ro={flex:"~","mt--10":"","items-center":"","justify-center":""},Uo=N("div",{mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},[N("span",{op40:""}," Pinia DevTools ")],-1),Ko=N("div",{"flex-auto":""},null,-1),Yo={flex:"~ gap2 wrap"},Po=N("div",{"i-carbon-tree-view-alt":"","text-3xl":""},null,-1),So=N("code",null,"Store",-1),mo=[Po,So],Jo=N("div",{"i-mdi:timeline-clock-outline":"","text-3xl":""},null,-1),xo=N("div",null,"Timeline",-1),vo=[Jo,xo],Oo=N("div",{flex:"~ gap-6 wrap","mt-5":"","items-center":"","justify-center":""},[N("a",{href:"https://github.com/vuejs/pinia",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-blue",transition:""},[N("div",{"i-carbon-star":""}),PA(" Star on GitHub ")]),N("a",{href:"https://pinia.vuejs.org/",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-yellow",transition:""},[N("div",{"i-carbon-document":""}),PA(" View Documentation ")])],-1),bo=N("div",{"flex-auto":""},null,-1),qo=_({__name:"Home",setup(A){const B=wE();return(Q,g)=>(d(),y("div",ko,[N("div",fo,[yo,N("div",Ho,[N("div",Ro,[Y(Go,{"h-18":""})]),Uo]),Ko,N("div",Yo,[N("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:g[0]||(g[0]=E=>F(B).push("/store"))},mo),N("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:g[1]||(g[1]=E=>F(B).push("/timeline"))},vo)]),Oo,bo])]))}}),DE={name:"splitpanes",emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((A,B)=>(A[B.id]=B)&&A,{})}},methods:{updatePaneComponents(){this.panes.forEach(A=>{A.update&&A.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[A.id].size}%`})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(A,B){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=B},onMouseMove(A){this.touch.mouseDown&&(A.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(A)),this.$emit("resize",this.panes.map(B=>({min:B.min,max:B.max,size:B.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(A=>({min:A.min,max:A.max,size:A.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(A,B){"ontouchstart"in window&&(A.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===B?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(A,B),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=B,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[B])},onSplitterDblClick(A,B){let Q=0;this.panes=this.panes.map((g,E)=>(g.size=E===B?g.max:g.min,E!==B&&(Q+=g.min),g)),this.panes[B].size-=Q,this.$emit("pane-maximize",this.panes[B]),this.$emit("resized",this.panes.map(g=>({min:g.min,max:g.max,size:g.size})))},onPaneClick(A,B){this.$emit("pane-click",this.indexedPanes[B])},getCurrentMouseDrag(A){const B=this.container.getBoundingClientRect(),{clientX:Q,clientY:g}="ontouchstart"in window&&A.touches?A.touches[0]:A;return{x:Q-B.left,y:g-B.top}},getCurrentDragPercentage(A){A=A[this.horizontal?"y":"x"];const B=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(A=B-A),A*100/B},calculatePanesSize(A){const B=this.touch.activeSplitter;let Q={prevPanesSize:this.sumPrevPanesSize(B),nextPanesSize:this.sumNextPanesSize(B),prevReachedMinPanes:0,nextReachedMinPanes:0};const g=0+(this.pushOtherPanes?0:Q.prevPanesSize),E=100-(this.pushOtherPanes?0:Q.nextPanesSize),C=Math.max(Math.min(this.getCurrentDragPercentage(A),E),g);let I=[B,B+1],e=this.panes[I[0]]||null,t=this.panes[I[1]]||null;const o=e.max<100&&C>=e.max+Q.prevPanesSize,D=t.max<100&&C<=100-(t.max+this.sumNextPanesSize(B+1));if(o||D){o?(e.size=e.max,t.size=Math.max(100-e.max-Q.prevPanesSize-Q.nextPanesSize,0)):(e.size=Math.max(100-t.max-Q.prevPanesSize-this.sumNextPanesSize(B+1),0),t.size=t.max);return}if(this.pushOtherPanes){const w=this.doPushOtherPanes(Q,C);if(!w)return;({sums:Q,panesToResize:I}=w),e=this.panes[I[0]]||null,t=this.panes[I[1]]||null}e!==null&&(e.size=Math.min(Math.max(C-Q.prevPanesSize-Q.prevReachedMinPanes,e.min),e.max)),t!==null&&(t.size=Math.min(Math.max(100-C-Q.nextPanesSize-Q.nextReachedMinPanes,t.min),t.max))},doPushOtherPanes(A,B){const Q=this.touch.activeSplitter,g=[Q,Q+1];return B<A.prevPanesSize+this.panes[g[0]].min&&(g[0]=this.findPrevExpandedPane(Q).index,A.prevReachedMinPanes=0,g[0]<Q&&this.panes.forEach((E,C)=>{C>g[0]&&C<=Q&&(E.size=E.min,A.prevReachedMinPanes+=E.min)}),A.prevPanesSize=this.sumPrevPanesSize(g[0]),g[0]===void 0)?(A.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((E,C)=>{C>0&&C<=Q&&(E.size=E.min,A.prevReachedMinPanes+=E.min)}),this.panes[g[1]].size=100-A.prevReachedMinPanes-this.panes[0].min-A.prevPanesSize-A.nextPanesSize,null):B>100-A.nextPanesSize-this.panes[g[1]].min&&(g[1]=this.findNextExpandedPane(Q).index,A.nextReachedMinPanes=0,g[1]>Q+1&&this.panes.forEach((E,C)=>{C>Q&&C<g[1]&&(E.size=E.min,A.nextReachedMinPanes+=E.min)}),A.nextPanesSize=this.sumNextPanesSize(g[1]-1),g[1]===void 0)?(A.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((E,C)=>{C<this.panesCount-1&&C>=Q+1&&(E.size=E.min,A.nextReachedMinPanes+=E.min)}),this.panes[g[0]].size=100-A.prevPanesSize-A.nextReachedMinPanes-this.panes[this.panesCount-1].min-A.nextPanesSize,null):{sums:A,panesToResize:g}},sumPrevPanesSize(A){return this.panes.reduce((B,Q,g)=>B+(g<A?Q.size:0),0)},sumNextPanesSize(A){return this.panes.reduce((B,Q,g)=>B+(g>A+1?Q.size:0),0)},findPrevExpandedPane(A){return[...this.panes].reverse().find(B=>B.index<A&&B.size>B.min)||{}},findNextExpandedPane(A){return this.panes.find(B=>B.index>A+1&&B.size>B.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(A=>{const B=A.classList.contains("splitpanes__pane"),Q=A.classList.contains("splitpanes__splitter");!B&&!Q&&(A.parentNode.removeChild(A),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))})},addSplitter(A,B,Q=!1){const g=A-1,E=document.createElement("div");E.classList.add("splitpanes__splitter"),Q||(E.onmousedown=C=>this.onMouseDown(C,g),typeof window<"u"&&"ontouchstart"in window&&(E.ontouchstart=C=>this.onMouseDown(C,g)),E.onclick=C=>this.onSplitterClick(C,g+1)),this.dblClickSplitter&&(E.ondblclick=C=>this.onSplitterDblClick(C,g+1)),B.parentNode.insertBefore(E,B)},removeSplitter(A){A.onmousedown=void 0,A.onclick=void 0,A.ondblclick=void 0,A.parentNode.removeChild(A)},redoSplitters(){const A=Array.from(this.container.children);A.forEach(Q=>{Q.className.includes("splitpanes__splitter")&&this.removeSplitter(Q)});let B=0;A.forEach(Q=>{Q.className.includes("splitpanes__pane")&&(!B&&this.firstSplitter?this.addSplitter(B,Q,!0):B&&this.addSplitter(B,Q),B++)})},requestUpdate({target:A,...B}){const Q=this.indexedPanes[A._.uid];Object.entries(B).forEach(([g,E])=>Q[g]=E)},onPaneAdd(A){let B=-1;Array.from(A.$el.parentNode.children).some(E=>(E.className.includes("splitpanes__pane")&&B++,E===A.$el));const Q=parseFloat(A.minSize),g=parseFloat(A.maxSize);this.panes.splice(B,0,{id:A._.uid,index:B,min:isNaN(Q)?0:Q,max:isNaN(g)?100:g,size:A.size===null?null:parseFloat(A.size),givenSize:A.size,update:A.update}),this.panes.forEach((E,C)=>E.index=C),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[B]}),this.$emit("pane-add",{index:B,panes:this.panes.map(E=>({min:E.min,max:E.max,size:E.size}))})})},onPaneRemove(A){const B=this.panes.findIndex(g=>g.id===A._.uid),Q=this.panes.splice(B,1)[0];this.panes.forEach((g,E)=>g.index=E),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:{...Q,index:B}}),this.$emit("pane-remove",{removed:Q,panes:this.panes.map(g=>({min:g.min,max:g.max,size:g.size}))})})},resetPaneSizes(A={}){!A.addedPane&&!A.removedPane?this.initialPanesSizing():this.panes.some(B=>B.givenSize!==null||B.min||B.max<100)?this.equalizeAfterAddOrRemove(A):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(B=>({min:B.min,max:B.max,size:B.size})))},equalize(){const A=100/this.panesCount;let B=0;const Q=[],g=[];this.panes.forEach(E=>{E.size=Math.max(Math.min(A,E.max),E.min),B-=E.size,E.size>=E.max&&Q.push(E.id),E.size<=E.min&&g.push(E.id)}),B>.1&&this.readjustSizes(B,Q,g)},initialPanesSizing(){let A=100;const B=[],Q=[];let g=0;this.panes.forEach(C=>{A-=C.size,C.size!==null&&g++,C.size>=C.max&&B.push(C.id),C.size<=C.min&&Q.push(C.id)});let E=100;A>.1&&(this.panes.forEach(C=>{C.size===null&&(C.size=Math.max(Math.min(A/(this.panesCount-g),C.max),C.min)),E-=C.size}),E>.1&&this.readjustSizes(A,B,Q))},equalizeAfterAddOrRemove({addedPane:A,removedPane:B}={}){let Q=100/this.panesCount,g=0;const E=[],C=[];A&&A.givenSize!==null&&(Q=(100-A.givenSize)/(this.panesCount-1)),this.panes.forEach(I=>{g-=I.size,I.size>=I.max&&E.push(I.id),I.size<=I.min&&C.push(I.id)}),!(Math.abs(g)<.1)&&(this.panes.forEach(I=>{A&&A.givenSize!==null&&A.id===I.id||(I.size=Math.max(Math.min(Q,I.max),I.min)),g-=I.size,I.size>=I.max&&E.push(I.id),I.size<=I.min&&C.push(I.id)}),g>.1&&this.readjustSizes(g,E,C))},readjustSizes(A,B,Q){let g;A>0?g=A/(this.panesCount-B.length):g=A/(this.panesCount-Q.length),this.panes.forEach((E,C)=>{if(A>0&&!B.includes(E.id)){const I=Math.max(Math.min(E.size+g,E.max),E.min),e=I-E.size;A-=e,E.size=I}else if(!Q.includes(E.id)){const I=Math.max(Math.min(E.size+g,E.max),E.min),e=I-E.size;A-=e,E.size=I}E.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[E.id].size}%`})}),Math.abs(A)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(A){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((B,Q)=>{B.ondblclick=A?g=>this.onSplitterDblClick(g,Q):void 0})}},beforeUnmount(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(){return CE("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},To=(A,B)=>{const Q=A.__vccOpts||A;for(const[g,E]of B)Q[g]=E;return Q},Wo={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeUnmount(){this.onPaneRemove(this)},methods:{update(A){this.style=A}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(A){this.requestUpdate({target:this,size:A})},minSizeNumber(A){this.requestUpdate({target:this,min:A})},maxSizeNumber(A){this.requestUpdate({target:this,max:A})}}};function Xo(A,B,Q,g,E,C){return d(),y("div",{class:"splitpanes__pane",onClick:B[0]||(B[0]=I=>C.onPaneClick(I,A._.uid)),style:GA(A.style)},[eA(A.$slots,"default")],4)}const LB=To(Wo,[["render",Xo]]);var Zo=Object.create,mI=Object.defineProperty,zo=Object.getOwnPropertyDescriptor,sE=Object.getOwnPropertyNames,jo=Object.getPrototypeOf,Vo=Object.prototype.hasOwnProperty,_o=(A,B)=>function(){return A&&(B=(0,A[sE(A)[0]])(A=0)),B},$o=(A,B)=>function(){return B||(0,A[sE(A)[0]])((B={exports:{}}).exports,B),B.exports},Aw=(A,B,Q,g)=>{if(B&&typeof B=="object"||typeof B=="function")for(let E of sE(B))!Vo.call(A,E)&&E!==Q&&mI(A,E,{get:()=>B[E],enumerable:!(g=zo(B,E))||g.enumerable});return A},Bw=(A,B,Q)=>(Q=A!=null?Zo(jo(A)):{},Aw(B||!A||!A.__esModule?mI(Q,"default",{value:A,enumerable:!0}):Q,A)),CQ=_o({"../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.43.0_@types+node@20.12.7__postcss@8.4.38_typescript@5.4.5/node_modules/tsup/assets/esm_shims.js"(){}}),Qw=$o({"../../node_modules/.pnpm/rfdc@1.3.1/node_modules/rfdc/index.js"(A,B){CQ(),B.exports=g;function Q(C){return C instanceof Buffer?Buffer.from(C):new C.constructor(C.buffer.slice(),C.byteOffset,C.length)}function g(C){if(C=C||{},C.circles)return E(C);return C.proto?t:e;function I(o,D){for(var w=Object.keys(o),s=new Array(w.length),i=0;i<w.length;i++){var a=w[i],n=o[a];typeof n!="object"||n===null?s[a]=n:n instanceof Date?s[a]=new Date(n):ArrayBuffer.isView(n)?s[a]=Q(n):s[a]=D(n)}return s}function e(o){if(typeof o!="object"||o===null)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return I(o,e);if(o instanceof Map)return new Map(I(Array.from(o),e));if(o instanceof Set)return new Set(I(Array.from(o),e));var D={};for(var w in o)if(Object.hasOwnProperty.call(o,w)!==!1){var s=o[w];typeof s!="object"||s===null?D[w]=s:s instanceof Date?D[w]=new Date(s):s instanceof Map?D[w]=new Map(I(Array.from(s),e)):s instanceof Set?D[w]=new Set(I(Array.from(s),e)):ArrayBuffer.isView(s)?D[w]=Q(s):D[w]=e(s)}return D}function t(o){if(typeof o!="object"||o===null)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return I(o,t);if(o instanceof Map)return new Map(I(Array.from(o),t));if(o instanceof Set)return new Set(I(Array.from(o),t));var D={};for(var w in o){var s=o[w];typeof s!="object"||s===null?D[w]=s:s instanceof Date?D[w]=new Date(s):s instanceof Map?D[w]=new Map(I(Array.from(s),t)):s instanceof Set?D[w]=new Set(I(Array.from(s),t)):ArrayBuffer.isView(s)?D[w]=Q(s):D[w]=t(s)}return D}}function E(C){var I=[],e=[];return C.proto?D:o;function t(w,s){for(var i=Object.keys(w),a=new Array(i.length),n=0;n<i.length;n++){var r=i[n],l=w[r];if(typeof l!="object"||l===null)a[r]=l;else if(l instanceof Date)a[r]=new Date(l);else if(ArrayBuffer.isView(l))a[r]=Q(l);else{var h=I.indexOf(l);h!==-1?a[r]=e[h]:a[r]=s(l)}}return a}function o(w){if(typeof w!="object"||w===null)return w;if(w instanceof Date)return new Date(w);if(Array.isArray(w))return t(w,o);if(w instanceof Map)return new Map(t(Array.from(w),o));if(w instanceof Set)return new Set(t(Array.from(w),o));var s={};I.push(w),e.push(s);for(var i in w)if(Object.hasOwnProperty.call(w,i)!==!1){var a=w[i];if(typeof a!="object"||a===null)s[i]=a;else if(a instanceof Date)s[i]=new Date(a);else if(a instanceof Map)s[i]=new Map(t(Array.from(a),o));else if(a instanceof Set)s[i]=new Set(t(Array.from(a),o));else if(ArrayBuffer.isView(a))s[i]=Q(a);else{var n=I.indexOf(a);n!==-1?s[i]=e[n]:s[i]=o(a)}}return I.pop(),e.pop(),s}function D(w){if(typeof w!="object"||w===null)return w;if(w instanceof Date)return new Date(w);if(Array.isArray(w))return t(w,D);if(w instanceof Map)return new Map(t(Array.from(w),D));if(w instanceof Set)return new Set(t(Array.from(w),D));var s={};I.push(w),e.push(s);for(var i in w){var a=w[i];if(typeof a!="object"||a===null)s[i]=a;else if(a instanceof Date)s[i]=new Date(a);else if(a instanceof Map)s[i]=new Map(t(Array.from(a),D));else if(a instanceof Set)s[i]=new Set(t(Array.from(a),D));else if(ArrayBuffer.isView(a))s[i]=Q(a);else{var n=I.indexOf(a);n!==-1?s[i]=e[n]:s[i]=D(a)}}return I.pop(),e.pop(),s}}}});CQ();CQ();var gw=typeof navigator<"u",Z=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{};typeof Z.chrome<"u"&&Z.chrome.devtools;gw&&(Z.self,Z.top);typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes("electron");CQ();var Ew=Bw(Qw(),1),Cw=/(?:^|[-_/])(\w)/g,Iw=/-(\w)/g;function JI(A,B){return B?B.toUpperCase():""}function ew(A){return A&&`${A}`.replace(Cw,JI)}function tw(A){return A&&A.replace(Iw,JI)}function ow(A,B){const Q=A.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"),g=Q.lastIndexOf("/"),E=Q.substring(g+1);if(B){const C=E.lastIndexOf(B);return E.substring(0,C)}return""}function xI(A){return A&&A.slice().sort((B,Q)=>B.key<Q.key?-1:B.key>Q.key?1:0)}var ZE=(0,Ew.default)({circles:!0});function zE(A){return typeof A=="object"&&!Array.isArray(A)&&A!==null}function jE(A){return Array.isArray(A)}CQ();function Rg(A,B={},Q){for(const g in A){const E=A[g],C=Q?`${Q}:${g}`:g;typeof E=="object"&&E!==null?Rg(E,B,C):typeof E=="function"&&(B[C]=E)}return B}const ww={run:A=>A()},Dw=()=>ww,vI=typeof console.createTask<"u"?console.createTask:Dw;function sw(A,B){const Q=B.shift(),g=vI(Q);return A.reduce((E,C)=>E.then(()=>g.run(()=>C(...B))),Promise.resolve())}function iw(A,B){const Q=B.shift(),g=vI(Q);return Promise.all(A.map(E=>g.run(()=>E(...B))))}function rg(A,B){for(const Q of[...A])Q(B)}class nw{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(B,Q,g={}){if(!B||typeof Q!="function")return()=>{};const E=B;let C;for(;this._deprecatedHooks[B];)C=this._deprecatedHooks[B],B=C.to;if(C&&!g.allowDeprecated){let I=C.message;I||(I=`${E} hook has been deprecated`+(C.to?`, please use ${C.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(I)||(console.warn(I),this._deprecatedMessages.add(I))}if(!Q.name)try{Object.defineProperty(Q,"name",{get:()=>"_"+B.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[B]=this._hooks[B]||[],this._hooks[B].push(Q),()=>{Q&&(this.removeHook(B,Q),Q=void 0)}}hookOnce(B,Q){let g,E=(...C)=>(typeof g=="function"&&g(),g=void 0,E=void 0,Q(...C));return g=this.hook(B,E),g}removeHook(B,Q){if(this._hooks[B]){const g=this._hooks[B].indexOf(Q);g!==-1&&this._hooks[B].splice(g,1),this._hooks[B].length===0&&delete this._hooks[B]}}deprecateHook(B,Q){this._deprecatedHooks[B]=typeof Q=="string"?{to:Q}:Q;const g=this._hooks[B]||[];delete this._hooks[B];for(const E of g)this.hook(B,E)}deprecateHooks(B){Object.assign(this._deprecatedHooks,B);for(const Q in B)this.deprecateHook(Q,B[Q])}addHooks(B){const Q=Rg(B),g=Object.keys(Q).map(E=>this.hook(E,Q[E]));return()=>{for(const E of g.splice(0,g.length))E()}}removeHooks(B){const Q=Rg(B);for(const g in Q)this.removeHook(g,Q[g])}removeAllHooks(){for(const B in this._hooks)delete this._hooks[B]}callHook(B,...Q){return Q.unshift(B),this.callHookWith(sw,B,...Q)}callHookParallel(B,...Q){return Q.unshift(B),this.callHookWith(iw,B,...Q)}callHookWith(B,Q,...g){const E=this._before||this._after?{name:Q,args:g,context:{}}:void 0;this._before&&rg(this._before,E);const C=B(Q in this._hooks?[...this._hooks[Q]]:[],g);return C instanceof Promise?C.finally(()=>{this._after&&E&&rg(this._after,E)}):(this._after&&E&&rg(this._after,E),C)}beforeEach(B){return this._before=this._before||[],this._before.push(B),()=>{if(this._before!==void 0){const Q=this._before.indexOf(B);Q!==-1&&this._before.splice(Q,1)}}}afterEach(B){return this._after=this._after||[],this._after.push(B),()=>{if(this._after!==void 0){const Q=this._after.indexOf(B);Q!==-1&&this._after.splice(Q,1)}}}}function OI(){return new nw}const aw={trailing:!0};function Qg(A,B=25,Q={}){if(Q={...aw,...Q},!Number.isFinite(B))throw new TypeError("Expected `wait` to be a finite number");let g,E,C=[],I,e;const t=(o,D)=>(I=rw(A,o,D),I.finally(()=>{if(I=null,Q.trailing&&e&&!E){const w=t(o,e);return e=null,w}}),I);return function(...o){return I?(Q.trailing&&(e=o),I):new Promise(D=>{const w=!E&&Q.leading;clearTimeout(E),E=setTimeout(()=>{E=null;const s=Q.leading?g:t(this,o);for(const i of C)i(s);C=[]},B),w?(g=t(this,o),D(g)):C.push(D)})}}async function rw(A,B,Q){return await A.apply(B,Q)}var cw=Object.create,bI=Object.defineProperty,lw=Object.getOwnPropertyDescriptor,iE=Object.getOwnPropertyNames,hw=Object.getPrototypeOf,uw=Object.prototype.hasOwnProperty,Mw=(A,B)=>function(){return A&&(B=(0,A[iE(A)[0]])(A=0)),B},qI=(A,B)=>function(){return B||(0,A[iE(A)[0]])((B={exports:{}}).exports,B),B.exports},pw=(A,B,Q,g)=>{if(B&&typeof B=="object"||typeof B=="function")for(let E of iE(B))!uw.call(A,E)&&E!==Q&&bI(A,E,{get:()=>B[E],enumerable:!(g=lw(B,E))||g.enumerable});return A},dw=(A,B,Q)=>(Q=A!=null?cw(hw(A)):{},pw(B||!A||!A.__esModule?bI(Q,"default",{value:A,enumerable:!0}):Q,A)),K=Mw({"../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.43.0_@types+node@20.12.7__postcss@8.4.38_typescript@5.4.5/node_modules/tsup/assets/esm_shims.js"(){}}),Fw=qI({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(A,B){K(),function(Q){var g={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},E=["်","ް"],C={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},I={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},e={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},t=[";","?",":","@","&","=","+","$",",","/"].join(""),o=[";","?",":","@","&","=","+","$",","].join(""),D=[".","!","~","*","'","(",")"].join(""),w=function(n,r){var l="-",h="",u="",M=!0,p={},k,v,m,W,P,q,L,f,T,j,H,EA,DA,U,R="";if(typeof n!="string")return"";if(typeof r=="string"&&(l=r),L=e.en,f=I.en,typeof r=="object"){k=r.maintainCase||!1,p=r.custom&&typeof r.custom=="object"?r.custom:p,m=+r.truncate>1&&r.truncate||!1,W=r.uric||!1,P=r.uricNoSlash||!1,q=r.mark||!1,M=!(r.symbols===!1||r.lang===!1),l=r.separator||l,W&&(R+=t),P&&(R+=o),q&&(R+=D),L=r.lang&&e[r.lang]&&M?e[r.lang]:M?e.en:{},f=r.lang&&I[r.lang]?I[r.lang]:r.lang===!1||r.lang===!0?{}:I.en,r.titleCase&&typeof r.titleCase.length=="number"&&Array.prototype.toString.call(r.titleCase)?(r.titleCase.forEach(function(J){p[J+""]=J+""}),v=!0):v=!!r.titleCase,r.custom&&typeof r.custom.length=="number"&&Array.prototype.toString.call(r.custom)&&r.custom.forEach(function(J){p[J+""]=J+""}),Object.keys(p).forEach(function(J){var z;J.length>1?z=new RegExp("\\b"+i(J)+"\\b","gi"):z=new RegExp(i(J),"gi"),n=n.replace(z,p[J])});for(H in p)R+=H}for(R+=l,R=i(R),n=n.replace(/(^\s+|\s+$)/g,""),DA=!1,U=!1,j=0,EA=n.length;j<EA;j++)H=n[j],a(H,p)?DA=!1:f[H]?(H=DA&&f[H].match(/[A-Za-z0-9]/)?" "+f[H]:f[H],DA=!1):H in g?(j+1<EA&&E.indexOf(n[j+1])>=0?(u+=H,H=""):U===!0?(H=C[u]+g[H],u=""):H=DA&&g[H].match(/[A-Za-z0-9]/)?" "+g[H]:g[H],DA=!1,U=!1):H in C?(u+=H,H="",j===EA-1&&(H=C[u]),U=!0):L[H]&&!(W&&t.indexOf(H)!==-1)&&!(P&&o.indexOf(H)!==-1)?(H=DA||h.substr(-1).match(/[A-Za-z0-9]/)?l+L[H]:L[H],H+=n[j+1]!==void 0&&n[j+1].match(/[A-Za-z0-9]/)?l:"",DA=!0):(U===!0?(H=C[u]+H,u="",U=!1):DA&&(/[A-Za-z0-9]/.test(H)||h.substr(-1).match(/A-Za-z0-9]/))&&(H=" "+H),DA=!1),h+=H.replace(new RegExp("[^\\w\\s"+R+"_-]","g"),l);return v&&(h=h.replace(/(\w)(\S*)/g,function(J,z,CA){var gB=z.toUpperCase()+(CA!==null?CA:"");return Object.keys(p).indexOf(gB.toLowerCase())<0?gB:gB.toLowerCase()})),h=h.replace(/\s+/g,l).replace(new RegExp("\\"+l+"+","g"),l).replace(new RegExp("(^\\"+l+"+|\\"+l+"+$)","g"),""),m&&h.length>m&&(T=h.charAt(m)===l,h=h.slice(0,m),T||(h=h.slice(0,h.lastIndexOf(l)))),!k&&!v&&(h=h.toLowerCase()),h},s=function(n){return function(r){return w(r,n)}},i=function(n){return n.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},a=function(n,r){for(var l in r)if(r[l]===n)return!0};if(typeof B<"u"&&B.exports)B.exports=w,B.exports.createSlug=s;else if(typeof define<"u"&&define.amd)define([],function(){return w});else try{if(Q.getSlug||Q.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";Q.getSlug=w,Q.createSlug=s}catch{}}(A)}}),Gw=qI({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(A,B){K(),B.exports=Fw()}});K();K();K();K();K();K();K();K();K();K();var VE,_E,XA=(_E=(VE=Z).__VUE_DEVTOOLS_HOOK)!=null?_E:VE.__VUE_DEVTOOLS_HOOK=OI(),Nw={vueAppInit(A){XA.hook("app:init",A)},vueAppUnmount(A){XA.hook("app:unmount",A)},vueAppConnected(A){XA.hook("app:connected",A)},componentAdded(A){return XA.hook("component:added",A)},componentUpdated(A){return XA.hook("component:updated",A)},componentRemoved(A){return XA.hook("component:removed",A)},setupDevtoolsPlugin(A){XA.hook("devtools-plugin:setup",A)}},Lw={on:Nw,setupDevToolsPlugin(A,B){return XA.callHook("devtools-plugin:setup",A,B)}};K();K();K();K();K();K();K();dw(Gw(),1);K();K();K();var $E,AC,IQ=(AC=($E=Z).__VUE_DEVTOOLS_API_HOOK)!=null?AC:$E.__VUE_DEVTOOLS_API_HOOK=OI();function kw(A){const B=new Map;return(A?.getRoutes()||[]).filter(Q=>!B.has(Q.path)&&B.set(Q.path,1))}function nE(A){return A.map(B=>{let{path:Q,name:g,children:E}=B;return E!=null&&E.length&&(E=nE(E)),{path:Q,name:g,children:E}})}function fw(A){if(A){const{fullPath:B,hash:Q,href:g,path:E,name:C,matched:I,params:e,query:t}=A;return{fullPath:B,hash:Q,href:g,path:E,name:C,params:e,query:t,matched:nE(I)}}return A}function yw(A,B){function Q(){var g;const E=(g=A.app)==null?void 0:g.config.globalProperties.$router,C=fw(E?.currentRoute.value),I=nE(kw(E)),e=console.warn;console.warn=()=>{},Z[kB]={currentRoute:C?ZE(C):{},routes:ZE(I)},Z[KQ]=E,console.warn=e}Q(),Lw.on.componentUpdated(Qg(()=>{var g;((g=B.activeAppRecord)==null?void 0:g.app)===A.app&&(Q(),IQ.callHook("router-info:updated",Z[kB]))},200))}K();K();K();function Hw(A){return A.name||A._componentTag||A.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||A.__name}function TI(A){const B=A.__file;if(B)return ew(ow(B,".vue"))}function Rw(A){return A.displayName||A.name||A._componentTag||TI(A)}function BC(A,B){return A.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=B,B}function Uw(A){var B,Q,g;const E=Hw(A.type||{});if(E)return E;if(A.root===A)return"Root";for(const I in(Q=(B=A.parent)==null?void 0:B.type)==null?void 0:Q.components)if(A.parent.type.components[I]===A.type)return BC(A,I);for(const I in(g=A.appContext)==null?void 0:g.components)if(A.appContext.components[I]===A.type)return BC(A,I);return TI(A.type||{})||"Anonymous Component"}function QB(A){try{return A()}catch(B){return B}}K();K();K();K();K();K();K();K();var Kw=new Set(["nextTick","defineComponent","defineAsyncComponent","defineCustomElement","ref","computed","reactive","readonly","watchEffect","watchPostEffect","watchSyncEffect","watch","isRef","unref","toRef","toRefs","isProxy","isReactive","isReadonly","shallowRef","triggerRef","customRef","shallowReactive","shallowReadonly","toRaw","markRaw","effectScope","getCurrentScope","onScopeDispose","onMounted","onUpdated","onUnmounted","onBeforeMount","onBeforeUpdate","onBeforeUnmount","onErrorCaptured","onRenderTracked","onRenderTriggered","onActivated","onDeactivated","onServerPrefetch","provide","inject","h","mergeProps","cloneVNode","isVNode","resolveComponent","resolveDirective","withDirectives","withModifiers"]),QC=/^\[native Symbol Symbol\((.*)\)\]$/,Yw=/^\[object (\w+)]$/,HQ=/^\[native (\w+) (.*?)(<>((.|\s)*))?\]$/,Pw=/^(?:function|class) (\w+)/,gC=1e4,EC=5e3,eQ="__vue_devtool_undefined__",tQ="__vue_devtool_infinity__",oQ="__vue_devtool_negative_infinity__",wQ="__vue_devtool_nan__",Sw={"<":"<",">":">",'"':""","&":"&"};K();K();function mw(A){return A._&&Object.keys(A._).includes("vnode")}function aE(A){return Object.prototype.toString.call(A)==="[object Object]"}function Jw(A){if(A==null)return!0;const B=typeof A;return B==="string"||B==="number"||B==="boolean"}function WI(A){return!!A.__v_isRef}function xw(A){return WI(A)&&!!A.effect}function vw(A){return!!A.__v_isReactive}function Ow(A){return!!A.__v_isReadonly}var RQ={[eQ]:"undefined",[wQ]:"NaN",[tQ]:"Infinity",[oQ]:"-Infinity"},cg=Object.entries(RQ).reduce((A,[B,Q])=>(A[Q]=B,A),{});function bw(A){return A===null?"null":typeof A=="string"&&RQ[A]||!1}function qw(A){const B=new RegExp(`"(${Object.keys(RQ).join("|")})"`,"g");return A.replace(B,(Q,g)=>RQ[g])}function Tw(A){const B=cg[A.trim()];if(B)return`"${B}"`;const Q=new RegExp(`:\\s*(${Object.keys(cg).join("|")})`,"g");return A.replace(Q,(g,E)=>`:"${cg[E]}"`)}function XI(A){if(Array.isArray(A))return A.map(Q=>XI(Q)).join(" or ");if(A==null)return"null";const B=A.toString().match(Pw);return typeof A=="function"&&B&&B[1]||"any"}function Ww(A){return!Jw(A)&&!Array.isArray(A)&&!aE(A)?Object.prototype.toString.call(A):A}function ZI(A){return{ref:WI(A),computed:xw(A),reactive:vw(A),readonly:Ow(A)}}function zI(A){return A!=null&&A.__v_raw?A.__v_raw:A}function SB(A){return A.replace(/[<>"&]/g,B=>Sw[B]||B)}function UQ(A,B,Q){if(typeof B=="function"&&(B=B.options),!B)return A;const{mixins:g,extends:E}=B;E&&UQ(A,E),g&&g.forEach(C=>UQ(A,C));for(const C of["computed","inject"])Object.prototype.hasOwnProperty.call(B,C)&&(A[C]?Object.assign(A[C],B[C]):A[C]=B[C]);return A}function Xw(A){const B=A.type,{mixins:Q,extends:g}=B,E=A.appContext.mixins;if(!E.length&&!Q&&!g)return B;const C={};return E.forEach(I=>UQ(C,I)),UQ(C,B),C}function Zw(A){const B=[],Q=A.type.props;for(const g in A.props){const E=Q?Q[g]:null,C=tw(g);B.push({type:"props",key:C,value:QB(()=>A.props[g]),meta:E?{type:E.type?XI(E.type):"any",required:!!E.required,...E.default?{default:E.default.toString()}:{}}:{type:"invalid"}})}return B}function zw(A){const B=A.type,Q=B.props,g=B.vuex&&B.vuex.getters,E=B.computed,C={...A.data,...A.renderContext};return Object.keys(C).filter(I=>!(Q&&I in Q)&&!(g&&I in g)&&!(E&&I in E)).map(I=>({key:I,type:"data",value:QB(()=>C[I]),editable:!0}))}function jw(A){const B=A.computed?"computed":A.ref?"ref":A.reactive?"reactive":null,Q=B?`${B.charAt(0).toUpperCase()}${B.slice(1)}`:null;return{stateType:B,stateTypeName:Q}}function Vw(A){const B=A.devtoolsRawSetupState||{};return Object.keys(A.setupState).filter(Q=>!Kw.has(Q)&&Q.split(/(?=[A-Z])/)[0]!=="use").map(Q=>{var g,E,C,I;const e=QB(()=>zI(A.setupState[Q])),t=B[Q];let o,D=typeof e=="function"||typeof e?.render=="function"||typeof e?.__asyncLoader=="function"||typeof e=="object"&&e&&("setup"in e||"props"in e)||/^v[A-Z]/.test(Q);if(t){const w=ZI(t),{stateType:s,stateTypeName:i}=jw(w),a=w.ref||w.computed||w.reactive,n=((E=(g=t.effect)==null?void 0:g.raw)==null?void 0:E.toString())||((I=(C=t.effect)==null?void 0:C.fn)==null?void 0:I.toString());s&&(D=!1),o={...s?{stateType:s,stateTypeName:i}:{},...n?{raw:n}:{},editable:a&&!w.readonly}}return{key:Q,value:e,type:D?"setup (other)":"setup",...o}})}function _w(A,B){const Q=B,g=[],E=Q.computed||{};for(const C in E){const I=E[C],e=typeof I=="function"&&I.vuex?"vuex bindings":"computed";g.push({type:e,key:C,value:QB(()=>{var t;return(t=A?.proxy)==null?void 0:t[C]}),editable:typeof I.set=="function"})}return g}function $w(A){return Object.keys(A.attrs).map(B=>({type:"attrs",key:B,value:QB(()=>A.attrs[B])}))}function AD(A){return Reflect.ownKeys(A.provides).map(B=>({type:"provided",key:B.toString(),value:QB(()=>A.provides[B])}))}function BD(A,B){if(!(B!=null&&B.inject))return[];let Q=[],g;return Array.isArray(B.inject)?Q=B.inject.map(E=>({key:E,originalKey:E})):Q=Reflect.ownKeys(B.inject).map(E=>{const C=B.inject[E];let I;return typeof C=="string"||typeof C=="symbol"?I=C:(I=C.from,g=C.default),{key:E,originalKey:I}}),Q.map(({key:E,originalKey:C})=>({type:"injected",key:C&&E!==C?`${C.toString()} ➞ ${E.toString()}`:E.toString(),value:QB(()=>A.ctx.hasOwnProperty(E)?A.ctx[E]:A.provides.hasOwnProperty(C)?A.provides[C]:g)}))}function QD(A){return Object.keys(A.refs).map(B=>({type:"refs",key:B,value:QB(()=>A.refs[B])}))}function gD(A){var B;const Q=A.type.emits,g=Array.isArray(Q)?Q:Object.keys(Q??{}),E=Object.keys((B=A.vnode.props)!=null?B:{}),C=[];for(const I of E){const[e,...t]=I.split(/(?=[A-Z])/);if(e==="on"){const o=t.join("-").toLowerCase(),D=g.includes(o);C.push({type:"event listeners",key:o,value:{_custom:{displayText:D?"✅ Declared":"⚠️ Not declared",key:D?"✅ Declared":"⚠️ Not declared",value:D?"✅ Declared":"⚠️ Not declared",tooltipText:D?null:`The event <code>${o}</code> is not declared in the <code>emits</code> option. It will leak into the component's attributes (<code>$attrs</code>).`}}})}}return C}function ED(A){const B=Xw(A);return Zw(A).concat(zw(A),Vw(A),_w(A,B),$w(A),AD(A),BD(A,B),QD(A),gD(A))}K();K();K();K();K();function CD(A){let B="",Q=null;try{B=Function.prototype.toString.call(A),Q=String.prototype.match.call(B,/\([\s\S]*?\)/)}catch{}const g=Q&&Q[0],E=typeof g=="string"?g:"(?)",C=typeof A.name=="string"?A.name:"";return{_custom:{type:"function",displayText:`<span style="opacity:.5;margin-right:5px;">function</span> <span style="white-space:nowrap;">${SB(C)}${E}</span>`,tooltipText:B.trim()?`<pre>${B}</pre>`:null}}}function ID(A){const B=BigInt.prototype.toString.call(A);return{_custom:{type:"bigint",displayText:`BigInt(${B})`,value:B}}}function eD(A){const B=new Date(A.getTime());return B.setMinutes(B.getMinutes()-B.getTimezoneOffset()),{_custom:{type:"date",displayText:Date.prototype.toString.call(A),value:B.toISOString().slice(0,-1)}}}function tD(A){return{_custom:{type:"map",displayText:"Map",value:Object.fromEntries(A),readOnly:!0,fields:{abstract:!0}}}}function oD(A){const B=Array.from(A);return{_custom:{type:"set",displayText:`Set[${B.length}]`,value:B,readOnly:!0}}}function wD(A){const B={},Q=A.getters||{},g=Object.keys(Q);for(let E=0;E<g.length;E++){const C=g[E];Object.defineProperty(B,C,{enumerable:!0,get:()=>{try{return Q[C]}catch(I){return I}}})}return B}function DD(A){if(A.length)return A.reduce((B,Q)=>{const g=Q.type||"data",E=B[g]=B[g]||{};return E[Q.key]=Q.value,B},{})}function sD(A){const B={},Q=A.length;for(let g=0;g<Q;g++){const E=A.item(g);B[E.name]=E.value}return B}function iD(A){return{_custom:{type:"store",displayText:"Store",value:{state:A.state,getters:wD(A)},fields:{abstract:!0}}}}function nD(A){return{_custom:{type:"router",displayText:"VueRouter",value:{options:A.options,currentRoute:A.currentRoute},fields:{abstract:!0}}}}function aD(A){A._&&(A=A._);const B=ED(A);return{_custom:{type:"component",id:A.__VUE_DEVTOOLS_NEXT_UID__,displayText:Uw(A),tooltipText:"Component instance",value:DD(B),fields:{abstract:!0}}}}function rD(A){let B=Rw(A);return B?A.name&&A.__file&&(B+=` <span>(${A.__file})</span>`):B="<i>Unknown Component</i>",{_custom:{type:"component-definition",displayText:B,tooltipText:"Component definition",...A.__file?{file:A.__file}:{}}}}function cD(A){try{return{_custom:{type:"HTMLElement",displayText:`<span class="opacity-30"><</span><span class="text-blue-500">${A.tagName.toLowerCase()}</span><span class="opacity-30">></span>`,value:sD(A.attributes)}}}catch{return{_custom:{type:"HTMLElement",displayText:`<span class="text-blue-500">${String(A)}</span>`}}}}function lD(A){var B,Q,g,E;const C=ZI(A);if(C.ref||C.computed||C.reactive){const I=C.computed?"Computed":C.ref?"Ref":C.reactive?"Reactive":null,e=zI(C.reactive?A:A._value),t=((Q=(B=A.effect)==null?void 0:B.raw)==null?void 0:Q.toString())||((E=(g=A.effect)==null?void 0:g.fn)==null?void 0:E.toString());return{_custom:{type:I?.toLowerCase(),stateTypeName:I,value:e,...t?{tooltipText:`<span class="font-mono">${t}</span>`}:{}}}}if(typeof A.__asyncLoader=="function")return{_custom:{type:"component-definition",display:"Async component definition"}}}function hD(A){var B;if(A==="compilerOptions")return;const Q=this[A],g=typeof Q;if(Array.isArray(Q)){const E=Q.length;return E>EC?{_isArray:!0,length:E,items:Q.slice(0,EC)}:Q}else{if(typeof Q=="string")return Q.length>gC?`${Q.substring(0,gC)}... (${Q.length} total length)`:Q;if(g==="undefined")return eQ;if(Q===Number.POSITIVE_INFINITY)return tQ;if(Q===Number.NEGATIVE_INFINITY)return oQ;if(typeof Q=="function")return CD(Q);if(g==="symbol")return`[native Symbol ${Symbol.prototype.toString.call(Q)}]`;if(typeof Q=="bigint")return ID(Q);if(Q!==null&&typeof Q=="object"){const E=Object.prototype.toString.call(Q);if(E==="[object Map]")return tD(Q);if(E==="[object Set]")return oD(Q);if(E==="[object RegExp]")return`[native RegExp ${RegExp.prototype.toString.call(Q)}]`;if(E==="[object Date]")return eD(Q);if(E==="[object Error]")return`[native Error ${Q.message}<>${Q.stack}]`;if(Q.state&&Q._vm)return iD(Q);if(Q.constructor&&Q.constructor.name==="VueRouter")return nD(Q);if(mw(Q))return aD(Q);if(typeof Q.render=="function")return rD(Q);if(Q.constructor&&Q.constructor.name==="VNode")return`[native VNode <${Q.tag}>]`;if(typeof HTMLElement<"u"&&Q instanceof HTMLElement)return cD(Q);if(((B=Q.constructor)==null?void 0:B.name)==="Store"&&Q._wrappedGetters)return"[object Store]";if(Q.currentRoute)return"[object Router]";const C=lD(Q);if(C!=null)return C}else if(Number.isNaN(Q))return wQ}return Ww(Q)}K();function uD(A){const B=new Set,Q=A._custom.value;for(let g=0;g<Q.length;g++){const E=Q[g];B.add(gg(E))}return B}function MD(A){const B=new Map,Q=A._custom.value;for(let g=0;g<Q.length;g++){const{key:E,value:C}=Q[g];B.set(E,gg(C))}return B}function gg(A){var B;if(A!==eQ){if(A===tQ)return Number.POSITIVE_INFINITY;if(A===oQ)return Number.NEGATIVE_INFINITY;if(A===wQ)return Number.NaN;if(A&&A._custom){const{_custom:Q}=A;return Q.type==="component"?(B=mB.appRecord)==null?void 0:B.instanceMap.get(Q.id):Q.type==="map"?MD(A):Q.type==="set"?uD(A):Q.type==="bigint"?BigInt(Q.value):gg(Q.value)}else if(QC.test(A)){const[,Q]=QC.exec(A);return Symbol.for(Q)}else if(HQ.test(A)){const[,Q,g,,E]=HQ.exec(A),C=new Z[Q](g);return Q==="Error"&&E&&(C.stack=E),C}else return A}}function jI(A,B){return gg(B)}K();var nQ=512*1024;function Ug(A,B,Q,g){let E,C,I,e,t;const o=g.get(A);if(o!=null)return o;const D=Q.length,w=Object.prototype.toString.call(A);if(w==="[object Object]"){E={},g.set(A,D),Q.push(E);const s=Object.keys(A);for(e=0,t=s.length;e<t;e++){C=s[e];try{if(C==="compilerOptions")return;I=A[C],B&&(I=B.call(A,C,I))}catch(i){I=i}E[C]=Ug(I,B,Q,g)}}else if(w==="[object Array]")for(E=[],g.set(A,D),Q.push(E),e=0,t=A.length;e<t;e++){try{I=A[e],B&&(I=B.call(A,e,I))}catch(s){I=s}E[e]=Ug(I,B,Q,g)}else Q.push(A);return D}function pD(A,B=null){let Q=A.length,g,E,C,I,e,t;for(;Q--;)if(C=A[Q],t=Object.prototype.toString.call(C),t==="[object Object]"){const o=Object.keys(C);for(g=0,E=o.length;g<E;g++)I=o[g],e=A[C[I]],B&&(e=B.call(C,I,e)),C[I]=e}else if(t==="[object Array]")for(g=0,E=C.length;g<E;g++)e=A[C[g]],B&&(e=B.call(C,g,e)),C[g]=e}function dD(A,B=null,Q=null){let g;try{g=arguments.length===1?JSON.stringify(A):JSON.stringify(A,B,Q)}catch{g=FD(A,B,Q)}if(g.length>nQ){const E=Math.ceil(g.length/nQ),C=[];for(let I=0;I<E;I++)C.push(g.slice(I*nQ,(I+1)*nQ));return C}return g}function FD(A,B=null,Q=null){const g=[];return Ug(A,B,g,new Map),Q?` ${JSON.stringify(g,null,Q)}`:` ${JSON.stringify(g)}`}function CC(A,B=null){if(Array.isArray(A)&&(A=A.join("")),/^\s/.test(A)){const Q=JSON.parse(A);return pD(Q,B),Q[0]}else return arguments.length===1?JSON.parse(A):JSON.parse(A,B)}K();function WB(A,B=!0){const Q=typeof A;if(A==null||A===eQ||A==="undefined")return"null";if(Q==="boolean"||Q==="number"||A===tQ||A===oQ||A===wQ)return"literal";if(A!=null&&A._custom)return B||A._custom.display!=null||A._custom.displayText!=null?"custom":WB(A._custom.value);if(typeof A=="string"){const g=HQ.exec(A);if(g){const[,E]=g;return`native ${E}`}else return"string"}else return Array.isArray(A)||A!=null&&A._isArray?"array":aE(A)?"plain-object":"unknown"}function VI(A,B=!1){var Q,g;let E;const C=WB(A,!1);if(C!=="custom"&&A!=null&&A._custom&&(A=A._custom.value),E=bw(A))return E;if(C==="custom")return((Q=A._custom.value)==null?void 0:Q._custom)&&VI(A._custom.value)||A._custom.displayText||A._custom.display;if(C==="array")return`Array[${A.length}]`;if(C==="plain-object")return`Object${Object.keys(A).length?"":" (empty)"}`;if(C!=null&&C.includes("native"))return SB((g=HQ.exec(A))==null?void 0:g[2]);if(typeof A=="string"){const I=A.match(Yw);I?A=SB(I[1]):B?A=`<span>"</span>${SB(A)}<span>"</span>`:A=SB(A),A=A.replace(/ /g," ").replace(/\n/g,"<span>\\n</span>")}return A}function rE(A){var B,Q,g;let E;const C=WB(A)==="custom";let I={};if(C){const e=A,t=(B=e._custom)==null?void 0:B.value,o=(Q=e._custom)==null?void 0:Q.type,D=typeof t=="object"&&t!==null&&"_custom"in t?rE(t):{inherit:void 0,value:void 0,customType:void 0};I=D.inherit||((g=e._custom)==null?void 0:g.fields)||{},A=D.value||t,E=D.customType||o}return A&&A._isArray&&(A=A.items),{value:A,inherit:I,customType:E}}function GD(A,B){return B==="bigint"||B==="date"?A:qw(JSON.stringify(A))}function dQ(A,B){return B==="bigint"?BigInt(A):B==="date"?new Date(A):JSON.parse(Tw(A),jI)}function _I(A){return dD(A,hD)}function XB(A,B=!1){return A==null?{}:B?CC(A,jI):CC(A)}K();K();K();K();K();var IC;(IC=Z).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__!=null||(IC.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);K();K();K();var jA="__VUE_DEVTOOLS_GLOBAL_STATE__";function ND(){return{connected:!1,clientConnected:!1,appRecords:[],activeAppRecord:null,selectedComponentId:null,pluginBuffer:[],tabs:[],commands:[],vitePluginDetected:!1,activeAppRecordId:null,highPerfModeEnabled:!1}}var eC;(eC=Z)[jA]!=null||(eC[jA]=ND());var $I=Qg((A,B)=>{IQ.callHook("devtools:state-updated",A,B)},80),Ae=Qg((A,B)=>{IQ.callHook("devtools:connected-updated",A,B)},80),iA=new Proxy(Z[jA],{get(A,B){return Z[jA][B]},deleteProperty(A,B){return delete A[B],!0},set(A,B,Q){const g={...Z[jA]};return A[B]=Q,Z[jA][B]=Q,$I(Z[jA],g),["connected","clientConnected"].includes(B.toString())&&g[B]!==Q&&Ae(Z[jA],g),!0}});Object.defineProperty(iA.tabs,"push",{configurable:!0,value(...A){const B=Array.prototype.push.apply(this,A);return iA.tabs=this,IQ.callHook("custom-tabs:updated",this),B}});["push","splice"].forEach(A=>{Object.defineProperty(iA.commands,A,{configurable:!0,value(...B){const Q=Array.prototype[A].apply(this,B);return iA.commands=this,IQ.callHook("custom-commands:updated",this),Q}})});K();K();var KQ="__VUE_DEVTOOLS_ROUTER__",kB="__VUE_DEVTOOLS_ROUTER_INFO__",tC;(tC=Z)[kB]!=null||(tC[kB]={currentRoute:null,routes:[]});var oC;(oC=Z)[KQ]!=null||(oC[KQ]=null);var LD=new Proxy(Z[kB],{get(A,B){return Z[kB][B]}});K();var pB="__VUE_DEVTOOLS_CONTEXT__";function Be(){return{appRecord:null,api:null,inspector:[],timelineLayer:[],routerInfo:{},router:null,activeInspectorTreeId:"",componentPluginHookBuffer:[]}}var wC;(wC=Z)[pB]!=null||(wC[pB]=Be());function kD(){Z[pB]=Be()}var mB=new Proxy(Z[pB],{get(A,B){return B==="router"?Z[KQ]:B==="clear"?kD:Z[pB][B]},set(A,B,Q){return Z[pB][B]=Q,!0}});new Proxy(iA.appRecords,{get(A,B){if(B==="value")return iA.appRecords;if(B==="active")return iA.activeAppRecord;if(B==="activeId")return iA.activeAppRecordId},set(A,B,Q){var g;const E={...iA};if(B==="value")iA.appRecords=Q;else if(B==="active"){const C=Q;iA.activeAppRecord=C,mB.appRecord=C,mB.api=C.api,mB.inspector=(g=C.inspector)!=null?g:[],yw(Q,iA),mB.routerInfo=LD}else B==="activeId"&&(iA.activeAppRecordId=Q);return $I(iA,E),["connected","clientConnected"].includes(B.toString())&&E[B]!==Q&&Ae(iA,E),!0}});var DC;(DC=Z).__VUE_DEVTOOLS_NEXT_APP_RECROD_INFO__!=null||(DC.__VUE_DEVTOOLS_NEXT_APP_RECROD_INFO__={id:0,appIds:new Set});K();var sC;(sC=Z).__VUE_DEVTOOLS_ENV__!=null||(sC.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});K();K();function fD(A){iA.highPerfModeEnabled=A??!iA.highPerfModeEnabled}let yD="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Qe=(A=21)=>{let B="",Q=A;for(;Q--;)B+=yD[Math.random()*64|0];return B};var HD=Object.defineProperty,ge=(A,B)=>{for(var Q in B)HD(A,Q,{get:B[Q],enumerable:!0})},RD={};ge(RD,{onAddTimelineEvent:()=>De,onCustomCommandsUpdated:()=>gs,onCustomTabsUpdated:()=>Qs,onDevToolsStateUpdated:()=>we,onInspectorStateUpdated:()=>uE,onInspectorTreeUpdated:()=>hE,onRouterInfoUpdated:()=>Es});var UD={};ge(UD,{cancelInspectComponentInspector:()=>JD,checkVueInspectorDetected:()=>KD,editInspectorState:()=>YQ,enableVueInspector:()=>YD,getComponentBoundingRect:()=>mD,getComponentRenderCode:()=>Ie,getDevToolsState:()=>ee,getInspectorState:()=>lE,getInspectorTree:()=>cE,getMatchedRoutes:()=>TD,getRouterInfo:()=>bD,getTimelineLayer:()=>WD,inspectComponentInspector:()=>Ee,navigateAction:()=>qD,openInEditor:()=>SD,scrollToComponent:()=>Ce,toggleApp:()=>PD,toggleComponentInspector:()=>xD,toggleHighPerfMode:()=>XD,unhighlightElement:()=>OD,updateInspectorTreeId:()=>vD});var KD=gA("devtools:check-vue-inspector-detected",async A=>{var B,Q;return!!await((Q=(B=A?.api)==null?void 0:B.getVueInspector)==null?void 0:Q.call(B))}),YD=gA("devtools:enable-vue-inspector",async A=>{var B,Q;const g=await((Q=(B=A?.api)==null?void 0:B.getVueInspector)==null?void 0:Q.call(B));g&&await g.enable()}),PD=gA("devtools:toggle-app",async(A,B)=>{await A.api.toggleApp(B)}),YQ=gA("devtools:edit-inspector-state",(A,B)=>{A.api.editInspectorState(B)}),SD=gA("devtools:open-in-editor",(A,B,Q)=>{A.api.openInEditor({file:B,baseUrl:Q})}),cE=gA("devtools:inspector-tree",async(A,B)=>{const Q=await A.api.getInspectorTree(B);return _I(Q)}),mD=gA("devtools:get-component-bounding-rect",(A,B)=>A.api.getComponentBoundingRect(B)),Ee=gA("devtools:inspect-component-inspector",A=>A.api.inspectComponentInspector()),JD=gA("devtools:cancel-inspect-component-inspector",A=>A.api.cancelInspectComponentInspector()),xD=gA("devtools:toggle-component-inspector",(A,B)=>A.api.toggleComponentInspector(B)),Ce=gA("devtools:scroll-to-component",(A,B)=>A.api.scrollToComponent(B)),Ie=gA("devtools:get-component-render-code",(A,B)=>A.api.getComponentRenderCode(B)),lE=gA("devtools:inspector-state",async(A,B)=>{const Q=await A.api.getInspectorState(B);return _I(Q)}),vD=gA("devtools:update-inspector-tree-id",(A,B)=>{A.context.activeInspectorTreeId=B}),OD=gA("devtools:unhighlight-element",A=>A.api.unhighlightElement()),bD=gA("devtools:router-info",A=>JSON.stringify(A.context.routerInfo)),qD=gA("devtools:router-navigate",(A,B)=>{var Q;(Q=A.context.router)==null||Q.push(B).catch(g=>g)}),TD=gA("devtools:matched-routes",(A,B)=>{var Q,g;const E=console.warn;console.warn=()=>{};const C=(g=(Q=A.context.router)==null?void 0:Q.resolve({path:B||"/"}).matched)!=null?g:[];return console.warn=E,JSON.stringify(C)}),WD=gA("devtools:get-timeline-layer",A=>A.context.timelineLayer),ee=gA("devtools:get-state",A=>{var B,Q;return{connected:A.state.connected,clientConnected:A.state.clientConnected,vueVersion:((Q=(B=A.state)==null?void 0:B.activeAppRecord)==null?void 0:Q.version)||"",tabs:A.state.tabs,commands:A.state.commands,vitePluginDetected:A.state.vitePluginDetected,appRecords:A.state.appRecords.map(g=>({id:g.id,name:g.name,version:g.version,routerId:g.routerId,moduleDetectives:g.moduleDetectives})),activeAppRecordId:A.state.activeAppRecordId}}),XD=gA("devtools:toggle-high-perf-mode",(A,B)=>{fD(B)}),ZD="devtools:bridge-action",zD="devtools:bridge-listener",jD="__vue_devtools_bridge__",VD="__vue_devtools_bridge_target__",_D="devtools:bridge-action-events",$D="devtools:bridge-listener-events",As=Z[_D]=new Map,Bs=Z[$D]=new Map;function te(){return Z[jD]}function oe(){return Z[VD]}function gA(A,B){return async(...Q)=>{if(oe()==="devtools"){const g=te(),E=Qe();return await new Promise(C=>{g.once(E,I=>{C(I)}),g.emit(ZD,{name:A,key:E,args:Q})})}else As.set(A,B)}}function rB(A,B,Q={}){return g=>{if(oe()==="devtools"){const{parser:E="devtools"}=Q,C=E==="devtools"?XB:JSON.parse,I=te(),e=Qe(),t=I.on(e,o=>{g(C(o))});return I.emit(zD,{key:e,name:A,parser:E}),t}else return Bs.set(A,B),()=>{}}}var we=rB("devtools:on-state-updated",(A,B)=>{function Q(E){var C;return{vueVersion:((C=E?.activeAppRecord)==null?void 0:C.version)||"",connected:E.connected,clientConnected:E.clientConnected,tabs:E.tabs,commands:E.commands,vitePluginDetected:E.vitePluginDetected,appRecords:E.appRecords.map(I=>({id:I.id,name:I.name,version:I.version,routerId:I.routerId,moduleDetectives:I.moduleDetectives})),activeAppRecordId:E.activeAppRecordId}}function g(){A.api.on.devtoolsStateUpdated(E=>{B(Q(E))})}if(A!=null&&A.api)g();else{const E=setInterval(()=>{if(A.state.connected){const C=A.state;B(Q(C)),g(),clearInterval(E)}},10)}}),Qs=rB("devtools:on-custom-tabs-updated",(A,B)=>{A.api.on.customTabsUpdated(Q=>{B(Q)})}),gs=rB("devtools:on-custom-commands-updated",(A,B)=>{A.api.on.customCommandsUpdated(Q=>{B(Q)})}),hE=rB("devtools:on-inspector-tree-updated",(A,B)=>{A.api.on.sendInspectorTree(Q=>{B(Q)})}),uE=rB("devtools:on-inspector-state-updated",(A,B)=>{A.api.on.sendInspectorState(Q=>{B(Q)})}),Es=rB("devtools:on-router-info-updated",(A,B)=>{A.api.on.routerInfoUpdated(Q=>{B(Q)})},{parser:"json"}),De=rB("devtools:on-add-timeline-event",(A,B)=>{A.api.on.addTimelineEvent(Q=>{B(Q)})});const Cs={class:"flex gap3"},Is=["onClick"],se=_({__name:"Navbar",setup(A){const{routes:B,currentRoute:Q}=Lo(),g=wE();return(E,C)=>(d(),y("ul",Cs,[(d(!0),y(cA,null,bA(F(B),(I,e)=>(d(),y("li",{key:e,"cursor-pointer":"","hover:op100":"",style:GA({opacity:F(Q).path===I.path?1:.7}),onClick:t=>F(g).push(I.path)},hA(I.name),13,Is))),128))]))}}),es=["top","right","bottom","left"],iC=["start","end"],nC=es.reduce((A,B)=>A.concat(B,B+"-"+iC[0],B+"-"+iC[1]),[]),ZB=Math.min,CB=Math.max,ts={left:"right",right:"left",bottom:"top",top:"bottom"},os={start:"end",end:"start"};function Kg(A,B,Q){return CB(A,ZB(B,Q))}function cB(A,B){return typeof A=="function"?A(B):A}function SA(A){return A.split("-")[0]}function yA(A){return A.split("-")[1]}function ie(A){return A==="x"?"y":"x"}function ME(A){return A==="y"?"height":"width"}function DQ(A){return["top","bottom"].includes(SA(A))?"y":"x"}function pE(A){return ie(DQ(A))}function ne(A,B,Q){Q===void 0&&(Q=!1);const g=yA(A),E=pE(A),C=ME(E);let I=E==="x"?g===(Q?"end":"start")?"right":"left":g==="start"?"bottom":"top";return B.reference[C]>B.floating[C]&&(I=SQ(I)),[I,SQ(I)]}function ws(A){const B=SQ(A);return[PQ(A),B,PQ(B)]}function PQ(A){return A.replace(/start|end/g,B=>os[B])}function Ds(A,B,Q){const g=["left","right"],E=["right","left"],C=["top","bottom"],I=["bottom","top"];switch(A){case"top":case"bottom":return Q?B?E:g:B?g:E;case"left":case"right":return B?C:I;default:return[]}}function ss(A,B,Q,g){const E=yA(A);let C=Ds(SA(A),Q==="start",g);return E&&(C=C.map(I=>I+"-"+E),B&&(C=C.concat(C.map(PQ)))),C}function SQ(A){return A.replace(/left|right|bottom|top/g,B=>ts[B])}function is(A){return{top:0,right:0,bottom:0,left:0,...A}}function ae(A){return typeof A!="number"?is(A):{top:A,right:A,bottom:A,left:A}}function xB(A){return{...A,top:A.y,left:A.x,right:A.x+A.width,bottom:A.y+A.height}}function aC(A,B,Q){let{reference:g,floating:E}=A;const C=DQ(B),I=pE(B),e=ME(I),t=SA(B),o=C==="y",D=g.x+g.width/2-E.width/2,w=g.y+g.height/2-E.height/2,s=g[e]/2-E[e]/2;let i;switch(t){case"top":i={x:D,y:g.y-E.height};break;case"bottom":i={x:D,y:g.y+g.height};break;case"right":i={x:g.x+g.width,y:w};break;case"left":i={x:g.x-E.width,y:w};break;default:i={x:g.x,y:g.y}}switch(yA(B)){case"start":i[I]-=s*(Q&&o?-1:1);break;case"end":i[I]+=s*(Q&&o?-1:1);break}return i}const ns=async(A,B,Q)=>{const{placement:g="bottom",strategy:E="absolute",middleware:C=[],platform:I}=Q,e=C.filter(Boolean),t=await(I.isRTL==null?void 0:I.isRTL(B));let o=await I.getElementRects({reference:A,floating:B,strategy:E}),{x:D,y:w}=aC(o,g,t),s=g,i={},a=0;for(let n=0;n<e.length;n++){const{name:r,fn:l}=e[n],{x:h,y:u,data:M,reset:p}=await l({x:D,y:w,initialPlacement:g,placement:s,strategy:E,middlewareData:i,rects:o,platform:I,elements:{reference:A,floating:B}});if(D=h??D,w=u??w,i={...i,[r]:{...i[r],...M}},p&&a<=50){a++,typeof p=="object"&&(p.placement&&(s=p.placement),p.rects&&(o=p.rects===!0?await I.getElementRects({reference:A,floating:B,strategy:E}):p.rects),{x:D,y:w}=aC(o,s,t)),n=-1;continue}}return{x:D,y:w,placement:s,strategy:E,middlewareData:i}};async function Eg(A,B){var Q;B===void 0&&(B={});const{x:g,y:E,platform:C,rects:I,elements:e,strategy:t}=A,{boundary:o="clippingAncestors",rootBoundary:D="viewport",elementContext:w="floating",altBoundary:s=!1,padding:i=0}=cB(B,A),a=ae(i),n=e[s?w==="floating"?"reference":"floating":w],r=xB(await C.getClippingRect({element:(Q=await(C.isElement==null?void 0:C.isElement(n)))==null||Q?n:n.contextElement||await(C.getDocumentElement==null?void 0:C.getDocumentElement(e.floating)),boundary:o,rootBoundary:D,strategy:t})),l=w==="floating"?{...I.floating,x:g,y:E}:I.reference,h=await(C.getOffsetParent==null?void 0:C.getOffsetParent(e.floating)),u=await(C.isElement==null?void 0:C.isElement(h))?await(C.getScale==null?void 0:C.getScale(h))||{x:1,y:1}:{x:1,y:1},M=xB(C.convertOffsetParentRelativeRectToViewportRelativeRect?await C.convertOffsetParentRelativeRectToViewportRelativeRect({rect:l,offsetParent:h,strategy:t}):l);return{top:(r.top-M.top+a.top)/u.y,bottom:(M.bottom-r.bottom+a.bottom)/u.y,left:(r.left-M.left+a.left)/u.x,right:(M.right-r.right+a.right)/u.x}}const as=A=>({name:"arrow",options:A,async fn(B){const{x:Q,y:g,placement:E,rects:C,platform:I,elements:e}=B,{element:t,padding:o=0}=cB(A,B)||{};if(t==null)return{};const D=ae(o),w={x:Q,y:g},s=pE(E),i=ME(s),a=await I.getDimensions(t),n=s==="y",r=n?"top":"left",l=n?"bottom":"right",h=n?"clientHeight":"clientWidth",u=C.reference[i]+C.reference[s]-w[s]-C.floating[i],M=w[s]-C.reference[s],p=await(I.getOffsetParent==null?void 0:I.getOffsetParent(t));let k=p?p[h]:0;(!k||!await(I.isElement==null?void 0:I.isElement(p)))&&(k=e.floating[h]||C.floating[i]);const v=u/2-M/2,m=k/2-a[i]/2-1,W=ZB(D[r],m),P=ZB(D[l],m),q=W,L=k-a[i]-P,f=k/2-a[i]/2+v,T=Kg(q,f,L),j=yA(E)!=null&&f!=T&&C.reference[i]/2-(f<q?W:P)-a[i]/2<0?f<q?q-f:L-f:0;return{[s]:w[s]-j,data:{[s]:T,centerOffset:f-T+j}}}});function rs(A,B,Q){return(A?[...Q.filter(g=>yA(g)===A),...Q.filter(g=>yA(g)!==A)]:Q.filter(g=>SA(g)===g)).filter(g=>A?yA(g)===A||(B?PQ(g)!==g:!1):!0)}const cs=function(A){return A===void 0&&(A={}),{name:"autoPlacement",options:A,async fn(B){var Q,g,E;const{rects:C,middlewareData:I,placement:e,platform:t,elements:o}=B,{crossAxis:D=!1,alignment:w,allowedPlacements:s=nC,autoAlignment:i=!0,...a}=cB(A,B),n=w!==void 0||s===nC?rs(w||null,i,s):s,r=await Eg(B,a),l=((Q=I.autoPlacement)==null?void 0:Q.index)||0,h=n[l];if(h==null)return{};const u=ne(h,C,await(t.isRTL==null?void 0:t.isRTL(o.floating)));if(e!==h)return{reset:{placement:n[0]}};const M=[r[SA(h)],r[u[0]],r[u[1]]],p=[...((g=I.autoPlacement)==null?void 0:g.overflows)||[],{placement:h,overflows:M}],k=n[l+1];if(k)return{data:{index:l+1,overflows:p},reset:{placement:k}};const v=p.map(W=>{const P=yA(W.placement);return[W.placement,P&&D?W.overflows.slice(0,2).reduce((q,L)=>q+L,0):W.overflows[0],W.overflows]}).sort((W,P)=>W[1]-P[1]),m=((E=v.filter(W=>W[2].slice(0,yA(W[0])?2:3).every(P=>P<=0))[0])==null?void 0:E[0])||v[0][0];return m!==e?{data:{index:l+1,overflows:p},reset:{placement:m}}:{}}}},ls=function(A){return A===void 0&&(A={}),{name:"flip",options:A,async fn(B){var Q;const{placement:g,middlewareData:E,rects:C,initialPlacement:I,platform:e,elements:t}=B,{mainAxis:o=!0,crossAxis:D=!0,fallbackPlacements:w,fallbackStrategy:s="bestFit",fallbackAxisSideDirection:i="none",flipAlignment:a=!0,...n}=cB(A,B),r=SA(g),l=SA(I)===I,h=await(e.isRTL==null?void 0:e.isRTL(t.floating)),u=w||(l||!a?[SQ(I)]:ws(I));!w&&i!=="none"&&u.push(...ss(I,a,i,h));const M=[I,...u],p=await Eg(B,n),k=[];let v=((Q=E.flip)==null?void 0:Q.overflows)||[];if(o&&k.push(p[r]),D){const q=ne(g,C,h);k.push(p[q[0]],p[q[1]])}if(v=[...v,{placement:g,overflows:k}],!k.every(q=>q<=0)){var m,W;const q=(((m=E.flip)==null?void 0:m.index)||0)+1,L=M[q];if(L)return{data:{index:q,overflows:v},reset:{placement:L}};let f=(W=v.filter(T=>T.overflows[0]<=0).sort((T,j)=>T.overflows[1]-j.overflows[1])[0])==null?void 0:W.placement;if(!f)switch(s){case"bestFit":{var P;const T=(P=v.map(j=>[j.placement,j.overflows.filter(H=>H>0).reduce((H,EA)=>H+EA,0)]).sort((j,H)=>j[1]-H[1])[0])==null?void 0:P[0];T&&(f=T);break}case"initialPlacement":f=I;break}if(g!==f)return{reset:{placement:f}}}return{}}}};async function hs(A,B){const{placement:Q,platform:g,elements:E}=A,C=await(g.isRTL==null?void 0:g.isRTL(E.floating)),I=SA(Q),e=yA(Q),t=DQ(Q)==="y",o=["left","top"].includes(I)?-1:1,D=C&&t?-1:1,w=cB(B,A);let{mainAxis:s,crossAxis:i,alignmentAxis:a}=typeof w=="number"?{mainAxis:w,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...w};return e&&typeof a=="number"&&(i=e==="end"?a*-1:a),t?{x:i*D,y:s*o}:{x:s*o,y:i*D}}const us=function(A){return A===void 0&&(A=0),{name:"offset",options:A,async fn(B){const{x:Q,y:g}=B,E=await hs(B,A);return{x:Q+E.x,y:g+E.y,data:E}}}},Ms=function(A){return A===void 0&&(A={}),{name:"shift",options:A,async fn(B){const{x:Q,y:g,placement:E}=B,{mainAxis:C=!0,crossAxis:I=!1,limiter:e={fn:r=>{let{x:l,y:h}=r;return{x:l,y:h}}},...t}=cB(A,B),o={x:Q,y:g},D=await Eg(B,t),w=DQ(SA(E)),s=ie(w);let i=o[s],a=o[w];if(C){const r=s==="y"?"top":"left",l=s==="y"?"bottom":"right",h=i+D[r],u=i-D[l];i=Kg(h,i,u)}if(I){const r=w==="y"?"top":"left",l=w==="y"?"bottom":"right",h=a+D[r],u=a-D[l];a=Kg(h,a,u)}const n=e.fn({...B,[s]:i,[w]:a});return{...n,data:{x:n.x-Q,y:n.y-g}}}}},ps=function(A){return A===void 0&&(A={}),{name:"size",options:A,async fn(B){const{placement:Q,rects:g,platform:E,elements:C}=B,{apply:I=()=>{},...e}=cB(A,B),t=await Eg(B,e),o=SA(Q),D=yA(Q),w=DQ(Q)==="y",{width:s,height:i}=g.floating;let a,n;o==="top"||o==="bottom"?(a=o,n=D===(await(E.isRTL==null?void 0:E.isRTL(C.floating))?"start":"end")?"left":"right"):(n=o,a=D==="end"?"top":"bottom");const r=i-t[a],l=s-t[n],h=!B.middlewareData.shift;let u=r,M=l;if(w){const k=s-t.left-t.right;M=D||h?ZB(l,k):k}else{const k=i-t.top-t.bottom;u=D||h?ZB(r,k):k}if(h&&!D){const k=CB(t.left,0),v=CB(t.right,0),m=CB(t.top,0),W=CB(t.bottom,0);w?M=s-2*(k!==0||v!==0?k+v:CB(t.left,t.right)):u=i-2*(m!==0||W!==0?m+W:CB(t.top,t.bottom))}await I({...B,availableWidth:M,availableHeight:u});const p=await E.getDimensions(C.floating);return s!==p.width||i!==p.height?{reset:{rects:!0}}:{}}}};function FA(A){var B;return((B=A.ownerDocument)==null?void 0:B.defaultView)||window}function UA(A){return FA(A).getComputedStyle(A)}const rC=Math.min,vB=Math.max,mQ=Math.round;function re(A){const B=UA(A);let Q=parseFloat(B.width),g=parseFloat(B.height);const E=A.offsetWidth,C=A.offsetHeight,I=mQ(Q)!==E||mQ(g)!==C;return I&&(Q=E,g=C),{width:Q,height:g,fallback:I}}function AB(A){return le(A)?(A.nodeName||"").toLowerCase():""}let aQ;function ce(){if(aQ)return aQ;const A=navigator.userAgentData;return A&&Array.isArray(A.brands)?(aQ=A.brands.map(B=>B.brand+"/"+B.version).join(" "),aQ):navigator.userAgent}function KA(A){return A instanceof FA(A).HTMLElement}function _A(A){return A instanceof FA(A).Element}function le(A){return A instanceof FA(A).Node}function cC(A){return typeof ShadowRoot>"u"?!1:A instanceof FA(A).ShadowRoot||A instanceof ShadowRoot}function Cg(A){const{overflow:B,overflowX:Q,overflowY:g,display:E}=UA(A);return/auto|scroll|overlay|hidden|clip/.test(B+g+Q)&&!["inline","contents"].includes(E)}function ds(A){return["table","td","th"].includes(AB(A))}function Yg(A){const B=/firefox/i.test(ce()),Q=UA(A),g=Q.backdropFilter||Q.WebkitBackdropFilter;return Q.transform!=="none"||Q.perspective!=="none"||!!g&&g!=="none"||B&&Q.willChange==="filter"||B&&!!Q.filter&&Q.filter!=="none"||["transform","perspective"].some(E=>Q.willChange.includes(E))||["paint","layout","strict","content"].some(E=>{const C=Q.contain;return C!=null&&C.includes(E)})}function he(){return!/^((?!chrome|android).)*safari/i.test(ce())}function dE(A){return["html","body","#document"].includes(AB(A))}function ue(A){return _A(A)?A:A.contextElement}const Me={x:1,y:1};function dB(A){const B=ue(A);if(!KA(B))return Me;const Q=B.getBoundingClientRect(),{width:g,height:E,fallback:C}=re(B);let I=(C?mQ(Q.width):Q.width)/g,e=(C?mQ(Q.height):Q.height)/E;return I&&Number.isFinite(I)||(I=1),e&&Number.isFinite(e)||(e=1),{x:I,y:e}}function zB(A,B,Q,g){var E,C;B===void 0&&(B=!1),Q===void 0&&(Q=!1);const I=A.getBoundingClientRect(),e=ue(A);let t=Me;B&&(g?_A(g)&&(t=dB(g)):t=dB(A));const o=e?FA(e):window,D=!he()&&Q;let w=(I.left+(D&&((E=o.visualViewport)==null?void 0:E.offsetLeft)||0))/t.x,s=(I.top+(D&&((C=o.visualViewport)==null?void 0:C.offsetTop)||0))/t.y,i=I.width/t.x,a=I.height/t.y;if(e){const n=FA(e),r=g&&_A(g)?FA(g):g;let l=n.frameElement;for(;l&&g&&r!==n;){const h=dB(l),u=l.getBoundingClientRect(),M=getComputedStyle(l);u.x+=(l.clientLeft+parseFloat(M.paddingLeft))*h.x,u.y+=(l.clientTop+parseFloat(M.paddingTop))*h.y,w*=h.x,s*=h.y,i*=h.x,a*=h.y,w+=u.x,s+=u.y,l=FA(l).frameElement}}return{width:i,height:a,top:s,right:w+i,bottom:s+a,left:w,x:w,y:s}}function $A(A){return((le(A)?A.ownerDocument:A.document)||window.document).documentElement}function Ig(A){return _A(A)?{scrollLeft:A.scrollLeft,scrollTop:A.scrollTop}:{scrollLeft:A.pageXOffset,scrollTop:A.pageYOffset}}function pe(A){return zB($A(A)).left+Ig(A).scrollLeft}function jB(A){if(AB(A)==="html")return A;const B=A.assignedSlot||A.parentNode||cC(A)&&A.host||$A(A);return cC(B)?B.host:B}function de(A){const B=jB(A);return dE(B)?B.ownerDocument.body:KA(B)&&Cg(B)?B:de(B)}function JQ(A,B){var Q;B===void 0&&(B=[]);const g=de(A),E=g===((Q=A.ownerDocument)==null?void 0:Q.body),C=FA(g);return E?B.concat(C,C.visualViewport||[],Cg(g)?g:[]):B.concat(g,JQ(g))}function lC(A,B,Q){return B==="viewport"?xB(function(g,E){const C=FA(g),I=$A(g),e=C.visualViewport;let t=I.clientWidth,o=I.clientHeight,D=0,w=0;if(e){t=e.width,o=e.height;const s=he();(s||!s&&E==="fixed")&&(D=e.offsetLeft,w=e.offsetTop)}return{width:t,height:o,x:D,y:w}}(A,Q)):_A(B)?xB(function(g,E){const C=zB(g,!0,E==="fixed"),I=C.top+g.clientTop,e=C.left+g.clientLeft,t=KA(g)?dB(g):{x:1,y:1};return{width:g.clientWidth*t.x,height:g.clientHeight*t.y,x:e*t.x,y:I*t.y}}(B,Q)):xB(function(g){const E=$A(g),C=Ig(g),I=g.ownerDocument.body,e=vB(E.scrollWidth,E.clientWidth,I.scrollWidth,I.clientWidth),t=vB(E.scrollHeight,E.clientHeight,I.scrollHeight,I.clientHeight);let o=-C.scrollLeft+pe(g);const D=-C.scrollTop;return UA(I).direction==="rtl"&&(o+=vB(E.clientWidth,I.clientWidth)-e),{width:e,height:t,x:o,y:D}}($A(A)))}function hC(A){return KA(A)&&UA(A).position!=="fixed"?A.offsetParent:null}function uC(A){const B=FA(A);let Q=hC(A);for(;Q&&ds(Q)&&UA(Q).position==="static";)Q=hC(Q);return Q&&(AB(Q)==="html"||AB(Q)==="body"&&UA(Q).position==="static"&&!Yg(Q))?B:Q||function(g){let E=jB(g);for(;KA(E)&&!dE(E);){if(Yg(E))return E;E=jB(E)}return null}(A)||B}function Fs(A,B,Q){const g=KA(B),E=$A(B),C=zB(A,!0,Q==="fixed",B);let I={scrollLeft:0,scrollTop:0};const e={x:0,y:0};if(g||!g&&Q!=="fixed")if((AB(B)!=="body"||Cg(E))&&(I=Ig(B)),KA(B)){const t=zB(B,!0);e.x=t.x+B.clientLeft,e.y=t.y+B.clientTop}else E&&(e.x=pe(E));return{x:C.left+I.scrollLeft-e.x,y:C.top+I.scrollTop-e.y,width:C.width,height:C.height}}const Gs={getClippingRect:function(A){let{element:B,boundary:Q,rootBoundary:g,strategy:E}=A;const C=Q==="clippingAncestors"?function(o,D){const w=D.get(o);if(w)return w;let s=JQ(o).filter(r=>_A(r)&&AB(r)!=="body"),i=null;const a=UA(o).position==="fixed";let n=a?jB(o):o;for(;_A(n)&&!dE(n);){const r=UA(n),l=Yg(n);(a?l||i:l||r.position!=="static"||!i||!["absolute","fixed"].includes(i.position))?i=r:s=s.filter(h=>h!==n),n=jB(n)}return D.set(o,s),s}(B,this._c):[].concat(Q),I=[...C,g],e=I[0],t=I.reduce((o,D)=>{const w=lC(B,D,E);return o.top=vB(w.top,o.top),o.right=rC(w.right,o.right),o.bottom=rC(w.bottom,o.bottom),o.left=vB(w.left,o.left),o},lC(B,e,E));return{width:t.right-t.left,height:t.bottom-t.top,x:t.left,y:t.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(A){let{rect:B,offsetParent:Q,strategy:g}=A;const E=KA(Q),C=$A(Q);if(Q===C)return B;let I={scrollLeft:0,scrollTop:0},e={x:1,y:1};const t={x:0,y:0};if((E||!E&&g!=="fixed")&&((AB(Q)!=="body"||Cg(C))&&(I=Ig(Q)),KA(Q))){const o=zB(Q);e=dB(Q),t.x=o.x+Q.clientLeft,t.y=o.y+Q.clientTop}return{width:B.width*e.x,height:B.height*e.y,x:B.x*e.x-I.scrollLeft*e.x+t.x,y:B.y*e.y-I.scrollTop*e.y+t.y}},isElement:_A,getDimensions:function(A){return KA(A)?re(A):A.getBoundingClientRect()},getOffsetParent:uC,getDocumentElement:$A,getScale:dB,async getElementRects(A){let{reference:B,floating:Q,strategy:g}=A;const E=this.getOffsetParent||uC,C=this.getDimensions;return{reference:Fs(B,await E(Q),g),floating:{x:0,y:0,...await C(Q)}}},getClientRects:A=>Array.from(A.getClientRects()),isRTL:A=>UA(A).direction==="rtl"},Ns=(A,B,Q)=>{const g=new Map,E={platform:Gs,...Q},C={...E.platform,_c:g};return ns(A,B,{...E,platform:C})},wB={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:A=>[...A,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function VB(A,B){let Q=wB.themes[A]||{},g;do g=Q[B],typeof g>"u"?Q.$extend?Q=wB.themes[Q.$extend]||{}:(Q=null,g=wB[B]):Q=null;while(Q);return g}function Ls(A){const B=[A];let Q=wB.themes[A]||{};do Q.$extend&&!Q.$resetCss?(B.push(Q.$extend),Q=wB.themes[Q.$extend]||{}):Q=null;while(Q);return B.map(g=>`v-popper--theme-${g}`)}function MC(A){const B=[A];let Q=wB.themes[A]||{};do Q.$extend?(B.push(Q.$extend),Q=wB.themes[Q.$extend]||{}):Q=null;while(Q);return B}let fB=!1;if(typeof window<"u"){fB=!1;try{const A=Object.defineProperty({},"passive",{get(){fB=!0}});window.addEventListener("test",null,A)}catch{}}let Fe=!1;typeof window<"u"&&typeof navigator<"u"&&(Fe=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Ge=["auto","top","bottom","left","right"].reduce((A,B)=>A.concat([B,`${B}-start`,`${B}-end`]),[]),pC={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},dC={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function FC(A,B){const Q=A.indexOf(B);Q!==-1&&A.splice(Q,1)}function lg(){return new Promise(A=>requestAnimationFrame(()=>{requestAnimationFrame(A)}))}const kA=[];let EB=null;const GC={};function NC(A){let B=GC[A];return B||(B=GC[A]=[]),B}let Pg=function(){};typeof window<"u"&&(Pg=window.Element);function X(A){return function(B){return VB(B.theme,A)}}const hg="__floating-vue__popper",Ne=()=>_({name:"VPopper",provide(){return{[hg]:{parentPopper:this}}},inject:{[hg]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:X("disabled")},positioningDisabled:{type:Boolean,default:X("positioningDisabled")},placement:{type:String,default:X("placement"),validator:A=>Ge.includes(A)},delay:{type:[String,Number,Object],default:X("delay")},distance:{type:[Number,String],default:X("distance")},skidding:{type:[Number,String],default:X("skidding")},triggers:{type:Array,default:X("triggers")},showTriggers:{type:[Array,Function],default:X("showTriggers")},hideTriggers:{type:[Array,Function],default:X("hideTriggers")},popperTriggers:{type:Array,default:X("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:X("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:X("popperHideTriggers")},container:{type:[String,Object,Pg,Boolean],default:X("container")},boundary:{type:[String,Pg],default:X("boundary")},strategy:{type:String,validator:A=>["absolute","fixed"].includes(A),default:X("strategy")},autoHide:{type:[Boolean,Function],default:X("autoHide")},handleResize:{type:Boolean,default:X("handleResize")},instantMove:{type:Boolean,default:X("instantMove")},eagerMount:{type:Boolean,default:X("eagerMount")},popperClass:{type:[String,Array,Object],default:X("popperClass")},computeTransformOrigin:{type:Boolean,default:X("computeTransformOrigin")},autoMinSize:{type:Boolean,default:X("autoMinSize")},autoSize:{type:[Boolean,String],default:X("autoSize")},autoMaxSize:{type:Boolean,default:X("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:X("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:X("preventOverflow")},overflowPadding:{type:[Number,String],default:X("overflowPadding")},arrowPadding:{type:[Number,String],default:X("arrowPadding")},arrowOverflow:{type:Boolean,default:X("arrowOverflow")},flip:{type:Boolean,default:X("flip")},shift:{type:Boolean,default:X("shift")},shiftCrossAxis:{type:Boolean,default:X("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:X("noAutoFocus")},disposeTimeout:{type:Number,default:X("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":A=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(A=>A.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var A;return(A=this[hg])==null?void 0:A.parentPopper},hasPopperShowTriggerHover(){var A,B;return((A=this.popperTriggers)==null?void 0:A.includes("hover"))||((B=this.popperShowTriggers)==null?void 0:B.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(A){A?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((A,B)=>(A[B]="$_computePosition",A),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:A=null,skipDelay:B=!1,force:Q=!1}={}){var g,E;(g=this.parentPopper)!=null&&g.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(Q||!this.disabled)&&(((E=this.parentPopper)==null?void 0:E.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(A,B),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:A=null,skipDelay:B=!1}={}){var Q;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:B}),this.parentPopper.lockedChild=null)},1e3));return}((Q=this.parentPopper)==null?void 0:Q.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(A,B),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var A;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((A=this.referenceNode)==null?void 0:A.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(B=>B.nodeType===B.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const A={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&A.middleware.push(us({mainAxis:this.distance,crossAxis:this.skidding}));const B=this.placement.startsWith("auto");if(B?A.middleware.push(cs({alignment:this.placement.split("-")[1]??""})):A.placement=this.placement,this.preventOverflow&&(this.shift&&A.middleware.push(Ms({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!B&&this.flip&&A.middleware.push(ls({padding:this.overflowPadding,boundary:this.boundary}))),A.middleware.push(as({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&A.middleware.push({name:"arrowOverflow",fn:({placement:g,rects:E,middlewareData:C})=>{let I;const{centerOffset:e}=C.arrow;return g.startsWith("top")||g.startsWith("bottom")?I=Math.abs(e)>E.reference.width/2:I=Math.abs(e)>E.reference.height/2,{data:{overflow:I}}}}),this.autoMinSize||this.autoSize){const g=this.autoSize?this.autoSize:this.autoMinSize?"min":null;A.middleware.push({name:"autoSize",fn:({rects:E,placement:C,middlewareData:I})=>{var e;if((e=I.autoSize)!=null&&e.skip)return{};let t,o;return C.startsWith("top")||C.startsWith("bottom")?t=E.reference.width:o=E.reference.height,this.$_innerNode.style[g==="min"?"minWidth":g==="max"?"maxWidth":"width"]=t!=null?`${t}px`:null,this.$_innerNode.style[g==="min"?"minHeight":g==="max"?"maxHeight":"height"]=o!=null?`${o}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,A.middleware.push(ps({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:g,availableHeight:E})=>{this.$_innerNode.style.maxWidth=g!=null?`${g}px`:null,this.$_innerNode.style.maxHeight=E!=null?`${E}px`:null}})));const Q=await Ns(this.$_referenceNode,this.$_popperNode,A);Object.assign(this.result,{x:Q.x,y:Q.y,placement:Q.placement,strategy:Q.strategy,arrow:{...Q.middlewareData.arrow,...Q.middlewareData.arrowOverflow}})},$_scheduleShow(A,B=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),EB&&this.instantMove&&EB.instantMove&&EB!==this.parentPopper){EB.$_applyHide(!0),this.$_applyShow(!0);return}B?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(A,B=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(EB=this),B?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(A){const B=this.delay;return parseInt(B&&B[A]||B||0)},async $_applyShow(A=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=A,!this.isShown&&(this.$_ensureTeleport(),await lg(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...JQ(this.$_referenceNode),...JQ(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const B=this.$_referenceNode.getBoundingClientRect(),Q=this.$_popperNode.querySelector(".v-popper__wrapper"),g=Q.parentNode.getBoundingClientRect(),E=B.x+B.width/2-(g.left+Q.offsetLeft),C=B.y+B.height/2-(g.top+Q.offsetTop);this.result.transformOrigin=`${E}px ${C}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const A=this.showGroup;if(A){let B;for(let Q=0;Q<kA.length;Q++)B=kA[Q],B.showGroup!==A&&(B.hide(),B.$emit("close-group"))}kA.push(this),document.body.classList.add("v-popper--some-open");for(const B of MC(this.theme))NC(B).push(this),document.body.classList.add(`v-popper--some-open--${B}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await lg(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(A=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=A,FC(kA,this),kA.length===0&&document.body.classList.remove("v-popper--some-open");for(const Q of MC(this.theme)){const g=NC(Q);FC(g,this),g.length===0&&document.body.classList.remove(`v-popper--some-open--${Q}`)}EB===this&&(EB=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const B=this.disposeTimeout;B!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},B)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await lg(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let A=this.container;if(typeof A=="string"?A=window.document.querySelector(A):A===!1&&(A=this.$_targetNodes[0].parentNode),!A)throw new Error("No container for popover: "+this.container);A.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const A=Q=>{this.isShown&&!this.$_hideInProgress||(Q.usedByTooltip=!0,!this.$_preventShow&&this.show({event:Q}))};this.$_registerTriggerListeners(this.$_targetNodes,pC,this.triggers,this.showTriggers,A),this.$_registerTriggerListeners([this.$_popperNode],pC,this.popperTriggers,this.popperShowTriggers,A);const B=Q=>{Q.usedByTooltip||this.hide({event:Q})};this.$_registerTriggerListeners(this.$_targetNodes,dC,this.triggers,this.hideTriggers,B),this.$_registerTriggerListeners([this.$_popperNode],dC,this.popperTriggers,this.popperHideTriggers,B)},$_registerEventListeners(A,B,Q){this.$_events.push({targetNodes:A,eventType:B,handler:Q}),A.forEach(g=>g.addEventListener(B,Q,fB?{passive:!0}:void 0))},$_registerTriggerListeners(A,B,Q,g,E){let C=Q;g!=null&&(C=typeof g=="function"?g(C):g),C.forEach(I=>{const e=B[I];e&&this.$_registerEventListeners(A,e,E)})},$_removeEventListeners(A){const B=[];this.$_events.forEach(Q=>{const{targetNodes:g,eventType:E,handler:C}=Q;!A||A===E?g.forEach(I=>I.removeEventListener(E,C)):B.push(Q)}),this.$_events=B},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(A,B=!1){this.$_showFrameLocked||(this.hide({event:A}),A.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),B&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(A,B){for(const Q of this.$_targetNodes){const g=Q.getAttribute(A);g&&(Q.removeAttribute(A),Q.setAttribute(B,g))}},$_applyAttrsToTarget(A){for(const B of this.$_targetNodes)for(const Q in A){const g=A[Q];g==null?B.removeAttribute(Q):B.setAttribute(Q,g)}},$_updateParentShownChildren(A){let B=this.parentPopper;for(;B;)A?B.shownChildren.add(this.randomId):(B.shownChildren.delete(this.randomId),B.pendingHide&&B.hide()),B=B.parentPopper},$_isAimingPopper(){const A=this.$_referenceNode.getBoundingClientRect();if(OB>=A.left&&OB<=A.right&&bB>=A.top&&bB<=A.bottom){const B=this.$_popperNode.getBoundingClientRect(),Q=OB-ZA,g=bB-zA,E=B.left+B.width/2-ZA+(B.top+B.height/2)-zA+B.width+B.height,C=ZA+Q*E,I=zA+g*E;return rQ(ZA,zA,C,I,B.left,B.top,B.left,B.bottom)||rQ(ZA,zA,C,I,B.left,B.top,B.right,B.top)||rQ(ZA,zA,C,I,B.right,B.top,B.right,B.bottom)||rQ(ZA,zA,C,I,B.left,B.bottom,B.right,B.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(Fe){const A=fB?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",B=>LC(B),A),document.addEventListener("touchend",B=>kC(B,!0),A)}else window.addEventListener("mousedown",A=>LC(A),!0),window.addEventListener("click",A=>kC(A,!1),!0);window.addEventListener("resize",ys)}function LC(A,B){for(let Q=0;Q<kA.length;Q++){const g=kA[Q];try{g.mouseDownContains=g.popperNode().contains(A.target)}catch{}}}function kC(A,B){ks(A,B)}function ks(A,B){const Q={};for(let g=kA.length-1;g>=0;g--){const E=kA[g];try{const C=E.containsGlobalTarget=E.mouseDownContains||E.popperNode().contains(A.target);E.pendingHide=!1,requestAnimationFrame(()=>{if(E.pendingHide=!1,!Q[E.randomId]&&fC(E,C,A)){if(E.$_handleGlobalClose(A,B),!A.closeAllPopover&&A.closePopover&&C){let e=E.parentPopper;for(;e;)Q[e.randomId]=!0,e=e.parentPopper;return}let I=E.parentPopper;for(;I&&fC(I,I.containsGlobalTarget,A);)I.$_handleGlobalClose(A,B),I=I.parentPopper}})}catch{}}}function fC(A,B,Q){return Q.closeAllPopover||Q.closePopover&&B||fs(A,Q)&&!B}function fs(A,B){if(typeof A.autoHide=="function"){const Q=A.autoHide(B);return A.lastAutoHide=Q,Q}return A.autoHide}function ys(){for(let A=0;A<kA.length;A++)kA[A].$_computePosition()}let ZA=0,zA=0,OB=0,bB=0;typeof window<"u"&&window.addEventListener("mousemove",A=>{ZA=OB,zA=bB,OB=A.clientX,bB=A.clientY},fB?{passive:!0}:void 0);function rQ(A,B,Q,g,E,C,I,e){const t=((I-E)*(B-C)-(e-C)*(A-E))/((e-C)*(Q-A)-(I-E)*(g-B)),o=((Q-A)*(B-C)-(g-B)*(A-E))/((e-C)*(Q-A)-(I-E)*(g-B));return t>=0&&t<=1&&o>=0&&o<=1}const Hs={extends:Ne()},eg=(A,B)=>{const Q=A.__vccOpts||A;for(const[g,E]of B)Q[g]=E;return Q};function Rs(A,B,Q,g,E,C){return d(),y("div",{ref:"reference",class:QA(["v-popper",{"v-popper--shown":A.slotData.isShown}])},[eA(A.$slots,"default",YI(PI(A.slotData)))],2)}const Us=eg(Hs,[["render",Rs]]);function Ks(){var A=window.navigator.userAgent,B=A.indexOf("MSIE ");if(B>0)return parseInt(A.substring(B+5,A.indexOf(".",B)),10);var Q=A.indexOf("Trident/");if(Q>0){var g=A.indexOf("rv:");return parseInt(A.substring(g+3,A.indexOf(".",g)),10)}var E=A.indexOf("Edge/");return E>0?parseInt(A.substring(E+5,A.indexOf(".",E)),10):-1}let FQ;function Sg(){Sg.init||(Sg.init=!0,FQ=Ks()!==-1)}var tg={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Sg(),BB(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const A=document.createElement("object");this._resizeObject=A,A.setAttribute("aria-hidden","true"),A.setAttribute("tabindex",-1),A.onload=this.addResizeHandlers,A.type="text/html",FQ&&this.$el.appendChild(A),A.data="about:blank",FQ||this.$el.appendChild(A)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!FQ&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Ys=KI();_Q("data-v-b329ee4c");const Ps={class:"resize-observer",tabindex:"-1"};$Q();const Ss=Ys((A,B,Q,g,E,C)=>(d(),V("div",Ps)));tg.render=Ss;tg.__scopeId="data-v-b329ee4c";tg.__file="src/components/ResizeObserver.vue";const Le=(A="theme")=>({computed:{themeClass(){return Ls(this[A])}}}),ms=_({name:"VPopperContent",components:{ResizeObserver:tg},mixins:[Le()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(A){return A!=null&&!isNaN(A)?`${A}px`:null}}}),Js=["id","aria-hidden","tabindex","data-popper-placement"],xs={ref:"inner",class:"v-popper__inner"},vs=N("div",{class:"v-popper__arrow-outer"},null,-1),Os=N("div",{class:"v-popper__arrow-inner"},null,-1),bs=[vs,Os];function qs(A,B,Q,g,E,C){const I=NB("ResizeObserver");return d(),y("div",{id:A.popperId,ref:"popover",class:QA(["v-popper__popper",[A.themeClass,A.classes.popperClass,{"v-popper__popper--shown":A.shown,"v-popper__popper--hidden":!A.shown,"v-popper__popper--show-from":A.classes.showFrom,"v-popper__popper--show-to":A.classes.showTo,"v-popper__popper--hide-from":A.classes.hideFrom,"v-popper__popper--hide-to":A.classes.hideTo,"v-popper__popper--skip-transition":A.skipTransition,"v-popper__popper--arrow-overflow":A.result&&A.result.arrow.overflow,"v-popper__popper--no-positioning":!A.result}]]),style:GA(A.result?{position:A.result.strategy,transform:`translate3d(${Math.round(A.result.x)}px,${Math.round(A.result.y)}px,0)`}:void 0),"aria-hidden":A.shown?"false":"true",tabindex:A.autoHide?0:void 0,"data-popper-placement":A.result?A.result.placement:void 0,onKeyup:B[2]||(B[2]=Bo(e=>A.autoHide&&A.$emit("hide"),["esc"]))},[N("div",{class:"v-popper__backdrop",onClick:B[0]||(B[0]=e=>A.autoHide&&A.$emit("hide"))}),N("div",{class:"v-popper__wrapper",style:GA(A.result?{transformOrigin:A.result.transformOrigin}:void 0)},[N("div",xs,[A.mounted?(d(),y(cA,{key:0},[N("div",null,[eA(A.$slots,"default")]),A.handleResize?(d(),V(I,{key:0,onNotify:B[1]||(B[1]=e=>A.$emit("resize",e))})):BA("",!0)],64)):BA("",!0)],512),N("div",{ref:"arrow",class:"v-popper__arrow-container",style:GA(A.result?{left:A.toPx(A.result.arrow.x),top:A.toPx(A.result.arrow.y)}:void 0)},bs,4)],4)],46,Js)}const ke=eg(ms,[["render",qs]]),fe={methods:{show(...A){return this.$refs.popper.show(...A)},hide(...A){return this.$refs.popper.hide(...A)},dispose(...A){return this.$refs.popper.dispose(...A)},onResize(...A){return this.$refs.popper.onResize(...A)}}};let mg=function(){};typeof window<"u"&&(mg=window.Element);const Ts=_({name:"VPopperWrapper",components:{Popper:Us,PopperContent:ke},mixins:[fe,Le("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,mg,Boolean],default:void 0},boundary:{type:[String,mg],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":A=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(A=>A!==this.$refs.popperContent.$el)}}});function Ws(A,B,Q,g,E,C){const I=NB("PopperContent"),e=NB("Popper");return d(),V(e,dA({ref:"popper"},A.$props,{theme:A.finalTheme,"target-nodes":A.getTargetNodes,"popper-node":()=>A.$refs.popperContent.$el,class:[A.themeClass],onShow:B[0]||(B[0]=()=>A.$emit("show")),onHide:B[1]||(B[1]=()=>A.$emit("hide")),"onUpdate:shown":B[2]||(B[2]=t=>A.$emit("update:shown",t)),onApplyShow:B[3]||(B[3]=()=>A.$emit("apply-show")),onApplyHide:B[4]||(B[4]=()=>A.$emit("apply-hide")),onCloseGroup:B[5]||(B[5]=()=>A.$emit("close-group")),onCloseDirective:B[6]||(B[6]=()=>A.$emit("close-directive")),onAutoHide:B[7]||(B[7]=()=>A.$emit("auto-hide")),onResize:B[8]||(B[8]=()=>A.$emit("resize"))}),{default:b(({popperId:t,isShown:o,shouldMountContent:D,skipTransition:w,autoHide:s,show:i,hide:a,handleResize:n,onResize:r,classes:l,result:h})=>[eA(A.$slots,"default",{shown:o,show:i,hide:a}),Y(I,{ref:"popperContent","popper-id":t,theme:A.finalTheme,shown:o,mounted:D,"skip-transition":w,"auto-hide":s,"handle-resize":n,classes:l,result:h,onHide:a,onResize:r},{default:b(()=>[eA(A.$slots,"popper",{shown:o,hide:a})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const FE=eg(Ts,[["render",Ws]]),Xs={...FE,name:"VDropdown",vPopperTheme:"dropdown"};({...FE});({...FE});const Zs=_({name:"VTooltipDirective",components:{Popper:Ne(),PopperContent:ke},mixins:[fe],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:A=>VB(A.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:A=>VB(A.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(A){if(typeof this.content=="function"&&this.$_isShown&&(A||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const B=++this.$_fetchId,Q=this.content(this);Q.then?Q.then(g=>this.onResult(B,g)):this.onResult(B,Q)}},onResult(A,B){A===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=B)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),zs=["innerHTML"],js=["textContent"];function Vs(A,B,Q,g,E,C){const I=NB("PopperContent"),e=NB("Popper");return d(),V(e,dA({ref:"popper"},A.$attrs,{theme:A.theme,"target-nodes":A.targetNodes,"popper-node":()=>A.$refs.popperContent.$el,onApplyShow:A.onShow,onApplyHide:A.onHide}),{default:b(({popperId:t,isShown:o,shouldMountContent:D,skipTransition:w,autoHide:s,hide:i,handleResize:a,onResize:n,classes:r,result:l})=>[Y(I,{ref:"popperContent",class:QA({"v-popper--tooltip-loading":A.loading}),"popper-id":t,theme:A.theme,shown:o,mounted:D,"skip-transition":w,"auto-hide":s,"handle-resize":a,classes:r,result:l,onHide:i,onResize:n},{default:b(()=>[A.html?(d(),y("div",{key:0,innerHTML:A.finalContent},null,8,zs)):(d(),y("div",{key:1,textContent:hA(A.finalContent)},null,8,js))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const _s=eg(Zs,[["render",Vs]]),ye="v-popper--has-tooltip";function $s(A,B){let Q=A.placement;if(!Q&&B)for(const g of Ge)B[g]&&(Q=g);return Q||(Q=VB(A.theme||"tooltip","placement")),Q}function He(A,B,Q){let g;const E=typeof B;return E==="string"?g={content:B}:B&&E==="object"?g=B:g={content:!1},g.placement=$s(g,Q),g.targetNodes=()=>[A],g.referenceNode=()=>A,g}let ug,_B,Ai=0;function Bi(){if(ug)return;_B=S([]),ug=Do({name:"VTooltipDirectiveApp",setup(){return{directives:_B}},render(){return this.directives.map(B=>CE(_s,{...B.options,shown:B.shown||B.options.shown,key:B.id}))},devtools:{hide:!0}});const A=document.createElement("div");document.body.appendChild(A),ug.mount(A)}function Qi(A,B,Q){Bi();const g=S(He(A,B,Q)),E=S(!1),C={id:Ai++,options:g,shown:E};return _B.value.push(C),A.classList&&A.classList.add(ye),A.$_popper={options:g,item:C,show(){E.value=!0},hide(){E.value=!1}}}function Re(A){if(A.$_popper){const B=_B.value.indexOf(A.$_popper.item);B!==-1&&_B.value.splice(B,1),delete A.$_popper,delete A.$_popperOldShown,delete A.$_popperMountTarget}A.classList&&A.classList.remove(ye)}function yC(A,{value:B,modifiers:Q}){const g=He(A,B,Q);if(!g.content||VB(g.theme||"tooltip","disabled"))Re(A);else{let E;A.$_popper?(E=A.$_popper,E.options.value=g):E=Qi(A,B,Q),typeof B.shown<"u"&&B.shown!==A.$_popperOldShown&&(A.$_popperOldShown=B.shown,B.shown?E.show():E.hide())}}const gi={beforeMount:yC,updated:yC,beforeUnmount(A){Re(A)}};function HC(A){A.addEventListener("mousedown",xQ),A.addEventListener("click",xQ),A.addEventListener("touchstart",Ue,fB?{passive:!0}:!1)}function RC(A){A.removeEventListener("mousedown",xQ),A.removeEventListener("click",xQ),A.removeEventListener("touchstart",Ue),A.removeEventListener("touchend",Ke),A.removeEventListener("touchcancel",Ye)}function xQ(A){const B=A.currentTarget;A.closePopover=!B.$_vclosepopover_touch,A.closeAllPopover=B.$_closePopoverModifiers&&!!B.$_closePopoverModifiers.all}function Ue(A){if(A.changedTouches.length===1){const B=A.currentTarget;B.$_vclosepopover_touch=!0;const Q=A.changedTouches[0];B.$_vclosepopover_touchPoint=Q,B.addEventListener("touchend",Ke),B.addEventListener("touchcancel",Ye)}}function Ke(A){const B=A.currentTarget;if(B.$_vclosepopover_touch=!1,A.changedTouches.length===1){const Q=A.changedTouches[0],g=B.$_vclosepopover_touchPoint;A.closePopover=Math.abs(Q.screenY-g.screenY)<20&&Math.abs(Q.screenX-g.screenX)<20,A.closeAllPopover=B.$_closePopoverModifiers&&!!B.$_closePopoverModifiers.all}}function Ye(A){const B=A.currentTarget;B.$_vclosepopover_touch=!1}const Ei={beforeMount(A,{value:B,modifiers:Q}){A.$_closePopoverModifiers=Q,(typeof B>"u"||B)&&HC(A)},updated(A,{value:B,oldValue:Q,modifiers:g}){A.$_closePopoverModifiers=g,B!==Q&&(typeof B>"u"||B?HC(A):RC(A))},beforeUnmount(A){RC(A)}},YA=gi,Ci=Ei,Ii=Xs,ei=(A,B)=>{const Q=A.__vccOpts||A;for(const[g,E]of B)Q[g]=E;return Q},ti={},oi={class:"h-3 w-3 $ui-inline-fcc"},wi=N("svg",{class:"animate-spin",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[N("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),N("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1),Di=[wi];function si(A,B){return d(),y("div",oi,Di)}const Pe=ei(ti,[["render",si]]),ii={key:2},LA=_({inheritAttrs:!1,__name:"Button",props:{type:{default:"default"},round:{type:[String,Boolean],default:"normal"},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{default:"normal"},flat:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1}},emits:["click"],setup(A,{emit:B}){const Q=A,g=B,E=so(),C=x(()=>E.to?"router-link":E.href?"a":"button"),I=x(()=>Q.loading||Q.disabled);function e(w){if(I.value){w.preventDefault(),w.stopPropagation(),w.stopImmediatePropagation();return}g("click",w)}const t={common:{default:"active:bg-primary-100-darker dark:active:bg-gray-800-darker",primary:"active:bg-primary-500-darker",accent:"active:bg-accent-500-darker",danger:"active:bg-danger-500-darker",warning:"active:bg-warning-500-darker",info:"active:bg-primary-100-darker dark:active:bg-gray-800-darker",success:"active:bg-primary-100-darker dark:active:bg-gray-800-darker"},normal:{default:"bg-primary-100 hover:bg-primary-100-lighter dark:bg-gray-800 dark:hover:bg-gray-800-lighter dark:hover:text-white",primary:" text-white bg-primary-500 hover:bg-primary-500-lighter dark:hover:bg-primary-500-darker",accent:"text-white bg-accent-500 hover:bg-accent-500-lighter dark:bg-accent-500-darker dark:bg-accent-300",danger:"text-white bg-danger-500 hover:bg-danger-500-lighter dark:hover:bg-danger-500-darker",warning:"text-white bg-warning-500 hover:bg-warning-500-lighter dark:hover:bg-warning-500-darker",info:"text-info-500 bg-primary-100 hover:bg-primary-100-lighter dark:bg-gray-800 dark:hover:bg-gray-800-lighter",success:"text-primary-500 bg-primary-100 hover:bg-primary-100-lighter dark:bg-gray-800 dark:hover:bg-gray-800-lighter"},flat:{default:"hover:bg-primary-100 hover:text-black !dark:text-white dark:hover:bg-primary-800",primary:"hover:bg-primary-500 hover:text-white",accent:"hover:bg-accent-500 hover:text-white",danger:"hover:bg-danger-500 hover:text-white",warning:"hover:bg-warning-500 hover:text-white",info:"hover:bg-primary-100 hover:text-info-500 dark:hover:bg-gray-800 dark:hover:text-info-400",success:"hover:bg-primary-100 hover:text-primary-500 dark:hover:bg-primary-800 dark:hover:text-primary-400"},outlined:{default:"hover:border-primary-100 hover:text-primary-300 hover:active:ring-primary-100:5 hover:active:bg-primary-100:5",primary:"hover:border-primary-500 hover:text-primary-500 active:ring-primary-500:5 active:bg-primary-500:5",accent:"hover:border-accent-500 hover:text-accent-500 active:ring-accent-500:5 active:bg-accent-500:5",danger:"hover:border-danger-500 hover:text-danger-500 active:ring-danger-500:5 active:bg-danger-500:5",warning:"hover:border-warning-500 hover:text-warning-500 active:ring-warning-500:5 active:bg-warning-500:5",info:"hover:border-info-500 hover:text-info-500 active:ring-info-500:5 active:bg-info-500:5",success:"hover:border-primary-500 hover:text-primary-500 active:ring-primary-500:5 active:bg-primary-500:5"}},o=io(),D=x(()=>Q.flat?t.flat[Q.type]:Q.outlined?t.outlined[Q.type]:t.normal[Q.type]);return(w,s)=>(d(),V(yQ(C.value),dA(w.$attrs,{role:"button","aria-disabled":I.value,class:["$ui-base $ui-inline-fcc inline-flex cursor-pointer select-none gap1.25 py-0 no-underline $ui-transition",[[t.common[Q.type]],{"rounded-full":Q.round==="full","$ui-base-br":Q.round==="normal","opacity-50 cursor-not-allowed":I.value,"bg-transparent":Q.flat||Q.outlined},[w.outlined?"b-1 $ui-border-base active:ring-3 shadow-sm":"border-none",w.size==="mini"?"px1 text-3 h5.5":"px3.5 text-3.5 h8",D.value]]],onClickCapture:e}),{default:b(()=>[w.loading?(d(),V(Pe,{key:0,class:"mt0.5 h-full w3"})):eA(w.$slots,"icon",{key:1,class:"h-full w3 $ui-inline-fcc"}),F(o).default?(d(),y("div",ii,[eA(w.$slots,"default")])):BA("",!0),eA(w.$slots,"icon-right")]),_:3},16,["aria-disabled","class"]))}}),nA=_({__name:"Icon",props:{icon:{},inline:{type:Boolean},action:{type:Boolean,default:!1}},setup(A){return(B,Q)=>(d(),V(yQ(B.inline?"span":"div"),{class:QA(["$ui-base",[B.icon,B.action?"cursor-pointer hover:op50":""]])},null,8,["class"]))}});function ni(A,B,{enumerable:Q=!1,unwrap:g=!0}={}){for(const[E,C]of Object.entries(B))E!=="value"&&(EQ(C)&&g?Object.defineProperty(A,E,{get(){return C.value},set(I){C.value=I},enumerable:Q}):Object.defineProperty(A,E,{value:C,enumerable:Q}));return A}function UC(A){return typeof A=="function"?A():F(A)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ai=A=>typeof A<"u",KC=()=>{};function ri(A,B){function Q(...g){return new Promise((E,C)=>{Promise.resolve(A(()=>B.apply(this,g),{fn:B,thisArg:this,args:g})).then(E).catch(C)})}return Q}function ci(A,B={}){let Q,g,E=KC;const C=I=>{clearTimeout(I),E(),E=KC};return I=>{const e=UC(A),t=UC(B.maxWait);return Q&&C(Q),e<=0||t!==void 0&&t<=0?(g&&(C(g),g=null),Promise.resolve(I())):new Promise((o,D)=>{E=B.rejectOnCancel?D:o,t&&!g&&(g=setTimeout(()=>{Q&&C(Q),g=null,o(I())},t)),Q=setTimeout(()=>{g&&C(g),g=null,o(I())},e)})}}function li(A,B=200,Q={}){return ri(ci(B,Q),A)}function hi(A,B=200,Q={}){const g=S(A.value),E=li(()=>{g.value=A.value},B,Q);return MA(A,()=>E()),g}function ui(A,B={}){let Q=A,g,E;const C=go((t,o)=>(g=t,E=o,{get(){return I()},set(D){e(D)}}));function I(t=!0){return t&&g(),Q}function e(t,o=!0){var D,w;if(t===Q)return;const s=Q;((D=B.onBeforeChange)==null?void 0:D.call(B,t,s))!==!1&&(Q=t,(w=B.onChanged)==null||w.call(B,t,s),o&&E())}return ni(C,{get:I,set:e,untrackedGet:()=>I(!1),silentSet:t=>e(t,!1),peek:()=>I(!1),lay:t=>e(t,!1)},{enumerable:!0})}function Mi(A){return JSON.parse(JSON.stringify(A))}function pi(A,B,Q,g={}){var E,C,I;const{clone:e=!1,passive:t=!1,eventName:o,deep:D=!1,defaultValue:w,shouldEmit:s}=g,i=Ag(),a=Q||i?.emit||((E=i?.$emit)==null?void 0:E.bind(i))||((I=(C=i?.proxy)==null?void 0:C.$emit)==null?void 0:I.bind(i?.proxy));let n=o;B||(B="modelValue"),n=n||`update:${B.toString()}`;const r=u=>e?typeof e=="function"?e(u):Mi(u):u,l=()=>ai(A[B])?r(A[B]):w,h=u=>{s?s(u)&&a(n,u):a(n,u)};if(t){const u=l(),M=S(u);let p=!1;return MA(()=>A[B],k=>{p||(p=!0,M.value=r(k),BB(()=>p=!1))}),MA(M,k=>{!p&&(k!==A[B]||D)&&h(k)},{deep:D}),M}else return x({get(){return l()},set(u){h(u)}})}const di=["type","placeholder","disabled"],Fi={key:3,class:"pointer-events-none absolute bottom--0.25 left-50% right-50% z-9999 h-0.75 bg-primary-500 opacity-0 transition-all duration-240 group-[&.focused]:left-0 group-[&.focused]:right-0 group-[&.focused]:opacity-100 group-[&.accent.focused]:bg-accent-500"},Mg="transition-colors $ui-fcc color-gray-500 dark:color-gray-300 group-[&.focused]:color-primary-500; group-[&.accent.focused]:color-accent-500",Jg=_({__name:"Input",props:{modelValue:{},placeholder:{default:""},variant:{default:"normal"},disabled:{type:Boolean,default:!1},leftIcon:{},rightIcon:{},loading:{type:Boolean,default:!1},autoFocus:{type:Boolean,default:!1},loadingDebounceTime:{default:0},readonly:{type:Boolean,default:!1},type:{default:"text"}},emits:["update:modelValue","updateFocused","keyTab"],setup(A,{emit:B}){const Q=A,g=B,E=pi(Q,"modelValue",g),C=hi(x(()=>Q.loading),Q.loadingDebounceTime),I=ui(!1,{onChanged(w){g("updateFocused",w)}}),e=x(()=>Q.variant==="flat"||Q.variant==="warning"||Q.disabled||Q.readonly),t=x(()=>Q.disabled||C.value),o=S();let D=!1;return fQ(()=>{C.value&&I.value?D=!0:!C.value&&D&&(D=!1,BB(()=>{I.value=!0}))}),IE(()=>{Q.autoFocus&&(I.value=!0)}),fQ(()=>{var w;I.value&&((w=o.value)==null||w.focus())}),(w,s)=>(d(),y("div",{class:QA(["group relative w-50 w-auto flex items-center justify-between gap-0.5 overflow-hidden b-1 rounded-1 px3 py-0.75 color-gray-800 dark:color-gray-100",[{"border-none bg-transparent group":w.variant==="flat","cursor-not-allowed opacity-50":t.value,accent:w.variant==="accent",focused:F(I)},[w.variant==="warning"?"border-warning-500 dark:border-warning-300":"border-primary-100 dark:border-gray-700"]]]),onClick:s[2]||(s[2]=()=>{I.value=!0})},[w.leftIcon?(d(),y("div",{key:0,class:QA(Mg)},[Y(nA,{icon:w.leftIcon},null,8,["icon"])])):BA("",!0),uA(N("input",{ref_key:"inputRef",ref:o,"onUpdate:modelValue":s[0]||(s[0]=i=>EQ(E)?E.value=i:null),class:"$ui-base w-full bg-transparent color-inherit outline-none placeholder-color-gray-500 dark:placeholder-gray-300",type:w.type,placeholder:w.placeholder,disabled:t.value||w.readonly,onBlur:s[1]||(s[1]=i=>I.value=!1)},null,40,di),[[Qo,F(E)]]),F(C)?(d(),y("div",{key:1,class:QA(Mg)},[Y(Pe)])):w.rightIcon?(d(),y("div",{key:2,class:QA(Mg)},[Y(nA,{icon:w.rightIcon},null,8,["icon"])])):BA("",!0),e.value?BA("",!0):(d(),y("div",Fi))],2))}}),Gi={class:"overflow-hidden rounded-lg shadow-lg"},Ni=N("div",{class:"p2 opacity-40"}," Empty... ",-1),Li=_({__name:"Dropdown",props:{label:{},buttonProps:{default:()=>({})},buttonClass:{default:""},trigger:{default:"click"},distance:{default:0},skidding:{},placement:{},disabled:{type:Boolean,default:!1},shown:{type:Boolean}},emits:["update:visible"],setup(A){const B=A;return sB("$ui-dropdown-disabled",x(()=>B.disabled)),(Q,g)=>(d(),V(F(Ii),{disabled:Q.disabled,class:"inline-block w-auto",shown:Q.shown,triggers:[Q.trigger],distance:Q.distance+6,placement:Q.placement,skidding:Q.skidding,"onUpdate:shown":g[0]||(g[0]=E=>Q.$emit("update:visible",E)),onClick:g[1]||(g[1]=E=>{E.stopPropagation()})},{popper:b(({hide:E})=>[N("div",Gi,[eA(Q.$slots,"popper",YI(PI({hide:E})),()=>[Ni])])]),default:b(()=>[eA(Q.$slots,"default",{},()=>[Y(LA,dA({...Q.buttonProps,disabled:Q.disabled},{class:Q.buttonClass}),no({icon:b(()=>[eA(Q.$slots,"button-icon")]),"icon-right":b(()=>[eA(Q.$slots,"button-icon-right")]),_:2},[Q.label?{name:"default",fn:b(()=>[PA(hA(Q.label),1)]),key:"0"}:void 0]),1040,["class"])])]),_:3},8,["disabled","shown","triggers","distance","placement","skidding"]))}}),YC=_({__name:"DropdownButton",props:{type:{},round:{type:[String,Boolean]},loading:{type:Boolean},disabled:{type:Boolean},size:{},flat:{type:Boolean},outlined:{type:Boolean},keepOpen:{type:Boolean,default:!1}},setup(A){const B=A,Q=iB("$ui-dropdown-disabled",void 0);return(g,E)=>uA((d(),V(LA,dA({...B,round:!1},{disabled:F(Q),class:"w-full justify-start transition-colors not-action:bg-transparent!"}),{icon:b(()=>[eA(g.$slots,"icon")]),default:b(()=>[eA(g.$slots,"default")]),_:3},16,["disabled"])),[[F(Ci)]])}});function ki(A,B){const Q=new Date(A);return`${Q.toString().match(/\d\d:\d\d:\d\d/)[0]}${B==="ms"?`.${String(Q.getMilliseconds()).padStart(3,"0")}`:""}`}function fi(A,B){const Q=new Map,g=me(A,B.toLowerCase(),Q,0);return Q.clear(),g}const Se=10;function me(A,B,Q,g){if(g>Se)return!1;let E=!1;const C=Object.keys(A);let I,e;for(let t=0;t<C.length&&(I=C[t],e=A[I],E=Je(B,I,e,Q,g+1),!E);t++);return E}function Je(A,B,Q,g,E){let C=!1,I;return B==="_custom"&&(B=Q.display,Q=Q.value),(I=yi(Q))&&(Q=I),B&&PC(B,A)?(C=!0,g.set(Q,!0)):g.has(Q)?C=g.get(Q):Array.isArray(Q)?(g.set(Q,null),C=Hi(Q,A,g,E),g.set(Q,C)):aE(Q)?(g.set(Q,null),C=me(Q,A,g,E),g.set(Q,C)):PC(Q,A)&&(C=!0,g.set(Q,!0)),C}function PC(A,B){return`${A}`.toLowerCase().includes(B)}function yi(A){return A===null?"null":A===eQ?"undefined":A===wQ?"NaN":A===tQ?"Infinity":A===oQ?"-Infinity":!1}function Hi(A,B,Q,g){if(g>Se)return!1;let E=!1,C;for(let I=0;I<A.length&&(C=A[I],E=Je(B,null,C,Q,g+1),!E);I++);return E}function SC(A){return A.toString(16).padStart(6,"0")}const xe=_({__name:"NodeTag",props:{tag:{}},setup(A){return(B,Q)=>uA((d(),y("span",{style:GA({color:`#${F(SC)(B.tag.textColor)}`,backgroundColor:`#${F(SC)(B.tag.backgroundColor)}`}),class:"ml-2 rounded-sm px-1 text-[0.75rem] leading-snug"},[PA(hA(B.tag.label),1)],4)),[[F(YA),{content:B.tag.tooltip,html:!0}]])}}),Ri={class:"p2"},Ui=["onClick"],Ki=_({__name:"SelectiveList",props:eE({data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(A){const B=tE(A,"modelValue");function Q(g){B.value=g}return(g,E)=>(d(),y("ul",Ri,[(d(!0),y(cA,null,bA(g.data,C=>(d(),y("li",{key:C.id,class:QA(["selectable-item",{active:C.id===B.value}]),onClick:I=>Q(C.id)},[PA(hA(C.label)+" ",1),(d(!0),y(cA,null,bA(C.tags,(I,e)=>(d(),V(xe,{key:e,tag:I},null,8,["tag"]))),128))],10,Ui))),128))]))}}),Yi={border:"b base",class:"h10 h40px flex items-center justify-between px3"},Pi=["href"],Si=N("i",{class:"i-clarity:document-line cursor-pointer op70 text-base hover:op100"},null,-1),mi=[Si],Ji=["href"],xi=N("i",{class:"i-mdi:github cursor-pointer op70 text-base hover:op100"},null,-1),vi=[xi],ve=_({__name:"DevToolsHeader",props:{githubRepoLink:{},docLink:{}},setup(A){const B=wE();return(Q,g)=>(d(),y("div",Yi,[N("div",null,[eA(Q.$slots,"default",{},()=>[N("i",{class:"i-ep:back cursor-pointer op70 text-base hover:op100",onClick:g[0]||(g[0]=E=>F(B).push("/"))})])]),N("div",null,[N("a",{class:"pr2",href:Q.docLink,target:"_blank"},mi,8,Pi),N("a",{href:Q.githubRepoLink,target:"_blank"},vi,8,Ji)])]))}}),Oi={},bi={class:"h-full flex flex-col items-center justify-center op50"},qi=N("i",{class:"i-lets-icons:blank-light"},null,-1);function Ti(A,B){return d(),y("div",bi,[qi,N("span",null,[eA(A.$slots,"default")])])}const Oe=Bg(Oi,[["render",Ti]]);function GE(A){return Io()?(eo(A),!0):!1}function mA(A){return typeof A=="function"?A():F(A)}const NE=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Wi=A=>typeof A<"u",Xi=Object.prototype.toString,Zi=A=>Xi.call(A)==="[object Object]",vQ=()=>{};function zi(A,B){function Q(...g){return new Promise((E,C)=>{Promise.resolve(A(()=>B.apply(this,g),{fn:B,thisArg:this,args:g})).then(E).catch(C)})}return Q}const ji=A=>A();function Vi(A,B={}){let Q,g,E=vQ;const C=I=>{clearTimeout(I),E(),E=vQ};return I=>{const e=mA(A),t=mA(B.maxWait);return Q&&C(Q),e<=0||t!==void 0&&t<=0?(g&&(C(g),g=null),Promise.resolve(I())):new Promise((o,D)=>{E=B.rejectOnCancel?D:o,t&&!g&&(g=setTimeout(()=>{Q&&C(Q),g=null,o(I())},t)),Q=setTimeout(()=>{g&&C(g),g=null,o(I())},e)})}}function _i(A){let B;function Q(){return B||(B=A()),B}return Q.reset=async()=>{const g=B;B=void 0,g&&await g},Q}function $i(A){return A||Ag()}function An(A,B,Q={}){const{eventFilter:g=ji,...E}=Q;return MA(A,zi(g,B),E)}function Bn(A,B=!0,Q){$i()?IE(A,Q):B?A():BB(A)}function Qn(A,B,Q={}){const{immediate:g=!0}=Q,E=S(!1);let C=null;function I(){C&&(clearTimeout(C),C=null)}function e(){E.value=!1,I()}function t(...o){I(),E.value=!0,C=setTimeout(()=>{E.value=!1,C=null,A(...o)},mA(B))}return g&&(E.value=!0,NE&&t()),GE(e),{isPending:ro(E),start:t,stop:e}}function gn(A=!1,B={}){const{truthyValue:Q=!0,falsyValue:g=!1}=B,E=EQ(A),C=S(A);function I(e){if(arguments.length)return C.value=e,C.value;{const t=mA(Q);return C.value=C.value===t?mA(g):t,C.value}}return E?I:[C,I]}function En(A,B,Q={}){const{debounce:g=0,maxWait:E=void 0,...C}=Q;return An(A,B,{...C,eventFilter:Vi(g,{maxWait:E})})}function eB(A){var B;const Q=mA(A);return(B=Q?.$el)!=null?B:Q}const og=NE?window:void 0,be=NE?window.navigator:void 0;function VA(...A){let B,Q,g,E;if(typeof A[0]=="string"||Array.isArray(A[0])?([Q,g,E]=A,B=og):[B,Q,g,E]=A,!B)return vQ;Array.isArray(Q)||(Q=[Q]),Array.isArray(g)||(g=[g]);const C=[],I=()=>{C.forEach(D=>D()),C.length=0},e=(D,w,s,i)=>(D.addEventListener(w,s,i),()=>D.removeEventListener(w,s,i)),t=MA(()=>[eB(B),mA(E)],([D,w])=>{if(I(),!D)return;const s=Zi(w)?{...w}:w;C.push(...Q.flatMap(i=>g.map(a=>e(D,i,a,s))))},{immediate:!0,flush:"post"}),o=()=>{t(),I()};return GE(o),o}function Cn(){const A=S(!1),B=Ag();return B&&IE(()=>{A.value=!0},B),A}function LE(A){const B=Cn();return x(()=>(B.value,!!A()))}function mC(A,B={}){const{controls:Q=!1,navigator:g=be}=B,E=LE(()=>g&&"permissions"in g);let C;const I=typeof A=="string"?{name:A}:A,e=S(),t=()=>{C&&(e.value=C.state)},o=_i(async()=>{if(E.value){if(!C)try{C=await g.permissions.query(I),VA(C,"change",t),t()}catch{e.value="prompt"}return C}});return o(),Q?{state:e,isSupported:E,query:o}:e}function In(A={}){const{navigator:B=be,read:Q=!1,source:g,copiedDuring:E=1500,legacy:C=!1}=A,I=LE(()=>B&&"clipboard"in B),e=mC("clipboard-read"),t=mC("clipboard-write"),o=x(()=>I.value||C),D=S(""),w=S(!1),s=Qn(()=>w.value=!1,E);function i(){I.value&&l(e.value)?B.clipboard.readText().then(h=>{D.value=h}):D.value=r()}o.value&&Q&&VA(["copy","cut"],i);async function a(h=mA(g)){o.value&&h!=null&&(I.value&&l(t.value)?await B.clipboard.writeText(h):n(h),D.value=h,w.value=!0,s.start())}function n(h){const u=document.createElement("textarea");u.value=h??"",u.style.position="absolute",u.style.opacity="0",document.body.appendChild(u),u.select(),document.execCommand("copy"),u.remove()}function r(){var h,u,M;return(M=(u=(h=document?.getSelection)==null?void 0:h.call(document))==null?void 0:u.toString())!=null?M:""}function l(h){return h==="granted"||h==="prompt"}return{isSupported:o,text:D,copied:w,copy:a}}function en(A){return JSON.parse(JSON.stringify(A))}function tn(A,B,Q={}){const{window:g=og,...E}=Q;let C;const I=LE(()=>g&&"ResizeObserver"in g),e=()=>{C&&(C.disconnect(),C=void 0)},t=x(()=>Array.isArray(A)?A.map(w=>eB(w)):[eB(A)]),o=MA(t,w=>{if(e(),I.value&&g){C=new ResizeObserver(B);for(const s of w)s&&C.observe(s,E)}},{immediate:!0,flush:"post"}),D=()=>{e(),o()};return GE(D),{isSupported:I,stop:D}}function on(A,B={width:0,height:0},Q={}){const{window:g=og,box:E="content-box"}=Q,C=x(()=>{var w,s;return(s=(w=eB(A))==null?void 0:w.namespaceURI)==null?void 0:s.includes("svg")}),I=S(B.width),e=S(B.height),{stop:t}=tn(A,([w])=>{const s=E==="border-box"?w.borderBoxSize:E==="content-box"?w.contentBoxSize:w.devicePixelContentBoxSize;if(g&&C.value){const i=eB(A);if(i){const a=g.getComputedStyle(i);I.value=Number.parseFloat(a.width),e.value=Number.parseFloat(a.height)}}else if(s){const i=Array.isArray(s)?s:[s];I.value=i.reduce((a,{inlineSize:n})=>a+n,0),e.value=i.reduce((a,{blockSize:n})=>a+n,0)}else I.value=w.contentRect.width,e.value=w.contentRect.height},Q);Bn(()=>{const w=eB(A);w&&(I.value="offsetWidth"in w?w.offsetWidth:B.width,e.value="offsetHeight"in w?w.offsetHeight:B.height)});const o=MA(()=>eB(A),w=>{I.value=w?B.width:0,e.value=w?B.height:0});function D(){t(),o()}return{width:I,height:e,stop:D}}const wn={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Dn(A={}){const{reactive:B=!1,target:Q=og,aliasMap:g=wn,passive:E=!0,onEventFired:C=vQ}=A,I=XE(new Set),e={toJSON(){return{}},current:I},t=B?XE(e):e,o=new Set,D=new Set;function w(n,r){n in t&&(B?t[n]=r:t[n].value=r)}function s(){I.clear();for(const n of D)w(n,!1)}function i(n,r){var l,h;const u=(l=n.key)==null?void 0:l.toLowerCase(),M=[(h=n.code)==null?void 0:h.toLowerCase(),u].filter(Boolean);u&&(r?I.add(u):I.delete(u));for(const p of M)D.add(p),w(p,r);u==="meta"&&!r?(o.forEach(p=>{I.delete(p),w(p,!1)}),o.clear()):typeof n.getModifierState=="function"&&n.getModifierState("Meta")&&r&&[...I,...M].forEach(p=>o.add(p))}VA(Q,"keydown",n=>(i(n,!0),C(n)),{passive:E}),VA(Q,"keyup",n=>(i(n,!1),C(n)),{passive:E}),VA("blur",s,{passive:!0}),VA("focus",s,{passive:!0});const a=new Proxy(t,{get(n,r,l){if(typeof r!="string")return Reflect.get(n,r,l);if(r=r.toLowerCase(),r in g&&(r=g[r]),!(r in t))if(/[+_-]/.test(r)){const u=r.split(/[+_-]/g).map(M=>M.trim());t[r]=x(()=>u.every(M=>mA(a[M])))}else t[r]=S(!1);const h=Reflect.get(n,r,l);return B?mA(h):h}});return a}function sn(A,B,Q,g={}){var E,C,I;const{clone:e=!1,passive:t=!1,eventName:o,deep:D=!1,defaultValue:w,shouldEmit:s}=g,i=Ag(),a=Q||i?.emit||((E=i?.$emit)==null?void 0:E.bind(i))||((I=(C=i?.proxy)==null?void 0:C.$emit)==null?void 0:I.bind(i?.proxy));let n=o;B||(B="modelValue"),n=n||`update:${B.toString()}`;const r=u=>e?typeof e=="function"?e(u):en(u):u,l=()=>Wi(A[B])?r(A[B]):w,h=u=>{s?s(u)&&a(n,u):a(n,u)};if(t){const u=l(),M=S(u);let p=!1;return MA(()=>A[B],k=>{p||(p=!0,M.value=r(k),BB(()=>p=!1))}),MA(M,k=>{!p&&(k!==A[B]||D)&&h(k)},{deep:D}),M}else return x({get(){return l()},set(u){h(u)}})}const qe=Symbol("StateEditorSymbol");function nn(A){const B=S(A);return sB(qe,B),{context:B}}function kE(){return iB(qe)}function an(){const A=S(""),B=S("string"),Q=S(!1),g=kE();return{editingText:A,editing:Q,toggleEditing(E){E&&(B.value=E),Q.value=!Q.value},editingType:B,nodeId:g.value.nodeId}}function rn(A,B){if(A==="array")return B.length;const Q="newProp";let g=1;for(;;){const E=`${Q}${g}`;if(!B[E])return E;g++}}function cn(){const A=S({enable:!1,key:"",value:"undefined"});function B(g,E){const C=rn(g,E);A.value={enable:!0,key:C.toString(),value:"undefined"}}function Q(){A.value={enable:!1,key:"",value:"undefined"}}return{addNewProp:B,resetDrafting:Q,draftingNewProp:A}}const ln={class:"flex pl5px"},hn={class:"w160px py5px"},un=_({__name:"StateFieldEditor",props:{data:{},hovering:{type:Boolean},depth:{},showAddIfNeeded:{type:Boolean,default:!0},disableEdit:{type:Boolean}},emits:["enableEditInput","addNewProp"],setup(A){const B=A,Q=kE(),{copy:g,isSupported:E}=In(),C=S(!1),I=x(()=>rE(B.data.value)),e=x(()=>I.value.value),t=x(()=>I.value.customType),o=x(()=>e.value===null?"null":typeof e.value),D={flat:!0,size:"mini"},w=x(()=>({"opacity-0":!B.hovering}));function s(a,n=!1){YQ({path:B.data.key.split("."),inspectorId:Q.value.inspectorId,type:B.data.stateType,nodeId:Q.value.nodeId,state:{newKey:null,value:ao(a),type:o.value,remove:n}})}function i(a,n){const r=typeof a=="number"?a+n:BigInt(a)+BigInt(n);s(r)}return(a,n)=>(d(),y("div",ln,[!B.disableEdit&&a.data.editable?(d(),y(cA,{key:0},[o.value==="string"||o.value==="number"||o.value==="object"||o.value==="null"?(d(),y(cA,{key:0},[uA((d(),V(F(LA),dA(D,{class:w.value,onClick:n[0]||(n[0]=vA(r=>a.$emit("enableEditInput",o.value),["stop"]))}),{icon:b(()=>[Y(F(nA),{icon:"i-material-symbols-edit-rounded"})]),_:1},16,["class"])),[[F(YA),{content:"Edit value"}]]),o.value==="object"&&a.showAddIfNeeded?uA((d(),V(F(LA),dA({key:0},D,{class:w.value,onClick:n[1]||(n[1]=vA(r=>a.$emit("addNewProp",Array.isArray(e.value)?"array":"object"),["stop"]))}),{icon:b(()=>[Y(F(nA),{icon:"i-material-symbols-add-circle-rounded"})]),_:1},16,["class"])),[[F(YA),{content:"Add new value"}]]):BA("",!0)],64)):BA("",!0),o.value==="boolean"?(d(),V(F(LA),dA({key:1},D,{class:w.value,onClick:n[2]||(n[2]=r=>s(!e.value))}),{icon:b(()=>[Y(F(nA),{icon:e.value?"i-material-symbols-check-box-sharp":"i-material-symbols-check-box-outline-blank-sharp"},null,8,["icon"])]),_:1},16,["class"])):o.value==="number"||t.value==="bigint"?(d(),y(cA,{key:2},[Y(F(LA),dA(D,{class:w.value,onClick:n[3]||(n[3]=vA(r=>i(e.value,1),["stop"]))}),{icon:b(()=>[Y(F(nA),{icon:"i-carbon-add"})]),_:1},16,["class"]),Y(F(LA),dA(D,{class:w.value,onClick:n[4]||(n[4]=vA(r=>i(e.value,-1),["stop"]))}),{icon:b(()=>[Y(F(nA),{icon:"i-carbon-subtract"})]),_:1},16,["class"])],64)):BA("",!0)],64)):BA("",!0),!B.disableEdit&&a.depth>0?(d(),V(F(LA),dA({key:1},D,{class:w.value,onClick:n[5]||(n[5]=vA(r=>s(e.value,!0),["stop"]))}),{icon:b(()=>[Y(F(nA),{icon:"i-material-symbols-delete-rounded"})]),_:1},16,["class"])):BA("",!0),Y(F(Li),{class:QA({"opacity-0":!a.hovering&&!C.value}),"button-props":{flat:!0,size:"mini"},disabled:!F(E),"onUpdate:visible":n[8]||(n[8]=r=>C.value=r)},{popper:b(()=>[N("div",hn,[Y(F(YC),{onClick:n[6]||(n[6]=r=>F(g)(typeof e.value=="object"?JSON.stringify(e.value):e.value.toString()))},{icon:b(()=>[Y(F(nA),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),PA(" Copy Value ")]),_:1}),Y(F(YC),{onClick:n[7]||(n[7]=()=>{F(g)(a.data.key)})},{icon:b(()=>[Y(F(nA),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),PA(" Copy Path ")]),_:1})])]),"button-icon":b(()=>[Y(F(nA),{icon:"i-material-symbols:more-vert"})]),_:1},8,["class","disabled"])]))}}),Mn={class:"flex-inline items-center gap4px"},pg=_({__name:"StateFieldInputEditor",props:{modelValue:{},customType:{},showActions:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0}},emits:["cancel","submit","update:modelValue"],setup(A,{emit:B}){const Q=A,g=B,E=x(()=>Q.customType==="date"?"datetime-local":""),{escape:C,enter:I}=Dn();fQ(()=>{C.value?g("cancel"):I.value&&g("submit")});const e=sn(Q,"modelValue",g);function t(D){try{return dQ(D,Q.customType),!0}catch{return!1}}const o=S(!1);return MA(e,Qg(()=>{o.value=!t(e.value)},300)),(D,w)=>(d(),y("span",Mn,[Y(F(Jg),{modelValue:F(e),"onUpdate:modelValue":w[0]||(w[0]=s=>EQ(e)?e.value=s:null),type:E.value,variant:o.value?"warning":"normal",class:QA(["h25px px4px",D.customType==="date"?"w240px":"w120px"]),"auto-focus":D.autoFocus,onClick:w[1]||(w[1]=vA(()=>{},["stop"]))},null,8,["modelValue","type","variant","class","auto-focus"]),D.showActions?(d(),y(cA,{key:0},[uA((d(),V(F(LA),{size:"mini",flat:"",class:"p2px!",onClick:w[2]||(w[2]=vA(s=>D.$emit("cancel"),["stop"]))},{icon:b(()=>[Y(F(nA),{icon:"i-material-symbols-cancel"})]),_:1})),[[F(YA),{content:"Esc to cancel"}]]),o.value?uA((d(),V(F(nA),{key:1,icon:"i-material-symbols-warning",class:"color-warning-500 dark:color-warning-300"},null,512)),[[F(YA),{content:"Invalid value"}]]):uA((d(),V(F(LA),{key:0,size:"mini",flat:"",class:"p2px!",onClick:w[3]||(w[3]=vA(s=>D.$emit("submit"),["stop"]))},{icon:b(()=>[Y(F(nA),{icon:"i-material-symbols-save"})]),_:1})),[[F(YA),{content:"Enter to submit change"}]])],64)):BA("",!0)]))}}),fE=_({__name:"ToggleExpanded",props:{value:{type:Boolean}},setup(A){return(B,Q)=>(d(),y("i",{class:QA(["i-radix-icons:triangle-right flex-none text-4 op-50 transition-base",{"transform rotate-90":B.value}])},null,2))}}),Te="expanded-state";function OQ(A=""){const B=S([]);return sB(`${Te}-${A}`,B),{expanded:B}}function yE(A=""){const B=iB(`${Te}-${A}`,S([]));function Q(g){const E=B.value.indexOf(g);E===-1?B.value.push(g):B.value.splice(E,1)}return{expanded:B,toggleExpanded:Q}}function pn(A,B={}){const{enter:Q=()=>{},leave:g=()=>{},initial:E=!1}=B,C=S(E);return VA(A,"mouseenter",()=>{C.value=!0,Q()}),VA(A,"mouseleave",()=>{C.value=!1,g()}),{isHovering:C}}const We=A=>(_Q("data-v-cf35cdd0"),A=A(),$Q(),A),dn={key:1,pl5:""},Fn={op70:"",class:"whitespace-nowrap"},Gn=We(()=>N("span",{mx1:""},":",-1)),Nn=["innerHTML"],Ln={key:0},kn={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},fn=We(()=>N("span",{"mx-1":""},":",-1)),JC=30,yn=_({__name:"StateFieldViewer",props:{data:{},depth:{},index:{}},setup(A){const B=A,Q=S(JC),g=x(()=>VI(B.data.value)),E=x(()=>WB(B.data.value)),C=x(()=>rE(B.data.value)),{expanded:I,toggleExpanded:e}=yE(),t=x(()=>{var L;return E.value==="custom"?`${((L=B.data.value._custom)==null?void 0:L.type)??"string"}-custom-state`:""}),o=x(()=>{const{value:L}=C.value;return jE(L)?L.length:zE(L)?Object.keys(L).length:0}),D=x(()=>{const L=B.data.key,f=L.lastIndexOf(".");return f===-1?L:L.slice(f+1)}),w=x(()=>{var L,f,T,j,H,EA,DA;const U=["Reactive"],R=((f=(L=B.data)==null?void 0:L._custom)==null?void 0:f.stateTypeName)||((T=B.data)==null?void 0:T.stateTypeName);if(U.includes(R))return R;if((H=(j=B.data.value)==null?void 0:j.fields)!=null&&H.abstract)return"";{const J=(DA=(EA=B.data.value)==null?void 0:EA._custom)==null?void 0:DA.type,z=E.value==="custom"&&!J?`"${g.value}"`:g.value===""?'""':g.value,CA=`<span class="${E.value==="custom"&&J==="ref"?WB(z):E.value}-state-type flex whitespace-nowrap">${z}</span>`;return R?`${CA} <span class="text-gray-500">(${R})</span>`:CA}}),s=x(()=>{const{value:L,inherit:f,customType:T}=C.value,j=T==="set";let H=[];return jE(L)?L.slice(0,Q.value).map((EA,DA)=>({key:`${B.data.key}.${DA}`,value:EA,...f,editable:B.data.editable&&!j,creating:!1})):(zE(L)&&(H=Object.keys(L).slice(0,Q.value).map(EA=>({key:`${B.data.key}.${EA}`,value:L[EA],...f,editable:B.data.editable&&!j,creating:!1})),E.value!=="custom"&&(H=xI(H))),H===B.data.value?[]:H)}),i=x(()=>s.value.length>0),a=S(),n=kE(),{isHovering:r}=pn(()=>a.value),{editingType:l,editing:h,editingText:u,toggleEditing:M,nodeId:p}=an();MA(()=>h.value,L=>{if(L){const{value:f}=C.value;u.value=GD(f,C.value.customType)}else u.value=""});function k(){const L=B.data;YQ({path:L.key.split("."),inspectorId:n.value.inspectorId,type:L.stateType,nodeId:p,state:{newKey:null,type:l.value,value:dQ(u.value,C.value.customType)}}),M()}const{addNewProp:v,draftingNewProp:m,resetDrafting:W}=cn();function P(L){const f=`${B.depth}-${B.index}`;I.value.includes(f)||e(f),v(L,C.value.value)}function q(){const L=B.data,f=L.key.split(".");f.push(m.value.key),YQ({path:f,inspectorId:n.value.inspectorId,type:L.stateType,nodeId:p,state:{newKey:m.value.key,type:typeof dQ(m.value.value),value:dQ(m.value.value)}}),W()}return(L,f)=>(d(),y("div",null,[N("div",{ref_key:"containerRef",ref:a,class:QA(["font-state-field flex items-center",[i.value&&"cursor-pointer hover:bg-active"]]),style:GA({paddingLeft:`${L.depth*15+4}px`}),onClick:f[1]||(f[1]=T=>F(e)(`${L.depth}-${L.index}`))},[i.value?(d(),V(fE,{key:0,value:F(I).includes(`${L.depth}-${L.index}`)},null,8,["value"])):(d(),y("span",dn)),N("span",Fn,hA(D.value),1),Gn,F(h)?(d(),V(pg,{key:2,modelValue:F(u),"onUpdate:modelValue":f[0]||(f[0]=T=>EQ(u)?u.value=T:null),"custom-type":C.value.customType,onCancel:F(M),onSubmit:k},null,8,["modelValue","custom-type","onCancel"])):BA("",!0),N("span",{class:QA([t.value,"flex whitespace-nowrap"])},[N("span",{class:"flex",innerHTML:w.value},null,8,Nn)],2),Y(un,{hovering:F(r),"disable-edit":F(n).disableEdit,data:L.data,depth:L.depth,onEnableEditInput:F(M),onAddNewProp:P},null,8,["hovering","disable-edit","data","depth","onEnableEditInput"])],6),i.value&&F(I).includes(`${L.depth}-${L.index}`)?(d(),y("div",Ln,[Y(Xe,{data:s.value,depth:L.depth,index:L.index},null,8,["data","depth","index"]),o.value>Q.value?uA((d(),V(F(LA),{key:0,flat:"",size:"mini",class:"ml-4",onClick:f[2]||(f[2]=T=>Q.value+=JC)},{icon:b(()=>[Y(F(nA),{icon:"i-material-symbols-more-horiz"})]),_:1})),[[F(YA),"Show more"]]):BA("",!0),F(m).enable?(d(),y("div",{key:1,style:GA({paddingLeft:`${(L.depth+1)*15+4}px`})},[N("span",kn,[Y(pg,{modelValue:F(m).key,"onUpdate:modelValue":f[3]||(f[3]=T=>F(m).key=T),"show-actions":!1},null,8,["modelValue"])]),fn,Y(pg,{modelValue:F(m).value,"onUpdate:modelValue":f[4]||(f[4]=T=>F(m).value=T),"auto-focus":!1,onCancel:F(W),onSubmit:q},null,8,["modelValue","onCancel"])],4)):BA("",!0)])):BA("",!0)]))}}),Hn=Bg(yn,[["__scopeId","data-v-cf35cdd0"]]),Xe=_({__name:"ChildStateViewer",props:{data:{},depth:{default:0},index:{}},setup(A){return(B,Q)=>(d(),y("div",null,[(d(!0),y(cA,null,bA(B.data,(g,E)=>(d(),y("div",{key:E},[Y(Hn,{data:g,depth:B.depth+1,index:`${B.index}-${E}`},null,8,["data","depth","index"])]))),128))]))}}),Rn=["onClick"],Un={key:1,pl5:""},Kn={"font-state-field":"","text-4":""},Yn={key:0},HE=_({__name:"RootStateViewer",props:{data:{},nodeId:{},inspectorId:{},disableEdit:{type:Boolean,default:!1},expandedStateId:{default:""}},setup(A){const B=A;function Q(){return{nodeId:B.nodeId,inspectorId:B.inspectorId,disableEdit:B.disableEdit}}const{context:g}=nn(Q());fQ(()=>{g.value=Q()});const{expanded:E,toggleExpanded:C}=yE(B.expandedStateId);return(I,e)=>(d(),y("div",null,[(d(!0),y(cA,null,bA(I.data,(t,o,D)=>(d(),y("div",{key:D},[N("div",{class:QA(["flex items-center",[t?.length&&"cursor-pointer hover:bg-active"]]),onClick:w=>F(C)(`${D}`)},[t!=null&&t.length?(d(),V(fE,{key:0,value:F(E).includes(`${D}`)},null,8,["value"])):(d(),y("span",Un)),N("span",Kn,hA(o),1)],10,Rn),t!=null&&t.length&&F(E).includes(`${D}`)?(d(),y("div",Yn,[Y(Xe,{data:t,index:`${D}`},null,8,["data","index"])])):BA("",!0)]))),128))]))}}),Pn={class:"h-full flex flex-col"},Sn={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},mn={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},KB="pinia",Jn=_({__name:"Index",setup(A){const{expanded:B}=OQ("pinia-store-state"),Q=S(""),g=S([]),E=S({}),C=x(()=>{var o,D;return!((o=E.value.state)!=null&&o.length)&&!((D=E.value.getters)!=null&&D.length)});function I(o){var D;for(const w in o)(D=o[w])!=null&&D.length||delete o[w];return o}function e(o){lE({inspectorId:KB,nodeId:o}).then(D=>{E.value=I(XB(D)),B.value=Array.from({length:Object.keys(E.value).length},(w,s)=>`${s}`)})}function t(){E.value={}}return MA(Q,()=>{t(),e(Q.value)}),cE({inspectorId:KB,filter:""}).then(o=>{const D=XB(o);g.value=D,!Q.value&&D.length&&(Q.value=D[0].id),e(D[0].id)}),hE(o=>{!(o!=null&&o.data.length)||o.inspectorId!==KB||(g.value=o.data,!Q.value&&o.data.length&&(Q.value=o.data[0].id,e(o.data[0].id)))}),uE(o=>{var D;!o||!((D=o?.state)!=null&&D.length)||o.inspectorId!==KB||(E.value=I({state:o.state,getters:o.getters}),B.value=Array.from({length:Object.keys(E.value).length},(w,s)=>`${s}`))}),(o,D)=>(d(),y("div",Pn,[Y(ve,{"doc-link":"https://pinia.vuejs.org/","github-repo-link":"https://github.com/vuejs/pinia"},{default:b(()=>[Y(se)]),_:1}),Y(F(DE),{class:"flex-1 overflow-auto"},{default:b(()=>[Y(F(LB),{border:"r base",size:"40","h-full":""},{default:b(()=>[N("div",Sn,[Y(Ki,{modelValue:Q.value,"onUpdate:modelValue":D[0]||(D[0]=w=>Q.value=w),data:g.value},null,8,["modelValue","data"])])]),_:1}),Y(F(LB),{size:"60"},{default:b(()=>[N("div",mn,[Q.value&&!C.value?(d(),V(HE,{key:0,class:"p3",data:E.value,"node-id":Q.value,"inspector-id":KB,"expanded-state-id":"pinia-store-state"},null,8,["data","node-id"])):(d(),V(Oe,{key:1},{default:b(()=>[PA(" No Data ")]),_:1}))])]),_:1})]),_:1})]))}});function xn(){var A=window.navigator.userAgent,B=A.indexOf("MSIE ");if(B>0)return parseInt(A.substring(B+5,A.indexOf(".",B)),10);var Q=A.indexOf("Trident/");if(Q>0){var g=A.indexOf("rv:");return parseInt(A.substring(g+3,A.indexOf(".",g)),10)}var E=A.indexOf("Edge/");return E>0?parseInt(A.substring(E+5,A.indexOf(".",E)),10):-1}let GQ;function xg(){xg.init||(xg.init=!0,GQ=xn()!==-1)}var wg={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){xg(),BB(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const A=document.createElement("object");this._resizeObject=A,A.setAttribute("aria-hidden","true"),A.setAttribute("tabindex",-1),A.onload=this.addResizeHandlers,A.type="text/html",GQ&&this.$el.appendChild(A),A.data="about:blank",GQ||this.$el.appendChild(A)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!GQ&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const vn=KI();_Q("data-v-b329ee4c");const On={class:"resize-observer",tabindex:"-1"};$Q();const bn=vn((A,B,Q,g,E,C)=>(d(),V("div",On)));wg.render=bn;wg.__scopeId="data-v-b329ee4c";wg.__file="src/components/ResizeObserver.vue";function NQ(A){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?NQ=function(B){return typeof B}:NQ=function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},NQ(A)}function qn(A,B){if(!(A instanceof B))throw new TypeError("Cannot call a class as a function")}function xC(A,B){for(var Q=0;Q<B.length;Q++){var g=B[Q];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(A,g.key,g)}}function Tn(A,B,Q){return B&&xC(A.prototype,B),Q&&xC(A,Q),A}function vC(A){return Wn(A)||Xn(A)||Zn(A)||zn()}function Wn(A){if(Array.isArray(A))return vg(A)}function Xn(A){if(typeof Symbol<"u"&&Symbol.iterator in Object(A))return Array.from(A)}function Zn(A,B){if(A){if(typeof A=="string")return vg(A,B);var Q=Object.prototype.toString.call(A).slice(8,-1);if(Q==="Object"&&A.constructor&&(Q=A.constructor.name),Q==="Map"||Q==="Set")return Array.from(A);if(Q==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Q))return vg(A,B)}}function vg(A,B){(B==null||B>A.length)&&(B=A.length);for(var Q=0,g=new Array(B);Q<B;Q++)g[Q]=A[Q];return g}function zn(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1
|
+
const __vite__fileDeps=["./Tw6nDHWX.js","./BMbUeBqv.js","./CHuuZgn4.js","./BiWblMbN.js","./_ECCzcZq.js","./Q9LIRUci.js","./DHFOa8tC.js","./jeEj0LFC.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
|
|
2
|
+
import{bj as _t,bk as $t,y as _Q,z as $Q,d as _,bl as Ao,aA as BB,o as d,h as V,r as S,m as y,i as Y,f as F,a as x,bm as sB,aR as KI,as as NB,k as N,F as cA,aa as eA,p as BA,a9 as GA,G as QA,ae as Bo,j as b,aw as dA,bn as CE,w as MA,v as PA,t as hA,I as uA,bo as iB,n as bA,bp as YI,bq as PI,aB as fQ,aq as IE,br as Qo,l as EQ,bs as eE,bt as tE,bh as vA,ax as yQ,bu as go,aS as Eo,aT as Co,bv as Ag,bw as Io,bx as eo,a2 as to,aU as oo,by as pA,b1 as wo,bz as Do,bA as so,bB as io,aO as no,ay as XE,bC as ao,bD as ro}from"./DNH9VLI7.js";function fM(){return{activeAppRecord:_t,connected:$t}}var co=Object.defineProperty,lo=(A,B,Q)=>B in A?co(A,B,{enumerable:!0,configurable:!0,writable:!0,value:Q}):A[B]=Q,c=(A,B,Q)=>(lo(A,typeof B!="symbol"?B+"":B,Q),Q);const Bg=(A,B)=>{const Q=A.__vccOpts||A;for(const[g,E]of B)Q[g]=E;return Q},ho={},uo={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Mo=wo('<svg height="130" viewBox="0 0 319 477" width="180" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a"><stop offset="0" stop-color="#52ce63"></stop><stop offset="1" stop-color="#51a256"></stop></linearGradient><linearGradient id="b" x1="55.342075%" x2="42.816933%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="c" x1="55.348642%" x2="42.808103%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="d" x1="50%" x2="50%" y1="0%" y2="58.811243%"><stop offset="0" stop-color="#8ae99c"></stop><stop offset="1" stop-color="#52ce63"></stop></linearGradient><linearGradient id="e" x1="51.37763%" x2="44.584719%" y1="17.472551%" y2="100%"><stop offset="0" stop-color="#ffe56c"></stop><stop offset="1" stop-color="#ffc63a"></stop></linearGradient><g fill="none" fill-rule="evenodd" transform="translate(-34 -24)"><g transform="matrix(.99254615 .12186934 -.12186934 .99254615 33.922073 .976691)"><path d="m103.950535 258.274149c44.361599-4.360825 60.014503-40.391282 65.353094-94.699444s-30.93219-103.451001-46.020347-101.9678079c-15.088156 1.4831932-63.0385313 58.9051239-68.3771222 113.2132869-5.3385908 54.308162 4.6827754 87.814791 49.0443752 83.453965z" fill="url(#b)" transform="matrix(.70710678 -.70710678 .70710678 .70710678 -80.496332 125.892944)"></path><path d="m275.876752 258.273992c44.3616 4.360826 53.167133-29.265322 47.828542-83.573485-5.338591-54.308162-52.073133-111.6105744-67.16129-113.0937675-15.088156-1.4831931-52.57477 47.5401275-47.236179 101.8482895s22.207328 90.458137 66.568927 94.818963z" fill="url(#c)" transform="matrix(.70710678 .70710678 -.70710678 .70710678 191.403399 -141.861963)"></path><path d="m188.370027 216.876305c39.941834 0 50.95265-38.251987 50.95265-97.89874 0-59.6467532-37.367733-118.10125956-50.95265-118.10125956s-52.04735 58.45450636-52.04735 118.10125956c0 59.646753 12.105516 97.89874 52.04735 97.89874z" fill="url(#d)"></path></g><path d="m184.473473 501c83.118854 0 150.526527-24.145148 150.526527-133.645148s-67.407673-199.354852-150.526527-199.354852c-83.118855 0-150.473473 89.854852-150.473473 199.354852s67.354618 133.645148 150.473473 133.645148z" fill="url(#e)"></path><ellipse cx="260.5" cy="335" fill="#eaadcc" rx="21.5" ry="10"></ellipse><ellipse cx="102.5" cy="329" fill="#eaadcc" rx="21.5" ry="10" transform="matrix(.99254615 .12186934 -.12186934 .99254615 40.859033 -10.039292)"></ellipse><g transform="matrix(-.99939083 .0348995 .0348995 .99939083 269.284825 271.027667)"><path d="m73.1046985 58.2728794c6.7372416 4.9130333 14.3132632 6.6640587 22.7280649 5.2530761 8.4148016-1.4109825 14.5054466-5.2535769 18.2719346-11.527783" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="6" transform="matrix(.9998477 .01745241 -.01745241 .9998477 1.026464 -1.624794)"></path><path d="m154.501124 3c-5.937545 0-11.312782 2.40629805-15.203644 6.29680621-3.89094 3.89058529-6.29748 9.26545449-6.29748 15.20263179 0 5.9376888 2.406488 11.3127422 6.297291 15.2034272 3.890886 3.8907673 9.266197 6.2971348 15.203833 6.2971348 5.937109 0 11.311896-2.4063889 15.202387-6.2972348 3.890299-3.8906535 6.296489-9.2656636 6.296489-15.2033272 0-5.9371521-2.406242-11.3119781-6.296677-15.20253181-3.890469-3.89058674-9.265181-6.29690619-15.202199-6.29690619z" fill="#000"></path><path d="m154 21c0-3.865549 3.135362-7 6.999413-7 3.866399 0 7.000587 3.134451 7.000587 7s-3.134188 7-7.000587 7c-3.864051-.0011735-6.999413-3.134451-6.999413-7z" fill="#fff"></path><path d="m24.5 13c-5.9375292 0-11.312426 2.406268-15.20299427 6.2967181-3.89069464 3.8905765-6.29700573 9.2654765-6.29700573 15.2027199 0 5.9377549 2.40625962 11.3128391 6.29681766 15.2035153 3.89059104 3.8907092 9.26556184 6.2970467 15.20318234 6.2970467 5.9371249 0 11.3122514-2.406419 15.2030371-6.2973229 3.8905441-3.8906623 6.2969629-9.2656416 6.2969629-15.2032391 0-5.937086-2.4064703-11.3118811-6.297151-15.2024437-3.890763-3.8906448-9.2658154-6.2969943-15.202849-6.2969943z" fill="#000"></path><g fill="#fff"><path d="m136 24.499438c0 10.2185232 8.282911 18.500562 18.501124 18.500562 10.217089 0 18.498876-8.2820388 18.498876-18.500562 0-10.2173992-8.281787-18.499438-18.498876-18.499438-10.218213 0-18.501124 8.2820388-18.501124 18.499438zm-6 0c0-13.5311954 10.96929-24.499438 24.501124-24.499438 13.530838 0 24.498876 10.9683711 24.498876 24.499438 0 13.5319607-10.967808 24.500562-24.498876 24.500562-13.532064 0-24.501124-10.9684728-24.501124-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m6 34.499438c0 10.2185232 8.2817873 18.500562 18.5 18.500562 10.2170889 0 18.5-8.2820388 18.5-18.500562 0-10.2173992-8.2829111-18.499438-18.5-18.499438-10.2182127 0-18.5 8.2820388-18.5 18.499438zm-6 0c0-13.531297 10.9682681-24.499438 24.5-24.499438 13.5309398 0 24.5 10.9684728 24.5 24.499438 0 13.5318591-10.96883 24.500562-24.5 24.500562-13.531962 0-24.5-10.9683711-24.5-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m24 31c0-3.865549 3.134451-7 7-7s7 3.134451 7 7-3.134451 7-7 7-7-3.134451-7-7z"></path></g></g><g stroke-linecap="round" stroke-width="11"><g stroke="#ecb732"><path d="m70.5 377.5 74 77"></path><path d="m134.5 386.5-47 50"></path></g><g stroke="#ecb732" transform="matrix(-1 0 0 1 298 377)"><path d="m.5.5 74 77"></path><path d="m64.5 9.5-47 50"></path></g><g stroke="#ffc73b" transform="matrix(0 1 -1 0 215 207)"><path d="m.5.5 49 49"></path><path d="m.5 10.5 49 49" transform="matrix(-1 0 0 1 50 0)"></path></g></g></g></svg><path d="M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z" fill="currentColor"></path>',2),po=[Mo];function Fo(A,B){return d(),y("svg",uo,po)}const Go=Bg(ho,[["render",Fo]]),oE=Symbol("VirtualRouteKey"),SI=Symbol("VirtualRoutesKey");function No(A){const B=S({path:"/"}),Q=x(()=>B.value.path),g=_({setup(){return()=>{const E=A.find(C=>C.path===Q.value);return E?CE(E.component):null}}});return sB(oE,B),sB(SI,A),{VirtualRouterView:g}}function wE(){const A=iB(oE);return{push(B){A.value.path=B}}}function Lo(){const A=iB(SI),B=iB(oE);return{routes:A,currentRoute:B}}const ko={"h-full":"","w-full":"",flex:"","items-center":""},fo={flex:"~ col gap2",ma:"","px-5":""},yo=N("div",{"flex-auto":""},null,-1),Ho={flex:"~ col","mt-20":"","items-center":""},Ro={flex:"~","mt--10":"","items-center":"","justify-center":""},Uo=N("div",{mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},[N("span",{op40:""}," Pinia DevTools ")],-1),Ko=N("div",{"flex-auto":""},null,-1),Yo={flex:"~ gap2 wrap"},Po=N("div",{"i-carbon-tree-view-alt":"","text-3xl":""},null,-1),So=N("code",null,"Store",-1),mo=[Po,So],Jo=N("div",{"i-mdi:timeline-clock-outline":"","text-3xl":""},null,-1),xo=N("div",null,"Timeline",-1),vo=[Jo,xo],Oo=N("div",{flex:"~ gap-6 wrap","mt-5":"","items-center":"","justify-center":""},[N("a",{href:"https://github.com/vuejs/pinia",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-blue",transition:""},[N("div",{"i-carbon-star":""}),PA(" Star on GitHub ")]),N("a",{href:"https://pinia.vuejs.org/",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-yellow",transition:""},[N("div",{"i-carbon-document":""}),PA(" View Documentation ")])],-1),bo=N("div",{"flex-auto":""},null,-1),qo=_({__name:"Home",setup(A){const B=wE();return(Q,g)=>(d(),y("div",ko,[N("div",fo,[yo,N("div",Ho,[N("div",Ro,[Y(Go,{"h-18":""})]),Uo]),Ko,N("div",Yo,[N("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:g[0]||(g[0]=E=>F(B).push("/store"))},mo),N("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:g[1]||(g[1]=E=>F(B).push("/timeline"))},vo)]),Oo,bo])]))}}),DE={name:"splitpanes",emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((A,B)=>(A[B.id]=B)&&A,{})}},methods:{updatePaneComponents(){this.panes.forEach(A=>{A.update&&A.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[A.id].size}%`})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(A,B){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=B},onMouseMove(A){this.touch.mouseDown&&(A.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(A)),this.$emit("resize",this.panes.map(B=>({min:B.min,max:B.max,size:B.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(A=>({min:A.min,max:A.max,size:A.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(A,B){"ontouchstart"in window&&(A.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===B?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(A,B),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=B,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[B])},onSplitterDblClick(A,B){let Q=0;this.panes=this.panes.map((g,E)=>(g.size=E===B?g.max:g.min,E!==B&&(Q+=g.min),g)),this.panes[B].size-=Q,this.$emit("pane-maximize",this.panes[B]),this.$emit("resized",this.panes.map(g=>({min:g.min,max:g.max,size:g.size})))},onPaneClick(A,B){this.$emit("pane-click",this.indexedPanes[B])},getCurrentMouseDrag(A){const B=this.container.getBoundingClientRect(),{clientX:Q,clientY:g}="ontouchstart"in window&&A.touches?A.touches[0]:A;return{x:Q-B.left,y:g-B.top}},getCurrentDragPercentage(A){A=A[this.horizontal?"y":"x"];const B=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(A=B-A),A*100/B},calculatePanesSize(A){const B=this.touch.activeSplitter;let Q={prevPanesSize:this.sumPrevPanesSize(B),nextPanesSize:this.sumNextPanesSize(B),prevReachedMinPanes:0,nextReachedMinPanes:0};const g=0+(this.pushOtherPanes?0:Q.prevPanesSize),E=100-(this.pushOtherPanes?0:Q.nextPanesSize),C=Math.max(Math.min(this.getCurrentDragPercentage(A),E),g);let I=[B,B+1],e=this.panes[I[0]]||null,t=this.panes[I[1]]||null;const o=e.max<100&&C>=e.max+Q.prevPanesSize,D=t.max<100&&C<=100-(t.max+this.sumNextPanesSize(B+1));if(o||D){o?(e.size=e.max,t.size=Math.max(100-e.max-Q.prevPanesSize-Q.nextPanesSize,0)):(e.size=Math.max(100-t.max-Q.prevPanesSize-this.sumNextPanesSize(B+1),0),t.size=t.max);return}if(this.pushOtherPanes){const w=this.doPushOtherPanes(Q,C);if(!w)return;({sums:Q,panesToResize:I}=w),e=this.panes[I[0]]||null,t=this.panes[I[1]]||null}e!==null&&(e.size=Math.min(Math.max(C-Q.prevPanesSize-Q.prevReachedMinPanes,e.min),e.max)),t!==null&&(t.size=Math.min(Math.max(100-C-Q.nextPanesSize-Q.nextReachedMinPanes,t.min),t.max))},doPushOtherPanes(A,B){const Q=this.touch.activeSplitter,g=[Q,Q+1];return B<A.prevPanesSize+this.panes[g[0]].min&&(g[0]=this.findPrevExpandedPane(Q).index,A.prevReachedMinPanes=0,g[0]<Q&&this.panes.forEach((E,C)=>{C>g[0]&&C<=Q&&(E.size=E.min,A.prevReachedMinPanes+=E.min)}),A.prevPanesSize=this.sumPrevPanesSize(g[0]),g[0]===void 0)?(A.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((E,C)=>{C>0&&C<=Q&&(E.size=E.min,A.prevReachedMinPanes+=E.min)}),this.panes[g[1]].size=100-A.prevReachedMinPanes-this.panes[0].min-A.prevPanesSize-A.nextPanesSize,null):B>100-A.nextPanesSize-this.panes[g[1]].min&&(g[1]=this.findNextExpandedPane(Q).index,A.nextReachedMinPanes=0,g[1]>Q+1&&this.panes.forEach((E,C)=>{C>Q&&C<g[1]&&(E.size=E.min,A.nextReachedMinPanes+=E.min)}),A.nextPanesSize=this.sumNextPanesSize(g[1]-1),g[1]===void 0)?(A.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((E,C)=>{C<this.panesCount-1&&C>=Q+1&&(E.size=E.min,A.nextReachedMinPanes+=E.min)}),this.panes[g[0]].size=100-A.prevPanesSize-A.nextReachedMinPanes-this.panes[this.panesCount-1].min-A.nextPanesSize,null):{sums:A,panesToResize:g}},sumPrevPanesSize(A){return this.panes.reduce((B,Q,g)=>B+(g<A?Q.size:0),0)},sumNextPanesSize(A){return this.panes.reduce((B,Q,g)=>B+(g>A+1?Q.size:0),0)},findPrevExpandedPane(A){return[...this.panes].reverse().find(B=>B.index<A&&B.size>B.min)||{}},findNextExpandedPane(A){return this.panes.find(B=>B.index>A+1&&B.size>B.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(A=>{const B=A.classList.contains("splitpanes__pane"),Q=A.classList.contains("splitpanes__splitter");!B&&!Q&&(A.parentNode.removeChild(A),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))})},addSplitter(A,B,Q=!1){const g=A-1,E=document.createElement("div");E.classList.add("splitpanes__splitter"),Q||(E.onmousedown=C=>this.onMouseDown(C,g),typeof window<"u"&&"ontouchstart"in window&&(E.ontouchstart=C=>this.onMouseDown(C,g)),E.onclick=C=>this.onSplitterClick(C,g+1)),this.dblClickSplitter&&(E.ondblclick=C=>this.onSplitterDblClick(C,g+1)),B.parentNode.insertBefore(E,B)},removeSplitter(A){A.onmousedown=void 0,A.onclick=void 0,A.ondblclick=void 0,A.parentNode.removeChild(A)},redoSplitters(){const A=Array.from(this.container.children);A.forEach(Q=>{Q.className.includes("splitpanes__splitter")&&this.removeSplitter(Q)});let B=0;A.forEach(Q=>{Q.className.includes("splitpanes__pane")&&(!B&&this.firstSplitter?this.addSplitter(B,Q,!0):B&&this.addSplitter(B,Q),B++)})},requestUpdate({target:A,...B}){const Q=this.indexedPanes[A._.uid];Object.entries(B).forEach(([g,E])=>Q[g]=E)},onPaneAdd(A){let B=-1;Array.from(A.$el.parentNode.children).some(E=>(E.className.includes("splitpanes__pane")&&B++,E===A.$el));const Q=parseFloat(A.minSize),g=parseFloat(A.maxSize);this.panes.splice(B,0,{id:A._.uid,index:B,min:isNaN(Q)?0:Q,max:isNaN(g)?100:g,size:A.size===null?null:parseFloat(A.size),givenSize:A.size,update:A.update}),this.panes.forEach((E,C)=>E.index=C),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[B]}),this.$emit("pane-add",{index:B,panes:this.panes.map(E=>({min:E.min,max:E.max,size:E.size}))})})},onPaneRemove(A){const B=this.panes.findIndex(g=>g.id===A._.uid),Q=this.panes.splice(B,1)[0];this.panes.forEach((g,E)=>g.index=E),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:{...Q,index:B}}),this.$emit("pane-remove",{removed:Q,panes:this.panes.map(g=>({min:g.min,max:g.max,size:g.size}))})})},resetPaneSizes(A={}){!A.addedPane&&!A.removedPane?this.initialPanesSizing():this.panes.some(B=>B.givenSize!==null||B.min||B.max<100)?this.equalizeAfterAddOrRemove(A):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(B=>({min:B.min,max:B.max,size:B.size})))},equalize(){const A=100/this.panesCount;let B=0;const Q=[],g=[];this.panes.forEach(E=>{E.size=Math.max(Math.min(A,E.max),E.min),B-=E.size,E.size>=E.max&&Q.push(E.id),E.size<=E.min&&g.push(E.id)}),B>.1&&this.readjustSizes(B,Q,g)},initialPanesSizing(){let A=100;const B=[],Q=[];let g=0;this.panes.forEach(C=>{A-=C.size,C.size!==null&&g++,C.size>=C.max&&B.push(C.id),C.size<=C.min&&Q.push(C.id)});let E=100;A>.1&&(this.panes.forEach(C=>{C.size===null&&(C.size=Math.max(Math.min(A/(this.panesCount-g),C.max),C.min)),E-=C.size}),E>.1&&this.readjustSizes(A,B,Q))},equalizeAfterAddOrRemove({addedPane:A,removedPane:B}={}){let Q=100/this.panesCount,g=0;const E=[],C=[];A&&A.givenSize!==null&&(Q=(100-A.givenSize)/(this.panesCount-1)),this.panes.forEach(I=>{g-=I.size,I.size>=I.max&&E.push(I.id),I.size<=I.min&&C.push(I.id)}),!(Math.abs(g)<.1)&&(this.panes.forEach(I=>{A&&A.givenSize!==null&&A.id===I.id||(I.size=Math.max(Math.min(Q,I.max),I.min)),g-=I.size,I.size>=I.max&&E.push(I.id),I.size<=I.min&&C.push(I.id)}),g>.1&&this.readjustSizes(g,E,C))},readjustSizes(A,B,Q){let g;A>0?g=A/(this.panesCount-B.length):g=A/(this.panesCount-Q.length),this.panes.forEach((E,C)=>{if(A>0&&!B.includes(E.id)){const I=Math.max(Math.min(E.size+g,E.max),E.min),e=I-E.size;A-=e,E.size=I}else if(!Q.includes(E.id)){const I=Math.max(Math.min(E.size+g,E.max),E.min),e=I-E.size;A-=e,E.size=I}E.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[E.id].size}%`})}),Math.abs(A)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(A){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((B,Q)=>{B.ondblclick=A?g=>this.onSplitterDblClick(g,Q):void 0})}},beforeUnmount(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(){return CE("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},To=(A,B)=>{const Q=A.__vccOpts||A;for(const[g,E]of B)Q[g]=E;return Q},Wo={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeUnmount(){this.onPaneRemove(this)},methods:{update(A){this.style=A}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(A){this.requestUpdate({target:this,size:A})},minSizeNumber(A){this.requestUpdate({target:this,min:A})},maxSizeNumber(A){this.requestUpdate({target:this,max:A})}}};function Xo(A,B,Q,g,E,C){return d(),y("div",{class:"splitpanes__pane",onClick:B[0]||(B[0]=I=>C.onPaneClick(I,A._.uid)),style:GA(A.style)},[eA(A.$slots,"default")],4)}const LB=To(Wo,[["render",Xo]]);var Zo=Object.create,mI=Object.defineProperty,zo=Object.getOwnPropertyDescriptor,sE=Object.getOwnPropertyNames,jo=Object.getPrototypeOf,Vo=Object.prototype.hasOwnProperty,_o=(A,B)=>function(){return A&&(B=(0,A[sE(A)[0]])(A=0)),B},$o=(A,B)=>function(){return B||(0,A[sE(A)[0]])((B={exports:{}}).exports,B),B.exports},Aw=(A,B,Q,g)=>{if(B&&typeof B=="object"||typeof B=="function")for(let E of sE(B))!Vo.call(A,E)&&E!==Q&&mI(A,E,{get:()=>B[E],enumerable:!(g=zo(B,E))||g.enumerable});return A},Bw=(A,B,Q)=>(Q=A!=null?Zo(jo(A)):{},Aw(B||!A||!A.__esModule?mI(Q,"default",{value:A,enumerable:!0}):Q,A)),CQ=_o({"../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.43.0_@types+node@20.12.7__postcss@8.4.38_typescript@5.4.5/node_modules/tsup/assets/esm_shims.js"(){}}),Qw=$o({"../../node_modules/.pnpm/rfdc@1.3.1/node_modules/rfdc/index.js"(A,B){CQ(),B.exports=g;function Q(C){return C instanceof Buffer?Buffer.from(C):new C.constructor(C.buffer.slice(),C.byteOffset,C.length)}function g(C){if(C=C||{},C.circles)return E(C);return C.proto?t:e;function I(o,D){for(var w=Object.keys(o),s=new Array(w.length),i=0;i<w.length;i++){var a=w[i],n=o[a];typeof n!="object"||n===null?s[a]=n:n instanceof Date?s[a]=new Date(n):ArrayBuffer.isView(n)?s[a]=Q(n):s[a]=D(n)}return s}function e(o){if(typeof o!="object"||o===null)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return I(o,e);if(o instanceof Map)return new Map(I(Array.from(o),e));if(o instanceof Set)return new Set(I(Array.from(o),e));var D={};for(var w in o)if(Object.hasOwnProperty.call(o,w)!==!1){var s=o[w];typeof s!="object"||s===null?D[w]=s:s instanceof Date?D[w]=new Date(s):s instanceof Map?D[w]=new Map(I(Array.from(s),e)):s instanceof Set?D[w]=new Set(I(Array.from(s),e)):ArrayBuffer.isView(s)?D[w]=Q(s):D[w]=e(s)}return D}function t(o){if(typeof o!="object"||o===null)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return I(o,t);if(o instanceof Map)return new Map(I(Array.from(o),t));if(o instanceof Set)return new Set(I(Array.from(o),t));var D={};for(var w in o){var s=o[w];typeof s!="object"||s===null?D[w]=s:s instanceof Date?D[w]=new Date(s):s instanceof Map?D[w]=new Map(I(Array.from(s),t)):s instanceof Set?D[w]=new Set(I(Array.from(s),t)):ArrayBuffer.isView(s)?D[w]=Q(s):D[w]=t(s)}return D}}function E(C){var I=[],e=[];return C.proto?D:o;function t(w,s){for(var i=Object.keys(w),a=new Array(i.length),n=0;n<i.length;n++){var r=i[n],l=w[r];if(typeof l!="object"||l===null)a[r]=l;else if(l instanceof Date)a[r]=new Date(l);else if(ArrayBuffer.isView(l))a[r]=Q(l);else{var h=I.indexOf(l);h!==-1?a[r]=e[h]:a[r]=s(l)}}return a}function o(w){if(typeof w!="object"||w===null)return w;if(w instanceof Date)return new Date(w);if(Array.isArray(w))return t(w,o);if(w instanceof Map)return new Map(t(Array.from(w),o));if(w instanceof Set)return new Set(t(Array.from(w),o));var s={};I.push(w),e.push(s);for(var i in w)if(Object.hasOwnProperty.call(w,i)!==!1){var a=w[i];if(typeof a!="object"||a===null)s[i]=a;else if(a instanceof Date)s[i]=new Date(a);else if(a instanceof Map)s[i]=new Map(t(Array.from(a),o));else if(a instanceof Set)s[i]=new Set(t(Array.from(a),o));else if(ArrayBuffer.isView(a))s[i]=Q(a);else{var n=I.indexOf(a);n!==-1?s[i]=e[n]:s[i]=o(a)}}return I.pop(),e.pop(),s}function D(w){if(typeof w!="object"||w===null)return w;if(w instanceof Date)return new Date(w);if(Array.isArray(w))return t(w,D);if(w instanceof Map)return new Map(t(Array.from(w),D));if(w instanceof Set)return new Set(t(Array.from(w),D));var s={};I.push(w),e.push(s);for(var i in w){var a=w[i];if(typeof a!="object"||a===null)s[i]=a;else if(a instanceof Date)s[i]=new Date(a);else if(a instanceof Map)s[i]=new Map(t(Array.from(a),D));else if(a instanceof Set)s[i]=new Set(t(Array.from(a),D));else if(ArrayBuffer.isView(a))s[i]=Q(a);else{var n=I.indexOf(a);n!==-1?s[i]=e[n]:s[i]=D(a)}}return I.pop(),e.pop(),s}}}});CQ();CQ();var gw=typeof navigator<"u",Z=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{};typeof Z.chrome<"u"&&Z.chrome.devtools;gw&&(Z.self,Z.top);typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes("electron");CQ();var Ew=Bw(Qw(),1),Cw=/(?:^|[-_/])(\w)/g,Iw=/-(\w)/g;function JI(A,B){return B?B.toUpperCase():""}function ew(A){return A&&`${A}`.replace(Cw,JI)}function tw(A){return A&&A.replace(Iw,JI)}function ow(A,B){const Q=A.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"),g=Q.lastIndexOf("/"),E=Q.substring(g+1);if(B){const C=E.lastIndexOf(B);return E.substring(0,C)}return""}function xI(A){return A&&A.slice().sort((B,Q)=>B.key<Q.key?-1:B.key>Q.key?1:0)}var ZE=(0,Ew.default)({circles:!0});function zE(A){return typeof A=="object"&&!Array.isArray(A)&&A!==null}function jE(A){return Array.isArray(A)}CQ();function Rg(A,B={},Q){for(const g in A){const E=A[g],C=Q?`${Q}:${g}`:g;typeof E=="object"&&E!==null?Rg(E,B,C):typeof E=="function"&&(B[C]=E)}return B}const ww={run:A=>A()},Dw=()=>ww,vI=typeof console.createTask<"u"?console.createTask:Dw;function sw(A,B){const Q=B.shift(),g=vI(Q);return A.reduce((E,C)=>E.then(()=>g.run(()=>C(...B))),Promise.resolve())}function iw(A,B){const Q=B.shift(),g=vI(Q);return Promise.all(A.map(E=>g.run(()=>E(...B))))}function rg(A,B){for(const Q of[...A])Q(B)}class nw{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(B,Q,g={}){if(!B||typeof Q!="function")return()=>{};const E=B;let C;for(;this._deprecatedHooks[B];)C=this._deprecatedHooks[B],B=C.to;if(C&&!g.allowDeprecated){let I=C.message;I||(I=`${E} hook has been deprecated`+(C.to?`, please use ${C.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(I)||(console.warn(I),this._deprecatedMessages.add(I))}if(!Q.name)try{Object.defineProperty(Q,"name",{get:()=>"_"+B.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[B]=this._hooks[B]||[],this._hooks[B].push(Q),()=>{Q&&(this.removeHook(B,Q),Q=void 0)}}hookOnce(B,Q){let g,E=(...C)=>(typeof g=="function"&&g(),g=void 0,E=void 0,Q(...C));return g=this.hook(B,E),g}removeHook(B,Q){if(this._hooks[B]){const g=this._hooks[B].indexOf(Q);g!==-1&&this._hooks[B].splice(g,1),this._hooks[B].length===0&&delete this._hooks[B]}}deprecateHook(B,Q){this._deprecatedHooks[B]=typeof Q=="string"?{to:Q}:Q;const g=this._hooks[B]||[];delete this._hooks[B];for(const E of g)this.hook(B,E)}deprecateHooks(B){Object.assign(this._deprecatedHooks,B);for(const Q in B)this.deprecateHook(Q,B[Q])}addHooks(B){const Q=Rg(B),g=Object.keys(Q).map(E=>this.hook(E,Q[E]));return()=>{for(const E of g.splice(0,g.length))E()}}removeHooks(B){const Q=Rg(B);for(const g in Q)this.removeHook(g,Q[g])}removeAllHooks(){for(const B in this._hooks)delete this._hooks[B]}callHook(B,...Q){return Q.unshift(B),this.callHookWith(sw,B,...Q)}callHookParallel(B,...Q){return Q.unshift(B),this.callHookWith(iw,B,...Q)}callHookWith(B,Q,...g){const E=this._before||this._after?{name:Q,args:g,context:{}}:void 0;this._before&&rg(this._before,E);const C=B(Q in this._hooks?[...this._hooks[Q]]:[],g);return C instanceof Promise?C.finally(()=>{this._after&&E&&rg(this._after,E)}):(this._after&&E&&rg(this._after,E),C)}beforeEach(B){return this._before=this._before||[],this._before.push(B),()=>{if(this._before!==void 0){const Q=this._before.indexOf(B);Q!==-1&&this._before.splice(Q,1)}}}afterEach(B){return this._after=this._after||[],this._after.push(B),()=>{if(this._after!==void 0){const Q=this._after.indexOf(B);Q!==-1&&this._after.splice(Q,1)}}}}function OI(){return new nw}const aw={trailing:!0};function Qg(A,B=25,Q={}){if(Q={...aw,...Q},!Number.isFinite(B))throw new TypeError("Expected `wait` to be a finite number");let g,E,C=[],I,e;const t=(o,D)=>(I=rw(A,o,D),I.finally(()=>{if(I=null,Q.trailing&&e&&!E){const w=t(o,e);return e=null,w}}),I);return function(...o){return I?(Q.trailing&&(e=o),I):new Promise(D=>{const w=!E&&Q.leading;clearTimeout(E),E=setTimeout(()=>{E=null;const s=Q.leading?g:t(this,o);for(const i of C)i(s);C=[]},B),w?(g=t(this,o),D(g)):C.push(D)})}}async function rw(A,B,Q){return await A.apply(B,Q)}var cw=Object.create,bI=Object.defineProperty,lw=Object.getOwnPropertyDescriptor,iE=Object.getOwnPropertyNames,hw=Object.getPrototypeOf,uw=Object.prototype.hasOwnProperty,Mw=(A,B)=>function(){return A&&(B=(0,A[iE(A)[0]])(A=0)),B},qI=(A,B)=>function(){return B||(0,A[iE(A)[0]])((B={exports:{}}).exports,B),B.exports},pw=(A,B,Q,g)=>{if(B&&typeof B=="object"||typeof B=="function")for(let E of iE(B))!uw.call(A,E)&&E!==Q&&bI(A,E,{get:()=>B[E],enumerable:!(g=lw(B,E))||g.enumerable});return A},dw=(A,B,Q)=>(Q=A!=null?cw(hw(A)):{},pw(B||!A||!A.__esModule?bI(Q,"default",{value:A,enumerable:!0}):Q,A)),K=Mw({"../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.43.0_@types+node@20.12.7__postcss@8.4.38_typescript@5.4.5/node_modules/tsup/assets/esm_shims.js"(){}}),Fw=qI({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(A,B){K(),function(Q){var g={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},E=["်","ް"],C={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},I={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},e={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},t=[";","?",":","@","&","=","+","$",",","/"].join(""),o=[";","?",":","@","&","=","+","$",","].join(""),D=[".","!","~","*","'","(",")"].join(""),w=function(n,r){var l="-",h="",u="",M=!0,p={},k,v,m,W,P,q,L,f,T,j,H,EA,DA,U,R="";if(typeof n!="string")return"";if(typeof r=="string"&&(l=r),L=e.en,f=I.en,typeof r=="object"){k=r.maintainCase||!1,p=r.custom&&typeof r.custom=="object"?r.custom:p,m=+r.truncate>1&&r.truncate||!1,W=r.uric||!1,P=r.uricNoSlash||!1,q=r.mark||!1,M=!(r.symbols===!1||r.lang===!1),l=r.separator||l,W&&(R+=t),P&&(R+=o),q&&(R+=D),L=r.lang&&e[r.lang]&&M?e[r.lang]:M?e.en:{},f=r.lang&&I[r.lang]?I[r.lang]:r.lang===!1||r.lang===!0?{}:I.en,r.titleCase&&typeof r.titleCase.length=="number"&&Array.prototype.toString.call(r.titleCase)?(r.titleCase.forEach(function(J){p[J+""]=J+""}),v=!0):v=!!r.titleCase,r.custom&&typeof r.custom.length=="number"&&Array.prototype.toString.call(r.custom)&&r.custom.forEach(function(J){p[J+""]=J+""}),Object.keys(p).forEach(function(J){var z;J.length>1?z=new RegExp("\\b"+i(J)+"\\b","gi"):z=new RegExp(i(J),"gi"),n=n.replace(z,p[J])});for(H in p)R+=H}for(R+=l,R=i(R),n=n.replace(/(^\s+|\s+$)/g,""),DA=!1,U=!1,j=0,EA=n.length;j<EA;j++)H=n[j],a(H,p)?DA=!1:f[H]?(H=DA&&f[H].match(/[A-Za-z0-9]/)?" "+f[H]:f[H],DA=!1):H in g?(j+1<EA&&E.indexOf(n[j+1])>=0?(u+=H,H=""):U===!0?(H=C[u]+g[H],u=""):H=DA&&g[H].match(/[A-Za-z0-9]/)?" "+g[H]:g[H],DA=!1,U=!1):H in C?(u+=H,H="",j===EA-1&&(H=C[u]),U=!0):L[H]&&!(W&&t.indexOf(H)!==-1)&&!(P&&o.indexOf(H)!==-1)?(H=DA||h.substr(-1).match(/[A-Za-z0-9]/)?l+L[H]:L[H],H+=n[j+1]!==void 0&&n[j+1].match(/[A-Za-z0-9]/)?l:"",DA=!0):(U===!0?(H=C[u]+H,u="",U=!1):DA&&(/[A-Za-z0-9]/.test(H)||h.substr(-1).match(/A-Za-z0-9]/))&&(H=" "+H),DA=!1),h+=H.replace(new RegExp("[^\\w\\s"+R+"_-]","g"),l);return v&&(h=h.replace(/(\w)(\S*)/g,function(J,z,CA){var gB=z.toUpperCase()+(CA!==null?CA:"");return Object.keys(p).indexOf(gB.toLowerCase())<0?gB:gB.toLowerCase()})),h=h.replace(/\s+/g,l).replace(new RegExp("\\"+l+"+","g"),l).replace(new RegExp("(^\\"+l+"+|\\"+l+"+$)","g"),""),m&&h.length>m&&(T=h.charAt(m)===l,h=h.slice(0,m),T||(h=h.slice(0,h.lastIndexOf(l)))),!k&&!v&&(h=h.toLowerCase()),h},s=function(n){return function(r){return w(r,n)}},i=function(n){return n.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},a=function(n,r){for(var l in r)if(r[l]===n)return!0};if(typeof B<"u"&&B.exports)B.exports=w,B.exports.createSlug=s;else if(typeof define<"u"&&define.amd)define([],function(){return w});else try{if(Q.getSlug||Q.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";Q.getSlug=w,Q.createSlug=s}catch{}}(A)}}),Gw=qI({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(A,B){K(),B.exports=Fw()}});K();K();K();K();K();K();K();K();K();K();var VE,_E,XA=(_E=(VE=Z).__VUE_DEVTOOLS_HOOK)!=null?_E:VE.__VUE_DEVTOOLS_HOOK=OI(),Nw={vueAppInit(A){XA.hook("app:init",A)},vueAppUnmount(A){XA.hook("app:unmount",A)},vueAppConnected(A){XA.hook("app:connected",A)},componentAdded(A){return XA.hook("component:added",A)},componentUpdated(A){return XA.hook("component:updated",A)},componentRemoved(A){return XA.hook("component:removed",A)},setupDevtoolsPlugin(A){XA.hook("devtools-plugin:setup",A)}},Lw={on:Nw,setupDevToolsPlugin(A,B){return XA.callHook("devtools-plugin:setup",A,B)}};K();K();K();K();K();K();K();dw(Gw(),1);K();K();K();var $E,AC,IQ=(AC=($E=Z).__VUE_DEVTOOLS_API_HOOK)!=null?AC:$E.__VUE_DEVTOOLS_API_HOOK=OI();function kw(A){const B=new Map;return(A?.getRoutes()||[]).filter(Q=>!B.has(Q.path)&&B.set(Q.path,1))}function nE(A){return A.map(B=>{let{path:Q,name:g,children:E}=B;return E!=null&&E.length&&(E=nE(E)),{path:Q,name:g,children:E}})}function fw(A){if(A){const{fullPath:B,hash:Q,href:g,path:E,name:C,matched:I,params:e,query:t}=A;return{fullPath:B,hash:Q,href:g,path:E,name:C,params:e,query:t,matched:nE(I)}}return A}function yw(A,B){function Q(){var g;const E=(g=A.app)==null?void 0:g.config.globalProperties.$router,C=fw(E?.currentRoute.value),I=nE(kw(E)),e=console.warn;console.warn=()=>{},Z[kB]={currentRoute:C?ZE(C):{},routes:ZE(I)},Z[KQ]=E,console.warn=e}Q(),Lw.on.componentUpdated(Qg(()=>{var g;((g=B.activeAppRecord)==null?void 0:g.app)===A.app&&(Q(),IQ.callHook("router-info:updated",Z[kB]))},200))}K();K();K();function Hw(A){return A.name||A._componentTag||A.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||A.__name}function TI(A){const B=A.__file;if(B)return ew(ow(B,".vue"))}function Rw(A){return A.displayName||A.name||A._componentTag||TI(A)}function BC(A,B){return A.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=B,B}function Uw(A){var B,Q,g;const E=Hw(A.type||{});if(E)return E;if(A.root===A)return"Root";for(const I in(Q=(B=A.parent)==null?void 0:B.type)==null?void 0:Q.components)if(A.parent.type.components[I]===A.type)return BC(A,I);for(const I in(g=A.appContext)==null?void 0:g.components)if(A.appContext.components[I]===A.type)return BC(A,I);return TI(A.type||{})||"Anonymous Component"}function QB(A){try{return A()}catch(B){return B}}K();K();K();K();K();K();K();K();var Kw=new Set(["nextTick","defineComponent","defineAsyncComponent","defineCustomElement","ref","computed","reactive","readonly","watchEffect","watchPostEffect","watchSyncEffect","watch","isRef","unref","toRef","toRefs","isProxy","isReactive","isReadonly","shallowRef","triggerRef","customRef","shallowReactive","shallowReadonly","toRaw","markRaw","effectScope","getCurrentScope","onScopeDispose","onMounted","onUpdated","onUnmounted","onBeforeMount","onBeforeUpdate","onBeforeUnmount","onErrorCaptured","onRenderTracked","onRenderTriggered","onActivated","onDeactivated","onServerPrefetch","provide","inject","h","mergeProps","cloneVNode","isVNode","resolveComponent","resolveDirective","withDirectives","withModifiers"]),QC=/^\[native Symbol Symbol\((.*)\)\]$/,Yw=/^\[object (\w+)]$/,HQ=/^\[native (\w+) (.*?)(<>((.|\s)*))?\]$/,Pw=/^(?:function|class) (\w+)/,gC=1e4,EC=5e3,eQ="__vue_devtool_undefined__",tQ="__vue_devtool_infinity__",oQ="__vue_devtool_negative_infinity__",wQ="__vue_devtool_nan__",Sw={"<":"<",">":">",'"':""","&":"&"};K();K();function mw(A){return A._&&Object.keys(A._).includes("vnode")}function aE(A){return Object.prototype.toString.call(A)==="[object Object]"}function Jw(A){if(A==null)return!0;const B=typeof A;return B==="string"||B==="number"||B==="boolean"}function WI(A){return!!A.__v_isRef}function xw(A){return WI(A)&&!!A.effect}function vw(A){return!!A.__v_isReactive}function Ow(A){return!!A.__v_isReadonly}var RQ={[eQ]:"undefined",[wQ]:"NaN",[tQ]:"Infinity",[oQ]:"-Infinity"},cg=Object.entries(RQ).reduce((A,[B,Q])=>(A[Q]=B,A),{});function bw(A){return A===null?"null":typeof A=="string"&&RQ[A]||!1}function qw(A){const B=new RegExp(`"(${Object.keys(RQ).join("|")})"`,"g");return A.replace(B,(Q,g)=>RQ[g])}function Tw(A){const B=cg[A.trim()];if(B)return`"${B}"`;const Q=new RegExp(`:\\s*(${Object.keys(cg).join("|")})`,"g");return A.replace(Q,(g,E)=>`:"${cg[E]}"`)}function XI(A){if(Array.isArray(A))return A.map(Q=>XI(Q)).join(" or ");if(A==null)return"null";const B=A.toString().match(Pw);return typeof A=="function"&&B&&B[1]||"any"}function Ww(A){return!Jw(A)&&!Array.isArray(A)&&!aE(A)?Object.prototype.toString.call(A):A}function ZI(A){return{ref:WI(A),computed:xw(A),reactive:vw(A),readonly:Ow(A)}}function zI(A){return A!=null&&A.__v_raw?A.__v_raw:A}function SB(A){return A.replace(/[<>"&]/g,B=>Sw[B]||B)}function UQ(A,B,Q){if(typeof B=="function"&&(B=B.options),!B)return A;const{mixins:g,extends:E}=B;E&&UQ(A,E),g&&g.forEach(C=>UQ(A,C));for(const C of["computed","inject"])Object.prototype.hasOwnProperty.call(B,C)&&(A[C]?Object.assign(A[C],B[C]):A[C]=B[C]);return A}function Xw(A){const B=A.type,{mixins:Q,extends:g}=B,E=A.appContext.mixins;if(!E.length&&!Q&&!g)return B;const C={};return E.forEach(I=>UQ(C,I)),UQ(C,B),C}function Zw(A){const B=[],Q=A.type.props;for(const g in A.props){const E=Q?Q[g]:null,C=tw(g);B.push({type:"props",key:C,value:QB(()=>A.props[g]),meta:E?{type:E.type?XI(E.type):"any",required:!!E.required,...E.default?{default:E.default.toString()}:{}}:{type:"invalid"}})}return B}function zw(A){const B=A.type,Q=B.props,g=B.vuex&&B.vuex.getters,E=B.computed,C={...A.data,...A.renderContext};return Object.keys(C).filter(I=>!(Q&&I in Q)&&!(g&&I in g)&&!(E&&I in E)).map(I=>({key:I,type:"data",value:QB(()=>C[I]),editable:!0}))}function jw(A){const B=A.computed?"computed":A.ref?"ref":A.reactive?"reactive":null,Q=B?`${B.charAt(0).toUpperCase()}${B.slice(1)}`:null;return{stateType:B,stateTypeName:Q}}function Vw(A){const B=A.devtoolsRawSetupState||{};return Object.keys(A.setupState).filter(Q=>!Kw.has(Q)&&Q.split(/(?=[A-Z])/)[0]!=="use").map(Q=>{var g,E,C,I;const e=QB(()=>zI(A.setupState[Q])),t=B[Q];let o,D=typeof e=="function"||typeof e?.render=="function"||typeof e?.__asyncLoader=="function"||typeof e=="object"&&e&&("setup"in e||"props"in e)||/^v[A-Z]/.test(Q);if(t){const w=ZI(t),{stateType:s,stateTypeName:i}=jw(w),a=w.ref||w.computed||w.reactive,n=((E=(g=t.effect)==null?void 0:g.raw)==null?void 0:E.toString())||((I=(C=t.effect)==null?void 0:C.fn)==null?void 0:I.toString());s&&(D=!1),o={...s?{stateType:s,stateTypeName:i}:{},...n?{raw:n}:{},editable:a&&!w.readonly}}return{key:Q,value:e,type:D?"setup (other)":"setup",...o}})}function _w(A,B){const Q=B,g=[],E=Q.computed||{};for(const C in E){const I=E[C],e=typeof I=="function"&&I.vuex?"vuex bindings":"computed";g.push({type:e,key:C,value:QB(()=>{var t;return(t=A?.proxy)==null?void 0:t[C]}),editable:typeof I.set=="function"})}return g}function $w(A){return Object.keys(A.attrs).map(B=>({type:"attrs",key:B,value:QB(()=>A.attrs[B])}))}function AD(A){return Reflect.ownKeys(A.provides).map(B=>({type:"provided",key:B.toString(),value:QB(()=>A.provides[B])}))}function BD(A,B){if(!(B!=null&&B.inject))return[];let Q=[],g;return Array.isArray(B.inject)?Q=B.inject.map(E=>({key:E,originalKey:E})):Q=Reflect.ownKeys(B.inject).map(E=>{const C=B.inject[E];let I;return typeof C=="string"||typeof C=="symbol"?I=C:(I=C.from,g=C.default),{key:E,originalKey:I}}),Q.map(({key:E,originalKey:C})=>({type:"injected",key:C&&E!==C?`${C.toString()} ➞ ${E.toString()}`:E.toString(),value:QB(()=>A.ctx.hasOwnProperty(E)?A.ctx[E]:A.provides.hasOwnProperty(C)?A.provides[C]:g)}))}function QD(A){return Object.keys(A.refs).map(B=>({type:"refs",key:B,value:QB(()=>A.refs[B])}))}function gD(A){var B;const Q=A.type.emits,g=Array.isArray(Q)?Q:Object.keys(Q??{}),E=Object.keys((B=A.vnode.props)!=null?B:{}),C=[];for(const I of E){const[e,...t]=I.split(/(?=[A-Z])/);if(e==="on"){const o=t.join("-").toLowerCase(),D=g.includes(o);C.push({type:"event listeners",key:o,value:{_custom:{displayText:D?"✅ Declared":"⚠️ Not declared",key:D?"✅ Declared":"⚠️ Not declared",value:D?"✅ Declared":"⚠️ Not declared",tooltipText:D?null:`The event <code>${o}</code> is not declared in the <code>emits</code> option. It will leak into the component's attributes (<code>$attrs</code>).`}}})}}return C}function ED(A){const B=Xw(A);return Zw(A).concat(zw(A),Vw(A),_w(A,B),$w(A),AD(A),BD(A,B),QD(A),gD(A))}K();K();K();K();K();function CD(A){let B="",Q=null;try{B=Function.prototype.toString.call(A),Q=String.prototype.match.call(B,/\([\s\S]*?\)/)}catch{}const g=Q&&Q[0],E=typeof g=="string"?g:"(?)",C=typeof A.name=="string"?A.name:"";return{_custom:{type:"function",displayText:`<span style="opacity:.5;margin-right:5px;">function</span> <span style="white-space:nowrap;">${SB(C)}${E}</span>`,tooltipText:B.trim()?`<pre>${B}</pre>`:null}}}function ID(A){const B=BigInt.prototype.toString.call(A);return{_custom:{type:"bigint",displayText:`BigInt(${B})`,value:B}}}function eD(A){const B=new Date(A.getTime());return B.setMinutes(B.getMinutes()-B.getTimezoneOffset()),{_custom:{type:"date",displayText:Date.prototype.toString.call(A),value:B.toISOString().slice(0,-1)}}}function tD(A){return{_custom:{type:"map",displayText:"Map",value:Object.fromEntries(A),readOnly:!0,fields:{abstract:!0}}}}function oD(A){const B=Array.from(A);return{_custom:{type:"set",displayText:`Set[${B.length}]`,value:B,readOnly:!0}}}function wD(A){const B={},Q=A.getters||{},g=Object.keys(Q);for(let E=0;E<g.length;E++){const C=g[E];Object.defineProperty(B,C,{enumerable:!0,get:()=>{try{return Q[C]}catch(I){return I}}})}return B}function DD(A){if(A.length)return A.reduce((B,Q)=>{const g=Q.type||"data",E=B[g]=B[g]||{};return E[Q.key]=Q.value,B},{})}function sD(A){const B={},Q=A.length;for(let g=0;g<Q;g++){const E=A.item(g);B[E.name]=E.value}return B}function iD(A){return{_custom:{type:"store",displayText:"Store",value:{state:A.state,getters:wD(A)},fields:{abstract:!0}}}}function nD(A){return{_custom:{type:"router",displayText:"VueRouter",value:{options:A.options,currentRoute:A.currentRoute},fields:{abstract:!0}}}}function aD(A){A._&&(A=A._);const B=ED(A);return{_custom:{type:"component",id:A.__VUE_DEVTOOLS_NEXT_UID__,displayText:Uw(A),tooltipText:"Component instance",value:DD(B),fields:{abstract:!0}}}}function rD(A){let B=Rw(A);return B?A.name&&A.__file&&(B+=` <span>(${A.__file})</span>`):B="<i>Unknown Component</i>",{_custom:{type:"component-definition",displayText:B,tooltipText:"Component definition",...A.__file?{file:A.__file}:{}}}}function cD(A){try{return{_custom:{type:"HTMLElement",displayText:`<span class="opacity-30"><</span><span class="text-blue-500">${A.tagName.toLowerCase()}</span><span class="opacity-30">></span>`,value:sD(A.attributes)}}}catch{return{_custom:{type:"HTMLElement",displayText:`<span class="text-blue-500">${String(A)}</span>`}}}}function lD(A){var B,Q,g,E;const C=ZI(A);if(C.ref||C.computed||C.reactive){const I=C.computed?"Computed":C.ref?"Ref":C.reactive?"Reactive":null,e=zI(C.reactive?A:A._value),t=((Q=(B=A.effect)==null?void 0:B.raw)==null?void 0:Q.toString())||((E=(g=A.effect)==null?void 0:g.fn)==null?void 0:E.toString());return{_custom:{type:I?.toLowerCase(),stateTypeName:I,value:e,...t?{tooltipText:`<span class="font-mono">${t}</span>`}:{}}}}if(typeof A.__asyncLoader=="function")return{_custom:{type:"component-definition",display:"Async component definition"}}}function hD(A){var B;if(A==="compilerOptions")return;const Q=this[A],g=typeof Q;if(Array.isArray(Q)){const E=Q.length;return E>EC?{_isArray:!0,length:E,items:Q.slice(0,EC)}:Q}else{if(typeof Q=="string")return Q.length>gC?`${Q.substring(0,gC)}... (${Q.length} total length)`:Q;if(g==="undefined")return eQ;if(Q===Number.POSITIVE_INFINITY)return tQ;if(Q===Number.NEGATIVE_INFINITY)return oQ;if(typeof Q=="function")return CD(Q);if(g==="symbol")return`[native Symbol ${Symbol.prototype.toString.call(Q)}]`;if(typeof Q=="bigint")return ID(Q);if(Q!==null&&typeof Q=="object"){const E=Object.prototype.toString.call(Q);if(E==="[object Map]")return tD(Q);if(E==="[object Set]")return oD(Q);if(E==="[object RegExp]")return`[native RegExp ${RegExp.prototype.toString.call(Q)}]`;if(E==="[object Date]")return eD(Q);if(E==="[object Error]")return`[native Error ${Q.message}<>${Q.stack}]`;if(Q.state&&Q._vm)return iD(Q);if(Q.constructor&&Q.constructor.name==="VueRouter")return nD(Q);if(mw(Q))return aD(Q);if(typeof Q.render=="function")return rD(Q);if(Q.constructor&&Q.constructor.name==="VNode")return`[native VNode <${Q.tag}>]`;if(typeof HTMLElement<"u"&&Q instanceof HTMLElement)return cD(Q);if(((B=Q.constructor)==null?void 0:B.name)==="Store"&&Q._wrappedGetters)return"[object Store]";if(Q.currentRoute)return"[object Router]";const C=lD(Q);if(C!=null)return C}else if(Number.isNaN(Q))return wQ}return Ww(Q)}K();function uD(A){const B=new Set,Q=A._custom.value;for(let g=0;g<Q.length;g++){const E=Q[g];B.add(gg(E))}return B}function MD(A){const B=new Map,Q=A._custom.value;for(let g=0;g<Q.length;g++){const{key:E,value:C}=Q[g];B.set(E,gg(C))}return B}function gg(A){var B;if(A!==eQ){if(A===tQ)return Number.POSITIVE_INFINITY;if(A===oQ)return Number.NEGATIVE_INFINITY;if(A===wQ)return Number.NaN;if(A&&A._custom){const{_custom:Q}=A;return Q.type==="component"?(B=mB.appRecord)==null?void 0:B.instanceMap.get(Q.id):Q.type==="map"?MD(A):Q.type==="set"?uD(A):Q.type==="bigint"?BigInt(Q.value):gg(Q.value)}else if(QC.test(A)){const[,Q]=QC.exec(A);return Symbol.for(Q)}else if(HQ.test(A)){const[,Q,g,,E]=HQ.exec(A),C=new Z[Q](g);return Q==="Error"&&E&&(C.stack=E),C}else return A}}function jI(A,B){return gg(B)}K();var nQ=512*1024;function Ug(A,B,Q,g){let E,C,I,e,t;const o=g.get(A);if(o!=null)return o;const D=Q.length,w=Object.prototype.toString.call(A);if(w==="[object Object]"){E={},g.set(A,D),Q.push(E);const s=Object.keys(A);for(e=0,t=s.length;e<t;e++){C=s[e];try{if(C==="compilerOptions")return;I=A[C],B&&(I=B.call(A,C,I))}catch(i){I=i}E[C]=Ug(I,B,Q,g)}}else if(w==="[object Array]")for(E=[],g.set(A,D),Q.push(E),e=0,t=A.length;e<t;e++){try{I=A[e],B&&(I=B.call(A,e,I))}catch(s){I=s}E[e]=Ug(I,B,Q,g)}else Q.push(A);return D}function pD(A,B=null){let Q=A.length,g,E,C,I,e,t;for(;Q--;)if(C=A[Q],t=Object.prototype.toString.call(C),t==="[object Object]"){const o=Object.keys(C);for(g=0,E=o.length;g<E;g++)I=o[g],e=A[C[I]],B&&(e=B.call(C,I,e)),C[I]=e}else if(t==="[object Array]")for(g=0,E=C.length;g<E;g++)e=A[C[g]],B&&(e=B.call(C,g,e)),C[g]=e}function dD(A,B=null,Q=null){let g;try{g=arguments.length===1?JSON.stringify(A):JSON.stringify(A,B,Q)}catch{g=FD(A,B,Q)}if(g.length>nQ){const E=Math.ceil(g.length/nQ),C=[];for(let I=0;I<E;I++)C.push(g.slice(I*nQ,(I+1)*nQ));return C}return g}function FD(A,B=null,Q=null){const g=[];return Ug(A,B,g,new Map),Q?` ${JSON.stringify(g,null,Q)}`:` ${JSON.stringify(g)}`}function CC(A,B=null){if(Array.isArray(A)&&(A=A.join("")),/^\s/.test(A)){const Q=JSON.parse(A);return pD(Q,B),Q[0]}else return arguments.length===1?JSON.parse(A):JSON.parse(A,B)}K();function WB(A,B=!0){const Q=typeof A;if(A==null||A===eQ||A==="undefined")return"null";if(Q==="boolean"||Q==="number"||A===tQ||A===oQ||A===wQ)return"literal";if(A!=null&&A._custom)return B||A._custom.display!=null||A._custom.displayText!=null?"custom":WB(A._custom.value);if(typeof A=="string"){const g=HQ.exec(A);if(g){const[,E]=g;return`native ${E}`}else return"string"}else return Array.isArray(A)||A!=null&&A._isArray?"array":aE(A)?"plain-object":"unknown"}function VI(A,B=!1){var Q,g;let E;const C=WB(A,!1);if(C!=="custom"&&A!=null&&A._custom&&(A=A._custom.value),E=bw(A))return E;if(C==="custom")return((Q=A._custom.value)==null?void 0:Q._custom)&&VI(A._custom.value)||A._custom.displayText||A._custom.display;if(C==="array")return`Array[${A.length}]`;if(C==="plain-object")return`Object${Object.keys(A).length?"":" (empty)"}`;if(C!=null&&C.includes("native"))return SB((g=HQ.exec(A))==null?void 0:g[2]);if(typeof A=="string"){const I=A.match(Yw);I?A=SB(I[1]):B?A=`<span>"</span>${SB(A)}<span>"</span>`:A=SB(A),A=A.replace(/ /g," ").replace(/\n/g,"<span>\\n</span>")}return A}function rE(A){var B,Q,g;let E;const C=WB(A)==="custom";let I={};if(C){const e=A,t=(B=e._custom)==null?void 0:B.value,o=(Q=e._custom)==null?void 0:Q.type,D=typeof t=="object"&&t!==null&&"_custom"in t?rE(t):{inherit:void 0,value:void 0,customType:void 0};I=D.inherit||((g=e._custom)==null?void 0:g.fields)||{},A=D.value||t,E=D.customType||o}return A&&A._isArray&&(A=A.items),{value:A,inherit:I,customType:E}}function GD(A,B){return B==="bigint"||B==="date"?A:qw(JSON.stringify(A))}function dQ(A,B){return B==="bigint"?BigInt(A):B==="date"?new Date(A):JSON.parse(Tw(A),jI)}function _I(A){return dD(A,hD)}function XB(A,B=!1){return A==null?{}:B?CC(A,jI):CC(A)}K();K();K();K();K();var IC;(IC=Z).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__!=null||(IC.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);K();K();K();var jA="__VUE_DEVTOOLS_GLOBAL_STATE__";function ND(){return{connected:!1,clientConnected:!1,appRecords:[],activeAppRecord:null,selectedComponentId:null,pluginBuffer:[],tabs:[],commands:[],vitePluginDetected:!1,activeAppRecordId:null,highPerfModeEnabled:!1}}var eC;(eC=Z)[jA]!=null||(eC[jA]=ND());var $I=Qg((A,B)=>{IQ.callHook("devtools:state-updated",A,B)},80),Ae=Qg((A,B)=>{IQ.callHook("devtools:connected-updated",A,B)},80),iA=new Proxy(Z[jA],{get(A,B){return Z[jA][B]},deleteProperty(A,B){return delete A[B],!0},set(A,B,Q){const g={...Z[jA]};return A[B]=Q,Z[jA][B]=Q,$I(Z[jA],g),["connected","clientConnected"].includes(B.toString())&&g[B]!==Q&&Ae(Z[jA],g),!0}});Object.defineProperty(iA.tabs,"push",{configurable:!0,value(...A){const B=Array.prototype.push.apply(this,A);return iA.tabs=this,IQ.callHook("custom-tabs:updated",this),B}});["push","splice"].forEach(A=>{Object.defineProperty(iA.commands,A,{configurable:!0,value(...B){const Q=Array.prototype[A].apply(this,B);return iA.commands=this,IQ.callHook("custom-commands:updated",this),Q}})});K();K();var KQ="__VUE_DEVTOOLS_ROUTER__",kB="__VUE_DEVTOOLS_ROUTER_INFO__",tC;(tC=Z)[kB]!=null||(tC[kB]={currentRoute:null,routes:[]});var oC;(oC=Z)[KQ]!=null||(oC[KQ]=null);var LD=new Proxy(Z[kB],{get(A,B){return Z[kB][B]}});K();var pB="__VUE_DEVTOOLS_CONTEXT__";function Be(){return{appRecord:null,api:null,inspector:[],timelineLayer:[],routerInfo:{},router:null,activeInspectorTreeId:"",componentPluginHookBuffer:[]}}var wC;(wC=Z)[pB]!=null||(wC[pB]=Be());function kD(){Z[pB]=Be()}var mB=new Proxy(Z[pB],{get(A,B){return B==="router"?Z[KQ]:B==="clear"?kD:Z[pB][B]},set(A,B,Q){return Z[pB][B]=Q,!0}});new Proxy(iA.appRecords,{get(A,B){if(B==="value")return iA.appRecords;if(B==="active")return iA.activeAppRecord;if(B==="activeId")return iA.activeAppRecordId},set(A,B,Q){var g;const E={...iA};if(B==="value")iA.appRecords=Q;else if(B==="active"){const C=Q;iA.activeAppRecord=C,mB.appRecord=C,mB.api=C.api,mB.inspector=(g=C.inspector)!=null?g:[],yw(Q,iA),mB.routerInfo=LD}else B==="activeId"&&(iA.activeAppRecordId=Q);return $I(iA,E),["connected","clientConnected"].includes(B.toString())&&E[B]!==Q&&Ae(iA,E),!0}});var DC;(DC=Z).__VUE_DEVTOOLS_NEXT_APP_RECROD_INFO__!=null||(DC.__VUE_DEVTOOLS_NEXT_APP_RECROD_INFO__={id:0,appIds:new Set});K();var sC;(sC=Z).__VUE_DEVTOOLS_ENV__!=null||(sC.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});K();K();function fD(A){iA.highPerfModeEnabled=A??!iA.highPerfModeEnabled}let yD="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Qe=(A=21)=>{let B="",Q=A;for(;Q--;)B+=yD[Math.random()*64|0];return B};var HD=Object.defineProperty,ge=(A,B)=>{for(var Q in B)HD(A,Q,{get:B[Q],enumerable:!0})},RD={};ge(RD,{onAddTimelineEvent:()=>De,onCustomCommandsUpdated:()=>gs,onCustomTabsUpdated:()=>Qs,onDevToolsStateUpdated:()=>we,onInspectorStateUpdated:()=>uE,onInspectorTreeUpdated:()=>hE,onRouterInfoUpdated:()=>Es});var UD={};ge(UD,{cancelInspectComponentInspector:()=>JD,checkVueInspectorDetected:()=>KD,editInspectorState:()=>YQ,enableVueInspector:()=>YD,getComponentBoundingRect:()=>mD,getComponentRenderCode:()=>Ie,getDevToolsState:()=>ee,getInspectorState:()=>lE,getInspectorTree:()=>cE,getMatchedRoutes:()=>TD,getRouterInfo:()=>bD,getTimelineLayer:()=>WD,inspectComponentInspector:()=>Ee,navigateAction:()=>qD,openInEditor:()=>SD,scrollToComponent:()=>Ce,toggleApp:()=>PD,toggleComponentInspector:()=>xD,toggleHighPerfMode:()=>XD,unhighlightElement:()=>OD,updateInspectorTreeId:()=>vD});var KD=gA("devtools:check-vue-inspector-detected",async A=>{var B,Q;return!!await((Q=(B=A?.api)==null?void 0:B.getVueInspector)==null?void 0:Q.call(B))}),YD=gA("devtools:enable-vue-inspector",async A=>{var B,Q;const g=await((Q=(B=A?.api)==null?void 0:B.getVueInspector)==null?void 0:Q.call(B));g&&await g.enable()}),PD=gA("devtools:toggle-app",async(A,B)=>{await A.api.toggleApp(B)}),YQ=gA("devtools:edit-inspector-state",(A,B)=>{A.api.editInspectorState(B)}),SD=gA("devtools:open-in-editor",(A,B,Q)=>{A.api.openInEditor({file:B,baseUrl:Q})}),cE=gA("devtools:inspector-tree",async(A,B)=>{const Q=await A.api.getInspectorTree(B);return _I(Q)}),mD=gA("devtools:get-component-bounding-rect",(A,B)=>A.api.getComponentBoundingRect(B)),Ee=gA("devtools:inspect-component-inspector",A=>A.api.inspectComponentInspector()),JD=gA("devtools:cancel-inspect-component-inspector",A=>A.api.cancelInspectComponentInspector()),xD=gA("devtools:toggle-component-inspector",(A,B)=>A.api.toggleComponentInspector(B)),Ce=gA("devtools:scroll-to-component",(A,B)=>A.api.scrollToComponent(B)),Ie=gA("devtools:get-component-render-code",(A,B)=>A.api.getComponentRenderCode(B)),lE=gA("devtools:inspector-state",async(A,B)=>{const Q=await A.api.getInspectorState(B);return _I(Q)}),vD=gA("devtools:update-inspector-tree-id",(A,B)=>{A.context.activeInspectorTreeId=B}),OD=gA("devtools:unhighlight-element",A=>A.api.unhighlightElement()),bD=gA("devtools:router-info",A=>JSON.stringify(A.context.routerInfo)),qD=gA("devtools:router-navigate",(A,B)=>{var Q;(Q=A.context.router)==null||Q.push(B).catch(g=>g)}),TD=gA("devtools:matched-routes",(A,B)=>{var Q,g;const E=console.warn;console.warn=()=>{};const C=(g=(Q=A.context.router)==null?void 0:Q.resolve({path:B||"/"}).matched)!=null?g:[];return console.warn=E,JSON.stringify(C)}),WD=gA("devtools:get-timeline-layer",A=>A.context.timelineLayer),ee=gA("devtools:get-state",A=>{var B,Q;return{connected:A.state.connected,clientConnected:A.state.clientConnected,vueVersion:((Q=(B=A.state)==null?void 0:B.activeAppRecord)==null?void 0:Q.version)||"",tabs:A.state.tabs,commands:A.state.commands,vitePluginDetected:A.state.vitePluginDetected,appRecords:A.state.appRecords.map(g=>({id:g.id,name:g.name,version:g.version,routerId:g.routerId,moduleDetectives:g.moduleDetectives})),activeAppRecordId:A.state.activeAppRecordId}}),XD=gA("devtools:toggle-high-perf-mode",(A,B)=>{fD(B)}),ZD="devtools:bridge-action",zD="devtools:bridge-listener",jD="__vue_devtools_bridge__",VD="__vue_devtools_bridge_target__",_D="devtools:bridge-action-events",$D="devtools:bridge-listener-events",As=Z[_D]=new Map,Bs=Z[$D]=new Map;function te(){return Z[jD]}function oe(){return Z[VD]}function gA(A,B){return async(...Q)=>{if(oe()==="devtools"){const g=te(),E=Qe();return await new Promise(C=>{g.once(E,I=>{C(I)}),g.emit(ZD,{name:A,key:E,args:Q})})}else As.set(A,B)}}function rB(A,B,Q={}){return g=>{if(oe()==="devtools"){const{parser:E="devtools"}=Q,C=E==="devtools"?XB:JSON.parse,I=te(),e=Qe(),t=I.on(e,o=>{g(C(o))});return I.emit(zD,{key:e,name:A,parser:E}),t}else return Bs.set(A,B),()=>{}}}var we=rB("devtools:on-state-updated",(A,B)=>{function Q(E){var C;return{vueVersion:((C=E?.activeAppRecord)==null?void 0:C.version)||"",connected:E.connected,clientConnected:E.clientConnected,tabs:E.tabs,commands:E.commands,vitePluginDetected:E.vitePluginDetected,appRecords:E.appRecords.map(I=>({id:I.id,name:I.name,version:I.version,routerId:I.routerId,moduleDetectives:I.moduleDetectives})),activeAppRecordId:E.activeAppRecordId}}function g(){A.api.on.devtoolsStateUpdated(E=>{B(Q(E))})}if(A!=null&&A.api)g();else{const E=setInterval(()=>{if(A.state.connected){const C=A.state;B(Q(C)),g(),clearInterval(E)}},10)}}),Qs=rB("devtools:on-custom-tabs-updated",(A,B)=>{A.api.on.customTabsUpdated(Q=>{B(Q)})}),gs=rB("devtools:on-custom-commands-updated",(A,B)=>{A.api.on.customCommandsUpdated(Q=>{B(Q)})}),hE=rB("devtools:on-inspector-tree-updated",(A,B)=>{A.api.on.sendInspectorTree(Q=>{B(Q)})}),uE=rB("devtools:on-inspector-state-updated",(A,B)=>{A.api.on.sendInspectorState(Q=>{B(Q)})}),Es=rB("devtools:on-router-info-updated",(A,B)=>{A.api.on.routerInfoUpdated(Q=>{B(Q)})},{parser:"json"}),De=rB("devtools:on-add-timeline-event",(A,B)=>{A.api.on.addTimelineEvent(Q=>{B(Q)})});const Cs={class:"flex gap3"},Is=["onClick"],se=_({__name:"Navbar",setup(A){const{routes:B,currentRoute:Q}=Lo(),g=wE();return(E,C)=>(d(),y("ul",Cs,[(d(!0),y(cA,null,bA(F(B),(I,e)=>(d(),y("li",{key:e,"cursor-pointer":"","hover:op100":"",style:GA({opacity:F(Q).path===I.path?1:.7}),onClick:t=>F(g).push(I.path)},hA(I.name),13,Is))),128))]))}}),es=["top","right","bottom","left"],iC=["start","end"],nC=es.reduce((A,B)=>A.concat(B,B+"-"+iC[0],B+"-"+iC[1]),[]),ZB=Math.min,CB=Math.max,ts={left:"right",right:"left",bottom:"top",top:"bottom"},os={start:"end",end:"start"};function Kg(A,B,Q){return CB(A,ZB(B,Q))}function cB(A,B){return typeof A=="function"?A(B):A}function SA(A){return A.split("-")[0]}function yA(A){return A.split("-")[1]}function ie(A){return A==="x"?"y":"x"}function ME(A){return A==="y"?"height":"width"}function DQ(A){return["top","bottom"].includes(SA(A))?"y":"x"}function pE(A){return ie(DQ(A))}function ne(A,B,Q){Q===void 0&&(Q=!1);const g=yA(A),E=pE(A),C=ME(E);let I=E==="x"?g===(Q?"end":"start")?"right":"left":g==="start"?"bottom":"top";return B.reference[C]>B.floating[C]&&(I=SQ(I)),[I,SQ(I)]}function ws(A){const B=SQ(A);return[PQ(A),B,PQ(B)]}function PQ(A){return A.replace(/start|end/g,B=>os[B])}function Ds(A,B,Q){const g=["left","right"],E=["right","left"],C=["top","bottom"],I=["bottom","top"];switch(A){case"top":case"bottom":return Q?B?E:g:B?g:E;case"left":case"right":return B?C:I;default:return[]}}function ss(A,B,Q,g){const E=yA(A);let C=Ds(SA(A),Q==="start",g);return E&&(C=C.map(I=>I+"-"+E),B&&(C=C.concat(C.map(PQ)))),C}function SQ(A){return A.replace(/left|right|bottom|top/g,B=>ts[B])}function is(A){return{top:0,right:0,bottom:0,left:0,...A}}function ae(A){return typeof A!="number"?is(A):{top:A,right:A,bottom:A,left:A}}function xB(A){return{...A,top:A.y,left:A.x,right:A.x+A.width,bottom:A.y+A.height}}function aC(A,B,Q){let{reference:g,floating:E}=A;const C=DQ(B),I=pE(B),e=ME(I),t=SA(B),o=C==="y",D=g.x+g.width/2-E.width/2,w=g.y+g.height/2-E.height/2,s=g[e]/2-E[e]/2;let i;switch(t){case"top":i={x:D,y:g.y-E.height};break;case"bottom":i={x:D,y:g.y+g.height};break;case"right":i={x:g.x+g.width,y:w};break;case"left":i={x:g.x-E.width,y:w};break;default:i={x:g.x,y:g.y}}switch(yA(B)){case"start":i[I]-=s*(Q&&o?-1:1);break;case"end":i[I]+=s*(Q&&o?-1:1);break}return i}const ns=async(A,B,Q)=>{const{placement:g="bottom",strategy:E="absolute",middleware:C=[],platform:I}=Q,e=C.filter(Boolean),t=await(I.isRTL==null?void 0:I.isRTL(B));let o=await I.getElementRects({reference:A,floating:B,strategy:E}),{x:D,y:w}=aC(o,g,t),s=g,i={},a=0;for(let n=0;n<e.length;n++){const{name:r,fn:l}=e[n],{x:h,y:u,data:M,reset:p}=await l({x:D,y:w,initialPlacement:g,placement:s,strategy:E,middlewareData:i,rects:o,platform:I,elements:{reference:A,floating:B}});if(D=h??D,w=u??w,i={...i,[r]:{...i[r],...M}},p&&a<=50){a++,typeof p=="object"&&(p.placement&&(s=p.placement),p.rects&&(o=p.rects===!0?await I.getElementRects({reference:A,floating:B,strategy:E}):p.rects),{x:D,y:w}=aC(o,s,t)),n=-1;continue}}return{x:D,y:w,placement:s,strategy:E,middlewareData:i}};async function Eg(A,B){var Q;B===void 0&&(B={});const{x:g,y:E,platform:C,rects:I,elements:e,strategy:t}=A,{boundary:o="clippingAncestors",rootBoundary:D="viewport",elementContext:w="floating",altBoundary:s=!1,padding:i=0}=cB(B,A),a=ae(i),n=e[s?w==="floating"?"reference":"floating":w],r=xB(await C.getClippingRect({element:(Q=await(C.isElement==null?void 0:C.isElement(n)))==null||Q?n:n.contextElement||await(C.getDocumentElement==null?void 0:C.getDocumentElement(e.floating)),boundary:o,rootBoundary:D,strategy:t})),l=w==="floating"?{...I.floating,x:g,y:E}:I.reference,h=await(C.getOffsetParent==null?void 0:C.getOffsetParent(e.floating)),u=await(C.isElement==null?void 0:C.isElement(h))?await(C.getScale==null?void 0:C.getScale(h))||{x:1,y:1}:{x:1,y:1},M=xB(C.convertOffsetParentRelativeRectToViewportRelativeRect?await C.convertOffsetParentRelativeRectToViewportRelativeRect({rect:l,offsetParent:h,strategy:t}):l);return{top:(r.top-M.top+a.top)/u.y,bottom:(M.bottom-r.bottom+a.bottom)/u.y,left:(r.left-M.left+a.left)/u.x,right:(M.right-r.right+a.right)/u.x}}const as=A=>({name:"arrow",options:A,async fn(B){const{x:Q,y:g,placement:E,rects:C,platform:I,elements:e}=B,{element:t,padding:o=0}=cB(A,B)||{};if(t==null)return{};const D=ae(o),w={x:Q,y:g},s=pE(E),i=ME(s),a=await I.getDimensions(t),n=s==="y",r=n?"top":"left",l=n?"bottom":"right",h=n?"clientHeight":"clientWidth",u=C.reference[i]+C.reference[s]-w[s]-C.floating[i],M=w[s]-C.reference[s],p=await(I.getOffsetParent==null?void 0:I.getOffsetParent(t));let k=p?p[h]:0;(!k||!await(I.isElement==null?void 0:I.isElement(p)))&&(k=e.floating[h]||C.floating[i]);const v=u/2-M/2,m=k/2-a[i]/2-1,W=ZB(D[r],m),P=ZB(D[l],m),q=W,L=k-a[i]-P,f=k/2-a[i]/2+v,T=Kg(q,f,L),j=yA(E)!=null&&f!=T&&C.reference[i]/2-(f<q?W:P)-a[i]/2<0?f<q?q-f:L-f:0;return{[s]:w[s]-j,data:{[s]:T,centerOffset:f-T+j}}}});function rs(A,B,Q){return(A?[...Q.filter(g=>yA(g)===A),...Q.filter(g=>yA(g)!==A)]:Q.filter(g=>SA(g)===g)).filter(g=>A?yA(g)===A||(B?PQ(g)!==g:!1):!0)}const cs=function(A){return A===void 0&&(A={}),{name:"autoPlacement",options:A,async fn(B){var Q,g,E;const{rects:C,middlewareData:I,placement:e,platform:t,elements:o}=B,{crossAxis:D=!1,alignment:w,allowedPlacements:s=nC,autoAlignment:i=!0,...a}=cB(A,B),n=w!==void 0||s===nC?rs(w||null,i,s):s,r=await Eg(B,a),l=((Q=I.autoPlacement)==null?void 0:Q.index)||0,h=n[l];if(h==null)return{};const u=ne(h,C,await(t.isRTL==null?void 0:t.isRTL(o.floating)));if(e!==h)return{reset:{placement:n[0]}};const M=[r[SA(h)],r[u[0]],r[u[1]]],p=[...((g=I.autoPlacement)==null?void 0:g.overflows)||[],{placement:h,overflows:M}],k=n[l+1];if(k)return{data:{index:l+1,overflows:p},reset:{placement:k}};const v=p.map(W=>{const P=yA(W.placement);return[W.placement,P&&D?W.overflows.slice(0,2).reduce((q,L)=>q+L,0):W.overflows[0],W.overflows]}).sort((W,P)=>W[1]-P[1]),m=((E=v.filter(W=>W[2].slice(0,yA(W[0])?2:3).every(P=>P<=0))[0])==null?void 0:E[0])||v[0][0];return m!==e?{data:{index:l+1,overflows:p},reset:{placement:m}}:{}}}},ls=function(A){return A===void 0&&(A={}),{name:"flip",options:A,async fn(B){var Q;const{placement:g,middlewareData:E,rects:C,initialPlacement:I,platform:e,elements:t}=B,{mainAxis:o=!0,crossAxis:D=!0,fallbackPlacements:w,fallbackStrategy:s="bestFit",fallbackAxisSideDirection:i="none",flipAlignment:a=!0,...n}=cB(A,B),r=SA(g),l=SA(I)===I,h=await(e.isRTL==null?void 0:e.isRTL(t.floating)),u=w||(l||!a?[SQ(I)]:ws(I));!w&&i!=="none"&&u.push(...ss(I,a,i,h));const M=[I,...u],p=await Eg(B,n),k=[];let v=((Q=E.flip)==null?void 0:Q.overflows)||[];if(o&&k.push(p[r]),D){const q=ne(g,C,h);k.push(p[q[0]],p[q[1]])}if(v=[...v,{placement:g,overflows:k}],!k.every(q=>q<=0)){var m,W;const q=(((m=E.flip)==null?void 0:m.index)||0)+1,L=M[q];if(L)return{data:{index:q,overflows:v},reset:{placement:L}};let f=(W=v.filter(T=>T.overflows[0]<=0).sort((T,j)=>T.overflows[1]-j.overflows[1])[0])==null?void 0:W.placement;if(!f)switch(s){case"bestFit":{var P;const T=(P=v.map(j=>[j.placement,j.overflows.filter(H=>H>0).reduce((H,EA)=>H+EA,0)]).sort((j,H)=>j[1]-H[1])[0])==null?void 0:P[0];T&&(f=T);break}case"initialPlacement":f=I;break}if(g!==f)return{reset:{placement:f}}}return{}}}};async function hs(A,B){const{placement:Q,platform:g,elements:E}=A,C=await(g.isRTL==null?void 0:g.isRTL(E.floating)),I=SA(Q),e=yA(Q),t=DQ(Q)==="y",o=["left","top"].includes(I)?-1:1,D=C&&t?-1:1,w=cB(B,A);let{mainAxis:s,crossAxis:i,alignmentAxis:a}=typeof w=="number"?{mainAxis:w,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...w};return e&&typeof a=="number"&&(i=e==="end"?a*-1:a),t?{x:i*D,y:s*o}:{x:s*o,y:i*D}}const us=function(A){return A===void 0&&(A=0),{name:"offset",options:A,async fn(B){const{x:Q,y:g}=B,E=await hs(B,A);return{x:Q+E.x,y:g+E.y,data:E}}}},Ms=function(A){return A===void 0&&(A={}),{name:"shift",options:A,async fn(B){const{x:Q,y:g,placement:E}=B,{mainAxis:C=!0,crossAxis:I=!1,limiter:e={fn:r=>{let{x:l,y:h}=r;return{x:l,y:h}}},...t}=cB(A,B),o={x:Q,y:g},D=await Eg(B,t),w=DQ(SA(E)),s=ie(w);let i=o[s],a=o[w];if(C){const r=s==="y"?"top":"left",l=s==="y"?"bottom":"right",h=i+D[r],u=i-D[l];i=Kg(h,i,u)}if(I){const r=w==="y"?"top":"left",l=w==="y"?"bottom":"right",h=a+D[r],u=a-D[l];a=Kg(h,a,u)}const n=e.fn({...B,[s]:i,[w]:a});return{...n,data:{x:n.x-Q,y:n.y-g}}}}},ps=function(A){return A===void 0&&(A={}),{name:"size",options:A,async fn(B){const{placement:Q,rects:g,platform:E,elements:C}=B,{apply:I=()=>{},...e}=cB(A,B),t=await Eg(B,e),o=SA(Q),D=yA(Q),w=DQ(Q)==="y",{width:s,height:i}=g.floating;let a,n;o==="top"||o==="bottom"?(a=o,n=D===(await(E.isRTL==null?void 0:E.isRTL(C.floating))?"start":"end")?"left":"right"):(n=o,a=D==="end"?"top":"bottom");const r=i-t[a],l=s-t[n],h=!B.middlewareData.shift;let u=r,M=l;if(w){const k=s-t.left-t.right;M=D||h?ZB(l,k):k}else{const k=i-t.top-t.bottom;u=D||h?ZB(r,k):k}if(h&&!D){const k=CB(t.left,0),v=CB(t.right,0),m=CB(t.top,0),W=CB(t.bottom,0);w?M=s-2*(k!==0||v!==0?k+v:CB(t.left,t.right)):u=i-2*(m!==0||W!==0?m+W:CB(t.top,t.bottom))}await I({...B,availableWidth:M,availableHeight:u});const p=await E.getDimensions(C.floating);return s!==p.width||i!==p.height?{reset:{rects:!0}}:{}}}};function FA(A){var B;return((B=A.ownerDocument)==null?void 0:B.defaultView)||window}function UA(A){return FA(A).getComputedStyle(A)}const rC=Math.min,vB=Math.max,mQ=Math.round;function re(A){const B=UA(A);let Q=parseFloat(B.width),g=parseFloat(B.height);const E=A.offsetWidth,C=A.offsetHeight,I=mQ(Q)!==E||mQ(g)!==C;return I&&(Q=E,g=C),{width:Q,height:g,fallback:I}}function AB(A){return le(A)?(A.nodeName||"").toLowerCase():""}let aQ;function ce(){if(aQ)return aQ;const A=navigator.userAgentData;return A&&Array.isArray(A.brands)?(aQ=A.brands.map(B=>B.brand+"/"+B.version).join(" "),aQ):navigator.userAgent}function KA(A){return A instanceof FA(A).HTMLElement}function _A(A){return A instanceof FA(A).Element}function le(A){return A instanceof FA(A).Node}function cC(A){return typeof ShadowRoot>"u"?!1:A instanceof FA(A).ShadowRoot||A instanceof ShadowRoot}function Cg(A){const{overflow:B,overflowX:Q,overflowY:g,display:E}=UA(A);return/auto|scroll|overlay|hidden|clip/.test(B+g+Q)&&!["inline","contents"].includes(E)}function ds(A){return["table","td","th"].includes(AB(A))}function Yg(A){const B=/firefox/i.test(ce()),Q=UA(A),g=Q.backdropFilter||Q.WebkitBackdropFilter;return Q.transform!=="none"||Q.perspective!=="none"||!!g&&g!=="none"||B&&Q.willChange==="filter"||B&&!!Q.filter&&Q.filter!=="none"||["transform","perspective"].some(E=>Q.willChange.includes(E))||["paint","layout","strict","content"].some(E=>{const C=Q.contain;return C!=null&&C.includes(E)})}function he(){return!/^((?!chrome|android).)*safari/i.test(ce())}function dE(A){return["html","body","#document"].includes(AB(A))}function ue(A){return _A(A)?A:A.contextElement}const Me={x:1,y:1};function dB(A){const B=ue(A);if(!KA(B))return Me;const Q=B.getBoundingClientRect(),{width:g,height:E,fallback:C}=re(B);let I=(C?mQ(Q.width):Q.width)/g,e=(C?mQ(Q.height):Q.height)/E;return I&&Number.isFinite(I)||(I=1),e&&Number.isFinite(e)||(e=1),{x:I,y:e}}function zB(A,B,Q,g){var E,C;B===void 0&&(B=!1),Q===void 0&&(Q=!1);const I=A.getBoundingClientRect(),e=ue(A);let t=Me;B&&(g?_A(g)&&(t=dB(g)):t=dB(A));const o=e?FA(e):window,D=!he()&&Q;let w=(I.left+(D&&((E=o.visualViewport)==null?void 0:E.offsetLeft)||0))/t.x,s=(I.top+(D&&((C=o.visualViewport)==null?void 0:C.offsetTop)||0))/t.y,i=I.width/t.x,a=I.height/t.y;if(e){const n=FA(e),r=g&&_A(g)?FA(g):g;let l=n.frameElement;for(;l&&g&&r!==n;){const h=dB(l),u=l.getBoundingClientRect(),M=getComputedStyle(l);u.x+=(l.clientLeft+parseFloat(M.paddingLeft))*h.x,u.y+=(l.clientTop+parseFloat(M.paddingTop))*h.y,w*=h.x,s*=h.y,i*=h.x,a*=h.y,w+=u.x,s+=u.y,l=FA(l).frameElement}}return{width:i,height:a,top:s,right:w+i,bottom:s+a,left:w,x:w,y:s}}function $A(A){return((le(A)?A.ownerDocument:A.document)||window.document).documentElement}function Ig(A){return _A(A)?{scrollLeft:A.scrollLeft,scrollTop:A.scrollTop}:{scrollLeft:A.pageXOffset,scrollTop:A.pageYOffset}}function pe(A){return zB($A(A)).left+Ig(A).scrollLeft}function jB(A){if(AB(A)==="html")return A;const B=A.assignedSlot||A.parentNode||cC(A)&&A.host||$A(A);return cC(B)?B.host:B}function de(A){const B=jB(A);return dE(B)?B.ownerDocument.body:KA(B)&&Cg(B)?B:de(B)}function JQ(A,B){var Q;B===void 0&&(B=[]);const g=de(A),E=g===((Q=A.ownerDocument)==null?void 0:Q.body),C=FA(g);return E?B.concat(C,C.visualViewport||[],Cg(g)?g:[]):B.concat(g,JQ(g))}function lC(A,B,Q){return B==="viewport"?xB(function(g,E){const C=FA(g),I=$A(g),e=C.visualViewport;let t=I.clientWidth,o=I.clientHeight,D=0,w=0;if(e){t=e.width,o=e.height;const s=he();(s||!s&&E==="fixed")&&(D=e.offsetLeft,w=e.offsetTop)}return{width:t,height:o,x:D,y:w}}(A,Q)):_A(B)?xB(function(g,E){const C=zB(g,!0,E==="fixed"),I=C.top+g.clientTop,e=C.left+g.clientLeft,t=KA(g)?dB(g):{x:1,y:1};return{width:g.clientWidth*t.x,height:g.clientHeight*t.y,x:e*t.x,y:I*t.y}}(B,Q)):xB(function(g){const E=$A(g),C=Ig(g),I=g.ownerDocument.body,e=vB(E.scrollWidth,E.clientWidth,I.scrollWidth,I.clientWidth),t=vB(E.scrollHeight,E.clientHeight,I.scrollHeight,I.clientHeight);let o=-C.scrollLeft+pe(g);const D=-C.scrollTop;return UA(I).direction==="rtl"&&(o+=vB(E.clientWidth,I.clientWidth)-e),{width:e,height:t,x:o,y:D}}($A(A)))}function hC(A){return KA(A)&&UA(A).position!=="fixed"?A.offsetParent:null}function uC(A){const B=FA(A);let Q=hC(A);for(;Q&&ds(Q)&&UA(Q).position==="static";)Q=hC(Q);return Q&&(AB(Q)==="html"||AB(Q)==="body"&&UA(Q).position==="static"&&!Yg(Q))?B:Q||function(g){let E=jB(g);for(;KA(E)&&!dE(E);){if(Yg(E))return E;E=jB(E)}return null}(A)||B}function Fs(A,B,Q){const g=KA(B),E=$A(B),C=zB(A,!0,Q==="fixed",B);let I={scrollLeft:0,scrollTop:0};const e={x:0,y:0};if(g||!g&&Q!=="fixed")if((AB(B)!=="body"||Cg(E))&&(I=Ig(B)),KA(B)){const t=zB(B,!0);e.x=t.x+B.clientLeft,e.y=t.y+B.clientTop}else E&&(e.x=pe(E));return{x:C.left+I.scrollLeft-e.x,y:C.top+I.scrollTop-e.y,width:C.width,height:C.height}}const Gs={getClippingRect:function(A){let{element:B,boundary:Q,rootBoundary:g,strategy:E}=A;const C=Q==="clippingAncestors"?function(o,D){const w=D.get(o);if(w)return w;let s=JQ(o).filter(r=>_A(r)&&AB(r)!=="body"),i=null;const a=UA(o).position==="fixed";let n=a?jB(o):o;for(;_A(n)&&!dE(n);){const r=UA(n),l=Yg(n);(a?l||i:l||r.position!=="static"||!i||!["absolute","fixed"].includes(i.position))?i=r:s=s.filter(h=>h!==n),n=jB(n)}return D.set(o,s),s}(B,this._c):[].concat(Q),I=[...C,g],e=I[0],t=I.reduce((o,D)=>{const w=lC(B,D,E);return o.top=vB(w.top,o.top),o.right=rC(w.right,o.right),o.bottom=rC(w.bottom,o.bottom),o.left=vB(w.left,o.left),o},lC(B,e,E));return{width:t.right-t.left,height:t.bottom-t.top,x:t.left,y:t.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(A){let{rect:B,offsetParent:Q,strategy:g}=A;const E=KA(Q),C=$A(Q);if(Q===C)return B;let I={scrollLeft:0,scrollTop:0},e={x:1,y:1};const t={x:0,y:0};if((E||!E&&g!=="fixed")&&((AB(Q)!=="body"||Cg(C))&&(I=Ig(Q)),KA(Q))){const o=zB(Q);e=dB(Q),t.x=o.x+Q.clientLeft,t.y=o.y+Q.clientTop}return{width:B.width*e.x,height:B.height*e.y,x:B.x*e.x-I.scrollLeft*e.x+t.x,y:B.y*e.y-I.scrollTop*e.y+t.y}},isElement:_A,getDimensions:function(A){return KA(A)?re(A):A.getBoundingClientRect()},getOffsetParent:uC,getDocumentElement:$A,getScale:dB,async getElementRects(A){let{reference:B,floating:Q,strategy:g}=A;const E=this.getOffsetParent||uC,C=this.getDimensions;return{reference:Fs(B,await E(Q),g),floating:{x:0,y:0,...await C(Q)}}},getClientRects:A=>Array.from(A.getClientRects()),isRTL:A=>UA(A).direction==="rtl"},Ns=(A,B,Q)=>{const g=new Map,E={platform:Gs,...Q},C={...E.platform,_c:g};return ns(A,B,{...E,platform:C})},wB={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:A=>[...A,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function VB(A,B){let Q=wB.themes[A]||{},g;do g=Q[B],typeof g>"u"?Q.$extend?Q=wB.themes[Q.$extend]||{}:(Q=null,g=wB[B]):Q=null;while(Q);return g}function Ls(A){const B=[A];let Q=wB.themes[A]||{};do Q.$extend&&!Q.$resetCss?(B.push(Q.$extend),Q=wB.themes[Q.$extend]||{}):Q=null;while(Q);return B.map(g=>`v-popper--theme-${g}`)}function MC(A){const B=[A];let Q=wB.themes[A]||{};do Q.$extend?(B.push(Q.$extend),Q=wB.themes[Q.$extend]||{}):Q=null;while(Q);return B}let fB=!1;if(typeof window<"u"){fB=!1;try{const A=Object.defineProperty({},"passive",{get(){fB=!0}});window.addEventListener("test",null,A)}catch{}}let Fe=!1;typeof window<"u"&&typeof navigator<"u"&&(Fe=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Ge=["auto","top","bottom","left","right"].reduce((A,B)=>A.concat([B,`${B}-start`,`${B}-end`]),[]),pC={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},dC={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function FC(A,B){const Q=A.indexOf(B);Q!==-1&&A.splice(Q,1)}function lg(){return new Promise(A=>requestAnimationFrame(()=>{requestAnimationFrame(A)}))}const kA=[];let EB=null;const GC={};function NC(A){let B=GC[A];return B||(B=GC[A]=[]),B}let Pg=function(){};typeof window<"u"&&(Pg=window.Element);function X(A){return function(B){return VB(B.theme,A)}}const hg="__floating-vue__popper",Ne=()=>_({name:"VPopper",provide(){return{[hg]:{parentPopper:this}}},inject:{[hg]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:X("disabled")},positioningDisabled:{type:Boolean,default:X("positioningDisabled")},placement:{type:String,default:X("placement"),validator:A=>Ge.includes(A)},delay:{type:[String,Number,Object],default:X("delay")},distance:{type:[Number,String],default:X("distance")},skidding:{type:[Number,String],default:X("skidding")},triggers:{type:Array,default:X("triggers")},showTriggers:{type:[Array,Function],default:X("showTriggers")},hideTriggers:{type:[Array,Function],default:X("hideTriggers")},popperTriggers:{type:Array,default:X("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:X("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:X("popperHideTriggers")},container:{type:[String,Object,Pg,Boolean],default:X("container")},boundary:{type:[String,Pg],default:X("boundary")},strategy:{type:String,validator:A=>["absolute","fixed"].includes(A),default:X("strategy")},autoHide:{type:[Boolean,Function],default:X("autoHide")},handleResize:{type:Boolean,default:X("handleResize")},instantMove:{type:Boolean,default:X("instantMove")},eagerMount:{type:Boolean,default:X("eagerMount")},popperClass:{type:[String,Array,Object],default:X("popperClass")},computeTransformOrigin:{type:Boolean,default:X("computeTransformOrigin")},autoMinSize:{type:Boolean,default:X("autoMinSize")},autoSize:{type:[Boolean,String],default:X("autoSize")},autoMaxSize:{type:Boolean,default:X("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:X("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:X("preventOverflow")},overflowPadding:{type:[Number,String],default:X("overflowPadding")},arrowPadding:{type:[Number,String],default:X("arrowPadding")},arrowOverflow:{type:Boolean,default:X("arrowOverflow")},flip:{type:Boolean,default:X("flip")},shift:{type:Boolean,default:X("shift")},shiftCrossAxis:{type:Boolean,default:X("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:X("noAutoFocus")},disposeTimeout:{type:Number,default:X("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":A=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(A=>A.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var A;return(A=this[hg])==null?void 0:A.parentPopper},hasPopperShowTriggerHover(){var A,B;return((A=this.popperTriggers)==null?void 0:A.includes("hover"))||((B=this.popperShowTriggers)==null?void 0:B.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(A){A?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((A,B)=>(A[B]="$_computePosition",A),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:A=null,skipDelay:B=!1,force:Q=!1}={}){var g,E;(g=this.parentPopper)!=null&&g.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(Q||!this.disabled)&&(((E=this.parentPopper)==null?void 0:E.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(A,B),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:A=null,skipDelay:B=!1}={}){var Q;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:B}),this.parentPopper.lockedChild=null)},1e3));return}((Q=this.parentPopper)==null?void 0:Q.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(A,B),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var A;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((A=this.referenceNode)==null?void 0:A.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(B=>B.nodeType===B.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const A={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&A.middleware.push(us({mainAxis:this.distance,crossAxis:this.skidding}));const B=this.placement.startsWith("auto");if(B?A.middleware.push(cs({alignment:this.placement.split("-")[1]??""})):A.placement=this.placement,this.preventOverflow&&(this.shift&&A.middleware.push(Ms({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!B&&this.flip&&A.middleware.push(ls({padding:this.overflowPadding,boundary:this.boundary}))),A.middleware.push(as({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&A.middleware.push({name:"arrowOverflow",fn:({placement:g,rects:E,middlewareData:C})=>{let I;const{centerOffset:e}=C.arrow;return g.startsWith("top")||g.startsWith("bottom")?I=Math.abs(e)>E.reference.width/2:I=Math.abs(e)>E.reference.height/2,{data:{overflow:I}}}}),this.autoMinSize||this.autoSize){const g=this.autoSize?this.autoSize:this.autoMinSize?"min":null;A.middleware.push({name:"autoSize",fn:({rects:E,placement:C,middlewareData:I})=>{var e;if((e=I.autoSize)!=null&&e.skip)return{};let t,o;return C.startsWith("top")||C.startsWith("bottom")?t=E.reference.width:o=E.reference.height,this.$_innerNode.style[g==="min"?"minWidth":g==="max"?"maxWidth":"width"]=t!=null?`${t}px`:null,this.$_innerNode.style[g==="min"?"minHeight":g==="max"?"maxHeight":"height"]=o!=null?`${o}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,A.middleware.push(ps({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:g,availableHeight:E})=>{this.$_innerNode.style.maxWidth=g!=null?`${g}px`:null,this.$_innerNode.style.maxHeight=E!=null?`${E}px`:null}})));const Q=await Ns(this.$_referenceNode,this.$_popperNode,A);Object.assign(this.result,{x:Q.x,y:Q.y,placement:Q.placement,strategy:Q.strategy,arrow:{...Q.middlewareData.arrow,...Q.middlewareData.arrowOverflow}})},$_scheduleShow(A,B=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),EB&&this.instantMove&&EB.instantMove&&EB!==this.parentPopper){EB.$_applyHide(!0),this.$_applyShow(!0);return}B?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(A,B=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(EB=this),B?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(A){const B=this.delay;return parseInt(B&&B[A]||B||0)},async $_applyShow(A=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=A,!this.isShown&&(this.$_ensureTeleport(),await lg(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...JQ(this.$_referenceNode),...JQ(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const B=this.$_referenceNode.getBoundingClientRect(),Q=this.$_popperNode.querySelector(".v-popper__wrapper"),g=Q.parentNode.getBoundingClientRect(),E=B.x+B.width/2-(g.left+Q.offsetLeft),C=B.y+B.height/2-(g.top+Q.offsetTop);this.result.transformOrigin=`${E}px ${C}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const A=this.showGroup;if(A){let B;for(let Q=0;Q<kA.length;Q++)B=kA[Q],B.showGroup!==A&&(B.hide(),B.$emit("close-group"))}kA.push(this),document.body.classList.add("v-popper--some-open");for(const B of MC(this.theme))NC(B).push(this),document.body.classList.add(`v-popper--some-open--${B}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await lg(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(A=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=A,FC(kA,this),kA.length===0&&document.body.classList.remove("v-popper--some-open");for(const Q of MC(this.theme)){const g=NC(Q);FC(g,this),g.length===0&&document.body.classList.remove(`v-popper--some-open--${Q}`)}EB===this&&(EB=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const B=this.disposeTimeout;B!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},B)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await lg(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let A=this.container;if(typeof A=="string"?A=window.document.querySelector(A):A===!1&&(A=this.$_targetNodes[0].parentNode),!A)throw new Error("No container for popover: "+this.container);A.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const A=Q=>{this.isShown&&!this.$_hideInProgress||(Q.usedByTooltip=!0,!this.$_preventShow&&this.show({event:Q}))};this.$_registerTriggerListeners(this.$_targetNodes,pC,this.triggers,this.showTriggers,A),this.$_registerTriggerListeners([this.$_popperNode],pC,this.popperTriggers,this.popperShowTriggers,A);const B=Q=>{Q.usedByTooltip||this.hide({event:Q})};this.$_registerTriggerListeners(this.$_targetNodes,dC,this.triggers,this.hideTriggers,B),this.$_registerTriggerListeners([this.$_popperNode],dC,this.popperTriggers,this.popperHideTriggers,B)},$_registerEventListeners(A,B,Q){this.$_events.push({targetNodes:A,eventType:B,handler:Q}),A.forEach(g=>g.addEventListener(B,Q,fB?{passive:!0}:void 0))},$_registerTriggerListeners(A,B,Q,g,E){let C=Q;g!=null&&(C=typeof g=="function"?g(C):g),C.forEach(I=>{const e=B[I];e&&this.$_registerEventListeners(A,e,E)})},$_removeEventListeners(A){const B=[];this.$_events.forEach(Q=>{const{targetNodes:g,eventType:E,handler:C}=Q;!A||A===E?g.forEach(I=>I.removeEventListener(E,C)):B.push(Q)}),this.$_events=B},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(A,B=!1){this.$_showFrameLocked||(this.hide({event:A}),A.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),B&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(A,B){for(const Q of this.$_targetNodes){const g=Q.getAttribute(A);g&&(Q.removeAttribute(A),Q.setAttribute(B,g))}},$_applyAttrsToTarget(A){for(const B of this.$_targetNodes)for(const Q in A){const g=A[Q];g==null?B.removeAttribute(Q):B.setAttribute(Q,g)}},$_updateParentShownChildren(A){let B=this.parentPopper;for(;B;)A?B.shownChildren.add(this.randomId):(B.shownChildren.delete(this.randomId),B.pendingHide&&B.hide()),B=B.parentPopper},$_isAimingPopper(){const A=this.$_referenceNode.getBoundingClientRect();if(OB>=A.left&&OB<=A.right&&bB>=A.top&&bB<=A.bottom){const B=this.$_popperNode.getBoundingClientRect(),Q=OB-ZA,g=bB-zA,E=B.left+B.width/2-ZA+(B.top+B.height/2)-zA+B.width+B.height,C=ZA+Q*E,I=zA+g*E;return rQ(ZA,zA,C,I,B.left,B.top,B.left,B.bottom)||rQ(ZA,zA,C,I,B.left,B.top,B.right,B.top)||rQ(ZA,zA,C,I,B.right,B.top,B.right,B.bottom)||rQ(ZA,zA,C,I,B.left,B.bottom,B.right,B.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(Fe){const A=fB?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",B=>LC(B),A),document.addEventListener("touchend",B=>kC(B,!0),A)}else window.addEventListener("mousedown",A=>LC(A),!0),window.addEventListener("click",A=>kC(A,!1),!0);window.addEventListener("resize",ys)}function LC(A,B){for(let Q=0;Q<kA.length;Q++){const g=kA[Q];try{g.mouseDownContains=g.popperNode().contains(A.target)}catch{}}}function kC(A,B){ks(A,B)}function ks(A,B){const Q={};for(let g=kA.length-1;g>=0;g--){const E=kA[g];try{const C=E.containsGlobalTarget=E.mouseDownContains||E.popperNode().contains(A.target);E.pendingHide=!1,requestAnimationFrame(()=>{if(E.pendingHide=!1,!Q[E.randomId]&&fC(E,C,A)){if(E.$_handleGlobalClose(A,B),!A.closeAllPopover&&A.closePopover&&C){let e=E.parentPopper;for(;e;)Q[e.randomId]=!0,e=e.parentPopper;return}let I=E.parentPopper;for(;I&&fC(I,I.containsGlobalTarget,A);)I.$_handleGlobalClose(A,B),I=I.parentPopper}})}catch{}}}function fC(A,B,Q){return Q.closeAllPopover||Q.closePopover&&B||fs(A,Q)&&!B}function fs(A,B){if(typeof A.autoHide=="function"){const Q=A.autoHide(B);return A.lastAutoHide=Q,Q}return A.autoHide}function ys(){for(let A=0;A<kA.length;A++)kA[A].$_computePosition()}let ZA=0,zA=0,OB=0,bB=0;typeof window<"u"&&window.addEventListener("mousemove",A=>{ZA=OB,zA=bB,OB=A.clientX,bB=A.clientY},fB?{passive:!0}:void 0);function rQ(A,B,Q,g,E,C,I,e){const t=((I-E)*(B-C)-(e-C)*(A-E))/((e-C)*(Q-A)-(I-E)*(g-B)),o=((Q-A)*(B-C)-(g-B)*(A-E))/((e-C)*(Q-A)-(I-E)*(g-B));return t>=0&&t<=1&&o>=0&&o<=1}const Hs={extends:Ne()},eg=(A,B)=>{const Q=A.__vccOpts||A;for(const[g,E]of B)Q[g]=E;return Q};function Rs(A,B,Q,g,E,C){return d(),y("div",{ref:"reference",class:QA(["v-popper",{"v-popper--shown":A.slotData.isShown}])},[eA(A.$slots,"default",YI(PI(A.slotData)))],2)}const Us=eg(Hs,[["render",Rs]]);function Ks(){var A=window.navigator.userAgent,B=A.indexOf("MSIE ");if(B>0)return parseInt(A.substring(B+5,A.indexOf(".",B)),10);var Q=A.indexOf("Trident/");if(Q>0){var g=A.indexOf("rv:");return parseInt(A.substring(g+3,A.indexOf(".",g)),10)}var E=A.indexOf("Edge/");return E>0?parseInt(A.substring(E+5,A.indexOf(".",E)),10):-1}let FQ;function Sg(){Sg.init||(Sg.init=!0,FQ=Ks()!==-1)}var tg={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Sg(),BB(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const A=document.createElement("object");this._resizeObject=A,A.setAttribute("aria-hidden","true"),A.setAttribute("tabindex",-1),A.onload=this.addResizeHandlers,A.type="text/html",FQ&&this.$el.appendChild(A),A.data="about:blank",FQ||this.$el.appendChild(A)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!FQ&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Ys=KI();_Q("data-v-b329ee4c");const Ps={class:"resize-observer",tabindex:"-1"};$Q();const Ss=Ys((A,B,Q,g,E,C)=>(d(),V("div",Ps)));tg.render=Ss;tg.__scopeId="data-v-b329ee4c";tg.__file="src/components/ResizeObserver.vue";const Le=(A="theme")=>({computed:{themeClass(){return Ls(this[A])}}}),ms=_({name:"VPopperContent",components:{ResizeObserver:tg},mixins:[Le()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(A){return A!=null&&!isNaN(A)?`${A}px`:null}}}),Js=["id","aria-hidden","tabindex","data-popper-placement"],xs={ref:"inner",class:"v-popper__inner"},vs=N("div",{class:"v-popper__arrow-outer"},null,-1),Os=N("div",{class:"v-popper__arrow-inner"},null,-1),bs=[vs,Os];function qs(A,B,Q,g,E,C){const I=NB("ResizeObserver");return d(),y("div",{id:A.popperId,ref:"popover",class:QA(["v-popper__popper",[A.themeClass,A.classes.popperClass,{"v-popper__popper--shown":A.shown,"v-popper__popper--hidden":!A.shown,"v-popper__popper--show-from":A.classes.showFrom,"v-popper__popper--show-to":A.classes.showTo,"v-popper__popper--hide-from":A.classes.hideFrom,"v-popper__popper--hide-to":A.classes.hideTo,"v-popper__popper--skip-transition":A.skipTransition,"v-popper__popper--arrow-overflow":A.result&&A.result.arrow.overflow,"v-popper__popper--no-positioning":!A.result}]]),style:GA(A.result?{position:A.result.strategy,transform:`translate3d(${Math.round(A.result.x)}px,${Math.round(A.result.y)}px,0)`}:void 0),"aria-hidden":A.shown?"false":"true",tabindex:A.autoHide?0:void 0,"data-popper-placement":A.result?A.result.placement:void 0,onKeyup:B[2]||(B[2]=Bo(e=>A.autoHide&&A.$emit("hide"),["esc"]))},[N("div",{class:"v-popper__backdrop",onClick:B[0]||(B[0]=e=>A.autoHide&&A.$emit("hide"))}),N("div",{class:"v-popper__wrapper",style:GA(A.result?{transformOrigin:A.result.transformOrigin}:void 0)},[N("div",xs,[A.mounted?(d(),y(cA,{key:0},[N("div",null,[eA(A.$slots,"default")]),A.handleResize?(d(),V(I,{key:0,onNotify:B[1]||(B[1]=e=>A.$emit("resize",e))})):BA("",!0)],64)):BA("",!0)],512),N("div",{ref:"arrow",class:"v-popper__arrow-container",style:GA(A.result?{left:A.toPx(A.result.arrow.x),top:A.toPx(A.result.arrow.y)}:void 0)},bs,4)],4)],46,Js)}const ke=eg(ms,[["render",qs]]),fe={methods:{show(...A){return this.$refs.popper.show(...A)},hide(...A){return this.$refs.popper.hide(...A)},dispose(...A){return this.$refs.popper.dispose(...A)},onResize(...A){return this.$refs.popper.onResize(...A)}}};let mg=function(){};typeof window<"u"&&(mg=window.Element);const Ts=_({name:"VPopperWrapper",components:{Popper:Us,PopperContent:ke},mixins:[fe,Le("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,mg,Boolean],default:void 0},boundary:{type:[String,mg],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":A=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(A=>A!==this.$refs.popperContent.$el)}}});function Ws(A,B,Q,g,E,C){const I=NB("PopperContent"),e=NB("Popper");return d(),V(e,dA({ref:"popper"},A.$props,{theme:A.finalTheme,"target-nodes":A.getTargetNodes,"popper-node":()=>A.$refs.popperContent.$el,class:[A.themeClass],onShow:B[0]||(B[0]=()=>A.$emit("show")),onHide:B[1]||(B[1]=()=>A.$emit("hide")),"onUpdate:shown":B[2]||(B[2]=t=>A.$emit("update:shown",t)),onApplyShow:B[3]||(B[3]=()=>A.$emit("apply-show")),onApplyHide:B[4]||(B[4]=()=>A.$emit("apply-hide")),onCloseGroup:B[5]||(B[5]=()=>A.$emit("close-group")),onCloseDirective:B[6]||(B[6]=()=>A.$emit("close-directive")),onAutoHide:B[7]||(B[7]=()=>A.$emit("auto-hide")),onResize:B[8]||(B[8]=()=>A.$emit("resize"))}),{default:b(({popperId:t,isShown:o,shouldMountContent:D,skipTransition:w,autoHide:s,show:i,hide:a,handleResize:n,onResize:r,classes:l,result:h})=>[eA(A.$slots,"default",{shown:o,show:i,hide:a}),Y(I,{ref:"popperContent","popper-id":t,theme:A.finalTheme,shown:o,mounted:D,"skip-transition":w,"auto-hide":s,"handle-resize":n,classes:l,result:h,onHide:a,onResize:r},{default:b(()=>[eA(A.$slots,"popper",{shown:o,hide:a})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const FE=eg(Ts,[["render",Ws]]),Xs={...FE,name:"VDropdown",vPopperTheme:"dropdown"};({...FE});({...FE});const Zs=_({name:"VTooltipDirective",components:{Popper:Ne(),PopperContent:ke},mixins:[fe],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:A=>VB(A.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:A=>VB(A.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(A){if(typeof this.content=="function"&&this.$_isShown&&(A||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const B=++this.$_fetchId,Q=this.content(this);Q.then?Q.then(g=>this.onResult(B,g)):this.onResult(B,Q)}},onResult(A,B){A===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=B)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),zs=["innerHTML"],js=["textContent"];function Vs(A,B,Q,g,E,C){const I=NB("PopperContent"),e=NB("Popper");return d(),V(e,dA({ref:"popper"},A.$attrs,{theme:A.theme,"target-nodes":A.targetNodes,"popper-node":()=>A.$refs.popperContent.$el,onApplyShow:A.onShow,onApplyHide:A.onHide}),{default:b(({popperId:t,isShown:o,shouldMountContent:D,skipTransition:w,autoHide:s,hide:i,handleResize:a,onResize:n,classes:r,result:l})=>[Y(I,{ref:"popperContent",class:QA({"v-popper--tooltip-loading":A.loading}),"popper-id":t,theme:A.theme,shown:o,mounted:D,"skip-transition":w,"auto-hide":s,"handle-resize":a,classes:r,result:l,onHide:i,onResize:n},{default:b(()=>[A.html?(d(),y("div",{key:0,innerHTML:A.finalContent},null,8,zs)):(d(),y("div",{key:1,textContent:hA(A.finalContent)},null,8,js))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const _s=eg(Zs,[["render",Vs]]),ye="v-popper--has-tooltip";function $s(A,B){let Q=A.placement;if(!Q&&B)for(const g of Ge)B[g]&&(Q=g);return Q||(Q=VB(A.theme||"tooltip","placement")),Q}function He(A,B,Q){let g;const E=typeof B;return E==="string"?g={content:B}:B&&E==="object"?g=B:g={content:!1},g.placement=$s(g,Q),g.targetNodes=()=>[A],g.referenceNode=()=>A,g}let ug,_B,Ai=0;function Bi(){if(ug)return;_B=S([]),ug=Do({name:"VTooltipDirectiveApp",setup(){return{directives:_B}},render(){return this.directives.map(B=>CE(_s,{...B.options,shown:B.shown||B.options.shown,key:B.id}))},devtools:{hide:!0}});const A=document.createElement("div");document.body.appendChild(A),ug.mount(A)}function Qi(A,B,Q){Bi();const g=S(He(A,B,Q)),E=S(!1),C={id:Ai++,options:g,shown:E};return _B.value.push(C),A.classList&&A.classList.add(ye),A.$_popper={options:g,item:C,show(){E.value=!0},hide(){E.value=!1}}}function Re(A){if(A.$_popper){const B=_B.value.indexOf(A.$_popper.item);B!==-1&&_B.value.splice(B,1),delete A.$_popper,delete A.$_popperOldShown,delete A.$_popperMountTarget}A.classList&&A.classList.remove(ye)}function yC(A,{value:B,modifiers:Q}){const g=He(A,B,Q);if(!g.content||VB(g.theme||"tooltip","disabled"))Re(A);else{let E;A.$_popper?(E=A.$_popper,E.options.value=g):E=Qi(A,B,Q),typeof B.shown<"u"&&B.shown!==A.$_popperOldShown&&(A.$_popperOldShown=B.shown,B.shown?E.show():E.hide())}}const gi={beforeMount:yC,updated:yC,beforeUnmount(A){Re(A)}};function HC(A){A.addEventListener("mousedown",xQ),A.addEventListener("click",xQ),A.addEventListener("touchstart",Ue,fB?{passive:!0}:!1)}function RC(A){A.removeEventListener("mousedown",xQ),A.removeEventListener("click",xQ),A.removeEventListener("touchstart",Ue),A.removeEventListener("touchend",Ke),A.removeEventListener("touchcancel",Ye)}function xQ(A){const B=A.currentTarget;A.closePopover=!B.$_vclosepopover_touch,A.closeAllPopover=B.$_closePopoverModifiers&&!!B.$_closePopoverModifiers.all}function Ue(A){if(A.changedTouches.length===1){const B=A.currentTarget;B.$_vclosepopover_touch=!0;const Q=A.changedTouches[0];B.$_vclosepopover_touchPoint=Q,B.addEventListener("touchend",Ke),B.addEventListener("touchcancel",Ye)}}function Ke(A){const B=A.currentTarget;if(B.$_vclosepopover_touch=!1,A.changedTouches.length===1){const Q=A.changedTouches[0],g=B.$_vclosepopover_touchPoint;A.closePopover=Math.abs(Q.screenY-g.screenY)<20&&Math.abs(Q.screenX-g.screenX)<20,A.closeAllPopover=B.$_closePopoverModifiers&&!!B.$_closePopoverModifiers.all}}function Ye(A){const B=A.currentTarget;B.$_vclosepopover_touch=!1}const Ei={beforeMount(A,{value:B,modifiers:Q}){A.$_closePopoverModifiers=Q,(typeof B>"u"||B)&&HC(A)},updated(A,{value:B,oldValue:Q,modifiers:g}){A.$_closePopoverModifiers=g,B!==Q&&(typeof B>"u"||B?HC(A):RC(A))},beforeUnmount(A){RC(A)}},YA=gi,Ci=Ei,Ii=Xs,ei=(A,B)=>{const Q=A.__vccOpts||A;for(const[g,E]of B)Q[g]=E;return Q},ti={},oi={class:"h-3 w-3 $ui-inline-fcc"},wi=N("svg",{class:"animate-spin",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[N("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),N("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1),Di=[wi];function si(A,B){return d(),y("div",oi,Di)}const Pe=ei(ti,[["render",si]]),ii={key:2},LA=_({inheritAttrs:!1,__name:"Button",props:{type:{default:"default"},round:{type:[String,Boolean],default:"normal"},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{default:"normal"},flat:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1}},emits:["click"],setup(A,{emit:B}){const Q=A,g=B,E=so(),C=x(()=>E.to?"router-link":E.href?"a":"button"),I=x(()=>Q.loading||Q.disabled);function e(w){if(I.value){w.preventDefault(),w.stopPropagation(),w.stopImmediatePropagation();return}g("click",w)}const t={common:{default:"active:bg-primary-100-darker dark:active:bg-gray-800-darker",primary:"active:bg-primary-500-darker",accent:"active:bg-accent-500-darker",danger:"active:bg-danger-500-darker",warning:"active:bg-warning-500-darker",info:"active:bg-primary-100-darker dark:active:bg-gray-800-darker",success:"active:bg-primary-100-darker dark:active:bg-gray-800-darker"},normal:{default:"bg-primary-100 hover:bg-primary-100-lighter dark:bg-gray-800 dark:hover:bg-gray-800-lighter dark:hover:text-white",primary:" text-white bg-primary-500 hover:bg-primary-500-lighter dark:hover:bg-primary-500-darker",accent:"text-white bg-accent-500 hover:bg-accent-500-lighter dark:bg-accent-500-darker dark:bg-accent-300",danger:"text-white bg-danger-500 hover:bg-danger-500-lighter dark:hover:bg-danger-500-darker",warning:"text-white bg-warning-500 hover:bg-warning-500-lighter dark:hover:bg-warning-500-darker",info:"text-info-500 bg-primary-100 hover:bg-primary-100-lighter dark:bg-gray-800 dark:hover:bg-gray-800-lighter",success:"text-primary-500 bg-primary-100 hover:bg-primary-100-lighter dark:bg-gray-800 dark:hover:bg-gray-800-lighter"},flat:{default:"hover:bg-primary-100 hover:text-black !dark:text-white dark:hover:bg-primary-800",primary:"hover:bg-primary-500 hover:text-white",accent:"hover:bg-accent-500 hover:text-white",danger:"hover:bg-danger-500 hover:text-white",warning:"hover:bg-warning-500 hover:text-white",info:"hover:bg-primary-100 hover:text-info-500 dark:hover:bg-gray-800 dark:hover:text-info-400",success:"hover:bg-primary-100 hover:text-primary-500 dark:hover:bg-primary-800 dark:hover:text-primary-400"},outlined:{default:"hover:border-primary-100 hover:text-primary-300 hover:active:ring-primary-100:5 hover:active:bg-primary-100:5",primary:"hover:border-primary-500 hover:text-primary-500 active:ring-primary-500:5 active:bg-primary-500:5",accent:"hover:border-accent-500 hover:text-accent-500 active:ring-accent-500:5 active:bg-accent-500:5",danger:"hover:border-danger-500 hover:text-danger-500 active:ring-danger-500:5 active:bg-danger-500:5",warning:"hover:border-warning-500 hover:text-warning-500 active:ring-warning-500:5 active:bg-warning-500:5",info:"hover:border-info-500 hover:text-info-500 active:ring-info-500:5 active:bg-info-500:5",success:"hover:border-primary-500 hover:text-primary-500 active:ring-primary-500:5 active:bg-primary-500:5"}},o=io(),D=x(()=>Q.flat?t.flat[Q.type]:Q.outlined?t.outlined[Q.type]:t.normal[Q.type]);return(w,s)=>(d(),V(yQ(C.value),dA(w.$attrs,{role:"button","aria-disabled":I.value,class:["$ui-base $ui-inline-fcc inline-flex cursor-pointer select-none gap1.25 py-0 no-underline $ui-transition",[[t.common[Q.type]],{"rounded-full":Q.round==="full","$ui-base-br":Q.round==="normal","opacity-50 cursor-not-allowed":I.value,"bg-transparent":Q.flat||Q.outlined},[w.outlined?"b-1 $ui-border-base active:ring-3 shadow-sm":"border-none",w.size==="mini"?"px1 text-3 h5.5":"px3.5 text-3.5 h8",D.value]]],onClickCapture:e}),{default:b(()=>[w.loading?(d(),V(Pe,{key:0,class:"mt0.5 h-full w3"})):eA(w.$slots,"icon",{key:1,class:"h-full w3 $ui-inline-fcc"}),F(o).default?(d(),y("div",ii,[eA(w.$slots,"default")])):BA("",!0),eA(w.$slots,"icon-right")]),_:3},16,["aria-disabled","class"]))}}),nA=_({__name:"Icon",props:{icon:{},inline:{type:Boolean},action:{type:Boolean,default:!1}},setup(A){return(B,Q)=>(d(),V(yQ(B.inline?"span":"div"),{class:QA(["$ui-base",[B.icon,B.action?"cursor-pointer hover:op50":""]])},null,8,["class"]))}});function ni(A,B,{enumerable:Q=!1,unwrap:g=!0}={}){for(const[E,C]of Object.entries(B))E!=="value"&&(EQ(C)&&g?Object.defineProperty(A,E,{get(){return C.value},set(I){C.value=I},enumerable:Q}):Object.defineProperty(A,E,{value:C,enumerable:Q}));return A}function UC(A){return typeof A=="function"?A():F(A)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ai=A=>typeof A<"u",KC=()=>{};function ri(A,B){function Q(...g){return new Promise((E,C)=>{Promise.resolve(A(()=>B.apply(this,g),{fn:B,thisArg:this,args:g})).then(E).catch(C)})}return Q}function ci(A,B={}){let Q,g,E=KC;const C=I=>{clearTimeout(I),E(),E=KC};return I=>{const e=UC(A),t=UC(B.maxWait);return Q&&C(Q),e<=0||t!==void 0&&t<=0?(g&&(C(g),g=null),Promise.resolve(I())):new Promise((o,D)=>{E=B.rejectOnCancel?D:o,t&&!g&&(g=setTimeout(()=>{Q&&C(Q),g=null,o(I())},t)),Q=setTimeout(()=>{g&&C(g),g=null,o(I())},e)})}}function li(A,B=200,Q={}){return ri(ci(B,Q),A)}function hi(A,B=200,Q={}){const g=S(A.value),E=li(()=>{g.value=A.value},B,Q);return MA(A,()=>E()),g}function ui(A,B={}){let Q=A,g,E;const C=go((t,o)=>(g=t,E=o,{get(){return I()},set(D){e(D)}}));function I(t=!0){return t&&g(),Q}function e(t,o=!0){var D,w;if(t===Q)return;const s=Q;((D=B.onBeforeChange)==null?void 0:D.call(B,t,s))!==!1&&(Q=t,(w=B.onChanged)==null||w.call(B,t,s),o&&E())}return ni(C,{get:I,set:e,untrackedGet:()=>I(!1),silentSet:t=>e(t,!1),peek:()=>I(!1),lay:t=>e(t,!1)},{enumerable:!0})}function Mi(A){return JSON.parse(JSON.stringify(A))}function pi(A,B,Q,g={}){var E,C,I;const{clone:e=!1,passive:t=!1,eventName:o,deep:D=!1,defaultValue:w,shouldEmit:s}=g,i=Ag(),a=Q||i?.emit||((E=i?.$emit)==null?void 0:E.bind(i))||((I=(C=i?.proxy)==null?void 0:C.$emit)==null?void 0:I.bind(i?.proxy));let n=o;B||(B="modelValue"),n=n||`update:${B.toString()}`;const r=u=>e?typeof e=="function"?e(u):Mi(u):u,l=()=>ai(A[B])?r(A[B]):w,h=u=>{s?s(u)&&a(n,u):a(n,u)};if(t){const u=l(),M=S(u);let p=!1;return MA(()=>A[B],k=>{p||(p=!0,M.value=r(k),BB(()=>p=!1))}),MA(M,k=>{!p&&(k!==A[B]||D)&&h(k)},{deep:D}),M}else return x({get(){return l()},set(u){h(u)}})}const di=["type","placeholder","disabled"],Fi={key:3,class:"pointer-events-none absolute bottom--0.25 left-50% right-50% z-9999 h-0.75 bg-primary-500 opacity-0 transition-all duration-240 group-[&.focused]:left-0 group-[&.focused]:right-0 group-[&.focused]:opacity-100 group-[&.accent.focused]:bg-accent-500"},Mg="transition-colors $ui-fcc color-gray-500 dark:color-gray-300 group-[&.focused]:color-primary-500; group-[&.accent.focused]:color-accent-500",Jg=_({__name:"Input",props:{modelValue:{},placeholder:{default:""},variant:{default:"normal"},disabled:{type:Boolean,default:!1},leftIcon:{},rightIcon:{},loading:{type:Boolean,default:!1},autoFocus:{type:Boolean,default:!1},loadingDebounceTime:{default:0},readonly:{type:Boolean,default:!1},type:{default:"text"}},emits:["update:modelValue","updateFocused","keyTab"],setup(A,{emit:B}){const Q=A,g=B,E=pi(Q,"modelValue",g),C=hi(x(()=>Q.loading),Q.loadingDebounceTime),I=ui(!1,{onChanged(w){g("updateFocused",w)}}),e=x(()=>Q.variant==="flat"||Q.variant==="warning"||Q.disabled||Q.readonly),t=x(()=>Q.disabled||C.value),o=S();let D=!1;return fQ(()=>{C.value&&I.value?D=!0:!C.value&&D&&(D=!1,BB(()=>{I.value=!0}))}),IE(()=>{Q.autoFocus&&(I.value=!0)}),fQ(()=>{var w;I.value&&((w=o.value)==null||w.focus())}),(w,s)=>(d(),y("div",{class:QA(["group relative w-50 w-auto flex items-center justify-between gap-0.5 overflow-hidden b-1 rounded-1 px3 py-0.75 color-gray-800 dark:color-gray-100",[{"border-none bg-transparent group":w.variant==="flat","cursor-not-allowed opacity-50":t.value,accent:w.variant==="accent",focused:F(I)},[w.variant==="warning"?"border-warning-500 dark:border-warning-300":"border-primary-100 dark:border-gray-700"]]]),onClick:s[2]||(s[2]=()=>{I.value=!0})},[w.leftIcon?(d(),y("div",{key:0,class:QA(Mg)},[Y(nA,{icon:w.leftIcon},null,8,["icon"])])):BA("",!0),uA(N("input",{ref_key:"inputRef",ref:o,"onUpdate:modelValue":s[0]||(s[0]=i=>EQ(E)?E.value=i:null),class:"$ui-base w-full bg-transparent color-inherit outline-none placeholder-color-gray-500 dark:placeholder-gray-300",type:w.type,placeholder:w.placeholder,disabled:t.value||w.readonly,onBlur:s[1]||(s[1]=i=>I.value=!1)},null,40,di),[[Qo,F(E)]]),F(C)?(d(),y("div",{key:1,class:QA(Mg)},[Y(Pe)])):w.rightIcon?(d(),y("div",{key:2,class:QA(Mg)},[Y(nA,{icon:w.rightIcon},null,8,["icon"])])):BA("",!0),e.value?BA("",!0):(d(),y("div",Fi))],2))}}),Gi={class:"overflow-hidden rounded-lg shadow-lg"},Ni=N("div",{class:"p2 opacity-40"}," Empty... ",-1),Li=_({__name:"Dropdown",props:{label:{},buttonProps:{default:()=>({})},buttonClass:{default:""},trigger:{default:"click"},distance:{default:0},skidding:{},placement:{},disabled:{type:Boolean,default:!1},shown:{type:Boolean}},emits:["update:visible"],setup(A){const B=A;return sB("$ui-dropdown-disabled",x(()=>B.disabled)),(Q,g)=>(d(),V(F(Ii),{disabled:Q.disabled,class:"inline-block w-auto",shown:Q.shown,triggers:[Q.trigger],distance:Q.distance+6,placement:Q.placement,skidding:Q.skidding,"onUpdate:shown":g[0]||(g[0]=E=>Q.$emit("update:visible",E)),onClick:g[1]||(g[1]=E=>{E.stopPropagation()})},{popper:b(({hide:E})=>[N("div",Gi,[eA(Q.$slots,"popper",YI(PI({hide:E})),()=>[Ni])])]),default:b(()=>[eA(Q.$slots,"default",{},()=>[Y(LA,dA({...Q.buttonProps,disabled:Q.disabled},{class:Q.buttonClass}),no({icon:b(()=>[eA(Q.$slots,"button-icon")]),"icon-right":b(()=>[eA(Q.$slots,"button-icon-right")]),_:2},[Q.label?{name:"default",fn:b(()=>[PA(hA(Q.label),1)]),key:"0"}:void 0]),1040,["class"])])]),_:3},8,["disabled","shown","triggers","distance","placement","skidding"]))}}),YC=_({__name:"DropdownButton",props:{type:{},round:{type:[String,Boolean]},loading:{type:Boolean},disabled:{type:Boolean},size:{},flat:{type:Boolean},outlined:{type:Boolean},keepOpen:{type:Boolean,default:!1}},setup(A){const B=A,Q=iB("$ui-dropdown-disabled",void 0);return(g,E)=>uA((d(),V(LA,dA({...B,round:!1},{disabled:F(Q),class:"w-full justify-start transition-colors not-action:bg-transparent!"}),{icon:b(()=>[eA(g.$slots,"icon")]),default:b(()=>[eA(g.$slots,"default")]),_:3},16,["disabled"])),[[F(Ci)]])}});function ki(A,B){const Q=new Date(A);return`${Q.toString().match(/\d\d:\d\d:\d\d/)[0]}${B==="ms"?`.${String(Q.getMilliseconds()).padStart(3,"0")}`:""}`}function fi(A,B){const Q=new Map,g=me(A,B.toLowerCase(),Q,0);return Q.clear(),g}const Se=10;function me(A,B,Q,g){if(g>Se)return!1;let E=!1;const C=Object.keys(A);let I,e;for(let t=0;t<C.length&&(I=C[t],e=A[I],E=Je(B,I,e,Q,g+1),!E);t++);return E}function Je(A,B,Q,g,E){let C=!1,I;return B==="_custom"&&(B=Q.display,Q=Q.value),(I=yi(Q))&&(Q=I),B&&PC(B,A)?(C=!0,g.set(Q,!0)):g.has(Q)?C=g.get(Q):Array.isArray(Q)?(g.set(Q,null),C=Hi(Q,A,g,E),g.set(Q,C)):aE(Q)?(g.set(Q,null),C=me(Q,A,g,E),g.set(Q,C)):PC(Q,A)&&(C=!0,g.set(Q,!0)),C}function PC(A,B){return`${A}`.toLowerCase().includes(B)}function yi(A){return A===null?"null":A===eQ?"undefined":A===wQ?"NaN":A===tQ?"Infinity":A===oQ?"-Infinity":!1}function Hi(A,B,Q,g){if(g>Se)return!1;let E=!1,C;for(let I=0;I<A.length&&(C=A[I],E=Je(B,null,C,Q,g+1),!E);I++);return E}function SC(A){return A.toString(16).padStart(6,"0")}const xe=_({__name:"NodeTag",props:{tag:{}},setup(A){return(B,Q)=>uA((d(),y("span",{style:GA({color:`#${F(SC)(B.tag.textColor)}`,backgroundColor:`#${F(SC)(B.tag.backgroundColor)}`}),class:"ml-2 rounded-sm px-1 text-[0.75rem] leading-snug"},[PA(hA(B.tag.label),1)],4)),[[F(YA),{content:B.tag.tooltip,html:!0}]])}}),Ri={class:"p2"},Ui=["onClick"],Ki=_({__name:"SelectiveList",props:eE({data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(A){const B=tE(A,"modelValue");function Q(g){B.value=g}return(g,E)=>(d(),y("ul",Ri,[(d(!0),y(cA,null,bA(g.data,C=>(d(),y("li",{key:C.id,class:QA(["selectable-item",{active:C.id===B.value}]),onClick:I=>Q(C.id)},[PA(hA(C.label)+" ",1),(d(!0),y(cA,null,bA(C.tags,(I,e)=>(d(),V(xe,{key:e,tag:I},null,8,["tag"]))),128))],10,Ui))),128))]))}}),Yi={border:"b base",class:"h10 h40px flex items-center justify-between px3"},Pi=["href"],Si=N("i",{class:"i-clarity:document-line cursor-pointer op70 text-base hover:op100"},null,-1),mi=[Si],Ji=["href"],xi=N("i",{class:"i-mdi:github cursor-pointer op70 text-base hover:op100"},null,-1),vi=[xi],ve=_({__name:"DevToolsHeader",props:{githubRepoLink:{},docLink:{}},setup(A){const B=wE();return(Q,g)=>(d(),y("div",Yi,[N("div",null,[eA(Q.$slots,"default",{},()=>[N("i",{class:"i-ep:back cursor-pointer op70 text-base hover:op100",onClick:g[0]||(g[0]=E=>F(B).push("/"))})])]),N("div",null,[N("a",{class:"pr2",href:Q.docLink,target:"_blank"},mi,8,Pi),N("a",{href:Q.githubRepoLink,target:"_blank"},vi,8,Ji)])]))}}),Oi={},bi={class:"h-full flex flex-col items-center justify-center op50"},qi=N("i",{class:"i-lets-icons:blank-light"},null,-1);function Ti(A,B){return d(),y("div",bi,[qi,N("span",null,[eA(A.$slots,"default")])])}const Oe=Bg(Oi,[["render",Ti]]);function GE(A){return Io()?(eo(A),!0):!1}function mA(A){return typeof A=="function"?A():F(A)}const NE=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Wi=A=>typeof A<"u",Xi=Object.prototype.toString,Zi=A=>Xi.call(A)==="[object Object]",vQ=()=>{};function zi(A,B){function Q(...g){return new Promise((E,C)=>{Promise.resolve(A(()=>B.apply(this,g),{fn:B,thisArg:this,args:g})).then(E).catch(C)})}return Q}const ji=A=>A();function Vi(A,B={}){let Q,g,E=vQ;const C=I=>{clearTimeout(I),E(),E=vQ};return I=>{const e=mA(A),t=mA(B.maxWait);return Q&&C(Q),e<=0||t!==void 0&&t<=0?(g&&(C(g),g=null),Promise.resolve(I())):new Promise((o,D)=>{E=B.rejectOnCancel?D:o,t&&!g&&(g=setTimeout(()=>{Q&&C(Q),g=null,o(I())},t)),Q=setTimeout(()=>{g&&C(g),g=null,o(I())},e)})}}function _i(A){let B;function Q(){return B||(B=A()),B}return Q.reset=async()=>{const g=B;B=void 0,g&&await g},Q}function $i(A){return A||Ag()}function An(A,B,Q={}){const{eventFilter:g=ji,...E}=Q;return MA(A,zi(g,B),E)}function Bn(A,B=!0,Q){$i()?IE(A,Q):B?A():BB(A)}function Qn(A,B,Q={}){const{immediate:g=!0}=Q,E=S(!1);let C=null;function I(){C&&(clearTimeout(C),C=null)}function e(){E.value=!1,I()}function t(...o){I(),E.value=!0,C=setTimeout(()=>{E.value=!1,C=null,A(...o)},mA(B))}return g&&(E.value=!0,NE&&t()),GE(e),{isPending:ro(E),start:t,stop:e}}function gn(A=!1,B={}){const{truthyValue:Q=!0,falsyValue:g=!1}=B,E=EQ(A),C=S(A);function I(e){if(arguments.length)return C.value=e,C.value;{const t=mA(Q);return C.value=C.value===t?mA(g):t,C.value}}return E?I:[C,I]}function En(A,B,Q={}){const{debounce:g=0,maxWait:E=void 0,...C}=Q;return An(A,B,{...C,eventFilter:Vi(g,{maxWait:E})})}function eB(A){var B;const Q=mA(A);return(B=Q?.$el)!=null?B:Q}const og=NE?window:void 0,be=NE?window.navigator:void 0;function VA(...A){let B,Q,g,E;if(typeof A[0]=="string"||Array.isArray(A[0])?([Q,g,E]=A,B=og):[B,Q,g,E]=A,!B)return vQ;Array.isArray(Q)||(Q=[Q]),Array.isArray(g)||(g=[g]);const C=[],I=()=>{C.forEach(D=>D()),C.length=0},e=(D,w,s,i)=>(D.addEventListener(w,s,i),()=>D.removeEventListener(w,s,i)),t=MA(()=>[eB(B),mA(E)],([D,w])=>{if(I(),!D)return;const s=Zi(w)?{...w}:w;C.push(...Q.flatMap(i=>g.map(a=>e(D,i,a,s))))},{immediate:!0,flush:"post"}),o=()=>{t(),I()};return GE(o),o}function Cn(){const A=S(!1),B=Ag();return B&&IE(()=>{A.value=!0},B),A}function LE(A){const B=Cn();return x(()=>(B.value,!!A()))}function mC(A,B={}){const{controls:Q=!1,navigator:g=be}=B,E=LE(()=>g&&"permissions"in g);let C;const I=typeof A=="string"?{name:A}:A,e=S(),t=()=>{C&&(e.value=C.state)},o=_i(async()=>{if(E.value){if(!C)try{C=await g.permissions.query(I),VA(C,"change",t),t()}catch{e.value="prompt"}return C}});return o(),Q?{state:e,isSupported:E,query:o}:e}function In(A={}){const{navigator:B=be,read:Q=!1,source:g,copiedDuring:E=1500,legacy:C=!1}=A,I=LE(()=>B&&"clipboard"in B),e=mC("clipboard-read"),t=mC("clipboard-write"),o=x(()=>I.value||C),D=S(""),w=S(!1),s=Qn(()=>w.value=!1,E);function i(){I.value&&l(e.value)?B.clipboard.readText().then(h=>{D.value=h}):D.value=r()}o.value&&Q&&VA(["copy","cut"],i);async function a(h=mA(g)){o.value&&h!=null&&(I.value&&l(t.value)?await B.clipboard.writeText(h):n(h),D.value=h,w.value=!0,s.start())}function n(h){const u=document.createElement("textarea");u.value=h??"",u.style.position="absolute",u.style.opacity="0",document.body.appendChild(u),u.select(),document.execCommand("copy"),u.remove()}function r(){var h,u,M;return(M=(u=(h=document?.getSelection)==null?void 0:h.call(document))==null?void 0:u.toString())!=null?M:""}function l(h){return h==="granted"||h==="prompt"}return{isSupported:o,text:D,copied:w,copy:a}}function en(A){return JSON.parse(JSON.stringify(A))}function tn(A,B,Q={}){const{window:g=og,...E}=Q;let C;const I=LE(()=>g&&"ResizeObserver"in g),e=()=>{C&&(C.disconnect(),C=void 0)},t=x(()=>Array.isArray(A)?A.map(w=>eB(w)):[eB(A)]),o=MA(t,w=>{if(e(),I.value&&g){C=new ResizeObserver(B);for(const s of w)s&&C.observe(s,E)}},{immediate:!0,flush:"post"}),D=()=>{e(),o()};return GE(D),{isSupported:I,stop:D}}function on(A,B={width:0,height:0},Q={}){const{window:g=og,box:E="content-box"}=Q,C=x(()=>{var w,s;return(s=(w=eB(A))==null?void 0:w.namespaceURI)==null?void 0:s.includes("svg")}),I=S(B.width),e=S(B.height),{stop:t}=tn(A,([w])=>{const s=E==="border-box"?w.borderBoxSize:E==="content-box"?w.contentBoxSize:w.devicePixelContentBoxSize;if(g&&C.value){const i=eB(A);if(i){const a=g.getComputedStyle(i);I.value=Number.parseFloat(a.width),e.value=Number.parseFloat(a.height)}}else if(s){const i=Array.isArray(s)?s:[s];I.value=i.reduce((a,{inlineSize:n})=>a+n,0),e.value=i.reduce((a,{blockSize:n})=>a+n,0)}else I.value=w.contentRect.width,e.value=w.contentRect.height},Q);Bn(()=>{const w=eB(A);w&&(I.value="offsetWidth"in w?w.offsetWidth:B.width,e.value="offsetHeight"in w?w.offsetHeight:B.height)});const o=MA(()=>eB(A),w=>{I.value=w?B.width:0,e.value=w?B.height:0});function D(){t(),o()}return{width:I,height:e,stop:D}}const wn={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Dn(A={}){const{reactive:B=!1,target:Q=og,aliasMap:g=wn,passive:E=!0,onEventFired:C=vQ}=A,I=XE(new Set),e={toJSON(){return{}},current:I},t=B?XE(e):e,o=new Set,D=new Set;function w(n,r){n in t&&(B?t[n]=r:t[n].value=r)}function s(){I.clear();for(const n of D)w(n,!1)}function i(n,r){var l,h;const u=(l=n.key)==null?void 0:l.toLowerCase(),M=[(h=n.code)==null?void 0:h.toLowerCase(),u].filter(Boolean);u&&(r?I.add(u):I.delete(u));for(const p of M)D.add(p),w(p,r);u==="meta"&&!r?(o.forEach(p=>{I.delete(p),w(p,!1)}),o.clear()):typeof n.getModifierState=="function"&&n.getModifierState("Meta")&&r&&[...I,...M].forEach(p=>o.add(p))}VA(Q,"keydown",n=>(i(n,!0),C(n)),{passive:E}),VA(Q,"keyup",n=>(i(n,!1),C(n)),{passive:E}),VA("blur",s,{passive:!0}),VA("focus",s,{passive:!0});const a=new Proxy(t,{get(n,r,l){if(typeof r!="string")return Reflect.get(n,r,l);if(r=r.toLowerCase(),r in g&&(r=g[r]),!(r in t))if(/[+_-]/.test(r)){const u=r.split(/[+_-]/g).map(M=>M.trim());t[r]=x(()=>u.every(M=>mA(a[M])))}else t[r]=S(!1);const h=Reflect.get(n,r,l);return B?mA(h):h}});return a}function sn(A,B,Q,g={}){var E,C,I;const{clone:e=!1,passive:t=!1,eventName:o,deep:D=!1,defaultValue:w,shouldEmit:s}=g,i=Ag(),a=Q||i?.emit||((E=i?.$emit)==null?void 0:E.bind(i))||((I=(C=i?.proxy)==null?void 0:C.$emit)==null?void 0:I.bind(i?.proxy));let n=o;B||(B="modelValue"),n=n||`update:${B.toString()}`;const r=u=>e?typeof e=="function"?e(u):en(u):u,l=()=>Wi(A[B])?r(A[B]):w,h=u=>{s?s(u)&&a(n,u):a(n,u)};if(t){const u=l(),M=S(u);let p=!1;return MA(()=>A[B],k=>{p||(p=!0,M.value=r(k),BB(()=>p=!1))}),MA(M,k=>{!p&&(k!==A[B]||D)&&h(k)},{deep:D}),M}else return x({get(){return l()},set(u){h(u)}})}const qe=Symbol("StateEditorSymbol");function nn(A){const B=S(A);return sB(qe,B),{context:B}}function kE(){return iB(qe)}function an(){const A=S(""),B=S("string"),Q=S(!1),g=kE();return{editingText:A,editing:Q,toggleEditing(E){E&&(B.value=E),Q.value=!Q.value},editingType:B,nodeId:g.value.nodeId}}function rn(A,B){if(A==="array")return B.length;const Q="newProp";let g=1;for(;;){const E=`${Q}${g}`;if(!B[E])return E;g++}}function cn(){const A=S({enable:!1,key:"",value:"undefined"});function B(g,E){const C=rn(g,E);A.value={enable:!0,key:C.toString(),value:"undefined"}}function Q(){A.value={enable:!1,key:"",value:"undefined"}}return{addNewProp:B,resetDrafting:Q,draftingNewProp:A}}const ln={class:"flex pl5px"},hn={class:"w160px py5px"},un=_({__name:"StateFieldEditor",props:{data:{},hovering:{type:Boolean},depth:{},showAddIfNeeded:{type:Boolean,default:!0},disableEdit:{type:Boolean}},emits:["enableEditInput","addNewProp"],setup(A){const B=A,Q=kE(),{copy:g,isSupported:E}=In(),C=S(!1),I=x(()=>rE(B.data.value)),e=x(()=>I.value.value),t=x(()=>I.value.customType),o=x(()=>e.value===null?"null":typeof e.value),D={flat:!0,size:"mini"},w=x(()=>({"opacity-0":!B.hovering}));function s(a,n=!1){YQ({path:B.data.key.split("."),inspectorId:Q.value.inspectorId,type:B.data.stateType,nodeId:Q.value.nodeId,state:{newKey:null,value:ao(a),type:o.value,remove:n}})}function i(a,n){const r=typeof a=="number"?a+n:BigInt(a)+BigInt(n);s(r)}return(a,n)=>(d(),y("div",ln,[!B.disableEdit&&a.data.editable?(d(),y(cA,{key:0},[o.value==="string"||o.value==="number"||o.value==="object"||o.value==="null"?(d(),y(cA,{key:0},[uA((d(),V(F(LA),dA(D,{class:w.value,onClick:n[0]||(n[0]=vA(r=>a.$emit("enableEditInput",o.value),["stop"]))}),{icon:b(()=>[Y(F(nA),{icon:"i-material-symbols-edit-rounded"})]),_:1},16,["class"])),[[F(YA),{content:"Edit value"}]]),o.value==="object"&&a.showAddIfNeeded?uA((d(),V(F(LA),dA({key:0},D,{class:w.value,onClick:n[1]||(n[1]=vA(r=>a.$emit("addNewProp",Array.isArray(e.value)?"array":"object"),["stop"]))}),{icon:b(()=>[Y(F(nA),{icon:"i-material-symbols-add-circle-rounded"})]),_:1},16,["class"])),[[F(YA),{content:"Add new value"}]]):BA("",!0)],64)):BA("",!0),o.value==="boolean"?(d(),V(F(LA),dA({key:1},D,{class:w.value,onClick:n[2]||(n[2]=r=>s(!e.value))}),{icon:b(()=>[Y(F(nA),{icon:e.value?"i-material-symbols-check-box-sharp":"i-material-symbols-check-box-outline-blank-sharp"},null,8,["icon"])]),_:1},16,["class"])):o.value==="number"||t.value==="bigint"?(d(),y(cA,{key:2},[Y(F(LA),dA(D,{class:w.value,onClick:n[3]||(n[3]=vA(r=>i(e.value,1),["stop"]))}),{icon:b(()=>[Y(F(nA),{icon:"i-carbon-add"})]),_:1},16,["class"]),Y(F(LA),dA(D,{class:w.value,onClick:n[4]||(n[4]=vA(r=>i(e.value,-1),["stop"]))}),{icon:b(()=>[Y(F(nA),{icon:"i-carbon-subtract"})]),_:1},16,["class"])],64)):BA("",!0)],64)):BA("",!0),!B.disableEdit&&a.depth>0?(d(),V(F(LA),dA({key:1},D,{class:w.value,onClick:n[5]||(n[5]=vA(r=>s(e.value,!0),["stop"]))}),{icon:b(()=>[Y(F(nA),{icon:"i-material-symbols-delete-rounded"})]),_:1},16,["class"])):BA("",!0),Y(F(Li),{class:QA({"opacity-0":!a.hovering&&!C.value}),"button-props":{flat:!0,size:"mini"},disabled:!F(E),"onUpdate:visible":n[8]||(n[8]=r=>C.value=r)},{popper:b(()=>[N("div",hn,[Y(F(YC),{onClick:n[6]||(n[6]=r=>F(g)(typeof e.value=="object"?JSON.stringify(e.value):e.value.toString()))},{icon:b(()=>[Y(F(nA),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),PA(" Copy Value ")]),_:1}),Y(F(YC),{onClick:n[7]||(n[7]=()=>{F(g)(a.data.key)})},{icon:b(()=>[Y(F(nA),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),PA(" Copy Path ")]),_:1})])]),"button-icon":b(()=>[Y(F(nA),{icon:"i-material-symbols:more-vert"})]),_:1},8,["class","disabled"])]))}}),Mn={class:"flex-inline items-center gap4px"},pg=_({__name:"StateFieldInputEditor",props:{modelValue:{},customType:{},showActions:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0}},emits:["cancel","submit","update:modelValue"],setup(A,{emit:B}){const Q=A,g=B,E=x(()=>Q.customType==="date"?"datetime-local":""),{escape:C,enter:I}=Dn();fQ(()=>{C.value?g("cancel"):I.value&&g("submit")});const e=sn(Q,"modelValue",g);function t(D){try{return dQ(D,Q.customType),!0}catch{return!1}}const o=S(!1);return MA(e,Qg(()=>{o.value=!t(e.value)},300)),(D,w)=>(d(),y("span",Mn,[Y(F(Jg),{modelValue:F(e),"onUpdate:modelValue":w[0]||(w[0]=s=>EQ(e)?e.value=s:null),type:E.value,variant:o.value?"warning":"normal",class:QA(["h25px px4px",D.customType==="date"?"w240px":"w120px"]),"auto-focus":D.autoFocus,onClick:w[1]||(w[1]=vA(()=>{},["stop"]))},null,8,["modelValue","type","variant","class","auto-focus"]),D.showActions?(d(),y(cA,{key:0},[uA((d(),V(F(LA),{size:"mini",flat:"",class:"p2px!",onClick:w[2]||(w[2]=vA(s=>D.$emit("cancel"),["stop"]))},{icon:b(()=>[Y(F(nA),{icon:"i-material-symbols-cancel"})]),_:1})),[[F(YA),{content:"Esc to cancel"}]]),o.value?uA((d(),V(F(nA),{key:1,icon:"i-material-symbols-warning",class:"color-warning-500 dark:color-warning-300"},null,512)),[[F(YA),{content:"Invalid value"}]]):uA((d(),V(F(LA),{key:0,size:"mini",flat:"",class:"p2px!",onClick:w[3]||(w[3]=vA(s=>D.$emit("submit"),["stop"]))},{icon:b(()=>[Y(F(nA),{icon:"i-material-symbols-save"})]),_:1})),[[F(YA),{content:"Enter to submit change"}]])],64)):BA("",!0)]))}}),fE=_({__name:"ToggleExpanded",props:{value:{type:Boolean}},setup(A){return(B,Q)=>(d(),y("i",{class:QA(["i-radix-icons:triangle-right flex-none text-4 op-50 transition-base",{"transform rotate-90":B.value}])},null,2))}}),Te="expanded-state";function OQ(A=""){const B=S([]);return sB(`${Te}-${A}`,B),{expanded:B}}function yE(A=""){const B=iB(`${Te}-${A}`,S([]));function Q(g){const E=B.value.indexOf(g);E===-1?B.value.push(g):B.value.splice(E,1)}return{expanded:B,toggleExpanded:Q}}function pn(A,B={}){const{enter:Q=()=>{},leave:g=()=>{},initial:E=!1}=B,C=S(E);return VA(A,"mouseenter",()=>{C.value=!0,Q()}),VA(A,"mouseleave",()=>{C.value=!1,g()}),{isHovering:C}}const We=A=>(_Q("data-v-cf35cdd0"),A=A(),$Q(),A),dn={key:1,pl5:""},Fn={op70:"",class:"whitespace-nowrap"},Gn=We(()=>N("span",{mx1:""},":",-1)),Nn=["innerHTML"],Ln={key:0},kn={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},fn=We(()=>N("span",{"mx-1":""},":",-1)),JC=30,yn=_({__name:"StateFieldViewer",props:{data:{},depth:{},index:{}},setup(A){const B=A,Q=S(JC),g=x(()=>VI(B.data.value)),E=x(()=>WB(B.data.value)),C=x(()=>rE(B.data.value)),{expanded:I,toggleExpanded:e}=yE(),t=x(()=>{var L;return E.value==="custom"?`${((L=B.data.value._custom)==null?void 0:L.type)??"string"}-custom-state`:""}),o=x(()=>{const{value:L}=C.value;return jE(L)?L.length:zE(L)?Object.keys(L).length:0}),D=x(()=>{const L=B.data.key,f=L.lastIndexOf(".");return f===-1?L:L.slice(f+1)}),w=x(()=>{var L,f,T,j,H,EA,DA;const U=["Reactive"],R=((f=(L=B.data)==null?void 0:L._custom)==null?void 0:f.stateTypeName)||((T=B.data)==null?void 0:T.stateTypeName);if(U.includes(R))return R;if((H=(j=B.data.value)==null?void 0:j.fields)!=null&&H.abstract)return"";{const J=(DA=(EA=B.data.value)==null?void 0:EA._custom)==null?void 0:DA.type,z=E.value==="custom"&&!J?`"${g.value}"`:g.value===""?'""':g.value,CA=`<span class="${E.value==="custom"&&J==="ref"?WB(z):E.value}-state-type flex whitespace-nowrap">${z}</span>`;return R?`${CA} <span class="text-gray-500">(${R})</span>`:CA}}),s=x(()=>{const{value:L,inherit:f,customType:T}=C.value,j=T==="set";let H=[];return jE(L)?L.slice(0,Q.value).map((EA,DA)=>({key:`${B.data.key}.${DA}`,value:EA,...f,editable:B.data.editable&&!j,creating:!1})):(zE(L)&&(H=Object.keys(L).slice(0,Q.value).map(EA=>({key:`${B.data.key}.${EA}`,value:L[EA],...f,editable:B.data.editable&&!j,creating:!1})),E.value!=="custom"&&(H=xI(H))),H===B.data.value?[]:H)}),i=x(()=>s.value.length>0),a=S(),n=kE(),{isHovering:r}=pn(()=>a.value),{editingType:l,editing:h,editingText:u,toggleEditing:M,nodeId:p}=an();MA(()=>h.value,L=>{if(L){const{value:f}=C.value;u.value=GD(f,C.value.customType)}else u.value=""});function k(){const L=B.data;YQ({path:L.key.split("."),inspectorId:n.value.inspectorId,type:L.stateType,nodeId:p,state:{newKey:null,type:l.value,value:dQ(u.value,C.value.customType)}}),M()}const{addNewProp:v,draftingNewProp:m,resetDrafting:W}=cn();function P(L){const f=`${B.depth}-${B.index}`;I.value.includes(f)||e(f),v(L,C.value.value)}function q(){const L=B.data,f=L.key.split(".");f.push(m.value.key),YQ({path:f,inspectorId:n.value.inspectorId,type:L.stateType,nodeId:p,state:{newKey:m.value.key,type:typeof dQ(m.value.value),value:dQ(m.value.value)}}),W()}return(L,f)=>(d(),y("div",null,[N("div",{ref_key:"containerRef",ref:a,class:QA(["font-state-field flex items-center",[i.value&&"cursor-pointer hover:bg-active"]]),style:GA({paddingLeft:`${L.depth*15+4}px`}),onClick:f[1]||(f[1]=T=>F(e)(`${L.depth}-${L.index}`))},[i.value?(d(),V(fE,{key:0,value:F(I).includes(`${L.depth}-${L.index}`)},null,8,["value"])):(d(),y("span",dn)),N("span",Fn,hA(D.value),1),Gn,F(h)?(d(),V(pg,{key:2,modelValue:F(u),"onUpdate:modelValue":f[0]||(f[0]=T=>EQ(u)?u.value=T:null),"custom-type":C.value.customType,onCancel:F(M),onSubmit:k},null,8,["modelValue","custom-type","onCancel"])):BA("",!0),N("span",{class:QA([t.value,"flex whitespace-nowrap"])},[N("span",{class:"flex",innerHTML:w.value},null,8,Nn)],2),Y(un,{hovering:F(r),"disable-edit":F(n).disableEdit,data:L.data,depth:L.depth,onEnableEditInput:F(M),onAddNewProp:P},null,8,["hovering","disable-edit","data","depth","onEnableEditInput"])],6),i.value&&F(I).includes(`${L.depth}-${L.index}`)?(d(),y("div",Ln,[Y(Xe,{data:s.value,depth:L.depth,index:L.index},null,8,["data","depth","index"]),o.value>Q.value?uA((d(),V(F(LA),{key:0,flat:"",size:"mini",class:"ml-4",onClick:f[2]||(f[2]=T=>Q.value+=JC)},{icon:b(()=>[Y(F(nA),{icon:"i-material-symbols-more-horiz"})]),_:1})),[[F(YA),"Show more"]]):BA("",!0),F(m).enable?(d(),y("div",{key:1,style:GA({paddingLeft:`${(L.depth+1)*15+4}px`})},[N("span",kn,[Y(pg,{modelValue:F(m).key,"onUpdate:modelValue":f[3]||(f[3]=T=>F(m).key=T),"show-actions":!1},null,8,["modelValue"])]),fn,Y(pg,{modelValue:F(m).value,"onUpdate:modelValue":f[4]||(f[4]=T=>F(m).value=T),"auto-focus":!1,onCancel:F(W),onSubmit:q},null,8,["modelValue","onCancel"])],4)):BA("",!0)])):BA("",!0)]))}}),Hn=Bg(yn,[["__scopeId","data-v-cf35cdd0"]]),Xe=_({__name:"ChildStateViewer",props:{data:{},depth:{default:0},index:{}},setup(A){return(B,Q)=>(d(),y("div",null,[(d(!0),y(cA,null,bA(B.data,(g,E)=>(d(),y("div",{key:E},[Y(Hn,{data:g,depth:B.depth+1,index:`${B.index}-${E}`},null,8,["data","depth","index"])]))),128))]))}}),Rn=["onClick"],Un={key:1,pl5:""},Kn={"font-state-field":"","text-4":""},Yn={key:0},HE=_({__name:"RootStateViewer",props:{data:{},nodeId:{},inspectorId:{},disableEdit:{type:Boolean,default:!1},expandedStateId:{default:""}},setup(A){const B=A;function Q(){return{nodeId:B.nodeId,inspectorId:B.inspectorId,disableEdit:B.disableEdit}}const{context:g}=nn(Q());fQ(()=>{g.value=Q()});const{expanded:E,toggleExpanded:C}=yE(B.expandedStateId);return(I,e)=>(d(),y("div",null,[(d(!0),y(cA,null,bA(I.data,(t,o,D)=>(d(),y("div",{key:D},[N("div",{class:QA(["flex items-center",[t?.length&&"cursor-pointer hover:bg-active"]]),onClick:w=>F(C)(`${D}`)},[t!=null&&t.length?(d(),V(fE,{key:0,value:F(E).includes(`${D}`)},null,8,["value"])):(d(),y("span",Un)),N("span",Kn,hA(o),1)],10,Rn),t!=null&&t.length&&F(E).includes(`${D}`)?(d(),y("div",Yn,[Y(Xe,{data:t,index:`${D}`},null,8,["data","index"])])):BA("",!0)]))),128))]))}}),Pn={class:"h-full flex flex-col"},Sn={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},mn={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},KB="pinia",Jn=_({__name:"Index",setup(A){const{expanded:B}=OQ("pinia-store-state"),Q=S(""),g=S([]),E=S({}),C=x(()=>{var o,D;return!((o=E.value.state)!=null&&o.length)&&!((D=E.value.getters)!=null&&D.length)});function I(o){var D;for(const w in o)(D=o[w])!=null&&D.length||delete o[w];return o}function e(o){lE({inspectorId:KB,nodeId:o}).then(D=>{E.value=I(XB(D)),B.value=Array.from({length:Object.keys(E.value).length},(w,s)=>`${s}`)})}function t(){E.value={}}return MA(Q,()=>{t(),e(Q.value)}),cE({inspectorId:KB,filter:""}).then(o=>{const D=XB(o);g.value=D,!Q.value&&D.length&&(Q.value=D[0].id),e(D[0].id)}),hE(o=>{!(o!=null&&o.data.length)||o.inspectorId!==KB||(g.value=o.data,!Q.value&&o.data.length&&(Q.value=o.data[0].id,e(o.data[0].id)))}),uE(o=>{var D;!o||!((D=o?.state)!=null&&D.length)||o.inspectorId!==KB||(E.value=I({state:o.state,getters:o.getters}),B.value=Array.from({length:Object.keys(E.value).length},(w,s)=>`${s}`))}),(o,D)=>(d(),y("div",Pn,[Y(ve,{"doc-link":"https://pinia.vuejs.org/","github-repo-link":"https://github.com/vuejs/pinia"},{default:b(()=>[Y(se)]),_:1}),Y(F(DE),{class:"flex-1 overflow-auto"},{default:b(()=>[Y(F(LB),{border:"r base",size:"40","h-full":""},{default:b(()=>[N("div",Sn,[Y(Ki,{modelValue:Q.value,"onUpdate:modelValue":D[0]||(D[0]=w=>Q.value=w),data:g.value},null,8,["modelValue","data"])])]),_:1}),Y(F(LB),{size:"60"},{default:b(()=>[N("div",mn,[Q.value&&!C.value?(d(),V(HE,{key:0,class:"p3",data:E.value,"node-id":Q.value,"inspector-id":KB,"expanded-state-id":"pinia-store-state"},null,8,["data","node-id"])):(d(),V(Oe,{key:1},{default:b(()=>[PA(" No Data ")]),_:1}))])]),_:1})]),_:1})]))}});function xn(){var A=window.navigator.userAgent,B=A.indexOf("MSIE ");if(B>0)return parseInt(A.substring(B+5,A.indexOf(".",B)),10);var Q=A.indexOf("Trident/");if(Q>0){var g=A.indexOf("rv:");return parseInt(A.substring(g+3,A.indexOf(".",g)),10)}var E=A.indexOf("Edge/");return E>0?parseInt(A.substring(E+5,A.indexOf(".",E)),10):-1}let GQ;function xg(){xg.init||(xg.init=!0,GQ=xn()!==-1)}var wg={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){xg(),BB(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const A=document.createElement("object");this._resizeObject=A,A.setAttribute("aria-hidden","true"),A.setAttribute("tabindex",-1),A.onload=this.addResizeHandlers,A.type="text/html",GQ&&this.$el.appendChild(A),A.data="about:blank",GQ||this.$el.appendChild(A)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!GQ&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const vn=KI();_Q("data-v-b329ee4c");const On={class:"resize-observer",tabindex:"-1"};$Q();const bn=vn((A,B,Q,g,E,C)=>(d(),V("div",On)));wg.render=bn;wg.__scopeId="data-v-b329ee4c";wg.__file="src/components/ResizeObserver.vue";function NQ(A){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?NQ=function(B){return typeof B}:NQ=function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},NQ(A)}function qn(A,B){if(!(A instanceof B))throw new TypeError("Cannot call a class as a function")}function xC(A,B){for(var Q=0;Q<B.length;Q++){var g=B[Q];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(A,g.key,g)}}function Tn(A,B,Q){return B&&xC(A.prototype,B),Q&&xC(A,Q),A}function vC(A){return Wn(A)||Xn(A)||Zn(A)||zn()}function Wn(A){if(Array.isArray(A))return vg(A)}function Xn(A){if(typeof Symbol<"u"&&Symbol.iterator in Object(A))return Array.from(A)}function Zn(A,B){if(A){if(typeof A=="string")return vg(A,B);var Q=Object.prototype.toString.call(A).slice(8,-1);if(Q==="Object"&&A.constructor&&(Q=A.constructor.name),Q==="Map"||Q==="Set")return Array.from(A);if(Q==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Q))return vg(A,B)}}function vg(A,B){(B==null||B>A.length)&&(B=A.length);for(var Q=0,g=new Array(B);Q<B;Q++)g[Q]=A[Q];return g}function zn(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
8
3
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function jn(A){var B;return typeof A=="function"?B={callback:A}:B=A,B}function Vn(A,B){var Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},g,E,C,I=function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),D=1;D<t;D++)o[D-1]=arguments[D];if(C=o,!(g&&e===E)){var w=Q.leading;typeof w=="function"&&(w=w(e,E)),(!g||e!==E)&&w&&A.apply(void 0,[e].concat(vC(C))),E=e,clearTimeout(g),g=setTimeout(function(){A.apply(void 0,[e].concat(vC(C))),g=0},B)}};return I._clear=function(){clearTimeout(g),g=null},I}function Ze(A,B){if(A===B)return!0;if(NQ(A)==="object"){for(var Q in A)if(!Ze(A[Q],B[Q]))return!1;return!0}return!1}var _n=function(){function A(B,Q,g){qn(this,A),this.el=B,this.observer=null,this.frozen=!1,this.createObserver(Q,g)}return Tn(A,[{key:"createObserver",value:function(B,Q){var g=this;if(this.observer&&this.destroyObserver(),!this.frozen){if(this.options=jn(B),this.callback=function(I,e){g.options.callback(I,e),I&&g.options.once&&(g.frozen=!0,g.destroyObserver())},this.callback&&this.options.throttle){var E=this.options.throttleOptions||{},C=E.leading;this.callback=Vn(this.callback,this.options.throttle,{leading:function(I){return C==="both"||C==="visible"&&I||C==="hidden"&&!I}})}this.oldResult=void 0,this.observer=new IntersectionObserver(function(I){var e=I[0];if(I.length>1){var t=I.find(function(D){return D.isIntersecting});t&&(e=t)}if(g.callback){var o=e.isIntersecting&&e.intersectionRatio>=g.threshold;if(o===g.oldResult)return;g.oldResult=o,g.callback(o,e)}},this.options.intersection),BB(function(){g.observer&&g.observer.observe(g.el)})}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&typeof this.options.intersection.threshold=="number"?this.options.intersection.threshold:0}}]),A}();function ze(A,B,Q){var g=B.value;if(g)if(typeof IntersectionObserver>"u")console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var E=new _n(A,g,Q);A._vue_visibilityState=E}}function $n(A,B,Q){var g=B.value,E=B.oldValue;if(!Ze(g,E)){var C=A._vue_visibilityState;if(!g){je(A);return}C?C.createObserver(g,Q):ze(A,{value:g},Q)}}function je(A){var B=A._vue_visibilityState;B&&(B.destroyObserver(),delete A._vue_visibilityState)}var Aa={beforeMount:ze,updated:$n,unmounted:je},Ba={itemsLimit:1e3},Qa=/(auto|scroll)/;function Ve(A,B){return A.parentNode===null?B:Ve(A.parentNode,B.concat([A]))}var dg=function(A,B){return getComputedStyle(A,null).getPropertyValue(B)},ga=function(A){return dg(A,"overflow")+dg(A,"overflow-y")+dg(A,"overflow-x")},Ea=function(A){return Qa.test(ga(A))};function OC(A){if(A instanceof HTMLElement||A instanceof SVGElement){for(var B=Ve(A.parentNode,[]),Q=0;Q<B.length;Q+=1)if(Ea(B[Q]))return B[Q];return document.scrollingElement||document.documentElement}}function Og(A){"@babel/helpers - typeof";return Og=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(B){return typeof B}:function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},Og(A)}var Ca={items:{type:Array,required:!0},keyField:{type:String,default:"id"},direction:{type:String,default:"vertical",validator:function(A){return["vertical","horizontal"].includes(A)}},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"}};function Ia(){return this.items.length&&Og(this.items[0])!=="object"}var bg=!1;if(typeof window<"u"){bg=!1;try{var ea=Object.defineProperty({},"passive",{get:function(){bg=!0}});window.addEventListener("test",null,ea)}catch{}}let ta=0;var RE={name:"RecycleScroller",components:{ResizeObserver:wg},directives:{ObserveVisibility:Aa},props:{...Ca,itemSize:{type:Number,default:null},gridItems:{type:Number,default:void 0},itemSecondarySize:{type:Number,default:void 0},minItemSize:{type:[Number,String],default:null},sizeField:{type:String,default:"size"},typeField:{type:String,default:"type"},buffer:{type:Number,default:200},pageMode:{type:Boolean,default:!1},prerender:{type:Number,default:0},emitUpdate:{type:Boolean,default:!1},updateInterval:{type:Number,default:0},skipHover:{type:Boolean,default:!1},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"},listClass:{type:[String,Object,Array],default:""},itemClass:{type:[String,Object,Array],default:""}},emits:["resize","visible","hidden","update","scroll-start","scroll-end"],data(){return{pool:[],totalSize:0,ready:!1,hoverKey:null}},computed:{sizes(){if(this.itemSize===null){const A={"-1":{accumulator:0}},B=this.items,Q=this.sizeField,g=this.minItemSize;let E=1e4,C=0,I;for(let e=0,t=B.length;e<t;e++)I=B[e][Q]||g,I<E&&(E=I),C+=I,A[e]={accumulator:C,size:I};return this.$_computedMinItemSize=E,A}return[]},simpleArray:Ia,itemIndexByKey(){const{keyField:A,items:B}=this,Q={};for(let g=0,E=B.length;g<E;g++)Q[B[g][A]]=g;return Q}},watch:{items(){this.updateVisibleItems(!0)},pageMode(){this.applyPageMode(),this.updateVisibleItems(!1)},sizes:{handler(){this.updateVisibleItems(!1)},deep:!0},gridItems(){this.updateVisibleItems(!0)},itemSecondarySize(){this.updateVisibleItems(!0)}},created(){this.$_startIndex=0,this.$_endIndex=0,this.$_views=new Map,this.$_unusedViews=new Map,this.$_scrollDirty=!1,this.$_lastUpdateScrollPosition=0,this.prerender&&(this.$_prerender=!0,this.updateVisibleItems(!1)),this.gridItems&&!this.itemSize&&console.error("[vue-recycle-scroller] You must provide an itemSize when using gridItems")},mounted(){this.applyPageMode(),this.$nextTick(()=>{this.$_prerender=!1,this.updateVisibleItems(!0),this.ready=!0})},activated(){const A=this.$_lastUpdateScrollPosition;typeof A=="number"&&this.$nextTick(()=>{this.scrollToPosition(A)})},beforeUnmount(){this.removeListeners()},methods:{addView(A,B,Q,g,E){const C=Eo({id:ta++,index:B,used:!0,key:g,type:E}),I=Co({item:Q,position:0,nr:C});return A.push(I),I},unuseView(A,B=!1){const Q=this.$_unusedViews,g=A.nr.type;let E=Q.get(g);E||(E=[],Q.set(g,E)),E.push(A),B||(A.nr.used=!1,A.position=-9999)},handleResize(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll(A){if(!this.$_scrollDirty){if(this.$_scrollDirty=!0,this.$_updateTimeout)return;const B=()=>requestAnimationFrame(()=>{this.$_scrollDirty=!1;const{continuous:Q}=this.updateVisibleItems(!1,!0);Q||(clearTimeout(this.$_refreshTimout),this.$_refreshTimout=setTimeout(this.handleScroll,this.updateInterval+100))});B(),this.updateInterval&&(this.$_updateTimeout=setTimeout(()=>{this.$_updateTimeout=0,this.$_scrollDirty&&B()},this.updateInterval))}},handleVisibilityChange(A,B){this.ready&&(A||B.boundingClientRect.width!==0||B.boundingClientRect.height!==0?(this.$emit("visible"),requestAnimationFrame(()=>{this.updateVisibleItems(!1)})):this.$emit("hidden"))},updateVisibleItems(A,B=!1){const Q=this.itemSize,g=this.gridItems||1,E=this.itemSecondarySize||Q,C=this.$_computedMinItemSize,I=this.typeField,e=this.simpleArray?null:this.keyField,t=this.items,o=t.length,D=this.sizes,w=this.$_views,s=this.$_unusedViews,i=this.pool,a=this.itemIndexByKey;let n,r,l,h,u;if(!o)n=r=h=u=l=0;else if(this.$_prerender)n=h=0,r=u=Math.min(this.prerender,t.length),l=null;else{const P=this.getScroll();if(B){let f=P.start-this.$_lastUpdateScrollPosition;if(f<0&&(f=-f),Q===null&&f<C||f<Q)return{continuous:!0}}this.$_lastUpdateScrollPosition=P.start;const q=this.buffer;P.start-=q,P.end+=q;let L=0;if(this.$refs.before&&(L=this.$refs.before.scrollHeight,P.start-=L),this.$refs.after){const f=this.$refs.after.scrollHeight;P.end+=f}if(Q===null){let f,T=0,j=o-1,H=~~(o/2),EA;do EA=H,f=D[H].accumulator,f<P.start?T=H:H<o-1&&D[H+1].accumulator>P.start&&(j=H),H=~~((T+j)/2);while(H!==EA);for(H<0&&(H=0),n=H,l=D[o-1].accumulator,r=H;r<o&&D[r].accumulator<P.end;r++);for(r===-1?r=t.length-1:(r++,r>o&&(r=o)),h=n;h<o&&L+D[h].accumulator<P.start;h++);for(u=h;u<o&&L+D[u].accumulator<P.end;u++);}else{n=~~(P.start/Q*g);const f=n%g;n-=f,r=Math.ceil(P.end/Q*g),h=Math.max(0,Math.floor((P.start-L)/Q*g)),u=Math.floor((P.end-L)/Q*g),n<0&&(n=0),r>o&&(r=o),h<0&&(h=0),u>o&&(u=o),l=Math.ceil(o/g)*Q}}r-n>Ba.itemsLimit&&this.itemsLimitError(),this.totalSize=l;let M;const p=n<=this.$_endIndex&&r>=this.$_startIndex;if(p)for(let P=0,q=i.length;P<q;P++)M=i[P],M.nr.used&&(A&&(M.nr.index=a[M.item[e]]),(M.nr.index==null||M.nr.index<n||M.nr.index>=r)&&this.unuseView(M));const k=p?null:new Map;let v,m,W;for(let P=n;P<r;P++){v=t[P];const q=e?v[e]:v;if(q==null)throw new Error(`Key is ${q} on item (keyField is '${e}')`);if(M=w.get(q),!Q&&!D[P].size){M&&this.unuseView(M);continue}m=v[I];let L=s.get(m),f=!1;if(!M)p?L&&L.length?M=L.pop():M=this.addView(i,P,v,q,m):(W=k.get(m)||0,(!L||W>=L.length)&&(M=this.addView(i,P,v,q,m),this.unuseView(M,!0),L=s.get(m)),M=L[W],k.set(m,W+1)),w.delete(M.nr.key),M.nr.used=!0,M.nr.index=P,M.nr.key=q,M.nr.type=m,w.set(q,M),f=!0;else if(!M.nr.used&&(M.nr.used=!0,f=!0,L)){const T=L.indexOf(M);T!==-1&&L.splice(T,1)}M.item=v,f&&(P===t.length-1&&this.$emit("scroll-end"),P===0&&this.$emit("scroll-start")),Q===null?(M.position=D[P-1].accumulator,M.offset=0):(M.position=Math.floor(P/g)*Q,M.offset=P%g*E)}return this.$_startIndex=n,this.$_endIndex=r,this.emitUpdate&&this.$emit("update",n,r,h,u),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,this.updateInterval+300),{continuous:p}},getListenerTarget(){let A=OC(this.$el);return window.document&&(A===window.document.documentElement||A===window.document.body)&&(A=window),A},getScroll(){const{$el:A,direction:B}=this,Q=B==="vertical";let g;if(this.pageMode){const E=A.getBoundingClientRect(),C=Q?E.height:E.width;let I=-(Q?E.top:E.left),e=Q?window.innerHeight:window.innerWidth;I<0&&(e+=I,I=0),I+e>C&&(e=C-I),g={start:I,end:I+e}}else Q?g={start:A.scrollTop,end:A.scrollTop+A.clientHeight}:g={start:A.scrollLeft,end:A.scrollLeft+A.clientWidth};return g},applyPageMode(){this.pageMode?this.addListeners():this.removeListeners()},addListeners(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,bg?{passive:!0}:!1),this.listenerTarget.addEventListener("resize",this.handleResize)},removeListeners(){this.listenerTarget&&(this.listenerTarget.removeEventListener("scroll",this.handleScroll),this.listenerTarget.removeEventListener("resize",this.handleResize),this.listenerTarget=null)},scrollToItem(A){let B;const Q=this.gridItems||1;this.itemSize===null?B=A>0?this.sizes[A-1].accumulator:0:B=Math.floor(A/Q)*this.itemSize,this.scrollToPosition(B)},scrollToPosition(A){const B=this.direction==="vertical"?{scroll:"scrollTop",start:"top"}:{scroll:"scrollLeft",start:"left"};let Q,g,E;if(this.pageMode){const C=OC(this.$el),I=C.tagName==="HTML"?0:C[B.scroll],e=C.getBoundingClientRect(),t=this.$el.getBoundingClientRect()[B.start]-e[B.start];Q=C,g=B.scroll,E=A+I+t}else Q=this.$el,g=B.scroll,E=A;Q[g]=E},itemsLimitError(){throw setTimeout(()=>{console.log("It seems the scroller element isn't scrolling, so it tries to render all the items at once.","Scroller:",this.$el),console.log("Make sure the scroller has a fixed height (or width) and 'overflow-y' (or 'overflow-x') set to 'auto' so it can scroll correctly and only render the items visible in the scroll viewport.")}),new Error("Rendered items limit reached")},sortViews(){this.pool.sort((A,B)=>A.nr.index-B.nr.index)}}};const oa={key:0,ref:"before",class:"vue-recycle-scroller__slot"},wa={key:1,ref:"after",class:"vue-recycle-scroller__slot"};function Da(A,B,Q,g,E,C){const I=NB("ResizeObserver"),e=to("observe-visibility");return uA((d(),y("div",{class:QA(["vue-recycle-scroller",{ready:E.ready,"page-mode":Q.pageMode,[`direction-${A.direction}`]:!0}]),onScrollPassive:B[0]||(B[0]=(...t)=>C.handleScroll&&C.handleScroll(...t))},[A.$slots.before?(d(),y("div",oa,[eA(A.$slots,"before")],512)):BA("v-if",!0),(d(),V(yQ(Q.listTag),{ref:"wrapper",style:GA({[A.direction==="vertical"?"minHeight":"minWidth"]:E.totalSize+"px"}),class:QA(["vue-recycle-scroller__item-wrapper",Q.listClass])},{default:b(()=>[(d(!0),y(cA,null,bA(E.pool,t=>(d(),V(yQ(Q.itemTag),dA({key:t.nr.id,style:E.ready?{transform:`translate${A.direction==="vertical"?"Y":"X"}(${t.position}px) translate${A.direction==="vertical"?"X":"Y"}(${t.offset}px)`,width:Q.gridItems?`${A.direction==="vertical"&&Q.itemSecondarySize||Q.itemSize}px`:void 0,height:Q.gridItems?`${A.direction==="horizontal"&&Q.itemSecondarySize||Q.itemSize}px`:void 0}:null,class:["vue-recycle-scroller__item-view",[Q.itemClass,{hover:!Q.skipHover&&E.hoverKey===t.nr.key}]]},oo(Q.skipHover?{}:{mouseenter:()=>{E.hoverKey=t.nr.key},mouseleave:()=>{E.hoverKey=null}})),{default:b(()=>[eA(A.$slots,"default",{item:t.item,index:t.nr.index,active:t.nr.used})]),_:2},1040,["style","class"]))),128)),eA(A.$slots,"empty")]),_:3},8,["style","class"])),A.$slots.after?(d(),y("div",wa,[eA(A.$slots,"after")],512)):BA("v-if",!0),Y(I,{onNotify:C.handleResize},null,8,["onNotify"])],34)),[[e,C.handleVisibilityChange]])}RE.render=Da;RE.__file="src/components/RecycleScroller.vue";const sa={class:"p3"},ia=["onClick"],na={key:0,class:"absolute left-5px top-4.5 h10 w0 border-l-2",border:"solid gray2"},aa={class:"h-full flex items-center truncate pl5"},ra={absolute:"","top-5":"",pr2:"","text-3":"",op40:""},ca={pl2:"",op30:""},la=_({__name:"EventList",props:eE({data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(A){const B=A,Q=tE(A,"modelValue"),g=["#3e5770","#42b983","#0098c4"],E=x(()=>{let C=-1,I=0;return B.data.forEach((e,t)=>{(e.groupId!==I||C===-1)&&(C=(C+1)%g.length),I=e.groupId??I,e.id=t,e.color=g[C]}),B.data});return(C,I)=>(d(),y("div",sa,[Y(F(RE),{items:E.value,"min-item-size":52,"key-field":"id","page-mode":"","item-tag":"li","list-tag":"ul",buffer:20},{default:b(({item:e})=>[N("div",{class:"relative mb7 h6 cursor-pointer",style:GA({color:Q.value===e.id?e.color:""}),onClick:t=>Q.value=e.id},[N("span",{class:"absolute top-1.5 inline-block h3 w3 b rounded-50%",style:GA({border:`3px solid ${e.color}`})},null,4),e.id<C.data.length-1?(d(),y("span",na)):BA("",!0),N("p",aa,[N("span",ra,"["+hA(F(ki)(e.time))+"]",1),PA(" "+hA(e.title)+" ",1),N("span",ca,hA(e.subtitle),1)])],12,ia)]),_:1},8,["items"])]))}}),ha={class:"h-full flex flex-col"},ua={key:0,class:"flex-1 overflow-hidden"},Ma={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},pa={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},da="pinia:mutations",Fa=_({__name:"Index",setup(A){const{expanded:B}=OQ("timeline-state");B.value=["0","1"];const Q=S([]),g=S(new Map),E=S(0),C=x(()=>Q.value[E.value]??null),I=x(()=>{var D;const w=[];for(const s in(D=C.value)==null?void 0:D.data)w.push({key:s,type:s,editable:!1,value:C.value.data[s]});return w}),e=x(()=>{var D,w,s;const i=(D=C.value)==null?void 0:D.groupId,a=g.value.get(i);if(a){const n=((w=a[a.length-1])==null?void 0:w.time)-(((s=a[0])==null?void 0:s.time)??0);return[{key:"events",type:"events",editable:!1,value:a.length},n&&{key:"duration",type:"duration",editable:!1,value:`${n}ms`}].filter(Boolean)}}),t=x(()=>({"Event Info":I.value,...e.value&&{"Group Info":e.value}}));function o(D){var w;const s=D.groupId;s!==void 0&&(g.value.set(s,g.value.get(s)??[]),(w=g.value.get(s))==null||w.push(D))}return De(D=>{if(!D)return;const{layerId:w,event:s}=D;w===da&&(Q.value.push(s),o(s))}),(D,w)=>(d(),y("div",ha,[Y(ve,{"doc-link":"https://pinia.vuejs.org/","github-repo-link":"https://github.com/vuejs/pinia"},{default:b(()=>[Y(se)]),_:1}),Q.value.length?(d(),y("div",ua,[Y(F(DE),{class:"h-full"},{default:b(()=>[Y(F(LB),{border:"r base",size:"40","h-full":""},{default:b(()=>[N("div",Ma,[Y(la,{modelValue:E.value,"onUpdate:modelValue":w[0]||(w[0]=s=>E.value=s),data:Q.value},null,8,["modelValue","data"])])]),_:1}),Y(F(LB),{size:"60"},{default:b(()=>[N("div",pa,[Y(HE,{class:"p3",data:t.value,"node-id":"","inspector-id":"","disable-edit":!0,"expanded-state-id":"timeline-state"},null,8,["data"])])]),_:1})]),_:1})])):(d(),V(Oe,{key:1,class:"flex-1"},{default:b(()=>[PA(" No events ")]),_:1}))]))}}),Ga=Symbol("VueDevToolsConnectStateSymbol");function Na(){const A=S(!1),B=S(!1),Q=x(()=>A.value&&B.value);return ee().then(g=>{A.value=g.connected,B.value=g.clientConnected}),we(g=>{A.value=g.connected,B.value=g.clientConnected}),sB(Ga,Q),{connected:Q}}const La={"h-full":"","w-full":""},yM=_({__name:"index",setup(A){Na();const{VirtualRouterView:B}=No([{path:"/",name:"Home",component:qo,icon:"i-logos-pinia"},{path:"/store",name:"Store",component:Jn,icon:"i-carbon-tree-view-alt"},{path:"/timeline",name:"Timeline",component:Fa,icon:"i-mdi:timeline-clock-outline"}]);return S("/"),(Q,g)=>(d(),y("div",La,[Y(F(B))]))}});var _e=typeof global=="object"&&global&&global.Object===Object&&global,ka=typeof self=="object"&&self&&self.Object===Object&&self,qA=_e||ka||Function("return this")(),JA=qA.Symbol,$e=Object.prototype,fa=$e.hasOwnProperty,ya=$e.toString,YB=JA?JA.toStringTag:void 0;function Ha(A){var B=fa.call(A,YB),Q=A[YB];try{A[YB]=void 0;var g=!0}catch{}var E=ya.call(A);return g&&(B?A[YB]=Q:delete A[YB]),E}var Ra=Object.prototype,Ua=Ra.toString;function Ka(A){return Ua.call(A)}var Ya="[object Null]",Pa="[object Undefined]",bC=JA?JA.toStringTag:void 0;function RB(A){return A==null?A===void 0?Pa:Ya:bC&&bC in Object(A)?Ha(A):Ka(A)}function yB(A){return A!=null&&typeof A=="object"}var Sa="[object Symbol]";function UE(A){return typeof A=="symbol"||yB(A)&&RB(A)==Sa}function ma(A,B){for(var Q=-1,g=A==null?0:A.length,E=Array(g);++Q<g;)E[Q]=B(A[Q],Q,A);return E}var HA=Array.isArray,Ja=1/0,qC=JA?JA.prototype:void 0,TC=qC?qC.toString:void 0;function At(A){if(typeof A=="string")return A;if(HA(A))return ma(A,At)+"";if(UE(A))return TC?TC.call(A):"";var B=A+"";return B=="0"&&1/A==-Ja?"-0":B}function KE(A){var B=typeof A;return A!=null&&(B=="object"||B=="function")}function xa(A){return A}var va="[object AsyncFunction]",Oa="[object Function]",ba="[object GeneratorFunction]",qa="[object Proxy]";function Bt(A){if(!KE(A))return!1;var B=RB(A);return B==Oa||B==ba||B==va||B==qa}var Fg=qA["__core-js_shared__"],WC=function(){var A=/[^.]+$/.exec(Fg&&Fg.keys&&Fg.keys.IE_PROTO||"");return A?"Symbol(src)_1."+A:""}();function Ta(A){return!!WC&&WC in A}var Wa=Function.prototype,Xa=Wa.toString;function lB(A){if(A!=null){try{return Xa.call(A)}catch{}try{return A+""}catch{}}return""}var Za=/[\\^$.*+?()[\]{}|]/g,za=/^\[object .+?Constructor\]$/,ja=Function.prototype,Va=Object.prototype,_a=ja.toString,$a=Va.hasOwnProperty,Ar=RegExp("^"+_a.call($a).replace(Za,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Br(A){if(!KE(A)||Ta(A))return!1;var B=Bt(A)?Ar:za;return B.test(lB(A))}function Qr(A,B){return A?.[B]}function hB(A,B){var Q=Qr(A,B);return Br(Q)?Q:void 0}var gr=hB(qA,"WeakMap");const qg=gr;var XC=function(){try{var A=hB(Object,"defineProperty");return A({},"",{}),A}catch{}}(),Er=9007199254740991,Cr=/^(?:0|[1-9]\d*)$/;function Qt(A,B){var Q=typeof A;return B=B??Er,!!B&&(Q=="number"||Q!="symbol"&&Cr.test(A))&&A>-1&&A%1==0&&A<B}function Ir(A,B,Q){B=="__proto__"&&XC?XC(A,B,{configurable:!0,enumerable:!0,value:Q,writable:!0}):A[B]=Q}function gt(A,B){return A===B||A!==A&&B!==B}var er=9007199254740991;function YE(A){return typeof A=="number"&&A>-1&&A%1==0&&A<=er}function Et(A){return A!=null&&YE(A.length)&&!Bt(A)}var tr=Object.prototype;function or(A){var B=A&&A.constructor,Q=typeof B=="function"&&B.prototype||tr;return A===Q}function wr(A,B){for(var Q=-1,g=Array(A);++Q<A;)g[Q]=B(Q);return g}var Dr="[object Arguments]";function ZC(A){return yB(A)&&RB(A)==Dr}var Ct=Object.prototype,sr=Ct.hasOwnProperty,ir=Ct.propertyIsEnumerable,PE=ZC(function(){return arguments}())?ZC:function(A){return yB(A)&&sr.call(A,"callee")&&!ir.call(A,"callee")};function nr(){return!1}var It=typeof exports=="object"&&exports&&!exports.nodeType&&exports,zC=It&&typeof module=="object"&&module&&!module.nodeType&&module,ar=zC&&zC.exports===It,jC=ar?qA.Buffer:void 0,rr=jC?jC.isBuffer:void 0,Tg=rr||nr,cr="[object Arguments]",lr="[object Array]",hr="[object Boolean]",ur="[object Date]",Mr="[object Error]",pr="[object Function]",dr="[object Map]",Fr="[object Number]",Gr="[object Object]",Nr="[object RegExp]",Lr="[object Set]",kr="[object String]",fr="[object WeakMap]",yr="[object ArrayBuffer]",Hr="[object DataView]",Rr="[object Float32Array]",Ur="[object Float64Array]",Kr="[object Int8Array]",Yr="[object Int16Array]",Pr="[object Int32Array]",Sr="[object Uint8Array]",mr="[object Uint8ClampedArray]",Jr="[object Uint16Array]",xr="[object Uint32Array]",AA={};AA[Rr]=AA[Ur]=AA[Kr]=AA[Yr]=AA[Pr]=AA[Sr]=AA[mr]=AA[Jr]=AA[xr]=!0;AA[cr]=AA[lr]=AA[yr]=AA[hr]=AA[Hr]=AA[ur]=AA[Mr]=AA[pr]=AA[dr]=AA[Fr]=AA[Gr]=AA[Nr]=AA[Lr]=AA[kr]=AA[fr]=!1;function vr(A){return yB(A)&&YE(A.length)&&!!AA[RB(A)]}function Or(A){return function(B){return A(B)}}var et=typeof exports=="object"&&exports&&!exports.nodeType&&exports,qB=et&&typeof module=="object"&&module&&!module.nodeType&&module,br=qB&&qB.exports===et,Gg=br&&_e.process,VC=function(){try{var A=qB&&qB.require&&qB.require("util").types;return A||Gg&&Gg.binding&&Gg.binding("util")}catch{}}(),_C=VC&&VC.isTypedArray,tt=_C?Or(_C):vr,qr=Object.prototype,Tr=qr.hasOwnProperty;function Wr(A,B){var Q=HA(A),g=!Q&&PE(A),E=!Q&&!g&&Tg(A),C=!Q&&!g&&!E&&tt(A),I=Q||g||E||C,e=I?wr(A.length,String):[],t=e.length;for(var o in A)(B||Tr.call(A,o))&&!(I&&(o=="length"||E&&(o=="offset"||o=="parent")||C&&(o=="buffer"||o=="byteLength"||o=="byteOffset")||Qt(o,t)))&&e.push(o);return e}function Xr(A,B){return function(Q){return A(B(Q))}}var Zr=Xr(Object.keys,Object),zr=Object.prototype,jr=zr.hasOwnProperty;function Vr(A){if(!or(A))return Zr(A);var B=[];for(var Q in Object(A))jr.call(A,Q)&&Q!="constructor"&&B.push(Q);return B}function SE(A){return Et(A)?Wr(A):Vr(A)}var _r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$r=/^\w*$/;function mE(A,B){if(HA(A))return!1;var Q=typeof A;return Q=="number"||Q=="symbol"||Q=="boolean"||A==null||UE(A)?!0:$r.test(A)||!_r.test(A)||B!=null&&A in Object(B)}var $B=hB(Object,"create");function Ac(){this.__data__=$B?$B(null):{},this.size=0}function Bc(A){var B=this.has(A)&&delete this.__data__[A];return this.size-=B?1:0,B}var Qc="__lodash_hash_undefined__",gc=Object.prototype,Ec=gc.hasOwnProperty;function Cc(A){var B=this.__data__;if($B){var Q=B[A];return Q===Qc?void 0:Q}return Ec.call(B,A)?B[A]:void 0}var Ic=Object.prototype,ec=Ic.hasOwnProperty;function tc(A){var B=this.__data__;return $B?B[A]!==void 0:ec.call(B,A)}var oc="__lodash_hash_undefined__";function wc(A,B){var Q=this.__data__;return this.size+=this.has(A)?0:1,Q[A]=$B&&B===void 0?oc:B,this}function nB(A){var B=-1,Q=A==null?0:A.length;for(this.clear();++B<Q;){var g=A[B];this.set(g[0],g[1])}}nB.prototype.clear=Ac;nB.prototype.delete=Bc;nB.prototype.get=Cc;nB.prototype.has=tc;nB.prototype.set=wc;function Dc(){this.__data__=[],this.size=0}function Dg(A,B){for(var Q=A.length;Q--;)if(gt(A[Q][0],B))return Q;return-1}var sc=Array.prototype,ic=sc.splice;function nc(A){var B=this.__data__,Q=Dg(B,A);if(Q<0)return!1;var g=B.length-1;return Q==g?B.pop():ic.call(B,Q,1),--this.size,!0}function ac(A){var B=this.__data__,Q=Dg(B,A);return Q<0?void 0:B[Q][1]}function rc(A){return Dg(this.__data__,A)>-1}function cc(A,B){var Q=this.__data__,g=Dg(Q,A);return g<0?(++this.size,Q.push([A,B])):Q[g][1]=B,this}function TA(A){var B=-1,Q=A==null?0:A.length;for(this.clear();++B<Q;){var g=A[B];this.set(g[0],g[1])}}TA.prototype.clear=Dc;TA.prototype.delete=nc;TA.prototype.get=ac;TA.prototype.has=rc;TA.prototype.set=cc;var AQ=hB(qA,"Map");function lc(){this.size=0,this.__data__={hash:new nB,map:new(AQ||TA),string:new nB}}function hc(A){var B=typeof A;return B=="string"||B=="number"||B=="symbol"||B=="boolean"?A!=="__proto__":A===null}function sg(A,B){var Q=A.__data__;return hc(B)?Q[typeof B=="string"?"string":"hash"]:Q.map}function uc(A){var B=sg(this,A).delete(A);return this.size-=B?1:0,B}function Mc(A){return sg(this,A).get(A)}function pc(A){return sg(this,A).has(A)}function dc(A,B){var Q=sg(this,A),g=Q.size;return Q.set(A,B),this.size+=Q.size==g?0:1,this}function WA(A){var B=-1,Q=A==null?0:A.length;for(this.clear();++B<Q;){var g=A[B];this.set(g[0],g[1])}}WA.prototype.clear=lc;WA.prototype.delete=uc;WA.prototype.get=Mc;WA.prototype.has=pc;WA.prototype.set=dc;var Fc="Expected a function";function JE(A,B){if(typeof A!="function"||B!=null&&typeof B!="function")throw new TypeError(Fc);var Q=function(){var g=arguments,E=B?B.apply(this,g):g[0],C=Q.cache;if(C.has(E))return C.get(E);var I=A.apply(this,g);return Q.cache=C.set(E,I)||C,I};return Q.cache=new(JE.Cache||WA),Q}JE.Cache=WA;var Gc=500;function Nc(A){var B=JE(A,function(g){return Q.size===Gc&&Q.clear(),g}),Q=B.cache;return B}var Lc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,kc=/\\(\\)?/g,fc=Nc(function(A){var B=[];return A.charCodeAt(0)===46&&B.push(""),A.replace(Lc,function(Q,g,E,C){B.push(E?C.replace(kc,"$1"):g||Q)}),B});function yc(A){return A==null?"":At(A)}function ot(A,B){return HA(A)?A:mE(A,B)?[A]:fc(yc(A))}var Hc=1/0;function ig(A){if(typeof A=="string"||UE(A))return A;var B=A+"";return B=="0"&&1/A==-Hc?"-0":B}function wt(A,B){B=ot(B,A);for(var Q=0,g=B.length;A!=null&&Q<g;)A=A[ig(B[Q++])];return Q&&Q==g?A:void 0}function Rc(A,B,Q){var g=A==null?void 0:wt(A,B);return g===void 0?Q:g}function Dt(A,B){for(var Q=-1,g=B.length,E=A.length;++Q<g;)A[E+Q]=B[Q];return A}var $C=JA?JA.isConcatSpreadable:void 0;function Uc(A){return HA(A)||PE(A)||!!($C&&A&&A[$C])}function st(A,B,Q,g,E){var C=-1,I=A.length;for(Q||(Q=Uc),E||(E=[]);++C<I;){var e=A[C];B>0&&Q(e)?B>1?st(e,B-1,Q,g,E):Dt(E,e):g||(E[E.length]=e)}return E}function Kc(A){var B=A==null?0:A.length;return B?st(A,1):[]}function Yc(){this.__data__=new TA,this.size=0}function Pc(A){var B=this.__data__,Q=B.delete(A);return this.size=B.size,Q}function Sc(A){return this.__data__.get(A)}function mc(A){return this.__data__.has(A)}var Jc=200;function xc(A,B){var Q=this.__data__;if(Q instanceof TA){var g=Q.__data__;if(!AQ||g.length<Jc-1)return g.push([A,B]),this.size=++Q.size,this;Q=this.__data__=new WA(g)}return Q.set(A,B),this.size=Q.size,this}function OA(A){var B=this.__data__=new TA(A);this.size=B.size}OA.prototype.clear=Yc;OA.prototype.delete=Pc;OA.prototype.get=Sc;OA.prototype.has=mc;OA.prototype.set=xc;function vc(A,B){for(var Q=-1,g=A==null?0:A.length,E=0,C=[];++Q<g;){var I=A[Q];B(I,Q,A)&&(C[E++]=I)}return C}function Oc(){return[]}var bc=Object.prototype,qc=bc.propertyIsEnumerable,AI=Object.getOwnPropertySymbols,Tc=AI?function(A){return A==null?[]:(A=Object(A),vc(AI(A),function(B){return qc.call(A,B)}))}:Oc;const Wc=Tc;function Xc(A,B,Q){var g=B(A);return HA(A)?g:Dt(g,Q(A))}function BI(A){return Xc(A,SE,Wc)}var Zc=hB(qA,"DataView");const Wg=Zc;var zc=hB(qA,"Promise");const Xg=zc;var jc=hB(qA,"Set");const Zg=jc;var QI="[object Map]",Vc="[object Object]",gI="[object Promise]",EI="[object Set]",CI="[object WeakMap]",II="[object DataView]",_c=lB(Wg),$c=lB(AQ),Al=lB(Xg),Bl=lB(Zg),Ql=lB(qg),IB=RB;(Wg&&IB(new Wg(new ArrayBuffer(1)))!=II||AQ&&IB(new AQ)!=QI||Xg&&IB(Xg.resolve())!=gI||Zg&&IB(new Zg)!=EI||qg&&IB(new qg)!=CI)&&(IB=function(A){var B=RB(A),Q=B==Vc?A.constructor:void 0,g=Q?lB(Q):"";if(g)switch(g){case _c:return II;case $c:return QI;case Al:return gI;case Bl:return EI;case Ql:return CI}return B});const eI=IB;var gl=qA.Uint8Array;const tI=gl;var El="__lodash_hash_undefined__";function Cl(A){return this.__data__.set(A,El),this}function Il(A){return this.__data__.has(A)}function bQ(A){var B=-1,Q=A==null?0:A.length;for(this.__data__=new WA;++B<Q;)this.add(A[B])}bQ.prototype.add=bQ.prototype.push=Cl;bQ.prototype.has=Il;function el(A,B){for(var Q=-1,g=A==null?0:A.length;++Q<g;)if(B(A[Q],Q,A))return!0;return!1}function tl(A,B){return A.has(B)}var ol=1,wl=2;function it(A,B,Q,g,E,C){var I=Q&ol,e=A.length,t=B.length;if(e!=t&&!(I&&t>e))return!1;var o=C.get(A),D=C.get(B);if(o&&D)return o==B&&D==A;var w=-1,s=!0,i=Q&wl?new bQ:void 0;for(C.set(A,B),C.set(B,A);++w<e;){var a=A[w],n=B[w];if(g)var r=I?g(n,a,w,B,A,C):g(a,n,w,A,B,C);if(r!==void 0){if(r)continue;s=!1;break}if(i){if(!el(B,function(l,h){if(!tl(i,h)&&(a===l||E(a,l,Q,g,C)))return i.push(h)})){s=!1;break}}else if(!(a===n||E(a,n,Q,g,C))){s=!1;break}}return C.delete(A),C.delete(B),s}function Dl(A){var B=-1,Q=Array(A.size);return A.forEach(function(g,E){Q[++B]=[E,g]}),Q}function sl(A){var B=-1,Q=Array(A.size);return A.forEach(function(g){Q[++B]=g}),Q}var il=1,nl=2,al="[object Boolean]",rl="[object Date]",cl="[object Error]",ll="[object Map]",hl="[object Number]",ul="[object RegExp]",Ml="[object Set]",pl="[object String]",dl="[object Symbol]",Fl="[object ArrayBuffer]",Gl="[object DataView]",oI=JA?JA.prototype:void 0,Ng=oI?oI.valueOf:void 0;function Nl(A,B,Q,g,E,C,I){switch(Q){case Gl:if(A.byteLength!=B.byteLength||A.byteOffset!=B.byteOffset)return!1;A=A.buffer,B=B.buffer;case Fl:return!(A.byteLength!=B.byteLength||!C(new tI(A),new tI(B)));case al:case rl:case hl:return gt(+A,+B);case cl:return A.name==B.name&&A.message==B.message;case ul:case pl:return A==B+"";case ll:var e=Dl;case Ml:var t=g&il;if(e||(e=sl),A.size!=B.size&&!t)return!1;var o=I.get(A);if(o)return o==B;g|=nl,I.set(A,B);var D=it(e(A),e(B),g,E,C,I);return I.delete(A),D;case dl:if(Ng)return Ng.call(A)==Ng.call(B)}return!1}var Ll=1,kl=Object.prototype,fl=kl.hasOwnProperty;function yl(A,B,Q,g,E,C){var I=Q&Ll,e=BI(A),t=e.length,o=BI(B),D=o.length;if(t!=D&&!I)return!1;for(var w=t;w--;){var s=e[w];if(!(I?s in B:fl.call(B,s)))return!1}var i=C.get(A),a=C.get(B);if(i&&a)return i==B&&a==A;var n=!0;C.set(A,B),C.set(B,A);for(var r=I;++w<t;){s=e[w];var l=A[s],h=B[s];if(g)var u=I?g(h,l,s,B,A,C):g(l,h,s,A,B,C);if(!(u===void 0?l===h||E(l,h,Q,g,C):u)){n=!1;break}r||(r=s=="constructor")}if(n&&!r){var M=A.constructor,p=B.constructor;M!=p&&"constructor"in A&&"constructor"in B&&!(typeof M=="function"&&M instanceof M&&typeof p=="function"&&p instanceof p)&&(n=!1)}return C.delete(A),C.delete(B),n}var Hl=1,wI="[object Arguments]",DI="[object Array]",cQ="[object Object]",Rl=Object.prototype,sI=Rl.hasOwnProperty;function Ul(A,B,Q,g,E,C){var I=HA(A),e=HA(B),t=I?DI:eI(A),o=e?DI:eI(B);t=t==wI?cQ:t,o=o==wI?cQ:o;var D=t==cQ,w=o==cQ,s=t==o;if(s&&Tg(A)){if(!Tg(B))return!1;I=!0,D=!1}if(s&&!D)return C||(C=new OA),I||tt(A)?it(A,B,Q,g,E,C):Nl(A,B,t,Q,g,E,C);if(!(Q&Hl)){var i=D&&sI.call(A,"__wrapped__"),a=w&&sI.call(B,"__wrapped__");if(i||a){var n=i?A.value():A,r=a?B.value():B;return C||(C=new OA),E(n,r,Q,g,C)}}return s?(C||(C=new OA),yl(A,B,Q,g,E,C)):!1}function xE(A,B,Q,g,E){return A===B?!0:A==null||B==null||!yB(A)&&!yB(B)?A!==A&&B!==B:Ul(A,B,Q,g,xE,E)}var Kl=1,Yl=2;function Pl(A,B,Q,g){var E=Q.length,C=E,I=!g;if(A==null)return!C;for(A=Object(A);E--;){var e=Q[E];if(I&&e[2]?e[1]!==A[e[0]]:!(e[0]in A))return!1}for(;++E<C;){e=Q[E];var t=e[0],o=A[t],D=e[1];if(I&&e[2]){if(o===void 0&&!(t in A))return!1}else{var w=new OA;if(g)var s=g(o,D,t,A,B,w);if(!(s===void 0?xE(D,o,Kl|Yl,g,w):s))return!1}}return!0}function nt(A){return A===A&&!KE(A)}function Sl(A){for(var B=SE(A),Q=B.length;Q--;){var g=B[Q],E=A[g];B[Q]=[g,E,nt(E)]}return B}function at(A,B){return function(Q){return Q==null?!1:Q[A]===B&&(B!==void 0||A in Object(Q))}}function ml(A){var B=Sl(A);return B.length==1&&B[0][2]?at(B[0][0],B[0][1]):function(Q){return Q===A||Pl(Q,A,B)}}function Jl(A,B){return A!=null&&B in Object(A)}function xl(A,B,Q){B=ot(B,A);for(var g=-1,E=B.length,C=!1;++g<E;){var I=ig(B[g]);if(!(C=A!=null&&Q(A,I)))break;A=A[I]}return C||++g!=E?C:(E=A==null?0:A.length,!!E&&YE(E)&&Qt(I,E)&&(HA(A)||PE(A)))}function vl(A,B){return A!=null&&xl(A,B,Jl)}var Ol=1,bl=2;function ql(A,B){return mE(A)&&nt(B)?at(ig(A),B):function(Q){var g=Rc(Q,A);return g===void 0&&g===B?vl(Q,A):xE(B,g,Ol|bl)}}function Tl(A){return function(B){return B?.[A]}}function Wl(A){return function(B){return wt(B,A)}}function Xl(A){return mE(A)?Tl(ig(A)):Wl(A)}function Zl(A){return typeof A=="function"?A:A==null?xa:typeof A=="object"?HA(A)?ql(A[0],A[1]):ml(A):Xl(A)}function zl(A,B,Q,g){for(var E=-1,C=A==null?0:A.length;++E<C;){var I=A[E];B(g,I,Q(I),A)}return g}function jl(A){return function(B,Q,g){for(var E=-1,C=Object(B),I=g(B),e=I.length;e--;){var t=I[A?e:++E];if(Q(C[t],t,C)===!1)break}return B}}var Vl=jl();const _l=Vl;function $l(A,B){return A&&_l(A,B,SE)}function Ah(A,B){return function(Q,g){if(Q==null)return Q;if(!Et(Q))return A(Q,g);for(var E=Q.length,C=B?E:-1,I=Object(Q);(B?C--:++C<E)&&g(I[C],C,I)!==!1;);return Q}}var Bh=Ah($l);function Qh(A,B,Q,g){return Bh(A,function(E,C,I){B(g,E,Q(E),I)}),g}function gh(A,B){return function(Q,g){var E=HA(Q)?zl:Qh,C=B?B():{};return E(Q,A,Zl(g),C)}}var Eh=Object.prototype,Ch=Eh.hasOwnProperty,Ih=gh(function(A,B,Q){Ch.call(A,Q)?A[Q].push(B):Ir(A,Q,[B])});const eh=Ih;var fA;(function(A){A[A.NotSet=-1]="NotSet",A[A.None=0]="None",A[A.Italic=1]="Italic",A[A.Bold=2]="Bold",A[A.Underline=4]="Underline"})(fA||(fA={}));var HB;(function(A){function B(D){return D.toString(2).padStart(32,"0")}A.toBinaryStr=B;function Q(D){const w=A.getLanguageId(D),s=A.getTokenType(D),i=A.getFontStyle(D),a=A.getForeground(D),n=A.getBackground(D);console.log({languageId:w,tokenType:s,fontStyle:i,foreground:a,background:n})}A.print=Q;function g(D){return(D&255)>>>0}A.getLanguageId=g;function E(D){return(D&768)>>>8}A.getTokenType=E;function C(D){return(D&1024)!==0}A.containsBalancedBrackets=C;function I(D){return(D&30720)>>>11}A.getFontStyle=I;function e(D){return(D&16744448)>>>15}A.getForeground=e;function t(D){return(D&4278190080)>>>24}A.getBackground=t;function o(D,w,s,i,a,n,r){let l=A.getLanguageId(D),h=A.getTokenType(D),u=A.containsBalancedBrackets(D)?1:0,M=A.getFontStyle(D),p=A.getForeground(D),k=A.getBackground(D);return w!==0&&(l=w),s!==8&&(h=s),i!==null&&(u=i?1:0),a!==-1&&(M=a),n!==0&&(p=n),r!==0&&(k=r),(l<<0|h<<8|u<<10|M<<11|p<<15|k<<24)>>>0}A.set=o})(HB||(HB={}));function qQ(A,B){const Q=[],g=th(A);let E=g.next();for(;E!==null;){let t=0;if(E.length===2&&E.charAt(1)===":"){switch(E.charAt(0)){case"R":t=1;break;case"L":t=-1;break;default:console.log(`Unknown priority ${E} in scope selector`)}E=g.next()}let o=I();if(Q.push({matcher:o,priority:t}),E!==",")break;E=g.next()}return Q;function C(){if(E==="-"){E=g.next();const t=C();return o=>!!t&&!t(o)}if(E==="("){E=g.next();const t=e();return E===")"&&(E=g.next()),t}if(iI(E)){const t=[];do t.push(E),E=g.next();while(iI(E));return o=>B(t,o)}return null}function I(){const t=[];let o=C();for(;o;)t.push(o),o=C();return D=>t.every(w=>w(D))}function e(){const t=[];let o=I();for(;o&&(t.push(o),E==="|"||E===",");){do E=g.next();while(E==="|"||E===",");o=I()}return D=>t.some(w=>w(D))}}function iI(A){return!!A&&!!A.match(/[\w\.:]+/)}function th(A){let B=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,Q=B.exec(A);return{next:()=>{if(!Q)return null;const g=Q[0];return Q=B.exec(A),g}}}function rt(A){typeof A.dispose=="function"&&A.dispose()}function oh(A){return vE(A)}function vE(A){return Array.isArray(A)?wh(A):typeof A=="object"?Dh(A):A}function wh(A){let B=[];for(let Q=0,g=A.length;Q<g;Q++)B[Q]=vE(A[Q]);return B}function Dh(A){let B={};for(let Q in A)B[Q]=vE(A[Q]);return B}function ct(A,...B){return B.forEach(Q=>{for(let g in Q)A[g]=Q[g]}),A}function lt(A){const B=~A.lastIndexOf("/")||~A.lastIndexOf("\\");return B===0?A:~B===A.length-1?lt(A.substring(0,A.length-1)):A.substr(~B+1)}let Lg=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class lQ{static hasCaptures(B){return B===null?!1:(Lg.lastIndex=0,Lg.test(B))}static replaceCaptures(B,Q,g){return B.replace(Lg,(E,C,I,e)=>{let t=g[parseInt(C||I,10)];if(t){let o=Q.substring(t.start,t.end);for(;o[0]===".";)o=o.substring(1);switch(e){case"downcase":return o.toLowerCase();case"upcase":return o.toUpperCase();default:return o}}else return E})}}function ht(A,B){return A<B?-1:A>B?1:0}function ut(A,B){if(A===null&&B===null)return 0;if(!A)return-1;if(!B)return 1;let Q=A.length,g=B.length;if(Q===g){for(let E=0;E<Q;E++){let C=ht(A[E],B[E]);if(C!==0)return C}return 0}return Q-g}function nI(A){return!!(/^#[0-9a-f]{6}$/i.test(A)||/^#[0-9a-f]{8}$/i.test(A)||/^#[0-9a-f]{3}$/i.test(A)||/^#[0-9a-f]{4}$/i.test(A))}function Mt(A){return A.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}class pt{constructor(B){c(this,"fn"),c(this,"cache",new Map),this.fn=B}get(B){if(this.cache.has(B))return this.cache.get(B);const Q=this.fn(B);return this.cache.set(B,Q),Q}}class BQ{constructor(B){c(this,"scopeName"),this.scopeName=B}toKey(){return this.scopeName}}class sh{constructor(B,Q){c(this,"scopeName"),c(this,"ruleName"),this.scopeName=B,this.ruleName=Q}toKey(){return`${this.scopeName}#${this.ruleName}`}}class ih{constructor(){c(this,"_references",[]),c(this,"_seenReferenceKeys",new Set),c(this,"visitedRule",new Set)}get references(){return this._references}add(B){const Q=B.toKey();this._seenReferenceKeys.has(Q)||(this._seenReferenceKeys.add(Q),this._references.push(B))}}class nh{constructor(B,Q){c(this,"repo"),c(this,"initialScopeName"),c(this,"seenFullScopeRequests",new Set),c(this,"seenPartialScopeRequests",new Set),c(this,"Q"),this.repo=B,this.initialScopeName=Q,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new BQ(this.initialScopeName)]}processQueue(){const B=this.Q;this.Q=[];const Q=new ih;for(const g of B)ah(g,this.initialScopeName,this.repo,Q);for(const g of Q.references)if(g instanceof BQ){if(this.seenFullScopeRequests.has(g.scopeName))continue;this.seenFullScopeRequests.add(g.scopeName),this.Q.push(g)}else{if(this.seenFullScopeRequests.has(g.scopeName)||this.seenPartialScopeRequests.has(g.toKey()))continue;this.seenPartialScopeRequests.add(g.toKey()),this.Q.push(g)}}}function ah(A,B,Q,g){const E=Q.lookup(A.scopeName);if(!E){if(A.scopeName===B)throw new Error(`No grammar provided for <${B}>`);return}const C=Q.lookup(B);A instanceof BQ?LQ({baseGrammar:C,selfGrammar:E},g):zg(A.ruleName,{baseGrammar:C,selfGrammar:E,repository:E.repository},g);const I=Q.injections(A.scopeName);if(I)for(const e of I)g.add(new BQ(e))}function zg(A,B,Q){if(B.repository&&B.repository[A]){const g=B.repository[A];TQ([g],B,Q)}}function LQ(A,B){A.selfGrammar.patterns&&Array.isArray(A.selfGrammar.patterns)&&TQ(A.selfGrammar.patterns,{...A,repository:A.selfGrammar.repository},B),A.selfGrammar.injections&&TQ(Object.values(A.selfGrammar.injections),{...A,repository:A.selfGrammar.repository},B)}function TQ(A,B,Q){for(const g of A){if(Q.visitedRule.has(g))continue;Q.visitedRule.add(g);const E=g.repository?ct({},B.repository,g.repository):B.repository;Array.isArray(g.patterns)&&TQ(g.patterns,{...B,repository:E},Q);const C=g.include;if(!C)continue;const I=dt(C);switch(I.kind){case 0:LQ({...B,selfGrammar:B.baseGrammar},Q);break;case 1:LQ(B,Q);break;case 2:zg(I.ruleName,{...B,repository:E},Q);break;case 3:case 4:const e=I.scopeName===B.selfGrammar.scopeName?B.selfGrammar:I.scopeName===B.baseGrammar.scopeName?B.baseGrammar:void 0;if(e){const t={baseGrammar:B.baseGrammar,selfGrammar:e,repository:E};I.kind===4?zg(I.ruleName,t,Q):LQ(t,Q)}else I.kind===4?Q.add(new sh(I.scopeName,I.ruleName)):Q.add(new BQ(I.scopeName));break}}}class rh{constructor(){c(this,"kind",0)}}class ch{constructor(){c(this,"kind",1)}}class lh{constructor(B){c(this,"ruleName"),c(this,"kind",2),this.ruleName=B}}class hh{constructor(B){c(this,"scopeName"),c(this,"kind",3),this.scopeName=B}}class uh{constructor(B,Q){c(this,"scopeName"),c(this,"ruleName"),c(this,"kind",4),this.scopeName=B,this.ruleName=Q}}function dt(A){if(A==="$base")return new rh;if(A==="$self")return new ch;const B=A.indexOf("#");if(B===-1)return new hh(A);if(B===0)return new lh(A.substring(1));{const Q=A.substring(0,B),g=A.substring(B+1);return new uh(Q,g)}}const Mh=/\\(\d+)/,aI=/\\(\d+)/g,ph=-1,Ft=-2;class sQ{constructor(B,Q,g,E){c(this,"$location"),c(this,"id"),c(this,"_nameIsCapturing"),c(this,"_name"),c(this,"_contentNameIsCapturing"),c(this,"_contentName"),this.$location=B,this.id=Q,this._name=g||null,this._nameIsCapturing=lQ.hasCaptures(this._name),this._contentName=E||null,this._contentNameIsCapturing=lQ.hasCaptures(this._contentName)}get debugName(){const B=this.$location?`${lt(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${B}`}getName(B,Q){return!this._nameIsCapturing||this._name===null||B===null||Q===null?this._name:lQ.replaceCaptures(this._name,B,Q)}getContentName(B,Q){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:lQ.replaceCaptures(this._contentName,B,Q)}}class dh extends sQ{constructor(B,Q,g,E,C){super(B,Q,g,E),c(this,"retokenizeCapturedWithRuleId"),this.retokenizeCapturedWithRuleId=C}dispose(){}collectPatterns(B,Q){throw new Error("Not supported!")}compile(B,Q){throw new Error("Not supported!")}compileAG(B,Q,g,E){throw new Error("Not supported!")}}class Fh extends sQ{constructor(B,Q,g,E,C){super(B,Q,g,null),c(this,"_match"),c(this,"captures"),c(this,"_cachedCompiledPatterns"),this._match=new aB(E,this.id),this.captures=C,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(B,Q){Q.push(this._match)}compile(B,Q){return this._getCachedCompiledPatterns(B).compile(B)}compileAG(B,Q,g,E){return this._getCachedCompiledPatterns(B).compileAG(B,g,E)}_getCachedCompiledPatterns(B){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new QQ,this.collectPatterns(B,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class rI extends sQ{constructor(B,Q,g,E,C){super(B,Q,g,E),c(this,"hasMissingPatterns"),c(this,"patterns"),c(this,"_cachedCompiledPatterns"),this.patterns=C.patterns,this.hasMissingPatterns=C.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(B,Q){for(const g of this.patterns)B.getRule(g).collectPatterns(B,Q)}compile(B,Q){return this._getCachedCompiledPatterns(B).compile(B)}compileAG(B,Q,g,E){return this._getCachedCompiledPatterns(B).compileAG(B,g,E)}_getCachedCompiledPatterns(B){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new QQ,this.collectPatterns(B,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class jg extends sQ{constructor(B,Q,g,E,C,I,e,t,o,D){super(B,Q,g,E),c(this,"_begin"),c(this,"beginCaptures"),c(this,"_end"),c(this,"endHasBackReferences"),c(this,"endCaptures"),c(this,"applyEndPatternLast"),c(this,"hasMissingPatterns"),c(this,"patterns"),c(this,"_cachedCompiledPatterns"),this._begin=new aB(C,this.id),this.beginCaptures=I,this._end=new aB(e||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=t,this.applyEndPatternLast=o||!1,this.patterns=D.patterns,this.hasMissingPatterns=D.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(B,Q){return this._end.resolveBackReferences(B,Q)}collectPatterns(B,Q){Q.push(this._begin)}compile(B,Q){return this._getCachedCompiledPatterns(B,Q).compile(B)}compileAG(B,Q,g,E){return this._getCachedCompiledPatterns(B,Q).compileAG(B,g,E)}_getCachedCompiledPatterns(B,Q){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new QQ;for(const g of this.patterns)B.getRule(g).collectPatterns(B,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,Q):this._cachedCompiledPatterns.setSource(0,Q)),this._cachedCompiledPatterns}}class WQ extends sQ{constructor(B,Q,g,E,C,I,e,t,o){super(B,Q,g,E),c(this,"_begin"),c(this,"beginCaptures"),c(this,"whileCaptures"),c(this,"_while"),c(this,"whileHasBackReferences"),c(this,"hasMissingPatterns"),c(this,"patterns"),c(this,"_cachedCompiledPatterns"),c(this,"_cachedCompiledWhilePatterns"),this._begin=new aB(C,this.id),this.beginCaptures=I,this.whileCaptures=t,this._while=new aB(e,Ft),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=o.patterns,this.hasMissingPatterns=o.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(B,Q){return this._while.resolveBackReferences(B,Q)}collectPatterns(B,Q){Q.push(this._begin)}compile(B,Q){return this._getCachedCompiledPatterns(B).compile(B)}compileAG(B,Q,g,E){return this._getCachedCompiledPatterns(B).compileAG(B,g,E)}_getCachedCompiledPatterns(B){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new QQ;for(const Q of this.patterns)B.getRule(Q).collectPatterns(B,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(B,Q){return this._getCachedCompiledWhilePatterns(B,Q).compile(B)}compileWhileAG(B,Q,g,E){return this._getCachedCompiledWhilePatterns(B,Q).compileAG(B,g,E)}_getCachedCompiledWhilePatterns(B,Q){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new QQ,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,Q||""),this._cachedCompiledWhilePatterns}}class oA{static createCaptureRule(B,Q,g,E,C){return B.registerRule(I=>new dh(Q,I,g,E,C))}static getCompiledRuleId(B,Q,g){return B.id||Q.registerRule(E=>{if(B.id=E,B.match)return new Fh(B.$vscodeTextmateLocation,B.id,B.name,B.match,oA._compileCaptures(B.captures,Q,g));if(typeof B.begin>"u"){B.repository&&(g=ct({},g,B.repository));let C=B.patterns;return typeof C>"u"&&B.include&&(C=[{include:B.include}]),new rI(B.$vscodeTextmateLocation,B.id,B.name,B.contentName,oA._compilePatterns(C,Q,g))}return B.while?new WQ(B.$vscodeTextmateLocation,B.id,B.name,B.contentName,B.begin,oA._compileCaptures(B.beginCaptures||B.captures,Q,g),B.while,oA._compileCaptures(B.whileCaptures||B.captures,Q,g),oA._compilePatterns(B.patterns,Q,g)):new jg(B.$vscodeTextmateLocation,B.id,B.name,B.contentName,B.begin,oA._compileCaptures(B.beginCaptures||B.captures,Q,g),B.end,oA._compileCaptures(B.endCaptures||B.captures,Q,g),B.applyEndPatternLast,oA._compilePatterns(B.patterns,Q,g))}),B.id}static _compileCaptures(B,Q,g){let E=[];if(B){let C=0;for(const I in B){if(I==="$vscodeTextmateLocation")continue;const e=parseInt(I,10);e>C&&(C=e)}for(let I=0;I<=C;I++)E[I]=null;for(const I in B){if(I==="$vscodeTextmateLocation")continue;const e=parseInt(I,10);let t=0;B[I].patterns&&(t=oA.getCompiledRuleId(B[I],Q,g)),E[e]=oA.createCaptureRule(Q,B[I].$vscodeTextmateLocation,B[I].name,B[I].contentName,t)}}return E}static _compilePatterns(B,Q,g){let E=[];if(B)for(let C=0,I=B.length;C<I;C++){const e=B[C];let t=-1;if(e.include){const o=dt(e.include);switch(o.kind){case 0:case 1:t=oA.getCompiledRuleId(g[e.include],Q,g);break;case 2:let D=g[o.ruleName];D&&(t=oA.getCompiledRuleId(D,Q,g));break;case 3:case 4:const w=o.scopeName,s=o.kind===4?o.ruleName:null,i=Q.getExternalGrammar(w,g);if(i)if(s){let a=i.repository[s];a&&(t=oA.getCompiledRuleId(a,Q,i.repository))}else t=oA.getCompiledRuleId(i.repository.$self,Q,i.repository);break}}else t=oA.getCompiledRuleId(e,Q,g);if(t!==-1){const o=Q.getRule(t);let D=!1;if((o instanceof rI||o instanceof jg||o instanceof WQ)&&o.hasMissingPatterns&&o.patterns.length===0&&(D=!0),D)continue;E.push(t)}}return{patterns:E,hasMissingPatterns:(B?B.length:0)!==E.length}}}class aB{constructor(B,Q){if(c(this,"source"),c(this,"ruleId"),c(this,"hasAnchor"),c(this,"hasBackReferences"),c(this,"_anchorCache"),B){const g=B.length;let E=0,C=[],I=!1;for(let e=0;e<g;e++)if(B.charAt(e)==="\\"&&e+1<g){const t=B.charAt(e+1);t==="z"?(C.push(B.substring(E,e)),C.push("$(?!\\n)(?<!\\n)"),E=e+2):(t==="A"||t==="G")&&(I=!0),e++}this.hasAnchor=I,E===0?this.source=B:(C.push(B.substring(E,g)),this.source=C.join(""))}else this.hasAnchor=!1,this.source=B;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=Q,this.hasBackReferences=Mh.test(this.source)}clone(){return new aB(this.source,this.ruleId)}setSource(B){this.source!==B&&(this.source=B,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(B,Q){let g=Q.map(E=>B.substring(E.start,E.end));return aI.lastIndex=0,this.source.replace(aI,(E,C)=>Mt(g[parseInt(C,10)]||""))}_buildAnchorCache(){let B=[],Q=[],g=[],E=[],C,I,e,t;for(C=0,I=this.source.length;C<I;C++)e=this.source.charAt(C),B[C]=e,Q[C]=e,g[C]=e,E[C]=e,e==="\\"&&C+1<I&&(t=this.source.charAt(C+1),t==="A"?(B[C+1]="",Q[C+1]="",g[C+1]="A",E[C+1]="A"):t==="G"?(B[C+1]="",Q[C+1]="G",g[C+1]="",E[C+1]="G"):(B[C+1]=t,Q[C+1]=t,g[C+1]=t,E[C+1]=t),C++);return{A0_G0:B.join(""),A0_G1:Q.join(""),A1_G0:g.join(""),A1_G1:E.join("")}}resolveAnchors(B,Q){return!this.hasAnchor||!this._anchorCache?this.source:B?Q?this._anchorCache.A1_G1:this._anchorCache.A1_G0:Q?this._anchorCache.A0_G1:this._anchorCache.A0_G0}}class QQ{constructor(){c(this,"_items"),c(this,"_hasAnchors"),c(this,"_cached"),c(this,"_anchorCache"),this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(B){this._items.push(B),this._hasAnchors=this._hasAnchors||B.hasAnchor}unshift(B){this._items.unshift(B),this._hasAnchors=this._hasAnchors||B.hasAnchor}length(){return this._items.length}setSource(B,Q){this._items[B].source!==Q&&(this._disposeCaches(),this._items[B].setSource(Q))}compile(B){if(!this._cached){let Q=this._items.map(g=>g.source);this._cached=new cI(B,Q,this._items.map(g=>g.ruleId))}return this._cached}compileAG(B,Q,g){return this._hasAnchors?Q?g?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(B,Q,g)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(B,Q,g)),this._anchorCache.A1_G0):g?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(B,Q,g)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(B,Q,g)),this._anchorCache.A0_G0):this.compile(B)}_resolveAnchors(B,Q,g){let E=this._items.map(C=>C.resolveAnchors(Q,g));return new cI(B,E,this._items.map(C=>C.ruleId))}}class cI{constructor(B,Q,g){c(this,"regExps"),c(this,"rules"),c(this,"scanner"),this.regExps=Q,this.rules=g,this.scanner=B.createOnigScanner(Q)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const B=[];for(let Q=0,g=this.rules.length;Q<g;Q++)B.push(" - "+this.rules[Q]+": "+this.regExps[Q]);return B.join(`
|
|
9
4
|
`)}findNextMatchSync(B,Q,g){const E=this.scanner.findNextMatchSync(B,Q,g);return E?{ruleId:this.rules[E.index],captureIndices:E.captureIndices}:null}}class XQ{constructor(B,Q,g){c(this,"_colorMap"),c(this,"_defaults"),c(this,"_root"),c(this,"_cachedMatchRoot",new pt(E=>this._root.match(E))),this._colorMap=B,this._defaults=Q,this._root=g}static createFromRawTheme(B,Q){return this.createFromParsedTheme(Lh(B),Q)}static createFromParsedTheme(B,Q){return fh(B,Q)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(B){if(B===null)return this._defaults;const Q=B.scopeName,g=this._cachedMatchRoot.get(Q).find(E=>Gh(B.parent,E.parentScopes));return g?new Gt(g.fontStyle,g.foreground,g.background):null}}class DB{constructor(B,Q){c(this,"parent"),c(this,"scopeName"),this.parent=B,this.scopeName=Q}static push(B,Q){for(const g of Q)B=new DB(B,g);return B}static from(...B){let Q=null;for(let g=0;g<B.length;g++)Q=new DB(Q,B[g]);return Q}push(B){return new DB(this,B)}getSegments(){let B=this;const Q=[];for(;B;)Q.push(B.scopeName),B=B.parent;return Q.reverse(),Q}toString(){return this.getSegments().join(" ")}extends(B){return this===B?!0:this.parent===null?!1:this.parent.extends(B)}getExtensionIfDefined(B){const Q=[];let g=this;for(;g&&g!==B;)Q.push(g.scopeName),g=g.parent;return g===B?Q.reverse():void 0}}function Gh(A,B){if(B===null)return!0;let Q=0,g=B[Q];for(;A;){if(Nh(A.scopeName,g)){if(Q++,Q===B.length)return!0;g=B[Q]}A=A.parent}return!1}function Nh(A,B){return B===A||A.startsWith(B)&&A[B.length]==="."}class Gt{constructor(B,Q,g){c(this,"fontStyle"),c(this,"foregroundId"),c(this,"backgroundId"),this.fontStyle=B,this.foregroundId=Q,this.backgroundId=g}}function Lh(A){if(!A)return[];if(!A.settings||!Array.isArray(A.settings))return[];let B=A.settings,Q=[],g=0;for(let E=0,C=B.length;E<C;E++){let I=B[E];if(!I.settings)continue;let e;if(typeof I.scope=="string"){let w=I.scope;w=w.replace(/^[,]+/,""),w=w.replace(/[,]+$/,""),e=w.split(",")}else Array.isArray(I.scope)?e=I.scope:e=[""];let t=-1;if(typeof I.settings.fontStyle=="string"){t=0;let w=I.settings.fontStyle.split(" ");for(let s=0,i=w.length;s<i;s++)switch(w[s]){case"italic":t=t|1;break;case"bold":t=t|2;break;case"underline":t=t|4;break;case"strikethrough":t=t|8;break}}let o=null;typeof I.settings.foreground=="string"&&nI(I.settings.foreground)&&(o=I.settings.foreground);let D=null;typeof I.settings.background=="string"&&nI(I.settings.background)&&(D=I.settings.background);for(let w=0,s=e.length;w<s;w++){let i=e[w].trim().split(" "),a=i[i.length-1],n=null;i.length>1&&(n=i.slice(0,i.length-1),n.reverse()),Q[g++]=new kh(a,n,E,t,o,D)}}return Q}class kh{constructor(B,Q,g,E,C,I){c(this,"scope"),c(this,"parentScopes"),c(this,"index"),c(this,"fontStyle"),c(this,"foreground"),c(this,"background"),this.scope=B,this.parentScopes=Q,this.index=g,this.fontStyle=E,this.foreground=C,this.background=I}}function fh(A,B){A.sort((t,o)=>{let D=ht(t.scope,o.scope);return D!==0||(D=ut(t.parentScopes,o.parentScopes),D!==0)?D:t.index-o.index});let Q=0,g="#000000",E="#ffffff";for(;A.length>=1&&A[0].scope==="";){let t=A.shift();t.fontStyle!==-1&&(Q=t.fontStyle),t.foreground!==null&&(g=t.foreground),t.background!==null&&(E=t.background)}let C=new yh(B),I=new Gt(Q,C.getId(g),C.getId(E)),e=new TB(new gQ(0,null,-1,0,0),[]);for(let t=0,o=A.length;t<o;t++){let D=A[t];e.insert(0,D.scope,D.parentScopes,D.fontStyle,C.getId(D.foreground),C.getId(D.background))}return new XQ(C,I,e)}class yh{constructor(B){if(c(this,"_isFrozen"),c(this,"_lastColorId"),c(this,"_id2color"),c(this,"_color2id"),this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(B)){this._isFrozen=!0;for(let Q=0,g=B.length;Q<g;Q++)this._color2id[B[Q]]=Q,this._id2color[Q]=B[Q]}else this._isFrozen=!1}getId(B){if(B===null)return 0;B=B.toUpperCase();let Q=this._color2id[B];if(Q)return Q;if(this._isFrozen)throw new Error(`Missing color in color map - ${B}`);return Q=++this._lastColorId,this._color2id[B]=Q,this._id2color[Q]=B,Q}getColorMap(){return this._id2color.slice(0)}}class gQ{constructor(B,Q,g,E,C){c(this,"scopeDepth"),c(this,"parentScopes"),c(this,"fontStyle"),c(this,"foreground"),c(this,"background"),this.scopeDepth=B,this.parentScopes=Q,this.fontStyle=g,this.foreground=E,this.background=C}clone(){return new gQ(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(B){let Q=[];for(let g=0,E=B.length;g<E;g++)Q[g]=B[g].clone();return Q}acceptOverwrite(B,Q,g,E){this.scopeDepth>B?console.log("how did this happen?"):this.scopeDepth=B,Q!==-1&&(this.fontStyle=Q),g!==0&&(this.foreground=g),E!==0&&(this.background=E)}}class TB{constructor(B,Q=[],g={}){c(this,"_mainRule"),c(this,"_children"),c(this,"_rulesWithParentScopes"),this._mainRule=B,this._children=g,this._rulesWithParentScopes=Q}static _sortBySpecificity(B){return B.length===1||B.sort(this._cmpBySpecificity),B}static _cmpBySpecificity(B,Q){if(B.scopeDepth===Q.scopeDepth){const g=B.parentScopes,E=Q.parentScopes;let C=g===null?0:g.length,I=E===null?0:E.length;if(C===I)for(let e=0;e<C;e++){const t=g[e].length,o=E[e].length;if(t!==o)return o-t}return I-C}return Q.scopeDepth-B.scopeDepth}match(B){if(B==="")return TB._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let Q=B.indexOf("."),g,E;return Q===-1?(g=B,E=""):(g=B.substring(0,Q),E=B.substring(Q+1)),this._children.hasOwnProperty(g)?this._children[g].match(E):TB._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(B,Q,g,E,C,I){if(Q===""){this._doInsertHere(B,g,E,C,I);return}let e=Q.indexOf("."),t,o;e===-1?(t=Q,o=""):(t=Q.substring(0,e),o=Q.substring(e+1));let D;this._children.hasOwnProperty(t)?D=this._children[t]:(D=new TB(this._mainRule.clone(),gQ.cloneArr(this._rulesWithParentScopes)),this._children[t]=D),D.insert(B+1,o,g,E,C,I)}_doInsertHere(B,Q,g,E,C){if(Q===null){this._mainRule.acceptOverwrite(B,g,E,C);return}for(let I=0,e=this._rulesWithParentScopes.length;I<e;I++){let t=this._rulesWithParentScopes[I];if(ut(t.parentScopes,Q)===0){t.acceptOverwrite(B,g,E,C);return}}g===-1&&(g=this._mainRule.fontStyle),E===0&&(E=this._mainRule.foreground),C===0&&(C=this._mainRule.background),this._rulesWithParentScopes.push(new gQ(B,Q,g,E,C))}}class Vg{constructor(B,Q){c(this,"languageId"),c(this,"tokenType"),this.languageId=B,this.tokenType=Q}}const _g=class $g{constructor(B,Q){c(this,"_defaultAttributes"),c(this,"_embeddedLanguagesMatcher"),c(this,"_getBasicScopeAttributes",new pt(g=>{const E=this._scopeToLanguage(g),C=this._toStandardTokenType(g);return new Vg(E,C)})),this._defaultAttributes=new Vg(B,8),this._embeddedLanguagesMatcher=new Rh(Object.entries(Q||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(B){return B===null?$g._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(B)}_scopeToLanguage(B){return this._embeddedLanguagesMatcher.match(B)||0}_toStandardTokenType(B){const Q=B.match($g.STANDARD_TOKEN_TYPE_REGEXP);if(!Q)return 8;switch(Q[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}};c(_g,"_NULL_SCOPE_METADATA",new Vg(0,0)),c(_g,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/);let Hh=_g;class Rh{constructor(B){if(c(this,"values"),c(this,"scopesRegExp"),B.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(B);const Q=B.map(([g,E])=>Mt(g));Q.sort(),Q.reverse(),this.scopesRegExp=new RegExp(`^((${Q.join(")|(")}))($|\\.)`,"")}}match(B){if(!this.scopesRegExp)return;const Q=B.match(this.scopesRegExp);if(Q)return this.values.get(Q[1])}}class lI{constructor(B,Q){c(this,"stack"),c(this,"stoppedEarly"),this.stack=B,this.stoppedEarly=Q}}function Nt(A,B,Q,g,E,C,I,e){const t=B.content.length;let o=!1,D=-1;if(I){const i=Uh(A,B,Q,g,E,C);E=i.stack,g=i.linePos,Q=i.isFirstLine,D=i.anchorPosition}const w=Date.now();for(;!o;){if(e!==0&&Date.now()-w>e)return new lI(E,!0);s()}return new lI(E,!1);function s(){const i=Kh(A,B,Q,g,E,D);if(!i){C.produce(E,t),o=!0;return}const a=i.captureIndices,n=i.matchedRuleId,r=a&&a.length>0?a[0].end>g:!1;if(n===ph){const l=E.getRule(A);C.produce(E,a[0].start),E=E.withContentNameScopesList(E.nameScopesList),JB(A,B,Q,E,C,l.endCaptures,a),C.produce(E,a[0].end);const h=E;if(E=E.parent,D=h.getAnchorPos(),!r&&h.getEnterPos()===g){E=h,C.produce(E,t),o=!0;return}}else{const l=A.getRule(n);C.produce(E,a[0].start);const h=E,u=l.getName(B.content,a),M=E.contentNameScopesList.pushAttributed(u,A);if(E=E.push(n,g,D,a[0].end===t,null,M,M),l instanceof jg){const p=l;JB(A,B,Q,E,C,p.beginCaptures,a),C.produce(E,a[0].end),D=a[0].end;const k=p.getContentName(B.content,a),v=M.pushAttributed(k,A);if(E=E.withContentNameScopesList(v),p.endHasBackReferences&&(E=E.withEndRule(p.getEndWithResolvedBackReferences(B.content,a))),!r&&h.hasSameRuleAs(E)){E=E.pop(),C.produce(E,t),o=!0;return}}else if(l instanceof WQ){const p=l;JB(A,B,Q,E,C,p.beginCaptures,a),C.produce(E,a[0].end),D=a[0].end;const k=p.getContentName(B.content,a),v=M.pushAttributed(k,A);if(E=E.withContentNameScopesList(v),p.whileHasBackReferences&&(E=E.withEndRule(p.getWhileWithResolvedBackReferences(B.content,a))),!r&&h.hasSameRuleAs(E)){E=E.pop(),C.produce(E,t),o=!0;return}}else if(JB(A,B,Q,E,C,l.captures,a),C.produce(E,a[0].end),E=E.pop(),!r){E=E.safePop(),C.produce(E,t),o=!0;return}}a[0].end>g&&(g=a[0].end,Q=!1)}}function Uh(A,B,Q,g,E,C){let I=E.beginRuleCapturedEOL?0:-1;const e=[];for(let t=E;t;t=t.pop()){const o=t.getRule(A);o instanceof WQ&&e.push({rule:o,stack:t})}for(let t=e.pop();t;t=e.pop()){const{ruleScanner:o,findOptions:D}=Sh(t.rule,A,t.stack.endRule,Q,g===I),w=o.findNextMatchSync(B,g,D);if(w){if(w.ruleId!==Ft){E=t.stack.pop();break}w.captureIndices&&w.captureIndices.length&&(C.produce(t.stack,w.captureIndices[0].start),JB(A,B,Q,t.stack,C,t.rule.whileCaptures,w.captureIndices),C.produce(t.stack,w.captureIndices[0].end),I=w.captureIndices[0].end,w.captureIndices[0].end>g&&(g=w.captureIndices[0].end,Q=!1))}else{E=t.stack.pop();break}}return{stack:E,linePos:g,anchorPosition:I,isFirstLine:Q}}function Kh(A,B,Q,g,E,C){const I=Yh(A,B,Q,g,E,C),e=A.getInjections();if(e.length===0)return I;const t=Ph(e,A,B,Q,g,E,C);if(!t)return I;if(!I)return t;const o=I.captureIndices[0].start,D=t.captureIndices[0].start;return D<o||t.priorityMatch&&D===o?t:I}function Yh(A,B,Q,g,E,C){const I=E.getRule(A),{ruleScanner:e,findOptions:t}=Lt(I,A,E.endRule,Q,g===C),o=e.findNextMatchSync(B,g,t);return o?{captureIndices:o.captureIndices,matchedRuleId:o.ruleId}:null}function Ph(A,B,Q,g,E,C,I){let e=Number.MAX_VALUE,t=null,o,D=0;const w=C.contentNameScopesList.getScopeNames();for(let s=0,i=A.length;s<i;s++){const a=A[s];if(!a.matcher(w))continue;const n=B.getRule(a.ruleId),{ruleScanner:r,findOptions:l}=Lt(n,B,null,g,E===I),h=r.findNextMatchSync(Q,E,l);if(!h)continue;const u=h.captureIndices[0].start;if(!(u>=e)&&(e=u,t=h.captureIndices,o=h.ruleId,D=a.priority,e===E))break}return t?{priorityMatch:D===-1,captureIndices:t,matchedRuleId:o}:null}function Lt(A,B,Q,g,E){return{ruleScanner:A.compileAG(B,Q,g,E),findOptions:0}}function Sh(A,B,Q,g,E){return{ruleScanner:A.compileWhileAG(B,Q,g,E),findOptions:0}}function JB(A,B,Q,g,E,C,I){if(C.length===0)return;const e=B.content,t=Math.min(C.length,I.length),o=[],D=I[0].end;for(let w=0;w<t;w++){const s=C[w];if(s===null)continue;const i=I[w];if(i.length===0)continue;if(i.start>D)break;for(;o.length>0&&o[o.length-1].endPos<=i.start;)E.produceFromScopes(o[o.length-1].scopes,o[o.length-1].endPos),o.pop();if(o.length>0?E.produceFromScopes(o[o.length-1].scopes,i.start):E.produce(g,i.start),s.retokenizeCapturedWithRuleId){const n=s.getName(e,I),r=g.contentNameScopesList.pushAttributed(n,A),l=s.getContentName(e,I),h=r.pushAttributed(l,A),u=g.push(s.retokenizeCapturedWithRuleId,i.start,-1,!1,null,r,h),M=A.createOnigString(e.substring(0,i.end));Nt(A,M,Q&&i.start===0,i.start,u,E,!1,0),rt(M);continue}const a=s.getName(e,I);if(a!==null){const n=(o.length>0?o[o.length-1].scopes:g.contentNameScopesList).pushAttributed(a,A);o.push(new mh(n,i.end))}}for(;o.length>0;)E.produceFromScopes(o[o.length-1].scopes,o[o.length-1].endPos),o.pop()}class mh{constructor(B,Q){c(this,"scopes"),c(this,"endPos"),this.scopes=B,this.endPos=Q}}function Jh(A,B,Q,g,E,C,I,e){return new vh(A,B,Q,g,E,C,I,e)}function hI(A,B,Q,g,E){const C=qQ(B,ZQ),I=oA.getCompiledRuleId(Q,g,E.repository);for(const e of C)A.push({debugSelector:B,matcher:e.matcher,ruleId:I,grammar:E,priority:e.priority})}function ZQ(A,B){if(B.length<A.length)return!1;let Q=0;return A.every(g=>{for(let E=Q;E<B.length;E++)if(xh(B[E],g))return Q=E+1,!0;return!1})}function xh(A,B){if(!A)return!1;if(A===B)return!0;const Q=B.length;return A.length>Q&&A.substr(0,Q)===B&&A[Q]==="."}class vh{constructor(B,Q,g,E,C,I,e,t){if(c(this,"_rootScopeName"),c(this,"balancedBracketSelectors"),c(this,"_onigLib"),c(this,"_rootId"),c(this,"_lastRuleId"),c(this,"_ruleId2desc"),c(this,"_includedGrammars"),c(this,"_grammarRepository"),c(this,"_grammar"),c(this,"_injections"),c(this,"_basicScopeAttributesProvider"),c(this,"_tokenTypeMatchers"),this._rootScopeName=B,this.balancedBracketSelectors=I,this._onigLib=t,this._basicScopeAttributesProvider=new Hh(g,E),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=e,this._grammar=uI(Q,null),this._injections=null,this._tokenTypeMatchers=[],C)for(const o of Object.keys(C)){const D=qQ(o,ZQ);for(const w of D)this._tokenTypeMatchers.push({matcher:w.matcher,type:C[o]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const B of this._ruleId2desc)B&&B.dispose()}createOnigScanner(B){return this._onigLib.createOnigScanner(B)}createOnigString(B){return this._onigLib.createOnigString(B)}getMetadataForScope(B){return this._basicScopeAttributesProvider.getBasicScopeAttributes(B)}_collectInjections(){const B={lookup:C=>C===this._rootScopeName?this._grammar:this.getExternalGrammar(C),injections:C=>this._grammarRepository.injections(C)},Q=[],g=this._rootScopeName,E=B.lookup(g);if(E){const C=E.injections;if(C)for(let e in C)hI(Q,e,C[e],this,E);const I=this._grammarRepository.injections(g);I&&I.forEach(e=>{const t=this.getExternalGrammar(e);if(t){const o=t.injectionSelector;o&&hI(Q,o,t,this,t)}})}return Q.sort((C,I)=>C.priority-I.priority),Q}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(B){const Q=++this._lastRuleId,g=B(Q);return this._ruleId2desc[Q]=g,g}getRule(B){return this._ruleId2desc[B]}getExternalGrammar(B,Q){if(this._includedGrammars[B])return this._includedGrammars[B];if(this._grammarRepository){const g=this._grammarRepository.lookup(B);if(g)return this._includedGrammars[B]=uI(g,Q&&Q.$base),this._includedGrammars[B]}}tokenizeLine(B,Q,g=0){const E=this._tokenize(B,Q,!1,g);return{tokens:E.lineTokens.getResult(E.ruleStack,E.lineLength),ruleStack:E.ruleStack,stoppedEarly:E.stoppedEarly}}tokenizeLine2(B,Q,g=0){const E=this._tokenize(B,Q,!0,g);return{tokens:E.lineTokens.getBinaryResult(E.ruleStack,E.lineLength),ruleStack:E.ruleStack,stoppedEarly:E.stoppedEarly}}_tokenize(B,Q,g,E){this._rootId===-1&&(this._rootId=oA.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let C;if(!Q||Q===BE.NULL){C=!0;const D=this._basicScopeAttributesProvider.getDefaultAttributes(),w=this.themeProvider.getDefaults(),s=HB.set(0,D.languageId,D.tokenType,null,w.fontStyle,w.foregroundId,w.backgroundId),i=this.getRule(this._rootId).getName(null,null);let a;i?a=aA.createRootAndLookUpScopeName(i,s,this):a=aA.createRoot("unknown",s),Q=new BE(null,this._rootId,-1,-1,!1,null,a,a)}else C=!1,Q.reset();B=B+`
|
|
10
5
|
`;const I=this.createOnigString(B),e=I.content.length,t=new bh(g,B,this._tokenTypeMatchers,this.balancedBracketSelectors),o=Nt(this,I,C,0,Q,t,!0,E);return rt(I),{lineLength:e,lineTokens:t,ruleStack:o.stack,stoppedEarly:o.stoppedEarly}}}function uI(A,B){return A=oh(A),A.repository=A.repository||{},A.repository.$self={$vscodeTextmateLocation:A.$vscodeTextmateLocation,patterns:A.patterns,name:A.scopeName},A.repository.$base=B||A.repository.$self,A}class aA{constructor(B,Q,g){c(this,"parent"),c(this,"scopePath"),c(this,"tokenAttributes"),this.parent=B,this.scopePath=Q,this.tokenAttributes=g}static fromExtension(B,Q){let g=B,E=B?.scopePath??null;for(const C of Q)E=DB.push(E,C.scopeNames),g=new aA(g,E,C.encodedTokenAttributes);return g}static createRoot(B,Q){return new aA(null,new DB(null,B),Q)}static createRootAndLookUpScopeName(B,Q,g){const E=g.getMetadataForScope(B),C=new DB(null,B),I=g.themeProvider.themeMatch(C),e=aA.mergeAttributes(Q,E,I);return new aA(null,C,e)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(B){return aA.equals(this,B)}static equals(B,Q){do{if(B===Q||!B&&!Q)return!0;if(!B||!Q||B.scopeName!==Q.scopeName||B.tokenAttributes!==Q.tokenAttributes)return!1;B=B.parent,Q=Q.parent}while(!0)}static mergeAttributes(B,Q,g){let E=-1,C=0,I=0;return g!==null&&(E=g.fontStyle,C=g.foregroundId,I=g.backgroundId),HB.set(B,Q.languageId,Q.tokenType,null,E,C,I)}pushAttributed(B,Q){if(B===null)return this;if(B.indexOf(" ")===-1)return aA._pushAttributed(this,B,Q);const g=B.split(/ /g);let E=this;for(const C of g)E=aA._pushAttributed(E,C,Q);return E}static _pushAttributed(B,Q,g){const E=g.getMetadataForScope(Q),C=B.scopePath.push(Q),I=g.themeProvider.themeMatch(C),e=aA.mergeAttributes(B.tokenAttributes,E,I);return new aA(B,C,e)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(B){var Q;const g=[];let E=this;for(;E&&E!==B;)g.push({encodedTokenAttributes:E.tokenAttributes,scopeNames:E.scopePath.getExtensionIfDefined(((Q=E.parent)==null?void 0:Q.scopePath)??null)}),E=E.parent;return E===B?g.reverse():void 0}}const AE=class MB{constructor(B,Q,g,E,C,I,e,t){c(this,"parent"),c(this,"ruleId"),c(this,"beginRuleCapturedEOL"),c(this,"endRule"),c(this,"nameScopesList"),c(this,"contentNameScopesList"),c(this,"_stackElementBrand"),c(this,"_enterPos"),c(this,"_anchorPos"),c(this,"depth"),this.parent=B,this.ruleId=Q,this.beginRuleCapturedEOL=C,this.endRule=I,this.nameScopesList=e,this.contentNameScopesList=t,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=g,this._anchorPos=E}equals(B){return B===null?!1:MB._equals(this,B)}static _equals(B,Q){return B===Q?!0:this._structuralEquals(B,Q)?aA.equals(B.contentNameScopesList,Q.contentNameScopesList):!1}static _structuralEquals(B,Q){do{if(B===Q||!B&&!Q)return!0;if(!B||!Q||B.depth!==Q.depth||B.ruleId!==Q.ruleId||B.endRule!==Q.endRule)return!1;B=B.parent,Q=Q.parent}while(!0)}clone(){return this}static _reset(B){for(;B;)B._enterPos=-1,B._anchorPos=-1,B=B.parent}reset(){MB._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(B,Q,g,E,C,I,e){return new MB(this,B,Q,g,E,C,I,e)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(B){return B.getRule(this.ruleId)}toString(){const B=[];return this._writeString(B,0),"["+B.join(",")+"]"}_writeString(B,Q){var g,E;return this.parent&&(Q=this.parent._writeString(B,Q)),B[Q++]=`(${this.ruleId}, ${(g=this.nameScopesList)==null?void 0:g.toString()}, ${(E=this.contentNameScopesList)==null?void 0:E.toString()})`,Q}withContentNameScopesList(B){return this.contentNameScopesList===B?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,B)}withEndRule(B){return this.endRule===B?this:new MB(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,B,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(B){let Q=this;for(;Q&&Q._enterPos===B._enterPos;){if(Q.ruleId===B.ruleId)return!0;Q=Q.parent}return!1}toStateStackFrame(){var B,Q,g;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((Q=this.nameScopesList)==null?void 0:Q.getExtensionIfDefined(((B=this.parent)==null?void 0:B.nameScopesList)??null))??[],contentNameScopesList:((g=this.contentNameScopesList)==null?void 0:g.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(B,Q){const g=aA.fromExtension(B?.nameScopesList??null,Q.nameScopesList);return new MB(B,Q.ruleId,Q.enterPos??-1,Q.anchorPos??-1,Q.beginRuleCapturedEOL,Q.endRule,g,aA.fromExtension(g,Q.contentNameScopesList))}};c(AE,"NULL",new AE(null,0,0,0,!1,null,null,null));let BE=AE;class Oh{constructor(B,Q){c(this,"balancedBracketScopes"),c(this,"unbalancedBracketScopes"),c(this,"allowAny",!1),this.balancedBracketScopes=B.flatMap(g=>g==="*"?(this.allowAny=!0,[]):qQ(g,ZQ).map(E=>E.matcher)),this.unbalancedBracketScopes=Q.flatMap(g=>qQ(g,ZQ).map(E=>E.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(B){for(const Q of this.unbalancedBracketScopes)if(Q(B))return!1;for(const Q of this.balancedBracketScopes)if(Q(B))return!0;return this.allowAny}}class bh{constructor(B,Q,g,E){c(this,"balancedBracketSelectors"),c(this,"_emitBinaryTokens"),c(this,"_lineText"),c(this,"_tokens"),c(this,"_binaryTokens"),c(this,"_lastTokenEndIndex"),c(this,"_tokenTypeOverrides"),this.balancedBracketSelectors=E,this._emitBinaryTokens=B,this._tokenTypeOverrides=g,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(B,Q){this.produceFromScopes(B.contentNameScopesList,Q)}produceFromScopes(B,Q){var g;if(this._lastTokenEndIndex>=Q)return;if(this._emitBinaryTokens){let C=B?.tokenAttributes??0,I=!1;if((g=this.balancedBracketSelectors)!=null&&g.matchesAlways&&(I=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const e=B?.getScopeNames()??[];for(const t of this._tokenTypeOverrides)t.matcher(e)&&(C=HB.set(C,0,t.type,null,-1,0,0));this.balancedBracketSelectors&&(I=this.balancedBracketSelectors.match(e))}if(I&&(C=HB.set(C,0,8,I,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===C){this._lastTokenEndIndex=Q;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(C),this._lastTokenEndIndex=Q;return}const E=B?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:Q,scopes:E}),this._lastTokenEndIndex=Q}getResult(B,Q){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===Q-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(B,Q),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(B,Q){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===Q-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(B,Q),this._binaryTokens[this._binaryTokens.length-2]=0);const g=new Uint32Array(this._binaryTokens.length);for(let E=0,C=this._binaryTokens.length;E<C;E++)g[E]=this._binaryTokens[E];return g}}class qh{constructor(B,Q){c(this,"_onigLibPromise"),c(this,"_grammars",new Map),c(this,"_rawGrammars",new Map),c(this,"_injectionGrammars",new Map),c(this,"_theme"),this._onigLibPromise=Q,this._theme=B}dispose(){for(const B of this._grammars.values())B.dispose()}setTheme(B){this._theme=B}getColorMap(){return this._theme.getColorMap()}addGrammar(B,Q){this._rawGrammars.set(B.scopeName,B),Q&&this._injectionGrammars.set(B.scopeName,Q)}lookup(B){return this._rawGrammars.get(B)}injections(B){return this._injectionGrammars.get(B)}getDefaults(){return this._theme.getDefaults()}themeMatch(B){return this._theme.match(B)}async grammarForScopeName(B,Q,g,E,C){if(!this._grammars.has(B)){let I=this._rawGrammars.get(B);if(!I)return null;this._grammars.set(B,Jh(B,I,Q,g,E,C,this,await this._onigLibPromise))}return this._grammars.get(B)}}let Th=class{constructor(A){c(this,"_options"),c(this,"_syncRegistry"),c(this,"_ensureGrammarCache"),this._options=A,this._syncRegistry=new qh(XQ.createFromRawTheme(A.theme,A.colorMap),A.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(A,B){this._syncRegistry.setTheme(XQ.createFromRawTheme(A,B))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(A,B,Q){return this.loadGrammarWithConfiguration(A,B,{embeddedLanguages:Q})}loadGrammarWithConfiguration(A,B,Q){return this._loadGrammar(A,B,Q.embeddedLanguages,Q.tokenTypes,new Oh(Q.balancedBracketSelectors||[],Q.unbalancedBracketSelectors||[]))}loadGrammar(A){return this._loadGrammar(A,0,null,null,null)}async _loadGrammar(A,B,Q,g,E){const C=new nh(this._syncRegistry,A);for(;C.Q.length>0;)await Promise.all(C.Q.map(I=>this._loadSingleGrammar(I.scopeName))),C.processQueue();return this._grammarForScopeName(A,B,Q,g,E)}async _loadSingleGrammar(A){return this._ensureGrammarCache.has(A)||this._ensureGrammarCache.set(A,this._doLoadSingleGrammar(A)),this._ensureGrammarCache.get(A)}async _doLoadSingleGrammar(A){const B=await this._options.loadGrammar(A);if(B){const Q=typeof this._options.getInjections=="function"?this._options.getInjections(A):void 0;this._syncRegistry.addGrammar(B,Q)}}async addGrammar(A,B=[],Q=0,g=null){return this._syncRegistry.addGrammar(A,B),await this._grammarForScopeName(A.scopeName,Q,g)}_grammarForScopeName(A,B=0,Q=null,g=null,E=null){return this._syncRegistry.grammarForScopeName(A,B,Q,g,E)}};const Wh=BE.NULL,sA={LANGUAGEID_MASK:255,TOKEN_TYPE_MASK:768,BALANCED_BRACKETS_MASK:1024,FONT_STYLE_MASK:14336,FOREGROUND_MASK:8372224,BACKGROUND_MASK:4286578688,LANGUAGEID_OFFSET:0,TOKEN_TYPE_OFFSET:8,BALANCED_BRACKETS_OFFSET:10,FONT_STYLE_OFFSET:11,FOREGROUND_OFFSET:15,BACKGROUND_OFFSET:24};class xA{static toBinaryStr(B){let Q=B.toString(2);for(;Q.length<32;)Q=`0${Q}`;return Q}static getLanguageId(B){return(B&sA.LANGUAGEID_MASK)>>>sA.LANGUAGEID_OFFSET}static getTokenType(B){return(B&sA.TOKEN_TYPE_MASK)>>>sA.TOKEN_TYPE_OFFSET}static getFontStyle(B){return(B&sA.FONT_STYLE_MASK)>>>sA.FONT_STYLE_OFFSET}static getForeground(B){return(B&sA.FOREGROUND_MASK)>>>sA.FOREGROUND_OFFSET}static getBackground(B){return(B&sA.BACKGROUND_MASK)>>>sA.BACKGROUND_OFFSET}static containsBalancedBrackets(B){return(B&sA.BALANCED_BRACKETS_MASK)!==0}static set(B,Q,g,E,C,I){let e=xA.getLanguageId(B),t=xA.getTokenType(B),o=xA.getFontStyle(B),D=xA.getForeground(B),w=xA.getBackground(B);const s=xA.containsBalancedBrackets(B)?1:0;return Q!==0&&(e=Q),g!==0&&(t=g===8?0:g),E!==fA.NotSet&&(o=E),C!==0&&(D=C),I!==0&&(w=I),(e<<sA.LANGUAGEID_OFFSET|t<<sA.TOKEN_TYPE_OFFSET|o<<sA.FONT_STYLE_OFFSET|s<<sA.BALANCED_BRACKETS_OFFSET|D<<sA.FOREGROUND_OFFSET|w<<sA.BACKGROUND_OFFSET)>>>0}}function ng(A,B=!1){var Q;const g=A.split(/(\r?\n)/g);let E=0;const C=[];for(let I=0;I<g.length;I+=2){const e=B?g[I]+(g[I+1]||""):g[I];C.push([e,E]),E+=g[I].length,E+=((Q=g[I+1])==null?void 0:Q.length)||0}return C}function kt(A){return!A||["plaintext","txt","text","plain"].includes(A)}function Xh(A){return A==="ansi"||kt(A)}function ft(A){return A==="none"}function Zh(A){return ft(A)}function yt(A,B){var Q;if(!B)return A;A.properties||(A.properties={}),(Q=A.properties).class||(Q.class=[]),typeof A.properties.class=="string"&&(A.properties.class=A.properties.class.split(/\s+/g)),Array.isArray(A.properties.class)||(A.properties.class=[]);const g=Array.isArray(B)?B:B.split(/\s+/g);for(const E of g)E&&!A.properties.class.includes(E)&&A.properties.class.push(E);return A}function zh(A,B){let Q=0;const g=[];for(const E of B)E>Q&&g.push({...A,content:A.content.slice(Q,E),offset:A.offset+Q}),Q=E;return Q<A.content.length&&g.push({...A,content:A.content.slice(Q),offset:A.offset+Q}),g}function jh(A,B){const Q=Array.from(B instanceof Set?B:new Set(B)).sort((g,E)=>g-E);return Q.length?A.map(g=>g.flatMap(E=>{const C=Q.filter(I=>E.offset<I&&I<E.offset+E.content.length).map(I=>I-E.offset).sort((I,e)=>I-e);return C.length?zh(E,C):E})):A}function tB(A,B){return A&&(B?.[A?.toLowerCase()]||A)}function Ht(A){const B={};return A.color&&(B.color=A.color),A.bgColor&&(B["background-color"]=A.bgColor),A.fontStyle&&(A.fontStyle&fA.Italic&&(B["font-style"]="italic"),A.fontStyle&fA.Bold&&(B["font-weight"]="bold"),A.fontStyle&fA.Underline&&(B["text-decoration"]="underline")),B}function Rt(A){return Object.entries(A).map(([B,Q])=>`${B}:${Q}`).join(";")}function Vh(A){const B=ng(A,!0).map(([E])=>E);function Q(E){let C=E,I=0;for(const e of B){if(C<e.length)break;C-=e.length,I++}return{line:I,character:C}}function g(E,C){let I=0;for(let e=0;e<E;e++)I+=B[e].length;return I+=C,I}return{lines:B,indexToPos:Q,posToIndex:g}}var oB=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],kg={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function _h(A,B){const Q=A.indexOf("\x1B[",B);if(Q!==-1){const g=A.indexOf("m",Q);return{sequence:A.substring(Q+2,g).split(";"),startPosition:Q,position:g+1}}return{position:A.length}}function MI(A,B){let Q=1;const g=A[B+Q++];let E;if(g==="2"){const C=[A[B+Q++],A[B+Q++],A[B+Q]].map(I=>Number.parseInt(I));C.length===3&&!C.some(I=>Number.isNaN(I))&&(E={type:"rgb",rgb:C})}else if(g==="5"){const C=Number.parseInt(A[B+Q]);Number.isNaN(C)||(E={type:"table",index:Number(C)})}return[Q,E]}function $h(A){const B=[];for(let Q=0;Q<A.length;Q++){const g=A[Q],E=Number.parseInt(g);if(!Number.isNaN(E))if(E===0)B.push({type:"resetAll"});else if(E<=9)kg[E]&&B.push({type:"setDecoration",value:kg[E]});else if(E<=29){const C=kg[E-20];C&&B.push({type:"resetDecoration",value:C})}else if(E<=37)B.push({type:"setForegroundColor",value:{type:"named",name:oB[E-30]}});else if(E===38){const[C,I]=MI(A,Q);I&&B.push({type:"setForegroundColor",value:I}),Q+=C}else if(E===39)B.push({type:"resetForegroundColor"});else if(E<=47)B.push({type:"setBackgroundColor",value:{type:"named",name:oB[E-40]}});else if(E===48){const[C,I]=MI(A,Q);I&&B.push({type:"setBackgroundColor",value:I}),Q+=C}else E===49?B.push({type:"resetBackgroundColor"}):E>=90&&E<=97?B.push({type:"setForegroundColor",value:{type:"named",name:oB[E-90+8]}}):E>=100&&E<=107&&B.push({type:"setBackgroundColor",value:{type:"named",name:oB[E-100+8]}})}return B}function Au(){let A=null,B=null,Q=new Set;return{parse(g){const E=[];let C=0;do{const I=_h(g,C),e=I.sequence?g.substring(C,I.startPosition):g.substring(C);if(e.length>0&&E.push({value:e,foreground:A,background:B,decorations:new Set(Q)}),I.sequence){const t=$h(I.sequence);for(const o of t)o.type==="resetAll"?(A=null,B=null,Q.clear()):o.type==="resetForegroundColor"?A=null:o.type==="resetBackgroundColor"?B=null:o.type==="resetDecoration"&&Q.delete(o.value);for(const o of t)o.type==="setForegroundColor"?A=o.value:o.type==="setBackgroundColor"?B=o.value:o.type==="setDecoration"&&Q.add(o.value)}C=I.position}while(C<g.length);return E}}}var Bu={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function Qu(A=Bu){function B(e){return A[e]}function Q(e){return`#${e.map(t=>Math.max(0,Math.min(t,255)).toString(16).padStart(2,"0")).join("")}`}let g;function E(){if(g)return g;g=[];for(let o=0;o<oB.length;o++)g.push(B(oB[o]));let e=[0,95,135,175,215,255];for(let o=0;o<6;o++)for(let D=0;D<6;D++)for(let w=0;w<6;w++)g.push(Q([e[o],e[D],e[w]]));let t=8;for(let o=0;o<24;o++,t+=10)g.push(Q([t,t,t]));return g}function C(e){return E()[e]}function I(e){switch(e.type){case"named":return B(e.name);case"rgb":return Q(e.rgb);case"table":return C(e.index)}}return{value:I}}function gu(A,B,Q){const g={...A.colorReplacements,...Q?.colorReplacements},E=ng(B),C=Qu(Object.fromEntries(oB.map(e=>{var t;return[e,(t=A.colors)==null?void 0:t[`terminal.ansi${e[0].toUpperCase()}${e.substring(1)}`]]}))),I=Au();return E.map(e=>I.parse(e[0]).map(t=>{let o,D;t.decorations.has("reverse")?(o=t.background?C.value(t.background):A.bg,D=t.foreground?C.value(t.foreground):A.fg):(o=t.foreground?C.value(t.foreground):A.fg,D=t.background?C.value(t.background):void 0),o=tB(o,g),D=tB(D,g),t.decorations.has("dim")&&(o=Eu(o));let w=fA.None;return t.decorations.has("bold")&&(w|=fA.Bold),t.decorations.has("italic")&&(w|=fA.Italic),t.decorations.has("underline")&&(w|=fA.Underline),{content:t.value,offset:e[1],color:o,bgColor:D,fontStyle:w}}))}function Eu(A){const B=A.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(B)if(B[3]){const g=Math.round(Number.parseInt(B[3],16)/2).toString(16).padStart(2,"0");return`#${B[1]}${B[2]}${g}`}else return B[2]?`#${B[1]}${B[2]}80`:`#${Array.from(B[1]).map(g=>`${g}${g}`).join("")}80`;const Q=A.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return Q?`var(${Q[1]}-dim)`:A}function OE(A,B,Q={}){const{lang:g="text",theme:E=A.getLoadedThemes()[0]}=Q;if(kt(g)||ft(E))return ng(B).map(t=>[{content:t[0],offset:t[1]}]);const{theme:C,colorMap:I}=A.setTheme(E);if(g==="ansi")return gu(C,B,Q);const e=A.getLanguage(g);return Cu(B,e,C,I,Q)}function Cu(A,B,Q,g,E){const C={...Q.colorReplacements,...E?.colorReplacements},{tokenizeMaxLineLength:I=0,tokenizeTimeLimit:e=500}=E,t=ng(A);let o=Wh,D=[];const w=[];for(let s=0,i=t.length;s<i;s++){const[a,n]=t[s];if(a===""){D=[],w.push([]);continue}if(I>0&&a.length>=I){D=[],w.push([{content:a,offset:n,color:"",fontStyle:0}]);continue}let r,l,h;E.includeExplanation&&(r=B.tokenizeLine(a,o),l=r.tokens,h=0);const u=B.tokenizeLine2(a,o,e),M=u.tokens.length/2;for(let p=0;p<M;p++){const k=u.tokens[2*p],v=p+1<M?u.tokens[2*p+2]:a.length;if(k===v)continue;const m=u.tokens[2*p+1],W=tB(g[xA.getForeground(m)],C),P=xA.getFontStyle(m),q={content:a.substring(k,v),offset:n+k,color:W,fontStyle:P};if(E.includeExplanation){q.explanation=[];let L=0;for(;k+L<v;){const f=l[h],T=a.substring(f.startIndex,f.endIndex);L+=T.length,q.explanation.push({content:T,scopes:Iu(Q,f.scopes)}),h+=1}}D.push(q)}w.push(D),D=[],o=u.ruleStack}return w}function Iu(A,B){const Q=[];for(let g=0,E=B.length;g<E;g++){const C=B.slice(0,g),I=B[g];Q[g]={scopeName:I,themeMatches:tu(A,I,C)}}return Q}function pI(A,B){const Q=`${A}.`;return A===B||B.substring(0,Q.length)===Q}function eu(A,B,Q,g){if(!pI(A,Q))return!1;let E=B.length-1,C=g.length-1;for(;E>=0&&C>=0;)pI(B[E],g[C])&&(E-=1),C-=1;return E===-1}function tu(A,B,Q){const g=[];let E=0;for(let C=0,I=A.settings.length;C<I;C++){const e=A.settings[C];let t;if(typeof e.scope=="string")t=e.scope.split(/,/).map(o=>o.trim());else if(Array.isArray(e.scope))t=e.scope;else continue;for(let o=0,D=t.length;o<D;o++){const w=t[o].split(/ /),s=w[w.length-1],i=w.slice(0,w.length-1);eu(s,i,B,Q)&&(g[E++]=e,o=D)}}return g}function Ut(A,B,Q){const g=Object.entries(Q.themes).filter(C=>C[1]).map(C=>({color:C[0],theme:C[1]})),E=ou(...g.map(C=>OE(A,B,{...Q,theme:C.theme})));return E[0].map((C,I)=>C.map((e,t)=>{const o={content:e.content,variants:{},offset:e.offset};return E.forEach((D,w)=>{const{content:s,explanation:i,offset:a,...n}=D[I][t];o.variants[g[w].color]=n}),o}))}function ou(...A){const B=A.map(()=>[]),Q=A.length;for(let g=0;g<A[0].length;g++){const E=A.map(t=>t[g]),C=B.map(()=>[]);B.forEach((t,o)=>t.push(C[o]));const I=E.map(()=>0),e=E.map(t=>t[0]);for(;e.every(t=>t);){const t=Math.min(...e.map(o=>o.content.length));for(let o=0;o<Q;o++){const D=e[o];D.content.length===t?(C[o].push(D),I[o]+=1,e[o]=E[o][I[o]]):(C[o].push({...D,content:D.content.slice(0,t)}),e[o]={...D,content:D.content.slice(t),offset:D.offset+t})}}}return B}class rA extends Error{constructor(B){super(B),this.name="ShikiError"}}function zQ(A,B,Q){let g,E,C,I,e;if("themes"in Q){const{defaultColor:t="light",cssVariablePrefix:o="--shiki-",colorReplacements:D}=Q,w=Object.entries(Q.themes).filter(n=>n[1]).map(n=>({color:n[0],theme:n[1]})).sort((n,r)=>n.color===t?-1:r.color===t?1:0);if(w.length===0)throw new rA("`themes` option must not be empty");const s=Ut(A,B,Q);if(t&&!w.find(n=>n.color===t))throw new rA(`\`themes\` option must contain the defaultColor key \`${t}\``);const i=w.map(n=>A.getTheme(n.theme)),a=w.map(n=>n.color);C=s.map(n=>n.map(r=>wu(r,a,o,t))),E=w.map((n,r)=>(r===0&&t?"":`${o+n.color}:`)+(tB(i[r].fg,D)||"inherit")).join(";"),g=w.map((n,r)=>(r===0&&t?"":`${o+n.color}-bg:`)+(tB(i[r].bg,D)||"inherit")).join(";"),I=`shiki-themes ${i.map(n=>n.name).join(" ")}`,e=t?void 0:[E,g].join(";")}else if("theme"in Q){const{colorReplacements:t}=Q;C=OE(A,B,Q);const o=A.getTheme(Q.theme);g=tB(o.bg,t),E=tB(o.fg,t),I=o.name}else throw new rA("Invalid options, either `theme` or `themes` must be provided");return{tokens:C,fg:E,bg:g,themeName:I,rootStyle:e}}function wu(A,B,Q,g){const E={content:A.content,explanation:A.explanation,offset:A.offset},C=B.map(t=>Ht(A.variants[t])),I=new Set(C.flatMap(t=>Object.keys(t))),e=C.reduce((t,o,D)=>{for(const w of I){const s=o[w]||"inherit";if(D===0&&g)t[w]=s;else{const i=w==="color"?"":w==="background-color"?"-bg":`-${w}`,a=Q+B[D]+(w==="color"?"":i);t[w]?t[w]+=`;${a}:${s}`:t[w]=`${a}:${s}`}}return t},{});return E.htmlStyle=g?Rt(e):Object.values(e).join(";"),E}function Du(){const A=new WeakMap;function B(g){if(!A.has(g.meta)){let E=function(e){return typeof e=="number"?{...C.indexToPos(e),offset:e}:{...e,offset:C.posToIndex(e.line,e.character)}};const C=Vh(g.source),I=(g.options.decorations||[]).map(e=>({...e,start:E(e.start),end:E(e.end)}));Q(I),A.set(g.meta,{decorations:I,converter:C,source:g.source})}return A.get(g.meta)}function Q(g){for(let E=0;E<g.length;E++){const C=g[E];if(C.start.offset>C.end.offset)throw new rA(`Invalid decoration range: ${JSON.stringify(C.start)} - ${JSON.stringify(C.end)}`);for(let I=E+1;I<g.length;I++){const e=g[I],t=C.start.offset<e.start.offset&&e.start.offset<C.end.offset,o=C.start.offset<e.end.offset&&e.end.offset<C.end.offset,D=e.start.offset<C.start.offset&&C.start.offset<e.end.offset,w=e.start.offset<C.end.offset&&C.end.offset<e.end.offset;if(t||o||D||w){if(o&&o||D&&w)continue;throw new rA(`Decorations ${JSON.stringify(C.start)} and ${JSON.stringify(e.start)} intersect.`)}}}}return{name:"shiki:decorations",tokens(g){var E;if(!((E=this.options.decorations)!=null&&E.length))return;const C=B(this).decorations.flatMap(I=>[I.start.offset,I.end.offset]);return jh(g,C)},code(g){var E;if(!((E=this.options.decorations)!=null&&E.length))return;const C=B(this),I=Array.from(g.children).filter(s=>s.type==="element"&&s.tagName==="span");if(I.length!==C.converter.lines.length)throw new rA(`Number of lines in code element (${I.length}) does not match the number of lines in the source (${C.converter.lines.length}). Failed to apply decorations.`);function e(s,i,a,n){const r=I[s];let l="",h=-1,u=-1;function M(k){return k.type==="text"?k.value:k.type==="element"?k.children.map(M).join(""):""}if(i===0&&(h=0),a===0&&(u=0),a===Number.POSITIVE_INFINITY&&(u=r.children.length),h===-1||u===-1)for(let k=0;k<r.children.length;k++)l+=M(r.children[k]),h===-1&&l.length===i&&(h=k+1),u===-1&&l.length===a&&(u=k+1);if(h===-1)throw new rA(`Failed to find start index for decoration ${JSON.stringify(n.start)}`);if(u===-1)throw new rA(`Failed to find end index for decoration ${JSON.stringify(n.end)}`);const p=r.children.slice(h,u);if(!n.alwaysWrap&&p.length===r.children.length)o(r,n,"line");else if(!n.alwaysWrap&&p.length===1&&p[0].type==="element")o(p[0],n,"token");else{const k={type:"element",tagName:"span",properties:{},children:p};o(k,n,"wrapper"),r.children.splice(h,p.length,k)}}function t(s,i){I[s]=o(I[s],i,"line")}function o(s,i,a){var n;const r=i.properties||{},l=i.transform||(h=>h);return s.tagName=i.tagName||"span",s.properties={...s.properties,...r,class:s.properties.class},(n=i.properties)!=null&&n.class&&yt(s,i.properties.class),s=l(s,a)||s,s}const D=[],w=C.decorations.sort((s,i)=>i.start.offset-s.start.offset);for(const s of w){const{start:i,end:a}=s;if(i.line===a.line)e(i.line,i.character,a.character,s);else if(i.line<a.line){e(i.line,i.character,Number.POSITIVE_INFINITY,s);for(let n=i.line+1;n<a.line;n++)D.unshift(()=>t(n,s));e(a.line,0,a.character,s)}}D.forEach(s=>s())}}}const su=[Du()];function jQ(A){return[...A.transformers||[],...su]}function VQ(A,B,Q,g={meta:{},options:Q,codeToHast:(E,C)=>VQ(A,E,C),codeToTokens:(E,C)=>zQ(A,E,C)}){var E,C;let I=B;for(const a of jQ(Q))I=((E=a.preprocess)==null?void 0:E.call(g,I,Q))||I;let{tokens:e,fg:t,bg:o,themeName:D,rootStyle:w}=zQ(A,I,Q);const{mergeWhitespaces:s=!0}=Q;s===!0?e=nu(e):s==="never"&&(e=au(e));const i={...g,get source(){return I}};for(const a of jQ(Q))e=((C=a.tokens)==null?void 0:C.call(i,e))||e;return iu(e,{...Q,fg:t,bg:o,themeName:D,rootStyle:w},i)}function iu(A,B,Q){var g,E,C;const I=jQ(B),e=[],t={type:"root",children:[]},{structure:o="classic"}=B;let D={type:"element",tagName:"pre",properties:{class:`shiki ${B.themeName||""}`,style:B.rootStyle||`background-color:${B.bg};color:${B.fg}`,tabindex:"0",...Object.fromEntries(Array.from(Object.entries(B.meta||{})).filter(([n])=>!n.startsWith("_")))},children:[]},w={type:"element",tagName:"code",properties:{},children:e};const s=[],i={...Q,structure:o,addClassToHast:yt,get source(){return Q.source},get tokens(){return A},get options(){return B},get root(){return t},get pre(){return D},get code(){return w},get lines(){return s}};if(A.forEach((n,r)=>{var l,h;r&&(o==="inline"?t.children.push({type:"element",tagName:"br",properties:{},children:[]}):o==="classic"&&e.push({type:"text",value:`
|