@nuxt/devtools 1.3.8 → 1.3.9
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 +523 -3
- package/dist/chunks/vscode.mjs +1 -1
- package/dist/client/200.html +18 -18
- package/dist/client/404.html +18 -18
- package/dist/client/_nuxt/{DvDu1JUs.js → -vLCBS-N.js} +1 -1
- package/dist/client/_nuxt/{C8N9kWh2.js → 2LcXl48m.js} +1 -1
- package/dist/client/_nuxt/{B04hL9Ab.js → 2e6xxFgg.js} +1 -1
- package/dist/client/_nuxt/{pA_iBoe4.js → 9vVlwvR0.js} +2 -2
- package/dist/client/_nuxt/A4w2ZRz2.js +1 -0
- package/dist/client/_nuxt/{C7cYo4YF.js → B3Xn0-WD.js} +1 -1
- package/dist/client/_nuxt/{CbM9OHn3.js → B3xdBQzM.js} +1 -1
- package/dist/client/_nuxt/{QQ7YbgtC.js → BEWN4pmm.js} +1 -1
- package/dist/client/_nuxt/BHNRcs4v.js +1 -0
- package/dist/client/_nuxt/{Bxh-fvdv.js → BJnuIykn.js} +1 -1
- package/dist/client/_nuxt/BMkcc7VF.js +1 -0
- package/dist/client/_nuxt/{B_lF4o9u.js → BfZiPQjx.js} +1 -1
- package/dist/client/_nuxt/{o8QbmO42.js → BgkXDMve.js} +1 -1
- package/dist/client/_nuxt/{Xpd7UJs5.js → BgweL_3l.js} +1 -1
- package/dist/client/_nuxt/{DJdrWIcn.js → BiD_nEzt.js} +1 -1
- package/dist/client/_nuxt/Bjf-a2fi.js +1 -0
- package/dist/client/_nuxt/Bmn7JOho.js +1 -0
- package/dist/client/_nuxt/{BM3cCZms.js → Bsa9pMTD.js} +1 -1
- package/dist/client/_nuxt/{BTj8T8Us.js → C0RAjPaQ.js} +1 -1
- package/dist/client/_nuxt/{8q1pCtVS.js → C5ufIXkV.js} +1 -1
- package/dist/client/_nuxt/{DluxqTUE.js → C8cCu25J.js} +1 -1
- package/dist/client/_nuxt/{_OFeGLwh.js → C8k43jHS.js} +1 -1
- package/dist/client/_nuxt/{CGZO0Dbu.js → CDN3PKDC.js} +1 -1
- package/dist/client/_nuxt/{Dslz6rss.js → CG8l32IX.js} +1 -1
- package/dist/client/_nuxt/{QBzUTbSD.js → CHDbzgkk.js} +1 -1
- package/dist/client/_nuxt/{BnXFHUk0.js → CHVLsZmm.js} +1 -1
- package/dist/client/_nuxt/{CHQglk26.js → CSiYmMfO.js} +2 -2
- package/dist/client/_nuxt/{fwfpIEej.js → CVc_vzB8.js} +1 -1
- package/dist/client/_nuxt/CVnen6aX.js +1 -0
- package/dist/client/_nuxt/{DE5e3ZuV.js → CeCFyH2L.js} +1 -1
- package/dist/client/_nuxt/{mQFKENXH.js → Cfh5adMM.js} +1 -1
- package/dist/client/_nuxt/{GdB9kz-4.js → CktVnUy9.js} +1 -1
- package/dist/client/_nuxt/{CPUwo9Dx.js → Ctb-QkcA.js} +1 -1
- package/dist/client/_nuxt/{Cda7aUrs.js → D8-i-l8m.js} +1 -1
- package/dist/client/_nuxt/{BRFlSxxW.js → DCIux9Jq.js} +1 -1
- package/dist/client/_nuxt/{CfkdovQd.js → DDT2yUXF.js} +1 -1
- package/dist/client/_nuxt/{DdjW6vu9.js → DL9aipy8.js} +1 -1
- package/dist/client/_nuxt/{C2c19bzT.js → DMEbMliD.js} +1 -1
- package/dist/client/_nuxt/DMp3ub-8.js +1 -0
- package/dist/client/_nuxt/{D7m39p-9.js → DMviwfII.js} +1 -1
- package/dist/client/_nuxt/{BwKcIQOa.js → DbOyCHOq.js} +1 -1
- package/dist/client/_nuxt/{DeSj8VZN.js → Dcjed-xK.js} +3 -3
- package/dist/client/_nuxt/{CCEQErg8.js → DeJGQFsa.js} +1 -1
- package/dist/client/_nuxt/{dXjzJhiW.js → Diu0Y0PU.js} +1 -1
- package/dist/client/_nuxt/{DX-YUedo.js → DkQfqnYF.js} +1 -1
- package/dist/client/_nuxt/{CssX2CxZ.js → Dp08BkoM.js} +1 -1
- package/dist/client/_nuxt/{BjYCaXNT.js → H8p8AdfC.js} +1 -1
- package/dist/client/_nuxt/{Ckn823xU.js → JOMs3kJS.js} +1 -1
- package/dist/client/_nuxt/{CH-roGkP.js → OAG_rOo8.js} +1 -1
- package/dist/client/_nuxt/{DVk2I1gO.js → QIDSXraL.js} +1 -1
- package/dist/client/_nuxt/{D0h9jATl.js → ZTrlmdYI.js} +1 -1
- package/dist/client/_nuxt/{DEkvPDn8.js → b-sJbkBg.js} +1 -1
- package/dist/client/_nuxt/{BdSLTmjP.js → brJlGqJM.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/a9356a90-0031-4b93-8375-47585faa7c3c.json +1 -0
- package/dist/client/_nuxt/{BLxIf9BH.js → dyz0QDHl.js} +1 -1
- package/dist/client/_nuxt/eUQ_X7Id.js +43 -0
- package/dist/client/_nuxt/error-404.D-YMsRWn.css +1 -0
- package/dist/client/_nuxt/error-500.B8squ7MD.css +1 -0
- package/dist/client/_nuxt/{DKSts1V4.js → nbOvh45q.js} +1 -1
- package/dist/client/_nuxt/{BS5FcDmG.js → pOm0j4bx.js} +1 -1
- package/dist/client/_nuxt/qnM-VzkH.js +9 -0
- package/dist/client/_nuxt/{BG5RUyXI.js → s01ATyxb.js} +1 -1
- package/dist/client/_nuxt/{wGyJxDW5.js → s9jguXLC.js} +1 -1
- package/dist/client/_nuxt/{Csl1JfEo.js → tIa4hiZQ.js} +1 -1
- package/dist/client/_nuxt/terminals.BIEho_Pa.css +1 -0
- package/dist/client/_nuxt/{Cuq1Z6bh.js → xORP-8Ow.js} +1 -1
- package/dist/client/index.html +18 -18
- package/dist/module.json +1 -1
- package/dist/runtime/plugins/view/client.mjs +4 -2
- package/package.json +6 -6
- package/dist/client/_nuxt/B6TDWpKk.js +0 -1
- package/dist/client/_nuxt/BvHZCDLj.js +0 -9
- package/dist/client/_nuxt/C3FSKLnj.js +0 -1
- package/dist/client/_nuxt/CSGOJSAd.js +0 -1
- package/dist/client/_nuxt/CwTcTc2N.js +0 -43
- package/dist/client/_nuxt/CyiHZscW.js +0 -1
- package/dist/client/_nuxt/D5ctTtkd.js +0 -1
- package/dist/client/_nuxt/DETXY6Xa.js +0 -1
- package/dist/client/_nuxt/DJS8TjB-.js +0 -1
- package/dist/client/_nuxt/builds/meta/8ac9da91-0524-4abf-a805-60b3d6199fe9.json +0 -1
- package/dist/client/_nuxt/error-404.C4UNnO0a.css +0 -1
- package/dist/client/_nuxt/error-500.BbJ9e2Fk.css +0 -1
- package/dist/client/_nuxt/terminals.dNTO8Cf0.css +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const __vite__fileDeps=["./CTKqK4eG.js","./BMbUeBqv.js","./CHuuZgn4.js","./BiWblMbN.js","./_ECCzcZq.js","./Q9LIRUci.js","./DHFOa8tC.js","./DDMtKJxh.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
|
|
2
|
-
import{y as lg,z as hg,d as j,bk as Mw,aB as wB,o as p,h as _,r as Y,m as y,i as U,f as F,a as J,bl as dw,bm as KB,aS as Ke,at as YB,k as N,F as FA,aa as EA,p as z,a9 as NA,G as eA,ae as pw,j as x,ax as LA,bn as WE,w as rA,aD as XE,v as RA,I as uA,t as GA,bo as MB,n as dB,bp as Ye,bq as Se,br as Fw,bs as Nw,ay as _Q,aC as IQ,ar as ug,aW as Gw,T as fw,bt as kw,l as pQ,bu as me,bv as Je,bi as VA,bw as ve,bx as Oe,by as xe,bz as Lw,bA as be,bB as Mg,aT as yw,aU as Hw,bC as kA,b2 as Rw,a2 as Uw,aV as Pw,bD as Kw,aP as Yw,az as UC,bE as Sw}from"./CwTcTc2N.js";var mw=Object.defineProperty,Jw=(A,B,Q)=>B in A?mw(A,B,{enumerable:!0,configurable:!0,writable:!0,value:Q}):A[B]=Q,h=(A,B,Q)=>Jw(A,typeof B!="symbol"?B+"":B,Q);const dg=(A,B)=>{const Q=A.__vccOpts||A;for(const[g,E]of B)Q[g]=E;return Q},vw={},Ow={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},xw=Rw('<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),bw=[xw];function qw(A,B){return p(),y("svg",Ow,bw)}const Tw=dg(vw,[["render",qw]]),ZE=Symbol("VirtualRouteKey"),qe=Symbol("VirtualRoutesKey");function Ww(A){const B=Y({path:"/"}),Q=J(()=>dw(A)),g=J(()=>B.value.path),E=j({setup(){return()=>{const I=Q.value.find(e=>e.path===g.value);return I?WE(I.component):null}}});function C(){B.value.path="/"}return KB(ZE,B),KB(qe,Q),{VirtualRouterView:E,restoreRouter:C}}function VE(){const A=MB(ZE);return{push(B){A.value.path=B}}}function Xw(){const A=MB(qe),B=MB(ZE);return{routes:A,currentRoute:B}}const Zw={"h-full":"","w-full":"",flex:"","items-center":""},Vw={flex:"~ col gap2",ma:"","px-5":""},zw=N("div",{"flex-auto":""},null,-1),_w={flex:"~ col","mt-20":"","items-center":""},jw={flex:"~","mt--10":"","items-center":"","justify-center":""},$w=N("div",{mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},[N("span",{op40:""}," Pinia DevTools ")],-1),AD=N("div",{"flex-auto":""},null,-1),BD={flex:"~ gap2 wrap"},QD=N("div",{"i-carbon-tree-view-alt":"","text-3xl":""},null,-1),gD=N("code",null,"Store",-1),ED=[QD,gD],CD=N("div",{"i-mdi:timeline-clock-outline":"","text-3xl":""},null,-1),ID=N("div",null,"Timeline",-1),eD=[CD,ID],tD=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":""}),RA(" 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":""}),RA(" View Documentation ")])],-1),oD=N("div",{"flex-auto":""},null,-1),wD=j({__name:"Home",setup(A){const B=VE();return(Q,g)=>(p(),y("div",Zw,[N("div",Vw,[zw,N("div",_w,[N("div",jw,[U(Tw,{"h-18":""})]),$w]),AD,N("div",BD,[N("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:g[0]||(g[0]=E=>F(B).push("/store"))},ED),N("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:g[1]||(g[1]=E=>F(B).push("/timeline"))},eD)]),tD,oD])]))}}),zE={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 WE("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},DD=(A,B)=>{const Q=A.__vccOpts||A;for(const[g,E]of B)Q[g]=E;return Q},sD={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 iD(A,B,Q,g,E,C){return p(),y("div",{class:"splitpanes__pane",onClick:B[0]||(B[0]=I=>C.onPaneClick(I,A._.uid)),style:NA(A.style)},[EA(A.$slots,"default")],4)}const SB=DD(sD,[["render",iD]]);var nD=Object.create,Te=Object.defineProperty,aD=Object.getOwnPropertyDescriptor,_E=Object.getOwnPropertyNames,rD=Object.getPrototypeOf,cD=Object.prototype.hasOwnProperty,lD=(A,B)=>function(){return A&&(B=(0,A[_E(A)[0]])(A=0)),B},hD=(A,B)=>function(){return B||(0,A[_E(A)[0]])((B={exports:{}}).exports,B),B.exports},uD=(A,B,Q,g)=>{if(B&&typeof B=="object"||typeof B=="function")for(let E of _E(B))!cD.call(A,E)&&E!==Q&&Te(A,E,{get:()=>B[E],enumerable:!(g=aD(B,E))||g.enumerable});return A},MD=(A,B,Q)=>(Q=A!=null?nD(rD(A)):{},uD(Te(Q,"default",{value:A,enumerable:!0}),A)),FQ=lD({"../../node_modules/.pnpm/tsup@8.1.0_@microsoft+api-extractor@7.43.0_@types+node@20.14.5__@swc+core@1.5.29_postcss@8.4.38_typescript@5.4.5/node_modules/tsup/assets/esm_shims.js"(){}}),dD=hD({"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(A,B){FQ(),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);const I=new Map;if(I.set(Date,w=>new Date(w)),I.set(Map,(w,i)=>new Map(t(Array.from(w),i))),I.set(Set,(w,i)=>new Set(t(Array.from(w),i))),C.constructorHandlers)for(const w of C.constructorHandlers)I.set(w[0],w[1]);let e=null;return C.proto?D:o;function t(w,i){const s=Object.keys(w),a=new Array(s.length);for(let n=0;n<s.length;n++){const r=s[n],M=w[r];typeof M!="object"||M===null?a[r]=M:M.constructor!==Object&&(e=I.get(M.constructor))?a[r]=e(M,i):ArrayBuffer.isView(M)?a[r]=Q(M):a[r]=i(M)}return a}function o(w){if(typeof w!="object"||w===null)return w;if(Array.isArray(w))return t(w,o);if(w.constructor!==Object&&(e=I.get(w.constructor)))return e(w,o);const i={};for(const s in w){if(Object.hasOwnProperty.call(w,s)===!1)continue;const a=w[s];typeof a!="object"||a===null?i[s]=a:a.constructor!==Object&&(e=I.get(a.constructor))?i[s]=e(a,o):ArrayBuffer.isView(a)?i[s]=Q(a):i[s]=o(a)}return i}function D(w){if(typeof w!="object"||w===null)return w;if(Array.isArray(w))return t(w,D);if(w.constructor!==Object&&(e=I.get(w.constructor)))return e(w,D);const i={};for(const s in w){const a=w[s];typeof a!="object"||a===null?i[s]=a:a.constructor!==Object&&(e=I.get(a.constructor))?i[s]=e(a,D):ArrayBuffer.isView(a)?i[s]=Q(a):i[s]=D(a)}return i}}function E(C){const I=[],e=[],t=new Map;if(t.set(Date,s=>new Date(s)),t.set(Map,(s,a)=>new Map(D(Array.from(s),a))),t.set(Set,(s,a)=>new Set(D(Array.from(s),a))),C.constructorHandlers)for(const s of C.constructorHandlers)t.set(s[0],s[1]);let o=null;return C.proto?i:w;function D(s,a){const n=Object.keys(s),r=new Array(n.length);for(let M=0;M<n.length;M++){const l=n[M],c=s[l];if(typeof c!="object"||c===null)r[l]=c;else if(c.constructor!==Object&&(o=t.get(c.constructor)))r[l]=o(c,a);else if(ArrayBuffer.isView(c))r[l]=Q(c);else{const u=I.indexOf(c);u!==-1?r[l]=e[u]:r[l]=a(c)}}return r}function w(s){if(typeof s!="object"||s===null)return s;if(Array.isArray(s))return D(s,w);if(s.constructor!==Object&&(o=t.get(s.constructor)))return o(s,w);const a={};I.push(s),e.push(a);for(const n in s){if(Object.hasOwnProperty.call(s,n)===!1)continue;const r=s[n];if(typeof r!="object"||r===null)a[n]=r;else if(r.constructor!==Object&&(o=t.get(r.constructor)))a[n]=o(r,w);else if(ArrayBuffer.isView(r))a[n]=Q(r);else{const M=I.indexOf(r);M!==-1?a[n]=e[M]:a[n]=w(r)}}return I.pop(),e.pop(),a}function i(s){if(typeof s!="object"||s===null)return s;if(Array.isArray(s))return D(s,i);if(s.constructor!==Object&&(o=t.get(s.constructor)))return o(s,i);const a={};I.push(s),e.push(a);for(const n in s){const r=s[n];if(typeof r!="object"||r===null)a[n]=r;else if(r.constructor!==Object&&(o=t.get(r.constructor)))a[n]=o(r,i);else if(ArrayBuffer.isView(r))a[n]=Q(r);else{const M=I.indexOf(r);M!==-1?a[n]=e[M]:a[n]=i(r)}}return I.pop(),e.pop(),a}}}});FQ();FQ();var pD=typeof navigator<"u",H=typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof global<"u"?global:{},bg=typeof H.chrome<"u"&&!!H.chrome.devtools;pD&&(H.self,H.top);typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes("electron");FQ();var FD=MD(dD()),ND=/(?:^|[-_/])(\w)/g;function GD(A,B){return B?B.toUpperCase():""}function fD(A){return A&&`${A}`.replace(ND,GD)}function kD(A,B){const Q=A.replace(/^[a-z]:/i,"").replace(/\\/g,"/"),g=Q.lastIndexOf("/"),E=Q.substring(g+1);{const C=E.lastIndexOf(B);return E.substring(0,C)}}function We(A){return A&&A.slice().sort((B,Q)=>B.key<Q.key?-1:B.key>Q.key?1:0)}var PC=(0,FD.default)({circles:!0});function KC(A){return typeof A=="object"&&!Array.isArray(A)&&A!==null}function YC(A){return Array.isArray(A)}FQ();function sE(A,B={},Q){for(const g in A){const E=A[g],C=Q?`${Q}:${g}`:g;typeof E=="object"&&E!==null?sE(E,B,C):typeof E=="function"&&(B[C]=E)}return B}const LD={run:A=>A()},yD=()=>LD,Xe=typeof console.createTask<"u"?console.createTask:yD;function HD(A,B){const Q=B.shift(),g=Xe(Q);return A.reduce((E,C)=>E.then(()=>g.run(()=>C(...B))),Promise.resolve())}function RD(A,B){const Q=B.shift(),g=Xe(Q);return Promise.all(A.map(E=>g.run(()=>E(...B))))}function qg(A,B){for(const Q of[...A])Q(B)}let UD=class{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(A,B,Q={}){if(!A||typeof B!="function")return()=>{};const g=A;let E;for(;this._deprecatedHooks[A];)E=this._deprecatedHooks[A],A=E.to;if(E&&!Q.allowDeprecated){let C=E.message;C||(C=`${g} hook has been deprecated`+(E.to?`, please use ${E.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(C)||(console.warn(C),this._deprecatedMessages.add(C))}if(!B.name)try{Object.defineProperty(B,"name",{get:()=>"_"+A.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[A]=this._hooks[A]||[],this._hooks[A].push(B),()=>{B&&(this.removeHook(A,B),B=void 0)}}hookOnce(A,B){let Q,g=(...E)=>(typeof Q=="function"&&Q(),Q=void 0,g=void 0,B(...E));return Q=this.hook(A,g),Q}removeHook(A,B){if(this._hooks[A]){const Q=this._hooks[A].indexOf(B);Q!==-1&&this._hooks[A].splice(Q,1),this._hooks[A].length===0&&delete this._hooks[A]}}deprecateHook(A,B){this._deprecatedHooks[A]=typeof B=="string"?{to:B}:B;const Q=this._hooks[A]||[];delete this._hooks[A];for(const g of Q)this.hook(A,g)}deprecateHooks(A){Object.assign(this._deprecatedHooks,A);for(const B in A)this.deprecateHook(B,A[B])}addHooks(A){const B=sE(A),Q=Object.keys(B).map(g=>this.hook(g,B[g]));return()=>{for(const g of Q.splice(0,Q.length))g()}}removeHooks(A){const B=sE(A);for(const Q in B)this.removeHook(Q,B[Q])}removeAllHooks(){for(const A in this._hooks)delete this._hooks[A]}callHook(A,...B){return B.unshift(A),this.callHookWith(HD,A,...B)}callHookParallel(A,...B){return B.unshift(A),this.callHookWith(RD,A,...B)}callHookWith(A,B,...Q){const g=this._before||this._after?{name:B,args:Q,context:{}}:void 0;this._before&&qg(this._before,g);const E=A(B in this._hooks?[...this._hooks[B]]:[],Q);return E instanceof Promise?E.finally(()=>{this._after&&g&&qg(this._after,g)}):(this._after&&g&&qg(this._after,g),E)}beforeEach(A){return this._before=this._before||[],this._before.push(A),()=>{if(this._before!==void 0){const B=this._before.indexOf(A);B!==-1&&this._before.splice(B,1)}}}afterEach(A){return this._after=this._after||[],this._after.push(A),()=>{if(this._after!==void 0){const B=this._after.indexOf(A);B!==-1&&this._after.splice(B,1)}}}};function Ze(){return new UD}const PD={trailing:!0};function NQ(A,B=25,Q={}){if(Q={...PD,...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=KD(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 i=Q.leading?g:t(this,o);for(const s of C)s(i);C=[]},B),w?(g=t(this,o),D(g)):C.push(D)})}}async function KD(A,B,Q){return await A.apply(B,Q)}var YD=Object.create,Ve=Object.defineProperty,SD=Object.getOwnPropertyDescriptor,jE=Object.getOwnPropertyNames,mD=Object.getPrototypeOf,JD=Object.prototype.hasOwnProperty,vD=(A,B)=>function(){return A&&(B=(0,A[jE(A)[0]])(A=0)),B},ze=(A,B)=>function(){return B||(0,A[jE(A)[0]])((B={exports:{}}).exports,B),B.exports},OD=(A,B,Q,g)=>{if(B&&typeof B=="object"||typeof B=="function")for(let E of jE(B))!JD.call(A,E)&&E!==Q&&Ve(A,E,{get:()=>B[E],enumerable:!(g=SD(B,E))||g.enumerable});return A},xD=(A,B,Q)=>(Q=A!=null?YD(mD(A)):{},OD(Ve(Q,"default",{value:A,enumerable:!0}),A)),G=vD({"../../node_modules/.pnpm/tsup@8.1.0_@microsoft+api-extractor@7.43.0_@types+node@20.14.5__@swc+core@1.5.29_postcss@8.4.38_typescript@5.4.5/node_modules/tsup/assets/esm_shims.js"(){}}),bD=ze({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(A,B){G(),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 M="-",l="",c="",u=!0,d={},k,S,m,b,K,Z,q,L,O,T,R,IA,CA,MA,fA="";if(typeof n!="string")return"";if(typeof r=="string"&&(M=r),q=e.en,L=I.en,typeof r=="object"){k=r.maintainCase||!1,d=r.custom&&typeof r.custom=="object"?r.custom:d,m=+r.truncate>1&&r.truncate||!1,b=r.uric||!1,K=r.uricNoSlash||!1,Z=r.mark||!1,u=!(r.symbols===!1||r.lang===!1),M=r.separator||M,b&&(fA+=t),K&&(fA+=o),Z&&(fA+=D),q=r.lang&&e[r.lang]&&u?e[r.lang]:u?e.en:{},L=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(DA){d[DA+""]=DA+""}),S=!0):S=!!r.titleCase,r.custom&&typeof r.custom.length=="number"&&Array.prototype.toString.call(r.custom)&&r.custom.forEach(function(DA){d[DA+""]=DA+""}),Object.keys(d).forEach(function(DA){var JA;DA.length>1?JA=new RegExp("\\b"+s(DA)+"\\b","gi"):JA=new RegExp(s(DA),"gi"),n=n.replace(JA,d[DA])});for(R in d)fA+=R}for(fA+=M,fA=s(fA),n=n.replace(/(^\s+|\s+$)/g,""),CA=!1,MA=!1,T=0,IA=n.length;T<IA;T++)R=n[T],a(R,d)?CA=!1:L[R]?(R=CA&&L[R].match(/[A-Za-z0-9]/)?" "+L[R]:L[R],CA=!1):R in g?(T+1<IA&&E.indexOf(n[T+1])>=0?(c+=R,R=""):MA===!0?(R=C[c]+g[R],c=""):R=CA&&g[R].match(/[A-Za-z0-9]/)?" "+g[R]:g[R],CA=!1,MA=!1):R in C?(c+=R,R="",T===IA-1&&(R=C[c]),MA=!0):q[R]&&!(b&&t.indexOf(R)!==-1)&&!(K&&o.indexOf(R)!==-1)?(R=CA||l.substr(-1).match(/[A-Za-z0-9]/)?M+q[R]:q[R],R+=n[T+1]!==void 0&&n[T+1].match(/[A-Za-z0-9]/)?M:"",CA=!0):(MA===!0?(R=C[c]+R,c="",MA=!1):CA&&(/[A-Za-z0-9]/.test(R)||l.substr(-1).match(/A-Za-z0-9]/))&&(R=" "+R),CA=!1),l+=R.replace(new RegExp("[^\\w\\s"+fA+"_-]","g"),M);return S&&(l=l.replace(/(\w)(\S*)/g,function(DA,JA,BB){var DB=JA.toUpperCase()+(BB!==null?BB:"");return Object.keys(d).indexOf(DB.toLowerCase())<0?DB:DB.toLowerCase()})),l=l.replace(/\s+/g,M).replace(new RegExp("\\"+M+"+","g"),M).replace(new RegExp("(^\\"+M+"+|\\"+M+"+$)","g"),""),m&&l.length>m&&(O=l.charAt(m)===M,l=l.slice(0,m),O||(l=l.slice(0,l.lastIndexOf(M)))),!k&&!S&&(l=l.toLowerCase()),l},i=function(n){return function(r){return w(r,n)}},s=function(n){return n.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},a=function(n,r){for(var M in r)if(r[M]===n)return!0};if(typeof B<"u"&&B.exports)B.exports=w,B.exports.createSlug=i;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=i}catch{}}(A)}}),qD=ze({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(A,B){G(),B.exports=bD()}});G();G();G();G();G();G();G();G();G();G();G();G();G();var SC,mC,xA=(mC=(SC=H).__VUE_DEVTOOLS_HOOK)!=null?mC:SC.__VUE_DEVTOOLS_HOOK=Ze(),TD={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)}},WD={on:TD,setupDevToolsPlugin(A,B){return xA.callHook("devtools-plugin:setup",A,B)}};G();G();G();G();G();function XD(A){return!!(A&&A.__v_isReadonly)}function _e(A){return XD(A)?_e(A.__v_raw):!!(A&&A.__v_isReactive)}function Tg(A){return!!(A&&A.__v_isRef===!0)}function _B(A){const B=A&&A.__v_raw;return B?_B(B):A}var ZD=Symbol.for("v-fgt");function VD(A){return A.name||A._componentTag||A.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||A.__name}function zD(A){const B=A.__file;if(B)return fD(kD(B,".vue"))}function JC(A,B){return A.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=B,B}function $E(A){if(A.__VUE_DEVTOOLS_NEXT_APP_RECORD__)return A.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(A.root)return A.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__}async function _D(A){const{app:B,uid:Q,instance:g}=A;try{if(g.__VUE_DEVTOOLS_NEXT_UID__)return g.__VUE_DEVTOOLS_NEXT_UID__;const E=await $E(B);if(!E)return null;const C=E.rootInstance===g;return`${E.id}:${C?"root":Q}`}catch{}}function je(A){var B;return((B=A.subTree)==null?void 0:B.type)===ZD}function pg(A){var B,Q,g;const E=VD(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 JC(A,I);for(const I in(g=A.appContext)==null?void 0:g.components)if(A.appContext.components[I]===A?.type)return JC(A,I);return zD(A?.type||{})||"Anonymous Component"}function iE(A,B){return B=B||`${A.id}:root`,A.instanceMap.get(B)||A.instanceMap.get(":root")}G();function AC(A){return je(A)?jD(A.subTree):A.subTree?[A.subTree.el]:[]}function jD(A){if(!A.children)return[];const B=[];return A.children.forEach(Q=>{Q.component?B.push(...AC(Q.component)):Q!=null&&Q.el&&B.push(Q.el)}),B}G();function $D(){const A={top:0,bottom:0,left:0,right:0,get width(){return A.right-A.left},get height(){return A.bottom-A.top}};return A}var PQ;function As(A){return PQ||(PQ=document.createRange()),PQ.selectNode(A),PQ.getBoundingClientRect()}function Bs(A){const B=$D();if(!A.children)return B;for(let Q=0,g=A.children.length;Q<g;Q++){const E=A.children[Q];let C;if(E.component)C=pB(E.component);else if(E.el){const I=E.el;I.nodeType===1||I.getBoundingClientRect?C=I.getBoundingClientRect():I.nodeType===3&&I.data.trim()&&(C=As(I))}C&&Qs(B,C)}return B}function Qs(A,B){return(!A.top||B.top<A.top)&&(A.top=B.top),(!A.bottom||B.bottom>A.bottom)&&(A.bottom=B.bottom),(!A.left||B.left<A.left)&&(A.left=B.left),(!A.right||B.right>A.right)&&(A.right=B.right),A}var vC={top:0,left:0,right:0,bottom:0,width:0,height:0};function pB(A){const B=A.subTree.el;return typeof window>"u"?vC:je(A)?Bs(A.subTree):B?.nodeType===1?B?.getBoundingClientRect():A.subTree.component?pB(A.subTree.component):vC}var $e="__vue-devtools-component-inspector__",At="__vue-devtools-component-inspector__card__",Bt="__vue-devtools-component-inspector__name__",Qt="__vue-devtools-component-inspector__indicator__",gt={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},gs={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},Es={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function bB(){return document.getElementById($e)}function Cs(){return document.getElementById(At)}function Is(){return document.getElementById(Qt)}function es(){return document.getElementById(Bt)}function BC(A){return{left:`${Math.round(A.left*100)/100}px`,top:`${Math.round(A.top*100)/100}px`,width:`${Math.round(A.width*100)/100}px`,height:`${Math.round(A.height*100)/100}px`}}function QC(A){var B;const Q=document.createElement("div");Q.id=(B=A.elementId)!=null?B:$e,Object.assign(Q.style,{...gt,...BC(A.bounds),...A.style});const g=document.createElement("span");g.id=At,Object.assign(g.style,{...gs,top:A.bounds.top<35?0:"-35px"});const E=document.createElement("span");E.id=Bt,E.innerHTML=`<${A.name}> `;const C=document.createElement("i");return C.id=Qt,C.innerHTML=`${Math.round(A.bounds.width*100)/100} x ${Math.round(A.bounds.height*100)/100}`,Object.assign(C.style,Es),g.appendChild(E),g.appendChild(C),Q.appendChild(g),document.body.appendChild(Q),Q}function gC(A){const B=bB(),Q=Cs(),g=es(),E=Is();B&&(Object.assign(B.style,{...gt,...BC(A.bounds)}),Object.assign(Q.style,{top:A.bounds.top<35?0:"-35px"}),g.innerHTML=`<${A.name}> `,E.innerHTML=`${Math.round(A.bounds.width*100)/100} x ${Math.round(A.bounds.height*100)/100}`)}function ts(A){const B=pB(A),Q=pg(A);bB()?gC({bounds:B,name:Q}):QC({bounds:B,name:Q})}function Et(){const A=bB();A&&(A.style.display="none")}var nE=null;function aE(A){const B=A.target;if(B){const Q=B.__vueParentComponent;if(Q&&(nE=Q,Q.vnode.el)){const g=pB(Q),E=pg(Q);bB()?gC({bounds:g,name:E}):QC({bounds:g,name:E})}}}function os(A,B){var Q;if(A.preventDefault(),A.stopPropagation(),nE){const g=(Q=hA.value)==null?void 0:Q.app;_D({app:g,uid:g.uid,instance:nE}).then(E=>{B(E)})}}var jQ=null;function ws(){Et(),window.removeEventListener("mouseover",aE),window.removeEventListener("click",jQ,!0),jQ=null}function Ds(){return window.addEventListener("mouseover",aE),new Promise(A=>{function B(Q){Q.preventDefault(),Q.stopPropagation(),os(Q,g=>{window.removeEventListener("click",B,!0),jQ=null,window.removeEventListener("mouseover",aE);const E=bB();E&&(E.style.display="none"),A(JSON.stringify({id:g}))})}jQ=B,window.addEventListener("click",B,!0)})}function ss(A){const B=iE(hA.value,A.id);if(B){const[Q]=AC(B);if(typeof Q.scrollIntoView=="function")Q.scrollIntoView({behavior:"smooth"});else{const g=pB(B),E=document.createElement("div"),C={...BC(g),position:"absolute"};Object.assign(E.style,C),document.body.appendChild(E),E.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(E)},2e3)}setTimeout(()=>{const g=pB(B);if(g.width||g.height){const E=pg(B),C=bB();C?gC({...A,name:E,bounds:g}):QC({...A,name:E,bounds:g}),setTimeout(()=>{C&&(C.style.display="none")},1500)}},1200)}}G();G();var OC;(OC=H).__VUE_DEVTOOLS_KIT_APP_RECORDS__!=null||(OC.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[]);var xC;(xC=H).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__!=null||(xC.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__={});var bC;(bC=H).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__!=null||(bC.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__="");var qC;(qC=H).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__!=null||(qC.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__=[]);var TC;(TC=H).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__!=null||(TC.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__=[]);var aB="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function is(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!1}}var WC;(WC=H)[aB]!=null||(WC[aB]=is());var ns=NQ(A=>{GQ.hooks.callHook("devtoolsStateUpdated",{state:A})});NQ((A,B)=>{GQ.hooks.callHook("devtoolsConnectedUpdated",{state:A,oldState:B})});var Fg=new Proxy(H.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(A,B,Q){return B==="value"?H.__VUE_DEVTOOLS_KIT_APP_RECORDS__:H.__VUE_DEVTOOLS_KIT_APP_RECORDS__[B]}}),hA=new Proxy(H.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(A,B,Q){return B==="value"?H.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:B==="id"?H.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:H.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[B]}});function Ct(){ns({...H[aB],appRecords:Fg.value,activeAppRecordId:hA.id,tabs:H.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:H.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function as(A){H.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=A,Ct()}function rs(A){H.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=A,Ct()}var It=new Proxy(H[aB],{get(A,B){return B==="appRecords"?Fg:B==="activeAppRecordId"?hA.id:B==="tabs"?H.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:B==="commands"?H.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:H[aB][B]},deleteProperty(A,B){return delete A[B],!0},set(A,B,Q){return{...H[aB]},A[B]=Q,H[aB][B]=Q,!0}});G();var XC;(XC=H).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS!=null||(XC.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS=[]);var cs=new Proxy(H.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(A,B,Q){return Reflect.get(A,B,Q)}});function ls(A,B){cs.push({...A,descriptorId:B.id,appRecord:$E(B.app)})}var ZC;(ZC=H).__VUE_DEVTOOLS_KIT_INSPECTOR__!=null||(ZC.__VUE_DEVTOOLS_KIT_INSPECTOR__=[]);var EC=new Proxy(H.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(A,B,Q){return Reflect.get(A,B,Q)}}),et=NQ(()=>{GQ.hooks.callHook("sendInspectorToClient",tt())});function hs(A,B){EC.push({options:A,descriptor:B,treeFilter:"",selectedNodeId:"",appRecord:$E(B.app)}),et()}function tt(){return EC.filter(A=>A.descriptor.app===hA.value.app).filter(A=>A.descriptor.id!=="components").map(A=>{var B;const Q=A.descriptor,g=A.options;return{id:g.id,label:g.label,logo:Q.logo,icon:`i-ic-baseline-${(B=g?.icon)==null?void 0:B.replace(/_/g,"-")}`,packageName:Q.packageName,homepage:Q.homepage}})}function bQ(A,B){return EC.find(Q=>Q.options.id===A&&(B?Q.descriptor.app===B:!0))}function us(){const A=Ze();return A.hook("addInspector",({inspector:B,plugin:Q})=>{hs(B,Q.descriptor)}),A.hook("sendInspectorTree",async({inspectorId:B,plugin:Q})=>{var g;if(!B||!((g=Q?.descriptor)!=null&&g.app))return;const E=bQ(B,Q.descriptor.app),C={app:Q.descriptor.app,inspectorId:B,filter:E?.treeFilter||"",rootNodes:[]};await new Promise(I=>{A.callHookWith(async e=>{await Promise.all(e.map(t=>t(C))),I()},"getInspectorTree")}),A.callHookWith(async I=>{await Promise.all(I.map(e=>e({inspectorId:B,rootNodes:C.rootNodes})))},"sendInspectorTreeToClient")}),A.hook("sendInspectorState",async({inspectorId:B,plugin:Q})=>{var g;if(!B||!((g=Q?.descriptor)!=null&&g.app))return;const E=bQ(B,Q.descriptor.app),C={app:Q.descriptor.app,inspectorId:B,nodeId:E?.selectedNodeId||"",state:null},I={currentTab:`custom-inspector:${B}`};C.nodeId&&await new Promise(e=>{A.callHookWith(async t=>{await Promise.all(t.map(o=>o(C,I))),e()},"getInspectorState")}),A.callHookWith(async e=>{await Promise.all(e.map(t=>t({inspectorId:B,nodeId:C.nodeId,state:C.state})))},"sendInspectorStateToClient")}),A.hook("customInspectorSelectNode",({inspectorId:B,nodeId:Q,plugin:g})=>{const E=bQ(B,g.descriptor.app);E&&(E.selectedNodeId=Q)}),A.hook("timelineLayerAdded",({options:B,plugin:Q})=>{ls(B,Q.descriptor)}),A.hook("timelineEventAdded",({options:B,plugin:Q})=>{A.callHookWith(async g=>{await Promise.all(g.map(E=>E(B)))},"sendTimelineEventToClient")}),A.hook("getComponentInstances",async({app:B})=>{const Q=B.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!Q)return null;const g=Q.id.toString();return[...Q.instanceMap].filter(([E])=>E.split(":")[0]===g).map(([,E])=>E)}),A.hook("getComponentBounds",async({instance:B})=>pB(B)),A.hook("getComponentName",({instance:B})=>pg(B)),A.hook("componentHighlight",({uid:B})=>{const Q=hA.value.instanceMap.get(B);Q&&ts(Q)}),A.hook("componentUnhighlight",()=>{Et()}),A}G();G();var Ms=class{constructor(){this.refEditor=new ds}set(A,B,Q,g){const E=Array.isArray(B)?B:B.split(".");for(;E.length>1;){const e=E.shift();A instanceof Map&&(A=A.get(e)),A instanceof Set?A=Array.from(A.values())[e]:A=A[e],this.refEditor.isRef(A)&&(A=this.refEditor.get(A))}const C=E[0],I=this.refEditor.get(A)[C];g?g(A,C,Q):this.refEditor.isRef(I)?this.refEditor.set(I,Q):A[C]=Q}get(A,B){const Q=Array.isArray(B)?B:B.split(".");for(let g=0;g<Q.length;g++)if(A instanceof Map?A=A.get(Q[g]):A=A[Q[g]],this.refEditor.isRef(A)&&(A=this.refEditor.get(A)),!A)return;return A}has(A,B,Q=!1){if(typeof A>"u")return!1;const g=Array.isArray(B)?B.slice():B.split("."),E=Q?2:1;for(;A&&g.length>E;){const C=g.shift();A=A[C],this.refEditor.isRef(A)&&(A=this.refEditor.get(A))}return A!=null&&Object.prototype.hasOwnProperty.call(A,g[0])}createDefaultSetCallback(A){return(B,Q,g)=>{if((A.remove||A.newKey)&&(Array.isArray(B)?B.splice(Q,1):_B(B)instanceof Map?B.delete(Q):_B(B)instanceof Set?B.delete(Array.from(B.values())[Q]):Reflect.deleteProperty(B,Q)),!A.remove){const E=B[A.newKey||Q];this.refEditor.isRef(E)?this.refEditor.set(E,g):_B(B)instanceof Map?B.set(A.newKey||Q,g):_B(B)instanceof Set?B.add(g):B[A.newKey||Q]=g}}}},ds=class{set(A,B){if(Tg(A))A.value=B;else{if(A instanceof Set&&Array.isArray(B)){A.clear(),B.forEach(E=>A.add(E));return}const Q=Object.keys(B);if(A instanceof Map){const E=new Set(A.keys());Q.forEach(C=>{A.set(C,Reflect.get(B,C)),E.delete(C)}),E.forEach(C=>A.delete(C));return}const g=new Set(Object.keys(A));Q.forEach(E=>{Reflect.set(A,E,Reflect.get(B,E)),g.delete(E)}),g.forEach(E=>Reflect.deleteProperty(A,E))}}get(A){return Tg(A)?A.value:A}isRef(A){return Tg(A)||_e(A)}};G();function ps(A={}){var B;const{file:Q,baseUrl:g=window.location.origin,line:E=0,column:C=0}=A;if(Q&&It.vitePluginDetected){const I=(B=H.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__)!=null?B:g;H.__VUE_INSPECTOR__.openInEditor(I,Q,E,C)}}G();G();var eQ="__VUE_DEVTOOLS_ROUTER__",mB="__VUE_DEVTOOLS_ROUTER_INFO__",VC;(VC=H)[mB]!=null||(VC[mB]={currentRoute:null,routes:[]});var zC;(zC=H)[eQ]!=null||(zC[eQ]={});new Proxy(H[mB],{get(A,B){return H[mB][B]}});new Proxy(H[eQ],{get(A,B){if(B==="value")return H[eQ]}});function Fs(A){const B=new Map;return(A?.getRoutes()||[]).filter(Q=>!B.has(Q.path)&&B.set(Q.path,1))}function CC(A){return A.map(B=>{let{path:Q,name:g,children:E}=B;return E!=null&&E.length&&(E=CC(E)),{path:Q,name:g,children:E}})}function Ns(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:CC(I)}}return A}function Gs(A,B){function Q(){var g;const E=(g=A.app)==null?void 0:g.config.globalProperties.$router,C=Ns(E?.currentRoute.value),I=CC(Fs(E)),e=console.warn;console.warn=()=>{},H[mB]={currentRoute:C?PC(C):{},routes:PC(I)},H[eQ]=E,console.warn=e}Q(),WD.on.componentUpdated(NQ(()=>{var g;((g=B.value)==null?void 0:g.app)===A.app&&(Q(),GQ.hooks.callHook("routerInfoUpdated",{state:H[mB]}))},200))}G();var _C;(_C=H).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__!=null||(_C.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);function fs(A){let B=0;const Q=setInterval(()=>{H.__VUE_INSPECTOR__&&(clearInterval(Q),B+=30,A()),B>=5e3&&clearInterval(Q)},30)}function ks(){const A=H.__VUE_INSPECTOR__,B=A.openInEditor;A.openInEditor=async(...Q)=>{A.disable(),B(...Q)}}function Ls(){return new Promise(A=>{function B(){ks(),A(H.__VUE_INSPECTOR__)}H.__VUE_INSPECTOR__?B():fs(()=>{B()})})}G();G();G();G();var jC;(jC=H).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__!=null||(jC.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__=[]);var ot=new Proxy(H.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(A,B,Q){return Reflect.get(A,B,Q)}}),ys=class{constructor({plugin:A,ctx:B}){this.hooks=B.hooks,this.plugin=A}get on(){return{visitComponentTree:A=>{this.hooks.hook("visitComponentTree",A)},inspectComponent:A=>{this.hooks.hook("inspectComponent",A)},editComponentState:A=>{this.hooks.hook("editComponentState",A)},getInspectorTree:A=>{this.hooks.hook("getInspectorTree",A)},getInspectorState:A=>{this.hooks.hook("getInspectorState",A)},editInspectorState:A=>{this.hooks.hook("editInspectorState",A)},inspectTimelineEvent:A=>{this.hooks.hook("inspectTimelineEvent",A)},timelineCleared:A=>{this.hooks.hook("timelineCleared",A)},setPluginSettings:A=>{this.hooks.hook("setPluginSettings",A)}}}notifyComponentUpdate(A){var B;const Q=tt().find(g=>g.packageName===this.plugin.descriptor.packageName);if(Q!=null&&Q.id){if(A){const g=[A.appContext.app,A.uid,(B=A.parent)==null?void 0:B.uid,A];xA.callHook("component:updated",...g)}else xA.callHook("component:updated");this.hooks.callHook("sendInspectorState",{inspectorId:Q.id,plugin:this.plugin})}}addInspector(A){this.hooks.callHook("addInspector",{inspector:A,plugin:this.plugin})}sendInspectorTree(A){this.hooks.callHook("sendInspectorTree",{inspectorId:A,plugin:this.plugin})}sendInspectorState(A){this.hooks.callHook("sendInspectorState",{inspectorId:A,plugin:this.plugin})}selectInspectorNode(A,B){this.hooks.callHook("customInspectorSelectNode",{inspectorId:A,nodeId:B,plugin:this.plugin})}now(){return Date.now()}addTimelineLayer(A){this.hooks.callHook("timelineLayerAdded",{options:A,plugin:this.plugin})}addTimelineEvent(A){this.hooks.callHook("timelineEventAdded",{options:A,plugin:this.plugin})}getSettings(A){var B,Q,g;function E(C){const I={};return Object.keys(C).forEach(e=>{I[e]=C[e].defaultValue}),I}if(A){const C=(Q=(B=ot.find(I=>I[0].id===A))==null?void 0:B[0])!=null?Q:null;return(g=E(C?.settings))!=null?g:E(this.plugin.descriptor.settings)}else return E(this.plugin.descriptor.settings)}getComponentInstances(A){return this.hooks.callHook("getComponentInstances",{app:A})}getComponentBounds(A){return this.hooks.callHook("getComponentBounds",{instance:A})}getComponentName(A){return this.hooks.callHook("getComponentName",{instance:A})}highlightElement(A){const B=A.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook("componentHighlight",{uid:B})}unhighlightElement(){return this.hooks.callHook("componentUnhighlight")}},Hs=ys;G();G();G();G();G();G();var $C=/^\[native Symbol Symbol\((.*)\)\]$/,Rs=/^\[object (\w+)\]$/,$Q=/^\[native (\w+) (.*?)(<>(([\s\S])*))?\]$/,Ng="__vue_devtool_undefined__",Gg="__vue_devtool_infinity__",fg="__vue_devtool_negative_infinity__",kg="__vue_devtool_nan__",Us={"<":"<",">":">",'"':""","&":"&"};G();G();function wt(A){return Object.prototype.toString.call(A)==="[object Object]"}var Ag={[Ng]:"undefined",[kg]:"NaN",[Gg]:"Infinity",[fg]:"-Infinity"},Wg=Object.entries(Ag).reduce((A,[B,Q])=>(A[Q]=B,A),{});function Ps(A){return A===null?"null":typeof A=="string"&&Ag[A]||!1}function Ks(A){const B=new RegExp(`"(${Object.keys(Ag).join("|")})"`,"g");return A.replace(B,(Q,g)=>Ag[g])}function Ys(A){const B=Wg[A.trim()];if(B)return`"${B}"`;const Q=new RegExp(`:\\s*(${Object.keys(Wg).join("|")})`,"g");return A.replace(Q,(g,E)=>`:"${Wg[E]}"`)}function Dt(A){return A.replace(/[<>"&]/g,B=>Us[B]||B)}G();var AI;(AI=H).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__!=null||(AI.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__=new Set);function Ss(A,B){const[Q,g]=A;if(Q.app!==B)return;const E=new Hs({plugin:{setupFn:g,descriptor:Q},ctx:GQ});Q.packageName==="vuex"&&E.on.editInspectorState(C=>{E.sendInspectorState(C.inspectorId)}),g(E)}function ms(A){H.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(A)||(H.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(A),ot.forEach(B=>{Ss(B,A)}))}function Js(A){return{async getInspectorTree(B){const Q={...B,app:hA.value.app,rootNodes:[]};return await new Promise(g=>{A.callHookWith(async E=>{await Promise.all(E.map(C=>C(Q))),g()},"getInspectorTree")}),Q.rootNodes},async getInspectorState(B){const Q={...B,app:hA.value.app,state:null},g={currentTab:`custom-inspector:${B.inspectorId}`};return await new Promise(E=>{A.callHookWith(async C=>{await Promise.all(C.map(I=>I(Q,g))),E()},"getInspectorState")}),Q.state},editInspectorState(B){const Q=new Ms,g={...B,app:hA.value.app,set:(E,C=B.path,I=B.state.value,e)=>{Q.set(E,C,I,e||Q.createDefaultSetCallback(B.state))}};A.callHookWith(E=>{E.forEach(C=>C(g))},"editInspectorState")},sendInspectorState(B){const Q=bQ(B);A.callHook("sendInspectorState",{inspectorId:B,plugin:{descriptor:Q.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return Ds()},cancelInspectComponentInspector(){return ws()},getComponentRenderCode(B){const Q=iE(hA.value,B);if(Q)return Q?.type instanceof Function?Q.type.toString():Q.render.toString()},scrollToComponent(B){return ss({id:B})},openInEditor:ps,getVueInspector:Ls,toggleApp(B){const Q=Fg.value.find(g=>g.id===B);Q&&(rs(B),as(Q),Gs(Q,hA),et(),ms(Q.app))},inspectDOM(B){const Q=iE(hA.value,B);if(Q){const[g]=AC(Q);g&&(H.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=g)}}}}G();var BI;(BI=H).__VUE_DEVTOOLS_ENV__!=null||(BI.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});var QI=us(),gI;(gI=H).__VUE_DEVTOOLS_KIT_CONTEXT__!=null||(gI.__VUE_DEVTOOLS_KIT_CONTEXT__={hooks:QI,get state(){return{...It,activeAppRecordId:hA.id,activeAppRecord:hA.value,appRecords:Fg.value}},api:Js(QI)});var GQ=H.__VUE_DEVTOOLS_KIT_CONTEXT__;G();G();xD(qD());var EI;(EI=H).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__!=null||(EI.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__={id:0,appIds:new Set});G();G();G();G();G();G();G();G();G();var vs=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(A,B){this.keyToValue.set(A,B),this.valueToKey.set(B,A)}getByKey(A){return this.keyToValue.get(A)}getByValue(A){return this.valueToKey.get(A)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},st=class{constructor(A){this.generateIdentifier=A,this.kv=new vs}register(A,B){this.kv.getByValue(A)||(B||(B=this.generateIdentifier(A)),this.kv.set(B,A))}clear(){this.kv.clear()}getIdentifier(A){return this.kv.getByValue(A)}getValue(A){return this.kv.getByKey(A)}},Os=class extends st{constructor(){super(A=>A.name),this.classToAllowedProps=new Map}register(A,B){typeof B=="object"?(B.allowProps&&this.classToAllowedProps.set(A,B.allowProps),super.register(A,B.identifier)):super.register(A,B)}getAllowedProps(A){return this.classToAllowedProps.get(A)}};G();G();function xs(A){if("values"in Object)return Object.values(A);const B=[];for(const Q in A)A.hasOwnProperty(Q)&&B.push(A[Q]);return B}function bs(A,B){const Q=xs(A);if("find"in Q)return Q.find(B);const g=Q;for(let E=0;E<g.length;E++){const C=g[E];if(B(C))return C}}function JB(A,B){Object.entries(A).forEach(([Q,g])=>B(g,Q))}function qQ(A,B){return A.indexOf(B)!==-1}function CI(A,B){for(let Q=0;Q<A.length;Q++){const g=A[Q];if(B(g))return g}}var qs=class{constructor(){this.transfomers={}}register(A){this.transfomers[A.name]=A}findApplicable(A){return bs(this.transfomers,B=>B.isApplicable(A))}findByName(A){return this.transfomers[A]}};G();G();var Ts=A=>Object.prototype.toString.call(A).slice(8,-1),it=A=>typeof A>"u",Ws=A=>A===null,tQ=A=>typeof A!="object"||A===null||A===Object.prototype?!1:Object.getPrototypeOf(A)===null?!0:Object.getPrototypeOf(A)===Object.prototype,rE=A=>tQ(A)&&Object.keys(A).length===0,tB=A=>Array.isArray(A),Xs=A=>typeof A=="string",Zs=A=>typeof A=="number"&&!isNaN(A),Vs=A=>typeof A=="boolean",zs=A=>A instanceof RegExp,oQ=A=>A instanceof Map,wQ=A=>A instanceof Set,nt=A=>Ts(A)==="Symbol",_s=A=>A instanceof Date&&!isNaN(A.valueOf()),js=A=>A instanceof Error,II=A=>typeof A=="number"&&isNaN(A),$s=A=>Vs(A)||Ws(A)||it(A)||Zs(A)||Xs(A)||nt(A),Ai=A=>typeof A=="bigint",Bi=A=>A===1/0||A===-1/0,Qi=A=>ArrayBuffer.isView(A)&&!(A instanceof DataView),gi=A=>A instanceof URL;G();var at=A=>A.replace(/\./g,"\\."),Xg=A=>A.map(String).map(at).join("."),$B=A=>{const B=[];let Q="";for(let E=0;E<A.length;E++){let C=A.charAt(E);if(C==="\\"&&A.charAt(E+1)==="."){Q+=".",E++;continue}if(C==="."){B.push(Q),Q="";continue}Q+=C}const g=Q;return B.push(g),B};G();function vA(A,B,Q,g){return{isApplicable:A,annotation:B,transform:Q,untransform:g}}var rt=[vA(it,"undefined",()=>null,()=>{}),vA(Ai,"bigint",A=>A.toString(),A=>typeof BigInt<"u"?BigInt(A):(console.error("Please add a BigInt polyfill."),A)),vA(_s,"Date",A=>A.toISOString(),A=>new Date(A)),vA(js,"Error",(A,B)=>{const Q={name:A.name,message:A.message};return B.allowedErrorProps.forEach(g=>{Q[g]=A[g]}),Q},(A,B)=>{const Q=new Error(A.message);return Q.name=A.name,Q.stack=A.stack,B.allowedErrorProps.forEach(g=>{Q[g]=A[g]}),Q}),vA(zs,"regexp",A=>""+A,A=>{const B=A.slice(1,A.lastIndexOf("/")),Q=A.slice(A.lastIndexOf("/")+1);return new RegExp(B,Q)}),vA(wQ,"set",A=>[...A.values()],A=>new Set(A)),vA(oQ,"map",A=>[...A.entries()],A=>new Map(A)),vA(A=>II(A)||Bi(A),"number",A=>II(A)?"NaN":A>0?"Infinity":"-Infinity",Number),vA(A=>A===0&&1/A===-1/0,"number",()=>"-0",Number),vA(gi,"URL",A=>A.toString(),A=>new URL(A))];function Lg(A,B,Q,g){return{isApplicable:A,annotation:B,transform:Q,untransform:g}}var ct=Lg((A,B)=>nt(A)?!!B.symbolRegistry.getIdentifier(A):!1,(A,B)=>["symbol",B.symbolRegistry.getIdentifier(A)],A=>A.description,(A,B,Q)=>{const g=Q.symbolRegistry.getValue(B[1]);if(!g)throw new Error("Trying to deserialize unknown symbol");return g}),Ei=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((A,B)=>(A[B.name]=B,A),{}),lt=Lg(Qi,A=>["typed-array",A.constructor.name],A=>[...A],(A,B)=>{const Q=Ei[B[1]];if(!Q)throw new Error("Trying to deserialize unknown typed array");return new Q(A)});function ht(A,B){return A!=null&&A.constructor?!!B.classRegistry.getIdentifier(A.constructor):!1}var ut=Lg(ht,(A,B)=>["class",B.classRegistry.getIdentifier(A.constructor)],(A,B)=>{const Q=B.classRegistry.getAllowedProps(A.constructor);if(!Q)return{...A};const g={};return Q.forEach(E=>{g[E]=A[E]}),g},(A,B,Q)=>{const g=Q.classRegistry.getValue(B[1]);if(!g)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(g.prototype),A)}),Mt=Lg((A,B)=>!!B.customTransformerRegistry.findApplicable(A),(A,B)=>["custom",B.customTransformerRegistry.findApplicable(A).name],(A,B)=>B.customTransformerRegistry.findApplicable(A).serialize(A),(A,B,Q)=>{const g=Q.customTransformerRegistry.findByName(B[1]);if(!g)throw new Error("Trying to deserialize unknown custom value");return g.deserialize(A)}),Ci=[ut,ct,Mt,lt],eI=(A,B)=>{const Q=CI(Ci,E=>E.isApplicable(A,B));if(Q)return{value:Q.transform(A,B),type:Q.annotation(A,B)};const g=CI(rt,E=>E.isApplicable(A,B));if(g)return{value:g.transform(A,B),type:g.annotation}},dt={};rt.forEach(A=>{dt[A.annotation]=A});var Ii=(A,B,Q)=>{if(tB(B))switch(B[0]){case"symbol":return ct.untransform(A,B,Q);case"class":return ut.untransform(A,B,Q);case"custom":return Mt.untransform(A,B,Q);case"typed-array":return lt.untransform(A,B,Q);default:throw new Error("Unknown transformation: "+B)}else{const g=dt[B];if(!g)throw new Error("Unknown transformation: "+B);return g.untransform(A,Q)}};G();var HB=(A,B)=>{const Q=A.keys();for(;B>0;)Q.next(),B--;return Q.next().value};function pt(A){if(qQ(A,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(qQ(A,"prototype"))throw new Error("prototype is not allowed as a property");if(qQ(A,"constructor"))throw new Error("constructor is not allowed as a property")}var ei=(A,B)=>{pt(B);for(let Q=0;Q<B.length;Q++){const g=B[Q];if(wQ(A))A=HB(A,+g);else if(oQ(A)){const E=+g,C=+B[++Q]==0?"key":"value",I=HB(A,E);switch(C){case"key":A=I;break;case"value":A=A.get(I);break}}else A=A[g]}return A},cE=(A,B,Q)=>{if(pt(B),B.length===0)return Q(A);let g=A;for(let C=0;C<B.length-1;C++){const I=B[C];if(tB(g)){const e=+I;g=g[e]}else if(tQ(g))g=g[I];else if(wQ(g)){const e=+I;g=HB(g,e)}else if(oQ(g)){if(C===B.length-2)break;const e=+I,t=+B[++C]==0?"key":"value",o=HB(g,e);switch(t){case"key":g=o;break;case"value":g=g.get(o);break}}}const E=B[B.length-1];if(tB(g)?g[+E]=Q(g[+E]):tQ(g)&&(g[E]=Q(g[E])),wQ(g)){const C=HB(g,+E),I=Q(C);C!==I&&(g.delete(C),g.add(I))}if(oQ(g)){const C=+B[B.length-2],I=HB(g,C);switch(+E==0?"key":"value"){case"key":{const e=Q(I);g.set(e,g.get(I)),e!==I&&g.delete(I);break}case"value":{g.set(I,Q(g.get(I)));break}}}return A};function lE(A,B,Q=[]){if(!A)return;if(!tB(A)){JB(A,(C,I)=>lE(C,B,[...Q,...$B(I)]));return}const[g,E]=A;E&&JB(E,(C,I)=>{lE(C,B,[...Q,...$B(I)])}),B(g,Q)}function ti(A,B,Q){return lE(B,(g,E)=>{A=cE(A,E,C=>Ii(C,g,Q))}),A}function oi(A,B){function Q(g,E){const C=ei(A,$B(E));g.map($B).forEach(I=>{A=cE(A,I,()=>C)})}if(tB(B)){const[g,E]=B;g.forEach(C=>{A=cE(A,$B(C),()=>A)}),E&&JB(E,Q)}else JB(B,Q);return A}var wi=(A,B)=>tQ(A)||tB(A)||oQ(A)||wQ(A)||ht(A,B);function Di(A,B,Q){const g=Q.get(A);g?g.push(B):Q.set(A,[B])}function si(A,B){const Q={};let g;return A.forEach(E=>{if(E.length<=1)return;B||(E=E.map(e=>e.map(String)).sort((e,t)=>e.length-t.length));const[C,...I]=E;C.length===0?g=I.map(Xg):Q[Xg(C)]=I.map(Xg)}),g?rE(Q)?[g]:[g,Q]:rE(Q)?void 0:Q}var Ft=(A,B,Q,g,E=[],C=[],I=new Map)=>{var e;const t=$s(A);if(!t){Di(A,E,B);const a=I.get(A);if(a)return g?{transformedValue:null}:a}if(!wi(A,Q)){const a=eI(A,Q),n=a?{transformedValue:a.value,annotations:[a.type]}:{transformedValue:A};return t||I.set(A,n),n}if(qQ(C,A))return{transformedValue:null};const o=eI(A,Q),D=(e=o?.value)!=null?e:A,w=tB(D)?[]:{},i={};JB(D,(a,n)=>{if(n==="__proto__"||n==="constructor"||n==="prototype")throw new Error(`Detected property ${n}. This is a prototype pollution risk, please remove it from your object.`);const r=Ft(a,B,Q,g,[...E,n],[...C,A],I);w[n]=r.transformedValue,tB(r.annotations)?i[n]=r.annotations:tQ(r.annotations)&&JB(r.annotations,(M,l)=>{i[at(n)+"."+l]=M})});const s=rE(i)?{transformedValue:w,annotations:o?[o.type]:void 0}:{transformedValue:w,annotations:o?[o.type,i]:i};return t||I.set(A,s),s};G();G();function Nt(A){return Object.prototype.toString.call(A).slice(8,-1)}function tI(A){return Nt(A)==="Array"}function ii(A){if(Nt(A)!=="Object")return!1;const B=Object.getPrototypeOf(A);return!!B&&B.constructor===Object&&B===Object.prototype}function ni(A,B,Q,g,E){const C={}.propertyIsEnumerable.call(g,B)?"enumerable":"nonenumerable";C==="enumerable"&&(A[B]=Q),E&&C==="nonenumerable"&&Object.defineProperty(A,B,{value:Q,enumerable:!1,writable:!0,configurable:!0})}function hE(A,B={}){if(tI(A))return A.map(E=>hE(E,B));if(!ii(A))return A;const Q=Object.getOwnPropertyNames(A),g=Object.getOwnPropertySymbols(A);return[...Q,...g].reduce((E,C)=>{if(tI(B.props)&&!B.props.includes(C))return E;const I=A[C],e=hE(I,B);return ni(E,C,e,A,B.nonenumerable),E},{})}var BA=class{constructor({dedupe:A=!1}={}){this.classRegistry=new Os,this.symbolRegistry=new st(B=>{var Q;return(Q=B.description)!=null?Q:""}),this.customTransformerRegistry=new qs,this.allowedErrorProps=[],this.dedupe=A}serialize(A){const B=new Map,Q=Ft(A,B,this,this.dedupe),g={json:Q.transformedValue};Q.annotations&&(g.meta={...g.meta,values:Q.annotations});const E=si(B,this.dedupe);return E&&(g.meta={...g.meta,referentialEqualities:E}),g}deserialize(A){const{json:B,meta:Q}=A;let g=hE(B);return Q!=null&&Q.values&&(g=ti(g,Q.values,this)),Q!=null&&Q.referentialEqualities&&(g=oi(g,Q.referentialEqualities)),g}stringify(A){return JSON.stringify(this.serialize(A))}parse(A){return this.deserialize(JSON.parse(A))}registerClass(A,B){this.classRegistry.register(A,B)}registerSymbol(A,B){this.symbolRegistry.register(A,B)}registerCustom(A,B){this.customTransformerRegistry.register({name:B,...A})}allowErrorProps(...A){this.allowedErrorProps.push(...A)}};BA.defaultInstance=new BA;BA.serialize=BA.defaultInstance.serialize.bind(BA.defaultInstance);BA.deserialize=BA.defaultInstance.deserialize.bind(BA.defaultInstance);BA.stringify=BA.defaultInstance.stringify.bind(BA.defaultInstance);BA.parse=BA.defaultInstance.parse.bind(BA.defaultInstance);BA.registerClass=BA.defaultInstance.registerClass.bind(BA.defaultInstance);BA.registerSymbol=BA.defaultInstance.registerSymbol.bind(BA.defaultInstance);BA.registerCustom=BA.defaultInstance.registerCustom.bind(BA.defaultInstance);BA.allowErrorProps=BA.defaultInstance.allowErrorProps.bind(BA.defaultInstance);G();G();G();G();G();G();G();G();G();G();G();G();G();G();G();G();G();G();G();G();G();G();var oI;(oI=H).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__!=null||(oI.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__=[]);var wI;(wI=H).__VUE_DEVTOOLS_KIT_RPC_CLIENT__!=null||(wI.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=null);var DI;(DI=H).__VUE_DEVTOOLS_KIT_RPC_SERVER__!=null||(DI.__VUE_DEVTOOLS_KIT_RPC_SERVER__=null);var sI;(sI=H).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__!=null||(sI.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=null);var iI;(iI=H).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__!=null||(iI.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__=null);var nI;(nI=H).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__!=null||(nI.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__=null);function ai(){return H.__VUE_DEVTOOLS_KIT_RPC_CLIENT__}function ri(){return H.__VUE_DEVTOOLS_KIT_RPC_SERVER__}function ci(){return H.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__}G();G();G();G();G();function li(A){const B=new Set,Q=A._custom.value;for(let g=0;g<Q.length;g++){const E=Q[g];B.add(yg(E))}return B}function hi(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,yg(C))}return B}function yg(A){if(A!==Ng){if(A===Gg)return Number.POSITIVE_INFINITY;if(A===fg)return Number.NEGATIVE_INFINITY;if(A===kg)return Number.NaN;if(A&&A._custom){const{_custom:B}=A;return B.type==="component"?hA.value.instanceMap.get(B.id):B.type==="map"?hi(A):B.type==="set"?li(A):B.type==="bigint"?BigInt(B.value):yg(B.value)}else if($C.test(A)){const[,B]=$C.exec(A);return Symbol.for(B)}else if($Q.test(A)){const[,B,Q,,g]=$Q.exec(A),E=new H[B](Q);return B==="Error"&&g&&(E.stack=g),E}else return A}}function Gt(A,B){return yg(B)}G();function ui(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 aI(A,B=null){if(Array.isArray(A)&&(A=A.join("")),/^\s/.test(A)){const Q=JSON.parse(A);return ui(Q,B),Q[0]}else return arguments.length===1?JSON.parse(A):JSON.parse(A,B)}G();function DQ(A,B=!0){const Q=typeof A;if(A==null||A===Ng||A==="undefined")return"null";if(Q==="boolean"||Q==="number"||A===Gg||A===fg||A===kg)return"literal";if(A!=null&&A._custom)return B||A._custom.display!=null||A._custom.displayText!=null?"custom":DQ(A._custom.value);if(typeof A=="string"){const g=$Q.exec(A);if(g){const[,E]=g;return`native ${E}`}else return"string"}else return Array.isArray(A)||A!=null&&A._isArray?"array":wt(A)?"plain-object":"unknown"}function ft(A,B=!1,Q){var g,E,C;const{customClass:I}=Q??{};let e;const t=DQ(A,!1);if(t!=="custom"&&A!=null&&A._custom&&(A=A._custom.value),e=Ps(A))return e;if(t==="custom")return((g=A._custom.value)==null?void 0:g._custom)&&ft(A._custom.value,B,Q)||A._custom.displayText||A._custom.display;if(t==="array")return`Array[${A.length}]`;if(t==="plain-object")return`Object${Object.keys(A).length?"":" (empty)"}`;if(t!=null&&t.includes("native"))return Dt((E=$Q.exec(A))==null?void 0:E[2]);if(typeof A=="string"){const o=A.match(Rs);o?A=WB(o[1]):B?A=`<span>"</span>${I!=null&&I.string?`<span class=${I.string}>${WB(A)}</span>`:WB(A)}<span>"</span>`:A=I!=null&&I.string?`<span class="${(C=I?.string)!=null?C:""}">${WB(A)}</span>`:WB(A)}return A}function WB(A){return Dt(A).replace(/ /g," ").replace(/\n/g,"<span>\\n</span>")}function IC(A){var B,Q,g;let E;const C=DQ(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?IC(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 Mi(A,B){return B==="bigint"||B==="date"?A:Ks(JSON.stringify(A))}function TQ(A,B){return B==="bigint"?BigInt(A):B==="date"?new Date(A):JSON.parse(Ys(A),Gt)}function zA(A,B=!1){return A==null?{}:B?aI(A,Gt):aI(A)}G();G();function uE(A,B={},Q){for(const g in A){const E=A[g],C=Q?`${Q}:${g}`:g;typeof E=="object"&&E!==null?uE(E,B,C):typeof E=="function"&&(B[C]=E)}return B}var di={run:A=>A()},pi=()=>di,kt=typeof console.createTask<"u"?console.createTask:pi;function Fi(A,B){const Q=B.shift(),g=kt(Q);return A.reduce((E,C)=>E.then(()=>g.run(()=>C(...B))),Promise.resolve())}function Ni(A,B){const Q=B.shift(),g=kt(Q);return Promise.all(A.map(E=>g.run(()=>E(...B))))}function Zg(A,B){for(const Q of[...A])Q(B)}var Gi=class{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(A,B,Q={}){if(!A||typeof B!="function")return()=>{};const g=A;let E;for(;this._deprecatedHooks[A];)E=this._deprecatedHooks[A],A=E.to;if(E&&!Q.allowDeprecated){let C=E.message;C||(C=`${g} hook has been deprecated`+(E.to?`, please use ${E.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(C)||(console.warn(C),this._deprecatedMessages.add(C))}if(!B.name)try{Object.defineProperty(B,"name",{get:()=>"_"+A.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[A]=this._hooks[A]||[],this._hooks[A].push(B),()=>{B&&(this.removeHook(A,B),B=void 0)}}hookOnce(A,B){let Q,g=(...E)=>(typeof Q=="function"&&Q(),Q=void 0,g=void 0,B(...E));return Q=this.hook(A,g),Q}removeHook(A,B){if(this._hooks[A]){const Q=this._hooks[A].indexOf(B);Q!==-1&&this._hooks[A].splice(Q,1),this._hooks[A].length===0&&delete this._hooks[A]}}deprecateHook(A,B){this._deprecatedHooks[A]=typeof B=="string"?{to:B}:B;const Q=this._hooks[A]||[];delete this._hooks[A];for(const g of Q)this.hook(A,g)}deprecateHooks(A){Object.assign(this._deprecatedHooks,A);for(const B in A)this.deprecateHook(B,A[B])}addHooks(A){const B=uE(A),Q=Object.keys(B).map(g=>this.hook(g,B[g]));return()=>{for(const g of Q.splice(0,Q.length))g()}}removeHooks(A){const B=uE(A);for(const Q in B)this.removeHook(Q,B[Q])}removeAllHooks(){for(const A in this._hooks)delete this._hooks[A]}callHook(A,...B){return B.unshift(A),this.callHookWith(Fi,A,...B)}callHookParallel(A,...B){return B.unshift(A),this.callHookWith(Ni,A,...B)}callHookWith(A,B,...Q){const g=this._before||this._after?{name:B,args:Q,context:{}}:void 0;this._before&&Zg(this._before,g);const E=A(B in this._hooks?[...this._hooks[B]]:[],Q);return E instanceof Promise?E.finally(()=>{this._after&&g&&Zg(this._after,g)}):(this._after&&g&&Zg(this._after,g),E)}beforeEach(A){return this._before=this._before||[],this._before.push(A),()=>{if(this._before!==void 0){const B=this._before.indexOf(A);B!==-1&&this._before.splice(B,1)}}}afterEach(A){return this._after=this._after||[],this._after.push(A),()=>{if(this._after!==void 0){const B=this._after.indexOf(A);B!==-1&&this._after.splice(B,1)}}}};function Lt(){return new Gi}Lt();var KA=(A=>(A.INSPECTOR_TREE_UPDATED="inspector-tree-updated",A.INSPECTOR_STATE_UPDATED="inspector-state-updated",A.DEVTOOLS_STATE_UPDATED="devtools-state-updated",A.ROUTER_INFO_UPDATED="router-info-updated",A.TIMELINE_EVENT_UPDATED="timeline-event-updated",A.INSPECTOR_UPDATED="inspector-updated",A.ACTIVE_APP_UNMOUNTED="active-app-updated",A.DESTROY_DEVTOOLS_CLIENT="destroy-devtools-client",A.RELOAD_DEVTOOLS_CLIENT="reload-devtools-client",A))(KA||{}),gA=new Proxy({value:{},functions:{}},{get(A,B){const Q=ai();if(B==="value")return Q;if(B==="functions")return Q.$functions}});new Proxy({value:{},functions:{}},{get(A,B){const Q=ri();if(B==="value")return Q;if(B==="functions")return Q.functions}});Lt();new Proxy({value:{},functions:{}},{get(A,B){const Q=ci();if(B==="value")return Q;if(B==="functions")return Q?.$functions}});const fi={class:"flex gap3"},ki=["onClick"],yt=j({__name:"Navbar",setup(A){const{routes:B,currentRoute:Q}=Xw(),g=VE();return(E,C)=>(p(),y("ul",fi,[(p(!0),y(FA,null,dB(F(B),(I,e)=>(p(),y("li",{key:e,"cursor-pointer":"","hover:op100":"",style:NA({opacity:F(Q).path===I.path?1:.7}),onClick:t=>F(g).push(I.path)},GA(I.name),13,ki))),128))]))}}),Li={border:"b base",class:"h10 h40px flex items-center justify-between px3"},yi=["href"],Hi=N("i",{class:"i-clarity:document-line cursor-pointer op70 text-base hover:op100"},null,-1),Ri=[Hi],Ui=["href"],Pi=N("i",{class:"i-mdi:github cursor-pointer op70 text-base hover:op100"},null,-1),Ki=[Pi],Ht=j({__name:"DevToolsHeader",props:{githubRepoLink:{},docLink:{}},setup(A){const B=VE();return(Q,g)=>(p(),y("div",Li,[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"},Ri,8,yi),Q.githubRepoLink?(p(),y("a",{key:0,href:Q.githubRepoLink,target:"_blank"},Ki,8,Ui)):z("",!0)])]))}}),Yi={},Si={class:"h-full flex flex-col items-center justify-center op50"},mi=N("i",{class:"i-lets-icons:blank-light"},null,-1);function Ji(A,B){return p(),y("div",Si,[mi,N("span",null,[EA(A.$slots,"default")])])}const Rt=dg(Yi,[["render",Ji]]),vi=["top","right","bottom","left"],rI=["start","end"],cI=vi.reduce((A,B)=>A.concat(B,B+"-"+rI[0],B+"-"+rI[1]),[]),sQ=Math.min,iB=Math.max,Oi={left:"right",right:"left",bottom:"top",top:"bottom"},xi={start:"end",end:"start"};function ME(A,B,Q){return iB(A,sQ(B,Q))}function GB(A,B){return typeof A=="function"?A(B):A}function TA(A){return A.split("-")[0]}function SA(A){return A.split("-")[1]}function Ut(A){return A==="x"?"y":"x"}function eC(A){return A==="y"?"height":"width"}function fQ(A){return["top","bottom"].includes(TA(A))?"y":"x"}function tC(A){return Ut(fQ(A))}function Pt(A,B,Q){Q===void 0&&(Q=!1);const g=SA(A),E=tC(A),C=eC(E);let I=E==="x"?g===(Q?"end":"start")?"right":"left":g==="start"?"bottom":"top";return B.reference[C]>B.floating[C]&&(I=Qg(I)),[I,Qg(I)]}function bi(A){const B=Qg(A);return[Bg(A),B,Bg(B)]}function Bg(A){return A.replace(/start|end/g,B=>xi[B])}function qi(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 Ti(A,B,Q,g){const E=SA(A);let C=qi(TA(A),Q==="start",g);return E&&(C=C.map(I=>I+"-"+E),B&&(C=C.concat(C.map(Bg)))),C}function Qg(A){return A.replace(/left|right|bottom|top/g,B=>Oi[B])}function Wi(A){return{top:0,right:0,bottom:0,left:0,...A}}function Kt(A){return typeof A!="number"?Wi(A):{top:A,right:A,bottom:A,left:A}}function AQ(A){return{...A,top:A.y,left:A.x,right:A.x+A.width,bottom:A.y+A.height}}function lI(A,B,Q){let{reference:g,floating:E}=A;const C=fQ(B),I=tC(B),e=eC(I),t=TA(B),o=C==="y",D=g.x+g.width/2-E.width/2,w=g.y+g.height/2-E.height/2,i=g[e]/2-E[e]/2;let s;switch(t){case"top":s={x:D,y:g.y-E.height};break;case"bottom":s={x:D,y:g.y+g.height};break;case"right":s={x:g.x+g.width,y:w};break;case"left":s={x:g.x-E.width,y:w};break;default:s={x:g.x,y:g.y}}switch(SA(B)){case"start":s[I]-=i*(Q&&o?-1:1);break;case"end":s[I]+=i*(Q&&o?-1:1);break}return s}const Xi=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}=lI(o,g,t),i=g,s={},a=0;for(let n=0;n<e.length;n++){const{name:r,fn:M}=e[n],{x:l,y:c,data:u,reset:d}=await M({x:D,y:w,initialPlacement:g,placement:i,strategy:E,middlewareData:s,rects:o,platform:I,elements:{reference:A,floating:B}});if(D=l??D,w=c??w,s={...s,[r]:{...s[r],...u}},d&&a<=50){a++,typeof d=="object"&&(d.placement&&(i=d.placement),d.rects&&(o=d.rects===!0?await I.getElementRects({reference:A,floating:B,strategy:E}):d.rects),{x:D,y:w}=lI(o,i,t)),n=-1;continue}}return{x:D,y:w,placement:i,strategy:E,middlewareData:s}};async function Hg(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:i=!1,padding:s=0}=GB(B,A),a=Kt(s),n=e[i?w==="floating"?"reference":"floating":w],r=AQ(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})),M=w==="floating"?{...I.floating,x:g,y:E}:I.reference,l=await(C.getOffsetParent==null?void 0:C.getOffsetParent(e.floating)),c=await(C.isElement==null?void 0:C.isElement(l))?await(C.getScale==null?void 0:C.getScale(l))||{x:1,y:1}:{x:1,y:1},u=AQ(C.convertOffsetParentRelativeRectToViewportRelativeRect?await C.convertOffsetParentRelativeRectToViewportRelativeRect({rect:M,offsetParent:l,strategy:t}):M);return{top:(r.top-u.top+a.top)/c.y,bottom:(u.bottom-r.bottom+a.bottom)/c.y,left:(r.left-u.left+a.left)/c.x,right:(u.right-r.right+a.right)/c.x}}const Zi=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}=GB(A,B)||{};if(t==null)return{};const D=Kt(o),w={x:Q,y:g},i=tC(E),s=eC(i),a=await I.getDimensions(t),n=i==="y",r=n?"top":"left",M=n?"bottom":"right",l=n?"clientHeight":"clientWidth",c=C.reference[s]+C.reference[i]-w[i]-C.floating[s],u=w[i]-C.reference[i],d=await(I.getOffsetParent==null?void 0:I.getOffsetParent(t));let k=d?d[l]:0;(!k||!await(I.isElement==null?void 0:I.isElement(d)))&&(k=e.floating[l]||C.floating[s]);const S=c/2-u/2,m=k/2-a[s]/2-1,b=sQ(D[r],m),K=sQ(D[M],m),Z=b,q=k-a[s]-K,L=k/2-a[s]/2+S,O=ME(Z,L,q),T=SA(E)!=null&&L!=O&&C.reference[s]/2-(L<Z?b:K)-a[s]/2<0?L<Z?Z-L:q-L:0;return{[i]:w[i]-T,data:{[i]:O,centerOffset:L-O+T}}}});function Vi(A,B,Q){return(A?[...Q.filter(g=>SA(g)===A),...Q.filter(g=>SA(g)!==A)]:Q.filter(g=>TA(g)===g)).filter(g=>A?SA(g)===A||(B?Bg(g)!==g:!1):!0)}const zi=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:i=cI,autoAlignment:s=!0,...a}=GB(A,B),n=w!==void 0||i===cI?Vi(w||null,s,i):i,r=await Hg(B,a),M=((Q=I.autoPlacement)==null?void 0:Q.index)||0,l=n[M];if(l==null)return{};const c=Pt(l,C,await(t.isRTL==null?void 0:t.isRTL(o.floating)));if(e!==l)return{reset:{placement:n[0]}};const u=[r[TA(l)],r[c[0]],r[c[1]]],d=[...((g=I.autoPlacement)==null?void 0:g.overflows)||[],{placement:l,overflows:u}],k=n[M+1];if(k)return{data:{index:M+1,overflows:d},reset:{placement:k}};const S=d.map(b=>{const K=SA(b.placement);return[b.placement,K&&D?b.overflows.slice(0,2).reduce((Z,q)=>Z+q,0):b.overflows[0],b.overflows]}).sort((b,K)=>b[1]-K[1]),m=((E=S.filter(b=>b[2].slice(0,SA(b[0])?2:3).every(K=>K<=0))[0])==null?void 0:E[0])||S[0][0];return m!==e?{data:{index:M+1,overflows:d},reset:{placement:m}}:{}}}},_i=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:i="bestFit",fallbackAxisSideDirection:s="none",flipAlignment:a=!0,...n}=GB(A,B),r=TA(g),M=TA(I)===I,l=await(e.isRTL==null?void 0:e.isRTL(t.floating)),c=w||(M||!a?[Qg(I)]:bi(I));!w&&s!=="none"&&c.push(...Ti(I,a,s,l));const u=[I,...c],d=await Hg(B,n),k=[];let S=((Q=E.flip)==null?void 0:Q.overflows)||[];if(o&&k.push(d[r]),D){const Z=Pt(g,C,l);k.push(d[Z[0]],d[Z[1]])}if(S=[...S,{placement:g,overflows:k}],!k.every(Z=>Z<=0)){var m,b;const Z=(((m=E.flip)==null?void 0:m.index)||0)+1,q=u[Z];if(q)return{data:{index:Z,overflows:S},reset:{placement:q}};let L=(b=S.filter(O=>O.overflows[0]<=0).sort((O,T)=>O.overflows[1]-T.overflows[1])[0])==null?void 0:b.placement;if(!L)switch(i){case"bestFit":{var K;const O=(K=S.map(T=>[T.placement,T.overflows.filter(R=>R>0).reduce((R,IA)=>R+IA,0)]).sort((T,R)=>T[1]-R[1])[0])==null?void 0:K[0];O&&(L=O);break}case"initialPlacement":L=I;break}if(g!==L)return{reset:{placement:L}}}return{}}}};async function ji(A,B){const{placement:Q,platform:g,elements:E}=A,C=await(g.isRTL==null?void 0:g.isRTL(E.floating)),I=TA(Q),e=SA(Q),t=fQ(Q)==="y",o=["left","top"].includes(I)?-1:1,D=C&&t?-1:1,w=GB(B,A);let{mainAxis:i,crossAxis:s,alignmentAxis:a}=typeof w=="number"?{mainAxis:w,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...w};return e&&typeof a=="number"&&(s=e==="end"?a*-1:a),t?{x:s*D,y:i*o}:{x:i*o,y:s*D}}const $i=function(A){return A===void 0&&(A=0),{name:"offset",options:A,async fn(B){const{x:Q,y:g}=B,E=await ji(B,A);return{x:Q+E.x,y:g+E.y,data:E}}}},An=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:M,y:l}=r;return{x:M,y:l}}},...t}=GB(A,B),o={x:Q,y:g},D=await Hg(B,t),w=fQ(TA(E)),i=Ut(w);let s=o[i],a=o[w];if(C){const r=i==="y"?"top":"left",M=i==="y"?"bottom":"right",l=s+D[r],c=s-D[M];s=ME(l,s,c)}if(I){const r=w==="y"?"top":"left",M=w==="y"?"bottom":"right",l=a+D[r],c=a-D[M];a=ME(l,a,c)}const n=e.fn({...B,[i]:s,[w]:a});return{...n,data:{x:n.x-Q,y:n.y-g}}}}},Bn=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}=GB(A,B),t=await Hg(B,e),o=TA(Q),D=SA(Q),w=fQ(Q)==="y",{width:i,height:s}=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=s-t[a],M=i-t[n],l=!B.middlewareData.shift;let c=r,u=M;if(w){const k=i-t.left-t.right;u=D||l?sQ(M,k):k}else{const k=s-t.top-t.bottom;c=D||l?sQ(r,k):k}if(l&&!D){const k=iB(t.left,0),S=iB(t.right,0),m=iB(t.top,0),b=iB(t.bottom,0);w?u=i-2*(k!==0||S!==0?k+S:iB(t.left,t.right)):c=s-2*(m!==0||b!==0?m+b:iB(t.top,t.bottom))}await I({...B,availableWidth:u,availableHeight:c});const d=await E.getDimensions(C.floating);return i!==d.width||s!==d.height?{reset:{rects:!0}}:{}}}};function HA(A){var B;return((B=A.ownerDocument)==null?void 0:B.defaultView)||window}function bA(A){return HA(A).getComputedStyle(A)}const hI=Math.min,BQ=Math.max,gg=Math.round;function Yt(A){const B=bA(A);let Q=parseFloat(B.width),g=parseFloat(B.height);const E=A.offsetWidth,C=A.offsetHeight,I=gg(Q)!==E||gg(g)!==C;return I&&(Q=E,g=C),{width:Q,height:g,fallback:I}}function oB(A){return mt(A)?(A.nodeName||"").toLowerCase():""}let KQ;function St(){if(KQ)return KQ;const A=navigator.userAgentData;return A&&Array.isArray(A.brands)?(KQ=A.brands.map(B=>B.brand+"/"+B.version).join(" "),KQ):navigator.userAgent}function qA(A){return A instanceof HA(A).HTMLElement}function CB(A){return A instanceof HA(A).Element}function mt(A){return A instanceof HA(A).Node}function uI(A){return typeof ShadowRoot>"u"?!1:A instanceof HA(A).ShadowRoot||A instanceof ShadowRoot}function Rg(A){const{overflow:B,overflowX:Q,overflowY:g,display:E}=bA(A);return/auto|scroll|overlay|hidden|clip/.test(B+g+Q)&&!["inline","contents"].includes(E)}function Qn(A){return["table","td","th"].includes(oB(A))}function dE(A){const B=/firefox/i.test(St()),Q=bA(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 Jt(){return!/^((?!chrome|android).)*safari/i.test(St())}function oC(A){return["html","body","#document"].includes(oB(A))}function vt(A){return CB(A)?A:A.contextElement}const Ot={x:1,y:1};function RB(A){const B=vt(A);if(!qA(B))return Ot;const Q=B.getBoundingClientRect(),{width:g,height:E,fallback:C}=Yt(B);let I=(C?gg(Q.width):Q.width)/g,e=(C?gg(Q.height):Q.height)/E;return I&&Number.isFinite(I)||(I=1),e&&Number.isFinite(e)||(e=1),{x:I,y:e}}function iQ(A,B,Q,g){var E,C;B===void 0&&(B=!1),Q===void 0&&(Q=!1);const I=A.getBoundingClientRect(),e=vt(A);let t=Ot;B&&(g?CB(g)&&(t=RB(g)):t=RB(A));const o=e?HA(e):window,D=!Jt()&&Q;let w=(I.left+(D&&((E=o.visualViewport)==null?void 0:E.offsetLeft)||0))/t.x,i=(I.top+(D&&((C=o.visualViewport)==null?void 0:C.offsetTop)||0))/t.y,s=I.width/t.x,a=I.height/t.y;if(e){const n=HA(e),r=g&&CB(g)?HA(g):g;let M=n.frameElement;for(;M&&g&&r!==n;){const l=RB(M),c=M.getBoundingClientRect(),u=getComputedStyle(M);c.x+=(M.clientLeft+parseFloat(u.paddingLeft))*l.x,c.y+=(M.clientTop+parseFloat(u.paddingTop))*l.y,w*=l.x,i*=l.y,s*=l.x,a*=l.y,w+=c.x,i+=c.y,M=HA(M).frameElement}}return{width:s,height:a,top:i,right:w+s,bottom:i+a,left:w,x:w,y:i}}function IB(A){return((mt(A)?A.ownerDocument:A.document)||window.document).documentElement}function Ug(A){return CB(A)?{scrollLeft:A.scrollLeft,scrollTop:A.scrollTop}:{scrollLeft:A.pageXOffset,scrollTop:A.pageYOffset}}function xt(A){return iQ(IB(A)).left+Ug(A).scrollLeft}function nQ(A){if(oB(A)==="html")return A;const B=A.assignedSlot||A.parentNode||uI(A)&&A.host||IB(A);return uI(B)?B.host:B}function bt(A){const B=nQ(A);return oC(B)?B.ownerDocument.body:qA(B)&&Rg(B)?B:bt(B)}function Eg(A,B){var Q;B===void 0&&(B=[]);const g=bt(A),E=g===((Q=A.ownerDocument)==null?void 0:Q.body),C=HA(g);return E?B.concat(C,C.visualViewport||[],Rg(g)?g:[]):B.concat(g,Eg(g))}function MI(A,B,Q){return B==="viewport"?AQ(function(g,E){const C=HA(g),I=IB(g),e=C.visualViewport;let t=I.clientWidth,o=I.clientHeight,D=0,w=0;if(e){t=e.width,o=e.height;const i=Jt();(i||!i&&E==="fixed")&&(D=e.offsetLeft,w=e.offsetTop)}return{width:t,height:o,x:D,y:w}}(A,Q)):CB(B)?AQ(function(g,E){const C=iQ(g,!0,E==="fixed"),I=C.top+g.clientTop,e=C.left+g.clientLeft,t=qA(g)?RB(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)):AQ(function(g){const E=IB(g),C=Ug(g),I=g.ownerDocument.body,e=BQ(E.scrollWidth,E.clientWidth,I.scrollWidth,I.clientWidth),t=BQ(E.scrollHeight,E.clientHeight,I.scrollHeight,I.clientHeight);let o=-C.scrollLeft+xt(g);const D=-C.scrollTop;return bA(I).direction==="rtl"&&(o+=BQ(E.clientWidth,I.clientWidth)-e),{width:e,height:t,x:o,y:D}}(IB(A)))}function dI(A){return qA(A)&&bA(A).position!=="fixed"?A.offsetParent:null}function pI(A){const B=HA(A);let Q=dI(A);for(;Q&&Qn(Q)&&bA(Q).position==="static";)Q=dI(Q);return Q&&(oB(Q)==="html"||oB(Q)==="body"&&bA(Q).position==="static"&&!dE(Q))?B:Q||function(g){let E=nQ(g);for(;qA(E)&&!oC(E);){if(dE(E))return E;E=nQ(E)}return null}(A)||B}function gn(A,B,Q){const g=qA(B),E=IB(B),C=iQ(A,!0,Q==="fixed",B);let I={scrollLeft:0,scrollTop:0};const e={x:0,y:0};if(g||!g&&Q!=="fixed")if((oB(B)!=="body"||Rg(E))&&(I=Ug(B)),qA(B)){const t=iQ(B,!0);e.x=t.x+B.clientLeft,e.y=t.y+B.clientTop}else E&&(e.x=xt(E));return{x:C.left+I.scrollLeft-e.x,y:C.top+I.scrollTop-e.y,width:C.width,height:C.height}}const En={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 i=Eg(o).filter(r=>CB(r)&&oB(r)!=="body"),s=null;const a=bA(o).position==="fixed";let n=a?nQ(o):o;for(;CB(n)&&!oC(n);){const r=bA(n),M=dE(n);(a?M||s:M||r.position!=="static"||!s||!["absolute","fixed"].includes(s.position))?s=r:i=i.filter(l=>l!==n),n=nQ(n)}return D.set(o,i),i}(B,this._c):[].concat(Q),I=[...C,g],e=I[0],t=I.reduce((o,D)=>{const w=MI(B,D,E);return o.top=BQ(w.top,o.top),o.right=hI(w.right,o.right),o.bottom=hI(w.bottom,o.bottom),o.left=BQ(w.left,o.left),o},MI(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=qA(Q),C=IB(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")&&((oB(Q)!=="body"||Rg(C))&&(I=Ug(Q)),qA(Q))){const o=iQ(Q);e=RB(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:CB,getDimensions:function(A){return qA(A)?Yt(A):A.getBoundingClientRect()},getOffsetParent:pI,getDocumentElement:IB,getScale:RB,async getElementRects(A){let{reference:B,floating:Q,strategy:g}=A;const E=this.getOffsetParent||pI,C=this.getDimensions;return{reference:gn(B,await E(Q),g),floating:{x:0,y:0,...await C(Q)}}},getClientRects:A=>Array.from(A.getClientRects()),isRTL:A=>bA(A).direction==="rtl"},Cn=(A,B,Q)=>{const g=new Map,E={platform:En,...Q},C={...E.platform,_c:g};return Xi(A,B,{...E,platform:C})},hB={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 aQ(A,B){let Q=hB.themes[A]||{},g;do g=Q[B],typeof g>"u"?Q.$extend?Q=hB.themes[Q.$extend]||{}:(Q=null,g=hB[B]):Q=null;while(Q);return g}function In(A){const B=[A];let Q=hB.themes[A]||{};do Q.$extend&&!Q.$resetCss?(B.push(Q.$extend),Q=hB.themes[Q.$extend]||{}):Q=null;while(Q);return B.map(g=>`v-popper--theme-${g}`)}function FI(A){const B=[A];let Q=hB.themes[A]||{};do Q.$extend?(B.push(Q.$extend),Q=hB.themes[Q.$extend]||{}):Q=null;while(Q);return B}let vB=!1;if(typeof window<"u"){vB=!1;try{const A=Object.defineProperty({},"passive",{get(){vB=!0}});window.addEventListener("test",null,A)}catch{}}let qt=!1;typeof window<"u"&&typeof navigator<"u"&&(qt=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Tt=["auto","top","bottom","left","right"].reduce((A,B)=>A.concat([B,`${B}-start`,`${B}-end`]),[]),NI={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},GI={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function fI(A,B){const Q=A.indexOf(B);Q!==-1&&A.splice(Q,1)}function Vg(){return new Promise(A=>requestAnimationFrame(()=>{requestAnimationFrame(A)}))}const PA=[];let sB=null;const kI={};function LI(A){let B=kI[A];return B||(B=kI[A]=[]),B}let pE=function(){};typeof window<"u"&&(pE=window.Element);function V(A){return function(B){return aQ(B.theme,A)}}const zg="__floating-vue__popper",Wt=()=>j({name:"VPopper",provide(){return{[zg]:{parentPopper:this}}},inject:{[zg]:{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:V("disabled")},positioningDisabled:{type:Boolean,default:V("positioningDisabled")},placement:{type:String,default:V("placement"),validator:A=>Tt.includes(A)},delay:{type:[String,Number,Object],default:V("delay")},distance:{type:[Number,String],default:V("distance")},skidding:{type:[Number,String],default:V("skidding")},triggers:{type:Array,default:V("triggers")},showTriggers:{type:[Array,Function],default:V("showTriggers")},hideTriggers:{type:[Array,Function],default:V("hideTriggers")},popperTriggers:{type:Array,default:V("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:V("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:V("popperHideTriggers")},container:{type:[String,Object,pE,Boolean],default:V("container")},boundary:{type:[String,pE],default:V("boundary")},strategy:{type:String,validator:A=>["absolute","fixed"].includes(A),default:V("strategy")},autoHide:{type:[Boolean,Function],default:V("autoHide")},handleResize:{type:Boolean,default:V("handleResize")},instantMove:{type:Boolean,default:V("instantMove")},eagerMount:{type:Boolean,default:V("eagerMount")},popperClass:{type:[String,Array,Object],default:V("popperClass")},computeTransformOrigin:{type:Boolean,default:V("computeTransformOrigin")},autoMinSize:{type:Boolean,default:V("autoMinSize")},autoSize:{type:[Boolean,String],default:V("autoSize")},autoMaxSize:{type:Boolean,default:V("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:V("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:V("preventOverflow")},overflowPadding:{type:[Number,String],default:V("overflowPadding")},arrowPadding:{type:[Number,String],default:V("arrowPadding")},arrowOverflow:{type:Boolean,default:V("arrowOverflow")},flip:{type:Boolean,default:V("flip")},shift:{type:Boolean,default:V("shift")},shiftCrossAxis:{type:Boolean,default:V("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:V("noAutoFocus")},disposeTimeout:{type:Number,default:V("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[zg])==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($i({mainAxis:this.distance,crossAxis:this.skidding}));const B=this.placement.startsWith("auto");if(B?A.middleware.push(zi({alignment:this.placement.split("-")[1]??""})):A.placement=this.placement,this.preventOverflow&&(this.shift&&A.middleware.push(An({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!B&&this.flip&&A.middleware.push(_i({padding:this.overflowPadding,boundary:this.boundary}))),A.middleware.push(Zi({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(Bn({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 Cn(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),sB&&this.instantMove&&sB.instantMove&&sB!==this.parentPopper){sB.$_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&&(sB=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 Vg(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Eg(this.$_referenceNode),...Eg(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<PA.length;Q++)B=PA[Q],B.showGroup!==A&&(B.hide(),B.$emit("close-group"))}PA.push(this),document.body.classList.add("v-popper--some-open");for(const B of FI(this.theme))LI(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 Vg(),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,fI(PA,this),PA.length===0&&document.body.classList.remove("v-popper--some-open");for(const Q of FI(this.theme)){const g=LI(Q);fI(g,this),g.length===0&&document.body.classList.remove(`v-popper--some-open--${Q}`)}sB===this&&(sB=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 Vg(),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,NI,this.triggers,this.showTriggers,A),this.$_registerTriggerListeners([this.$_popperNode],NI,this.popperTriggers,this.popperShowTriggers,A);const B=Q=>{Q.usedByTooltip||this.hide({event:Q})};this.$_registerTriggerListeners(this.$_targetNodes,GI,this.triggers,this.hideTriggers,B),this.$_registerTriggerListeners([this.$_popperNode],GI,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,vB?{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(QQ>=A.left&&QQ<=A.right&&gQ>=A.top&&gQ<=A.bottom){const B=this.$_popperNode.getBoundingClientRect(),Q=QQ-QB,g=gQ-gB,E=B.left+B.width/2-QB+(B.top+B.height/2)-gB+B.width+B.height,C=QB+Q*E,I=gB+g*E;return YQ(QB,gB,C,I,B.left,B.top,B.left,B.bottom)||YQ(QB,gB,C,I,B.left,B.top,B.right,B.top)||YQ(QB,gB,C,I,B.right,B.top,B.right,B.bottom)||YQ(QB,gB,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(qt){const A=vB?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",B=>yI(B),A),document.addEventListener("touchend",B=>HI(B,!0),A)}else window.addEventListener("mousedown",A=>yI(A),!0),window.addEventListener("click",A=>HI(A,!1),!0);window.addEventListener("resize",on)}function yI(A,B){for(let Q=0;Q<PA.length;Q++){const g=PA[Q];try{g.mouseDownContains=g.popperNode().contains(A.target)}catch{}}}function HI(A,B){en(A,B)}function en(A,B){const Q={};for(let g=PA.length-1;g>=0;g--){const E=PA[g];try{const C=E.containsGlobalTarget=E.mouseDownContains||E.popperNode().contains(A.target);E.pendingHide=!1,requestAnimationFrame(()=>{if(E.pendingHide=!1,!Q[E.randomId]&&RI(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&&RI(I,I.containsGlobalTarget,A);)I.$_handleGlobalClose(A,B),I=I.parentPopper}})}catch{}}}function RI(A,B,Q){return Q.closeAllPopover||Q.closePopover&&B||tn(A,Q)&&!B}function tn(A,B){if(typeof A.autoHide=="function"){const Q=A.autoHide(B);return A.lastAutoHide=Q,Q}return A.autoHide}function on(){for(let A=0;A<PA.length;A++)PA[A].$_computePosition()}let QB=0,gB=0,QQ=0,gQ=0;typeof window<"u"&&window.addEventListener("mousemove",A=>{QB=QQ,gB=gQ,QQ=A.clientX,gQ=A.clientY},vB?{passive:!0}:void 0);function YQ(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 wn={extends:Wt()},Pg=(A,B)=>{const Q=A.__vccOpts||A;for(const[g,E]of B)Q[g]=E;return Q};function Dn(A,B,Q,g,E,C){return p(),y("div",{ref:"reference",class:eA(["v-popper",{"v-popper--shown":A.slotData.isShown}])},[EA(A.$slots,"default",Ye(Se(A.slotData)))],2)}const sn=Pg(wn,[["render",Dn]]);function nn(){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 WQ;function FE(){FE.init||(FE.init=!0,WQ=nn()!==-1)}var Kg={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){FE(),wB(()=>{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",WQ&&this.$el.appendChild(A),A.data="about:blank",WQ||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&&(!WQ&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const an=Ke();lg("data-v-b329ee4c");const rn={class:"resize-observer",tabindex:"-1"};hg();const cn=an((A,B,Q,g,E,C)=>(p(),_("div",rn)));Kg.render=cn;Kg.__scopeId="data-v-b329ee4c";Kg.__file="src/components/ResizeObserver.vue";const Xt=(A="theme")=>({computed:{themeClass(){return In(this[A])}}}),ln=j({name:"VPopperContent",components:{ResizeObserver:Kg},mixins:[Xt()],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}}}),hn=["id","aria-hidden","tabindex","data-popper-placement"],un={ref:"inner",class:"v-popper__inner"},Mn=N("div",{class:"v-popper__arrow-outer"},null,-1),dn=N("div",{class:"v-popper__arrow-inner"},null,-1),pn=[Mn,dn];function Fn(A,B,Q,g,E,C){const I=YB("ResizeObserver");return p(),y("div",{id:A.popperId,ref:"popover",class:eA(["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:NA(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]=pw(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:NA(A.result?{transformOrigin:A.result.transformOrigin}:void 0)},[N("div",un,[A.mounted?(p(),y(FA,{key:0},[N("div",null,[EA(A.$slots,"default")]),A.handleResize?(p(),_(I,{key:0,onNotify:B[1]||(B[1]=e=>A.$emit("resize",e))})):z("",!0)],64)):z("",!0)],512),N("div",{ref:"arrow",class:"v-popper__arrow-container",style:NA(A.result?{left:A.toPx(A.result.arrow.x),top:A.toPx(A.result.arrow.y)}:void 0)},pn,4)],4)],46,hn)}const Zt=Pg(ln,[["render",Fn]]),Vt={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 NE=function(){};typeof window<"u"&&(NE=window.Element);const Nn=j({name:"VPopperWrapper",components:{Popper:sn,PopperContent:Zt},mixins:[Vt,Xt("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,NE,Boolean],default:void 0},boundary:{type:[String,NE],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 Gn(A,B,Q,g,E,C){const I=YB("PopperContent"),e=YB("Popper");return p(),_(e,LA({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:x(({popperId:t,isShown:o,shouldMountContent:D,skipTransition:w,autoHide:i,show:s,hide:a,handleResize:n,onResize:r,classes:M,result:l})=>[EA(A.$slots,"default",{shown:o,show:s,hide:a}),U(I,{ref:"popperContent","popper-id":t,theme:A.finalTheme,shown:o,mounted:D,"skip-transition":w,"auto-hide":i,"handle-resize":n,classes:M,result:l,onHide:a,onResize:r},{default:x(()=>[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 wC=Pg(Nn,[["render",Gn]]),fn={...wC,name:"VDropdown",vPopperTheme:"dropdown"};({...wC});({...wC});const kn=j({name:"VTooltipDirective",components:{Popper:Wt(),PopperContent:Zt},mixins:[Vt],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:A=>aQ(A.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:A=>aQ(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}}}),Ln=["innerHTML"],yn=["textContent"];function Hn(A,B,Q,g,E,C){const I=YB("PopperContent"),e=YB("Popper");return p(),_(e,LA({ref:"popper"},A.$attrs,{theme:A.theme,"target-nodes":A.targetNodes,"popper-node":()=>A.$refs.popperContent.$el,onApplyShow:A.onShow,onApplyHide:A.onHide}),{default:x(({popperId:t,isShown:o,shouldMountContent:D,skipTransition:w,autoHide:i,hide:s,handleResize:a,onResize:n,classes:r,result:M})=>[U(I,{ref:"popperContent",class:eA({"v-popper--tooltip-loading":A.loading}),"popper-id":t,theme:A.theme,shown:o,mounted:D,"skip-transition":w,"auto-hide":i,"handle-resize":a,classes:r,result:M,onHide:s,onResize:n},{default:x(()=>[A.html?(p(),y("div",{key:0,innerHTML:A.finalContent},null,8,Ln)):(p(),y("div",{key:1,textContent:GA(A.finalContent)},null,8,yn))]),_: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 Rn=Pg(kn,[["render",Hn]]),zt="v-popper--has-tooltip";function Un(A,B){let Q=A.placement;if(!Q&&B)for(const g of Tt)B[g]&&(Q=g);return Q||(Q=aQ(A.theme||"tooltip","placement")),Q}function _t(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=Un(g,Q),g.targetNodes=()=>[A],g.referenceNode=()=>A,g}let _g,rQ,Pn=0;function Kn(){if(_g)return;rQ=Y([]),_g=Kw({name:"VTooltipDirectiveApp",setup(){return{directives:rQ}},render(){return this.directives.map(B=>WE(Rn,{...B.options,shown:B.shown||B.options.shown,key:B.id}))},devtools:{hide:!0}});const A=document.createElement("div");document.body.appendChild(A),_g.mount(A)}function Yn(A,B,Q){Kn();const g=Y(_t(A,B,Q)),E=Y(!1),C={id:Pn++,options:g,shown:E};return rQ.value.push(C),A.classList&&A.classList.add(zt),A.$_popper={options:g,item:C,show(){E.value=!0},hide(){E.value=!1}}}function jt(A){if(A.$_popper){const B=rQ.value.indexOf(A.$_popper.item);B!==-1&&rQ.value.splice(B,1),delete A.$_popper,delete A.$_popperOldShown,delete A.$_popperMountTarget}A.classList&&A.classList.remove(zt)}function UI(A,{value:B,modifiers:Q}){const g=_t(A,B,Q);if(!g.content||aQ(g.theme||"tooltip","disabled"))jt(A);else{let E;A.$_popper?(E=A.$_popper,E.options.value=g):E=Yn(A,B,Q),typeof B.shown<"u"&&B.shown!==A.$_popperOldShown&&(A.$_popperOldShown=B.shown,B.shown?E.show():E.hide())}}const Sn={beforeMount:UI,updated:UI,beforeUnmount(A){jt(A)}};function PI(A){A.addEventListener("mousedown",Cg),A.addEventListener("click",Cg),A.addEventListener("touchstart",$t,vB?{passive:!0}:!1)}function KI(A){A.removeEventListener("mousedown",Cg),A.removeEventListener("click",Cg),A.removeEventListener("touchstart",$t),A.removeEventListener("touchend",Ao),A.removeEventListener("touchcancel",Bo)}function Cg(A){const B=A.currentTarget;A.closePopover=!B.$_vclosepopover_touch,A.closeAllPopover=B.$_closePopoverModifiers&&!!B.$_closePopoverModifiers.all}function $t(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",Ao),B.addEventListener("touchcancel",Bo)}}function Ao(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 Bo(A){const B=A.currentTarget;B.$_vclosepopover_touch=!1}const mn={beforeMount(A,{value:B,modifiers:Q}){A.$_closePopoverModifiers=Q,(typeof B>"u"||B)&&PI(A)},updated(A,{value:B,oldValue:Q,modifiers:g}){A.$_closePopoverModifiers=g,B!==Q&&(typeof B>"u"||B?PI(A):KI(A))},beforeUnmount(A){KI(A)}},yA=Sn,Jn=mn,vn=fn,On=(A,B)=>{const Q=A.__vccOpts||A;for(const[g,E]of B)Q[g]=E;return Q},xn={},bn={class:"h-3 w-3 $ui-inline-fcc"},qn=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),Tn=[qn];function Wn(A,B){return p(),y("div",bn,Tn)}const Qo=On(xn,[["render",Wn]]),Xn={key:2},pA=j({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=Fw(),C=J(()=>E.to?"router-link":E.href?"a":"button"),I=J(()=>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=Nw(),D=J(()=>Q.flat?t.flat[Q.type]:Q.outlined?t.outlined[Q.type]:t.normal[Q.type]);return(w,i)=>(p(),_(_Q(C.value),LA(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:x(()=>[w.loading?(p(),_(Qo,{key:0,class:"mt0.5 h-full w3"})):EA(w.$slots,"icon",{key:1,class:"h-full w3 $ui-inline-fcc"}),F(o).default?(p(),y("div",Xn,[EA(w.$slots,"default")])):z("",!0),EA(w.$slots,"icon-right")]),_:3},16,["aria-disabled","class"]))}}),cA=j({__name:"Icon",props:{icon:{},inline:{type:Boolean},action:{type:Boolean,default:!1}},setup(A){return(B,Q)=>(p(),_(_Q(B.inline?"span":"div"),{class:eA(["$ui-base",[B.icon,B.action?"cursor-pointer hover:op50":""]])},null,8,["class"]))}});function go(A){return Oe()?(xe(A),!0):!1}function Zn(A,B,{enumerable:Q=!1,unwrap:g=!0}={}){for(const[E,C]of Object.entries(B))E!=="value"&&(pQ(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 eB(A){return typeof A=="function"?A():F(A)}const Eo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Vn=A=>typeof A<"u",zn=Object.prototype.toString,_n=A=>zn.call(A)==="[object Object]",Ig=()=>{},YI=jn();function jn(){var A,B;return Eo&&((A=window?.navigator)==null?void 0:A.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((B=window?.navigator)==null?void 0:B.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function $n(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 Aa(A,B={}){let Q,g,E=Ig;const C=I=>{clearTimeout(I),E(),E=Ig};return I=>{const e=eB(A),t=eB(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 Ba(...A){if(A.length!==1)return Lw(...A);const B=A[0];return typeof B=="function"?be(ve(()=>({get:B,set:Ig}))):Y(B)}function Qa(A,B=200,Q={}){return $n(Aa(B,Q),A)}function ga(A,B=200,Q={}){const g=Y(A.value),E=Qa(()=>{g.value=A.value},B,Q);return rA(A,()=>E()),g}function Ea(A,B={}){let Q=A,g,E;const C=ve((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 i=Q;((D=B.onBeforeChange)==null?void 0:D.call(B,t,i))!==!1&&(Q=t,(w=B.onChanged)==null||w.call(B,t,i),o&&E())}return Zn(C,{get:I,set:e,untrackedGet:()=>I(!1),silentSet:t=>e(t,!1),peek:()=>I(!1),lay:t=>e(t,!1)},{enumerable:!0})}function Ca(A){var B;const Q=eB(A);return(B=Q?.$el)!=null?B:Q}const Co=Eo?window:void 0;function Io(...A){let B,Q,g,E;if(typeof A[0]=="string"||Array.isArray(A[0])?([Q,g,E]=A,B=Co):[B,Q,g,E]=A,!B)return Ig;Array.isArray(Q)||(Q=[Q]),Array.isArray(g)||(g=[g]);const C=[],I=()=>{C.forEach(D=>D()),C.length=0},e=(D,w,i,s)=>(D.addEventListener(w,i,s),()=>D.removeEventListener(w,i,s)),t=rA(()=>[Ca(B),eB(E)],([D,w])=>{if(I(),!D)return;const i=_n(w)?{...w}:w;C.push(...Q.flatMap(s=>g.map(a=>e(D,s,a,i))))},{immediate:!0,flush:"post"}),o=()=>{t(),I()};return go(o),o}function Ia(A){return typeof A=="function"?A:typeof A=="string"?B=>B.key===A:Array.isArray(A)?B=>A.includes(B.key):()=>!0}function ea(...A){let B,Q,g={};A.length===3?(B=A[0],Q=A[1],g=A[2]):A.length===2?typeof A[1]=="object"?(B=!0,Q=A[0],g=A[1]):(B=A[0],Q=A[1]):(B=!0,Q=A[0]);const{target:E=Co,eventName:C="keydown",passive:I=!1,dedupe:e=!1}=g,t=Ia(B);return Io(E,C,o=>{o.repeat&&eB(e)||t(o)&&Q(o)},I)}function ta(A){return JSON.parse(JSON.stringify(A))}function jg(A){return typeof Window<"u"&&A instanceof Window?A.document.documentElement:typeof Document<"u"&&A instanceof Document?A.documentElement:A}function eo(A){const B=window.getComputedStyle(A);if(B.overflowX==="scroll"||B.overflowY==="scroll"||B.overflowX==="auto"&&A.clientWidth<A.scrollWidth||B.overflowY==="auto"&&A.clientHeight<A.scrollHeight)return!0;{const Q=A.parentNode;return!Q||Q.tagName==="BODY"?!1:eo(Q)}}function oa(A){const B=A||window.event,Q=B.target;return eo(Q)?!1:B.touches.length>1?!0:(B.preventDefault&&B.preventDefault(),!1)}const $g=new WeakMap;function wa(A,B=!1){const Q=Y(B);let g=null,E="";rA(Ba(A),e=>{const t=jg(eB(e));if(t){const o=t;if($g.get(o)||$g.set(o,o.style.overflow),o.style.overflow!=="hidden"&&(E=o.style.overflow),o.style.overflow==="hidden")return Q.value=!0;if(Q.value)return o.style.overflow="hidden"}},{immediate:!0});const C=()=>{const e=jg(eB(A));!e||Q.value||(YI&&(g=Io(e,"touchmove",t=>{oa(t)},{passive:!1})),e.style.overflow="hidden",Q.value=!0)},I=()=>{const e=jg(eB(A));!e||!Q.value||(YI&&g?.(),e.style.overflow=E,$g.delete(e),Q.value=!1)};return go(I),J({get(){return Q.value},set(e){e?C():I()}})}function to(A,B,Q,g={}){var E,C,I;const{clone:e=!1,passive:t=!1,eventName:o,deep:D=!1,defaultValue:w,shouldEmit:i}=g,s=Mg(),a=Q||s?.emit||((E=s?.$emit)==null?void 0:E.bind(s))||((I=(C=s?.proxy)==null?void 0:C.$emit)==null?void 0:I.bind(s?.proxy));let n=o;n=n||`update:${B.toString()}`;const r=c=>e?typeof e=="function"?e(c):ta(c):c,M=()=>Vn(A[B])?r(A[B]):w,l=c=>{i?i(c)&&a(n,c):a(n,c)};if(t){const c=M(),u=Y(c);let d=!1;return rA(()=>A[B],k=>{d||(d=!0,u.value=r(k),wB(()=>d=!1))}),rA(u,k=>{!d&&(k!==A[B]||D)&&l(k)},{deep:D}),u}else return J({get(){return M()},set(c){l(c)}})}const Da=j({__name:"Overlay",props:{dim:{type:Boolean},blur:{type:Boolean},position:{default:"fixed"}},setup(A){return(B,Q)=>(p(),y("div",{class:eA(["left-0 top-0 $ui-z-max h-full w-full $ui-fcc transition-opacity transition-duration-300 $ui-bg-base",[B.dim?"bg-opacity-50!":"bg-opacity-0!",B.blur?"backdrop-blur-sm":"",B.position]])},[EA(B.$slots,"default")],2))}}),sa={class:"h7.5 w-full $ui-fbc"},ia={class:"text-4.5"},na=N("div",{class:"i-carbon-close"},null,-1),aa=[na],ra={class:"content transition-all transition-duration-300"},ca={class:"footer h8 w-full transition-all transition-duration-300 delay-250"},la={class:"$ui-fcc"},ha=j({__name:"Dialog",props:{modelValue:{type:Boolean,default:!1},autoClose:{type:Boolean,default:!0},title:{default:"Dialog"},width:{default:"32rem"},height:{default:"18rem"},closable:{type:Boolean,default:!0},mountTo:{default:"body"},dim:{type:Boolean},blur:{type:Boolean},position:{}},emits:["close","update:modelValue"],setup(A,{emit:B}){const Q=A,g=to(Q,"modelValue",B,{passive:!0}),E=wa(()=>window.document.documentElement);IQ(()=>{g.value?E.value=!0:E.value=!1});function C(){g.value&&Q.autoClose&&(g.value=!1)}ea("Escape",()=>{C()});const I=Y(!1);return ug(()=>I.value=!0),(e,t)=>I.value||e.mountTo==="body"?(p(),_(fw,{key:0,to:e.mountTo},[U(Gw,{"enter-from-class":"opacity-0 [&_.modal]:scale-95 [&_.content,&_.footer]:translate-y--2.5 [&_.content,&_.footer]:opacity-0","enter-to-class":"opacity-100 [&_.modal]:scale-100","leave-from-class":"opacity-100 [&_.modal]:scale-100","leave-to-class":"opacity-0 [&_.modal]:scale-95"},{default:x(()=>[F(g)?(p(),_(Da,{key:0,dim:e.dim,blur:e.blur,position:e.position},{default:x(()=>[N("div",{class:"modal relative grid grid-rows-[1.875rem_1fr_2.5rem] $ui-base max-h-[calc(100vh-6.25rem)] max-w-[calc(100vw-6.25rem)] min-h-6.25rem min-w-12.5rem gap-2.5 rounded-md bg-white px6 py4.5 color-gray-800 shadow-2xl transition-transform transition-duration-300 dark:bg-gray-900 dark:color-gray-200",style:NA({width:Q.width,height:Q.height})},[N("div",sa,[N("div",ia,[EA(e.$slots,"title",{},()=>[RA(GA(Q.title),1)])]),e.closable?(p(),y("div",{key:0,class:"h6 w6 $ui-fcc cursor-pointer rounded-full transition-colors hover:bg-primary-100 dark:hover:bg-gray-700",onClick:C},aa)):z("",!0)]),N("div",ra,[EA(e.$slots,"default")]),N("div",ca,[EA(e.$slots,"footer",{},()=>[EA(e.$slots,"footer",{},()=>[N("div",la,[U(pA,{type:"primary",onClick:C},{default:x(()=>[RA(" close ")]),_:1})])])])])],4)]),_:3},8,["dim","blur","position"])):z("",!0)]),_:3})],8,["to"])):z("",!0)}}),ua=["type","placeholder","disabled"],Ma={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"},AE="transition-colors $ui-fcc color-gray-500 dark:color-gray-300 group-[&.focused]:color-primary-500; group-[&.accent.focused]:color-accent-500",GE=j({__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=to(Q,"modelValue",g),C=ga(J(()=>Q.loading),Q.loadingDebounceTime),I=Ea(!1,{onChanged(w){g("updateFocused",w)}}),e=J(()=>Q.variant==="flat"||Q.variant==="warning"||Q.disabled||Q.readonly),t=J(()=>Q.disabled||C.value),o=Y();let D=!1;return IQ(()=>{C.value&&I.value?D=!0:!C.value&&D&&(D=!1,wB(()=>{I.value=!0}))}),ug(()=>{Q.autoFocus&&(I.value=!0)}),IQ(()=>{var w;I.value&&((w=o.value)==null||w.focus())}),(w,i)=>(p(),y("div",{class:eA(["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:i[2]||(i[2]=()=>{I.value=!0})},[w.leftIcon?(p(),y("div",{key:0,class:eA(AE)},[U(cA,{icon:w.leftIcon},null,8,["icon"])])):z("",!0),uA(N("input",{ref_key:"inputRef",ref:o,"onUpdate:modelValue":i[0]||(i[0]=s=>pQ(E)?E.value=s: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:i[1]||(i[1]=s=>I.value=!1)},null,40,ua),[[kw,F(E)]]),F(C)?(p(),y("div",{key:1,class:eA(AE)},[U(Qo)])):w.rightIcon?(p(),y("div",{key:2,class:eA(AE)},[U(cA,{icon:w.rightIcon},null,8,["icon"])])):z("",!0),e.value?z("",!0):(p(),y("div",Ma))],2))}}),da={class:"overflow-hidden rounded-lg shadow-lg"},pa=N("div",{class:"p2 opacity-40"}," Empty... ",-1),Fa=j({__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 KB("$ui-dropdown-disabled",J(()=>B.disabled)),(Q,g)=>(p(),_(F(vn),{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:x(({hide:E})=>[N("div",da,[EA(Q.$slots,"popper",Ye(Se({hide:E})),()=>[pa])])]),default:x(()=>[EA(Q.$slots,"default",{},()=>[U(pA,LA({...Q.buttonProps,disabled:Q.disabled},{class:Q.buttonClass}),Yw({icon:x(()=>[EA(Q.$slots,"button-icon")]),"icon-right":x(()=>[EA(Q.$slots,"button-icon-right")]),_:2},[Q.label?{name:"default",fn:x(()=>[RA(GA(Q.label),1)]),key:"0"}:void 0]),1040,["class"])])]),_:3},8,["disabled","shown","triggers","distance","placement","skidding"]))}}),SI=j({__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=MB("$ui-dropdown-disabled",void 0);return(g,E)=>uA((p(),_(pA,LA({...B,round:!1},{disabled:F(Q),class:"w-full justify-start transition-colors not-action:bg-transparent!"}),{icon:x(()=>[EA(g.$slots,"icon")]),default:x(()=>[EA(g.$slots,"default")]),_:3},16,["disabled"])),[[F(Jn)]])}});function DC(A){return Oe()?(xe(A),!0):!1}function WA(A){return typeof A=="function"?A():F(A)}const sC=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Na=A=>typeof A<"u",Ga=Object.prototype.toString,fa=A=>Ga.call(A)==="[object Object]",eg=()=>{};function ka(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 La=A=>A();function ya(A,B={}){let Q,g,E=eg;const C=I=>{clearTimeout(I),E(),E=eg};return I=>{const e=WA(A),t=WA(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 Ha(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 Ra(A){return Mg()}function Ua(A,B,Q={}){const{eventFilter:g=La,...E}=Q;return rA(A,ka(g,B),E)}function Pa(A,B=!0,Q){Ra()?ug(A,Q):B?A():wB(A)}function Ka(A,B,Q={}){const{immediate:g=!0}=Q,E=Y(!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)},WA(B))}return g&&(E.value=!0,sC&&t()),DC(e),{isPending:be(E),start:t,stop:e}}function Ya(A=!1,B={}){const{truthyValue:Q=!0,falsyValue:g=!1}=B,E=pQ(A),C=Y(A);function I(e){if(arguments.length)return C.value=e,C.value;{const t=WA(Q);return C.value=C.value===t?WA(g):t,C.value}}return E?I:[C,I]}function Sa(A,B,Q={}){const{debounce:g=0,maxWait:E=void 0,...C}=Q;return Ua(A,B,{...C,eventFilter:ya(g,{maxWait:E})})}function rB(A){var B;const Q=WA(A);return(B=Q?.$el)!=null?B:Q}const Yg=sC?window:void 0,oo=sC?window.navigator:void 0;function EB(...A){let B,Q,g,E;if(typeof A[0]=="string"||Array.isArray(A[0])?([Q,g,E]=A,B=Yg):[B,Q,g,E]=A,!B)return eg;Array.isArray(Q)||(Q=[Q]),Array.isArray(g)||(g=[g]);const C=[],I=()=>{C.forEach(D=>D()),C.length=0},e=(D,w,i,s)=>(D.addEventListener(w,i,s),()=>D.removeEventListener(w,i,s)),t=rA(()=>[rB(B),WA(E)],([D,w])=>{if(I(),!D)return;const i=fa(w)?{...w}:w;C.push(...Q.flatMap(s=>g.map(a=>e(D,s,a,i))))},{immediate:!0,flush:"post"}),o=()=>{t(),I()};return DC(o),o}function ma(){const A=Y(!1),B=Mg();return B&&ug(()=>{A.value=!0},B),A}function iC(A){const B=ma();return J(()=>(B.value,!!A()))}function mI(A,B={}){const{controls:Q=!1,navigator:g=oo}=B,E=iC(()=>g&&"permissions"in g);let C;const I=typeof A=="string"?{name:A}:A,e=Y(),t=()=>{C&&(e.value=C.state)},o=Ha(async()=>{if(E.value){if(!C)try{C=await g.permissions.query(I),EB(C,"change",t),t()}catch{e.value="prompt"}return C}});return o(),Q?{state:e,isSupported:E,query:o}:e}function Ja(A={}){const{navigator:B=oo,read:Q=!1,source:g,copiedDuring:E=1500,legacy:C=!1}=A,I=iC(()=>B&&"clipboard"in B),e=mI("clipboard-read"),t=mI("clipboard-write"),o=J(()=>I.value||C),D=Y(""),w=Y(!1),i=Ka(()=>w.value=!1,E);function s(){I.value&&M(e.value)?B.clipboard.readText().then(l=>{D.value=l}):D.value=r()}o.value&&Q&&EB(["copy","cut"],s);async function a(l=WA(g)){o.value&&l!=null&&(I.value&&M(t.value)?await B.clipboard.writeText(l):n(l),D.value=l,w.value=!0,i.start())}function n(l){const c=document.createElement("textarea");c.value=l??"",c.style.position="absolute",c.style.opacity="0",document.body.appendChild(c),c.select(),document.execCommand("copy"),c.remove()}function r(){var l,c,u;return(u=(c=(l=document?.getSelection)==null?void 0:l.call(document))==null?void 0:c.toString())!=null?u:""}function M(l){return l==="granted"||l==="prompt"}return{isSupported:o,text:D,copied:w,copy:a}}function va(A){return JSON.parse(JSON.stringify(A))}function Oa(A,B,Q={}){const{window:g=Yg,...E}=Q;let C;const I=iC(()=>g&&"ResizeObserver"in g),e=()=>{C&&(C.disconnect(),C=void 0)},t=J(()=>Array.isArray(A)?A.map(w=>rB(w)):[rB(A)]),o=rA(t,w=>{if(e(),I.value&&g){C=new ResizeObserver(B);for(const i of w)i&&C.observe(i,E)}},{immediate:!0,flush:"post"}),D=()=>{e(),o()};return DC(D),{isSupported:I,stop:D}}function xa(A,B={width:0,height:0},Q={}){const{window:g=Yg,box:E="content-box"}=Q,C=J(()=>{var w,i;return(i=(w=rB(A))==null?void 0:w.namespaceURI)==null?void 0:i.includes("svg")}),I=Y(B.width),e=Y(B.height),{stop:t}=Oa(A,([w])=>{const i=E==="border-box"?w.borderBoxSize:E==="content-box"?w.contentBoxSize:w.devicePixelContentBoxSize;if(g&&C.value){const s=rB(A);if(s){const a=s.getBoundingClientRect();I.value=a.width,e.value=a.height}}else if(i){const s=Array.isArray(i)?i:[i];I.value=s.reduce((a,{inlineSize:n})=>a+n,0),e.value=s.reduce((a,{blockSize:n})=>a+n,0)}else I.value=w.contentRect.width,e.value=w.contentRect.height},Q);Pa(()=>{const w=rB(A);w&&(I.value="offsetWidth"in w?w.offsetWidth:B.width,e.value="offsetHeight"in w?w.offsetHeight:B.height)});const o=rA(()=>rB(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 ba={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function qa(A={}){const{reactive:B=!1,target:Q=Yg,aliasMap:g=ba,passive:E=!0,onEventFired:C=eg}=A,I=UC(new Set),e={toJSON(){return{}},current:I},t=B?UC(e):e,o=new Set,D=new Set;function w(n,r){n in t&&(B?t[n]=r:t[n].value=r)}function i(){I.clear();for(const n of D)w(n,!1)}function s(n,r){var M,l;const c=(M=n.key)==null?void 0:M.toLowerCase(),u=[(l=n.code)==null?void 0:l.toLowerCase(),c].filter(Boolean);c&&(r?I.add(c):I.delete(c));for(const d of u)D.add(d),w(d,r);c==="meta"&&!r?(o.forEach(d=>{I.delete(d),w(d,!1)}),o.clear()):typeof n.getModifierState=="function"&&n.getModifierState("Meta")&&r&&[...I,...u].forEach(d=>o.add(d))}EB(Q,"keydown",n=>(s(n,!0),C(n)),{passive:E}),EB(Q,"keyup",n=>(s(n,!1),C(n)),{passive:E}),EB("blur",i,{passive:!0}),EB("focus",i,{passive:!0});const a=new Proxy(t,{get(n,r,M){if(typeof r!="string")return Reflect.get(n,r,M);if(r=r.toLowerCase(),r in g&&(r=g[r]),!(r in t))if(/[+_-]/.test(r)){const c=r.split(/[+_-]/g).map(u=>u.trim());t[r]=J(()=>c.every(u=>WA(a[u])))}else t[r]=Y(!1);const l=Reflect.get(n,r,M);return B?WA(l):l}});return a}function Ta(A,B,Q,g={}){var E,C,I;const{clone:e=!1,passive:t=!1,eventName:o,deep:D=!1,defaultValue:w,shouldEmit:i}=g,s=Mg(),a=Q||s?.emit||((E=s?.$emit)==null?void 0:E.bind(s))||((I=(C=s?.proxy)==null?void 0:C.$emit)==null?void 0:I.bind(s?.proxy));let n=o;n=n||`update:${B.toString()}`;const r=c=>e?typeof e=="function"?e(c):va(c):c,M=()=>Na(A[B])?r(A[B]):w,l=c=>{i?i(c)&&a(n,c):a(n,c)};if(t){const c=M(),u=Y(c);let d=!1;return rA(()=>A[B],k=>{d||(d=!0,u.value=r(k),wB(()=>d=!1))}),rA(u,k=>{!d&&(k!==A[B]||D)&&l(k)},{deep:D}),u}else return J({get(){return M()},set(c){l(c)}})}const wo=Symbol("StateEditorSymbol");function Wa(A){const B=Y(A);return KB(wo,B),{context:B}}function nC(){return MB(wo)}function Xa(){const A=Y(""),B=Y("string"),Q=Y(!1),g=nC();return{editingText:A,editing:Q,toggleEditing(E){E&&(B.value=E),Q.value=!Q.value},editingType:B,nodeId:J(()=>g.value.nodeId)}}function Za(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 Va(){const A=Y({enable:!1,key:"",value:"undefined"});function B(g,E){const C=Za(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 za={class:"flex pl5px"},_a={class:"w160px py5px"},ja=j({__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=nC(),{copy:g,isSupported:E}=Ja(),C=Y(!1),I=J(()=>IC(B.data.value)),e=J(()=>I.value.value),t=J(()=>I.value.customType),o=J(()=>e.value===null?"null":typeof e.value),D={flat:!0,size:"mini"},w=J(()=>({"opacity-0":!B.hovering}));async function i(a,n=!1){await gA.value.editInspectorState({path:B.data.path||[B.data.key],inspectorId:Q.value.inspectorId,type:B.data.stateType,nodeId:Q.value.nodeId,state:{newKey:null,value:Sw(a),type:o.value,remove:n}}),await gA.value.sendInspectorState(Q.value.inspectorId)}function s(a,n){const r=typeof a=="number"?a+n:BigInt(a)+BigInt(n);i(r)}return(a,n)=>(p(),y("div",za,[!B.disableEdit&&a.data.editable?(p(),y(FA,{key:0},[o.value==="string"||o.value==="number"||o.value==="object"||o.value==="null"?(p(),y(FA,{key:0},[uA((p(),_(F(pA),LA(D,{class:w.value,onClick:n[0]||(n[0]=VA(r=>a.$emit("enableEditInput",o.value),["stop"]))}),{icon:x(()=>[U(F(cA),{icon:"i-material-symbols-edit-rounded"})]),_:1},16,["class"])),[[F(yA),{content:"Edit value"}]]),o.value==="object"&&a.showAddIfNeeded?uA((p(),_(F(pA),LA({key:0},D,{class:w.value,onClick:n[1]||(n[1]=VA(r=>a.$emit("addNewProp",Array.isArray(e.value)?"array":"object"),["stop"]))}),{icon:x(()=>[U(F(cA),{icon:"i-material-symbols-add-circle-rounded"})]),_:1},16,["class"])),[[F(yA),{content:"Add new value"}]]):z("",!0)],64)):z("",!0),o.value==="boolean"?(p(),_(F(pA),LA({key:1},D,{class:w.value,onClick:n[2]||(n[2]=r=>i(!e.value))}),{icon:x(()=>[U(F(cA),{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"?(p(),y(FA,{key:2},[U(F(pA),LA(D,{class:w.value,onClick:n[3]||(n[3]=VA(r=>s(e.value,1),["stop"]))}),{icon:x(()=>[U(F(cA),{icon:"i-carbon-add"})]),_:1},16,["class"]),U(F(pA),LA(D,{class:w.value,onClick:n[4]||(n[4]=VA(r=>s(e.value,-1),["stop"]))}),{icon:x(()=>[U(F(cA),{icon:"i-carbon-subtract"})]),_:1},16,["class"])],64)):z("",!0)],64)):z("",!0),!B.disableEdit&&a.depth>0&&a.data.editable?(p(),_(F(pA),LA({key:1},D,{class:w.value,onClick:n[5]||(n[5]=VA(r=>i(e.value,!0),["stop"]))}),{icon:x(()=>[U(F(cA),{icon:"i-material-symbols-delete-rounded"})]),_:1},16,["class"])):z("",!0),U(F(Fa),{class:eA({"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:x(()=>[N("div",_a,[U(F(SI),{onClick:n[6]||(n[6]=r=>F(g)(typeof e.value=="object"?JSON.stringify(e.value):e.value.toString()))},{icon:x(()=>[U(F(cA),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),RA(" Copy Value ")]),_:1}),U(F(SI),{onClick:n[7]||(n[7]=()=>{F(g)(a.data.key)})},{icon:x(()=>[U(F(cA),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),RA(" Copy Path ")]),_:1})])]),"button-icon":x(()=>[U(F(cA),{icon:"i-material-symbols:more-vert"})]),_:1},8,["class","disabled"])]))}}),$a={class:"flex-inline items-center gap4px"},BE=j({__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=J(()=>Q.customType==="date"?"datetime-local":""),{escape:C,enter:I}=qa();IQ(()=>{C.value?g("cancel"):I.value&&g("submit")});const e=Ta(Q,"modelValue",g);function t(D){try{return TQ(D,Q.customType),!0}catch{return!1}}const o=Y(!1);return rA(e,NQ(()=>{o.value=!t(e.value)},300)),(D,w)=>(p(),y("span",$a,[U(F(GE),{modelValue:F(e),"onUpdate:modelValue":w[0]||(w[0]=i=>pQ(e)?e.value=i:null),type:E.value,variant:o.value?"warning":"normal",class:eA(["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?(p(),y(FA,{key:0},[uA((p(),_(F(pA),{size:"mini",flat:"",class:"p2px!",onClick:w[2]||(w[2]=VA(i=>D.$emit("cancel"),["stop"]))},{icon:x(()=>[U(F(cA),{icon:"i-material-symbols-cancel"})]),_:1})),[[F(yA),{content:"Esc to cancel"}]]),o.value?uA((p(),_(F(cA),{key:1,icon:"i-material-symbols-warning",class:"color-warning-500 dark:color-warning-300"},null,512)),[[F(yA),{content:"Invalid value"}]]):uA((p(),_(F(pA),{key:0,size:"mini",flat:"",class:"p2px!",onClick:w[3]||(w[3]=VA(i=>D.$emit("submit"),["stop"]))},{icon:x(()=>[U(F(cA),{icon:"i-material-symbols-save"})]),_:1})),[[F(yA),{content:"Enter to submit change"}]])],64)):z("",!0)]))}}),aC=j({__name:"ToggleExpanded",props:{value:{type:Boolean}},setup(A){return(B,Q)=>(p(),y("i",{class:eA(["i-radix-icons:triangle-right flex-none text-4 op-50 transition-base",{"transform rotate-90":B.value}])},null,2))}}),Do="expanded-state";function cQ(A=""){const B=Y([]);return KB(`${Do}-${A}`,B),{expanded:B}}function rC(A=""){const B=MB(`${Do}-${A}`,Y([]));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 Ar(A,B={}){const{enter:Q=()=>{},leave:g=()=>{},initial:E=!1}=B,C=Y(E);return EB(A,"mouseenter",()=>{C.value=!0,Q()}),EB(A,"mouseleave",()=>{C.value=!1,g()}),{isHovering:C}}const so=A=>(lg("data-v-4631f32d"),A=A(),hg(),A),Br={key:1,pl5:""},Qr={op70:"",class:"whitespace-nowrap"},gr=so(()=>N("span",{mx1:""},":",-1)),Er=["innerHTML"],Cr={key:0},Ir={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},er=so(()=>N("span",{"mx-1":""},":",-1)),JI=30,tr=j({__name:"StateFieldViewer",props:{data:{},depth:{},index:{},expandedStateId:{}},setup(A){const B=A,Q=Y(JI),g=J(()=>ft(B.data.value,!1,{customClass:{string:"max-w-120 truncate"}})),E=J(()=>DQ(B.data.value)),C=J(()=>IC(B.data.value)),{expanded:I,toggleExpanded:e}=rC(B.expandedStateId??""),t=J(()=>{var L;return E.value==="custom"?`${((L=B.data.value._custom)==null?void 0:L.type)??"string"}-custom-state`:""}),o=J(()=>{const{value:L}=C.value;return YC(L)?L.length:KC(L)?Object.keys(L).length:0}),D=J(()=>B.data.path||[B.data.key]),w=J(()=>D.value[D.value.length-1]),i=J(()=>{var L,O,T,R,IA,CA,MA;const fA=["Reactive"],DA=((O=(L=B.data)==null?void 0:L._custom)==null?void 0:O.stateTypeName)||((T=B.data)==null?void 0:T.stateTypeName);if(fA.includes(DA))return DA;if((IA=(R=B.data.value)==null?void 0:R.fields)!=null&&IA.abstract)return"";{const JA=(MA=(CA=B.data.value)==null?void 0:CA._custom)==null?void 0:MA.type,BB=E.value==="custom"&&!JA?`"${g.value}"`:g.value===""?'""':g.value,DB=E.value==="custom"&&JA==="ref"?DQ(BB):E.value,HQ=E.value==="string"?"select-text":"",RQ=`<span class="${DB}-state-type flex whitespace-nowrap ${HQ}">${BB}</span>`;return DA?`${RQ} <span class="text-gray-500">(${DA})</span>`:RQ}}),s=J(()=>{const{value:L,inherit:O,customType:T}=C.value,R=T==="set";let IA=[];return YC(L)?L.slice(0,Q.value).map((CA,MA)=>({key:MA.toString(),path:[...D.value,MA.toString()],value:CA,...O,editable:B.data.editable&&!R,creating:!1})):(KC(L)&&(IA=Object.keys(L).slice(0,Q.value).map(CA=>({key:CA,path:[...D.value,CA],value:L[CA],...O,editable:B.data.editable&&!R,creating:!1})),E.value!=="custom"&&(IA=We(IA))),IA===B.data.value?[]:IA)}),a=J(()=>s.value.length>0),n=Y(),r=nC(),{isHovering:M}=Ar(()=>n.value),{editingType:l,editing:c,editingText:u,toggleEditing:d,nodeId:k}=Xa();rA(()=>c.value,L=>{if(L){const{value:O}=C.value;u.value=Mi(O,C.value.customType)}else u.value=""});async function S(){const L=B.data;await gA.value.editInspectorState({path:D.value,inspectorId:r.value.inspectorId,type:L.stateType,nodeId:k.value,state:{newKey:null,type:l.value,value:TQ(u.value,C.value.customType)}}),await gA.value.sendInspectorState(r.value.inspectorId),d()}const{addNewProp:m,draftingNewProp:b,resetDrafting:K}=Va();function Z(L){const O=`${B.depth}-${B.index}`;I.value.includes(O)||e(O),m(L,C.value.value)}async function q(){const L=B.data;await gA.value.editInspectorState({path:[...D.value,b.value.key],inspectorId:r.value.inspectorId,type:L.stateType,nodeId:k.value,state:{newKey:b.value.key,type:typeof TQ(b.value.value),value:TQ(b.value.value)}}),await gA.value.sendInspectorState(r.value.inspectorId),K()}return(L,O)=>(p(),y("div",null,[N("div",{ref_key:"containerRef",ref:n,class:eA(["font-state-field flex items-center text-13px",[a.value&&"cursor-pointer hover:bg-active"]]),style:NA({paddingLeft:`${L.depth*15+4}px`}),onClick:O[1]||(O[1]=T=>F(e)(`${L.depth}-${L.index}`))},[a.value?(p(),_(aC,{key:0,value:F(I).includes(`${L.depth}-${L.index}`)},null,8,["value"])):(p(),y("span",Br)),N("span",Qr,GA(w.value),1),gr,F(c)?(p(),_(BE,{key:2,modelValue:F(u),"onUpdate:modelValue":O[0]||(O[0]=T=>pQ(u)?u.value=T:null),"custom-type":C.value.customType,onCancel:F(d),onSubmit:S},null,8,["modelValue","custom-type","onCancel"])):z("",!0),N("span",{class:eA([t.value,"flex whitespace-nowrap"])},[N("span",{class:"flex",innerHTML:i.value},null,8,Er)],2),U(ja,{hovering:F(M),"disable-edit":F(r).disableEdit,data:L.data,depth:L.depth,onEnableEditInput:F(d),onAddNewProp:Z},null,8,["hovering","disable-edit","data","depth","onEnableEditInput"])],6),a.value&&F(I).includes(`${L.depth}-${L.index}`)?(p(),y("div",Cr,[U(io,{data:s.value,depth:L.depth,index:L.index},null,8,["data","depth","index"]),o.value>Q.value?uA((p(),_(F(pA),{key:0,flat:"",size:"mini",class:"ml-4",onClick:O[2]||(O[2]=T=>Q.value+=JI)},{icon:x(()=>[U(F(cA),{icon:"i-material-symbols-more-horiz"})]),_:1})),[[F(yA),"Show more"]]):z("",!0),F(b).enable?(p(),y("div",{key:1,style:NA({paddingLeft:`${(L.depth+1)*15+4}px`})},[N("span",Ir,[U(BE,{modelValue:F(b).key,"onUpdate:modelValue":O[3]||(O[3]=T=>F(b).key=T),"show-actions":!1},null,8,["modelValue"])]),er,U(BE,{modelValue:F(b).value,"onUpdate:modelValue":O[4]||(O[4]=T=>F(b).value=T),"auto-focus":!1,onCancel:F(K),onSubmit:q},null,8,["modelValue","onCancel"])],4)):z("",!0)])):z("",!0)]))}}),or=dg(tr,[["__scopeId","data-v-4631f32d"]]),io=j({__name:"ChildStateViewer",props:{data:{},depth:{default:0},index:{},expandedStateId:{default:""}},setup(A){return(B,Q)=>(p(),y("div",null,[(p(!0),y(FA,null,dB(B.data,(g,E)=>(p(),y("div",{key:E},[U(or,{data:g,depth:B.depth+1,index:`${B.index}-${E}`,"expanded-state-id":B.expandedStateId},null,8,["data","depth","index","expanded-state-id"])]))),128))]))}}),wr=["onClick"],Dr={key:1,pl5:""},sr={"font-state-field":"","text-13px":""},ir={key:0},cC=j({__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}=Wa(Q());IQ(()=>{g.value=Q()});const{expanded:E,toggleExpanded:C}=rC(B.expandedStateId);return(I,e)=>(p(),y("div",null,[(p(!0),y(FA,null,dB(I.data,(t,o,D)=>(p(),y("div",{key:D},[N("div",{class:eA(["flex items-center",[t?.length&&"cursor-pointer hover:bg-active"]]),onClick:w=>F(C)(`${D}`)},[t!=null&&t.length?(p(),_(aC,{key:0,value:F(E).includes(`${D}`)},null,8,["value"])):(p(),y("span",Dr)),N("span",sr,GA(o),1)],10,wr),t!=null&&t.length&&F(E).includes(`${D}`)?(p(),y("div",ir,[U(io,{data:t,index:`${D}`,"expanded-state-id":I.expandedStateId},null,8,["data","index","expanded-state-id"])])):z("",!0)]))),128))]))}});function nr(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 ar(A,B){const Q=new Map,g=ao(A,B.toLowerCase(),Q,0);return Q.clear(),g}const no=10;function ao(A,B,Q,g){if(g>no)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=ro(B,I,e,Q,g+1),!E);t++);return E}function ro(A,B,Q,g,E){let C=!1,I;return B==="_custom"&&(B=Q.display,Q=Q.value),(I=rr(Q))&&(Q=I),B&&vI(B,A)?(C=!0,g.set(Q,!0)):g.has(Q)?C=g.get(Q):Array.isArray(Q)?(g.set(Q,null),C=cr(Q,A,g,E),g.set(Q,C)):wt(Q)?(g.set(Q,null),C=ao(Q,A,g,E),g.set(Q,C)):vI(Q,A)&&(C=!0,g.set(Q,!0)),C}function vI(A,B){return`${A}`.toLowerCase().includes(B)}function rr(A){return A===null?"null":A===Ng?"undefined":A===kg?"NaN":A===Gg?"Infinity":A===fg?"-Infinity":!1}function cr(A,B,Q,g){if(g>no)return!1;let E=!1,C;for(let I=0;I<A.length&&(C=A[I],E=ro(B,null,C,Q,g+1),!E);I++);return E}function OI(A){return A.toString(16).padStart(6,"0")}const lr=j({__name:"NodeTag",props:{tag:{}},setup(A){return(B,Q)=>uA((p(),y("span",{style:NA({color:`#${F(OI)(B.tag.textColor)}`,backgroundColor:`#${F(OI)(B.tag.backgroundColor)}`}),class:"ml-2 rounded-sm px-1 text-[0.75rem] leading-snug"},[RA(GA(B.tag.label),1)],4)),[[F(yA),{content:B.tag.tooltip,html:!0}]])}}),co=Symbol("SelectedSymbolKey");function hr(){const A=Y("");return KB(co,A),{selected:A}}function ur(){const A=MB(co,Y(""));function B(Q){A.value=Q}return{selected:A,select:B}}const Mr=["onClick","onDblclick"],dr={key:1,pl5:""},pr={"font-state-field":"","text-13px":""},Fr={key:0,class:"text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"},Nr={"group-hover:text-white":"",class:"ws-nowrap [.active_&]:text-white"},Gr={key:1,class:"text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"},fr={key:0},lC=j({__name:"TreeViewer",props:me({data:{},depth:{default:0},withTag:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(A){const B=Je(A,"modelValue"),{expanded:Q,toggleExpanded:g}=rC();ur();function E(I){return"name"in I&&I?.name||"label"in I&&I.label}function C(I){B.value=I}return(I,e)=>(p(!0),y(FA,null,dB(I.data,(t,o)=>{var D,w;return p(),y("div",{key:o,class:eA({"min-w-max":I.depth===0})},[N("div",{class:eA(["group flex cursor-pointer items-center rounded-1 hover:bg-primary-300 hover:dark:bg-gray-600",{"bg-primary-600! active":B.value===t.id}]),style:NA({paddingLeft:`${15*I.depth+4}px`}),onClick:i=>C(t.id),onDblclick:i=>F(g)(t.id)},[(D=t?.children)!=null&&D.length?(p(),_(aC,{key:0,value:F(Q).includes(t.id),class:"[.active_&]:op20 group-hover:op20",onClick:VA(i=>F(g)(t.id),["stop"])},null,8,["value","onClick"])):(p(),y("span",dr)),N("span",pr,[I.withTag?(p(),y("span",Fr,"<")):z("",!0),N("span",Nr,GA(E(t)),1),I.withTag?(p(),y("span",Gr,">")):z("",!0)]),(p(!0),y(FA,null,dB(t.tags,(i,s)=>(p(),_(lr,{key:s,tag:i},null,8,["tag"]))),128))],46,Mr),(w=t?.children)!=null&&w.length&&F(Q).includes(t.id)?(p(),y("div",fr,[U(lC,{modelValue:B.value,"onUpdate:modelValue":e[0]||(e[0]=i=>B.value=i),data:t?.children,depth:I.depth+1,"with-tag":I.withTag},null,8,["modelValue","data","depth","with-tag"])])):z("",!0)],2)}),128))}}),kr={class:"h-full flex flex-col"},Lr={"h-full":"","select-none":"","overflow-scroll":"",p2:"",class:"no-scrollbar"},yr={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},XB="pinia",Hr=j({__name:"Index",setup(A){const{expanded:B}=cQ(),{expanded:Q}=cQ("pinia-store-state"),g=Y(""),E=Y([]),C=J(()=>{var l,c;return(l=E.value)!=null&&l.length?D((c=E.value)==null?void 0:c[0]):[]}),I=J(()=>i(E.value)),e=J(()=>I.value.map(l=>l.id)),t=Y({}),o=J(()=>{var l,c;return!((l=t.value.state)!=null&&l.length)&&!((c=t.value.getters)!=null&&c.length)});function D(l,c=[],u=[]){var d;return c.push(l.id),((d=l.children)==null?void 0:d.length)===0&&u.push([...c]),Array.isArray(l.children)&&l.children.forEach(k=>{D(k,c,u)}),c.pop(),u}function w(l,c){const u=[];return l?.forEach(d=>{u.push(...d.slice(0,c+1))}),[...new Set(u)]}function i(l){const c=[],u=d=>{d?.forEach(k=>{var S;c.push(k),(S=k.children)!=null&&S.length&&u(k.children)})};return u(l),c}function s(l){var c;for(const u in l)(c=l[u])!=null&&c.length||delete l[u];return l}function a(l){gA.value.getInspectorState({inspectorId:XB,nodeId:l}).then(c=>{const u=zA(c);u&&(t.value=s(u),Q.value=Array.from({length:Object.keys(t.value).length},(d,k)=>`${k}`))})}function n(){t.value={}}rA(g,()=>{n(),a(g.value)}),gA.value.getInspectorTree({inspectorId:XB,filter:""}).then(l=>{const c=zA(l);E.value=c,!g.value&&c.length&&(g.value=c[0].id,a(c[0].id),B.value=w(C.value,1))});function r(l){const c=zA(l);c.inspectorId!==XB||!c.rootNodes.length||(E.value=c.rootNodes,e.value.includes(g.value)||(g.value=c.rootNodes[0].id,B.value=w(C.value,1),a(c.rootNodes[0].id)))}function M(l){const c=zA(l);if(c.inspectorId!==XB)return;const u=c.state;t.value=s({state:u.state,getters:u.getters})}return gA.functions.on(KA.INSPECTOR_TREE_UPDATED,r),gA.functions.on(KA.INSPECTOR_STATE_UPDATED,M),XE(()=>{gA.functions.off(KA.INSPECTOR_TREE_UPDATED,r),gA.functions.off(KA.INSPECTOR_STATE_UPDATED,M)}),(l,c)=>(p(),y("div",kr,[U(Ht,{"doc-link":"https://pinia.vuejs.org/","github-repo-link":"https://github.com/vuejs/pinia"},{default:x(()=>[U(yt)]),_:1}),U(F(zE),{class:"flex-1 overflow-auto"},{default:x(()=>[U(F(SB),{border:"r base",size:"40","h-full":""},{default:x(()=>[N("div",Lr,[U(lC,{modelValue:g.value,"onUpdate:modelValue":c[0]||(c[0]=u=>g.value=u),data:E.value},null,8,["modelValue","data"])])]),_:1}),U(F(SB),{size:"60"},{default:x(()=>[N("div",yr,[g.value&&!o.value?(p(),_(cC,{key:0,class:"p3",data:t.value,"node-id":g.value,"inspector-id":XB,"expanded-state-id":"pinia-store-state"},null,8,["data","node-id"])):(p(),_(Rt,{key:1},{default:x(()=>[RA(" No Data ")]),_:1}))])]),_:1})]),_:1})]))}});function Rr(){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 XQ;function fE(){fE.init||(fE.init=!0,XQ=Rr()!==-1)}var Sg={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){fE(),wB(()=>{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",XQ&&this.$el.appendChild(A),A.data="about:blank",XQ||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&&(!XQ&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Ur=Ke();lg("data-v-b329ee4c");const Pr={class:"resize-observer",tabindex:"-1"};hg();const Kr=Ur((A,B,Q,g,E,C)=>(p(),_("div",Pr)));Sg.render=Kr;Sg.__scopeId="data-v-b329ee4c";Sg.__file="src/components/ResizeObserver.vue";function ZQ(A){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ZQ=function(B){return typeof B}:ZQ=function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},ZQ(A)}function Yr(A,B){if(!(A instanceof B))throw new TypeError("Cannot call a class as a function")}function Sr(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 mr(A,B,Q){return B&&Sr(A.prototype,B),A}function xI(A){return Jr(A)||vr(A)||Or(A)||xr()}function Jr(A){if(Array.isArray(A))return kE(A)}function vr(A){if(typeof Symbol<"u"&&Symbol.iterator in Object(A))return Array.from(A)}function Or(A,B){if(A){if(typeof A=="string")return kE(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 kE(A,B)}}function kE(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 xr(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2
|
+
import{y as lg,z as hg,d as j,bk as Mw,aB as wB,o as p,h as _,r as Y,m as y,i as U,f as F,a as J,bl as dw,bm as KB,aS as Ke,at as YB,k as N,F as FA,aa as EA,p as z,a9 as NA,G as eA,ae as pw,j as x,ax as LA,bn as WE,w as rA,aD as XE,v as RA,I as uA,t as GA,bo as MB,n as dB,bp as Ye,bq as Se,br as Fw,bs as Nw,ay as _Q,aC as IQ,ar as ug,aW as Gw,T as fw,bt as kw,l as pQ,bu as me,bv as Je,bi as VA,bw as ve,bx as Oe,by as xe,bz as Lw,bA as be,bB as Mg,aT as yw,aU as Hw,bC as kA,b2 as Rw,a2 as Uw,aV as Pw,bD as Kw,aP as Yw,az as UC,bE as Sw}from"./eUQ_X7Id.js";var mw=Object.defineProperty,Jw=(A,B,Q)=>B in A?mw(A,B,{enumerable:!0,configurable:!0,writable:!0,value:Q}):A[B]=Q,h=(A,B,Q)=>Jw(A,typeof B!="symbol"?B+"":B,Q);const dg=(A,B)=>{const Q=A.__vccOpts||A;for(const[g,E]of B)Q[g]=E;return Q},vw={},Ow={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},xw=Rw('<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),bw=[xw];function qw(A,B){return p(),y("svg",Ow,bw)}const Tw=dg(vw,[["render",qw]]),ZE=Symbol("VirtualRouteKey"),qe=Symbol("VirtualRoutesKey");function Ww(A){const B=Y({path:"/"}),Q=J(()=>dw(A)),g=J(()=>B.value.path),E=j({setup(){return()=>{const I=Q.value.find(e=>e.path===g.value);return I?WE(I.component):null}}});function C(){B.value.path="/"}return KB(ZE,B),KB(qe,Q),{VirtualRouterView:E,restoreRouter:C}}function VE(){const A=MB(ZE);return{push(B){A.value.path=B}}}function Xw(){const A=MB(qe),B=MB(ZE);return{routes:A,currentRoute:B}}const Zw={"h-full":"","w-full":"",flex:"","items-center":""},Vw={flex:"~ col gap2",ma:"","px-5":""},zw=N("div",{"flex-auto":""},null,-1),_w={flex:"~ col","mt-20":"","items-center":""},jw={flex:"~","mt--10":"","items-center":"","justify-center":""},$w=N("div",{mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},[N("span",{op40:""}," Pinia DevTools ")],-1),AD=N("div",{"flex-auto":""},null,-1),BD={flex:"~ gap2 wrap"},QD=N("div",{"i-carbon-tree-view-alt":"","text-3xl":""},null,-1),gD=N("code",null,"Store",-1),ED=[QD,gD],CD=N("div",{"i-mdi:timeline-clock-outline":"","text-3xl":""},null,-1),ID=N("div",null,"Timeline",-1),eD=[CD,ID],tD=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":""}),RA(" 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":""}),RA(" View Documentation ")])],-1),oD=N("div",{"flex-auto":""},null,-1),wD=j({__name:"Home",setup(A){const B=VE();return(Q,g)=>(p(),y("div",Zw,[N("div",Vw,[zw,N("div",_w,[N("div",jw,[U(Tw,{"h-18":""})]),$w]),AD,N("div",BD,[N("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:g[0]||(g[0]=E=>F(B).push("/store"))},ED),N("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:g[1]||(g[1]=E=>F(B).push("/timeline"))},eD)]),tD,oD])]))}}),zE={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 WE("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},DD=(A,B)=>{const Q=A.__vccOpts||A;for(const[g,E]of B)Q[g]=E;return Q},sD={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 iD(A,B,Q,g,E,C){return p(),y("div",{class:"splitpanes__pane",onClick:B[0]||(B[0]=I=>C.onPaneClick(I,A._.uid)),style:NA(A.style)},[EA(A.$slots,"default")],4)}const SB=DD(sD,[["render",iD]]);var nD=Object.create,Te=Object.defineProperty,aD=Object.getOwnPropertyDescriptor,_E=Object.getOwnPropertyNames,rD=Object.getPrototypeOf,cD=Object.prototype.hasOwnProperty,lD=(A,B)=>function(){return A&&(B=(0,A[_E(A)[0]])(A=0)),B},hD=(A,B)=>function(){return B||(0,A[_E(A)[0]])((B={exports:{}}).exports,B),B.exports},uD=(A,B,Q,g)=>{if(B&&typeof B=="object"||typeof B=="function")for(let E of _E(B))!cD.call(A,E)&&E!==Q&&Te(A,E,{get:()=>B[E],enumerable:!(g=aD(B,E))||g.enumerable});return A},MD=(A,B,Q)=>(Q=A!=null?nD(rD(A)):{},uD(Te(Q,"default",{value:A,enumerable:!0}),A)),FQ=lD({"../../node_modules/.pnpm/tsup@8.1.0_@microsoft+api-extractor@7.43.0_@types+node@20.14.5__@swc+core@1.5.29_postcss@8.4.38_typescript@5.4.5/node_modules/tsup/assets/esm_shims.js"(){}}),dD=hD({"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(A,B){FQ(),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);const I=new Map;if(I.set(Date,w=>new Date(w)),I.set(Map,(w,i)=>new Map(t(Array.from(w),i))),I.set(Set,(w,i)=>new Set(t(Array.from(w),i))),C.constructorHandlers)for(const w of C.constructorHandlers)I.set(w[0],w[1]);let e=null;return C.proto?D:o;function t(w,i){const s=Object.keys(w),a=new Array(s.length);for(let n=0;n<s.length;n++){const r=s[n],M=w[r];typeof M!="object"||M===null?a[r]=M:M.constructor!==Object&&(e=I.get(M.constructor))?a[r]=e(M,i):ArrayBuffer.isView(M)?a[r]=Q(M):a[r]=i(M)}return a}function o(w){if(typeof w!="object"||w===null)return w;if(Array.isArray(w))return t(w,o);if(w.constructor!==Object&&(e=I.get(w.constructor)))return e(w,o);const i={};for(const s in w){if(Object.hasOwnProperty.call(w,s)===!1)continue;const a=w[s];typeof a!="object"||a===null?i[s]=a:a.constructor!==Object&&(e=I.get(a.constructor))?i[s]=e(a,o):ArrayBuffer.isView(a)?i[s]=Q(a):i[s]=o(a)}return i}function D(w){if(typeof w!="object"||w===null)return w;if(Array.isArray(w))return t(w,D);if(w.constructor!==Object&&(e=I.get(w.constructor)))return e(w,D);const i={};for(const s in w){const a=w[s];typeof a!="object"||a===null?i[s]=a:a.constructor!==Object&&(e=I.get(a.constructor))?i[s]=e(a,D):ArrayBuffer.isView(a)?i[s]=Q(a):i[s]=D(a)}return i}}function E(C){const I=[],e=[],t=new Map;if(t.set(Date,s=>new Date(s)),t.set(Map,(s,a)=>new Map(D(Array.from(s),a))),t.set(Set,(s,a)=>new Set(D(Array.from(s),a))),C.constructorHandlers)for(const s of C.constructorHandlers)t.set(s[0],s[1]);let o=null;return C.proto?i:w;function D(s,a){const n=Object.keys(s),r=new Array(n.length);for(let M=0;M<n.length;M++){const l=n[M],c=s[l];if(typeof c!="object"||c===null)r[l]=c;else if(c.constructor!==Object&&(o=t.get(c.constructor)))r[l]=o(c,a);else if(ArrayBuffer.isView(c))r[l]=Q(c);else{const u=I.indexOf(c);u!==-1?r[l]=e[u]:r[l]=a(c)}}return r}function w(s){if(typeof s!="object"||s===null)return s;if(Array.isArray(s))return D(s,w);if(s.constructor!==Object&&(o=t.get(s.constructor)))return o(s,w);const a={};I.push(s),e.push(a);for(const n in s){if(Object.hasOwnProperty.call(s,n)===!1)continue;const r=s[n];if(typeof r!="object"||r===null)a[n]=r;else if(r.constructor!==Object&&(o=t.get(r.constructor)))a[n]=o(r,w);else if(ArrayBuffer.isView(r))a[n]=Q(r);else{const M=I.indexOf(r);M!==-1?a[n]=e[M]:a[n]=w(r)}}return I.pop(),e.pop(),a}function i(s){if(typeof s!="object"||s===null)return s;if(Array.isArray(s))return D(s,i);if(s.constructor!==Object&&(o=t.get(s.constructor)))return o(s,i);const a={};I.push(s),e.push(a);for(const n in s){const r=s[n];if(typeof r!="object"||r===null)a[n]=r;else if(r.constructor!==Object&&(o=t.get(r.constructor)))a[n]=o(r,i);else if(ArrayBuffer.isView(r))a[n]=Q(r);else{const M=I.indexOf(r);M!==-1?a[n]=e[M]:a[n]=i(r)}}return I.pop(),e.pop(),a}}}});FQ();FQ();var pD=typeof navigator<"u",H=typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof global<"u"?global:{},bg=typeof H.chrome<"u"&&!!H.chrome.devtools;pD&&(H.self,H.top);typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes("electron");FQ();var FD=MD(dD()),ND=/(?:^|[-_/])(\w)/g;function GD(A,B){return B?B.toUpperCase():""}function fD(A){return A&&`${A}`.replace(ND,GD)}function kD(A,B){const Q=A.replace(/^[a-z]:/i,"").replace(/\\/g,"/"),g=Q.lastIndexOf("/"),E=Q.substring(g+1);{const C=E.lastIndexOf(B);return E.substring(0,C)}}function We(A){return A&&A.slice().sort((B,Q)=>B.key<Q.key?-1:B.key>Q.key?1:0)}var PC=(0,FD.default)({circles:!0});function KC(A){return typeof A=="object"&&!Array.isArray(A)&&A!==null}function YC(A){return Array.isArray(A)}FQ();function sE(A,B={},Q){for(const g in A){const E=A[g],C=Q?`${Q}:${g}`:g;typeof E=="object"&&E!==null?sE(E,B,C):typeof E=="function"&&(B[C]=E)}return B}const LD={run:A=>A()},yD=()=>LD,Xe=typeof console.createTask<"u"?console.createTask:yD;function HD(A,B){const Q=B.shift(),g=Xe(Q);return A.reduce((E,C)=>E.then(()=>g.run(()=>C(...B))),Promise.resolve())}function RD(A,B){const Q=B.shift(),g=Xe(Q);return Promise.all(A.map(E=>g.run(()=>E(...B))))}function qg(A,B){for(const Q of[...A])Q(B)}let UD=class{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(A,B,Q={}){if(!A||typeof B!="function")return()=>{};const g=A;let E;for(;this._deprecatedHooks[A];)E=this._deprecatedHooks[A],A=E.to;if(E&&!Q.allowDeprecated){let C=E.message;C||(C=`${g} hook has been deprecated`+(E.to?`, please use ${E.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(C)||(console.warn(C),this._deprecatedMessages.add(C))}if(!B.name)try{Object.defineProperty(B,"name",{get:()=>"_"+A.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[A]=this._hooks[A]||[],this._hooks[A].push(B),()=>{B&&(this.removeHook(A,B),B=void 0)}}hookOnce(A,B){let Q,g=(...E)=>(typeof Q=="function"&&Q(),Q=void 0,g=void 0,B(...E));return Q=this.hook(A,g),Q}removeHook(A,B){if(this._hooks[A]){const Q=this._hooks[A].indexOf(B);Q!==-1&&this._hooks[A].splice(Q,1),this._hooks[A].length===0&&delete this._hooks[A]}}deprecateHook(A,B){this._deprecatedHooks[A]=typeof B=="string"?{to:B}:B;const Q=this._hooks[A]||[];delete this._hooks[A];for(const g of Q)this.hook(A,g)}deprecateHooks(A){Object.assign(this._deprecatedHooks,A);for(const B in A)this.deprecateHook(B,A[B])}addHooks(A){const B=sE(A),Q=Object.keys(B).map(g=>this.hook(g,B[g]));return()=>{for(const g of Q.splice(0,Q.length))g()}}removeHooks(A){const B=sE(A);for(const Q in B)this.removeHook(Q,B[Q])}removeAllHooks(){for(const A in this._hooks)delete this._hooks[A]}callHook(A,...B){return B.unshift(A),this.callHookWith(HD,A,...B)}callHookParallel(A,...B){return B.unshift(A),this.callHookWith(RD,A,...B)}callHookWith(A,B,...Q){const g=this._before||this._after?{name:B,args:Q,context:{}}:void 0;this._before&&qg(this._before,g);const E=A(B in this._hooks?[...this._hooks[B]]:[],Q);return E instanceof Promise?E.finally(()=>{this._after&&g&&qg(this._after,g)}):(this._after&&g&&qg(this._after,g),E)}beforeEach(A){return this._before=this._before||[],this._before.push(A),()=>{if(this._before!==void 0){const B=this._before.indexOf(A);B!==-1&&this._before.splice(B,1)}}}afterEach(A){return this._after=this._after||[],this._after.push(A),()=>{if(this._after!==void 0){const B=this._after.indexOf(A);B!==-1&&this._after.splice(B,1)}}}};function Ze(){return new UD}const PD={trailing:!0};function NQ(A,B=25,Q={}){if(Q={...PD,...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=KD(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 i=Q.leading?g:t(this,o);for(const s of C)s(i);C=[]},B),w?(g=t(this,o),D(g)):C.push(D)})}}async function KD(A,B,Q){return await A.apply(B,Q)}var YD=Object.create,Ve=Object.defineProperty,SD=Object.getOwnPropertyDescriptor,jE=Object.getOwnPropertyNames,mD=Object.getPrototypeOf,JD=Object.prototype.hasOwnProperty,vD=(A,B)=>function(){return A&&(B=(0,A[jE(A)[0]])(A=0)),B},ze=(A,B)=>function(){return B||(0,A[jE(A)[0]])((B={exports:{}}).exports,B),B.exports},OD=(A,B,Q,g)=>{if(B&&typeof B=="object"||typeof B=="function")for(let E of jE(B))!JD.call(A,E)&&E!==Q&&Ve(A,E,{get:()=>B[E],enumerable:!(g=SD(B,E))||g.enumerable});return A},xD=(A,B,Q)=>(Q=A!=null?YD(mD(A)):{},OD(Ve(Q,"default",{value:A,enumerable:!0}),A)),G=vD({"../../node_modules/.pnpm/tsup@8.1.0_@microsoft+api-extractor@7.43.0_@types+node@20.14.5__@swc+core@1.5.29_postcss@8.4.38_typescript@5.4.5/node_modules/tsup/assets/esm_shims.js"(){}}),bD=ze({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(A,B){G(),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 M="-",l="",c="",u=!0,d={},k,S,m,b,K,Z,q,L,O,T,R,IA,CA,MA,fA="";if(typeof n!="string")return"";if(typeof r=="string"&&(M=r),q=e.en,L=I.en,typeof r=="object"){k=r.maintainCase||!1,d=r.custom&&typeof r.custom=="object"?r.custom:d,m=+r.truncate>1&&r.truncate||!1,b=r.uric||!1,K=r.uricNoSlash||!1,Z=r.mark||!1,u=!(r.symbols===!1||r.lang===!1),M=r.separator||M,b&&(fA+=t),K&&(fA+=o),Z&&(fA+=D),q=r.lang&&e[r.lang]&&u?e[r.lang]:u?e.en:{},L=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(DA){d[DA+""]=DA+""}),S=!0):S=!!r.titleCase,r.custom&&typeof r.custom.length=="number"&&Array.prototype.toString.call(r.custom)&&r.custom.forEach(function(DA){d[DA+""]=DA+""}),Object.keys(d).forEach(function(DA){var JA;DA.length>1?JA=new RegExp("\\b"+s(DA)+"\\b","gi"):JA=new RegExp(s(DA),"gi"),n=n.replace(JA,d[DA])});for(R in d)fA+=R}for(fA+=M,fA=s(fA),n=n.replace(/(^\s+|\s+$)/g,""),CA=!1,MA=!1,T=0,IA=n.length;T<IA;T++)R=n[T],a(R,d)?CA=!1:L[R]?(R=CA&&L[R].match(/[A-Za-z0-9]/)?" "+L[R]:L[R],CA=!1):R in g?(T+1<IA&&E.indexOf(n[T+1])>=0?(c+=R,R=""):MA===!0?(R=C[c]+g[R],c=""):R=CA&&g[R].match(/[A-Za-z0-9]/)?" "+g[R]:g[R],CA=!1,MA=!1):R in C?(c+=R,R="",T===IA-1&&(R=C[c]),MA=!0):q[R]&&!(b&&t.indexOf(R)!==-1)&&!(K&&o.indexOf(R)!==-1)?(R=CA||l.substr(-1).match(/[A-Za-z0-9]/)?M+q[R]:q[R],R+=n[T+1]!==void 0&&n[T+1].match(/[A-Za-z0-9]/)?M:"",CA=!0):(MA===!0?(R=C[c]+R,c="",MA=!1):CA&&(/[A-Za-z0-9]/.test(R)||l.substr(-1).match(/A-Za-z0-9]/))&&(R=" "+R),CA=!1),l+=R.replace(new RegExp("[^\\w\\s"+fA+"_-]","g"),M);return S&&(l=l.replace(/(\w)(\S*)/g,function(DA,JA,BB){var DB=JA.toUpperCase()+(BB!==null?BB:"");return Object.keys(d).indexOf(DB.toLowerCase())<0?DB:DB.toLowerCase()})),l=l.replace(/\s+/g,M).replace(new RegExp("\\"+M+"+","g"),M).replace(new RegExp("(^\\"+M+"+|\\"+M+"+$)","g"),""),m&&l.length>m&&(O=l.charAt(m)===M,l=l.slice(0,m),O||(l=l.slice(0,l.lastIndexOf(M)))),!k&&!S&&(l=l.toLowerCase()),l},i=function(n){return function(r){return w(r,n)}},s=function(n){return n.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},a=function(n,r){for(var M in r)if(r[M]===n)return!0};if(typeof B<"u"&&B.exports)B.exports=w,B.exports.createSlug=i;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=i}catch{}}(A)}}),qD=ze({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(A,B){G(),B.exports=bD()}});G();G();G();G();G();G();G();G();G();G();G();G();G();var SC,mC,xA=(mC=(SC=H).__VUE_DEVTOOLS_HOOK)!=null?mC:SC.__VUE_DEVTOOLS_HOOK=Ze(),TD={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)}},WD={on:TD,setupDevToolsPlugin(A,B){return xA.callHook("devtools-plugin:setup",A,B)}};G();G();G();G();G();function XD(A){return!!(A&&A.__v_isReadonly)}function _e(A){return XD(A)?_e(A.__v_raw):!!(A&&A.__v_isReactive)}function Tg(A){return!!(A&&A.__v_isRef===!0)}function _B(A){const B=A&&A.__v_raw;return B?_B(B):A}var ZD=Symbol.for("v-fgt");function VD(A){return A.name||A._componentTag||A.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||A.__name}function zD(A){const B=A.__file;if(B)return fD(kD(B,".vue"))}function JC(A,B){return A.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=B,B}function $E(A){if(A.__VUE_DEVTOOLS_NEXT_APP_RECORD__)return A.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(A.root)return A.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__}async function _D(A){const{app:B,uid:Q,instance:g}=A;try{if(g.__VUE_DEVTOOLS_NEXT_UID__)return g.__VUE_DEVTOOLS_NEXT_UID__;const E=await $E(B);if(!E)return null;const C=E.rootInstance===g;return`${E.id}:${C?"root":Q}`}catch{}}function je(A){var B;return((B=A.subTree)==null?void 0:B.type)===ZD}function pg(A){var B,Q,g;const E=VD(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 JC(A,I);for(const I in(g=A.appContext)==null?void 0:g.components)if(A.appContext.components[I]===A?.type)return JC(A,I);return zD(A?.type||{})||"Anonymous Component"}function iE(A,B){return B=B||`${A.id}:root`,A.instanceMap.get(B)||A.instanceMap.get(":root")}G();function AC(A){return je(A)?jD(A.subTree):A.subTree?[A.subTree.el]:[]}function jD(A){if(!A.children)return[];const B=[];return A.children.forEach(Q=>{Q.component?B.push(...AC(Q.component)):Q!=null&&Q.el&&B.push(Q.el)}),B}G();function $D(){const A={top:0,bottom:0,left:0,right:0,get width(){return A.right-A.left},get height(){return A.bottom-A.top}};return A}var PQ;function As(A){return PQ||(PQ=document.createRange()),PQ.selectNode(A),PQ.getBoundingClientRect()}function Bs(A){const B=$D();if(!A.children)return B;for(let Q=0,g=A.children.length;Q<g;Q++){const E=A.children[Q];let C;if(E.component)C=pB(E.component);else if(E.el){const I=E.el;I.nodeType===1||I.getBoundingClientRect?C=I.getBoundingClientRect():I.nodeType===3&&I.data.trim()&&(C=As(I))}C&&Qs(B,C)}return B}function Qs(A,B){return(!A.top||B.top<A.top)&&(A.top=B.top),(!A.bottom||B.bottom>A.bottom)&&(A.bottom=B.bottom),(!A.left||B.left<A.left)&&(A.left=B.left),(!A.right||B.right>A.right)&&(A.right=B.right),A}var vC={top:0,left:0,right:0,bottom:0,width:0,height:0};function pB(A){const B=A.subTree.el;return typeof window>"u"?vC:je(A)?Bs(A.subTree):B?.nodeType===1?B?.getBoundingClientRect():A.subTree.component?pB(A.subTree.component):vC}var $e="__vue-devtools-component-inspector__",At="__vue-devtools-component-inspector__card__",Bt="__vue-devtools-component-inspector__name__",Qt="__vue-devtools-component-inspector__indicator__",gt={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},gs={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},Es={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function bB(){return document.getElementById($e)}function Cs(){return document.getElementById(At)}function Is(){return document.getElementById(Qt)}function es(){return document.getElementById(Bt)}function BC(A){return{left:`${Math.round(A.left*100)/100}px`,top:`${Math.round(A.top*100)/100}px`,width:`${Math.round(A.width*100)/100}px`,height:`${Math.round(A.height*100)/100}px`}}function QC(A){var B;const Q=document.createElement("div");Q.id=(B=A.elementId)!=null?B:$e,Object.assign(Q.style,{...gt,...BC(A.bounds),...A.style});const g=document.createElement("span");g.id=At,Object.assign(g.style,{...gs,top:A.bounds.top<35?0:"-35px"});const E=document.createElement("span");E.id=Bt,E.innerHTML=`<${A.name}> `;const C=document.createElement("i");return C.id=Qt,C.innerHTML=`${Math.round(A.bounds.width*100)/100} x ${Math.round(A.bounds.height*100)/100}`,Object.assign(C.style,Es),g.appendChild(E),g.appendChild(C),Q.appendChild(g),document.body.appendChild(Q),Q}function gC(A){const B=bB(),Q=Cs(),g=es(),E=Is();B&&(Object.assign(B.style,{...gt,...BC(A.bounds)}),Object.assign(Q.style,{top:A.bounds.top<35?0:"-35px"}),g.innerHTML=`<${A.name}> `,E.innerHTML=`${Math.round(A.bounds.width*100)/100} x ${Math.round(A.bounds.height*100)/100}`)}function ts(A){const B=pB(A),Q=pg(A);bB()?gC({bounds:B,name:Q}):QC({bounds:B,name:Q})}function Et(){const A=bB();A&&(A.style.display="none")}var nE=null;function aE(A){const B=A.target;if(B){const Q=B.__vueParentComponent;if(Q&&(nE=Q,Q.vnode.el)){const g=pB(Q),E=pg(Q);bB()?gC({bounds:g,name:E}):QC({bounds:g,name:E})}}}function os(A,B){var Q;if(A.preventDefault(),A.stopPropagation(),nE){const g=(Q=hA.value)==null?void 0:Q.app;_D({app:g,uid:g.uid,instance:nE}).then(E=>{B(E)})}}var jQ=null;function ws(){Et(),window.removeEventListener("mouseover",aE),window.removeEventListener("click",jQ,!0),jQ=null}function Ds(){return window.addEventListener("mouseover",aE),new Promise(A=>{function B(Q){Q.preventDefault(),Q.stopPropagation(),os(Q,g=>{window.removeEventListener("click",B,!0),jQ=null,window.removeEventListener("mouseover",aE);const E=bB();E&&(E.style.display="none"),A(JSON.stringify({id:g}))})}jQ=B,window.addEventListener("click",B,!0)})}function ss(A){const B=iE(hA.value,A.id);if(B){const[Q]=AC(B);if(typeof Q.scrollIntoView=="function")Q.scrollIntoView({behavior:"smooth"});else{const g=pB(B),E=document.createElement("div"),C={...BC(g),position:"absolute"};Object.assign(E.style,C),document.body.appendChild(E),E.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(E)},2e3)}setTimeout(()=>{const g=pB(B);if(g.width||g.height){const E=pg(B),C=bB();C?gC({...A,name:E,bounds:g}):QC({...A,name:E,bounds:g}),setTimeout(()=>{C&&(C.style.display="none")},1500)}},1200)}}G();G();var OC;(OC=H).__VUE_DEVTOOLS_KIT_APP_RECORDS__!=null||(OC.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[]);var xC;(xC=H).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__!=null||(xC.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__={});var bC;(bC=H).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__!=null||(bC.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__="");var qC;(qC=H).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__!=null||(qC.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__=[]);var TC;(TC=H).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__!=null||(TC.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__=[]);var aB="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function is(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!1}}var WC;(WC=H)[aB]!=null||(WC[aB]=is());var ns=NQ(A=>{GQ.hooks.callHook("devtoolsStateUpdated",{state:A})});NQ((A,B)=>{GQ.hooks.callHook("devtoolsConnectedUpdated",{state:A,oldState:B})});var Fg=new Proxy(H.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(A,B,Q){return B==="value"?H.__VUE_DEVTOOLS_KIT_APP_RECORDS__:H.__VUE_DEVTOOLS_KIT_APP_RECORDS__[B]}}),hA=new Proxy(H.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(A,B,Q){return B==="value"?H.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:B==="id"?H.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:H.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[B]}});function Ct(){ns({...H[aB],appRecords:Fg.value,activeAppRecordId:hA.id,tabs:H.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:H.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function as(A){H.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=A,Ct()}function rs(A){H.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=A,Ct()}var It=new Proxy(H[aB],{get(A,B){return B==="appRecords"?Fg:B==="activeAppRecordId"?hA.id:B==="tabs"?H.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:B==="commands"?H.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:H[aB][B]},deleteProperty(A,B){return delete A[B],!0},set(A,B,Q){return{...H[aB]},A[B]=Q,H[aB][B]=Q,!0}});G();var XC;(XC=H).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS!=null||(XC.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS=[]);var cs=new Proxy(H.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(A,B,Q){return Reflect.get(A,B,Q)}});function ls(A,B){cs.push({...A,descriptorId:B.id,appRecord:$E(B.app)})}var ZC;(ZC=H).__VUE_DEVTOOLS_KIT_INSPECTOR__!=null||(ZC.__VUE_DEVTOOLS_KIT_INSPECTOR__=[]);var EC=new Proxy(H.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(A,B,Q){return Reflect.get(A,B,Q)}}),et=NQ(()=>{GQ.hooks.callHook("sendInspectorToClient",tt())});function hs(A,B){EC.push({options:A,descriptor:B,treeFilter:"",selectedNodeId:"",appRecord:$E(B.app)}),et()}function tt(){return EC.filter(A=>A.descriptor.app===hA.value.app).filter(A=>A.descriptor.id!=="components").map(A=>{var B;const Q=A.descriptor,g=A.options;return{id:g.id,label:g.label,logo:Q.logo,icon:`i-ic-baseline-${(B=g?.icon)==null?void 0:B.replace(/_/g,"-")}`,packageName:Q.packageName,homepage:Q.homepage}})}function bQ(A,B){return EC.find(Q=>Q.options.id===A&&(B?Q.descriptor.app===B:!0))}function us(){const A=Ze();return A.hook("addInspector",({inspector:B,plugin:Q})=>{hs(B,Q.descriptor)}),A.hook("sendInspectorTree",async({inspectorId:B,plugin:Q})=>{var g;if(!B||!((g=Q?.descriptor)!=null&&g.app))return;const E=bQ(B,Q.descriptor.app),C={app:Q.descriptor.app,inspectorId:B,filter:E?.treeFilter||"",rootNodes:[]};await new Promise(I=>{A.callHookWith(async e=>{await Promise.all(e.map(t=>t(C))),I()},"getInspectorTree")}),A.callHookWith(async I=>{await Promise.all(I.map(e=>e({inspectorId:B,rootNodes:C.rootNodes})))},"sendInspectorTreeToClient")}),A.hook("sendInspectorState",async({inspectorId:B,plugin:Q})=>{var g;if(!B||!((g=Q?.descriptor)!=null&&g.app))return;const E=bQ(B,Q.descriptor.app),C={app:Q.descriptor.app,inspectorId:B,nodeId:E?.selectedNodeId||"",state:null},I={currentTab:`custom-inspector:${B}`};C.nodeId&&await new Promise(e=>{A.callHookWith(async t=>{await Promise.all(t.map(o=>o(C,I))),e()},"getInspectorState")}),A.callHookWith(async e=>{await Promise.all(e.map(t=>t({inspectorId:B,nodeId:C.nodeId,state:C.state})))},"sendInspectorStateToClient")}),A.hook("customInspectorSelectNode",({inspectorId:B,nodeId:Q,plugin:g})=>{const E=bQ(B,g.descriptor.app);E&&(E.selectedNodeId=Q)}),A.hook("timelineLayerAdded",({options:B,plugin:Q})=>{ls(B,Q.descriptor)}),A.hook("timelineEventAdded",({options:B,plugin:Q})=>{A.callHookWith(async g=>{await Promise.all(g.map(E=>E(B)))},"sendTimelineEventToClient")}),A.hook("getComponentInstances",async({app:B})=>{const Q=B.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!Q)return null;const g=Q.id.toString();return[...Q.instanceMap].filter(([E])=>E.split(":")[0]===g).map(([,E])=>E)}),A.hook("getComponentBounds",async({instance:B})=>pB(B)),A.hook("getComponentName",({instance:B})=>pg(B)),A.hook("componentHighlight",({uid:B})=>{const Q=hA.value.instanceMap.get(B);Q&&ts(Q)}),A.hook("componentUnhighlight",()=>{Et()}),A}G();G();var Ms=class{constructor(){this.refEditor=new ds}set(A,B,Q,g){const E=Array.isArray(B)?B:B.split(".");for(;E.length>1;){const e=E.shift();A instanceof Map&&(A=A.get(e)),A instanceof Set?A=Array.from(A.values())[e]:A=A[e],this.refEditor.isRef(A)&&(A=this.refEditor.get(A))}const C=E[0],I=this.refEditor.get(A)[C];g?g(A,C,Q):this.refEditor.isRef(I)?this.refEditor.set(I,Q):A[C]=Q}get(A,B){const Q=Array.isArray(B)?B:B.split(".");for(let g=0;g<Q.length;g++)if(A instanceof Map?A=A.get(Q[g]):A=A[Q[g]],this.refEditor.isRef(A)&&(A=this.refEditor.get(A)),!A)return;return A}has(A,B,Q=!1){if(typeof A>"u")return!1;const g=Array.isArray(B)?B.slice():B.split("."),E=Q?2:1;for(;A&&g.length>E;){const C=g.shift();A=A[C],this.refEditor.isRef(A)&&(A=this.refEditor.get(A))}return A!=null&&Object.prototype.hasOwnProperty.call(A,g[0])}createDefaultSetCallback(A){return(B,Q,g)=>{if((A.remove||A.newKey)&&(Array.isArray(B)?B.splice(Q,1):_B(B)instanceof Map?B.delete(Q):_B(B)instanceof Set?B.delete(Array.from(B.values())[Q]):Reflect.deleteProperty(B,Q)),!A.remove){const E=B[A.newKey||Q];this.refEditor.isRef(E)?this.refEditor.set(E,g):_B(B)instanceof Map?B.set(A.newKey||Q,g):_B(B)instanceof Set?B.add(g):B[A.newKey||Q]=g}}}},ds=class{set(A,B){if(Tg(A))A.value=B;else{if(A instanceof Set&&Array.isArray(B)){A.clear(),B.forEach(E=>A.add(E));return}const Q=Object.keys(B);if(A instanceof Map){const E=new Set(A.keys());Q.forEach(C=>{A.set(C,Reflect.get(B,C)),E.delete(C)}),E.forEach(C=>A.delete(C));return}const g=new Set(Object.keys(A));Q.forEach(E=>{Reflect.set(A,E,Reflect.get(B,E)),g.delete(E)}),g.forEach(E=>Reflect.deleteProperty(A,E))}}get(A){return Tg(A)?A.value:A}isRef(A){return Tg(A)||_e(A)}};G();function ps(A={}){var B;const{file:Q,baseUrl:g=window.location.origin,line:E=0,column:C=0}=A;if(Q&&It.vitePluginDetected){const I=(B=H.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__)!=null?B:g;H.__VUE_INSPECTOR__.openInEditor(I,Q,E,C)}}G();G();var eQ="__VUE_DEVTOOLS_ROUTER__",mB="__VUE_DEVTOOLS_ROUTER_INFO__",VC;(VC=H)[mB]!=null||(VC[mB]={currentRoute:null,routes:[]});var zC;(zC=H)[eQ]!=null||(zC[eQ]={});new Proxy(H[mB],{get(A,B){return H[mB][B]}});new Proxy(H[eQ],{get(A,B){if(B==="value")return H[eQ]}});function Fs(A){const B=new Map;return(A?.getRoutes()||[]).filter(Q=>!B.has(Q.path)&&B.set(Q.path,1))}function CC(A){return A.map(B=>{let{path:Q,name:g,children:E}=B;return E!=null&&E.length&&(E=CC(E)),{path:Q,name:g,children:E}})}function Ns(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:CC(I)}}return A}function Gs(A,B){function Q(){var g;const E=(g=A.app)==null?void 0:g.config.globalProperties.$router,C=Ns(E?.currentRoute.value),I=CC(Fs(E)),e=console.warn;console.warn=()=>{},H[mB]={currentRoute:C?PC(C):{},routes:PC(I)},H[eQ]=E,console.warn=e}Q(),WD.on.componentUpdated(NQ(()=>{var g;((g=B.value)==null?void 0:g.app)===A.app&&(Q(),GQ.hooks.callHook("routerInfoUpdated",{state:H[mB]}))},200))}G();var _C;(_C=H).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__!=null||(_C.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);function fs(A){let B=0;const Q=setInterval(()=>{H.__VUE_INSPECTOR__&&(clearInterval(Q),B+=30,A()),B>=5e3&&clearInterval(Q)},30)}function ks(){const A=H.__VUE_INSPECTOR__,B=A.openInEditor;A.openInEditor=async(...Q)=>{A.disable(),B(...Q)}}function Ls(){return new Promise(A=>{function B(){ks(),A(H.__VUE_INSPECTOR__)}H.__VUE_INSPECTOR__?B():fs(()=>{B()})})}G();G();G();G();var jC;(jC=H).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__!=null||(jC.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__=[]);var ot=new Proxy(H.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(A,B,Q){return Reflect.get(A,B,Q)}}),ys=class{constructor({plugin:A,ctx:B}){this.hooks=B.hooks,this.plugin=A}get on(){return{visitComponentTree:A=>{this.hooks.hook("visitComponentTree",A)},inspectComponent:A=>{this.hooks.hook("inspectComponent",A)},editComponentState:A=>{this.hooks.hook("editComponentState",A)},getInspectorTree:A=>{this.hooks.hook("getInspectorTree",A)},getInspectorState:A=>{this.hooks.hook("getInspectorState",A)},editInspectorState:A=>{this.hooks.hook("editInspectorState",A)},inspectTimelineEvent:A=>{this.hooks.hook("inspectTimelineEvent",A)},timelineCleared:A=>{this.hooks.hook("timelineCleared",A)},setPluginSettings:A=>{this.hooks.hook("setPluginSettings",A)}}}notifyComponentUpdate(A){var B;const Q=tt().find(g=>g.packageName===this.plugin.descriptor.packageName);if(Q!=null&&Q.id){if(A){const g=[A.appContext.app,A.uid,(B=A.parent)==null?void 0:B.uid,A];xA.callHook("component:updated",...g)}else xA.callHook("component:updated");this.hooks.callHook("sendInspectorState",{inspectorId:Q.id,plugin:this.plugin})}}addInspector(A){this.hooks.callHook("addInspector",{inspector:A,plugin:this.plugin})}sendInspectorTree(A){this.hooks.callHook("sendInspectorTree",{inspectorId:A,plugin:this.plugin})}sendInspectorState(A){this.hooks.callHook("sendInspectorState",{inspectorId:A,plugin:this.plugin})}selectInspectorNode(A,B){this.hooks.callHook("customInspectorSelectNode",{inspectorId:A,nodeId:B,plugin:this.plugin})}now(){return Date.now()}addTimelineLayer(A){this.hooks.callHook("timelineLayerAdded",{options:A,plugin:this.plugin})}addTimelineEvent(A){this.hooks.callHook("timelineEventAdded",{options:A,plugin:this.plugin})}getSettings(A){var B,Q,g;function E(C){const I={};return Object.keys(C).forEach(e=>{I[e]=C[e].defaultValue}),I}if(A){const C=(Q=(B=ot.find(I=>I[0].id===A))==null?void 0:B[0])!=null?Q:null;return(g=E(C?.settings))!=null?g:E(this.plugin.descriptor.settings)}else return E(this.plugin.descriptor.settings)}getComponentInstances(A){return this.hooks.callHook("getComponentInstances",{app:A})}getComponentBounds(A){return this.hooks.callHook("getComponentBounds",{instance:A})}getComponentName(A){return this.hooks.callHook("getComponentName",{instance:A})}highlightElement(A){const B=A.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook("componentHighlight",{uid:B})}unhighlightElement(){return this.hooks.callHook("componentUnhighlight")}},Hs=ys;G();G();G();G();G();G();var $C=/^\[native Symbol Symbol\((.*)\)\]$/,Rs=/^\[object (\w+)\]$/,$Q=/^\[native (\w+) (.*?)(<>(([\s\S])*))?\]$/,Ng="__vue_devtool_undefined__",Gg="__vue_devtool_infinity__",fg="__vue_devtool_negative_infinity__",kg="__vue_devtool_nan__",Us={"<":"<",">":">",'"':""","&":"&"};G();G();function wt(A){return Object.prototype.toString.call(A)==="[object Object]"}var Ag={[Ng]:"undefined",[kg]:"NaN",[Gg]:"Infinity",[fg]:"-Infinity"},Wg=Object.entries(Ag).reduce((A,[B,Q])=>(A[Q]=B,A),{});function Ps(A){return A===null?"null":typeof A=="string"&&Ag[A]||!1}function Ks(A){const B=new RegExp(`"(${Object.keys(Ag).join("|")})"`,"g");return A.replace(B,(Q,g)=>Ag[g])}function Ys(A){const B=Wg[A.trim()];if(B)return`"${B}"`;const Q=new RegExp(`:\\s*(${Object.keys(Wg).join("|")})`,"g");return A.replace(Q,(g,E)=>`:"${Wg[E]}"`)}function Dt(A){return A.replace(/[<>"&]/g,B=>Us[B]||B)}G();var AI;(AI=H).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__!=null||(AI.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__=new Set);function Ss(A,B){const[Q,g]=A;if(Q.app!==B)return;const E=new Hs({plugin:{setupFn:g,descriptor:Q},ctx:GQ});Q.packageName==="vuex"&&E.on.editInspectorState(C=>{E.sendInspectorState(C.inspectorId)}),g(E)}function ms(A){H.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(A)||(H.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(A),ot.forEach(B=>{Ss(B,A)}))}function Js(A){return{async getInspectorTree(B){const Q={...B,app:hA.value.app,rootNodes:[]};return await new Promise(g=>{A.callHookWith(async E=>{await Promise.all(E.map(C=>C(Q))),g()},"getInspectorTree")}),Q.rootNodes},async getInspectorState(B){const Q={...B,app:hA.value.app,state:null},g={currentTab:`custom-inspector:${B.inspectorId}`};return await new Promise(E=>{A.callHookWith(async C=>{await Promise.all(C.map(I=>I(Q,g))),E()},"getInspectorState")}),Q.state},editInspectorState(B){const Q=new Ms,g={...B,app:hA.value.app,set:(E,C=B.path,I=B.state.value,e)=>{Q.set(E,C,I,e||Q.createDefaultSetCallback(B.state))}};A.callHookWith(E=>{E.forEach(C=>C(g))},"editInspectorState")},sendInspectorState(B){const Q=bQ(B);A.callHook("sendInspectorState",{inspectorId:B,plugin:{descriptor:Q.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return Ds()},cancelInspectComponentInspector(){return ws()},getComponentRenderCode(B){const Q=iE(hA.value,B);if(Q)return Q?.type instanceof Function?Q.type.toString():Q.render.toString()},scrollToComponent(B){return ss({id:B})},openInEditor:ps,getVueInspector:Ls,toggleApp(B){const Q=Fg.value.find(g=>g.id===B);Q&&(rs(B),as(Q),Gs(Q,hA),et(),ms(Q.app))},inspectDOM(B){const Q=iE(hA.value,B);if(Q){const[g]=AC(Q);g&&(H.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=g)}}}}G();var BI;(BI=H).__VUE_DEVTOOLS_ENV__!=null||(BI.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});var QI=us(),gI;(gI=H).__VUE_DEVTOOLS_KIT_CONTEXT__!=null||(gI.__VUE_DEVTOOLS_KIT_CONTEXT__={hooks:QI,get state(){return{...It,activeAppRecordId:hA.id,activeAppRecord:hA.value,appRecords:Fg.value}},api:Js(QI)});var GQ=H.__VUE_DEVTOOLS_KIT_CONTEXT__;G();G();xD(qD());var EI;(EI=H).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__!=null||(EI.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__={id:0,appIds:new Set});G();G();G();G();G();G();G();G();G();var vs=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(A,B){this.keyToValue.set(A,B),this.valueToKey.set(B,A)}getByKey(A){return this.keyToValue.get(A)}getByValue(A){return this.valueToKey.get(A)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},st=class{constructor(A){this.generateIdentifier=A,this.kv=new vs}register(A,B){this.kv.getByValue(A)||(B||(B=this.generateIdentifier(A)),this.kv.set(B,A))}clear(){this.kv.clear()}getIdentifier(A){return this.kv.getByValue(A)}getValue(A){return this.kv.getByKey(A)}},Os=class extends st{constructor(){super(A=>A.name),this.classToAllowedProps=new Map}register(A,B){typeof B=="object"?(B.allowProps&&this.classToAllowedProps.set(A,B.allowProps),super.register(A,B.identifier)):super.register(A,B)}getAllowedProps(A){return this.classToAllowedProps.get(A)}};G();G();function xs(A){if("values"in Object)return Object.values(A);const B=[];for(const Q in A)A.hasOwnProperty(Q)&&B.push(A[Q]);return B}function bs(A,B){const Q=xs(A);if("find"in Q)return Q.find(B);const g=Q;for(let E=0;E<g.length;E++){const C=g[E];if(B(C))return C}}function JB(A,B){Object.entries(A).forEach(([Q,g])=>B(g,Q))}function qQ(A,B){return A.indexOf(B)!==-1}function CI(A,B){for(let Q=0;Q<A.length;Q++){const g=A[Q];if(B(g))return g}}var qs=class{constructor(){this.transfomers={}}register(A){this.transfomers[A.name]=A}findApplicable(A){return bs(this.transfomers,B=>B.isApplicable(A))}findByName(A){return this.transfomers[A]}};G();G();var Ts=A=>Object.prototype.toString.call(A).slice(8,-1),it=A=>typeof A>"u",Ws=A=>A===null,tQ=A=>typeof A!="object"||A===null||A===Object.prototype?!1:Object.getPrototypeOf(A)===null?!0:Object.getPrototypeOf(A)===Object.prototype,rE=A=>tQ(A)&&Object.keys(A).length===0,tB=A=>Array.isArray(A),Xs=A=>typeof A=="string",Zs=A=>typeof A=="number"&&!isNaN(A),Vs=A=>typeof A=="boolean",zs=A=>A instanceof RegExp,oQ=A=>A instanceof Map,wQ=A=>A instanceof Set,nt=A=>Ts(A)==="Symbol",_s=A=>A instanceof Date&&!isNaN(A.valueOf()),js=A=>A instanceof Error,II=A=>typeof A=="number"&&isNaN(A),$s=A=>Vs(A)||Ws(A)||it(A)||Zs(A)||Xs(A)||nt(A),Ai=A=>typeof A=="bigint",Bi=A=>A===1/0||A===-1/0,Qi=A=>ArrayBuffer.isView(A)&&!(A instanceof DataView),gi=A=>A instanceof URL;G();var at=A=>A.replace(/\./g,"\\."),Xg=A=>A.map(String).map(at).join("."),$B=A=>{const B=[];let Q="";for(let E=0;E<A.length;E++){let C=A.charAt(E);if(C==="\\"&&A.charAt(E+1)==="."){Q+=".",E++;continue}if(C==="."){B.push(Q),Q="";continue}Q+=C}const g=Q;return B.push(g),B};G();function vA(A,B,Q,g){return{isApplicable:A,annotation:B,transform:Q,untransform:g}}var rt=[vA(it,"undefined",()=>null,()=>{}),vA(Ai,"bigint",A=>A.toString(),A=>typeof BigInt<"u"?BigInt(A):(console.error("Please add a BigInt polyfill."),A)),vA(_s,"Date",A=>A.toISOString(),A=>new Date(A)),vA(js,"Error",(A,B)=>{const Q={name:A.name,message:A.message};return B.allowedErrorProps.forEach(g=>{Q[g]=A[g]}),Q},(A,B)=>{const Q=new Error(A.message);return Q.name=A.name,Q.stack=A.stack,B.allowedErrorProps.forEach(g=>{Q[g]=A[g]}),Q}),vA(zs,"regexp",A=>""+A,A=>{const B=A.slice(1,A.lastIndexOf("/")),Q=A.slice(A.lastIndexOf("/")+1);return new RegExp(B,Q)}),vA(wQ,"set",A=>[...A.values()],A=>new Set(A)),vA(oQ,"map",A=>[...A.entries()],A=>new Map(A)),vA(A=>II(A)||Bi(A),"number",A=>II(A)?"NaN":A>0?"Infinity":"-Infinity",Number),vA(A=>A===0&&1/A===-1/0,"number",()=>"-0",Number),vA(gi,"URL",A=>A.toString(),A=>new URL(A))];function Lg(A,B,Q,g){return{isApplicable:A,annotation:B,transform:Q,untransform:g}}var ct=Lg((A,B)=>nt(A)?!!B.symbolRegistry.getIdentifier(A):!1,(A,B)=>["symbol",B.symbolRegistry.getIdentifier(A)],A=>A.description,(A,B,Q)=>{const g=Q.symbolRegistry.getValue(B[1]);if(!g)throw new Error("Trying to deserialize unknown symbol");return g}),Ei=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((A,B)=>(A[B.name]=B,A),{}),lt=Lg(Qi,A=>["typed-array",A.constructor.name],A=>[...A],(A,B)=>{const Q=Ei[B[1]];if(!Q)throw new Error("Trying to deserialize unknown typed array");return new Q(A)});function ht(A,B){return A!=null&&A.constructor?!!B.classRegistry.getIdentifier(A.constructor):!1}var ut=Lg(ht,(A,B)=>["class",B.classRegistry.getIdentifier(A.constructor)],(A,B)=>{const Q=B.classRegistry.getAllowedProps(A.constructor);if(!Q)return{...A};const g={};return Q.forEach(E=>{g[E]=A[E]}),g},(A,B,Q)=>{const g=Q.classRegistry.getValue(B[1]);if(!g)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(g.prototype),A)}),Mt=Lg((A,B)=>!!B.customTransformerRegistry.findApplicable(A),(A,B)=>["custom",B.customTransformerRegistry.findApplicable(A).name],(A,B)=>B.customTransformerRegistry.findApplicable(A).serialize(A),(A,B,Q)=>{const g=Q.customTransformerRegistry.findByName(B[1]);if(!g)throw new Error("Trying to deserialize unknown custom value");return g.deserialize(A)}),Ci=[ut,ct,Mt,lt],eI=(A,B)=>{const Q=CI(Ci,E=>E.isApplicable(A,B));if(Q)return{value:Q.transform(A,B),type:Q.annotation(A,B)};const g=CI(rt,E=>E.isApplicable(A,B));if(g)return{value:g.transform(A,B),type:g.annotation}},dt={};rt.forEach(A=>{dt[A.annotation]=A});var Ii=(A,B,Q)=>{if(tB(B))switch(B[0]){case"symbol":return ct.untransform(A,B,Q);case"class":return ut.untransform(A,B,Q);case"custom":return Mt.untransform(A,B,Q);case"typed-array":return lt.untransform(A,B,Q);default:throw new Error("Unknown transformation: "+B)}else{const g=dt[B];if(!g)throw new Error("Unknown transformation: "+B);return g.untransform(A,Q)}};G();var HB=(A,B)=>{const Q=A.keys();for(;B>0;)Q.next(),B--;return Q.next().value};function pt(A){if(qQ(A,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(qQ(A,"prototype"))throw new Error("prototype is not allowed as a property");if(qQ(A,"constructor"))throw new Error("constructor is not allowed as a property")}var ei=(A,B)=>{pt(B);for(let Q=0;Q<B.length;Q++){const g=B[Q];if(wQ(A))A=HB(A,+g);else if(oQ(A)){const E=+g,C=+B[++Q]==0?"key":"value",I=HB(A,E);switch(C){case"key":A=I;break;case"value":A=A.get(I);break}}else A=A[g]}return A},cE=(A,B,Q)=>{if(pt(B),B.length===0)return Q(A);let g=A;for(let C=0;C<B.length-1;C++){const I=B[C];if(tB(g)){const e=+I;g=g[e]}else if(tQ(g))g=g[I];else if(wQ(g)){const e=+I;g=HB(g,e)}else if(oQ(g)){if(C===B.length-2)break;const e=+I,t=+B[++C]==0?"key":"value",o=HB(g,e);switch(t){case"key":g=o;break;case"value":g=g.get(o);break}}}const E=B[B.length-1];if(tB(g)?g[+E]=Q(g[+E]):tQ(g)&&(g[E]=Q(g[E])),wQ(g)){const C=HB(g,+E),I=Q(C);C!==I&&(g.delete(C),g.add(I))}if(oQ(g)){const C=+B[B.length-2],I=HB(g,C);switch(+E==0?"key":"value"){case"key":{const e=Q(I);g.set(e,g.get(I)),e!==I&&g.delete(I);break}case"value":{g.set(I,Q(g.get(I)));break}}}return A};function lE(A,B,Q=[]){if(!A)return;if(!tB(A)){JB(A,(C,I)=>lE(C,B,[...Q,...$B(I)]));return}const[g,E]=A;E&&JB(E,(C,I)=>{lE(C,B,[...Q,...$B(I)])}),B(g,Q)}function ti(A,B,Q){return lE(B,(g,E)=>{A=cE(A,E,C=>Ii(C,g,Q))}),A}function oi(A,B){function Q(g,E){const C=ei(A,$B(E));g.map($B).forEach(I=>{A=cE(A,I,()=>C)})}if(tB(B)){const[g,E]=B;g.forEach(C=>{A=cE(A,$B(C),()=>A)}),E&&JB(E,Q)}else JB(B,Q);return A}var wi=(A,B)=>tQ(A)||tB(A)||oQ(A)||wQ(A)||ht(A,B);function Di(A,B,Q){const g=Q.get(A);g?g.push(B):Q.set(A,[B])}function si(A,B){const Q={};let g;return A.forEach(E=>{if(E.length<=1)return;B||(E=E.map(e=>e.map(String)).sort((e,t)=>e.length-t.length));const[C,...I]=E;C.length===0?g=I.map(Xg):Q[Xg(C)]=I.map(Xg)}),g?rE(Q)?[g]:[g,Q]:rE(Q)?void 0:Q}var Ft=(A,B,Q,g,E=[],C=[],I=new Map)=>{var e;const t=$s(A);if(!t){Di(A,E,B);const a=I.get(A);if(a)return g?{transformedValue:null}:a}if(!wi(A,Q)){const a=eI(A,Q),n=a?{transformedValue:a.value,annotations:[a.type]}:{transformedValue:A};return t||I.set(A,n),n}if(qQ(C,A))return{transformedValue:null};const o=eI(A,Q),D=(e=o?.value)!=null?e:A,w=tB(D)?[]:{},i={};JB(D,(a,n)=>{if(n==="__proto__"||n==="constructor"||n==="prototype")throw new Error(`Detected property ${n}. This is a prototype pollution risk, please remove it from your object.`);const r=Ft(a,B,Q,g,[...E,n],[...C,A],I);w[n]=r.transformedValue,tB(r.annotations)?i[n]=r.annotations:tQ(r.annotations)&&JB(r.annotations,(M,l)=>{i[at(n)+"."+l]=M})});const s=rE(i)?{transformedValue:w,annotations:o?[o.type]:void 0}:{transformedValue:w,annotations:o?[o.type,i]:i};return t||I.set(A,s),s};G();G();function Nt(A){return Object.prototype.toString.call(A).slice(8,-1)}function tI(A){return Nt(A)==="Array"}function ii(A){if(Nt(A)!=="Object")return!1;const B=Object.getPrototypeOf(A);return!!B&&B.constructor===Object&&B===Object.prototype}function ni(A,B,Q,g,E){const C={}.propertyIsEnumerable.call(g,B)?"enumerable":"nonenumerable";C==="enumerable"&&(A[B]=Q),E&&C==="nonenumerable"&&Object.defineProperty(A,B,{value:Q,enumerable:!1,writable:!0,configurable:!0})}function hE(A,B={}){if(tI(A))return A.map(E=>hE(E,B));if(!ii(A))return A;const Q=Object.getOwnPropertyNames(A),g=Object.getOwnPropertySymbols(A);return[...Q,...g].reduce((E,C)=>{if(tI(B.props)&&!B.props.includes(C))return E;const I=A[C],e=hE(I,B);return ni(E,C,e,A,B.nonenumerable),E},{})}var BA=class{constructor({dedupe:A=!1}={}){this.classRegistry=new Os,this.symbolRegistry=new st(B=>{var Q;return(Q=B.description)!=null?Q:""}),this.customTransformerRegistry=new qs,this.allowedErrorProps=[],this.dedupe=A}serialize(A){const B=new Map,Q=Ft(A,B,this,this.dedupe),g={json:Q.transformedValue};Q.annotations&&(g.meta={...g.meta,values:Q.annotations});const E=si(B,this.dedupe);return E&&(g.meta={...g.meta,referentialEqualities:E}),g}deserialize(A){const{json:B,meta:Q}=A;let g=hE(B);return Q!=null&&Q.values&&(g=ti(g,Q.values,this)),Q!=null&&Q.referentialEqualities&&(g=oi(g,Q.referentialEqualities)),g}stringify(A){return JSON.stringify(this.serialize(A))}parse(A){return this.deserialize(JSON.parse(A))}registerClass(A,B){this.classRegistry.register(A,B)}registerSymbol(A,B){this.symbolRegistry.register(A,B)}registerCustom(A,B){this.customTransformerRegistry.register({name:B,...A})}allowErrorProps(...A){this.allowedErrorProps.push(...A)}};BA.defaultInstance=new BA;BA.serialize=BA.defaultInstance.serialize.bind(BA.defaultInstance);BA.deserialize=BA.defaultInstance.deserialize.bind(BA.defaultInstance);BA.stringify=BA.defaultInstance.stringify.bind(BA.defaultInstance);BA.parse=BA.defaultInstance.parse.bind(BA.defaultInstance);BA.registerClass=BA.defaultInstance.registerClass.bind(BA.defaultInstance);BA.registerSymbol=BA.defaultInstance.registerSymbol.bind(BA.defaultInstance);BA.registerCustom=BA.defaultInstance.registerCustom.bind(BA.defaultInstance);BA.allowErrorProps=BA.defaultInstance.allowErrorProps.bind(BA.defaultInstance);G();G();G();G();G();G();G();G();G();G();G();G();G();G();G();G();G();G();G();G();G();G();var oI;(oI=H).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__!=null||(oI.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__=[]);var wI;(wI=H).__VUE_DEVTOOLS_KIT_RPC_CLIENT__!=null||(wI.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=null);var DI;(DI=H).__VUE_DEVTOOLS_KIT_RPC_SERVER__!=null||(DI.__VUE_DEVTOOLS_KIT_RPC_SERVER__=null);var sI;(sI=H).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__!=null||(sI.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=null);var iI;(iI=H).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__!=null||(iI.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__=null);var nI;(nI=H).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__!=null||(nI.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__=null);function ai(){return H.__VUE_DEVTOOLS_KIT_RPC_CLIENT__}function ri(){return H.__VUE_DEVTOOLS_KIT_RPC_SERVER__}function ci(){return H.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__}G();G();G();G();G();function li(A){const B=new Set,Q=A._custom.value;for(let g=0;g<Q.length;g++){const E=Q[g];B.add(yg(E))}return B}function hi(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,yg(C))}return B}function yg(A){if(A!==Ng){if(A===Gg)return Number.POSITIVE_INFINITY;if(A===fg)return Number.NEGATIVE_INFINITY;if(A===kg)return Number.NaN;if(A&&A._custom){const{_custom:B}=A;return B.type==="component"?hA.value.instanceMap.get(B.id):B.type==="map"?hi(A):B.type==="set"?li(A):B.type==="bigint"?BigInt(B.value):yg(B.value)}else if($C.test(A)){const[,B]=$C.exec(A);return Symbol.for(B)}else if($Q.test(A)){const[,B,Q,,g]=$Q.exec(A),E=new H[B](Q);return B==="Error"&&g&&(E.stack=g),E}else return A}}function Gt(A,B){return yg(B)}G();function ui(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 aI(A,B=null){if(Array.isArray(A)&&(A=A.join("")),/^\s/.test(A)){const Q=JSON.parse(A);return ui(Q,B),Q[0]}else return arguments.length===1?JSON.parse(A):JSON.parse(A,B)}G();function DQ(A,B=!0){const Q=typeof A;if(A==null||A===Ng||A==="undefined")return"null";if(Q==="boolean"||Q==="number"||A===Gg||A===fg||A===kg)return"literal";if(A!=null&&A._custom)return B||A._custom.display!=null||A._custom.displayText!=null?"custom":DQ(A._custom.value);if(typeof A=="string"){const g=$Q.exec(A);if(g){const[,E]=g;return`native ${E}`}else return"string"}else return Array.isArray(A)||A!=null&&A._isArray?"array":wt(A)?"plain-object":"unknown"}function ft(A,B=!1,Q){var g,E,C;const{customClass:I}=Q??{};let e;const t=DQ(A,!1);if(t!=="custom"&&A!=null&&A._custom&&(A=A._custom.value),e=Ps(A))return e;if(t==="custom")return((g=A._custom.value)==null?void 0:g._custom)&&ft(A._custom.value,B,Q)||A._custom.displayText||A._custom.display;if(t==="array")return`Array[${A.length}]`;if(t==="plain-object")return`Object${Object.keys(A).length?"":" (empty)"}`;if(t!=null&&t.includes("native"))return Dt((E=$Q.exec(A))==null?void 0:E[2]);if(typeof A=="string"){const o=A.match(Rs);o?A=WB(o[1]):B?A=`<span>"</span>${I!=null&&I.string?`<span class=${I.string}>${WB(A)}</span>`:WB(A)}<span>"</span>`:A=I!=null&&I.string?`<span class="${(C=I?.string)!=null?C:""}">${WB(A)}</span>`:WB(A)}return A}function WB(A){return Dt(A).replace(/ /g," ").replace(/\n/g,"<span>\\n</span>")}function IC(A){var B,Q,g;let E;const C=DQ(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?IC(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 Mi(A,B){return B==="bigint"||B==="date"?A:Ks(JSON.stringify(A))}function TQ(A,B){return B==="bigint"?BigInt(A):B==="date"?new Date(A):JSON.parse(Ys(A),Gt)}function zA(A,B=!1){return A==null?{}:B?aI(A,Gt):aI(A)}G();G();function uE(A,B={},Q){for(const g in A){const E=A[g],C=Q?`${Q}:${g}`:g;typeof E=="object"&&E!==null?uE(E,B,C):typeof E=="function"&&(B[C]=E)}return B}var di={run:A=>A()},pi=()=>di,kt=typeof console.createTask<"u"?console.createTask:pi;function Fi(A,B){const Q=B.shift(),g=kt(Q);return A.reduce((E,C)=>E.then(()=>g.run(()=>C(...B))),Promise.resolve())}function Ni(A,B){const Q=B.shift(),g=kt(Q);return Promise.all(A.map(E=>g.run(()=>E(...B))))}function Zg(A,B){for(const Q of[...A])Q(B)}var Gi=class{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(A,B,Q={}){if(!A||typeof B!="function")return()=>{};const g=A;let E;for(;this._deprecatedHooks[A];)E=this._deprecatedHooks[A],A=E.to;if(E&&!Q.allowDeprecated){let C=E.message;C||(C=`${g} hook has been deprecated`+(E.to?`, please use ${E.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(C)||(console.warn(C),this._deprecatedMessages.add(C))}if(!B.name)try{Object.defineProperty(B,"name",{get:()=>"_"+A.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[A]=this._hooks[A]||[],this._hooks[A].push(B),()=>{B&&(this.removeHook(A,B),B=void 0)}}hookOnce(A,B){let Q,g=(...E)=>(typeof Q=="function"&&Q(),Q=void 0,g=void 0,B(...E));return Q=this.hook(A,g),Q}removeHook(A,B){if(this._hooks[A]){const Q=this._hooks[A].indexOf(B);Q!==-1&&this._hooks[A].splice(Q,1),this._hooks[A].length===0&&delete this._hooks[A]}}deprecateHook(A,B){this._deprecatedHooks[A]=typeof B=="string"?{to:B}:B;const Q=this._hooks[A]||[];delete this._hooks[A];for(const g of Q)this.hook(A,g)}deprecateHooks(A){Object.assign(this._deprecatedHooks,A);for(const B in A)this.deprecateHook(B,A[B])}addHooks(A){const B=uE(A),Q=Object.keys(B).map(g=>this.hook(g,B[g]));return()=>{for(const g of Q.splice(0,Q.length))g()}}removeHooks(A){const B=uE(A);for(const Q in B)this.removeHook(Q,B[Q])}removeAllHooks(){for(const A in this._hooks)delete this._hooks[A]}callHook(A,...B){return B.unshift(A),this.callHookWith(Fi,A,...B)}callHookParallel(A,...B){return B.unshift(A),this.callHookWith(Ni,A,...B)}callHookWith(A,B,...Q){const g=this._before||this._after?{name:B,args:Q,context:{}}:void 0;this._before&&Zg(this._before,g);const E=A(B in this._hooks?[...this._hooks[B]]:[],Q);return E instanceof Promise?E.finally(()=>{this._after&&g&&Zg(this._after,g)}):(this._after&&g&&Zg(this._after,g),E)}beforeEach(A){return this._before=this._before||[],this._before.push(A),()=>{if(this._before!==void 0){const B=this._before.indexOf(A);B!==-1&&this._before.splice(B,1)}}}afterEach(A){return this._after=this._after||[],this._after.push(A),()=>{if(this._after!==void 0){const B=this._after.indexOf(A);B!==-1&&this._after.splice(B,1)}}}};function Lt(){return new Gi}Lt();var KA=(A=>(A.INSPECTOR_TREE_UPDATED="inspector-tree-updated",A.INSPECTOR_STATE_UPDATED="inspector-state-updated",A.DEVTOOLS_STATE_UPDATED="devtools-state-updated",A.ROUTER_INFO_UPDATED="router-info-updated",A.TIMELINE_EVENT_UPDATED="timeline-event-updated",A.INSPECTOR_UPDATED="inspector-updated",A.ACTIVE_APP_UNMOUNTED="active-app-updated",A.DESTROY_DEVTOOLS_CLIENT="destroy-devtools-client",A.RELOAD_DEVTOOLS_CLIENT="reload-devtools-client",A))(KA||{}),gA=new Proxy({value:{},functions:{}},{get(A,B){const Q=ai();if(B==="value")return Q;if(B==="functions")return Q.$functions}});new Proxy({value:{},functions:{}},{get(A,B){const Q=ri();if(B==="value")return Q;if(B==="functions")return Q.functions}});Lt();new Proxy({value:{},functions:{}},{get(A,B){const Q=ci();if(B==="value")return Q;if(B==="functions")return Q?.$functions}});const fi={class:"flex gap3"},ki=["onClick"],yt=j({__name:"Navbar",setup(A){const{routes:B,currentRoute:Q}=Xw(),g=VE();return(E,C)=>(p(),y("ul",fi,[(p(!0),y(FA,null,dB(F(B),(I,e)=>(p(),y("li",{key:e,"cursor-pointer":"","hover:op100":"",style:NA({opacity:F(Q).path===I.path?1:.7}),onClick:t=>F(g).push(I.path)},GA(I.name),13,ki))),128))]))}}),Li={border:"b base",class:"h10 h40px flex items-center justify-between px3"},yi=["href"],Hi=N("i",{class:"i-clarity:document-line cursor-pointer op70 text-base hover:op100"},null,-1),Ri=[Hi],Ui=["href"],Pi=N("i",{class:"i-mdi:github cursor-pointer op70 text-base hover:op100"},null,-1),Ki=[Pi],Ht=j({__name:"DevToolsHeader",props:{githubRepoLink:{},docLink:{}},setup(A){const B=VE();return(Q,g)=>(p(),y("div",Li,[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"},Ri,8,yi),Q.githubRepoLink?(p(),y("a",{key:0,href:Q.githubRepoLink,target:"_blank"},Ki,8,Ui)):z("",!0)])]))}}),Yi={},Si={class:"h-full flex flex-col items-center justify-center op50"},mi=N("i",{class:"i-lets-icons:blank-light"},null,-1);function Ji(A,B){return p(),y("div",Si,[mi,N("span",null,[EA(A.$slots,"default")])])}const Rt=dg(Yi,[["render",Ji]]),vi=["top","right","bottom","left"],rI=["start","end"],cI=vi.reduce((A,B)=>A.concat(B,B+"-"+rI[0],B+"-"+rI[1]),[]),sQ=Math.min,iB=Math.max,Oi={left:"right",right:"left",bottom:"top",top:"bottom"},xi={start:"end",end:"start"};function ME(A,B,Q){return iB(A,sQ(B,Q))}function GB(A,B){return typeof A=="function"?A(B):A}function TA(A){return A.split("-")[0]}function SA(A){return A.split("-")[1]}function Ut(A){return A==="x"?"y":"x"}function eC(A){return A==="y"?"height":"width"}function fQ(A){return["top","bottom"].includes(TA(A))?"y":"x"}function tC(A){return Ut(fQ(A))}function Pt(A,B,Q){Q===void 0&&(Q=!1);const g=SA(A),E=tC(A),C=eC(E);let I=E==="x"?g===(Q?"end":"start")?"right":"left":g==="start"?"bottom":"top";return B.reference[C]>B.floating[C]&&(I=Qg(I)),[I,Qg(I)]}function bi(A){const B=Qg(A);return[Bg(A),B,Bg(B)]}function Bg(A){return A.replace(/start|end/g,B=>xi[B])}function qi(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 Ti(A,B,Q,g){const E=SA(A);let C=qi(TA(A),Q==="start",g);return E&&(C=C.map(I=>I+"-"+E),B&&(C=C.concat(C.map(Bg)))),C}function Qg(A){return A.replace(/left|right|bottom|top/g,B=>Oi[B])}function Wi(A){return{top:0,right:0,bottom:0,left:0,...A}}function Kt(A){return typeof A!="number"?Wi(A):{top:A,right:A,bottom:A,left:A}}function AQ(A){return{...A,top:A.y,left:A.x,right:A.x+A.width,bottom:A.y+A.height}}function lI(A,B,Q){let{reference:g,floating:E}=A;const C=fQ(B),I=tC(B),e=eC(I),t=TA(B),o=C==="y",D=g.x+g.width/2-E.width/2,w=g.y+g.height/2-E.height/2,i=g[e]/2-E[e]/2;let s;switch(t){case"top":s={x:D,y:g.y-E.height};break;case"bottom":s={x:D,y:g.y+g.height};break;case"right":s={x:g.x+g.width,y:w};break;case"left":s={x:g.x-E.width,y:w};break;default:s={x:g.x,y:g.y}}switch(SA(B)){case"start":s[I]-=i*(Q&&o?-1:1);break;case"end":s[I]+=i*(Q&&o?-1:1);break}return s}const Xi=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}=lI(o,g,t),i=g,s={},a=0;for(let n=0;n<e.length;n++){const{name:r,fn:M}=e[n],{x:l,y:c,data:u,reset:d}=await M({x:D,y:w,initialPlacement:g,placement:i,strategy:E,middlewareData:s,rects:o,platform:I,elements:{reference:A,floating:B}});if(D=l??D,w=c??w,s={...s,[r]:{...s[r],...u}},d&&a<=50){a++,typeof d=="object"&&(d.placement&&(i=d.placement),d.rects&&(o=d.rects===!0?await I.getElementRects({reference:A,floating:B,strategy:E}):d.rects),{x:D,y:w}=lI(o,i,t)),n=-1;continue}}return{x:D,y:w,placement:i,strategy:E,middlewareData:s}};async function Hg(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:i=!1,padding:s=0}=GB(B,A),a=Kt(s),n=e[i?w==="floating"?"reference":"floating":w],r=AQ(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})),M=w==="floating"?{...I.floating,x:g,y:E}:I.reference,l=await(C.getOffsetParent==null?void 0:C.getOffsetParent(e.floating)),c=await(C.isElement==null?void 0:C.isElement(l))?await(C.getScale==null?void 0:C.getScale(l))||{x:1,y:1}:{x:1,y:1},u=AQ(C.convertOffsetParentRelativeRectToViewportRelativeRect?await C.convertOffsetParentRelativeRectToViewportRelativeRect({rect:M,offsetParent:l,strategy:t}):M);return{top:(r.top-u.top+a.top)/c.y,bottom:(u.bottom-r.bottom+a.bottom)/c.y,left:(r.left-u.left+a.left)/c.x,right:(u.right-r.right+a.right)/c.x}}const Zi=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}=GB(A,B)||{};if(t==null)return{};const D=Kt(o),w={x:Q,y:g},i=tC(E),s=eC(i),a=await I.getDimensions(t),n=i==="y",r=n?"top":"left",M=n?"bottom":"right",l=n?"clientHeight":"clientWidth",c=C.reference[s]+C.reference[i]-w[i]-C.floating[s],u=w[i]-C.reference[i],d=await(I.getOffsetParent==null?void 0:I.getOffsetParent(t));let k=d?d[l]:0;(!k||!await(I.isElement==null?void 0:I.isElement(d)))&&(k=e.floating[l]||C.floating[s]);const S=c/2-u/2,m=k/2-a[s]/2-1,b=sQ(D[r],m),K=sQ(D[M],m),Z=b,q=k-a[s]-K,L=k/2-a[s]/2+S,O=ME(Z,L,q),T=SA(E)!=null&&L!=O&&C.reference[s]/2-(L<Z?b:K)-a[s]/2<0?L<Z?Z-L:q-L:0;return{[i]:w[i]-T,data:{[i]:O,centerOffset:L-O+T}}}});function Vi(A,B,Q){return(A?[...Q.filter(g=>SA(g)===A),...Q.filter(g=>SA(g)!==A)]:Q.filter(g=>TA(g)===g)).filter(g=>A?SA(g)===A||(B?Bg(g)!==g:!1):!0)}const zi=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:i=cI,autoAlignment:s=!0,...a}=GB(A,B),n=w!==void 0||i===cI?Vi(w||null,s,i):i,r=await Hg(B,a),M=((Q=I.autoPlacement)==null?void 0:Q.index)||0,l=n[M];if(l==null)return{};const c=Pt(l,C,await(t.isRTL==null?void 0:t.isRTL(o.floating)));if(e!==l)return{reset:{placement:n[0]}};const u=[r[TA(l)],r[c[0]],r[c[1]]],d=[...((g=I.autoPlacement)==null?void 0:g.overflows)||[],{placement:l,overflows:u}],k=n[M+1];if(k)return{data:{index:M+1,overflows:d},reset:{placement:k}};const S=d.map(b=>{const K=SA(b.placement);return[b.placement,K&&D?b.overflows.slice(0,2).reduce((Z,q)=>Z+q,0):b.overflows[0],b.overflows]}).sort((b,K)=>b[1]-K[1]),m=((E=S.filter(b=>b[2].slice(0,SA(b[0])?2:3).every(K=>K<=0))[0])==null?void 0:E[0])||S[0][0];return m!==e?{data:{index:M+1,overflows:d},reset:{placement:m}}:{}}}},_i=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:i="bestFit",fallbackAxisSideDirection:s="none",flipAlignment:a=!0,...n}=GB(A,B),r=TA(g),M=TA(I)===I,l=await(e.isRTL==null?void 0:e.isRTL(t.floating)),c=w||(M||!a?[Qg(I)]:bi(I));!w&&s!=="none"&&c.push(...Ti(I,a,s,l));const u=[I,...c],d=await Hg(B,n),k=[];let S=((Q=E.flip)==null?void 0:Q.overflows)||[];if(o&&k.push(d[r]),D){const Z=Pt(g,C,l);k.push(d[Z[0]],d[Z[1]])}if(S=[...S,{placement:g,overflows:k}],!k.every(Z=>Z<=0)){var m,b;const Z=(((m=E.flip)==null?void 0:m.index)||0)+1,q=u[Z];if(q)return{data:{index:Z,overflows:S},reset:{placement:q}};let L=(b=S.filter(O=>O.overflows[0]<=0).sort((O,T)=>O.overflows[1]-T.overflows[1])[0])==null?void 0:b.placement;if(!L)switch(i){case"bestFit":{var K;const O=(K=S.map(T=>[T.placement,T.overflows.filter(R=>R>0).reduce((R,IA)=>R+IA,0)]).sort((T,R)=>T[1]-R[1])[0])==null?void 0:K[0];O&&(L=O);break}case"initialPlacement":L=I;break}if(g!==L)return{reset:{placement:L}}}return{}}}};async function ji(A,B){const{placement:Q,platform:g,elements:E}=A,C=await(g.isRTL==null?void 0:g.isRTL(E.floating)),I=TA(Q),e=SA(Q),t=fQ(Q)==="y",o=["left","top"].includes(I)?-1:1,D=C&&t?-1:1,w=GB(B,A);let{mainAxis:i,crossAxis:s,alignmentAxis:a}=typeof w=="number"?{mainAxis:w,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...w};return e&&typeof a=="number"&&(s=e==="end"?a*-1:a),t?{x:s*D,y:i*o}:{x:i*o,y:s*D}}const $i=function(A){return A===void 0&&(A=0),{name:"offset",options:A,async fn(B){const{x:Q,y:g}=B,E=await ji(B,A);return{x:Q+E.x,y:g+E.y,data:E}}}},An=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:M,y:l}=r;return{x:M,y:l}}},...t}=GB(A,B),o={x:Q,y:g},D=await Hg(B,t),w=fQ(TA(E)),i=Ut(w);let s=o[i],a=o[w];if(C){const r=i==="y"?"top":"left",M=i==="y"?"bottom":"right",l=s+D[r],c=s-D[M];s=ME(l,s,c)}if(I){const r=w==="y"?"top":"left",M=w==="y"?"bottom":"right",l=a+D[r],c=a-D[M];a=ME(l,a,c)}const n=e.fn({...B,[i]:s,[w]:a});return{...n,data:{x:n.x-Q,y:n.y-g}}}}},Bn=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}=GB(A,B),t=await Hg(B,e),o=TA(Q),D=SA(Q),w=fQ(Q)==="y",{width:i,height:s}=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=s-t[a],M=i-t[n],l=!B.middlewareData.shift;let c=r,u=M;if(w){const k=i-t.left-t.right;u=D||l?sQ(M,k):k}else{const k=s-t.top-t.bottom;c=D||l?sQ(r,k):k}if(l&&!D){const k=iB(t.left,0),S=iB(t.right,0),m=iB(t.top,0),b=iB(t.bottom,0);w?u=i-2*(k!==0||S!==0?k+S:iB(t.left,t.right)):c=s-2*(m!==0||b!==0?m+b:iB(t.top,t.bottom))}await I({...B,availableWidth:u,availableHeight:c});const d=await E.getDimensions(C.floating);return i!==d.width||s!==d.height?{reset:{rects:!0}}:{}}}};function HA(A){var B;return((B=A.ownerDocument)==null?void 0:B.defaultView)||window}function bA(A){return HA(A).getComputedStyle(A)}const hI=Math.min,BQ=Math.max,gg=Math.round;function Yt(A){const B=bA(A);let Q=parseFloat(B.width),g=parseFloat(B.height);const E=A.offsetWidth,C=A.offsetHeight,I=gg(Q)!==E||gg(g)!==C;return I&&(Q=E,g=C),{width:Q,height:g,fallback:I}}function oB(A){return mt(A)?(A.nodeName||"").toLowerCase():""}let KQ;function St(){if(KQ)return KQ;const A=navigator.userAgentData;return A&&Array.isArray(A.brands)?(KQ=A.brands.map(B=>B.brand+"/"+B.version).join(" "),KQ):navigator.userAgent}function qA(A){return A instanceof HA(A).HTMLElement}function CB(A){return A instanceof HA(A).Element}function mt(A){return A instanceof HA(A).Node}function uI(A){return typeof ShadowRoot>"u"?!1:A instanceof HA(A).ShadowRoot||A instanceof ShadowRoot}function Rg(A){const{overflow:B,overflowX:Q,overflowY:g,display:E}=bA(A);return/auto|scroll|overlay|hidden|clip/.test(B+g+Q)&&!["inline","contents"].includes(E)}function Qn(A){return["table","td","th"].includes(oB(A))}function dE(A){const B=/firefox/i.test(St()),Q=bA(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 Jt(){return!/^((?!chrome|android).)*safari/i.test(St())}function oC(A){return["html","body","#document"].includes(oB(A))}function vt(A){return CB(A)?A:A.contextElement}const Ot={x:1,y:1};function RB(A){const B=vt(A);if(!qA(B))return Ot;const Q=B.getBoundingClientRect(),{width:g,height:E,fallback:C}=Yt(B);let I=(C?gg(Q.width):Q.width)/g,e=(C?gg(Q.height):Q.height)/E;return I&&Number.isFinite(I)||(I=1),e&&Number.isFinite(e)||(e=1),{x:I,y:e}}function iQ(A,B,Q,g){var E,C;B===void 0&&(B=!1),Q===void 0&&(Q=!1);const I=A.getBoundingClientRect(),e=vt(A);let t=Ot;B&&(g?CB(g)&&(t=RB(g)):t=RB(A));const o=e?HA(e):window,D=!Jt()&&Q;let w=(I.left+(D&&((E=o.visualViewport)==null?void 0:E.offsetLeft)||0))/t.x,i=(I.top+(D&&((C=o.visualViewport)==null?void 0:C.offsetTop)||0))/t.y,s=I.width/t.x,a=I.height/t.y;if(e){const n=HA(e),r=g&&CB(g)?HA(g):g;let M=n.frameElement;for(;M&&g&&r!==n;){const l=RB(M),c=M.getBoundingClientRect(),u=getComputedStyle(M);c.x+=(M.clientLeft+parseFloat(u.paddingLeft))*l.x,c.y+=(M.clientTop+parseFloat(u.paddingTop))*l.y,w*=l.x,i*=l.y,s*=l.x,a*=l.y,w+=c.x,i+=c.y,M=HA(M).frameElement}}return{width:s,height:a,top:i,right:w+s,bottom:i+a,left:w,x:w,y:i}}function IB(A){return((mt(A)?A.ownerDocument:A.document)||window.document).documentElement}function Ug(A){return CB(A)?{scrollLeft:A.scrollLeft,scrollTop:A.scrollTop}:{scrollLeft:A.pageXOffset,scrollTop:A.pageYOffset}}function xt(A){return iQ(IB(A)).left+Ug(A).scrollLeft}function nQ(A){if(oB(A)==="html")return A;const B=A.assignedSlot||A.parentNode||uI(A)&&A.host||IB(A);return uI(B)?B.host:B}function bt(A){const B=nQ(A);return oC(B)?B.ownerDocument.body:qA(B)&&Rg(B)?B:bt(B)}function Eg(A,B){var Q;B===void 0&&(B=[]);const g=bt(A),E=g===((Q=A.ownerDocument)==null?void 0:Q.body),C=HA(g);return E?B.concat(C,C.visualViewport||[],Rg(g)?g:[]):B.concat(g,Eg(g))}function MI(A,B,Q){return B==="viewport"?AQ(function(g,E){const C=HA(g),I=IB(g),e=C.visualViewport;let t=I.clientWidth,o=I.clientHeight,D=0,w=0;if(e){t=e.width,o=e.height;const i=Jt();(i||!i&&E==="fixed")&&(D=e.offsetLeft,w=e.offsetTop)}return{width:t,height:o,x:D,y:w}}(A,Q)):CB(B)?AQ(function(g,E){const C=iQ(g,!0,E==="fixed"),I=C.top+g.clientTop,e=C.left+g.clientLeft,t=qA(g)?RB(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)):AQ(function(g){const E=IB(g),C=Ug(g),I=g.ownerDocument.body,e=BQ(E.scrollWidth,E.clientWidth,I.scrollWidth,I.clientWidth),t=BQ(E.scrollHeight,E.clientHeight,I.scrollHeight,I.clientHeight);let o=-C.scrollLeft+xt(g);const D=-C.scrollTop;return bA(I).direction==="rtl"&&(o+=BQ(E.clientWidth,I.clientWidth)-e),{width:e,height:t,x:o,y:D}}(IB(A)))}function dI(A){return qA(A)&&bA(A).position!=="fixed"?A.offsetParent:null}function pI(A){const B=HA(A);let Q=dI(A);for(;Q&&Qn(Q)&&bA(Q).position==="static";)Q=dI(Q);return Q&&(oB(Q)==="html"||oB(Q)==="body"&&bA(Q).position==="static"&&!dE(Q))?B:Q||function(g){let E=nQ(g);for(;qA(E)&&!oC(E);){if(dE(E))return E;E=nQ(E)}return null}(A)||B}function gn(A,B,Q){const g=qA(B),E=IB(B),C=iQ(A,!0,Q==="fixed",B);let I={scrollLeft:0,scrollTop:0};const e={x:0,y:0};if(g||!g&&Q!=="fixed")if((oB(B)!=="body"||Rg(E))&&(I=Ug(B)),qA(B)){const t=iQ(B,!0);e.x=t.x+B.clientLeft,e.y=t.y+B.clientTop}else E&&(e.x=xt(E));return{x:C.left+I.scrollLeft-e.x,y:C.top+I.scrollTop-e.y,width:C.width,height:C.height}}const En={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 i=Eg(o).filter(r=>CB(r)&&oB(r)!=="body"),s=null;const a=bA(o).position==="fixed";let n=a?nQ(o):o;for(;CB(n)&&!oC(n);){const r=bA(n),M=dE(n);(a?M||s:M||r.position!=="static"||!s||!["absolute","fixed"].includes(s.position))?s=r:i=i.filter(l=>l!==n),n=nQ(n)}return D.set(o,i),i}(B,this._c):[].concat(Q),I=[...C,g],e=I[0],t=I.reduce((o,D)=>{const w=MI(B,D,E);return o.top=BQ(w.top,o.top),o.right=hI(w.right,o.right),o.bottom=hI(w.bottom,o.bottom),o.left=BQ(w.left,o.left),o},MI(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=qA(Q),C=IB(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")&&((oB(Q)!=="body"||Rg(C))&&(I=Ug(Q)),qA(Q))){const o=iQ(Q);e=RB(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:CB,getDimensions:function(A){return qA(A)?Yt(A):A.getBoundingClientRect()},getOffsetParent:pI,getDocumentElement:IB,getScale:RB,async getElementRects(A){let{reference:B,floating:Q,strategy:g}=A;const E=this.getOffsetParent||pI,C=this.getDimensions;return{reference:gn(B,await E(Q),g),floating:{x:0,y:0,...await C(Q)}}},getClientRects:A=>Array.from(A.getClientRects()),isRTL:A=>bA(A).direction==="rtl"},Cn=(A,B,Q)=>{const g=new Map,E={platform:En,...Q},C={...E.platform,_c:g};return Xi(A,B,{...E,platform:C})},hB={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 aQ(A,B){let Q=hB.themes[A]||{},g;do g=Q[B],typeof g>"u"?Q.$extend?Q=hB.themes[Q.$extend]||{}:(Q=null,g=hB[B]):Q=null;while(Q);return g}function In(A){const B=[A];let Q=hB.themes[A]||{};do Q.$extend&&!Q.$resetCss?(B.push(Q.$extend),Q=hB.themes[Q.$extend]||{}):Q=null;while(Q);return B.map(g=>`v-popper--theme-${g}`)}function FI(A){const B=[A];let Q=hB.themes[A]||{};do Q.$extend?(B.push(Q.$extend),Q=hB.themes[Q.$extend]||{}):Q=null;while(Q);return B}let vB=!1;if(typeof window<"u"){vB=!1;try{const A=Object.defineProperty({},"passive",{get(){vB=!0}});window.addEventListener("test",null,A)}catch{}}let qt=!1;typeof window<"u"&&typeof navigator<"u"&&(qt=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Tt=["auto","top","bottom","left","right"].reduce((A,B)=>A.concat([B,`${B}-start`,`${B}-end`]),[]),NI={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},GI={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function fI(A,B){const Q=A.indexOf(B);Q!==-1&&A.splice(Q,1)}function Vg(){return new Promise(A=>requestAnimationFrame(()=>{requestAnimationFrame(A)}))}const PA=[];let sB=null;const kI={};function LI(A){let B=kI[A];return B||(B=kI[A]=[]),B}let pE=function(){};typeof window<"u"&&(pE=window.Element);function V(A){return function(B){return aQ(B.theme,A)}}const zg="__floating-vue__popper",Wt=()=>j({name:"VPopper",provide(){return{[zg]:{parentPopper:this}}},inject:{[zg]:{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:V("disabled")},positioningDisabled:{type:Boolean,default:V("positioningDisabled")},placement:{type:String,default:V("placement"),validator:A=>Tt.includes(A)},delay:{type:[String,Number,Object],default:V("delay")},distance:{type:[Number,String],default:V("distance")},skidding:{type:[Number,String],default:V("skidding")},triggers:{type:Array,default:V("triggers")},showTriggers:{type:[Array,Function],default:V("showTriggers")},hideTriggers:{type:[Array,Function],default:V("hideTriggers")},popperTriggers:{type:Array,default:V("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:V("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:V("popperHideTriggers")},container:{type:[String,Object,pE,Boolean],default:V("container")},boundary:{type:[String,pE],default:V("boundary")},strategy:{type:String,validator:A=>["absolute","fixed"].includes(A),default:V("strategy")},autoHide:{type:[Boolean,Function],default:V("autoHide")},handleResize:{type:Boolean,default:V("handleResize")},instantMove:{type:Boolean,default:V("instantMove")},eagerMount:{type:Boolean,default:V("eagerMount")},popperClass:{type:[String,Array,Object],default:V("popperClass")},computeTransformOrigin:{type:Boolean,default:V("computeTransformOrigin")},autoMinSize:{type:Boolean,default:V("autoMinSize")},autoSize:{type:[Boolean,String],default:V("autoSize")},autoMaxSize:{type:Boolean,default:V("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:V("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:V("preventOverflow")},overflowPadding:{type:[Number,String],default:V("overflowPadding")},arrowPadding:{type:[Number,String],default:V("arrowPadding")},arrowOverflow:{type:Boolean,default:V("arrowOverflow")},flip:{type:Boolean,default:V("flip")},shift:{type:Boolean,default:V("shift")},shiftCrossAxis:{type:Boolean,default:V("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:V("noAutoFocus")},disposeTimeout:{type:Number,default:V("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[zg])==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($i({mainAxis:this.distance,crossAxis:this.skidding}));const B=this.placement.startsWith("auto");if(B?A.middleware.push(zi({alignment:this.placement.split("-")[1]??""})):A.placement=this.placement,this.preventOverflow&&(this.shift&&A.middleware.push(An({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!B&&this.flip&&A.middleware.push(_i({padding:this.overflowPadding,boundary:this.boundary}))),A.middleware.push(Zi({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(Bn({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 Cn(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),sB&&this.instantMove&&sB.instantMove&&sB!==this.parentPopper){sB.$_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&&(sB=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 Vg(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Eg(this.$_referenceNode),...Eg(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<PA.length;Q++)B=PA[Q],B.showGroup!==A&&(B.hide(),B.$emit("close-group"))}PA.push(this),document.body.classList.add("v-popper--some-open");for(const B of FI(this.theme))LI(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 Vg(),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,fI(PA,this),PA.length===0&&document.body.classList.remove("v-popper--some-open");for(const Q of FI(this.theme)){const g=LI(Q);fI(g,this),g.length===0&&document.body.classList.remove(`v-popper--some-open--${Q}`)}sB===this&&(sB=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 Vg(),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,NI,this.triggers,this.showTriggers,A),this.$_registerTriggerListeners([this.$_popperNode],NI,this.popperTriggers,this.popperShowTriggers,A);const B=Q=>{Q.usedByTooltip||this.hide({event:Q})};this.$_registerTriggerListeners(this.$_targetNodes,GI,this.triggers,this.hideTriggers,B),this.$_registerTriggerListeners([this.$_popperNode],GI,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,vB?{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(QQ>=A.left&&QQ<=A.right&&gQ>=A.top&&gQ<=A.bottom){const B=this.$_popperNode.getBoundingClientRect(),Q=QQ-QB,g=gQ-gB,E=B.left+B.width/2-QB+(B.top+B.height/2)-gB+B.width+B.height,C=QB+Q*E,I=gB+g*E;return YQ(QB,gB,C,I,B.left,B.top,B.left,B.bottom)||YQ(QB,gB,C,I,B.left,B.top,B.right,B.top)||YQ(QB,gB,C,I,B.right,B.top,B.right,B.bottom)||YQ(QB,gB,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(qt){const A=vB?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",B=>yI(B),A),document.addEventListener("touchend",B=>HI(B,!0),A)}else window.addEventListener("mousedown",A=>yI(A),!0),window.addEventListener("click",A=>HI(A,!1),!0);window.addEventListener("resize",on)}function yI(A,B){for(let Q=0;Q<PA.length;Q++){const g=PA[Q];try{g.mouseDownContains=g.popperNode().contains(A.target)}catch{}}}function HI(A,B){en(A,B)}function en(A,B){const Q={};for(let g=PA.length-1;g>=0;g--){const E=PA[g];try{const C=E.containsGlobalTarget=E.mouseDownContains||E.popperNode().contains(A.target);E.pendingHide=!1,requestAnimationFrame(()=>{if(E.pendingHide=!1,!Q[E.randomId]&&RI(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&&RI(I,I.containsGlobalTarget,A);)I.$_handleGlobalClose(A,B),I=I.parentPopper}})}catch{}}}function RI(A,B,Q){return Q.closeAllPopover||Q.closePopover&&B||tn(A,Q)&&!B}function tn(A,B){if(typeof A.autoHide=="function"){const Q=A.autoHide(B);return A.lastAutoHide=Q,Q}return A.autoHide}function on(){for(let A=0;A<PA.length;A++)PA[A].$_computePosition()}let QB=0,gB=0,QQ=0,gQ=0;typeof window<"u"&&window.addEventListener("mousemove",A=>{QB=QQ,gB=gQ,QQ=A.clientX,gQ=A.clientY},vB?{passive:!0}:void 0);function YQ(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 wn={extends:Wt()},Pg=(A,B)=>{const Q=A.__vccOpts||A;for(const[g,E]of B)Q[g]=E;return Q};function Dn(A,B,Q,g,E,C){return p(),y("div",{ref:"reference",class:eA(["v-popper",{"v-popper--shown":A.slotData.isShown}])},[EA(A.$slots,"default",Ye(Se(A.slotData)))],2)}const sn=Pg(wn,[["render",Dn]]);function nn(){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 WQ;function FE(){FE.init||(FE.init=!0,WQ=nn()!==-1)}var Kg={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){FE(),wB(()=>{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",WQ&&this.$el.appendChild(A),A.data="about:blank",WQ||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&&(!WQ&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const an=Ke();lg("data-v-b329ee4c");const rn={class:"resize-observer",tabindex:"-1"};hg();const cn=an((A,B,Q,g,E,C)=>(p(),_("div",rn)));Kg.render=cn;Kg.__scopeId="data-v-b329ee4c";Kg.__file="src/components/ResizeObserver.vue";const Xt=(A="theme")=>({computed:{themeClass(){return In(this[A])}}}),ln=j({name:"VPopperContent",components:{ResizeObserver:Kg},mixins:[Xt()],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}}}),hn=["id","aria-hidden","tabindex","data-popper-placement"],un={ref:"inner",class:"v-popper__inner"},Mn=N("div",{class:"v-popper__arrow-outer"},null,-1),dn=N("div",{class:"v-popper__arrow-inner"},null,-1),pn=[Mn,dn];function Fn(A,B,Q,g,E,C){const I=YB("ResizeObserver");return p(),y("div",{id:A.popperId,ref:"popover",class:eA(["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:NA(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]=pw(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:NA(A.result?{transformOrigin:A.result.transformOrigin}:void 0)},[N("div",un,[A.mounted?(p(),y(FA,{key:0},[N("div",null,[EA(A.$slots,"default")]),A.handleResize?(p(),_(I,{key:0,onNotify:B[1]||(B[1]=e=>A.$emit("resize",e))})):z("",!0)],64)):z("",!0)],512),N("div",{ref:"arrow",class:"v-popper__arrow-container",style:NA(A.result?{left:A.toPx(A.result.arrow.x),top:A.toPx(A.result.arrow.y)}:void 0)},pn,4)],4)],46,hn)}const Zt=Pg(ln,[["render",Fn]]),Vt={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 NE=function(){};typeof window<"u"&&(NE=window.Element);const Nn=j({name:"VPopperWrapper",components:{Popper:sn,PopperContent:Zt},mixins:[Vt,Xt("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,NE,Boolean],default:void 0},boundary:{type:[String,NE],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 Gn(A,B,Q,g,E,C){const I=YB("PopperContent"),e=YB("Popper");return p(),_(e,LA({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:x(({popperId:t,isShown:o,shouldMountContent:D,skipTransition:w,autoHide:i,show:s,hide:a,handleResize:n,onResize:r,classes:M,result:l})=>[EA(A.$slots,"default",{shown:o,show:s,hide:a}),U(I,{ref:"popperContent","popper-id":t,theme:A.finalTheme,shown:o,mounted:D,"skip-transition":w,"auto-hide":i,"handle-resize":n,classes:M,result:l,onHide:a,onResize:r},{default:x(()=>[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 wC=Pg(Nn,[["render",Gn]]),fn={...wC,name:"VDropdown",vPopperTheme:"dropdown"};({...wC});({...wC});const kn=j({name:"VTooltipDirective",components:{Popper:Wt(),PopperContent:Zt},mixins:[Vt],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:A=>aQ(A.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:A=>aQ(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}}}),Ln=["innerHTML"],yn=["textContent"];function Hn(A,B,Q,g,E,C){const I=YB("PopperContent"),e=YB("Popper");return p(),_(e,LA({ref:"popper"},A.$attrs,{theme:A.theme,"target-nodes":A.targetNodes,"popper-node":()=>A.$refs.popperContent.$el,onApplyShow:A.onShow,onApplyHide:A.onHide}),{default:x(({popperId:t,isShown:o,shouldMountContent:D,skipTransition:w,autoHide:i,hide:s,handleResize:a,onResize:n,classes:r,result:M})=>[U(I,{ref:"popperContent",class:eA({"v-popper--tooltip-loading":A.loading}),"popper-id":t,theme:A.theme,shown:o,mounted:D,"skip-transition":w,"auto-hide":i,"handle-resize":a,classes:r,result:M,onHide:s,onResize:n},{default:x(()=>[A.html?(p(),y("div",{key:0,innerHTML:A.finalContent},null,8,Ln)):(p(),y("div",{key:1,textContent:GA(A.finalContent)},null,8,yn))]),_: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 Rn=Pg(kn,[["render",Hn]]),zt="v-popper--has-tooltip";function Un(A,B){let Q=A.placement;if(!Q&&B)for(const g of Tt)B[g]&&(Q=g);return Q||(Q=aQ(A.theme||"tooltip","placement")),Q}function _t(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=Un(g,Q),g.targetNodes=()=>[A],g.referenceNode=()=>A,g}let _g,rQ,Pn=0;function Kn(){if(_g)return;rQ=Y([]),_g=Kw({name:"VTooltipDirectiveApp",setup(){return{directives:rQ}},render(){return this.directives.map(B=>WE(Rn,{...B.options,shown:B.shown||B.options.shown,key:B.id}))},devtools:{hide:!0}});const A=document.createElement("div");document.body.appendChild(A),_g.mount(A)}function Yn(A,B,Q){Kn();const g=Y(_t(A,B,Q)),E=Y(!1),C={id:Pn++,options:g,shown:E};return rQ.value.push(C),A.classList&&A.classList.add(zt),A.$_popper={options:g,item:C,show(){E.value=!0},hide(){E.value=!1}}}function jt(A){if(A.$_popper){const B=rQ.value.indexOf(A.$_popper.item);B!==-1&&rQ.value.splice(B,1),delete A.$_popper,delete A.$_popperOldShown,delete A.$_popperMountTarget}A.classList&&A.classList.remove(zt)}function UI(A,{value:B,modifiers:Q}){const g=_t(A,B,Q);if(!g.content||aQ(g.theme||"tooltip","disabled"))jt(A);else{let E;A.$_popper?(E=A.$_popper,E.options.value=g):E=Yn(A,B,Q),typeof B.shown<"u"&&B.shown!==A.$_popperOldShown&&(A.$_popperOldShown=B.shown,B.shown?E.show():E.hide())}}const Sn={beforeMount:UI,updated:UI,beforeUnmount(A){jt(A)}};function PI(A){A.addEventListener("mousedown",Cg),A.addEventListener("click",Cg),A.addEventListener("touchstart",$t,vB?{passive:!0}:!1)}function KI(A){A.removeEventListener("mousedown",Cg),A.removeEventListener("click",Cg),A.removeEventListener("touchstart",$t),A.removeEventListener("touchend",Ao),A.removeEventListener("touchcancel",Bo)}function Cg(A){const B=A.currentTarget;A.closePopover=!B.$_vclosepopover_touch,A.closeAllPopover=B.$_closePopoverModifiers&&!!B.$_closePopoverModifiers.all}function $t(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",Ao),B.addEventListener("touchcancel",Bo)}}function Ao(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 Bo(A){const B=A.currentTarget;B.$_vclosepopover_touch=!1}const mn={beforeMount(A,{value:B,modifiers:Q}){A.$_closePopoverModifiers=Q,(typeof B>"u"||B)&&PI(A)},updated(A,{value:B,oldValue:Q,modifiers:g}){A.$_closePopoverModifiers=g,B!==Q&&(typeof B>"u"||B?PI(A):KI(A))},beforeUnmount(A){KI(A)}},yA=Sn,Jn=mn,vn=fn,On=(A,B)=>{const Q=A.__vccOpts||A;for(const[g,E]of B)Q[g]=E;return Q},xn={},bn={class:"h-3 w-3 $ui-inline-fcc"},qn=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),Tn=[qn];function Wn(A,B){return p(),y("div",bn,Tn)}const Qo=On(xn,[["render",Wn]]),Xn={key:2},pA=j({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=Fw(),C=J(()=>E.to?"router-link":E.href?"a":"button"),I=J(()=>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=Nw(),D=J(()=>Q.flat?t.flat[Q.type]:Q.outlined?t.outlined[Q.type]:t.normal[Q.type]);return(w,i)=>(p(),_(_Q(C.value),LA(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:x(()=>[w.loading?(p(),_(Qo,{key:0,class:"mt0.5 h-full w3"})):EA(w.$slots,"icon",{key:1,class:"h-full w3 $ui-inline-fcc"}),F(o).default?(p(),y("div",Xn,[EA(w.$slots,"default")])):z("",!0),EA(w.$slots,"icon-right")]),_:3},16,["aria-disabled","class"]))}}),cA=j({__name:"Icon",props:{icon:{},inline:{type:Boolean},action:{type:Boolean,default:!1}},setup(A){return(B,Q)=>(p(),_(_Q(B.inline?"span":"div"),{class:eA(["$ui-base",[B.icon,B.action?"cursor-pointer hover:op50":""]])},null,8,["class"]))}});function go(A){return Oe()?(xe(A),!0):!1}function Zn(A,B,{enumerable:Q=!1,unwrap:g=!0}={}){for(const[E,C]of Object.entries(B))E!=="value"&&(pQ(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 eB(A){return typeof A=="function"?A():F(A)}const Eo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Vn=A=>typeof A<"u",zn=Object.prototype.toString,_n=A=>zn.call(A)==="[object Object]",Ig=()=>{},YI=jn();function jn(){var A,B;return Eo&&((A=window?.navigator)==null?void 0:A.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((B=window?.navigator)==null?void 0:B.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function $n(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 Aa(A,B={}){let Q,g,E=Ig;const C=I=>{clearTimeout(I),E(),E=Ig};return I=>{const e=eB(A),t=eB(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 Ba(...A){if(A.length!==1)return Lw(...A);const B=A[0];return typeof B=="function"?be(ve(()=>({get:B,set:Ig}))):Y(B)}function Qa(A,B=200,Q={}){return $n(Aa(B,Q),A)}function ga(A,B=200,Q={}){const g=Y(A.value),E=Qa(()=>{g.value=A.value},B,Q);return rA(A,()=>E()),g}function Ea(A,B={}){let Q=A,g,E;const C=ve((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 i=Q;((D=B.onBeforeChange)==null?void 0:D.call(B,t,i))!==!1&&(Q=t,(w=B.onChanged)==null||w.call(B,t,i),o&&E())}return Zn(C,{get:I,set:e,untrackedGet:()=>I(!1),silentSet:t=>e(t,!1),peek:()=>I(!1),lay:t=>e(t,!1)},{enumerable:!0})}function Ca(A){var B;const Q=eB(A);return(B=Q?.$el)!=null?B:Q}const Co=Eo?window:void 0;function Io(...A){let B,Q,g,E;if(typeof A[0]=="string"||Array.isArray(A[0])?([Q,g,E]=A,B=Co):[B,Q,g,E]=A,!B)return Ig;Array.isArray(Q)||(Q=[Q]),Array.isArray(g)||(g=[g]);const C=[],I=()=>{C.forEach(D=>D()),C.length=0},e=(D,w,i,s)=>(D.addEventListener(w,i,s),()=>D.removeEventListener(w,i,s)),t=rA(()=>[Ca(B),eB(E)],([D,w])=>{if(I(),!D)return;const i=_n(w)?{...w}:w;C.push(...Q.flatMap(s=>g.map(a=>e(D,s,a,i))))},{immediate:!0,flush:"post"}),o=()=>{t(),I()};return go(o),o}function Ia(A){return typeof A=="function"?A:typeof A=="string"?B=>B.key===A:Array.isArray(A)?B=>A.includes(B.key):()=>!0}function ea(...A){let B,Q,g={};A.length===3?(B=A[0],Q=A[1],g=A[2]):A.length===2?typeof A[1]=="object"?(B=!0,Q=A[0],g=A[1]):(B=A[0],Q=A[1]):(B=!0,Q=A[0]);const{target:E=Co,eventName:C="keydown",passive:I=!1,dedupe:e=!1}=g,t=Ia(B);return Io(E,C,o=>{o.repeat&&eB(e)||t(o)&&Q(o)},I)}function ta(A){return JSON.parse(JSON.stringify(A))}function jg(A){return typeof Window<"u"&&A instanceof Window?A.document.documentElement:typeof Document<"u"&&A instanceof Document?A.documentElement:A}function eo(A){const B=window.getComputedStyle(A);if(B.overflowX==="scroll"||B.overflowY==="scroll"||B.overflowX==="auto"&&A.clientWidth<A.scrollWidth||B.overflowY==="auto"&&A.clientHeight<A.scrollHeight)return!0;{const Q=A.parentNode;return!Q||Q.tagName==="BODY"?!1:eo(Q)}}function oa(A){const B=A||window.event,Q=B.target;return eo(Q)?!1:B.touches.length>1?!0:(B.preventDefault&&B.preventDefault(),!1)}const $g=new WeakMap;function wa(A,B=!1){const Q=Y(B);let g=null,E="";rA(Ba(A),e=>{const t=jg(eB(e));if(t){const o=t;if($g.get(o)||$g.set(o,o.style.overflow),o.style.overflow!=="hidden"&&(E=o.style.overflow),o.style.overflow==="hidden")return Q.value=!0;if(Q.value)return o.style.overflow="hidden"}},{immediate:!0});const C=()=>{const e=jg(eB(A));!e||Q.value||(YI&&(g=Io(e,"touchmove",t=>{oa(t)},{passive:!1})),e.style.overflow="hidden",Q.value=!0)},I=()=>{const e=jg(eB(A));!e||!Q.value||(YI&&g?.(),e.style.overflow=E,$g.delete(e),Q.value=!1)};return go(I),J({get(){return Q.value},set(e){e?C():I()}})}function to(A,B,Q,g={}){var E,C,I;const{clone:e=!1,passive:t=!1,eventName:o,deep:D=!1,defaultValue:w,shouldEmit:i}=g,s=Mg(),a=Q||s?.emit||((E=s?.$emit)==null?void 0:E.bind(s))||((I=(C=s?.proxy)==null?void 0:C.$emit)==null?void 0:I.bind(s?.proxy));let n=o;n=n||`update:${B.toString()}`;const r=c=>e?typeof e=="function"?e(c):ta(c):c,M=()=>Vn(A[B])?r(A[B]):w,l=c=>{i?i(c)&&a(n,c):a(n,c)};if(t){const c=M(),u=Y(c);let d=!1;return rA(()=>A[B],k=>{d||(d=!0,u.value=r(k),wB(()=>d=!1))}),rA(u,k=>{!d&&(k!==A[B]||D)&&l(k)},{deep:D}),u}else return J({get(){return M()},set(c){l(c)}})}const Da=j({__name:"Overlay",props:{dim:{type:Boolean},blur:{type:Boolean},position:{default:"fixed"}},setup(A){return(B,Q)=>(p(),y("div",{class:eA(["left-0 top-0 $ui-z-max h-full w-full $ui-fcc transition-opacity transition-duration-300 $ui-bg-base",[B.dim?"bg-opacity-50!":"bg-opacity-0!",B.blur?"backdrop-blur-sm":"",B.position]])},[EA(B.$slots,"default")],2))}}),sa={class:"h7.5 w-full $ui-fbc"},ia={class:"text-4.5"},na=N("div",{class:"i-carbon-close"},null,-1),aa=[na],ra={class:"content transition-all transition-duration-300"},ca={class:"footer h8 w-full transition-all transition-duration-300 delay-250"},la={class:"$ui-fcc"},ha=j({__name:"Dialog",props:{modelValue:{type:Boolean,default:!1},autoClose:{type:Boolean,default:!0},title:{default:"Dialog"},width:{default:"32rem"},height:{default:"18rem"},closable:{type:Boolean,default:!0},mountTo:{default:"body"},dim:{type:Boolean},blur:{type:Boolean},position:{}},emits:["close","update:modelValue"],setup(A,{emit:B}){const Q=A,g=to(Q,"modelValue",B,{passive:!0}),E=wa(()=>window.document.documentElement);IQ(()=>{g.value?E.value=!0:E.value=!1});function C(){g.value&&Q.autoClose&&(g.value=!1)}ea("Escape",()=>{C()});const I=Y(!1);return ug(()=>I.value=!0),(e,t)=>I.value||e.mountTo==="body"?(p(),_(fw,{key:0,to:e.mountTo},[U(Gw,{"enter-from-class":"opacity-0 [&_.modal]:scale-95 [&_.content,&_.footer]:translate-y--2.5 [&_.content,&_.footer]:opacity-0","enter-to-class":"opacity-100 [&_.modal]:scale-100","leave-from-class":"opacity-100 [&_.modal]:scale-100","leave-to-class":"opacity-0 [&_.modal]:scale-95"},{default:x(()=>[F(g)?(p(),_(Da,{key:0,dim:e.dim,blur:e.blur,position:e.position},{default:x(()=>[N("div",{class:"modal relative grid grid-rows-[1.875rem_1fr_2.5rem] $ui-base max-h-[calc(100vh-6.25rem)] max-w-[calc(100vw-6.25rem)] min-h-6.25rem min-w-12.5rem gap-2.5 rounded-md bg-white px6 py4.5 color-gray-800 shadow-2xl transition-transform transition-duration-300 dark:bg-gray-900 dark:color-gray-200",style:NA({width:Q.width,height:Q.height})},[N("div",sa,[N("div",ia,[EA(e.$slots,"title",{},()=>[RA(GA(Q.title),1)])]),e.closable?(p(),y("div",{key:0,class:"h6 w6 $ui-fcc cursor-pointer rounded-full transition-colors hover:bg-primary-100 dark:hover:bg-gray-700",onClick:C},aa)):z("",!0)]),N("div",ra,[EA(e.$slots,"default")]),N("div",ca,[EA(e.$slots,"footer",{},()=>[EA(e.$slots,"footer",{},()=>[N("div",la,[U(pA,{type:"primary",onClick:C},{default:x(()=>[RA(" close ")]),_:1})])])])])],4)]),_:3},8,["dim","blur","position"])):z("",!0)]),_:3})],8,["to"])):z("",!0)}}),ua=["type","placeholder","disabled"],Ma={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"},AE="transition-colors $ui-fcc color-gray-500 dark:color-gray-300 group-[&.focused]:color-primary-500; group-[&.accent.focused]:color-accent-500",GE=j({__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=to(Q,"modelValue",g),C=ga(J(()=>Q.loading),Q.loadingDebounceTime),I=Ea(!1,{onChanged(w){g("updateFocused",w)}}),e=J(()=>Q.variant==="flat"||Q.variant==="warning"||Q.disabled||Q.readonly),t=J(()=>Q.disabled||C.value),o=Y();let D=!1;return IQ(()=>{C.value&&I.value?D=!0:!C.value&&D&&(D=!1,wB(()=>{I.value=!0}))}),ug(()=>{Q.autoFocus&&(I.value=!0)}),IQ(()=>{var w;I.value&&((w=o.value)==null||w.focus())}),(w,i)=>(p(),y("div",{class:eA(["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:i[2]||(i[2]=()=>{I.value=!0})},[w.leftIcon?(p(),y("div",{key:0,class:eA(AE)},[U(cA,{icon:w.leftIcon},null,8,["icon"])])):z("",!0),uA(N("input",{ref_key:"inputRef",ref:o,"onUpdate:modelValue":i[0]||(i[0]=s=>pQ(E)?E.value=s: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:i[1]||(i[1]=s=>I.value=!1)},null,40,ua),[[kw,F(E)]]),F(C)?(p(),y("div",{key:1,class:eA(AE)},[U(Qo)])):w.rightIcon?(p(),y("div",{key:2,class:eA(AE)},[U(cA,{icon:w.rightIcon},null,8,["icon"])])):z("",!0),e.value?z("",!0):(p(),y("div",Ma))],2))}}),da={class:"overflow-hidden rounded-lg shadow-lg"},pa=N("div",{class:"p2 opacity-40"}," Empty... ",-1),Fa=j({__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 KB("$ui-dropdown-disabled",J(()=>B.disabled)),(Q,g)=>(p(),_(F(vn),{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:x(({hide:E})=>[N("div",da,[EA(Q.$slots,"popper",Ye(Se({hide:E})),()=>[pa])])]),default:x(()=>[EA(Q.$slots,"default",{},()=>[U(pA,LA({...Q.buttonProps,disabled:Q.disabled},{class:Q.buttonClass}),Yw({icon:x(()=>[EA(Q.$slots,"button-icon")]),"icon-right":x(()=>[EA(Q.$slots,"button-icon-right")]),_:2},[Q.label?{name:"default",fn:x(()=>[RA(GA(Q.label),1)]),key:"0"}:void 0]),1040,["class"])])]),_:3},8,["disabled","shown","triggers","distance","placement","skidding"]))}}),SI=j({__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=MB("$ui-dropdown-disabled",void 0);return(g,E)=>uA((p(),_(pA,LA({...B,round:!1},{disabled:F(Q),class:"w-full justify-start transition-colors not-action:bg-transparent!"}),{icon:x(()=>[EA(g.$slots,"icon")]),default:x(()=>[EA(g.$slots,"default")]),_:3},16,["disabled"])),[[F(Jn)]])}});function DC(A){return Oe()?(xe(A),!0):!1}function WA(A){return typeof A=="function"?A():F(A)}const sC=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Na=A=>typeof A<"u",Ga=Object.prototype.toString,fa=A=>Ga.call(A)==="[object Object]",eg=()=>{};function ka(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 La=A=>A();function ya(A,B={}){let Q,g,E=eg;const C=I=>{clearTimeout(I),E(),E=eg};return I=>{const e=WA(A),t=WA(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 Ha(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 Ra(A){return Mg()}function Ua(A,B,Q={}){const{eventFilter:g=La,...E}=Q;return rA(A,ka(g,B),E)}function Pa(A,B=!0,Q){Ra()?ug(A,Q):B?A():wB(A)}function Ka(A,B,Q={}){const{immediate:g=!0}=Q,E=Y(!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)},WA(B))}return g&&(E.value=!0,sC&&t()),DC(e),{isPending:be(E),start:t,stop:e}}function Ya(A=!1,B={}){const{truthyValue:Q=!0,falsyValue:g=!1}=B,E=pQ(A),C=Y(A);function I(e){if(arguments.length)return C.value=e,C.value;{const t=WA(Q);return C.value=C.value===t?WA(g):t,C.value}}return E?I:[C,I]}function Sa(A,B,Q={}){const{debounce:g=0,maxWait:E=void 0,...C}=Q;return Ua(A,B,{...C,eventFilter:ya(g,{maxWait:E})})}function rB(A){var B;const Q=WA(A);return(B=Q?.$el)!=null?B:Q}const Yg=sC?window:void 0,oo=sC?window.navigator:void 0;function EB(...A){let B,Q,g,E;if(typeof A[0]=="string"||Array.isArray(A[0])?([Q,g,E]=A,B=Yg):[B,Q,g,E]=A,!B)return eg;Array.isArray(Q)||(Q=[Q]),Array.isArray(g)||(g=[g]);const C=[],I=()=>{C.forEach(D=>D()),C.length=0},e=(D,w,i,s)=>(D.addEventListener(w,i,s),()=>D.removeEventListener(w,i,s)),t=rA(()=>[rB(B),WA(E)],([D,w])=>{if(I(),!D)return;const i=fa(w)?{...w}:w;C.push(...Q.flatMap(s=>g.map(a=>e(D,s,a,i))))},{immediate:!0,flush:"post"}),o=()=>{t(),I()};return DC(o),o}function ma(){const A=Y(!1),B=Mg();return B&&ug(()=>{A.value=!0},B),A}function iC(A){const B=ma();return J(()=>(B.value,!!A()))}function mI(A,B={}){const{controls:Q=!1,navigator:g=oo}=B,E=iC(()=>g&&"permissions"in g);let C;const I=typeof A=="string"?{name:A}:A,e=Y(),t=()=>{C&&(e.value=C.state)},o=Ha(async()=>{if(E.value){if(!C)try{C=await g.permissions.query(I),EB(C,"change",t),t()}catch{e.value="prompt"}return C}});return o(),Q?{state:e,isSupported:E,query:o}:e}function Ja(A={}){const{navigator:B=oo,read:Q=!1,source:g,copiedDuring:E=1500,legacy:C=!1}=A,I=iC(()=>B&&"clipboard"in B),e=mI("clipboard-read"),t=mI("clipboard-write"),o=J(()=>I.value||C),D=Y(""),w=Y(!1),i=Ka(()=>w.value=!1,E);function s(){I.value&&M(e.value)?B.clipboard.readText().then(l=>{D.value=l}):D.value=r()}o.value&&Q&&EB(["copy","cut"],s);async function a(l=WA(g)){o.value&&l!=null&&(I.value&&M(t.value)?await B.clipboard.writeText(l):n(l),D.value=l,w.value=!0,i.start())}function n(l){const c=document.createElement("textarea");c.value=l??"",c.style.position="absolute",c.style.opacity="0",document.body.appendChild(c),c.select(),document.execCommand("copy"),c.remove()}function r(){var l,c,u;return(u=(c=(l=document?.getSelection)==null?void 0:l.call(document))==null?void 0:c.toString())!=null?u:""}function M(l){return l==="granted"||l==="prompt"}return{isSupported:o,text:D,copied:w,copy:a}}function va(A){return JSON.parse(JSON.stringify(A))}function Oa(A,B,Q={}){const{window:g=Yg,...E}=Q;let C;const I=iC(()=>g&&"ResizeObserver"in g),e=()=>{C&&(C.disconnect(),C=void 0)},t=J(()=>Array.isArray(A)?A.map(w=>rB(w)):[rB(A)]),o=rA(t,w=>{if(e(),I.value&&g){C=new ResizeObserver(B);for(const i of w)i&&C.observe(i,E)}},{immediate:!0,flush:"post"}),D=()=>{e(),o()};return DC(D),{isSupported:I,stop:D}}function xa(A,B={width:0,height:0},Q={}){const{window:g=Yg,box:E="content-box"}=Q,C=J(()=>{var w,i;return(i=(w=rB(A))==null?void 0:w.namespaceURI)==null?void 0:i.includes("svg")}),I=Y(B.width),e=Y(B.height),{stop:t}=Oa(A,([w])=>{const i=E==="border-box"?w.borderBoxSize:E==="content-box"?w.contentBoxSize:w.devicePixelContentBoxSize;if(g&&C.value){const s=rB(A);if(s){const a=s.getBoundingClientRect();I.value=a.width,e.value=a.height}}else if(i){const s=Array.isArray(i)?i:[i];I.value=s.reduce((a,{inlineSize:n})=>a+n,0),e.value=s.reduce((a,{blockSize:n})=>a+n,0)}else I.value=w.contentRect.width,e.value=w.contentRect.height},Q);Pa(()=>{const w=rB(A);w&&(I.value="offsetWidth"in w?w.offsetWidth:B.width,e.value="offsetHeight"in w?w.offsetHeight:B.height)});const o=rA(()=>rB(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 ba={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function qa(A={}){const{reactive:B=!1,target:Q=Yg,aliasMap:g=ba,passive:E=!0,onEventFired:C=eg}=A,I=UC(new Set),e={toJSON(){return{}},current:I},t=B?UC(e):e,o=new Set,D=new Set;function w(n,r){n in t&&(B?t[n]=r:t[n].value=r)}function i(){I.clear();for(const n of D)w(n,!1)}function s(n,r){var M,l;const c=(M=n.key)==null?void 0:M.toLowerCase(),u=[(l=n.code)==null?void 0:l.toLowerCase(),c].filter(Boolean);c&&(r?I.add(c):I.delete(c));for(const d of u)D.add(d),w(d,r);c==="meta"&&!r?(o.forEach(d=>{I.delete(d),w(d,!1)}),o.clear()):typeof n.getModifierState=="function"&&n.getModifierState("Meta")&&r&&[...I,...u].forEach(d=>o.add(d))}EB(Q,"keydown",n=>(s(n,!0),C(n)),{passive:E}),EB(Q,"keyup",n=>(s(n,!1),C(n)),{passive:E}),EB("blur",i,{passive:!0}),EB("focus",i,{passive:!0});const a=new Proxy(t,{get(n,r,M){if(typeof r!="string")return Reflect.get(n,r,M);if(r=r.toLowerCase(),r in g&&(r=g[r]),!(r in t))if(/[+_-]/.test(r)){const c=r.split(/[+_-]/g).map(u=>u.trim());t[r]=J(()=>c.every(u=>WA(a[u])))}else t[r]=Y(!1);const l=Reflect.get(n,r,M);return B?WA(l):l}});return a}function Ta(A,B,Q,g={}){var E,C,I;const{clone:e=!1,passive:t=!1,eventName:o,deep:D=!1,defaultValue:w,shouldEmit:i}=g,s=Mg(),a=Q||s?.emit||((E=s?.$emit)==null?void 0:E.bind(s))||((I=(C=s?.proxy)==null?void 0:C.$emit)==null?void 0:I.bind(s?.proxy));let n=o;n=n||`update:${B.toString()}`;const r=c=>e?typeof e=="function"?e(c):va(c):c,M=()=>Na(A[B])?r(A[B]):w,l=c=>{i?i(c)&&a(n,c):a(n,c)};if(t){const c=M(),u=Y(c);let d=!1;return rA(()=>A[B],k=>{d||(d=!0,u.value=r(k),wB(()=>d=!1))}),rA(u,k=>{!d&&(k!==A[B]||D)&&l(k)},{deep:D}),u}else return J({get(){return M()},set(c){l(c)}})}const wo=Symbol("StateEditorSymbol");function Wa(A){const B=Y(A);return KB(wo,B),{context:B}}function nC(){return MB(wo)}function Xa(){const A=Y(""),B=Y("string"),Q=Y(!1),g=nC();return{editingText:A,editing:Q,toggleEditing(E){E&&(B.value=E),Q.value=!Q.value},editingType:B,nodeId:J(()=>g.value.nodeId)}}function Za(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 Va(){const A=Y({enable:!1,key:"",value:"undefined"});function B(g,E){const C=Za(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 za={class:"flex pl5px"},_a={class:"w160px py5px"},ja=j({__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=nC(),{copy:g,isSupported:E}=Ja(),C=Y(!1),I=J(()=>IC(B.data.value)),e=J(()=>I.value.value),t=J(()=>I.value.customType),o=J(()=>e.value===null?"null":typeof e.value),D={flat:!0,size:"mini"},w=J(()=>({"opacity-0":!B.hovering}));async function i(a,n=!1){await gA.value.editInspectorState({path:B.data.path||[B.data.key],inspectorId:Q.value.inspectorId,type:B.data.stateType,nodeId:Q.value.nodeId,state:{newKey:null,value:Sw(a),type:o.value,remove:n}}),await gA.value.sendInspectorState(Q.value.inspectorId)}function s(a,n){const r=typeof a=="number"?a+n:BigInt(a)+BigInt(n);i(r)}return(a,n)=>(p(),y("div",za,[!B.disableEdit&&a.data.editable?(p(),y(FA,{key:0},[o.value==="string"||o.value==="number"||o.value==="object"||o.value==="null"?(p(),y(FA,{key:0},[uA((p(),_(F(pA),LA(D,{class:w.value,onClick:n[0]||(n[0]=VA(r=>a.$emit("enableEditInput",o.value),["stop"]))}),{icon:x(()=>[U(F(cA),{icon:"i-material-symbols-edit-rounded"})]),_:1},16,["class"])),[[F(yA),{content:"Edit value"}]]),o.value==="object"&&a.showAddIfNeeded?uA((p(),_(F(pA),LA({key:0},D,{class:w.value,onClick:n[1]||(n[1]=VA(r=>a.$emit("addNewProp",Array.isArray(e.value)?"array":"object"),["stop"]))}),{icon:x(()=>[U(F(cA),{icon:"i-material-symbols-add-circle-rounded"})]),_:1},16,["class"])),[[F(yA),{content:"Add new value"}]]):z("",!0)],64)):z("",!0),o.value==="boolean"?(p(),_(F(pA),LA({key:1},D,{class:w.value,onClick:n[2]||(n[2]=r=>i(!e.value))}),{icon:x(()=>[U(F(cA),{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"?(p(),y(FA,{key:2},[U(F(pA),LA(D,{class:w.value,onClick:n[3]||(n[3]=VA(r=>s(e.value,1),["stop"]))}),{icon:x(()=>[U(F(cA),{icon:"i-carbon-add"})]),_:1},16,["class"]),U(F(pA),LA(D,{class:w.value,onClick:n[4]||(n[4]=VA(r=>s(e.value,-1),["stop"]))}),{icon:x(()=>[U(F(cA),{icon:"i-carbon-subtract"})]),_:1},16,["class"])],64)):z("",!0)],64)):z("",!0),!B.disableEdit&&a.depth>0&&a.data.editable?(p(),_(F(pA),LA({key:1},D,{class:w.value,onClick:n[5]||(n[5]=VA(r=>i(e.value,!0),["stop"]))}),{icon:x(()=>[U(F(cA),{icon:"i-material-symbols-delete-rounded"})]),_:1},16,["class"])):z("",!0),U(F(Fa),{class:eA({"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:x(()=>[N("div",_a,[U(F(SI),{onClick:n[6]||(n[6]=r=>F(g)(typeof e.value=="object"?JSON.stringify(e.value):e.value.toString()))},{icon:x(()=>[U(F(cA),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),RA(" Copy Value ")]),_:1}),U(F(SI),{onClick:n[7]||(n[7]=()=>{F(g)(a.data.key)})},{icon:x(()=>[U(F(cA),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),RA(" Copy Path ")]),_:1})])]),"button-icon":x(()=>[U(F(cA),{icon:"i-material-symbols:more-vert"})]),_:1},8,["class","disabled"])]))}}),$a={class:"flex-inline items-center gap4px"},BE=j({__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=J(()=>Q.customType==="date"?"datetime-local":""),{escape:C,enter:I}=qa();IQ(()=>{C.value?g("cancel"):I.value&&g("submit")});const e=Ta(Q,"modelValue",g);function t(D){try{return TQ(D,Q.customType),!0}catch{return!1}}const o=Y(!1);return rA(e,NQ(()=>{o.value=!t(e.value)},300)),(D,w)=>(p(),y("span",$a,[U(F(GE),{modelValue:F(e),"onUpdate:modelValue":w[0]||(w[0]=i=>pQ(e)?e.value=i:null),type:E.value,variant:o.value?"warning":"normal",class:eA(["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?(p(),y(FA,{key:0},[uA((p(),_(F(pA),{size:"mini",flat:"",class:"p2px!",onClick:w[2]||(w[2]=VA(i=>D.$emit("cancel"),["stop"]))},{icon:x(()=>[U(F(cA),{icon:"i-material-symbols-cancel"})]),_:1})),[[F(yA),{content:"Esc to cancel"}]]),o.value?uA((p(),_(F(cA),{key:1,icon:"i-material-symbols-warning",class:"color-warning-500 dark:color-warning-300"},null,512)),[[F(yA),{content:"Invalid value"}]]):uA((p(),_(F(pA),{key:0,size:"mini",flat:"",class:"p2px!",onClick:w[3]||(w[3]=VA(i=>D.$emit("submit"),["stop"]))},{icon:x(()=>[U(F(cA),{icon:"i-material-symbols-save"})]),_:1})),[[F(yA),{content:"Enter to submit change"}]])],64)):z("",!0)]))}}),aC=j({__name:"ToggleExpanded",props:{value:{type:Boolean}},setup(A){return(B,Q)=>(p(),y("i",{class:eA(["i-radix-icons:triangle-right flex-none text-4 op-50 transition-base",{"transform rotate-90":B.value}])},null,2))}}),Do="expanded-state";function cQ(A=""){const B=Y([]);return KB(`${Do}-${A}`,B),{expanded:B}}function rC(A=""){const B=MB(`${Do}-${A}`,Y([]));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 Ar(A,B={}){const{enter:Q=()=>{},leave:g=()=>{},initial:E=!1}=B,C=Y(E);return EB(A,"mouseenter",()=>{C.value=!0,Q()}),EB(A,"mouseleave",()=>{C.value=!1,g()}),{isHovering:C}}const so=A=>(lg("data-v-4631f32d"),A=A(),hg(),A),Br={key:1,pl5:""},Qr={op70:"",class:"whitespace-nowrap"},gr=so(()=>N("span",{mx1:""},":",-1)),Er=["innerHTML"],Cr={key:0},Ir={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},er=so(()=>N("span",{"mx-1":""},":",-1)),JI=30,tr=j({__name:"StateFieldViewer",props:{data:{},depth:{},index:{},expandedStateId:{}},setup(A){const B=A,Q=Y(JI),g=J(()=>ft(B.data.value,!1,{customClass:{string:"max-w-120 truncate"}})),E=J(()=>DQ(B.data.value)),C=J(()=>IC(B.data.value)),{expanded:I,toggleExpanded:e}=rC(B.expandedStateId??""),t=J(()=>{var L;return E.value==="custom"?`${((L=B.data.value._custom)==null?void 0:L.type)??"string"}-custom-state`:""}),o=J(()=>{const{value:L}=C.value;return YC(L)?L.length:KC(L)?Object.keys(L).length:0}),D=J(()=>B.data.path||[B.data.key]),w=J(()=>D.value[D.value.length-1]),i=J(()=>{var L,O,T,R,IA,CA,MA;const fA=["Reactive"],DA=((O=(L=B.data)==null?void 0:L._custom)==null?void 0:O.stateTypeName)||((T=B.data)==null?void 0:T.stateTypeName);if(fA.includes(DA))return DA;if((IA=(R=B.data.value)==null?void 0:R.fields)!=null&&IA.abstract)return"";{const JA=(MA=(CA=B.data.value)==null?void 0:CA._custom)==null?void 0:MA.type,BB=E.value==="custom"&&!JA?`"${g.value}"`:g.value===""?'""':g.value,DB=E.value==="custom"&&JA==="ref"?DQ(BB):E.value,HQ=E.value==="string"?"select-text":"",RQ=`<span class="${DB}-state-type flex whitespace-nowrap ${HQ}">${BB}</span>`;return DA?`${RQ} <span class="text-gray-500">(${DA})</span>`:RQ}}),s=J(()=>{const{value:L,inherit:O,customType:T}=C.value,R=T==="set";let IA=[];return YC(L)?L.slice(0,Q.value).map((CA,MA)=>({key:MA.toString(),path:[...D.value,MA.toString()],value:CA,...O,editable:B.data.editable&&!R,creating:!1})):(KC(L)&&(IA=Object.keys(L).slice(0,Q.value).map(CA=>({key:CA,path:[...D.value,CA],value:L[CA],...O,editable:B.data.editable&&!R,creating:!1})),E.value!=="custom"&&(IA=We(IA))),IA===B.data.value?[]:IA)}),a=J(()=>s.value.length>0),n=Y(),r=nC(),{isHovering:M}=Ar(()=>n.value),{editingType:l,editing:c,editingText:u,toggleEditing:d,nodeId:k}=Xa();rA(()=>c.value,L=>{if(L){const{value:O}=C.value;u.value=Mi(O,C.value.customType)}else u.value=""});async function S(){const L=B.data;await gA.value.editInspectorState({path:D.value,inspectorId:r.value.inspectorId,type:L.stateType,nodeId:k.value,state:{newKey:null,type:l.value,value:TQ(u.value,C.value.customType)}}),await gA.value.sendInspectorState(r.value.inspectorId),d()}const{addNewProp:m,draftingNewProp:b,resetDrafting:K}=Va();function Z(L){const O=`${B.depth}-${B.index}`;I.value.includes(O)||e(O),m(L,C.value.value)}async function q(){const L=B.data;await gA.value.editInspectorState({path:[...D.value,b.value.key],inspectorId:r.value.inspectorId,type:L.stateType,nodeId:k.value,state:{newKey:b.value.key,type:typeof TQ(b.value.value),value:TQ(b.value.value)}}),await gA.value.sendInspectorState(r.value.inspectorId),K()}return(L,O)=>(p(),y("div",null,[N("div",{ref_key:"containerRef",ref:n,class:eA(["font-state-field flex items-center text-13px",[a.value&&"cursor-pointer hover:bg-active"]]),style:NA({paddingLeft:`${L.depth*15+4}px`}),onClick:O[1]||(O[1]=T=>F(e)(`${L.depth}-${L.index}`))},[a.value?(p(),_(aC,{key:0,value:F(I).includes(`${L.depth}-${L.index}`)},null,8,["value"])):(p(),y("span",Br)),N("span",Qr,GA(w.value),1),gr,F(c)?(p(),_(BE,{key:2,modelValue:F(u),"onUpdate:modelValue":O[0]||(O[0]=T=>pQ(u)?u.value=T:null),"custom-type":C.value.customType,onCancel:F(d),onSubmit:S},null,8,["modelValue","custom-type","onCancel"])):z("",!0),N("span",{class:eA([t.value,"flex whitespace-nowrap"])},[N("span",{class:"flex",innerHTML:i.value},null,8,Er)],2),U(ja,{hovering:F(M),"disable-edit":F(r).disableEdit,data:L.data,depth:L.depth,onEnableEditInput:F(d),onAddNewProp:Z},null,8,["hovering","disable-edit","data","depth","onEnableEditInput"])],6),a.value&&F(I).includes(`${L.depth}-${L.index}`)?(p(),y("div",Cr,[U(io,{data:s.value,depth:L.depth,index:L.index},null,8,["data","depth","index"]),o.value>Q.value?uA((p(),_(F(pA),{key:0,flat:"",size:"mini",class:"ml-4",onClick:O[2]||(O[2]=T=>Q.value+=JI)},{icon:x(()=>[U(F(cA),{icon:"i-material-symbols-more-horiz"})]),_:1})),[[F(yA),"Show more"]]):z("",!0),F(b).enable?(p(),y("div",{key:1,style:NA({paddingLeft:`${(L.depth+1)*15+4}px`})},[N("span",Ir,[U(BE,{modelValue:F(b).key,"onUpdate:modelValue":O[3]||(O[3]=T=>F(b).key=T),"show-actions":!1},null,8,["modelValue"])]),er,U(BE,{modelValue:F(b).value,"onUpdate:modelValue":O[4]||(O[4]=T=>F(b).value=T),"auto-focus":!1,onCancel:F(K),onSubmit:q},null,8,["modelValue","onCancel"])],4)):z("",!0)])):z("",!0)]))}}),or=dg(tr,[["__scopeId","data-v-4631f32d"]]),io=j({__name:"ChildStateViewer",props:{data:{},depth:{default:0},index:{},expandedStateId:{default:""}},setup(A){return(B,Q)=>(p(),y("div",null,[(p(!0),y(FA,null,dB(B.data,(g,E)=>(p(),y("div",{key:E},[U(or,{data:g,depth:B.depth+1,index:`${B.index}-${E}`,"expanded-state-id":B.expandedStateId},null,8,["data","depth","index","expanded-state-id"])]))),128))]))}}),wr=["onClick"],Dr={key:1,pl5:""},sr={"font-state-field":"","text-13px":""},ir={key:0},cC=j({__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}=Wa(Q());IQ(()=>{g.value=Q()});const{expanded:E,toggleExpanded:C}=rC(B.expandedStateId);return(I,e)=>(p(),y("div",null,[(p(!0),y(FA,null,dB(I.data,(t,o,D)=>(p(),y("div",{key:D},[N("div",{class:eA(["flex items-center",[t?.length&&"cursor-pointer hover:bg-active"]]),onClick:w=>F(C)(`${D}`)},[t!=null&&t.length?(p(),_(aC,{key:0,value:F(E).includes(`${D}`)},null,8,["value"])):(p(),y("span",Dr)),N("span",sr,GA(o),1)],10,wr),t!=null&&t.length&&F(E).includes(`${D}`)?(p(),y("div",ir,[U(io,{data:t,index:`${D}`,"expanded-state-id":I.expandedStateId},null,8,["data","index","expanded-state-id"])])):z("",!0)]))),128))]))}});function nr(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 ar(A,B){const Q=new Map,g=ao(A,B.toLowerCase(),Q,0);return Q.clear(),g}const no=10;function ao(A,B,Q,g){if(g>no)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=ro(B,I,e,Q,g+1),!E);t++);return E}function ro(A,B,Q,g,E){let C=!1,I;return B==="_custom"&&(B=Q.display,Q=Q.value),(I=rr(Q))&&(Q=I),B&&vI(B,A)?(C=!0,g.set(Q,!0)):g.has(Q)?C=g.get(Q):Array.isArray(Q)?(g.set(Q,null),C=cr(Q,A,g,E),g.set(Q,C)):wt(Q)?(g.set(Q,null),C=ao(Q,A,g,E),g.set(Q,C)):vI(Q,A)&&(C=!0,g.set(Q,!0)),C}function vI(A,B){return`${A}`.toLowerCase().includes(B)}function rr(A){return A===null?"null":A===Ng?"undefined":A===kg?"NaN":A===Gg?"Infinity":A===fg?"-Infinity":!1}function cr(A,B,Q,g){if(g>no)return!1;let E=!1,C;for(let I=0;I<A.length&&(C=A[I],E=ro(B,null,C,Q,g+1),!E);I++);return E}function OI(A){return A.toString(16).padStart(6,"0")}const lr=j({__name:"NodeTag",props:{tag:{}},setup(A){return(B,Q)=>uA((p(),y("span",{style:NA({color:`#${F(OI)(B.tag.textColor)}`,backgroundColor:`#${F(OI)(B.tag.backgroundColor)}`}),class:"ml-2 rounded-sm px-1 text-[0.75rem] leading-snug"},[RA(GA(B.tag.label),1)],4)),[[F(yA),{content:B.tag.tooltip,html:!0}]])}}),co=Symbol("SelectedSymbolKey");function hr(){const A=Y("");return KB(co,A),{selected:A}}function ur(){const A=MB(co,Y(""));function B(Q){A.value=Q}return{selected:A,select:B}}const Mr=["onClick","onDblclick"],dr={key:1,pl5:""},pr={"font-state-field":"","text-13px":""},Fr={key:0,class:"text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"},Nr={"group-hover:text-white":"",class:"ws-nowrap [.active_&]:text-white"},Gr={key:1,class:"text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"},fr={key:0},lC=j({__name:"TreeViewer",props:me({data:{},depth:{default:0},withTag:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(A){const B=Je(A,"modelValue"),{expanded:Q,toggleExpanded:g}=rC();ur();function E(I){return"name"in I&&I?.name||"label"in I&&I.label}function C(I){B.value=I}return(I,e)=>(p(!0),y(FA,null,dB(I.data,(t,o)=>{var D,w;return p(),y("div",{key:o,class:eA({"min-w-max":I.depth===0})},[N("div",{class:eA(["group flex cursor-pointer items-center rounded-1 hover:bg-primary-300 hover:dark:bg-gray-600",{"bg-primary-600! active":B.value===t.id}]),style:NA({paddingLeft:`${15*I.depth+4}px`}),onClick:i=>C(t.id),onDblclick:i=>F(g)(t.id)},[(D=t?.children)!=null&&D.length?(p(),_(aC,{key:0,value:F(Q).includes(t.id),class:"[.active_&]:op20 group-hover:op20",onClick:VA(i=>F(g)(t.id),["stop"])},null,8,["value","onClick"])):(p(),y("span",dr)),N("span",pr,[I.withTag?(p(),y("span",Fr,"<")):z("",!0),N("span",Nr,GA(E(t)),1),I.withTag?(p(),y("span",Gr,">")):z("",!0)]),(p(!0),y(FA,null,dB(t.tags,(i,s)=>(p(),_(lr,{key:s,tag:i},null,8,["tag"]))),128))],46,Mr),(w=t?.children)!=null&&w.length&&F(Q).includes(t.id)?(p(),y("div",fr,[U(lC,{modelValue:B.value,"onUpdate:modelValue":e[0]||(e[0]=i=>B.value=i),data:t?.children,depth:I.depth+1,"with-tag":I.withTag},null,8,["modelValue","data","depth","with-tag"])])):z("",!0)],2)}),128))}}),kr={class:"h-full flex flex-col"},Lr={"h-full":"","select-none":"","overflow-scroll":"",p2:"",class:"no-scrollbar"},yr={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},XB="pinia",Hr=j({__name:"Index",setup(A){const{expanded:B}=cQ(),{expanded:Q}=cQ("pinia-store-state"),g=Y(""),E=Y([]),C=J(()=>{var l,c;return(l=E.value)!=null&&l.length?D((c=E.value)==null?void 0:c[0]):[]}),I=J(()=>i(E.value)),e=J(()=>I.value.map(l=>l.id)),t=Y({}),o=J(()=>{var l,c;return!((l=t.value.state)!=null&&l.length)&&!((c=t.value.getters)!=null&&c.length)});function D(l,c=[],u=[]){var d;return c.push(l.id),((d=l.children)==null?void 0:d.length)===0&&u.push([...c]),Array.isArray(l.children)&&l.children.forEach(k=>{D(k,c,u)}),c.pop(),u}function w(l,c){const u=[];return l?.forEach(d=>{u.push(...d.slice(0,c+1))}),[...new Set(u)]}function i(l){const c=[],u=d=>{d?.forEach(k=>{var S;c.push(k),(S=k.children)!=null&&S.length&&u(k.children)})};return u(l),c}function s(l){var c;for(const u in l)(c=l[u])!=null&&c.length||delete l[u];return l}function a(l){gA.value.getInspectorState({inspectorId:XB,nodeId:l}).then(c=>{const u=zA(c);u&&(t.value=s(u),Q.value=Array.from({length:Object.keys(t.value).length},(d,k)=>`${k}`))})}function n(){t.value={}}rA(g,()=>{n(),a(g.value)}),gA.value.getInspectorTree({inspectorId:XB,filter:""}).then(l=>{const c=zA(l);E.value=c,!g.value&&c.length&&(g.value=c[0].id,a(c[0].id),B.value=w(C.value,1))});function r(l){const c=zA(l);c.inspectorId!==XB||!c.rootNodes.length||(E.value=c.rootNodes,e.value.includes(g.value)||(g.value=c.rootNodes[0].id,B.value=w(C.value,1),a(c.rootNodes[0].id)))}function M(l){const c=zA(l);if(c.inspectorId!==XB)return;const u=c.state;t.value=s({state:u.state,getters:u.getters})}return gA.functions.on(KA.INSPECTOR_TREE_UPDATED,r),gA.functions.on(KA.INSPECTOR_STATE_UPDATED,M),XE(()=>{gA.functions.off(KA.INSPECTOR_TREE_UPDATED,r),gA.functions.off(KA.INSPECTOR_STATE_UPDATED,M)}),(l,c)=>(p(),y("div",kr,[U(Ht,{"doc-link":"https://pinia.vuejs.org/","github-repo-link":"https://github.com/vuejs/pinia"},{default:x(()=>[U(yt)]),_:1}),U(F(zE),{class:"flex-1 overflow-auto"},{default:x(()=>[U(F(SB),{border:"r base",size:"40","h-full":""},{default:x(()=>[N("div",Lr,[U(lC,{modelValue:g.value,"onUpdate:modelValue":c[0]||(c[0]=u=>g.value=u),data:E.value},null,8,["modelValue","data"])])]),_:1}),U(F(SB),{size:"60"},{default:x(()=>[N("div",yr,[g.value&&!o.value?(p(),_(cC,{key:0,class:"p3",data:t.value,"node-id":g.value,"inspector-id":XB,"expanded-state-id":"pinia-store-state"},null,8,["data","node-id"])):(p(),_(Rt,{key:1},{default:x(()=>[RA(" No Data ")]),_:1}))])]),_:1})]),_:1})]))}});function Rr(){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 XQ;function fE(){fE.init||(fE.init=!0,XQ=Rr()!==-1)}var Sg={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){fE(),wB(()=>{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",XQ&&this.$el.appendChild(A),A.data="about:blank",XQ||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&&(!XQ&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Ur=Ke();lg("data-v-b329ee4c");const Pr={class:"resize-observer",tabindex:"-1"};hg();const Kr=Ur((A,B,Q,g,E,C)=>(p(),_("div",Pr)));Sg.render=Kr;Sg.__scopeId="data-v-b329ee4c";Sg.__file="src/components/ResizeObserver.vue";function ZQ(A){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ZQ=function(B){return typeof B}:ZQ=function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},ZQ(A)}function Yr(A,B){if(!(A instanceof B))throw new TypeError("Cannot call a class as a function")}function Sr(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 mr(A,B,Q){return B&&Sr(A.prototype,B),A}function xI(A){return Jr(A)||vr(A)||Or(A)||xr()}function Jr(A){if(Array.isArray(A))return kE(A)}function vr(A){if(typeof Symbol<"u"&&Symbol.iterator in Object(A))return Array.from(A)}function Or(A,B){if(A){if(typeof A=="string")return kE(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 kE(A,B)}}function kE(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 xr(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3
3
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function br(A){var B;return typeof A=="function"?B={callback:A}:B=A,B}function qr(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(xI(C))),E=e,clearTimeout(g),g=setTimeout(function(){A.apply(void 0,[e].concat(xI(C))),g=0},B)}};return I._clear=function(){clearTimeout(g),g=null},I}function lo(A,B){if(A===B)return!0;if(ZQ(A)==="object"){for(var Q in A)if(!lo(A[Q],B[Q]))return!1;return!0}return!1}var Tr=function(){function A(B,Q,g){Yr(this,A),this.el=B,this.observer=null,this.frozen=!1,this.createObserver(Q,g)}return mr(A,[{key:"createObserver",value:function(B,Q){var g=this;if(this.observer&&this.destroyObserver(),!this.frozen){if(this.options=br(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=qr(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),wB(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 ho(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 Tr(A,g,Q);A._vue_visibilityState=E}}function Wr(A,B,Q){var g=B.value,E=B.oldValue;if(!lo(g,E)){var C=A._vue_visibilityState;if(!g){uo(A);return}C?C.createObserver(g,Q):ho(A,{value:g},Q)}}function uo(A){var B=A._vue_visibilityState;B&&(B.destroyObserver(),delete A._vue_visibilityState)}var Xr={beforeMount:ho,updated:Wr,unmounted:uo},Zr={itemsLimit:1e3},Vr=/(auto|scroll)/;function Mo(A,B){return A.parentNode===null?B:Mo(A.parentNode,B.concat([A]))}var QE=function(A,B){return getComputedStyle(A,null).getPropertyValue(B)},zr=function(A){return QE(A,"overflow")+QE(A,"overflow-y")+QE(A,"overflow-x")},_r=function(A){return Vr.test(zr(A))};function bI(A){if(A instanceof HTMLElement||A instanceof SVGElement){for(var B=Mo(A.parentNode,[]),Q=0;Q<B.length;Q+=1)if(_r(B[Q]))return B[Q];return document.scrollingElement||document.documentElement}}function LE(A){"@babel/helpers - typeof";return LE=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},LE(A)}var jr={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 $r(){return this.items.length&&LE(this.items[0])!=="object"}var yE=!1;if(typeof window<"u"){yE=!1;try{var Ac=Object.defineProperty({},"passive",{get:function(){yE=!0}});window.addEventListener("test",null,Ac)}catch{}}let Bc=0;var hC={name:"RecycleScroller",components:{ResizeObserver:Sg},directives:{ObserveVisibility:Xr},props:{...jr,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:$r,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=yw({id:Bc++,index:B,used:!0,key:g,type:E}),I=Hw({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,i=this.$_unusedViews,s=this.pool,a=this.itemIndexByKey;let n,r,M,l,c;if(!o)n=r=l=c=M=0;else if(this.$_prerender)n=l=0,r=c=Math.min(this.prerender,t.length),M=null;else{const K=this.getScroll();if(B){let L=K.start-this.$_lastUpdateScrollPosition;if(L<0&&(L=-L),Q===null&&L<C||L<Q)return{continuous:!0}}this.$_lastUpdateScrollPosition=K.start;const Z=this.buffer;K.start-=Z,K.end+=Z;let q=0;if(this.$refs.before&&(q=this.$refs.before.scrollHeight,K.start-=q),this.$refs.after){const L=this.$refs.after.scrollHeight;K.end+=L}if(Q===null){let L,O=0,T=o-1,R=~~(o/2),IA;do IA=R,L=D[R].accumulator,L<K.start?O=R:R<o-1&&D[R+1].accumulator>K.start&&(T=R),R=~~((O+T)/2);while(R!==IA);for(R<0&&(R=0),n=R,M=D[o-1].accumulator,r=R;r<o&&D[r].accumulator<K.end;r++);for(r===-1?r=t.length-1:(r++,r>o&&(r=o)),l=n;l<o&&q+D[l].accumulator<K.start;l++);for(c=l;c<o&&q+D[c].accumulator<K.end;c++);}else{n=~~(K.start/Q*g);const L=n%g;n-=L,r=Math.ceil(K.end/Q*g),l=Math.max(0,Math.floor((K.start-q)/Q*g)),c=Math.floor((K.end-q)/Q*g),n<0&&(n=0),r>o&&(r=o),l<0&&(l=0),c>o&&(c=o),M=Math.ceil(o/g)*Q}}r-n>Zr.itemsLimit&&this.itemsLimitError(),this.totalSize=M;let u;const d=n<=this.$_endIndex&&r>=this.$_startIndex;if(d)for(let K=0,Z=s.length;K<Z;K++)u=s[K],u.nr.used&&(A&&(u.nr.index=a[u.item[e]]),(u.nr.index==null||u.nr.index<n||u.nr.index>=r)&&this.unuseView(u));const k=d?null:new Map;let S,m,b;for(let K=n;K<r;K++){S=t[K];const Z=e?S[e]:S;if(Z==null)throw new Error(`Key is ${Z} on item (keyField is '${e}')`);if(u=w.get(Z),!Q&&!D[K].size){u&&this.unuseView(u);continue}m=S[I];let q=i.get(m),L=!1;if(!u)d?q&&q.length?u=q.pop():u=this.addView(s,K,S,Z,m):(b=k.get(m)||0,(!q||b>=q.length)&&(u=this.addView(s,K,S,Z,m),this.unuseView(u,!0),q=i.get(m)),u=q[b],k.set(m,b+1)),w.delete(u.nr.key),u.nr.used=!0,u.nr.index=K,u.nr.key=Z,u.nr.type=m,w.set(Z,u),L=!0;else if(!u.nr.used&&(u.nr.used=!0,L=!0,q)){const O=q.indexOf(u);O!==-1&&q.splice(O,1)}u.item=S,L&&(K===t.length-1&&this.$emit("scroll-end"),K===0&&this.$emit("scroll-start")),Q===null?(u.position=D[K-1].accumulator,u.offset=0):(u.position=Math.floor(K/g)*Q,u.offset=K%g*E)}return this.$_startIndex=n,this.$_endIndex=r,this.emitUpdate&&this.$emit("update",n,r,l,c),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,this.updateInterval+300),{continuous:d}},getListenerTarget(){let A=bI(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,yE?{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=bI(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 Qc={key:0,ref:"before",class:"vue-recycle-scroller__slot"},gc={key:1,ref:"after",class:"vue-recycle-scroller__slot"};function Ec(A,B,Q,g,E,C){const I=YB("ResizeObserver"),e=Uw("observe-visibility");return uA((p(),y("div",{class:eA(["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?(p(),y("div",Qc,[EA(A.$slots,"before")],512)):z("v-if",!0),(p(),_(_Q(Q.listTag),{ref:"wrapper",style:NA({[A.direction==="vertical"?"minHeight":"minWidth"]:E.totalSize+"px"}),class:eA(["vue-recycle-scroller__item-wrapper",Q.listClass])},{default:x(()=>[(p(!0),y(FA,null,dB(E.pool,t=>(p(),_(_Q(Q.itemTag),LA({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}]]},Pw(Q.skipHover?{}:{mouseenter:()=>{E.hoverKey=t.nr.key},mouseleave:()=>{E.hoverKey=null}})),{default:x(()=>[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?(p(),y("div",gc,[EA(A.$slots,"after")],512)):z("v-if",!0),U(I,{onNotify:C.handleResize},null,8,["onNotify"])],34)),[[e,C.handleVisibilityChange]])}hC.render=Ec;hC.__file="src/components/RecycleScroller.vue";const Cc={class:"p3"},Ic=["onClick"],ec={key:0,class:"absolute left-5px top-4.5 h10 w0 border-l-2",border:"solid gray2"},tc={class:"h-full flex items-center truncate pl5"},oc={absolute:"","top-5":"",pr2:"","text-3":"",op40:""},wc={pl2:"",op30:""},Dc=j({__name:"EventList",props:me({data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(A){const B=A,Q=Je(A,"modelValue"),g=["#3e5770","#42b983","#0098c4"],E=Y(null),C=J(()=>{let I=-1,e=0;return B.data.forEach((t,o)=>{(t.groupId!==e||I===-1)&&(I=(I+1)%g.length),e=t.groupId??e,t.id=o,t.color=g[I]}),B.data});return rA(()=>C.value.length,I=>{var e;(e=E.value)==null||e.scrollToItem(I-1)},{flush:"post"}),(I,e)=>(p(),y("div",Cc,[U(F(hC),{ref_key:"scrollerRef",ref:E,items:C.value,"min-item-size":52,"key-field":"id","page-mode":"","item-tag":"li","list-tag":"ul",buffer:20},{default:x(({item:t})=>[N("div",{class:"relative mb7 h6 cursor-pointer",style:NA({color:Q.value===t.id?t.color:""}),onClick:o=>Q.value=t.id},[N("span",{class:"absolute top-1.5 inline-block h3 w3 b rounded-50%",style:NA({border:`3px solid ${t.color}`})},null,4),t.id<I.data.length-1?(p(),y("span",ec)):z("",!0),N("p",tc,[N("span",oc,"["+GA(F(nr)(t.time))+"]",1),RA(" "+GA(t.title)+" ",1),N("span",wc,GA(t.subtitle),1)])],12,Ic)]),_:1},8,["items"])]))}}),sc={class:"h-full flex flex-col"},ic={key:0,class:"flex-1 overflow-hidden"},nc={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},ac={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},rc=j({__name:"index",props:{layerIds:{},docLink:{},githubRepoLink:{}},setup(A){const B=A,{expanded:Q}=cQ("timeline-state");Q.value=["0","1"];const g=Y([]),E=Y(new Map),C=Y(0),I=J(()=>g.value[C.value]??null),e=J(()=>{var i;const s=[];for(const a in(i=I.value)==null?void 0:i.data)s.push({key:a,type:a,editable:!1,value:I.value.data[a]});return s}),t=J(()=>{var i,s,a;const n=(i=I.value)==null?void 0:i.groupId,r=E.value.get(n);if(r){const M=((s=r[r.length-1])==null?void 0:s.time)-(((a=r[0])==null?void 0:a.time)??0);return[{key:"events",type:"events",editable:!1,value:r.length},M&&{key:"duration",type:"duration",editable:!1,value:`${M}ms`}].filter(Boolean)}}),o=J(()=>({"Event Info":e.value,...t.value&&{"Group Info":t.value}}));function D(i){var s;const a=i.groupId;a!==void 0&&(E.value.set(a,E.value.get(a)??[]),(s=E.value.get(a))==null||s.push(i))}function w(i){const s=zA(i);if(!s)return;const{layerId:a,event:n}=s;B.layerIds.includes(a)&&(g.value.push(n),D(n))}return gA.functions.on(KA.TIMELINE_EVENT_UPDATED,w),XE(()=>{gA.functions.off(KA.TIMELINE_EVENT_UPDATED,w)}),(i,s)=>(p(),y("div",sc,[U(Ht,{"doc-link":i.docLink,"github-repo-link":i.githubRepoLink},{default:x(()=>[U(yt)]),_:1},8,["doc-link","github-repo-link"]),g.value.length?(p(),y("div",ic,[U(F(zE),{class:"h-full"},{default:x(()=>[U(F(SB),{border:"r base",size:"40","h-full":""},{default:x(()=>[N("div",nc,[U(Dc,{modelValue:C.value,"onUpdate:modelValue":s[0]||(s[0]=a=>C.value=a),data:g.value},null,8,["modelValue","data"])])]),_:1}),U(F(SB),{size:"60"},{default:x(()=>[N("div",ac,[U(cC,{class:"p3",data:o.value,"node-id":"","inspector-id":"","disable-edit":!0,"expanded-state-id":"timeline-state"},null,8,["data"])])]),_:1})]),_:1})])):(p(),_(Rt,{key:1,class:"flex-1"},{default:x(()=>[RA(" No events ")]),_:1}))]))}}),cc=j({__name:"Index",setup(A){const B=["pinia:mutations"];return(Q,g)=>(p(),_(rc,{"layer-ids":B,"doc-link":"https://pinia.vuejs.org/","github-repo-link":"https://github.com/vuejs/pinia"}))}}),lc={"h-full":"","w-full":""},lp=j({__name:"index",setup(A){const{VirtualRouterView:B}=Ww([{path:"/",name:"Home",component:wD,icon:"i-logos-pinia"},{path:"/store",name:"Store",component:Hr,icon:"i-carbon-tree-view-alt"},{path:"/timeline",name:"Timeline",component:cc,icon:"i-mdi:timeline-clock-outline"}]);return Y("/"),(Q,g)=>(p(),y("div",lc,[U(F(B))]))}});var po=typeof global=="object"&&global&&global.Object===Object&&global,hc=typeof self=="object"&&self&&self.Object===Object&&self,jA=po||hc||Function("return this")(),XA=jA.Symbol,Fo=Object.prototype,uc=Fo.hasOwnProperty,Mc=Fo.toString,ZB=XA?XA.toStringTag:void 0;function dc(A){var B=uc.call(A,ZB),Q=A[ZB];try{A[ZB]=void 0;var g=!0}catch{}var E=Mc.call(A);return g&&(B?A[ZB]=Q:delete A[ZB]),E}var pc=Object.prototype,Fc=pc.toString;function Nc(A){return Fc.call(A)}var Gc="[object Null]",fc="[object Undefined]",qI=XA?XA.toStringTag:void 0;function qB(A){return A==null?A===void 0?fc:Gc:qI&&qI in Object(A)?dc(A):Nc(A)}function OB(A){return A!=null&&typeof A=="object"}var kc="[object Symbol]";function uC(A){return typeof A=="symbol"||OB(A)&&qB(A)==kc}function Lc(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 mA=Array.isArray,yc=1/0,TI=XA?XA.prototype:void 0,WI=TI?TI.toString:void 0;function No(A){if(typeof A=="string")return A;if(mA(A))return Lc(A,No)+"";if(uC(A))return WI?WI.call(A):"";var B=A+"";return B=="0"&&1/A==-yc?"-0":B}function MC(A){var B=typeof A;return A!=null&&(B=="object"||B=="function")}function Hc(A){return A}var Rc="[object AsyncFunction]",Uc="[object Function]",Pc="[object GeneratorFunction]",Kc="[object Proxy]";function Go(A){if(!MC(A))return!1;var B=qB(A);return B==Uc||B==Pc||B==Rc||B==Kc}var gE=jA["__core-js_shared__"],XI=function(){var A=/[^.]+$/.exec(gE&&gE.keys&&gE.keys.IE_PROTO||"");return A?"Symbol(src)_1."+A:""}();function Yc(A){return!!XI&&XI in A}var Sc=Function.prototype,mc=Sc.toString;function fB(A){if(A!=null){try{return mc.call(A)}catch{}try{return A+""}catch{}}return""}var Jc=/[\\^$.*+?()[\]{}|]/g,vc=/^\[object .+?Constructor\]$/,Oc=Function.prototype,xc=Object.prototype,bc=Oc.toString,qc=xc.hasOwnProperty,Tc=RegExp("^"+bc.call(qc).replace(Jc,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Wc(A){if(!MC(A)||Yc(A))return!1;var B=Go(A)?Tc:vc;return B.test(fB(A))}function Xc(A,B){return A?.[B]}function kB(A,B){var Q=Xc(A,B);return Wc(Q)?Q:void 0}var Zc=kB(jA,"WeakMap");const HE=Zc;var ZI=function(){try{var A=kB(Object,"defineProperty");return A({},"",{}),A}catch{}}(),Vc=9007199254740991,zc=/^(?:0|[1-9]\d*)$/;function fo(A,B){var Q=typeof A;return B=B??Vc,!!B&&(Q=="number"||Q!="symbol"&&zc.test(A))&&A>-1&&A%1==0&&A<B}function _c(A,B,Q){B=="__proto__"&&ZI?ZI(A,B,{configurable:!0,enumerable:!0,value:Q,writable:!0}):A[B]=Q}function ko(A,B){return A===B||A!==A&&B!==B}var jc=9007199254740991;function dC(A){return typeof A=="number"&&A>-1&&A%1==0&&A<=jc}function Lo(A){return A!=null&&dC(A.length)&&!Go(A)}var $c=Object.prototype;function Al(A){var B=A&&A.constructor,Q=typeof B=="function"&&B.prototype||$c;return A===Q}function Bl(A,B){for(var Q=-1,g=Array(A);++Q<A;)g[Q]=B(Q);return g}var Ql="[object Arguments]";function VI(A){return OB(A)&&qB(A)==Ql}var yo=Object.prototype,gl=yo.hasOwnProperty,El=yo.propertyIsEnumerable,pC=VI(function(){return arguments}())?VI:function(A){return OB(A)&&gl.call(A,"callee")&&!El.call(A,"callee")};function Cl(){return!1}var Ho=typeof exports=="object"&&exports&&!exports.nodeType&&exports,zI=Ho&&typeof module=="object"&&module&&!module.nodeType&&module,Il=zI&&zI.exports===Ho,_I=Il?jA.Buffer:void 0,el=_I?_I.isBuffer:void 0,RE=el||Cl,tl="[object Arguments]",ol="[object Array]",wl="[object Boolean]",Dl="[object Date]",sl="[object Error]",il="[object Function]",nl="[object Map]",al="[object Number]",rl="[object Object]",cl="[object RegExp]",ll="[object Set]",hl="[object String]",ul="[object WeakMap]",Ml="[object ArrayBuffer]",dl="[object DataView]",pl="[object Float32Array]",Fl="[object Float64Array]",Nl="[object Int8Array]",Gl="[object Int16Array]",fl="[object Int32Array]",kl="[object Uint8Array]",Ll="[object Uint8ClampedArray]",yl="[object Uint16Array]",Hl="[object Uint32Array]",QA={};QA[pl]=QA[Fl]=QA[Nl]=QA[Gl]=QA[fl]=QA[kl]=QA[Ll]=QA[yl]=QA[Hl]=!0;QA[tl]=QA[ol]=QA[Ml]=QA[wl]=QA[dl]=QA[Dl]=QA[sl]=QA[il]=QA[nl]=QA[al]=QA[rl]=QA[cl]=QA[ll]=QA[hl]=QA[ul]=!1;function Rl(A){return OB(A)&&dC(A.length)&&!!QA[qB(A)]}function Ul(A){return function(B){return A(B)}}var Ro=typeof exports=="object"&&exports&&!exports.nodeType&&exports,EQ=Ro&&typeof module=="object"&&module&&!module.nodeType&&module,Pl=EQ&&EQ.exports===Ro,EE=Pl&&po.process,jI=function(){try{var A=EQ&&EQ.require&&EQ.require("util").types;return A||EE&&EE.binding&&EE.binding("util")}catch{}}(),$I=jI&&jI.isTypedArray,Uo=$I?Ul($I):Rl,Kl=Object.prototype,Yl=Kl.hasOwnProperty;function Sl(A,B){var Q=mA(A),g=!Q&&pC(A),E=!Q&&!g&&RE(A),C=!Q&&!g&&!E&&Uo(A),I=Q||g||E||C,e=I?Bl(A.length,String):[],t=e.length;for(var o in A)Yl.call(A,o)&&!(I&&(o=="length"||E&&(o=="offset"||o=="parent")||C&&(o=="buffer"||o=="byteLength"||o=="byteOffset")||fo(o,t)))&&e.push(o);return e}function ml(A,B){return function(Q){return A(B(Q))}}var Jl=ml(Object.keys,Object),vl=Object.prototype,Ol=vl.hasOwnProperty;function xl(A){if(!Al(A))return Jl(A);var B=[];for(var Q in Object(A))Ol.call(A,Q)&&Q!="constructor"&&B.push(Q);return B}function FC(A){return Lo(A)?Sl(A):xl(A)}var bl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ql=/^\w*$/;function NC(A,B){if(mA(A))return!1;var Q=typeof A;return Q=="number"||Q=="symbol"||Q=="boolean"||A==null||uC(A)?!0:ql.test(A)||!bl.test(A)||B!=null&&A in Object(B)}var lQ=kB(Object,"create");function Tl(){this.__data__=lQ?lQ(null):{},this.size=0}function Wl(A){var B=this.has(A)&&delete this.__data__[A];return this.size-=B?1:0,B}var Xl="__lodash_hash_undefined__",Zl=Object.prototype,Vl=Zl.hasOwnProperty;function zl(A){var B=this.__data__;if(lQ){var Q=B[A];return Q===Xl?void 0:Q}return Vl.call(B,A)?B[A]:void 0}var _l=Object.prototype,jl=_l.hasOwnProperty;function $l(A){var B=this.__data__;return lQ?B[A]!==void 0:jl.call(B,A)}var Ah="__lodash_hash_undefined__";function Bh(A,B){var Q=this.__data__;return this.size+=this.has(A)?0:1,Q[A]=lQ&&B===void 0?Ah:B,this}function FB(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])}}FB.prototype.clear=Tl;FB.prototype.delete=Wl;FB.prototype.get=zl;FB.prototype.has=$l;FB.prototype.set=Bh;function Qh(){this.__data__=[],this.size=0}function mg(A,B){for(var Q=A.length;Q--;)if(ko(A[Q][0],B))return Q;return-1}var gh=Array.prototype,Eh=gh.splice;function Ch(A){var B=this.__data__,Q=mg(B,A);if(Q<0)return!1;var g=B.length-1;return Q==g?B.pop():Eh.call(B,Q,1),--this.size,!0}function Ih(A){var B=this.__data__,Q=mg(B,A);return Q<0?void 0:B[Q][1]}function eh(A){return mg(this.__data__,A)>-1}function th(A,B){var Q=this.__data__,g=mg(Q,A);return g<0?(++this.size,Q.push([A,B])):Q[g][1]=B,this}function $A(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])}}$A.prototype.clear=Qh;$A.prototype.delete=Ch;$A.prototype.get=Ih;$A.prototype.has=eh;$A.prototype.set=th;var hQ=kB(jA,"Map");function oh(){this.size=0,this.__data__={hash:new FB,map:new(hQ||$A),string:new FB}}function wh(A){var B=typeof A;return B=="string"||B=="number"||B=="symbol"||B=="boolean"?A!=="__proto__":A===null}function Jg(A,B){var Q=A.__data__;return wh(B)?Q[typeof B=="string"?"string":"hash"]:Q.map}function Dh(A){var B=Jg(this,A).delete(A);return this.size-=B?1:0,B}function sh(A){return Jg(this,A).get(A)}function ih(A){return Jg(this,A).has(A)}function nh(A,B){var Q=Jg(this,A),g=Q.size;return Q.set(A,B),this.size+=Q.size==g?0:1,this}function AB(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])}}AB.prototype.clear=oh;AB.prototype.delete=Dh;AB.prototype.get=sh;AB.prototype.has=ih;AB.prototype.set=nh;var ah="Expected a function";function GC(A,B){if(typeof A!="function"||B!=null&&typeof B!="function")throw new TypeError(ah);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(GC.Cache||AB),Q}GC.Cache=AB;var rh=500;function ch(A){var B=GC(A,function(g){return Q.size===rh&&Q.clear(),g}),Q=B.cache;return B}var lh=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,hh=/\\(\\)?/g,uh=ch(function(A){var B=[];return A.charCodeAt(0)===46&&B.push(""),A.replace(lh,function(Q,g,E,C){B.push(E?C.replace(hh,"$1"):g||Q)}),B});function Mh(A){return A==null?"":No(A)}function Po(A,B){return mA(A)?A:NC(A,B)?[A]:uh(Mh(A))}var dh=1/0;function vg(A){if(typeof A=="string"||uC(A))return A;var B=A+"";return B=="0"&&1/A==-dh?"-0":B}function Ko(A,B){B=Po(B,A);for(var Q=0,g=B.length;A!=null&&Q<g;)A=A[vg(B[Q++])];return Q&&Q==g?A:void 0}function ph(A,B,Q){var g=A==null?void 0:Ko(A,B);return g===void 0?Q:g}function Yo(A,B){for(var Q=-1,g=B.length,E=A.length;++Q<g;)A[E+Q]=B[Q];return A}var Ae=XA?XA.isConcatSpreadable:void 0;function Fh(A){return mA(A)||pC(A)||!!(Ae&&A&&A[Ae])}function Nh(A,B,Q,g,E){var C=-1,I=A.length;for(Q||(Q=Fh),E||(E=[]);++C<I;){var e=A[C];Q(e)?Yo(E,e):E[E.length]=e}return E}function Gh(A){var B=A==null?0:A.length;return B?Nh(A):[]}function fh(){this.__data__=new $A,this.size=0}function kh(A){var B=this.__data__,Q=B.delete(A);return this.size=B.size,Q}function Lh(A){return this.__data__.get(A)}function yh(A){return this.__data__.has(A)}var Hh=200;function Rh(A,B){var Q=this.__data__;if(Q instanceof $A){var g=Q.__data__;if(!hQ||g.length<Hh-1)return g.push([A,B]),this.size=++Q.size,this;Q=this.__data__=new AB(g)}return Q.set(A,B),this.size=Q.size,this}function _A(A){var B=this.__data__=new $A(A);this.size=B.size}_A.prototype.clear=fh;_A.prototype.delete=kh;_A.prototype.get=Lh;_A.prototype.has=yh;_A.prototype.set=Rh;function Uh(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 Ph(){return[]}var Kh=Object.prototype,Yh=Kh.propertyIsEnumerable,Be=Object.getOwnPropertySymbols,Sh=Be?function(A){return A==null?[]:(A=Object(A),Uh(Be(A),function(B){return Yh.call(A,B)}))}:Ph;const mh=Sh;function Jh(A,B,Q){var g=B(A);return mA(A)?g:Yo(g,Q(A))}function Qe(A){return Jh(A,FC,mh)}var vh=kB(jA,"DataView");const UE=vh;var Oh=kB(jA,"Promise");const PE=Oh;var xh=kB(jA,"Set");const KE=xh;var ge="[object Map]",bh="[object Object]",Ee="[object Promise]",Ce="[object Set]",Ie="[object WeakMap]",ee="[object DataView]",qh=fB(UE),Th=fB(hQ),Wh=fB(PE),Xh=fB(KE),Zh=fB(HE),nB=qB;(UE&&nB(new UE(new ArrayBuffer(1)))!=ee||hQ&&nB(new hQ)!=ge||PE&&nB(PE.resolve())!=Ee||KE&&nB(new KE)!=Ce||HE&&nB(new HE)!=Ie)&&(nB=function(A){var B=qB(A),Q=B==bh?A.constructor:void 0,g=Q?fB(Q):"";if(g)switch(g){case qh:return ee;case Th:return ge;case Wh:return Ee;case Xh:return Ce;case Zh:return Ie}return B});const te=nB;var Vh=jA.Uint8Array;const oe=Vh;var zh="__lodash_hash_undefined__";function _h(A){return this.__data__.set(A,zh),this}function jh(A){return this.__data__.has(A)}function tg(A){var B=-1,Q=A==null?0:A.length;for(this.__data__=new AB;++B<Q;)this.add(A[B])}tg.prototype.add=tg.prototype.push=_h;tg.prototype.has=jh;function $h(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 Au(A,B){return A.has(B)}var Bu=1,Qu=2;function So(A,B,Q,g,E,C){var I=Q&Bu,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,i=!0,s=Q&Qu?new tg: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;i=!1;break}if(s){if(!$h(B,function(M,l){if(!Au(s,l)&&(a===M||E(a,M,Q,g,C)))return s.push(l)})){i=!1;break}}else if(!(a===n||E(a,n,Q,g,C))){i=!1;break}}return C.delete(A),C.delete(B),i}function gu(A){var B=-1,Q=Array(A.size);return A.forEach(function(g,E){Q[++B]=[E,g]}),Q}function Eu(A){var B=-1,Q=Array(A.size);return A.forEach(function(g){Q[++B]=g}),Q}var Cu=1,Iu=2,eu="[object Boolean]",tu="[object Date]",ou="[object Error]",wu="[object Map]",Du="[object Number]",su="[object RegExp]",iu="[object Set]",nu="[object String]",au="[object Symbol]",ru="[object ArrayBuffer]",cu="[object DataView]",we=XA?XA.prototype:void 0,CE=we?we.valueOf:void 0;function lu(A,B,Q,g,E,C,I){switch(Q){case cu:if(A.byteLength!=B.byteLength||A.byteOffset!=B.byteOffset)return!1;A=A.buffer,B=B.buffer;case ru:return!(A.byteLength!=B.byteLength||!C(new oe(A),new oe(B)));case eu:case tu:case Du:return ko(+A,+B);case ou:return A.name==B.name&&A.message==B.message;case su:case nu:return A==B+"";case wu:var e=gu;case iu:var t=g&Cu;if(e||(e=Eu),A.size!=B.size&&!t)return!1;var o=I.get(A);if(o)return o==B;g|=Iu,I.set(A,B);var D=So(e(A),e(B),g,E,C,I);return I.delete(A),D;case au:if(CE)return CE.call(A)==CE.call(B)}return!1}var hu=1,uu=Object.prototype,Mu=uu.hasOwnProperty;function du(A,B,Q,g,E,C){var I=Q&hu,e=Qe(A),t=e.length,o=Qe(B),D=o.length;if(t!=D&&!I)return!1;for(var w=t;w--;){var i=e[w];if(!(I?i in B:Mu.call(B,i)))return!1}var s=C.get(A),a=C.get(B);if(s&&a)return s==B&&a==A;var n=!0;C.set(A,B),C.set(B,A);for(var r=I;++w<t;){i=e[w];var M=A[i],l=B[i];if(g)var c=I?g(l,M,i,B,A,C):g(M,l,i,A,B,C);if(!(c===void 0?M===l||E(M,l,Q,g,C):c)){n=!1;break}r||(r=i=="constructor")}if(n&&!r){var u=A.constructor,d=B.constructor;u!=d&&"constructor"in A&&"constructor"in B&&!(typeof u=="function"&&u instanceof u&&typeof d=="function"&&d instanceof d)&&(n=!1)}return C.delete(A),C.delete(B),n}var pu=1,De="[object Arguments]",se="[object Array]",SQ="[object Object]",Fu=Object.prototype,ie=Fu.hasOwnProperty;function Nu(A,B,Q,g,E,C){var I=mA(A),e=mA(B),t=I?se:te(A),o=e?se:te(B);t=t==De?SQ:t,o=o==De?SQ:o;var D=t==SQ,w=o==SQ,i=t==o;if(i&&RE(A)){if(!RE(B))return!1;I=!0,D=!1}if(i&&!D)return C||(C=new _A),I||Uo(A)?So(A,B,Q,g,E,C):lu(A,B,t,Q,g,E,C);if(!(Q&pu)){var s=D&&ie.call(A,"__wrapped__"),a=w&&ie.call(B,"__wrapped__");if(s||a){var n=s?A.value():A,r=a?B.value():B;return C||(C=new _A),E(n,r,Q,g,C)}}return i?(C||(C=new _A),du(A,B,Q,g,E,C)):!1}function fC(A,B,Q,g,E){return A===B?!0:A==null||B==null||!OB(A)&&!OB(B)?A!==A&&B!==B:Nu(A,B,Q,g,fC,E)}var Gu=1,fu=2;function ku(A,B,Q,g){var E=Q.length,C=E;if(A==null)return!C;for(A=Object(A);E--;){var I=Q[E];if(I[2]?I[1]!==A[I[0]]:!(I[0]in A))return!1}for(;++E<C;){I=Q[E];var e=I[0],t=A[e],o=I[1];if(I[2]){if(t===void 0&&!(e in A))return!1}else{var D=new _A,w;if(!(w===void 0?fC(o,t,Gu|fu,g,D):w))return!1}}return!0}function mo(A){return A===A&&!MC(A)}function Lu(A){for(var B=FC(A),Q=B.length;Q--;){var g=B[Q],E=A[g];B[Q]=[g,E,mo(E)]}return B}function Jo(A,B){return function(Q){return Q==null?!1:Q[A]===B&&(B!==void 0||A in Object(Q))}}function yu(A){var B=Lu(A);return B.length==1&&B[0][2]?Jo(B[0][0],B[0][1]):function(Q){return Q===A||ku(Q,A,B)}}function Hu(A,B){return A!=null&&B in Object(A)}function Ru(A,B,Q){B=Po(B,A);for(var g=-1,E=B.length,C=!1;++g<E;){var I=vg(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&&dC(E)&&fo(I,E)&&(mA(A)||pC(A)))}function Uu(A,B){return A!=null&&Ru(A,B,Hu)}var Pu=1,Ku=2;function Yu(A,B){return NC(A)&&mo(B)?Jo(vg(A),B):function(Q){var g=ph(Q,A);return g===void 0&&g===B?Uu(Q,A):fC(B,g,Pu|Ku)}}function Su(A){return function(B){return B?.[A]}}function mu(A){return function(B){return Ko(B,A)}}function Ju(A){return NC(A)?Su(vg(A)):mu(A)}function vu(A){return typeof A=="function"?A:A==null?Hc:typeof A=="object"?mA(A)?Yu(A[0],A[1]):yu(A):Ju(A)}function Ou(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 xu(A){return function(B,Q,g){for(var E=-1,C=Object(B),I=g(B),e=I.length;e--;){var t=I[++E];if(Q(C[t],t,C)===!1)break}return B}}var bu=xu();const qu=bu;function Tu(A,B){return A&&qu(A,B,FC)}function Wu(A,B){return function(Q,g){if(Q==null)return Q;if(!Lo(Q))return A(Q,g);for(var E=Q.length,C=-1,I=Object(Q);++C<E&&g(I[C],C,I)!==!1;);return Q}}var Xu=Wu(Tu);function Zu(A,B,Q,g){return Xu(A,function(E,C,I){B(g,E,Q(E),I)}),g}function Vu(A,B){return function(Q,g){var E=mA(Q)?Ou:Zu,C={};return E(Q,A,vu(g),C)}}var zu=Object.prototype,_u=zu.hasOwnProperty,ju=Vu(function(A,B,Q){_u.call(A,Q)?A[Q].push(B):_c(A,Q,[B])});const $u=ju;var YA;(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"})(YA||(YA={}));var xB;(function(A){function B(D){return D.toString(2).padStart(32,"0")}A.toBinaryStr=B;function Q(D){const w=A.getLanguageId(D),i=A.getTokenType(D),s=A.getFontStyle(D),a=A.getForeground(D),n=A.getBackground(D);console.log({languageId:w,tokenType:i,fontStyle:s,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,i,s,a,n,r){let M=A.getLanguageId(D),l=A.getTokenType(D),c=A.containsBalancedBrackets(D)?1:0,u=A.getFontStyle(D),d=A.getForeground(D),k=A.getBackground(D);return w!==0&&(M=w),i!==8&&(l=i),s!==null&&(c=s?1:0),a!==-1&&(u=a),n!==0&&(d=n),r!==0&&(k=r),(M<<0|l<<8|c<<10|u<<11|d<<15|k<<24)>>>0}A.set=o})(xB||(xB={}));function og(A,B){const Q=[],g=A0(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(ne(E)){const t=[];do t.push(E),E=g.next();while(ne(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 ne(A){return!!A&&!!A.match(/[\w\.:]+/)}function A0(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 vo(A){typeof A.dispose=="function"&&A.dispose()}function B0(A){return kC(A)}function kC(A){return Array.isArray(A)?Q0(A):typeof A=="object"?g0(A):A}function Q0(A){let B=[];for(let Q=0,g=A.length;Q<g;Q++)B[Q]=kC(A[Q]);return B}function g0(A){let B={};for(let Q in A)B[Q]=kC(A[Q]);return B}function Oo(A,...B){return B.forEach(Q=>{for(let g in Q)A[g]=Q[g]}),A}function xo(A){const B=~A.lastIndexOf("/")||~A.lastIndexOf("\\");return B===0?A:~B===A.length-1?xo(A.substring(0,A.length-1)):A.substr(~B+1)}let IE=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class mQ{static hasCaptures(B){return B===null?!1:(IE.lastIndex=0,IE.test(B))}static replaceCaptures(B,Q,g){return B.replace(IE,(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 bo(A,B){return A<B?-1:A>B?1:0}function qo(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=bo(A[E],B[E]);if(C!==0)return C}return 0}return Q-g}function ae(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 To(A){return A.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}class Wo{constructor(B){h(this,"fn"),h(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 uQ{constructor(B){h(this,"scopeName"),this.scopeName=B}toKey(){return this.scopeName}}class E0{constructor(B,Q){h(this,"scopeName"),h(this,"ruleName"),this.scopeName=B,this.ruleName=Q}toKey(){return`${this.scopeName}#${this.ruleName}`}}class C0{constructor(){h(this,"_references",[]),h(this,"_seenReferenceKeys",new Set),h(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 I0{constructor(B,Q){h(this,"repo"),h(this,"initialScopeName"),h(this,"seenFullScopeRequests",new Set),h(this,"seenPartialScopeRequests",new Set),h(this,"Q"),this.repo=B,this.initialScopeName=Q,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new uQ(this.initialScopeName)]}processQueue(){const B=this.Q;this.Q=[];const Q=new C0;for(const g of B)e0(g,this.initialScopeName,this.repo,Q);for(const g of Q.references)if(g instanceof uQ){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 e0(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 uQ?VQ({baseGrammar:C,selfGrammar:E},g):YE(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 uQ(e))}function YE(A,B,Q){if(B.repository&&B.repository[A]){const g=B.repository[A];wg([g],B,Q)}}function VQ(A,B){A.selfGrammar.patterns&&Array.isArray(A.selfGrammar.patterns)&&wg(A.selfGrammar.patterns,{...A,repository:A.selfGrammar.repository},B),A.selfGrammar.injections&&wg(Object.values(A.selfGrammar.injections),{...A,repository:A.selfGrammar.repository},B)}function wg(A,B,Q){for(const g of A){if(Q.visitedRule.has(g))continue;Q.visitedRule.add(g);const E=g.repository?Oo({},B.repository,g.repository):B.repository;Array.isArray(g.patterns)&&wg(g.patterns,{...B,repository:E},Q);const C=g.include;if(!C)continue;const I=Xo(C);switch(I.kind){case 0:VQ({...B,selfGrammar:B.baseGrammar},Q);break;case 1:VQ(B,Q);break;case 2:YE(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?YE(I.ruleName,t,Q):VQ(t,Q)}else I.kind===4?Q.add(new E0(I.scopeName,I.ruleName)):Q.add(new uQ(I.scopeName));break}}}class t0{constructor(){h(this,"kind",0)}}class o0{constructor(){h(this,"kind",1)}}class w0{constructor(B){h(this,"ruleName"),h(this,"kind",2),this.ruleName=B}}class D0{constructor(B){h(this,"scopeName"),h(this,"kind",3),this.scopeName=B}}class s0{constructor(B,Q){h(this,"scopeName"),h(this,"ruleName"),h(this,"kind",4),this.scopeName=B,this.ruleName=Q}}function Xo(A){if(A==="$base")return new t0;if(A==="$self")return new o0;const B=A.indexOf("#");if(B===-1)return new D0(A);if(B===0)return new w0(A.substring(1));{const Q=A.substring(0,B),g=A.substring(B+1);return new s0(Q,g)}}const i0=/\\(\d+)/,re=/\\(\d+)/g,n0=-1,Zo=-2;class kQ{constructor(B,Q,g,E){h(this,"$location"),h(this,"id"),h(this,"_nameIsCapturing"),h(this,"_name"),h(this,"_contentNameIsCapturing"),h(this,"_contentName"),this.$location=B,this.id=Q,this._name=g||null,this._nameIsCapturing=mQ.hasCaptures(this._name),this._contentName=E||null,this._contentNameIsCapturing=mQ.hasCaptures(this._contentName)}get debugName(){const B=this.$location?`${xo(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:mQ.replaceCaptures(this._name,B,Q)}getContentName(B,Q){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:mQ.replaceCaptures(this._contentName,B,Q)}}class a0 extends kQ{constructor(B,Q,g,E,C){super(B,Q,g,E),h(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 r0 extends kQ{constructor(B,Q,g,E,C){super(B,Q,g,null),h(this,"_match"),h(this,"captures"),h(this,"_cachedCompiledPatterns"),this._match=new NB(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 MQ,this.collectPatterns(B,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class ce extends kQ{constructor(B,Q,g,E,C){super(B,Q,g,E),h(this,"hasMissingPatterns"),h(this,"patterns"),h(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 MQ,this.collectPatterns(B,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class SE extends kQ{constructor(B,Q,g,E,C,I,e,t,o,D){super(B,Q,g,E),h(this,"_begin"),h(this,"beginCaptures"),h(this,"_end"),h(this,"endHasBackReferences"),h(this,"endCaptures"),h(this,"applyEndPatternLast"),h(this,"hasMissingPatterns"),h(this,"patterns"),h(this,"_cachedCompiledPatterns"),this._begin=new NB(C,this.id),this.beginCaptures=I,this._end=new NB(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 MQ;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 Dg extends kQ{constructor(B,Q,g,E,C,I,e,t,o){super(B,Q,g,E),h(this,"_begin"),h(this,"beginCaptures"),h(this,"whileCaptures"),h(this,"_while"),h(this,"whileHasBackReferences"),h(this,"hasMissingPatterns"),h(this,"patterns"),h(this,"_cachedCompiledPatterns"),h(this,"_cachedCompiledWhilePatterns"),this._begin=new NB(C,this.id),this.beginCaptures=I,this.whileCaptures=t,this._while=new NB(e,Zo),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 MQ;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 MQ,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,Q||""),this._cachedCompiledWhilePatterns}}class sA{static createCaptureRule(B,Q,g,E,C){return B.registerRule(I=>new a0(Q,I,g,E,C))}static getCompiledRuleId(B,Q,g){return B.id||Q.registerRule(E=>{if(B.id=E,B.match)return new r0(B.$vscodeTextmateLocation,B.id,B.name,B.match,sA._compileCaptures(B.captures,Q,g));if(typeof B.begin>"u"){B.repository&&(g=Oo({},g,B.repository));let C=B.patterns;return typeof C>"u"&&B.include&&(C=[{include:B.include}]),new ce(B.$vscodeTextmateLocation,B.id,B.name,B.contentName,sA._compilePatterns(C,Q,g))}return B.while?new Dg(B.$vscodeTextmateLocation,B.id,B.name,B.contentName,B.begin,sA._compileCaptures(B.beginCaptures||B.captures,Q,g),B.while,sA._compileCaptures(B.whileCaptures||B.captures,Q,g),sA._compilePatterns(B.patterns,Q,g)):new SE(B.$vscodeTextmateLocation,B.id,B.name,B.contentName,B.begin,sA._compileCaptures(B.beginCaptures||B.captures,Q,g),B.end,sA._compileCaptures(B.endCaptures||B.captures,Q,g),B.applyEndPatternLast,sA._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=sA.getCompiledRuleId(B[I],Q,g)),E[e]=sA.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=Xo(e.include);switch(o.kind){case 0:case 1:t=sA.getCompiledRuleId(g[e.include],Q,g);break;case 2:let D=g[o.ruleName];D&&(t=sA.getCompiledRuleId(D,Q,g));break;case 3:case 4:const w=o.scopeName,i=o.kind===4?o.ruleName:null,s=Q.getExternalGrammar(w,g);if(s)if(i){let a=s.repository[i];a&&(t=sA.getCompiledRuleId(a,Q,s.repository))}else t=sA.getCompiledRuleId(s.repository.$self,Q,s.repository);break}}else t=sA.getCompiledRuleId(e,Q,g);if(t!==-1){const o=Q.getRule(t);let D=!1;if((o instanceof ce||o instanceof SE||o instanceof Dg)&&o.hasMissingPatterns&&o.patterns.length===0&&(D=!0),D)continue;E.push(t)}}return{patterns:E,hasMissingPatterns:(B?B.length:0)!==E.length}}}class NB{constructor(B,Q){if(h(this,"source"),h(this,"ruleId"),h(this,"hasAnchor"),h(this,"hasBackReferences"),h(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=i0.test(this.source)}clone(){return new NB(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 re.lastIndex=0,this.source.replace(re,(E,C)=>To(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 MQ{constructor(){h(this,"_items"),h(this,"_hasAnchors"),h(this,"_cached"),h(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 le(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 le(B,E,this._items.map(C=>C.ruleId))}}class le{constructor(B,Q,g){h(this,"regExps"),h(this,"rules"),h(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(`
|
|
4
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 sg{constructor(B,Q,g){h(this,"_colorMap"),h(this,"_defaults"),h(this,"_root"),h(this,"_cachedMatchRoot",new Wo(E=>this._root.match(E))),this._colorMap=B,this._defaults=Q,this._root=g}static createFromRawTheme(B,Q){return this.createFromParsedTheme(h0(B),Q)}static createFromParsedTheme(B,Q){return M0(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=>c0(B.parent,E.parentScopes));return g?new Vo(g.fontStyle,g.foreground,g.background):null}}class uB{constructor(B,Q){h(this,"parent"),h(this,"scopeName"),this.parent=B,this.scopeName=Q}static push(B,Q){for(const g of Q)B=new uB(B,g);return B}static from(...B){let Q=null;for(let g=0;g<B.length;g++)Q=new uB(Q,B[g]);return Q}push(B){return new uB(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 c0(A,B){if(B===null)return!0;let Q=0,g=B[Q];for(;A;){if(l0(A.scopeName,g)){if(Q++,Q===B.length)return!0;g=B[Q]}A=A.parent}return!1}function l0(A,B){return B===A||A.startsWith(B)&&A[B.length]==="."}class Vo{constructor(B,Q,g){h(this,"fontStyle"),h(this,"foregroundId"),h(this,"backgroundId"),this.fontStyle=B,this.foregroundId=Q,this.backgroundId=g}}function h0(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 i=0,s=w.length;i<s;i++)switch(w[i]){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"&&ae(I.settings.foreground)&&(o=I.settings.foreground);let D=null;typeof I.settings.background=="string"&&ae(I.settings.background)&&(D=I.settings.background);for(let w=0,i=e.length;w<i;w++){let s=e[w].trim().split(" "),a=s[s.length-1],n=null;s.length>1&&(n=s.slice(0,s.length-1),n.reverse()),Q[g++]=new u0(a,n,E,t,o,D)}}return Q}class u0{constructor(B,Q,g,E,C,I){h(this,"scope"),h(this,"parentScopes"),h(this,"index"),h(this,"fontStyle"),h(this,"foreground"),h(this,"background"),this.scope=B,this.parentScopes=Q,this.index=g,this.fontStyle=E,this.foreground=C,this.background=I}}function M0(A,B){A.sort((t,o)=>{let D=bo(t.scope,o.scope);return D!==0||(D=qo(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 d0(B),I=new Vo(Q,C.getId(g),C.getId(E)),e=new CQ(new dQ(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 sg(C,I,e)}class d0{constructor(B){if(h(this,"_isFrozen"),h(this,"_lastColorId"),h(this,"_id2color"),h(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 dQ{constructor(B,Q,g,E,C){h(this,"scopeDepth"),h(this,"parentScopes"),h(this,"fontStyle"),h(this,"foreground"),h(this,"background"),this.scopeDepth=B,this.parentScopes=Q,this.fontStyle=g,this.foreground=E,this.background=C}clone(){return new dQ(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 CQ{constructor(B,Q=[],g={}){h(this,"_mainRule"),h(this,"_children"),h(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 CQ._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):CQ._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 CQ(this._mainRule.clone(),dQ.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(qo(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 dQ(B,Q,g,E,C))}}class mE{constructor(B,Q){h(this,"languageId"),h(this,"tokenType"),this.languageId=B,this.tokenType=Q}}const JE=class vE{constructor(B,Q){h(this,"_defaultAttributes"),h(this,"_embeddedLanguagesMatcher"),h(this,"_getBasicScopeAttributes",new Wo(g=>{const E=this._scopeToLanguage(g),C=this._toStandardTokenType(g);return new mE(E,C)})),this._defaultAttributes=new mE(B,8),this._embeddedLanguagesMatcher=new F0(Object.entries(Q||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(B){return B===null?vE._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(B)}_scopeToLanguage(B){return this._embeddedLanguagesMatcher.match(B)||0}_toStandardTokenType(B){const Q=B.match(vE.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!")}};h(JE,"_NULL_SCOPE_METADATA",new mE(0,0)),h(JE,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/);let p0=JE;class F0{constructor(B){if(h(this,"values"),h(this,"scopesRegExp"),B.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(B);const Q=B.map(([g,E])=>To(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 he{constructor(B,Q){h(this,"stack"),h(this,"stoppedEarly"),this.stack=B,this.stoppedEarly=Q}}function zo(A,B,Q,g,E,C,I,e){const t=B.content.length;let o=!1,D=-1;if(I){const s=N0(A,B,Q,g,E,C);E=s.stack,g=s.linePos,Q=s.isFirstLine,D=s.anchorPosition}const w=Date.now();for(;!o;){if(e!==0&&Date.now()-w>e)return new he(E,!0);i()}return new he(E,!1);function i(){const s=G0(A,B,Q,g,E,D);if(!s){C.produce(E,t),o=!0;return}const a=s.captureIndices,n=s.matchedRuleId,r=a&&a.length>0?a[0].end>g:!1;if(n===n0){const M=E.getRule(A);C.produce(E,a[0].start),E=E.withContentNameScopesList(E.nameScopesList),jB(A,B,Q,E,C,M.endCaptures,a),C.produce(E,a[0].end);const l=E;if(E=E.parent,D=l.getAnchorPos(),!r&&l.getEnterPos()===g){E=l,C.produce(E,t),o=!0;return}}else{const M=A.getRule(n);C.produce(E,a[0].start);const l=E,c=M.getName(B.content,a),u=E.contentNameScopesList.pushAttributed(c,A);if(E=E.push(n,g,D,a[0].end===t,null,u,u),M instanceof SE){const d=M;jB(A,B,Q,E,C,d.beginCaptures,a),C.produce(E,a[0].end),D=a[0].end;const k=d.getContentName(B.content,a),S=u.pushAttributed(k,A);if(E=E.withContentNameScopesList(S),d.endHasBackReferences&&(E=E.withEndRule(d.getEndWithResolvedBackReferences(B.content,a))),!r&&l.hasSameRuleAs(E)){E=E.pop(),C.produce(E,t),o=!0;return}}else if(M instanceof Dg){const d=M;jB(A,B,Q,E,C,d.beginCaptures,a),C.produce(E,a[0].end),D=a[0].end;const k=d.getContentName(B.content,a),S=u.pushAttributed(k,A);if(E=E.withContentNameScopesList(S),d.whileHasBackReferences&&(E=E.withEndRule(d.getWhileWithResolvedBackReferences(B.content,a))),!r&&l.hasSameRuleAs(E)){E=E.pop(),C.produce(E,t),o=!0;return}}else if(jB(A,B,Q,E,C,M.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 N0(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 Dg&&e.push({rule:o,stack:t})}for(let t=e.pop();t;t=e.pop()){const{ruleScanner:o,findOptions:D}=L0(t.rule,A,t.stack.endRule,Q,g===I),w=o.findNextMatchSync(B,g,D);if(w){if(w.ruleId!==Zo){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 G0(A,B,Q,g,E,C){const I=f0(A,B,Q,g,E,C),e=A.getInjections();if(e.length===0)return I;const t=k0(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 f0(A,B,Q,g,E,C){const I=E.getRule(A),{ruleScanner:e,findOptions:t}=_o(I,A,E.endRule,Q,g===C),o=e.findNextMatchSync(B,g,t);return o?{captureIndices:o.captureIndices,matchedRuleId:o.ruleId}:null}function k0(A,B,Q,g,E,C,I){let e=Number.MAX_VALUE,t=null,o,D=0;const w=C.contentNameScopesList.getScopeNames();for(let i=0,s=A.length;i<s;i++){const a=A[i];if(!a.matcher(w))continue;const n=B.getRule(a.ruleId),{ruleScanner:r,findOptions:M}=_o(n,B,null,g,E===I),l=r.findNextMatchSync(Q,E,M);if(!l)continue;const c=l.captureIndices[0].start;if(!(c>=e)&&(e=c,t=l.captureIndices,o=l.ruleId,D=a.priority,e===E))break}return t?{priorityMatch:D===-1,captureIndices:t,matchedRuleId:o}:null}function _o(A,B,Q,g,E){return{ruleScanner:A.compileAG(B,Q,g,E),findOptions:0}}function L0(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 i=C[w];if(i===null)continue;const s=I[w];if(s.length===0)continue;if(s.start>D)break;for(;o.length>0&&o[o.length-1].endPos<=s.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,s.start):E.produce(g,s.start),i.retokenizeCapturedWithRuleId){const n=i.getName(e,I),r=g.contentNameScopesList.pushAttributed(n,A),M=i.getContentName(e,I),l=r.pushAttributed(M,A),c=g.push(i.retokenizeCapturedWithRuleId,s.start,-1,!1,null,r,l),u=A.createOnigString(e.substring(0,s.end));zo(A,u,Q&&s.start===0,s.start,c,E,!1,0),vo(u);continue}const a=i.getName(e,I);if(a!==null){const n=(o.length>0?o[o.length-1].scopes:g.contentNameScopesList).pushAttributed(a,A);o.push(new y0(n,s.end))}}for(;o.length>0;)E.produceFromScopes(o[o.length-1].scopes,o[o.length-1].endPos),o.pop()}class y0{constructor(B,Q){h(this,"scopes"),h(this,"endPos"),this.scopes=B,this.endPos=Q}}function H0(A,B,Q,g,E,C,I,e){return new U0(A,B,Q,g,E,C,I,e)}function ue(A,B,Q,g,E){const C=og(B,ig),I=sA.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 ig(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(R0(B[E],g))return Q=E+1,!0;return!1})}function R0(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 U0{constructor(B,Q,g,E,C,I,e,t){if(h(this,"_rootScopeName"),h(this,"balancedBracketSelectors"),h(this,"_onigLib"),h(this,"_rootId"),h(this,"_lastRuleId"),h(this,"_ruleId2desc"),h(this,"_includedGrammars"),h(this,"_grammarRepository"),h(this,"_grammar"),h(this,"_injections"),h(this,"_basicScopeAttributesProvider"),h(this,"_tokenTypeMatchers"),this._rootScopeName=B,this.balancedBracketSelectors=I,this._onigLib=t,this._basicScopeAttributesProvider=new p0(g,E),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=e,this._grammar=Me(Q,null),this._injections=null,this._tokenTypeMatchers=[],C)for(const o of Object.keys(C)){const D=og(o,ig);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)ue(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&&ue(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]=Me(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=sA.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let C;if(!Q||Q===xE.NULL){C=!0;const D=this._basicScopeAttributesProvider.getDefaultAttributes(),w=this.themeProvider.getDefaults(),i=xB.set(0,D.languageId,D.tokenType,null,w.fontStyle,w.foregroundId,w.backgroundId),s=this.getRule(this._rootId).getName(null,null);let a;s?a=lA.createRootAndLookUpScopeName(s,i,this):a=lA.createRoot("unknown",i),Q=new xE(null,this._rootId,-1,-1,!1,null,a,a)}else C=!1,Q.reset();B=B+`
|
|
5
5
|
`;const I=this.createOnigString(B),e=I.content.length,t=new K0(g,B,this._tokenTypeMatchers,this.balancedBracketSelectors),o=zo(this,I,C,0,Q,t,!0,E);return vo(I),{lineLength:e,lineTokens:t,ruleStack:o.stack,stoppedEarly:o.stoppedEarly}}}function Me(A,B){return A=B0(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 lA{constructor(B,Q,g){h(this,"parent"),h(this,"scopePath"),h(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=uB.push(E,C.scopeNames),g=new lA(g,E,C.encodedTokenAttributes);return g}static createRoot(B,Q){return new lA(null,new uB(null,B),Q)}static createRootAndLookUpScopeName(B,Q,g){const E=g.getMetadataForScope(B),C=new uB(null,B),I=g.themeProvider.themeMatch(C),e=lA.mergeAttributes(Q,E,I);return new lA(null,C,e)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(B){return lA.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),xB.set(B,Q.languageId,Q.tokenType,null,E,C,I)}pushAttributed(B,Q){if(B===null)return this;if(B.indexOf(" ")===-1)return lA._pushAttributed(this,B,Q);const g=B.split(/ /g);let E=this;for(const C of g)E=lA._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=lA.mergeAttributes(B.tokenAttributes,E,I);return new lA(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 OE=class yB{constructor(B,Q,g,E,C,I,e,t){h(this,"parent"),h(this,"ruleId"),h(this,"beginRuleCapturedEOL"),h(this,"endRule"),h(this,"nameScopesList"),h(this,"contentNameScopesList"),h(this,"_stackElementBrand"),h(this,"_enterPos"),h(this,"_anchorPos"),h(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:yB._equals(this,B)}static _equals(B,Q){return B===Q?!0:this._structuralEquals(B,Q)?lA.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(){yB._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(B,Q,g,E,C,I,e){return new yB(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 yB(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=lA.fromExtension(B?.nameScopesList??null,Q.nameScopesList);return new yB(B,Q.ruleId,Q.enterPos??-1,Q.anchorPos??-1,Q.beginRuleCapturedEOL,Q.endRule,g,lA.fromExtension(g,Q.contentNameScopesList))}};h(OE,"NULL",new OE(null,0,0,0,!1,null,null,null));let xE=OE;class P0{constructor(B,Q){h(this,"balancedBracketScopes"),h(this,"unbalancedBracketScopes"),h(this,"allowAny",!1),this.balancedBracketScopes=B.flatMap(g=>g==="*"?(this.allowAny=!0,[]):og(g,ig).map(E=>E.matcher)),this.unbalancedBracketScopes=Q.flatMap(g=>og(g,ig).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 K0{constructor(B,Q,g,E){h(this,"balancedBracketSelectors"),h(this,"_emitBinaryTokens"),h(this,"_lineText"),h(this,"_tokens"),h(this,"_binaryTokens"),h(this,"_lastTokenEndIndex"),h(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=xB.set(C,0,t.type,null,-1,0,0));this.balancedBracketSelectors&&(I=this.balancedBracketSelectors.match(e))}if(I&&(C=xB.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 Y0{constructor(B,Q){h(this,"_onigLibPromise"),h(this,"_grammars",new Map),h(this,"_rawGrammars",new Map),h(this,"_injectionGrammars",new Map),h(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,H0(B,I,Q,g,E,C,this,await this._onigLibPromise))}return this._grammars.get(B)}}let S0=class{constructor(A){h(this,"_options"),h(this,"_syncRegistry"),h(this,"_ensureGrammarCache"),this._options=A,this._syncRegistry=new Y0(sg.createFromRawTheme(A.theme,A.colorMap),A.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(A,B){this._syncRegistry.setTheme(sg.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 P0(Q.balancedBracketSelectors||[],Q.unbalancedBracketSelectors||[]))}loadGrammar(A){return this._loadGrammar(A,0,null,null,null)}async _loadGrammar(A,B,Q,g,E){const C=new I0(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 m0=xE.NULL,nA={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 ZA{static toBinaryStr(B){let Q=B.toString(2);for(;Q.length<32;)Q=`0${Q}`;return Q}static getLanguageId(B){return(B&nA.LANGUAGEID_MASK)>>>nA.LANGUAGEID_OFFSET}static getTokenType(B){return(B&nA.TOKEN_TYPE_MASK)>>>nA.TOKEN_TYPE_OFFSET}static getFontStyle(B){return(B&nA.FONT_STYLE_MASK)>>>nA.FONT_STYLE_OFFSET}static getForeground(B){return(B&nA.FOREGROUND_MASK)>>>nA.FOREGROUND_OFFSET}static getBackground(B){return(B&nA.BACKGROUND_MASK)>>>nA.BACKGROUND_OFFSET}static containsBalancedBrackets(B){return(B&nA.BALANCED_BRACKETS_MASK)!==0}static set(B,Q,g,E,C,I){let e=ZA.getLanguageId(B),t=ZA.getTokenType(B),o=ZA.getFontStyle(B),D=ZA.getForeground(B),w=ZA.getBackground(B);const i=ZA.containsBalancedBrackets(B)?1:0;return Q!==0&&(e=Q),g!==0&&(t=g===8?0:g),E!==YA.NotSet&&(o=E),C!==0&&(D=C),I!==0&&(w=I),(e<<nA.LANGUAGEID_OFFSET|t<<nA.TOKEN_TYPE_OFFSET|o<<nA.FONT_STYLE_OFFSET|i<<nA.BALANCED_BRACKETS_OFFSET|D<<nA.FOREGROUND_OFFSET|w<<nA.BACKGROUND_OFFSET)>>>0}}function Og(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 jo(A){return!A||["plaintext","txt","text","plain"].includes(A)}function J0(A){return A==="ansi"||jo(A)}function $o(A){return A==="none"}function v0(A){return $o(A)}function Aw(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 O0(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 x0(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?O0(E,C):E})):A}function ng(A,B){const Q=typeof A=="string"?{}:{...A.colorReplacements},g=typeof A=="string"?A:A.name;for(const[E,C]of Object.entries(B?.colorReplacements||{}))typeof C=="string"?Q[E]=C:E===g&&Object.assign(Q,C);return Q}function cB(A,B){return A&&(B?.[A?.toLowerCase()]||A)}function Bw(A){const B={};return A.color&&(B.color=A.color),A.bgColor&&(B["background-color"]=A.bgColor),A.fontStyle&&(A.fontStyle&YA.Italic&&(B["font-style"]="italic"),A.fontStyle&YA.Bold&&(B["font-weight"]="bold"),A.fontStyle&YA.Underline&&(B["text-decoration"]="underline")),B}function Qw(A){return Object.entries(A).map(([B,Q])=>`${B}:${Q}`).join(";")}function b0(A){const B=Og(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 lB=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],eE={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function q0(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 de(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 T0(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)eE[E]&&B.push({type:"setDecoration",value:eE[E]});else if(E<=29){const C=eE[E-20];C&&B.push({type:"resetDecoration",value:C})}else if(E<=37)B.push({type:"setForegroundColor",value:{type:"named",name:lB[E-30]}});else if(E===38){const[C,I]=de(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:lB[E-40]}});else if(E===48){const[C,I]=de(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:lB[E-90+8]}}):E>=100&&E<=107&&B.push({type:"setBackgroundColor",value:{type:"named",name:lB[E-100+8]}})}return B}function W0(){let A=null,B=null,Q=new Set;return{parse(g){const E=[];let C=0;do{const I=q0(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=T0(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 X0={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 Z0(A=X0){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<lB.length;o++)g.push(B(lB[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 V0(A,B,Q){const g=ng(A,Q),E=Og(B),C=Z0(Object.fromEntries(lB.map(e=>{var t;return[e,(t=A.colors)==null?void 0:t[`terminal.ansi${e[0].toUpperCase()}${e.substring(1)}`]]}))),I=W0();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=cB(o,g),D=cB(D,g),t.decorations.has("dim")&&(o=z0(o));let w=YA.None;return t.decorations.has("bold")&&(w|=YA.Bold),t.decorations.has("italic")&&(w|=YA.Italic),t.decorations.has("underline")&&(w|=YA.Underline),{content:t.value,offset:e[1],color:o,bgColor:D,fontStyle:w}}))}function z0(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 LC(A,B,Q={}){const{lang:g="text",theme:E=A.getLoadedThemes()[0]}=Q;if(jo(g)||$o(E))return Og(B).map(t=>[{content:t[0],offset:t[1]}]);const{theme:C,colorMap:I}=A.setTheme(E);if(g==="ansi")return V0(C,B,Q);const e=A.getLanguage(g);return _0(B,e,C,I,Q)}function _0(A,B,Q,g,E){const C=ng(Q,E),{tokenizeMaxLineLength:I=0,tokenizeTimeLimit:e=500}=E,t=Og(A);let o=m0,D=[];const w=[],i=[];if(E.includeExplanation)for(const s of Q.settings){let a;switch(typeof s.scope){case"string":a=s.scope.split(/,/).map(n=>n.trim());break;case"object":a=s.scope;break;default:continue}i.push({settings:s,selectors:a.map(n=>n.split(/ /))})}for(let s=0,a=t.length;s<a;s++){const[n,r]=t[s];if(n===""){D=[],w.push([]);continue}if(I>0&&n.length>=I){D=[],w.push([{content:n,offset:r,color:"",fontStyle:0}]);continue}let M,l,c;E.includeExplanation&&(M=B.tokenizeLine(n,o),l=M.tokens,c=0);const u=B.tokenizeLine2(n,o,e),d=u.tokens.length/2;for(let k=0;k<d;k++){const S=u.tokens[2*k],m=k+1<d?u.tokens[2*k+2]:n.length;if(S===m)continue;const b=u.tokens[2*k+1],K=cB(g[ZA.getForeground(b)],C),Z=ZA.getFontStyle(b),q={content:n.substring(S,m),offset:r+S,color:K,fontStyle:Z};if(E.includeExplanation){q.explanation=[];let L=0;for(;S+L<m;){const O=l[c],T=n.substring(O.startIndex,O.endIndex);L+=T.length,q.explanation.push({content:T,scopes:j0(i,O.scopes)}),c+=1}}D.push(q)}w.push(D),D=[],o=u.ruleStack}return w}function j0(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:AM(A,I,C)}}return Q}function pe(A,B){return A===B||B.substring(0,A.length)===A&&B[A.length]==="."}function $0(A,B,Q){if(!pe(A[A.length-1],B))return!1;let g=A.length-2,E=Q.length-1;for(;g>=0&&E>=0;)pe(A[g],Q[E])&&(g-=1),E-=1;return g===-1}function AM(A,B,Q){const g=[];for(const{selectors:E,settings:C}of A)for(const I of E)if($0(I,B,Q)){g.push(C);break}return g}function gw(A,B,Q){const g=Object.entries(Q.themes).filter(C=>C[1]).map(C=>({color:C[0],theme:C[1]})),E=BM(...g.map(C=>LC(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:i,explanation:s,offset:a,...n}=D[I][t];o.variants[g[w].color]=n}),o}))}function BM(...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 aA extends Error{constructor(B){super(B),this.name="ShikiError"}}function ag(A,B,Q){let g,E,C,I,e;if("themes"in Q){const{defaultColor:t="light",cssVariablePrefix:o="--shiki-"}=Q,D=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(D.length===0)throw new aA("`themes` option must not be empty");const w=gw(A,B,Q);if(t&&!D.find(n=>n.color===t))throw new aA(`\`themes\` option must contain the defaultColor key \`${t}\``);const i=D.map(n=>A.getTheme(n.theme)),s=D.map(n=>n.color);C=w.map(n=>n.map(r=>QM(r,s,o,t)));const a=D.map(n=>ng(n.theme,Q));E=D.map((n,r)=>(r===0&&t?"":`${o+n.color}:`)+(cB(i[r].fg,a[r])||"inherit")).join(";"),g=D.map((n,r)=>(r===0&&t?"":`${o+n.color}-bg:`)+(cB(i[r].bg,a[r])||"inherit")).join(";"),I=`shiki-themes ${i.map(n=>n.name).join(" ")}`,e=t?void 0:[E,g].join(";")}else if("theme"in Q){const t=ng(Q.theme,Q.colorReplacements);C=LC(A,B,Q);const o=A.getTheme(Q.theme);g=cB(o.bg,t),E=cB(o.fg,t),I=o.name}else throw new aA("Invalid options, either `theme` or `themes` must be provided");return{tokens:C,fg:E,bg:g,themeName:I,rootStyle:e}}function QM(A,B,Q,g){const E={content:A.content,explanation:A.explanation,offset:A.offset},C=B.map(t=>Bw(A.variants[t])),I=new Set(C.flatMap(t=>Object.keys(t))),e=C.reduce((t,o,D)=>{for(const w of I){const i=o[w]||"inherit";if(D===0&&g)t[w]=i;else{const s=w==="color"?"":w==="background-color"?"-bg":`-${w}`,a=Q+B[D]+(w==="color"?"":s);t[w]?t[w]+=`;${a}:${i}`:t[w]=`${a}:${i}`}}return t},{});return E.htmlStyle=g?Qw(e):Object.values(e).join(";"),E}function gM(){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=b0(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 aA(`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 aA(`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 x0(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(i=>i.type==="element"&&i.tagName==="span");if(I.length!==C.converter.lines.length)throw new aA(`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(i,s,a,n){const r=I[i];let M="",l=-1,c=-1;function u(k){return k.type==="text"?k.value:k.type==="element"?k.children.map(u).join(""):""}if(s===0&&(l=0),a===0&&(c=0),a===Number.POSITIVE_INFINITY&&(c=r.children.length),l===-1||c===-1)for(let k=0;k<r.children.length;k++)M+=u(r.children[k]),l===-1&&M.length===s&&(l=k+1),c===-1&&M.length===a&&(c=k+1);if(l===-1)throw new aA(`Failed to find start index for decoration ${JSON.stringify(n.start)}`);if(c===-1)throw new aA(`Failed to find end index for decoration ${JSON.stringify(n.end)}`);const d=r.children.slice(l,c);if(!n.alwaysWrap&&d.length===r.children.length)o(r,n,"line");else if(!n.alwaysWrap&&d.length===1&&d[0].type==="element")o(d[0],n,"token");else{const k={type:"element",tagName:"span",properties:{},children:d};o(k,n,"wrapper"),r.children.splice(l,d.length,k)}}function t(i,s){I[i]=o(I[i],s,"line")}function o(i,s,a){var n;const r=s.properties||{},M=s.transform||(l=>l);return i.tagName=s.tagName||"span",i.properties={...i.properties,...r,class:i.properties.class},(n=s.properties)!=null&&n.class&&Aw(i,s.properties.class),i=M(i,a)||i,i}const D=[],w=C.decorations.sort((i,s)=>s.start.offset-i.start.offset);for(const i of w){const{start:s,end:a}=i;if(s.line===a.line)e(s.line,s.character,a.character,i);else if(s.line<a.line){e(s.line,s.character,Number.POSITIVE_INFINITY,i);for(let n=s.line+1;n<a.line;n++)D.unshift(()=>t(n,i));e(a.line,0,a.character,i)}}D.forEach(i=>i())}}}const EM=[gM()];function rg(A){return[...A.transformers||[],...EM]}function cg(A,B,Q,g={meta:{},options:Q,codeToHast:(E,C)=>cg(A,E,C),codeToTokens:(E,C)=>ag(A,E,C)}){var E,C;let I=B;for(const a of rg(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}=ag(A,I,Q);const{mergeWhitespaces:i=!0}=Q;i===!0?e=IM(e):i==="never"&&(e=eM(e));const s={...g,get source(){return I}};for(const a of rg(Q))e=((C=a.tokens)==null?void 0:C.call(s,e))||e;return CM(e,{...Q,fg:t,bg:o,themeName:D,rootStyle:w},s)}function CM(A,B,Q){var g,E,C;const I=rg(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 i=[],s={...Q,structure:o,addClassToHast:Aw,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 i}};if(A.forEach((n,r)=>{var M,l;r&&(o==="inline"?t.children.push({type:"element",tagName:"br",properties:{},children:[]}):o==="classic"&&e.push({type:"text",value:`
|