@nuxt/devtools 1.2.0 → 1.3.1

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.
Files changed (107) hide show
  1. package/dist/chunks/module-main.mjs +2 -35
  2. package/dist/chunks/vscode.mjs +1 -0
  3. package/dist/client/200.html +21 -21
  4. package/dist/client/404.html +21 -21
  5. package/dist/client/_nuxt/{CFcWLH5V.js → -qWogbxp.js} +1 -1
  6. package/dist/client/_nuxt/{D8i82D0r.js → 2rHQ-89_.js} +1 -1
  7. package/dist/client/_nuxt/5Viy9mJZ.js +1 -0
  8. package/dist/client/_nuxt/{ooCcziGQ.js → 5rat9AfN.js} +3 -3
  9. package/dist/client/_nuxt/{8vVaiFyN.js → 66lAmVWa.js} +1 -1
  10. package/dist/client/_nuxt/{D_pwdbKS.js → B1WwrPQO.js} +2 -2
  11. package/dist/client/_nuxt/{CYIc81Hh.js → B4a1LB7w.js} +2 -2
  12. package/dist/client/_nuxt/{CQwJxTyO.js → B5LBktAa.js} +2 -2
  13. package/dist/client/_nuxt/{D2TLnKEp.js → B7vUcbNk.js} +1 -1
  14. package/dist/client/_nuxt/{Bm01LnY_.js → BBiSxoA1.js} +1 -1
  15. package/dist/client/_nuxt/{BvY_Q6Ny.js → BEabNaD3.js} +1 -1
  16. package/dist/client/_nuxt/BGq4KZyx.js +1 -0
  17. package/dist/client/_nuxt/{DrouHJc_.js → BL23Bc6O.js} +1 -1
  18. package/dist/client/_nuxt/BMbUeBqv.js +74 -0
  19. package/dist/client/_nuxt/{Dlh-yUDi.js → BNIC4eZE.js} +1 -1
  20. package/dist/client/_nuxt/{BluVLImH.js → BNSBUDhB.js} +1 -1
  21. package/dist/client/_nuxt/{C_6aSAC7.js → BOBmlKb6.js} +1 -1
  22. package/dist/client/_nuxt/BWnGocWo.js +1 -0
  23. package/dist/client/_nuxt/BYVFCOjE.js +1 -0
  24. package/dist/client/_nuxt/BZfs-ost.js +1 -0
  25. package/dist/client/_nuxt/{DM7LQm-O.js → B_Ym5JKn.js} +1 -1
  26. package/dist/client/_nuxt/{Cgy-yYrX.js → BbqA4Ggc.js} +1 -1
  27. package/dist/client/_nuxt/{ClFBqw1c.js → BcobmRlA.js} +1 -1
  28. package/dist/client/_nuxt/BiWblMbN.js +505 -0
  29. package/dist/client/_nuxt/{Dbt1lqd7.js → BkK_qJ34.js} +1 -1
  30. package/dist/client/_nuxt/{Cr5Lt2Bh.js → BlDdoh7Z.js} +1 -1
  31. package/dist/client/_nuxt/{3yXnKq4C.js → BlKdmH9f.js} +1 -1
  32. package/dist/client/_nuxt/{CauQWwFB.js → Br0oqAKP.js} +1 -1
  33. package/dist/client/_nuxt/{DVpEqQtB.js → Bs6Xt_hm.js} +1 -1
  34. package/dist/client/_nuxt/{CE1aCf8a.js → Bx439kud.js} +1 -1
  35. package/dist/client/_nuxt/{DlQNtCxN.js → C0doa8lg.js} +1 -1
  36. package/dist/client/_nuxt/CDjZ2Pwm.js +99 -0
  37. package/dist/client/_nuxt/{CYUk1Phb.js → CGdFtN3I.js} +1 -1
  38. package/dist/client/_nuxt/CHuuZgn4.js +699 -0
  39. package/dist/client/_nuxt/{E3u_JT2d.js → CLKMZBSj.js} +1 -1
  40. package/dist/client/_nuxt/{D8hnvtQ7.js → CLVJ1qFH.js} +1 -1
  41. package/dist/client/_nuxt/{DnNA5yXt.js → CQ4DIexe.js} +1 -1
  42. package/dist/client/_nuxt/{BKROsu9M.js → CQfzcXIu.js} +1 -1
  43. package/dist/client/_nuxt/CSxKs2xg.js +48 -0
  44. package/dist/client/_nuxt/CWDIGLyg.js +1 -0
  45. package/dist/client/_nuxt/Cdv1FpqM.js +20 -0
  46. package/dist/client/_nuxt/{BNbY1jCQ.js → CgdhjF_I.js} +1 -1
  47. package/dist/client/_nuxt/{Dow1QcrX.js → CgvvXsvn.js} +1 -1
  48. package/dist/client/_nuxt/{DrTLrgyX.js → CiwDa1gT.js} +1 -1
  49. package/dist/client/_nuxt/D0LPR03l.js +1 -0
  50. package/dist/client/_nuxt/D4dWpejW.js +2 -0
  51. package/dist/client/_nuxt/{CoH69PTx.js → DCvec3a_.js} +1 -1
  52. package/dist/client/_nuxt/{DjE-sQMX.js → DCzXkWpZ.js} +1 -1
  53. package/dist/client/_nuxt/DDnrbwm6.js +2002 -0
  54. package/dist/client/_nuxt/{TDzLXguC.js → DE_Uwlru.js} +1 -1
  55. package/dist/client/_nuxt/DHFOa8tC.js +200 -0
  56. package/dist/client/_nuxt/DO3F8Knp.js +1 -0
  57. package/dist/client/_nuxt/{HezyzoNS.js → DQFmACZp.js} +1 -1
  58. package/dist/client/_nuxt/{BwcgHM_R.js → DQS-rzez.js} +1 -1
  59. package/dist/client/_nuxt/{QUVBuzQ1.js → DRuHuqMZ.js} +1 -1
  60. package/dist/client/_nuxt/DRzmYdLW.js +1 -0
  61. package/dist/client/_nuxt/{DPywwtwa.js → DTnMHt2b.js} +1 -1
  62. package/dist/client/_nuxt/{ylHKncut.js → DW3jphl9.js} +1 -1
  63. package/dist/client/_nuxt/DdJKusQR.js +1 -0
  64. package/dist/client/_nuxt/{BZMq3h7l.js → DgR63EN_.js} +155 -155
  65. package/dist/client/_nuxt/{CwLZOs-U.js → DjVyxknR.js} +1 -1
  66. package/dist/client/_nuxt/{Dpi9Vpa4.js → DnhEYZMs.js} +1 -1
  67. package/dist/client/_nuxt/{DzJVEN15.js → Dw5Tt5gJ.js} +1 -1
  68. package/dist/client/_nuxt/HBr8xMzr.js +1 -0
  69. package/dist/client/_nuxt/{D0GIdZjD.js → J3djixjQ.js} +1 -1
  70. package/dist/client/_nuxt/JkOP3KoO.js +1 -0
  71. package/dist/client/_nuxt/{DXyT_6cw.js → K0tfU50F.js} +1 -1
  72. package/dist/client/_nuxt/{gY9iaHZB.js → LKwhzCVp.js} +1 -1
  73. package/dist/client/_nuxt/NSectionBlock.DF4F_onM.css +1 -0
  74. package/dist/client/_nuxt/Q9LIRUci.js +25 -0
  75. package/dist/client/_nuxt/{Cd6DbZRp.js → Tw6nDHWX.js} +1 -1
  76. package/dist/client/_nuxt/V_y36BGi.js +1 -0
  77. package/dist/client/_nuxt/{Cykwuu7C.js → Zl399FYQ.js} +1 -1
  78. package/dist/client/_nuxt/_ECCzcZq.js +666 -0
  79. package/dist/client/_nuxt/builds/latest.json +1 -1
  80. package/dist/client/_nuxt/builds/meta/24abe175-04a3-492b-88f5-fff7ea90b9c1.json +1 -0
  81. package/dist/client/_nuxt/entry.CyP5HdOH.css +1 -0
  82. package/dist/client/_nuxt/{DFXWDr_U.js → f1qyuWhx.js} +1 -1
  83. package/dist/client/_nuxt/index.BeOv1PgR.css +1 -0
  84. package/dist/client/_nuxt/jeEj0LFC.js +1 -0
  85. package/dist/client/_nuxt/tYBohD88.js +1 -0
  86. package/dist/client/index.html +21 -21
  87. package/dist/module.json +5 -1
  88. package/dist/runtime/plugins/view/FrameBox.vue +3 -1
  89. package/dist/runtime/plugins/view/Main.vue +11 -1
  90. package/dist/runtime/plugins/view/client.mjs +4 -2
  91. package/package.json +30 -30
  92. package/dist/client/_nuxt/BX_yun5E.js +0 -2
  93. package/dist/client/_nuxt/B_ROKca0.js +0 -1
  94. package/dist/client/_nuxt/Bbe7V3sH.js +0 -1
  95. package/dist/client/_nuxt/C5RWud-q.js +0 -99
  96. package/dist/client/_nuxt/C6_5TE6z.js +0 -1
  97. package/dist/client/_nuxt/CmQBHnO5.js +0 -1
  98. package/dist/client/_nuxt/Cm_JFd_X.js +0 -1
  99. package/dist/client/_nuxt/DUvGfBHy.js +0 -1
  100. package/dist/client/_nuxt/DptAiT3z.js +0 -2
  101. package/dist/client/_nuxt/NSectionBlock.BrczCkLG.css +0 -1
  102. package/dist/client/_nuxt/VE_JCmIg.js +0 -1
  103. package/dist/client/_nuxt/builds/meta/99d3dbae-7b79-44d1-9122-56d8f78db12b.json +0 -1
  104. package/dist/client/_nuxt/entry.CKLgeA_k.css +0 -1
  105. package/dist/client/_nuxt/pinia.zSt3sP7_.css +0 -1
  106. package/dist/client/_nuxt/qlO0zMWA.js +0 -48
  107. package/dist/client/_nuxt/tVhGyT2d.js +0 -1
@@ -1 +0,0 @@
1
- import{d as g,a0 as y,m as r,k as o,G as n,i as b,j as $,f as i,F as c,I as w,J as B,aa as s,p as d,o as l,v as u,t as v,h as C,y as S,z as k,a6 as I,q as N}from"./qlO0zMWA.js";import{_ as V}from"./CYUk1Phb.js";const f=t=>(S("data-v-bd17de2b"),t=t(),k(),t),x=["open"],z={"text-base":""},T={key:0,"text-sm":"",op50:""},D=f(()=>o("div",{class:"flex-auto"},null,-1)),F=f(()=>o("div",{class:"x-divider"},null,-1)),j=g({__name:"NSectionBlock",props:{icon:{},text:{},description:{},containerClass:{default:""},headerClass:{},collapse:{type:Boolean,default:!0},open:{type:Boolean,default:!0},padding:{type:[Boolean,String],default:!0}},setup(t){const a=y(t,"open",void 0,{passive:!0});function m(e){a.value=e.target.open}return(e,p)=>{const h=I,_=V;return l(),r(c,null,[o("details",{open:i(a),onToggle:m},[o("summary",{class:n(["cursor-pointer select-none hover:bg-active p4",e.collapse?"":"pointer-events-none"])},[b(_,{icon:e.icon,text:e.text,"text-xl":"",transition:"",class:n([i(a)?"op100":"op60",e.headerClass])},{default:$(()=>[o("div",null,[o("div",z,[s(e.$slots,"text",{},()=>[u(v(e.text),1)],!0)]),e.description||e.$slots.description?(l(),r("div",T,[s(e.$slots,"description",{},()=>[u(v(e.description),1)],!0)])):d("",!0)]),D,s(e.$slots,"actions",{},void 0,!0),e.collapse?(l(),C(h,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):d("",!0)]),_:3},8,["icon","text","class"])],2),p._lazyshow1||i(a)?(p._lazyshow1=!0,l(),r(c,null,[w(o("div",{class:n(["flex flex-col flex-gap2 pb6 pt2",typeof e.padding=="string"?e.padding:e.padding?"px4":""])},[s(e.$slots,"details",{},void 0,!0),o("div",{class:n([e.containerClass,"mt1"])},[s(e.$slots,"default",{},void 0,!0)],2),s(e.$slots,"footer",{},void 0,!0)],2),[[B,i(a)]])],64)):d("v-show-if",!0)],40,x),F],64)}}}),J=N(j,[["__scopeId","data-v-bd17de2b"]]);export{J as _};
@@ -1 +0,0 @@
1
- import{_ as v}from"./C_6aSAC7.js";import{d as b,o as e,m as c,F as k,n as C,h as f,j as o,aa as N,bi as B,bj as j,k as x,av as w,a as F,a2 as O,f as r,i as a,p as u,v as P,I as R,_ as V}from"./qlO0zMWA.js";import{_ as E}from"./C6_5TE6z.js";import{_ as A}from"./D8i82D0r.js";import"./BluVLImH.js";import"./C5RWud-q.js";import"./CYUk1Phb.js";const G={key:0,flex:"~ col gap-1"},H={key:1,mt2:"",px4:"",italic:"",op35:""},K=b({__name:"StateGroup",props:{state:{},prefix:{default:""}},setup(m){return(t,n)=>{const i=v;return e(),c("div",null,[t.state&&Object.keys(t.state).length>0?(e(),c("div",G,[(e(!0),c(k,null,C(t.state,(l,s)=>(e(),f(i,{key:s,state:l,name:s.startsWith(t.prefix)?s.slice(t.prefix.length):s},{actions:o(_=>[N(t.$slots,"actions",B(j(_)))]),_:2},1032,["state","name"]))),128))])):(e(),c("div",H," No data "))])}}}),T={class:"markdown-body"},z=x("h1",null,"State & Async Data",-1),I=x("p",null,"// TODO",-1),L=[z,I],W={__name:"payload",setup(m,{expose:t}){return t({frontmatter:{}}),(i,l)=>(e(),c("div",T,L))}},q={key:0},et=b({__name:"payload",setup(m){const t=w(),n=F(()=>t.value?.nuxt.payload);async function i(l){await t.value?.nuxt.hooks.callHookParallel("app:data:refresh",l)}return(l,s)=>{const _=K,d=E,h=V,$=v,S=W,g=A,D=O("tooltip");return e(),c(k,null,[r(t)?(e(),c("div",q,[a(d,{icon:"carbon-data-set",text:"State",description:"Keyed state from `useState`",padding:!1},{default:o(()=>[a(_,{state:r(n).state,prefix:"$s"},null,8,["state"])]),_:1}),a(d,{icon:"carbon-data-blob",text:"Data",description:"Keyed state from `useAsyncData`",padding:!1},{actions:o(()=>[a(h,{n:"xs primary","self-start":"",icon:"i-carbon-recycle",onClick:s[0]||(s[0]=y=>i())},{default:o(()=>[P(" Re-fetch all data ")]),_:1})]),default:o(()=>[a(_,{state:r(n).data},{actions:o(({isOpen:y,name:p})=>[y&&p?R((e(),f(h,{key:0,title:`Re-fetch '${p}'`,icon:"carbon-recycle",border:!1,onClick:J=>i([p])},null,8,["title","onClick"])),[[D,`Re-fetch '${p}'`,void 0,{bottom:!0}]]):u("",!0)]),_:1},8,["state"])]),_:1}),r(n).functions&&Object.keys(r(n).functions).length?(e(),f(d,{key:0,icon:"carbon-function",text:"Functions",description:"State for functions"},{default:o(()=>[a($,{"ml--6":"",state:r(n).functions},null,8,["state"])]),_:1})):u("",!0)])):u("",!0),a(g,null,{default:o(()=>[a(S)]),_:1})],64)}}});export{et as default};
@@ -1 +0,0 @@
1
- import{_ as I}from"./ClFBqw1c.js";import{d as V,e as D,ac as U,a as c,aq as $,o as s,h as r,j as i,k as o,p as l,i as j,f as e,v as u,m as _,F as v,t as h,n as E,G as F,_ as S}from"./qlO0zMWA.js";import{_ as q}from"./DVpEqQtB.js";import{C as k}from"./BcJws1i5.js";const z={"hover:text-primary":""},G={key:0,"text-primary":""},L={"max-w-100":""},M={px4:"",py3:"","text-sm":""},O={flex:"~ gap2",n:"primary xs"},T={border:"t base","max-h-60":"","of-auto":"",px4:"",py3:""},W={"text-sm":""},A=o("span",{op50:""},"It has been referenced ",-1),H={"text-primary":""},J=o("span",{op50:""}," times by:",-1),K={flex:"~ col gap-2","items-start":"",pt3:"","text-sm":"",op75:""},P={key:1,"text-sm":"",op50:""},Z=V({__name:"ComposableItem",props:{item:{},metadata:{},filepath:{},counter:{type:Boolean,default:!0},classes:{default:"px2 py1 text-sm bg-gray:5 "}},setup(x){const t=x,b=D(),g=U(),m=c(()=>t.item.as||t.item.name),n=c(()=>t.metadata?.injectionUsage?.[m.value]?.count||0),C=c(()=>(t.metadata?.injectionUsage?.[m.value]?.moduleIds||[]).filter(a=>!a.endsWith("?macro=true"))),y=c(()=>t.item.meta?.docsUrl?t.item.meta.docsUrl:["nuxt","#app","nuxt3"].includes(t.item.from)?k.nuxt[t.item.name]:t.item.from==="vue"?k.vue[t.item.name]:null);return(a,p)=>{const w=I,f=S,N=q,B=$("VDropdown");return s(),r(B,{disabled:!t.metadata},{popper:i(()=>[o("div",L,[o("div",M,[a.item.meta?.description?(s(),r(w,{key:0,tag:"div",pb3:"","text-sm":"",markdown:a.item.meta.description},null,8,["markdown"])):l("",!0),o("div",O,[j(f,{icon:"carbon-copy",onClick:p[0]||(p[0]=d=>e(b)(e(m),"imports-name"))},{default:i(()=>[u(" Copy ")]),_:1}),a.filepath?(s(),r(f,{key:0,icon:"carbon-code",onClick:p[1]||(p[1]=d=>a.filepath&&e(g)(a.filepath))},{default:i(()=>[u(" Source ")]),_:1})):l("",!0),e(y)?(s(),r(f,{key:1,icon:"carbon-catalog",to:e(y),target:"_blank"},{default:i(()=>[u(" Docs ")]),_:1},8,["to"])):l("",!0)])]),o("div",T,[e(n)?(s(),_(v,{key:0},[o("div",W,[A,o("strong",H,h(e(n)),1),J]),o("div",K,[(s(!0),_(v,null,E(e(C),d=>(s(),r(N,{key:d,filepath:d},null,8,["filepath"]))),128))])],64)):(s(),_("div",P," Not in use via auto import. "))])])]),default:i(()=>[o("button",z,[o("code",{rounded:"","font-mono":"",class:F([a.metadata&&!e(n)?"op30 hover:op100":"",a.classes])},[u(h(e(m))+" ",1),e(n)&&a.counter?(s(),_("sup",G,"x"+h(e(n)),1)):l("",!0)],2)])]),_:1},8,["disabled"])}}});export{Z as _};
@@ -1 +0,0 @@
1
- import{d as D,al as j,r as A,a as g,ax as q,ay as B,ao as $,az as E,aA as b,aB as M,aC as N,m as L,o as s,aD as P,P as V,aE as I,aF as C,aG as W,f as a,h as c,j as y,aw as O,A as R,k as u,v as w,t as T,L as S,i as F,ap as U,aH as G}from"./qlO0zMWA.js";import{_ as z}from"./VE_JCmIg.js";import"./ClFBqw1c.js";import"./DFXWDr_U.js";const x=new Map,H=D({__name:"IframeView",props:{tab:{}},setup(f){const m=f,r=j(),v=A(),i=g(()=>m.tab.name),e=A(),t=q(B(v));$(()=>{const o=m.tab.view,l=o.persistent!==!1,h=["clipboard-write","clipboard-read"];if(x.get(i.value)&&l)e.value=x.get(i.value),e.value.style.visibility="visible";else{e.value=document.createElement("iframe"),e.value.setAttribute("allow",h.join("; ")),e.value.setAttribute("aria-label","Nuxt Devtools"),l&&x.set(i.value,e.value),e.value.src=o.src;try{e.value.style.opacity="0.01",e.value.onload=()=>{d(),n(),e.value.style.opacity="1"}}catch{e.value.style.opacity="1"}document.body.appendChild(e.value),E(_)}setTimeout(n,100)}),b(_),b(n),b(d),M(()=>{e.value&&(e.value.style.visibility="hidden")});function n(){if(!(!e.value||!e.value.contentWindow))try{const o=e.value.contentWindow.document.querySelector("html");o?.classList.toggle("dark",r.value==="dark"),o?.classList.toggle("light",r.value==="dark"),new MutationObserver(()=>{r.value=e.value?.contentWindow?.document.querySelector("html")?.classList.contains("dark")?"dark":"light"}).observe(o,{attributes:!0,attributeFilter:["class"]})}catch{}}const p=N();function d(){if(!(!e.value||!e.value.contentWindow))try{e.value.contentWindow.__NUXT_DEVTOOLS__=p.value}catch{}}function _(){e.value&&Object.assign(e.value.style,{position:"fixed",left:`${t.left}px`,top:`${t.top}px`,width:`${t.width}px`,height:`${t.height}px`,outline:"none"})}return(o,l)=>(s(),L("div",{ref_key:"anchor",ref:v,"h-full":"","w-full":""},null,512))}}),X={flex:"~ col gap2",mxa:"","items-center":""},J=u("div",{"i-carbon-queued":"",mb2:"","text-5xl":"",op50:""},null,-1),K={"text-xl":""},Q={"text-rose":""},Y=u("p",{op50:""}," It might because the module contributing this tab is not installed or enabled ",-1),Z=u("p",{mt8:"","animate-pulse":""}," Redirecting to overview page... ",-1),ne=D({__name:"custom-[name]",props:{name:{}},setup(f){const m=f,r=P(),v=V(),i=g(()=>m.name??r.params.name),e=I(),t=g(()=>e.value.find(n=>n.name===i.value));return $(()=>{t.value?t.value.requireAuth&&!C.value&&W():setTimeout(()=>{t.value||v.push("/modules/overview")},2e3)}),(n,p)=>{const d=R,_=G,o=H,l=z,h=U;return a(t)?a(t).requireAuth&&!("isDevAuthed"in n?n.isDevAuthed:a(C))?(s(),c(_,{key:1})):a(t).view.type==="iframe"?(s(),c(o,{key:2,tab:a(t)},null,8,["tab"])):a(t).view.type==="vnode"?(s(),c(O(a(t).view.vnode),{key:3})):a(t).view.type==="launch"?(s(),c(l,{key:4,name:`custom-${a(t).name}`,icon:a(t).view.icon||a(t).icon,title:a(t).view.title||a(t).title,description:a(t).view.description,actions:a(t).view.actions,onAction:p[0]||(p[0]=k=>("rpc"in n?n.rpc:a(S)).customTabAction(a(t).name,k))},null,8,["name","icon","title","description","actions"])):(s(),c(d,{key:5},{default:y(()=>[F(h,{flex:"~ col","h-full":"","items-center":"","justify-center":""},{default:y(()=>[w(" Unknown tab type "+T(a(t).view),1)]),_:1})]),_:1})):(s(),c(d,{key:0},{default:y(()=>[u("div",X,[J,u("p",K,[w(" Tab "),u("code",Q,T(a(i)),1),w(" not found ")]),Y,Z])]),_:1}))}}});export{ne as default};
@@ -1,2 +0,0 @@
1
- import{bk as Wi,bl as qi,y as an,z as ln,d as G,az as He,o as w,h as F,r as M,m as O,i as E,f as _,a as R,bm as Re,aQ as _o,aq as Me,k as C,F as ae,aa as q,p as W,a9 as le,G as Y,ae as Ki,j as N,au as te,bn as un,w as me,v as ve,bo as je,n as ot,t as he,bp as xo,bq as ko,bi as So,bj as $o,aA as Ye,aR as Zi,aS as Yi,a2 as Ji,I as fe,aw as ft,aT as Xi,l as Ct,b0 as Qi,br as er,bs as tr,bg as we,ao as Co,bt as nr,aN as or,ax as Cn,bu as ir,bv as rr,bw as sr,bx as cn,by as ar,bz as lr,bA as ur,bB as cr}from"./qlO0zMWA.js";function dr(){return{activeAppRecord:Wi,connected:qi}}const dn=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n},pr={},hr={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},fr=Qi('<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),mr=[fr];function vr(e,t){return w(),O("svg",hr,mr)}const yr=dn(pr,[["render",vr]]),pn=Symbol("VirtualRouteKey"),To=Symbol("VirtualRoutesKey");function gr(e){const t=M({path:"/"}),n=R(()=>t.value.path),o=G({setup(){return()=>{const i=e.find(r=>r.path===n.value);return i?un(i.component):null}}});return Re(pn,t),Re(To,e),{VirtualRouterView:o}}function hn(){const e=je(pn);return{push(t){e.value.path=t}}}function br(){const e=je(To),t=je(pn);return{routes:e,currentRoute:t}}const wr={"h-full":"","w-full":"",flex:"","items-center":""},_r={flex:"~ col gap2",ma:"","px-5":""},xr=C("div",{"flex-auto":""},null,-1),kr={flex:"~ col","mt-20":"","items-center":""},Sr={flex:"~","mt--10":"","items-center":"","justify-center":""},$r=C("div",{mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},[C("span",{op40:""}," Pinia DevTools ")],-1),Cr=C("div",{"flex-auto":""},null,-1),Tr={flex:"~ gap2 wrap"},zr=C("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":""},[C("div",{"i-logos-pinia":"","text-3xl":""})],-1),Or=C("div",{"i-carbon-tree-view-alt":"","text-3xl":""},null,-1),Pr=C("code",null,"Store",-1),Er=[Or,Pr],Ar=C("div",{"i-mdi:timeline-clock-outline":"","text-3xl":""},null,-1),Nr=C("div",null,"Timeline",-1),Ir=[Ar,Nr],Rr=C("div",{flex:"~ gap-6 wrap","mt-5":"","items-center":"","justify-center":""},[C("a",{href:"https://github.com/vuejs/pinia",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-blue",transition:""},[C("div",{"i-carbon-star":""}),ve(" Star on GitHub ")]),C("a",{href:"https://pinia.vuejs.org/",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-yellow",transition:""},[C("div",{"i-carbon-document":""}),ve(" View Documentation ")])],-1),Mr=C("div",{"flex-auto":""},null,-1),jr=G({__name:"Home",setup(e){const t=hn();return(n,o)=>(w(),O("div",wr,[C("div",_r,[xr,C("div",kr,[C("div",Sr,[E(yr,{"h-18":""})]),$r]),Cr,C("div",Tr,[zr,C("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:o[0]||(o[0]=i=>_(t).push("/store"))},Er),C("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:o[1]||(o[1]=i=>_(t).push("/timeline"))},Ir)]),Rr,Mr])]))}}),zo={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((e,t)=>(e[t.id]=t)&&e,{})}},methods:{updatePaneComponents(){this.panes.forEach(e=>{e.update&&e.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[e.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(e,t){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=t},onMouseMove(e){this.touch.mouseDown&&(e.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(e)),this.$emit("resize",this.panes.map(t=>({min:t.min,max:t.max,size:t.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(e=>({min:e.min,max:e.max,size:e.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(e,t){"ontouchstart"in window&&(e.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===t?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(e,t),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=t,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[t])},onSplitterDblClick(e,t){let n=0;this.panes=this.panes.map((o,i)=>(o.size=i===t?o.max:o.min,i!==t&&(n+=o.min),o)),this.panes[t].size-=n,this.$emit("pane-maximize",this.panes[t]),this.$emit("resized",this.panes.map(o=>({min:o.min,max:o.max,size:o.size})))},onPaneClick(e,t){this.$emit("pane-click",this.indexedPanes[t])},getCurrentMouseDrag(e){const t=this.container.getBoundingClientRect(),{clientX:n,clientY:o}="ontouchstart"in window&&e.touches?e.touches[0]:e;return{x:n-t.left,y:o-t.top}},getCurrentDragPercentage(e){e=e[this.horizontal?"y":"x"];const t=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(e=t-e),e*100/t},calculatePanesSize(e){const t=this.touch.activeSplitter;let n={prevPanesSize:this.sumPrevPanesSize(t),nextPanesSize:this.sumNextPanesSize(t),prevReachedMinPanes:0,nextReachedMinPanes:0};const o=0+(this.pushOtherPanes?0:n.prevPanesSize),i=100-(this.pushOtherPanes?0:n.nextPanesSize),r=Math.max(Math.min(this.getCurrentDragPercentage(e),i),o);let s=[t,t+1],a=this.panes[s[0]]||null,l=this.panes[s[1]]||null;const u=a.max<100&&r>=a.max+n.prevPanesSize,d=l.max<100&&r<=100-(l.max+this.sumNextPanesSize(t+1));if(u||d){u?(a.size=a.max,l.size=Math.max(100-a.max-n.prevPanesSize-n.nextPanesSize,0)):(a.size=Math.max(100-l.max-n.prevPanesSize-this.sumNextPanesSize(t+1),0),l.size=l.max);return}if(this.pushOtherPanes){const c=this.doPushOtherPanes(n,r);if(!c)return;({sums:n,panesToResize:s}=c),a=this.panes[s[0]]||null,l=this.panes[s[1]]||null}a!==null&&(a.size=Math.min(Math.max(r-n.prevPanesSize-n.prevReachedMinPanes,a.min),a.max)),l!==null&&(l.size=Math.min(Math.max(100-r-n.nextPanesSize-n.nextReachedMinPanes,l.min),l.max))},doPushOtherPanes(e,t){const n=this.touch.activeSplitter,o=[n,n+1];return t<e.prevPanesSize+this.panes[o[0]].min&&(o[0]=this.findPrevExpandedPane(n).index,e.prevReachedMinPanes=0,o[0]<n&&this.panes.forEach((i,r)=>{r>o[0]&&r<=n&&(i.size=i.min,e.prevReachedMinPanes+=i.min)}),e.prevPanesSize=this.sumPrevPanesSize(o[0]),o[0]===void 0)?(e.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((i,r)=>{r>0&&r<=n&&(i.size=i.min,e.prevReachedMinPanes+=i.min)}),this.panes[o[1]].size=100-e.prevReachedMinPanes-this.panes[0].min-e.prevPanesSize-e.nextPanesSize,null):t>100-e.nextPanesSize-this.panes[o[1]].min&&(o[1]=this.findNextExpandedPane(n).index,e.nextReachedMinPanes=0,o[1]>n+1&&this.panes.forEach((i,r)=>{r>n&&r<o[1]&&(i.size=i.min,e.nextReachedMinPanes+=i.min)}),e.nextPanesSize=this.sumNextPanesSize(o[1]-1),o[1]===void 0)?(e.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((i,r)=>{r<this.panesCount-1&&r>=n+1&&(i.size=i.min,e.nextReachedMinPanes+=i.min)}),this.panes[o[0]].size=100-e.prevPanesSize-e.nextReachedMinPanes-this.panes[this.panesCount-1].min-e.nextPanesSize,null):{sums:e,panesToResize:o}},sumPrevPanesSize(e){return this.panes.reduce((t,n,o)=>t+(o<e?n.size:0),0)},sumNextPanesSize(e){return this.panes.reduce((t,n,o)=>t+(o>e+1?n.size:0),0)},findPrevExpandedPane(e){return[...this.panes].reverse().find(t=>t.index<e&&t.size>t.min)||{}},findNextExpandedPane(e){return this.panes.find(t=>t.index>e+1&&t.size>t.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(e=>{const t=e.classList.contains("splitpanes__pane"),n=e.classList.contains("splitpanes__splitter");!t&&!n&&(e.parentNode.removeChild(e),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))})},addSplitter(e,t,n=!1){const o=e-1,i=document.createElement("div");i.classList.add("splitpanes__splitter"),n||(i.onmousedown=r=>this.onMouseDown(r,o),typeof window<"u"&&"ontouchstart"in window&&(i.ontouchstart=r=>this.onMouseDown(r,o)),i.onclick=r=>this.onSplitterClick(r,o+1)),this.dblClickSplitter&&(i.ondblclick=r=>this.onSplitterDblClick(r,o+1)),t.parentNode.insertBefore(i,t)},removeSplitter(e){e.onmousedown=void 0,e.onclick=void 0,e.ondblclick=void 0,e.parentNode.removeChild(e)},redoSplitters(){const e=Array.from(this.container.children);e.forEach(n=>{n.className.includes("splitpanes__splitter")&&this.removeSplitter(n)});let t=0;e.forEach(n=>{n.className.includes("splitpanes__pane")&&(!t&&this.firstSplitter?this.addSplitter(t,n,!0):t&&this.addSplitter(t,n),t++)})},requestUpdate({target:e,...t}){const n=this.indexedPanes[e._.uid];Object.entries(t).forEach(([o,i])=>n[o]=i)},onPaneAdd(e){let t=-1;Array.from(e.$el.parentNode.children).some(i=>(i.className.includes("splitpanes__pane")&&t++,i===e.$el));const n=parseFloat(e.minSize),o=parseFloat(e.maxSize);this.panes.splice(t,0,{id:e._.uid,index:t,min:isNaN(n)?0:n,max:isNaN(o)?100:o,size:e.size===null?null:parseFloat(e.size),givenSize:e.size,update:e.update}),this.panes.forEach((i,r)=>i.index=r),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[t]}),this.$emit("pane-add",{index:t,panes:this.panes.map(i=>({min:i.min,max:i.max,size:i.size}))})})},onPaneRemove(e){const t=this.panes.findIndex(o=>o.id===e._.uid),n=this.panes.splice(t,1)[0];this.panes.forEach((o,i)=>o.index=i),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:{...n,index:t}}),this.$emit("pane-remove",{removed:n,panes:this.panes.map(o=>({min:o.min,max:o.max,size:o.size}))})})},resetPaneSizes(e={}){!e.addedPane&&!e.removedPane?this.initialPanesSizing():this.panes.some(t=>t.givenSize!==null||t.min||t.max<100)?this.equalizeAfterAddOrRemove(e):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(t=>({min:t.min,max:t.max,size:t.size})))},equalize(){const e=100/this.panesCount;let t=0;const n=[],o=[];this.panes.forEach(i=>{i.size=Math.max(Math.min(e,i.max),i.min),t-=i.size,i.size>=i.max&&n.push(i.id),i.size<=i.min&&o.push(i.id)}),t>.1&&this.readjustSizes(t,n,o)},initialPanesSizing(){let e=100;const t=[],n=[];let o=0;this.panes.forEach(r=>{e-=r.size,r.size!==null&&o++,r.size>=r.max&&t.push(r.id),r.size<=r.min&&n.push(r.id)});let i=100;e>.1&&(this.panes.forEach(r=>{r.size===null&&(r.size=Math.max(Math.min(e/(this.panesCount-o),r.max),r.min)),i-=r.size}),i>.1&&this.readjustSizes(e,t,n))},equalizeAfterAddOrRemove({addedPane:e,removedPane:t}={}){let n=100/this.panesCount,o=0;const i=[],r=[];e&&e.givenSize!==null&&(n=(100-e.givenSize)/(this.panesCount-1)),this.panes.forEach(s=>{o-=s.size,s.size>=s.max&&i.push(s.id),s.size<=s.min&&r.push(s.id)}),!(Math.abs(o)<.1)&&(this.panes.forEach(s=>{e&&e.givenSize!==null&&e.id===s.id||(s.size=Math.max(Math.min(n,s.max),s.min)),o-=s.size,s.size>=s.max&&i.push(s.id),s.size<=s.min&&r.push(s.id)}),o>.1&&this.readjustSizes(o,i,r))},readjustSizes(e,t,n){let o;e>0?o=e/(this.panesCount-t.length):o=e/(this.panesCount-n.length),this.panes.forEach((i,r)=>{if(e>0&&!t.includes(i.id)){const s=Math.max(Math.min(i.size+o,i.max),i.min),a=s-i.size;e-=a,i.size=s}else if(!n.includes(i.id)){const s=Math.max(Math.min(i.size+o,i.max),i.min),a=s-i.size;e-=a,i.size=s}i.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[i.id].size}%`})}),Math.abs(e)>.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(e){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((t,n)=>{t.ondblclick=e?o=>this.onSplitterDblClick(o,n):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 un("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},Dr=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n},Lr={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(e){this.style=e}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(e){this.requestUpdate({target:this,size:e})},minSizeNumber(e){this.requestUpdate({target:this,min:e})},maxSizeNumber(e){this.requestUpdate({target:this,max:e})}}};function Vr(e,t,n,o,i,r){return w(),O("div",{class:"splitpanes__pane",onClick:t[0]||(t[0]=s=>r.onPaneClick(s,e._.uid)),style:le(e.style)},[q(e.$slots,"default")],4)}const mt=Dr(Lr,[["render",Vr]]);var Hr=Object.create,Oo=Object.defineProperty,Br=Object.getOwnPropertyDescriptor,fn=Object.getOwnPropertyNames,Ur=Object.getPrototypeOf,Fr=Object.prototype.hasOwnProperty,Gr=(e,t)=>function(){return e&&(t=(0,e[fn(e)[0]])(e=0)),t},Wr=(e,t)=>function(){return t||(0,e[fn(e)[0]])((t={exports:{}}).exports,t),t.exports},qr=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of fn(t))!Fr.call(e,i)&&i!==n&&Oo(e,i,{get:()=>t[i],enumerable:!(o=Br(t,i))||o.enumerable});return e},Kr=(e,t,n)=>(n=e!=null?Hr(Ur(e)):{},qr(t||!e||!e.__esModule?Oo(n,"default",{value:e,enumerable:!0}):n,e)),it=Gr({"../../node_modules/.pnpm/tsup@8.0.2_postcss@8.4.38_typescript@5.4.4/node_modules/tsup/assets/esm_shims.js"(){}}),Zr=Wr({"../../node_modules/.pnpm/rfdc@1.3.1/node_modules/rfdc/index.js"(e,t){it(),t.exports=o;function n(r){return r instanceof Buffer?Buffer.from(r):new r.constructor(r.buffer.slice(),r.byteOffset,r.length)}function o(r){if(r=r||{},r.circles)return i(r);return r.proto?l:a;function s(u,d){for(var c=Object.keys(u),p=new Array(c.length),f=0;f<c.length;f++){var v=c[f],h=u[v];typeof h!="object"||h===null?p[v]=h:h instanceof Date?p[v]=new Date(h):ArrayBuffer.isView(h)?p[v]=n(h):p[v]=d(h)}return p}function a(u){if(typeof u!="object"||u===null)return u;if(u instanceof Date)return new Date(u);if(Array.isArray(u))return s(u,a);if(u instanceof Map)return new Map(s(Array.from(u),a));if(u instanceof Set)return new Set(s(Array.from(u),a));var d={};for(var c in u)if(Object.hasOwnProperty.call(u,c)!==!1){var p=u[c];typeof p!="object"||p===null?d[c]=p:p instanceof Date?d[c]=new Date(p):p instanceof Map?d[c]=new Map(s(Array.from(p),a)):p instanceof Set?d[c]=new Set(s(Array.from(p),a)):ArrayBuffer.isView(p)?d[c]=n(p):d[c]=a(p)}return d}function l(u){if(typeof u!="object"||u===null)return u;if(u instanceof Date)return new Date(u);if(Array.isArray(u))return s(u,l);if(u instanceof Map)return new Map(s(Array.from(u),l));if(u instanceof Set)return new Set(s(Array.from(u),l));var d={};for(var c in u){var p=u[c];typeof p!="object"||p===null?d[c]=p:p instanceof Date?d[c]=new Date(p):p instanceof Map?d[c]=new Map(s(Array.from(p),l)):p instanceof Set?d[c]=new Set(s(Array.from(p),l)):ArrayBuffer.isView(p)?d[c]=n(p):d[c]=l(p)}return d}}function i(r){var s=[],a=[];return r.proto?d:u;function l(c,p){for(var f=Object.keys(c),v=new Array(f.length),h=0;h<f.length;h++){var m=f[h],b=c[m];if(typeof b!="object"||b===null)v[m]=b;else if(b instanceof Date)v[m]=new Date(b);else if(ArrayBuffer.isView(b))v[m]=n(b);else{var y=s.indexOf(b);y!==-1?v[m]=a[y]:v[m]=p(b)}}return v}function u(c){if(typeof c!="object"||c===null)return c;if(c instanceof Date)return new Date(c);if(Array.isArray(c))return l(c,u);if(c instanceof Map)return new Map(l(Array.from(c),u));if(c instanceof Set)return new Set(l(Array.from(c),u));var p={};s.push(c),a.push(p);for(var f in c)if(Object.hasOwnProperty.call(c,f)!==!1){var v=c[f];if(typeof v!="object"||v===null)p[f]=v;else if(v instanceof Date)p[f]=new Date(v);else if(v instanceof Map)p[f]=new Map(l(Array.from(v),u));else if(v instanceof Set)p[f]=new Set(l(Array.from(v),u));else if(ArrayBuffer.isView(v))p[f]=n(v);else{var h=s.indexOf(v);h!==-1?p[f]=a[h]:p[f]=u(v)}}return s.pop(),a.pop(),p}function d(c){if(typeof c!="object"||c===null)return c;if(c instanceof Date)return new Date(c);if(Array.isArray(c))return l(c,d);if(c instanceof Map)return new Map(l(Array.from(c),d));if(c instanceof Set)return new Set(l(Array.from(c),d));var p={};s.push(c),a.push(p);for(var f in c){var v=c[f];if(typeof v!="object"||v===null)p[f]=v;else if(v instanceof Date)p[f]=new Date(v);else if(v instanceof Map)p[f]=new Map(l(Array.from(v),d));else if(v instanceof Set)p[f]=new Set(l(Array.from(v),d));else if(ArrayBuffer.isView(v))p[f]=n(v);else{var h=s.indexOf(v);h!==-1?p[f]=a[h]:p[f]=d(v)}}return s.pop(),a.pop(),p}}}});it();it();var Yr=typeof navigator<"u",D=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{};typeof D.chrome<"u"&&D.chrome.devtools;Yr&&(D.self,D.top);typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes("electron");it();var Jr=Kr(Zr(),1),Xr=/(?:^|[-_/])(\w)/g,Qr=/-(\w)/g;function Po(e,t){return t?t.toUpperCase():""}function es(e){return e&&`${e}`.replace(Xr,Po)}function ts(e){return e&&e.replace(Qr,Po)}function ns(e,t){const n=e.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"),o=n.lastIndexOf("/"),i=n.substring(o+1);if(t){const r=i.lastIndexOf(t);return i.substring(0,r)}return""}function os(e){return e&&e.slice().sort((t,n)=>t.key<n.key?-1:t.key>n.key?1:0)}var Tn=(0,Jr.default)({circles:!0});function zn(e){return typeof e=="object"&&!Array.isArray(e)&&e!==null}function On(e){return Array.isArray(e)}it();function Kt(e,t={},n){for(const o in e){const i=e[o],r=n?`${n}:${o}`:o;typeof i=="object"&&i!==null?Kt(i,t,r):typeof i=="function"&&(t[r]=i)}return t}const is={run:e=>e()},rs=()=>is,Eo=typeof console.createTask<"u"?console.createTask:rs;function ss(e,t){const n=t.shift(),o=Eo(n);return e.reduce((i,r)=>i.then(()=>o.run(()=>r(...t))),Promise.resolve())}function as(e,t){const n=t.shift(),o=Eo(n);return Promise.all(e.map(i=>o.run(()=>i(...t))))}function Vt(e,t){for(const n of[...e])n(t)}class ls{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(t,n,o={}){if(!t||typeof n!="function")return()=>{};const i=t;let r;for(;this._deprecatedHooks[t];)r=this._deprecatedHooks[t],t=r.to;if(r&&!o.allowDeprecated){let s=r.message;s||(s=`${i} hook has been deprecated`+(r.to?`, please use ${r.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let o,i=(...r)=>(typeof o=="function"&&o(),o=void 0,i=void 0,n(...r));return o=this.hook(t,i),o}removeHook(t,n){if(this._hooks[t]){const o=this._hooks[t].indexOf(n);o!==-1&&this._hooks[t].splice(o,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const o=this._hooks[t]||[];delete this._hooks[t];for(const i of o)this.hook(t,i)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Kt(t),o=Object.keys(n).map(i=>this.hook(i,n[i]));return()=>{for(const i of o.splice(0,o.length))i()}}removeHooks(t){const n=Kt(t);for(const o in n)this.removeHook(o,n[o])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(ss,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(as,t,...n)}callHookWith(t,n,...o){const i=this._before||this._after?{name:n,args:o,context:{}}:void 0;this._before&&Vt(this._before,i);const r=t(n in this._hooks?[...this._hooks[n]]:[],o);return r instanceof Promise?r.finally(()=>{this._after&&i&&Vt(this._after,i)}):(this._after&&i&&Vt(this._after,i),r)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Ao(){return new ls}const us={trailing:!0};function Tt(e,t=25,n={}){if(n={...us,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let o,i,r=[],s,a;const l=(u,d)=>(s=cs(e,u,d),s.finally(()=>{if(s=null,n.trailing&&a&&!i){const c=l(u,a);return a=null,c}}),s);return function(...u){return s?(n.trailing&&(a=u),s):new Promise(d=>{const c=!i&&n.leading;clearTimeout(i),i=setTimeout(()=>{i=null;const p=n.leading?o:l(this,u);for(const f of r)f(p);r=[]},t),c?(o=l(this,u),d(o)):r.push(d)})}}async function cs(e,t,n){return await e.apply(t,n)}var ds=Object.create,No=Object.defineProperty,ps=Object.getOwnPropertyDescriptor,mn=Object.getOwnPropertyNames,hs=Object.getPrototypeOf,fs=Object.prototype.hasOwnProperty,ms=(e,t)=>function(){return e&&(t=(0,e[mn(e)[0]])(e=0)),t},Io=(e,t)=>function(){return t||(0,e[mn(e)[0]])((t={exports:{}}).exports,t),t.exports},vs=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of mn(t))!fs.call(e,i)&&i!==n&&No(e,i,{get:()=>t[i],enumerable:!(o=ps(t,i))||o.enumerable});return e},ys=(e,t,n)=>(n=e!=null?ds(hs(e)):{},vs(t||!e||!e.__esModule?No(n,"default",{value:e,enumerable:!0}):n,e)),z=ms({"../../node_modules/.pnpm/tsup@8.0.2_postcss@8.4.38_typescript@5.4.4/node_modules/tsup/assets/esm_shims.js"(){}}),gs=Io({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){z(),function(n){var o={À:"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"},i=["်","ް"],r={"ာ":"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"},s={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"}},a={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"}},l=[";","?",":","@","&","=","+","$",",","/"].join(""),u=[";","?",":","@","&","=","+","$",","].join(""),d=[".","!","~","*","'","(",")"].join(""),c=function(h,m){var b="-",y="",g="",x=!0,T={},A,B,I,H,P,L,k,S,V,U,$,J,Z,pe,oe="";if(typeof h!="string")return"";if(typeof m=="string"&&(b=m),k=a.en,S=s.en,typeof m=="object"){A=m.maintainCase||!1,T=m.custom&&typeof m.custom=="object"?m.custom:T,I=+m.truncate>1&&m.truncate||!1,H=m.uric||!1,P=m.uricNoSlash||!1,L=m.mark||!1,x=!(m.symbols===!1||m.lang===!1),b=m.separator||b,H&&(oe+=l),P&&(oe+=u),L&&(oe+=d),k=m.lang&&a[m.lang]&&x?a[m.lang]:x?a.en:{},S=m.lang&&s[m.lang]?s[m.lang]:m.lang===!1||m.lang===!0?{}:s.en,m.titleCase&&typeof m.titleCase.length=="number"&&Array.prototype.toString.call(m.titleCase)?(m.titleCase.forEach(function(ee){T[ee+""]=ee+""}),B=!0):B=!!m.titleCase,m.custom&&typeof m.custom.length=="number"&&Array.prototype.toString.call(m.custom)&&m.custom.forEach(function(ee){T[ee+""]=ee+""}),Object.keys(T).forEach(function(ee){var Be;ee.length>1?Be=new RegExp("\\b"+f(ee)+"\\b","gi"):Be=new RegExp(f(ee),"gi"),h=h.replace(Be,T[ee])});for($ in T)oe+=$}for(oe+=b,oe=f(oe),h=h.replace(/(^\s+|\s+$)/g,""),Z=!1,pe=!1,U=0,J=h.length;U<J;U++)$=h[U],v($,T)?Z=!1:S[$]?($=Z&&S[$].match(/[A-Za-z0-9]/)?" "+S[$]:S[$],Z=!1):$ in o?(U+1<J&&i.indexOf(h[U+1])>=0?(g+=$,$=""):pe===!0?($=r[g]+o[$],g=""):$=Z&&o[$].match(/[A-Za-z0-9]/)?" "+o[$]:o[$],Z=!1,pe=!1):$ in r?(g+=$,$="",U===J-1&&($=r[g]),pe=!0):k[$]&&!(H&&l.indexOf($)!==-1)&&!(P&&u.indexOf($)!==-1)?($=Z||y.substr(-1).match(/[A-Za-z0-9]/)?b+k[$]:k[$],$+=h[U+1]!==void 0&&h[U+1].match(/[A-Za-z0-9]/)?b:"",Z=!0):(pe===!0?($=r[g]+$,g="",pe=!1):Z&&(/[A-Za-z0-9]/.test($)||y.substr(-1).match(/A-Za-z0-9]/))&&($=" "+$),Z=!1),y+=$.replace(new RegExp("[^\\w\\s"+oe+"_-]","g"),b);return B&&(y=y.replace(/(\w)(\S*)/g,function(ee,Be,$n){var Lt=Be.toUpperCase()+($n!==null?$n:"");return Object.keys(T).indexOf(Lt.toLowerCase())<0?Lt:Lt.toLowerCase()})),y=y.replace(/\s+/g,b).replace(new RegExp("\\"+b+"+","g"),b).replace(new RegExp("(^\\"+b+"+|\\"+b+"+$)","g"),""),I&&y.length>I&&(V=y.charAt(I)===b,y=y.slice(0,I),V||(y=y.slice(0,y.lastIndexOf(b)))),!A&&!B&&(y=y.toLowerCase()),y},p=function(h){return function(m){return c(m,h)}},f=function(h){return h.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},v=function(h,m){for(var b in m)if(m[b]===h)return!0};if(typeof t<"u"&&t.exports)t.exports=c,t.exports.createSlug=p;else if(typeof define<"u"&&define.amd)define([],function(){return c});else try{if(n.getSlug||n.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";n.getSlug=c,n.createSlug=p}catch{}}(e)}}),bs=Io({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){z(),t.exports=gs()}});z();z();z();z();z();z();z();z();z();z();var Pn,En,Te=(En=(Pn=D).__VUE_DEVTOOLS_HOOK)!=null?En:Pn.__VUE_DEVTOOLS_HOOK=Ao(),ws={vueAppInit(e){Te.hook("app:init",e)},vueAppConnected(e){Te.hook("app:connected",e)},componentAdded(e){return Te.hook("component:added",e)},componentUpdated(e){return Te.hook("component:updated",e)},componentRemoved(e){return Te.hook("component:removed",e)},setupDevtoolsPlugin(e){Te.hook("devtools-plugin:setup",e)}},_s={on:ws,setupDevToolsPlugin(e,t){return Te.callHook("devtools-plugin:setup",e,t)}};z();z();z();z();z();z();z();ys(bs(),1);z();z();z();var An,Nn,rt=(Nn=(An=D).__VUE_DEVTOOLS_API_HOOK)!=null?Nn:An.__VUE_DEVTOOLS_API_HOOK=Ao();function xs(e){const t=new Map;return(e?.getRoutes()||[]).filter(n=>!t.has(n.path)&&t.set(n.path,1))}function vn(e){return e.map(t=>{let{path:n,name:o,children:i}=t;return i!=null&&i.length&&(i=vn(i)),{path:n,name:o,children:i}})}function ks(e){if(e){const{fullPath:t,hash:n,href:o,path:i,name:r,matched:s,params:a,query:l}=e;return{fullPath:t,hash:n,href:o,path:i,name:r,params:a,query:l,matched:vn(s)}}return e}function Ss(e){function t(){var n;const o=(n=e.app)==null?void 0:n.config.globalProperties.$router,i=ks(o?.currentRoute.value),r=vn(xs(o)),s=console.warn;console.warn=()=>{},D[De]={currentRoute:i?Tn(i):{},routes:Tn(r)},D[bt]=o,console.warn=s}t(),_s.on.componentUpdated(Tt(()=>{t(),rt.callHook("router-info:updated",D[De])},200))}z();z();z();function $s(e){return e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name}function Ro(e){const t=e.__file;if(t)return es(ns(t,".vue"))}function Cs(e){return e.displayName||e.name||e._componentTag||Ro(e)}function In(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function Ts(e){var t,n,o;const i=$s(e.type||{});if(i)return i;if(e.root===e)return"Root";for(const s in(n=(t=e.parent)==null?void 0:t.type)==null?void 0:n.components)if(e.parent.type.components[s]===e.type)return In(e,s);for(const s in(o=e.appContext)==null?void 0:o.components)if(e.appContext.components[s]===e.type)return In(e,s);return Ro(e.type||{})||"Anonymous Component"}function $e(e){try{return e()}catch(t){return t}}z();z();z();z();z();z();z();z();var zs=new Set(["nextTick","defineComponent","defineAsyncComponent","defineCustomElement","ref","computed","reactive","readonly","watchEffect","watchPostEffect","watchSyncEffect","watch","isRef","unref","toRef","toRefs","isProxy","isReactive","isReadonly","shallowRef","triggerRef","customRef","shallowReactive","shallowReadonly","toRaw","markRaw","effectScope","getCurrentScope","onScopeDispose","onMounted","onUpdated","onUnmounted","onBeforeMount","onBeforeUpdate","onBeforeUnmount","onErrorCaptured","onRenderTracked","onRenderTriggered","onActivated","onDeactivated","onServerPrefetch","provide","inject","h","mergeProps","cloneVNode","isVNode","resolveComponent","resolveDirective","withDirectives","withModifiers"]),Rn=/^\[native Symbol Symbol\((.*)\)\]$/,Os=/^\[object (\w+)]$/,vt=/^\[native (\w+) (.*?)(<>((.|\s)*))?\]$/,Ps=/^(?:function|class) (\w+)/,Mn=1e4,jn=5e3,zt="__vue_devtool_undefined__",Ot="__vue_devtool_infinity__",Pt="__vue_devtool_negative_infinity__",Et="__vue_devtool_nan__",Es={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};z();z();function As(e){return e._&&Object.keys(e._).includes("vnode")}function Mo(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ns(e){if(e==null)return!0;const t=typeof e;return t==="string"||t==="number"||t==="boolean"}function jo(e){return!!e.__v_isRef}function Is(e){return jo(e)&&!!e.effect}function Rs(e){return!!e.__v_isReactive}function Ms(e){return!!e.__v_isReadonly}var yt={[zt]:"undefined",[Et]:"NaN",[Ot]:"Infinity",[Pt]:"-Infinity"},Ht=Object.entries(yt).reduce((e,[t,n])=>(e[n]=t,e),{});function js(e){return e===null?"null":typeof e=="string"&&yt[e]||!1}function Ds(e){const t=new RegExp(`"(${Object.keys(yt).join("|")})"`,"g");return e.replace(t,(n,o)=>yt[o])}function Ls(e){const t=Ht[e.trim()];if(t)return`"${t}"`;const n=new RegExp(`:\\s*(${Object.keys(Ht).join("|")})`,"g");return e.replace(n,(o,i)=>`:"${Ht[i]}"`)}function Do(e){if(Array.isArray(e))return e.map(n=>Do(n)).join(" or ");if(e==null)return"null";const t=e.toString().match(Ps);return typeof e=="function"&&t&&t[1]||"any"}function Vs(e){return!Ns(e)&&!Array.isArray(e)&&!Mo(e)?Object.prototype.toString.call(e):e}function Lo(e){return{ref:jo(e),computed:Is(e),reactive:Rs(e),readonly:Ms(e)}}function Vo(e){return e!=null&&e.__v_raw?e.__v_raw:e}function Fe(e){return e.replace(/[<>"&]/g,t=>Es[t]||t)}function gt(e,t,n){if(typeof t=="function"&&(t=t.options),!t)return e;const{mixins:o,extends:i}=t;i&&gt(e,i),o&&o.forEach(r=>gt(e,r));for(const r of["computed","inject"])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]?Object.assign(e[r],t[r]):e[r]=t[r]);return e}function Hs(e){const t=e.type,{mixins:n,extends:o}=t,i=e.appContext.mixins;if(!i.length&&!n&&!o)return t;const r={};return i.forEach(s=>gt(r,s)),gt(r,t),r}function Bs(e){const t=[],n=e.type.props;for(const o in e.props){const i=n?n[o]:null,r=ts(o);t.push({type:"props",key:r,value:$e(()=>e.props[o]),meta:i?{type:i.type?Do(i.type):"any",required:!!i.required,...i.default?{default:i.default.toString()}:{}}:{type:"invalid"}})}return t}function Us(e){const t=e.type,n=t.props,o=t.vuex&&t.vuex.getters,i=t.computed,r={...e.data,...e.renderContext};return Object.keys(r).filter(s=>!(n&&s in n)&&!(o&&s in o)&&!(i&&s in i)).map(s=>({key:s,type:"data",value:$e(()=>r[s]),editable:!0}))}function Fs(e){const t=e.computed?"computed":e.ref?"ref":e.reactive?"reactive":null,n=t?`${t.charAt(0).toUpperCase()}${t.slice(1)}`:null;return{stateType:t,stateTypeName:n}}function Gs(e){const t=e.devtoolsRawSetupState||{};return Object.keys(e.setupState).filter(n=>!zs.has(n)&&n.split(/(?=[A-Z])/)[0]!=="use").map(n=>{var o,i,r,s;const a=$e(()=>Vo(e.setupState[n])),l=t[n];let u,d=typeof a=="function"||typeof a?.render=="function"||typeof a?.__asyncLoader=="function";if(l){const c=Lo(l),{stateType:p,stateTypeName:f}=Fs(c),v=c.ref||c.computed||c.reactive,h=((i=(o=l.effect)==null?void 0:o.raw)==null?void 0:i.toString())||((s=(r=l.effect)==null?void 0:r.fn)==null?void 0:s.toString());p&&(d=!1),u={...p?{stateType:p,stateTypeName:f}:{},...h?{raw:h}:{},editable:v&&!c.readonly}}return{key:n,value:a,type:d?"setup (other)":"setup",...u}})}function Ws(e,t){const n=t,o=[],i=n.computed||{};for(const r in i){const s=i[r],a=typeof s=="function"&&s.vuex?"vuex bindings":"computed";o.push({type:a,key:r,value:$e(()=>{var l;return(l=e?.proxy)==null?void 0:l[r]}),editable:typeof s.set=="function"})}return o}function qs(e){return Object.keys(e.attrs).map(t=>({type:"attrs",key:t,value:$e(()=>e.attrs[t])}))}function Ks(e){return Reflect.ownKeys(e.provides).map(t=>({type:"provided",key:t.toString(),value:$e(()=>e.provides[t])}))}function Zs(e,t){if(!(t!=null&&t.inject))return[];let n=[],o;return Array.isArray(t.inject)?n=t.inject.map(i=>({key:i,originalKey:i})):n=Reflect.ownKeys(t.inject).map(i=>{const r=t.inject[i];let s;return typeof r=="string"||typeof r=="symbol"?s=r:(s=r.from,o=r.default),{key:i,originalKey:s}}),n.map(({key:i,originalKey:r})=>({type:"injected",key:r&&i!==r?`${r.toString()} ➞ ${i.toString()}`:i.toString(),value:$e(()=>e.ctx.hasOwnProperty(i)?e.ctx[i]:e.provides.hasOwnProperty(r)?e.provides[r]:o)}))}function Ys(e){return Object.keys(e.refs).map(t=>({type:"refs",key:t,value:$e(()=>e.refs[t])}))}function Js(e){var t;const n=e.type.emits,o=Array.isArray(n)?n:Object.keys(n??{}),i=Object.keys((t=e.vnode.props)!=null?t:{}),r=[];for(const s of i){const[a,...l]=s.split(/(?=[A-Z])/);if(a==="on"){const u=l.join("-").toLowerCase(),d=o.includes(u);r.push({type:"event listeners",key:u,value:{_custom:{displayText:d?"✅ Declared":"⚠️ Not declared",key:d?"✅ Declared":"⚠️ Not declared",value:d?"✅ Declared":"⚠️ Not declared",tooltipText:d?null:`The event <code>${u}</code> is not declared in the <code>emits</code> option. It will leak into the component's attributes (<code>$attrs</code>).`}}})}}return r}function Xs(e){const t=Hs(e);return Bs(e).concat(Us(e),Gs(e),Ws(e,t),qs(e),Ks(e),Zs(e,t),Ys(e),Js(e))}z();z();z();z();z();function Qs(e){let t="",n=null;try{t=Function.prototype.toString.call(e),n=String.prototype.match.call(t,/\([\s\S]*?\)/)}catch{}const o=n&&n[0],i=typeof o=="string"?o:"(?)",r=typeof e.name=="string"?e.name:"";return{_custom:{type:"function",displayText:`<span style="opacity:.5;">function</span> ${Fe(r)}${i}`,tooltipText:t.trim()?`<pre>${t}</pre>`:null}}}function ea(e){const t=BigInt.prototype.toString.call(e);return{_custom:{type:"bigint",displayText:`BigInt(${t})`,value:t}}}function ta(e){const t=new Date(e.getTime());return t.setMinutes(t.getMinutes()-t.getTimezoneOffset()),{_custom:{type:"date",displayText:Date.prototype.toString.call(e),value:t.toISOString().slice(0,-1)}}}function na(e){return{_custom:{type:"map",displayText:"Map",value:Object.fromEntries(e),readOnly:!0,fields:{abstract:!0}}}}function oa(e){const t=Array.from(e);return{_custom:{type:"set",displayText:`Set[${t.length}]`,value:t,readOnly:!0}}}function ia(e){const t={},n=e.getters||{},o=Object.keys(n);for(let i=0;i<o.length;i++){const r=o[i];Object.defineProperty(t,r,{enumerable:!0,get:()=>{try{return n[r]}catch(s){return s}}})}return t}function ra(e){if(e.length)return e.reduce((t,n)=>{const o=n.type||"data",i=t[o]=t[o]||{};return i[n.key]=n.value,t},{})}function sa(e){const t={},n=e.length;for(let o=0;o<n;o++){const i=e.item(o);t[i.name]=i.value}return t}function aa(e){return{_custom:{type:"store",displayText:"Store",value:{state:e.state,getters:ia(e)},fields:{abstract:!0}}}}function la(e){return{_custom:{type:"router",displayText:"VueRouter",value:{options:e.options,currentRoute:e.currentRoute},fields:{abstract:!0}}}}function ua(e){e._&&(e=e._);const t=Xs(e);return{_custom:{type:"component",id:e.__VUE_DEVTOOLS_NEXT_UID__,displayText:Ts(e),tooltipText:"Component instance",value:ra(t),fields:{abstract:!0}}}}function ca(e){let t=Cs(e);return t?e.name&&e.__file&&(t+=` <span>(${e.__file})</span>`):t="<i>Unknown Component</i>",{_custom:{type:"component-definition",displayText:t,tooltipText:"Component definition",...e.__file?{file:e.__file}:{}}}}function da(e){try{return{_custom:{type:"HTMLElement",displayText:`<span class="opacity-30">&lt;</span><span class="text-blue-500">${e.tagName.toLowerCase()}</span><span class="opacity-30">&gt;</span>`,value:sa(e.attributes)}}}catch{return{_custom:{type:"HTMLElement",displayText:`<span class="text-blue-500">${String(e)}</span>`}}}}function pa(e){var t,n,o,i;const r=Lo(e);if(r.ref||r.computed||r.reactive){const s=r.computed?"Computed":r.ref?"Ref":r.reactive?"Reactive":null,a=Vo(r.reactive?e:e._value),l=((n=(t=e.effect)==null?void 0:t.raw)==null?void 0:n.toString())||((i=(o=e.effect)==null?void 0:o.fn)==null?void 0:i.toString());return{_custom:{type:s?.toLowerCase(),stateTypeName:s,value:a,...l?{tooltipText:`<span class="font-mono">${l}</span>`}:{}}}}if(typeof e.__asyncLoader=="function")return{_custom:{type:"component-definition",display:"Async component definition"}}}function ha(e){var t;if(e==="compilerOptions")return;const n=this[e],o=typeof n;if(Array.isArray(n)){const i=n.length;return i>jn?{_isArray:!0,length:i,items:n.slice(0,jn)}:n}else{if(typeof n=="string")return n.length>Mn?`${n.substring(0,Mn)}... (${n.length} total length)`:n;if(o==="undefined")return zt;if(n===Number.POSITIVE_INFINITY)return Ot;if(n===Number.NEGATIVE_INFINITY)return Pt;if(typeof n=="function")return Qs(n);if(o==="symbol")return`[native Symbol ${Symbol.prototype.toString.call(n)}]`;if(typeof n=="bigint")return ea(n);if(n!==null&&typeof n=="object"){const i=Object.prototype.toString.call(n);if(i==="[object Map]")return na(n);if(i==="[object Set]")return oa(n);if(i==="[object RegExp]")return`[native RegExp ${RegExp.prototype.toString.call(n)}]`;if(i==="[object Date]")return ta(n);if(i==="[object Error]")return`[native Error ${n.message}<>${n.stack}]`;if(n.state&&n._vm)return aa(n);if(n.constructor&&n.constructor.name==="VueRouter")return la(n);if(As(n))return ua(n);if(typeof n.render=="function")return ca(n);if(n.constructor&&n.constructor.name==="VNode")return`[native VNode <${n.tag}>]`;if(typeof HTMLElement<"u"&&n instanceof HTMLElement)return da(n);if(((t=n.constructor)==null?void 0:t.name)==="Store"&&n._wrappedGetters)return"[object Store]";if(n.currentRoute)return"[object Router]";const r=pa(n);if(r!=null)return r}else if(Number.isNaN(n))return Et}return Vs(n)}z();function fa(e){const t=new Set,n=e._custom.value;for(let o=0;o<n.length;o++){const i=n[o];t.add(At(i))}return t}function ma(e){const t=new Map,n=e._custom.value;for(let o=0;o<n.length;o++){const{key:i,value:r}=n[o];t.set(i,At(r))}return t}function At(e){var t;if(e!==zt){if(e===Ot)return Number.POSITIVE_INFINITY;if(e===Pt)return Number.NEGATIVE_INFINITY;if(e===Et)return Number.NaN;if(e&&e._custom){const{_custom:n}=e;return n.type==="component"?(t=Ge.appRecord)==null?void 0:t.instanceMap.get(n.id):n.type==="map"?ma(e):n.type==="set"?fa(e):n.type==="bigint"?BigInt(n.value):At(n.value)}else if(Rn.test(e)){const[,n]=Rn.exec(e);return Symbol.for(n)}else if(vt.test(e)){const[,n,o,,i]=vt.exec(e),r=new D[n](o);return n==="Error"&&i&&(r.stack=i),r}else return e}}function Ho(e,t){return At(t)}z();var at=512*1024;function Zt(e,t,n,o){let i,r,s,a,l;const u=o.get(e);if(u!=null)return u;const d=n.length,c=Object.prototype.toString.call(e);if(c==="[object Object]"){i={},o.set(e,d),n.push(i);const p=Object.keys(e);for(a=0,l=p.length;a<l;a++){r=p[a];try{if(r==="compilerOptions")return;s=e[r],t&&(s=t.call(e,r,s))}catch(f){s=f}i[r]=Zt(s,t,n,o)}}else if(c==="[object Array]")for(i=[],o.set(e,d),n.push(i),a=0,l=e.length;a<l;a++){try{s=e[a],t&&(s=t.call(e,a,s))}catch(p){s=p}i[a]=Zt(s,t,n,o)}else n.push(e);return d}function va(e,t=null){let n=e.length,o,i,r,s,a,l;for(;n--;)if(r=e[n],l=Object.prototype.toString.call(r),l==="[object Object]"){const u=Object.keys(r);for(o=0,i=u.length;o<i;o++)s=u[o],a=e[r[s]],t&&(a=t.call(r,s,a)),r[s]=a}else if(l==="[object Array]")for(o=0,i=r.length;o<i;o++)a=e[r[o]],t&&(a=t.call(r,o,a)),r[o]=a}function ya(e,t=null,n=null){let o;try{o=arguments.length===1?JSON.stringify(e):JSON.stringify(e,t,n)}catch{o=ga(e,t,n)}if(o.length>at){const i=Math.ceil(o.length/at),r=[];for(let s=0;s<i;s++)r.push(o.slice(s*at,(s+1)*at));return r}return o}function ga(e,t=null,n=null){const o=[];return Zt(e,t,o,new Map),n?` ${JSON.stringify(o,null,n)}`:` ${JSON.stringify(o)}`}function Dn(e,t=null){if(Array.isArray(e)&&(e=e.join("")),/^\s/.test(e)){const n=JSON.parse(e);return va(n,t),n[0]}else return arguments.length===1?JSON.parse(e):JSON.parse(e,t)}z();function Je(e,t=!0){const n=typeof e;if(e==null||e===zt||e==="undefined")return"null";if(n==="boolean"||n==="number"||e===Ot||e===Pt||e===Et)return"literal";if(e!=null&&e._custom)return t||e._custom.display!=null||e._custom.displayText!=null?"custom":Je(e._custom.value);if(typeof e=="string"){const o=vt.exec(e);if(o){const[,i]=o;return`native ${i}`}else return"string"}else return Array.isArray(e)||e!=null&&e._isArray?"array":Mo(e)?"plain-object":"unknown"}function Bo(e,t=!1){var n,o;let i;const r=Je(e,!1);if(r!=="custom"&&e!=null&&e._custom&&(e=e._custom.value),i=js(e))return i;if(r==="custom")return((n=e._custom.value)==null?void 0:n._custom)&&Bo(e._custom.value)||e._custom.displayText||e._custom.display;if(r==="array")return`Array[${e.length}]`;if(r==="plain-object")return`Object${Object.keys(e).length?"":" (empty)"}`;if(r!=null&&r.includes("native"))return Fe((o=vt.exec(e))==null?void 0:o[2]);if(typeof e=="string"){const s=e.match(Os);s?e=Fe(s[1]):t?e=`<span>"</span>${Fe(e)}<span>"</span>`:e=Fe(e),e=e.replace(/ /g,"&nbsp;").replace(/\n/g,"<span>\\n</span>")}return e}function yn(e){var t,n,o;let i;const r=Je(e)==="custom";let s={};if(r){const a=e,l=(t=a._custom)==null?void 0:t.value,u=(n=a._custom)==null?void 0:n.type,d=typeof l=="object"&&l!==null&&"_custom"in l?yn(l):{inherit:void 0,value:void 0,customType:void 0};s=d.inherit||((o=a._custom)==null?void 0:o.fields)||{},e=d.value||l,i=d.customType||u}return e&&e._isArray&&(e=e.items),{value:e,inherit:s,customType:i}}function ba(e,t){return t==="bigint"||t==="date"?e:Ds(JSON.stringify(e))}function ct(e,t){return t==="bigint"?BigInt(e):t==="date"?new Date(e):JSON.parse(Ls(e),Ho)}function Uo(e){return ya(e,ha)}function Yt(e,t=!1){return e==null?{}:t?Dn(e,Ho):Dn(e)}z();z();z();z();z();var Ln;(Ln=D).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__!=null||(Ln.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);z();z();z();var be="__VUE_DEVTOOLS_GLOBAL_STATE__";function wa(){return{connected:!1,clientConnected:!1,appRecords:[],activeAppRecord:null,selectedComponentId:null,pluginBuffer:[],tabs:[],commands:[],vitePluginDetected:!1,activeAppRecordId:null,highPerfModeEnabled:!1}}var Vn;(Vn=D)[be]!=null||(Vn[be]=wa());var Fo=Tt((e,t)=>{rt.callHook("devtools:state-updated",e,t)},80),Go=Tt((e,t)=>{rt.callHook("devtools:connected-updated",e,t)},80),X=new Proxy(D[be],{get(e,t){return D[be][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,n){const o={...D[be]};return e[t]=n,D[be][t]=n,Fo(D[be],o),["connected","clientConnected"].includes(t.toString())&&o[t]!==n&&Go(D[be],o),!0}});Object.defineProperty(X.tabs,"push",{configurable:!0,value(...e){const t=Array.prototype.push.apply(this,e);return X.tabs=this,rt.callHook("custom-tabs:updated",this),t}});["push","splice"].forEach(e=>{Object.defineProperty(X.commands,e,{configurable:!0,value(...t){const n=Array.prototype[e].apply(this,t);return X.commands=this,rt.callHook("custom-commands:updated",this),n}})});z();z();var bt="__VUE_DEVTOOLS_ROUTER__",De="__VUE_DEVTOOLS_ROUTER_INFO__",Hn;(Hn=D)[De]!=null||(Hn[De]={currentRoute:null,routes:[]});var Bn;(Bn=D)[bt]!=null||(Bn[bt]=null);var _a=new Proxy(D[De],{get(e,t){return D[De][t]}});z();var Ae="__VUE_DEVTOOLS_CONTEXT__";function Wo(){return{appRecord:null,api:null,inspector:[],timelineLayer:[],routerInfo:{},router:null,activeInspectorTreeId:"",componentPluginHookBuffer:[]}}var Un;(Un=D)[Ae]!=null||(Un[Ae]=Wo());function xa(){D[Ae]=Wo()}var Ge=new Proxy(D[Ae],{get(e,t){return t==="router"?D[bt]:t==="clear"?xa:D[Ae][t]},set(e,t,n){return D[Ae][t]=n,!0}});new Proxy(X.appRecords,{get(e,t){if(t==="value")return X.appRecords;if(t==="active")return X.activeAppRecord;if(t==="activeId")return X.activeAppRecordId},set(e,t,n){var o;const i={...X};if(t==="value")X.appRecords=n;else if(t==="active"){const r=n;X.activeAppRecord=r,Ge.appRecord=r,Ge.api=r.api,Ge.inspector=(o=r.inspector)!=null?o:[],Ss(n),Ge.routerInfo=_a}else t==="activeId"&&(X.activeAppRecordId=n);return Fo(X,i),["connected","clientConnected"].includes(t.toString())&&i[t]!==n&&Go(X,i),!0}});var Fn;(Fn=D).__VUE_DEVTOOLS_NEXT_APP_RECROD_INFO__!=null||(Fn.__VUE_DEVTOOLS_NEXT_APP_RECROD_INFO__={id:0,appIds:new Set});z();var Gn;(Gn=D).__VUE_DEVTOOLS_ENV__!=null||(Gn.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});z();z();function ka(e){X.highPerfModeEnabled=e??!X.highPerfModeEnabled}let Sa="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",qo=(e=21)=>{let t="",n=e;for(;n--;)t+=Sa[Math.random()*64|0];return t};var $a=Object.defineProperty,Ko=(e,t)=>{for(var n in t)$a(e,n,{get:t[n],enumerable:!0})},Ca={};Ko(Ca,{onAddTimelineEvent:()=>oi,onCustomCommandsUpdated:()=>Xa,onCustomTabsUpdated:()=>Ja,onDevToolsStateUpdated:()=>ei,onInspectorStateUpdated:()=>ni,onInspectorTreeUpdated:()=>ti,onRouterInfoUpdated:()=>Qa});var Ta={};Ko(Ta,{checkVueInspectorDetected:()=>za,editInspectorState:()=>wt,enableVueInspector:()=>Oa,getComponentBoundingRect:()=>Aa,getDevToolsState:()=>Jo,getInspectorState:()=>Yo,getInspectorTree:()=>Zo,getMatchedRoutes:()=>Va,getRouterInfo:()=>Da,getTimelineLayer:()=>Ha,inspectComponentInspector:()=>Na,navigateAction:()=>La,openInEditor:()=>Ea,scrollToComponent:()=>Ra,toggleApp:()=>Pa,toggleComponentInspector:()=>Ia,toggleHighPerfMode:()=>Ba,unhighlightElement:()=>ja,updateInspectorTreeId:()=>Ma});var za=K("devtools:check-vue-inspector-detected",async e=>{var t,n;return!!await((n=(t=e?.api)==null?void 0:t.getVueInspector)==null?void 0:n.call(t))}),Oa=K("devtools:enable-vue-inspector",async e=>{var t,n;const o=await((n=(t=e?.api)==null?void 0:t.getVueInspector)==null?void 0:n.call(t));o&&await o.enable()}),Pa=K("devtools:toggle-app",async(e,t)=>{await e.api.toggleApp(t)}),wt=K("devtools:edit-inspector-state",(e,t)=>{e.api.editInspectorState(t)}),Ea=K("devtools:open-in-editor",(e,t,n)=>{e.api.openInEditor({file:t,baseUrl:n})}),Zo=K("devtools:inspector-tree",async(e,t)=>{const n=await e.api.getInspectorTree(t);return Uo(n)}),Aa=K("devtools:get-component-bounding-rect",(e,t)=>e.api.getComponentBoundingRect(t)),Na=K("devtools:inspect-component-inspector",e=>e.api.inspectComponentInspector()),Ia=K("devtools:toggle-component-inspector",(e,t)=>e.api.toggleComponentInspector(t)),Ra=K("devtools:scroll-to-component",(e,t)=>e.api.scrollToComponent(t)),Yo=K("devtools:inspector-state",async(e,t)=>{const n=await e.api.getInspectorState(t);return Uo(n)}),Ma=K("devtools:update-inspector-tree-id",(e,t)=>{e.context.activeInspectorTreeId=t}),ja=K("devtools:unhighlight-element",e=>e.api.unhighlightElement()),Da=K("devtools:router-info",e=>JSON.stringify(e.context.routerInfo)),La=K("devtools:router-navigate",(e,t)=>{var n;(n=e.context.router)==null||n.push(t).catch(o=>o)}),Va=K("devtools:matched-routes",(e,t)=>{var n,o;const i=console.warn;console.warn=()=>{};const r=(o=(n=e.context.router)==null?void 0:n.resolve({path:t||"/"}).matched)!=null?o:[];return console.warn=i,JSON.stringify(r)}),Ha=K("devtools:get-timeline-layer",e=>e.context.timelineLayer),Jo=K("devtools:get-state",e=>{var t,n;return{connected:e.state.connected,clientConnected:e.state.clientConnected,vueVersion:((n=(t=e.state)==null?void 0:t.activeAppRecord)==null?void 0:n.version)||"",tabs:e.state.tabs,commands:e.state.commands,vitePluginDetected:e.state.vitePluginDetected,appRecords:e.state.appRecords.map(o=>({id:o.id,name:o.name,version:o.version,routerId:o.routerId,moduleDetectives:o.moduleDetectives})),activeAppRecordId:e.state.activeAppRecordId}}),Ba=K("devtools:toggle-high-perf-mode",(e,t)=>{ka(t)}),Ua="devtools:bridge-action",Fa="devtools:bridge-listener",Ga="__vue_devtools_bridge__",Wa="__vue_devtools_bridge_target__",qa="devtools:bridge-action-events",Ka="devtools:bridge-listener-events",Za=D[qa]=new Map,Ya=D[Ka]=new Map;function Xo(){return D[Ga]}function Qo(){return D[Wa]}function K(e,t){return async(...n)=>{if(Qo()==="devtools"){const o=Xo(),i=qo();return await new Promise(r=>{o.once(i,s=>{r(s)}),o.emit(Ua,{name:e,key:i,args:n})})}else Za.set(e,t)}}function Pe(e,t,n={}){return o=>{if(Qo()==="devtools"){const{parser:i="devtools"}=n,r=i==="devtools"?Yt:JSON.parse,s=Xo(),a=qo(),l=s.on(a,u=>{o(r(u))});return s.emit(Fa,{key:a,name:e,parser:i}),l}else return Ya.set(e,t),()=>{}}}var ei=Pe("devtools:on-state-updated",(e,t)=>{function n(i){var r;return{vueVersion:((r=i?.activeAppRecord)==null?void 0:r.version)||"",connected:i.connected,clientConnected:i.clientConnected,tabs:i.tabs,commands:i.commands,vitePluginDetected:i.vitePluginDetected,appRecords:i.appRecords.map(s=>({id:s.id,name:s.name,version:s.version,routerId:s.routerId,moduleDetectives:s.moduleDetectives})),activeAppRecordId:i.activeAppRecordId}}function o(){e.api.on.devtoolsStateUpdated(i=>{t(n(i))})}if(e!=null&&e.api)o();else{const i=setInterval(()=>{if(e.state.connected){const r=e.state;t(n(r)),o(),clearInterval(i)}},10)}}),Ja=Pe("devtools:on-custom-tabs-updated",(e,t)=>{e.api.on.customTabsUpdated(n=>{t(n)})}),Xa=Pe("devtools:on-custom-commands-updated",(e,t)=>{e.api.on.customCommandsUpdated(n=>{t(n)})}),ti=Pe("devtools:on-inspector-tree-updated",(e,t)=>{e.api.on.sendInspectorTree(n=>{t(n)})}),ni=Pe("devtools:on-inspector-state-updated",(e,t)=>{e.api.on.sendInspectorState(n=>{t(n)})}),Qa=Pe("devtools:on-router-info-updated",(e,t)=>{e.api.on.routerInfoUpdated(n=>{t(n)})},{parser:"json"}),oi=Pe("devtools:on-add-timeline-event",(e,t)=>{e.api.on.addTimelineEvent(n=>{t(n)})});const el={class:"flex gap3"},tl=["onClick"],ii=G({__name:"Navbar",setup(e){const{routes:t,currentRoute:n}=br(),o=hn();return(i,r)=>(w(),O("ul",el,[(w(!0),O(ae,null,ot(_(t),(s,a)=>(w(),O("li",{key:a,"cursor-pointer":"","hover:op100":"",style:le({opacity:_(n).path===s.path?1:.7}),onClick:l=>_(o).push(s.path)},he(s.name),13,tl))),128))]))}}),nl={class:"p2"},ol=["onClick"],il=G({__name:"SelectiveList",props:xo({data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=ko(e,"modelValue");function n(o){t.value=o}return(o,i)=>(w(),O("ul",nl,[(w(!0),O(ae,null,ot(o.data,r=>(w(),O("li",{key:r.id,class:Y(["selectable-item",{active:r.id===t.value}]),onClick:s=>n(r.id)},he(r.label),11,ol))),128))]))}}),rl={border:"b base",class:"h10 h40px flex items-center justify-between px3"},sl=["href"],al=C("i",{class:"i-clarity:document-line cursor-pointer op70 text-base hover:op100"},null,-1),ll=[al],ul=["href"],cl=C("i",{class:"i-mdi:github cursor-pointer op70 text-base hover:op100"},null,-1),dl=[cl],ri=G({__name:"DevToolsHeader",props:{githubRepoLink:{},docLink:{}},setup(e){const t=hn();return(n,o)=>(w(),O("div",rl,[C("div",null,[q(n.$slots,"default",{},()=>[C("i",{class:"i-ep:back cursor-pointer op70 text-base hover:op100",onClick:o[0]||(o[0]=i=>_(t).push("/"))})])]),C("div",null,[C("a",{class:"pr2",href:n.docLink,target:"_blank"},ll,8,sl),C("a",{href:n.githubRepoLink,target:"_blank"},dl,8,ul)])]))}}),pl={},hl={class:"h-full flex flex-col items-center justify-center op50"},fl=C("i",{class:"i-lets-icons:blank-light"},null,-1);function ml(e,t){return w(),O("div",hl,[fl,C("span",null,[q(e.$slots,"default")])])}const si=dn(pl,[["render",ml]]),vl=["top","right","bottom","left"],Wn=["start","end"],qn=vl.reduce((e,t)=>e.concat(t,t+"-"+Wn[0],t+"-"+Wn[1]),[]),Xe=Math.min,ze=Math.max,yl={left:"right",right:"left",bottom:"top",top:"bottom"},gl={start:"end",end:"start"};function Jt(e,t,n){return ze(e,Xe(t,n))}function Ee(e,t){return typeof e=="function"?e(t):e}function de(e){return e.split("-")[0]}function se(e){return e.split("-")[1]}function ai(e){return e==="x"?"y":"x"}function gn(e){return e==="y"?"height":"width"}function st(e){return["top","bottom"].includes(de(e))?"y":"x"}function bn(e){return ai(st(e))}function li(e,t,n){n===void 0&&(n=!1);const o=se(e),i=bn(e),r=gn(i);let s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[r]>t.floating[r]&&(s=xt(s)),[s,xt(s)]}function bl(e){const t=xt(e);return[_t(e),t,_t(t)]}function _t(e){return e.replace(/start|end/g,t=>gl[t])}function wl(e,t,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:o:t?o:i;case"left":case"right":return t?r:s;default:return[]}}function _l(e,t,n,o){const i=se(e);let r=wl(de(e),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),t&&(r=r.concat(r.map(_t)))),r}function xt(e){return e.replace(/left|right|bottom|top/g,t=>yl[t])}function xl(e){return{top:0,right:0,bottom:0,left:0,...e}}function ui(e){return typeof e!="number"?xl(e):{top:e,right:e,bottom:e,left:e}}function We(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Kn(e,t,n){let{reference:o,floating:i}=e;const r=st(t),s=bn(t),a=gn(s),l=de(t),u=r==="y",d=o.x+o.width/2-i.width/2,c=o.y+o.height/2-i.height/2,p=o[a]/2-i[a]/2;let f;switch(l){case"top":f={x:d,y:o.y-i.height};break;case"bottom":f={x:d,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:c};break;case"left":f={x:o.x-i.width,y:c};break;default:f={x:o.x,y:o.y}}switch(se(t)){case"start":f[s]-=p*(n&&u?-1:1);break;case"end":f[s]+=p*(n&&u?-1:1);break}return f}const kl=async(e,t,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,a=r.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:c}=Kn(u,o,l),p=o,f={},v=0;for(let h=0;h<a.length;h++){const{name:m,fn:b}=a[h],{x:y,y:g,data:x,reset:T}=await b({x:d,y:c,initialPlacement:o,placement:p,strategy:i,middlewareData:f,rects:u,platform:s,elements:{reference:e,floating:t}});if(d=y??d,c=g??c,f={...f,[m]:{...f[m],...x}},T&&v<=50){v++,typeof T=="object"&&(T.placement&&(p=T.placement),T.rects&&(u=T.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):T.rects),{x:d,y:c}=Kn(u,p,l)),h=-1;continue}}return{x:d,y:c,placement:p,strategy:i,middlewareData:f}};async function Nt(e,t){var n;t===void 0&&(t={});const{x:o,y:i,platform:r,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:c="floating",altBoundary:p=!1,padding:f=0}=Ee(t,e),v=ui(f),h=a[p?c==="floating"?"reference":"floating":c],m=We(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(h)))==null||n?h:h.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(a.floating)),boundary:u,rootBoundary:d,strategy:l})),b=c==="floating"?{...s.floating,x:o,y:i}:s.reference,y=await(r.getOffsetParent==null?void 0:r.getOffsetParent(a.floating)),g=await(r.isElement==null?void 0:r.isElement(y))?await(r.getScale==null?void 0:r.getScale(y))||{x:1,y:1}:{x:1,y:1},x=We(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:y,strategy:l}):b);return{top:(m.top-x.top+v.top)/g.y,bottom:(x.bottom-m.bottom+v.bottom)/g.y,left:(m.left-x.left+v.left)/g.x,right:(x.right-m.right+v.right)/g.x}}const Sl=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:i,rects:r,platform:s,elements:a}=t,{element:l,padding:u=0}=Ee(e,t)||{};if(l==null)return{};const d=ui(u),c={x:n,y:o},p=bn(i),f=gn(p),v=await s.getDimensions(l),h=p==="y",m=h?"top":"left",b=h?"bottom":"right",y=h?"clientHeight":"clientWidth",g=r.reference[f]+r.reference[p]-c[p]-r.floating[f],x=c[p]-r.reference[p],T=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l));let A=T?T[y]:0;(!A||!await(s.isElement==null?void 0:s.isElement(T)))&&(A=a.floating[y]||r.floating[f]);const B=g/2-x/2,I=A/2-v[f]/2-1,H=Xe(d[m],I),P=Xe(d[b],I),L=H,k=A-v[f]-P,S=A/2-v[f]/2+B,V=Jt(L,S,k),U=se(i)!=null&&S!=V&&r.reference[f]/2-(S<L?H:P)-v[f]/2<0?S<L?L-S:k-S:0;return{[p]:c[p]-U,data:{[p]:V,centerOffset:S-V+U}}}});function $l(e,t,n){return(e?[...n.filter(o=>se(o)===e),...n.filter(o=>se(o)!==e)]:n.filter(o=>de(o)===o)).filter(o=>e?se(o)===e||(t?_t(o)!==o:!1):!0)}const Cl=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,o,i;const{rects:r,middlewareData:s,placement:a,platform:l,elements:u}=t,{crossAxis:d=!1,alignment:c,allowedPlacements:p=qn,autoAlignment:f=!0,...v}=Ee(e,t),h=c!==void 0||p===qn?$l(c||null,f,p):p,m=await Nt(t,v),b=((n=s.autoPlacement)==null?void 0:n.index)||0,y=h[b];if(y==null)return{};const g=li(y,r,await(l.isRTL==null?void 0:l.isRTL(u.floating)));if(a!==y)return{reset:{placement:h[0]}};const x=[m[de(y)],m[g[0]],m[g[1]]],T=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:y,overflows:x}],A=h[b+1];if(A)return{data:{index:b+1,overflows:T},reset:{placement:A}};const B=T.map(H=>{const P=se(H.placement);return[H.placement,P&&d?H.overflows.slice(0,2).reduce((L,k)=>L+k,0):H.overflows[0],H.overflows]}).sort((H,P)=>H[1]-P[1]),I=((i=B.filter(H=>H[2].slice(0,se(H[0])?2:3).every(P=>P<=0))[0])==null?void 0:i[0])||B[0][0];return I!==a?{data:{index:b+1,overflows:T},reset:{placement:I}}:{}}}},Tl=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:o,middlewareData:i,rects:r,initialPlacement:s,platform:a,elements:l}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:c,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:v=!0,...h}=Ee(e,t),m=de(o),b=de(s)===s,y=await(a.isRTL==null?void 0:a.isRTL(l.floating)),g=c||(b||!v?[xt(s)]:bl(s));!c&&f!=="none"&&g.push(..._l(s,v,f,y));const x=[s,...g],T=await Nt(t,h),A=[];let B=((n=i.flip)==null?void 0:n.overflows)||[];if(u&&A.push(T[m]),d){const L=li(o,r,y);A.push(T[L[0]],T[L[1]])}if(B=[...B,{placement:o,overflows:A}],!A.every(L=>L<=0)){var I,H;const L=(((I=i.flip)==null?void 0:I.index)||0)+1,k=x[L];if(k)return{data:{index:L,overflows:B},reset:{placement:k}};let S=(H=B.filter(V=>V.overflows[0]<=0).sort((V,U)=>V.overflows[1]-U.overflows[1])[0])==null?void 0:H.placement;if(!S)switch(p){case"bestFit":{var P;const V=(P=B.map(U=>[U.placement,U.overflows.filter($=>$>0).reduce(($,J)=>$+J,0)]).sort((U,$)=>U[1]-$[1])[0])==null?void 0:P[0];V&&(S=V);break}case"initialPlacement":S=s;break}if(o!==S)return{reset:{placement:S}}}return{}}}};async function zl(e,t){const{placement:n,platform:o,elements:i}=e,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=de(n),a=se(n),l=st(n)==="y",u=["left","top"].includes(s)?-1:1,d=r&&l?-1:1,c=Ee(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:v}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return a&&typeof v=="number"&&(f=a==="end"?v*-1:v),l?{x:f*d,y:p*u}:{x:p*u,y:f*d}}const Ol=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:o}=t,i=await zl(t,e);return{x:n+i.x,y:o+i.y,data:i}}}},Pl=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:i}=t,{mainAxis:r=!0,crossAxis:s=!1,limiter:a={fn:m=>{let{x:b,y}=m;return{x:b,y}}},...l}=Ee(e,t),u={x:n,y:o},d=await Nt(t,l),c=st(de(i)),p=ai(c);let f=u[p],v=u[c];if(r){const m=p==="y"?"top":"left",b=p==="y"?"bottom":"right",y=f+d[m],g=f-d[b];f=Jt(y,f,g)}if(s){const m=c==="y"?"top":"left",b=c==="y"?"bottom":"right",y=v+d[m],g=v-d[b];v=Jt(y,v,g)}const h=a.fn({...t,[p]:f,[c]:v});return{...h,data:{x:h.x-n,y:h.y-o}}}}},El=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:o,platform:i,elements:r}=t,{apply:s=()=>{},...a}=Ee(e,t),l=await Nt(t,a),u=de(n),d=se(n),c=st(n)==="y",{width:p,height:f}=o.floating;let v,h;u==="top"||u==="bottom"?(v=u,h=d===(await(i.isRTL==null?void 0:i.isRTL(r.floating))?"start":"end")?"left":"right"):(h=u,v=d==="end"?"top":"bottom");const m=f-l[v],b=p-l[h],y=!t.middlewareData.shift;let g=m,x=b;if(c){const A=p-l.left-l.right;x=d||y?Xe(b,A):A}else{const A=f-l.top-l.bottom;g=d||y?Xe(m,A):A}if(y&&!d){const A=ze(l.left,0),B=ze(l.right,0),I=ze(l.top,0),H=ze(l.bottom,0);c?x=p-2*(A!==0||B!==0?A+B:ze(l.left,l.right)):g=f-2*(I!==0||H!==0?I+H:ze(l.top,l.bottom))}await s({...t,availableWidth:x,availableHeight:g});const T=await i.getDimensions(r.floating);return p!==T.width||f!==T.height?{reset:{rects:!0}}:{}}}};function ne(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ue(e){return ne(e).getComputedStyle(e)}const Zn=Math.min,qe=Math.max,kt=Math.round;function ci(e){const t=ue(e);let n=parseFloat(t.width),o=parseFloat(t.height);const i=e.offsetWidth,r=e.offsetHeight,s=kt(n)!==i||kt(o)!==r;return s&&(n=i,o=r),{width:n,height:o,fallback:s}}function Se(e){return pi(e)?(e.nodeName||"").toLowerCase():""}let lt;function di(){if(lt)return lt;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(lt=e.brands.map(t=>t.brand+"/"+t.version).join(" "),lt):navigator.userAgent}function ce(e){return e instanceof ne(e).HTMLElement}function xe(e){return e instanceof ne(e).Element}function pi(e){return e instanceof ne(e).Node}function Yn(e){return typeof ShadowRoot>"u"?!1:e instanceof ne(e).ShadowRoot||e instanceof ShadowRoot}function It(e){const{overflow:t,overflowX:n,overflowY:o,display:i}=ue(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(i)}function Al(e){return["table","td","th"].includes(Se(e))}function Xt(e){const t=/firefox/i.test(di()),n=ue(e),o=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!o&&o!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(i=>n.willChange.includes(i))||["paint","layout","strict","content"].some(i=>{const r=n.contain;return r!=null&&r.includes(i)})}function hi(){return!/^((?!chrome|android).)*safari/i.test(di())}function wn(e){return["html","body","#document"].includes(Se(e))}function fi(e){return xe(e)?e:e.contextElement}const mi={x:1,y:1};function Ne(e){const t=fi(e);if(!ce(t))return mi;const n=t.getBoundingClientRect(),{width:o,height:i,fallback:r}=ci(t);let s=(r?kt(n.width):n.width)/o,a=(r?kt(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}function Qe(e,t,n,o){var i,r;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),a=fi(e);let l=mi;t&&(o?xe(o)&&(l=Ne(o)):l=Ne(e));const u=a?ne(a):window,d=!hi()&&n;let c=(s.left+(d&&((i=u.visualViewport)==null?void 0:i.offsetLeft)||0))/l.x,p=(s.top+(d&&((r=u.visualViewport)==null?void 0:r.offsetTop)||0))/l.y,f=s.width/l.x,v=s.height/l.y;if(a){const h=ne(a),m=o&&xe(o)?ne(o):o;let b=h.frameElement;for(;b&&o&&m!==h;){const y=Ne(b),g=b.getBoundingClientRect(),x=getComputedStyle(b);g.x+=(b.clientLeft+parseFloat(x.paddingLeft))*y.x,g.y+=(b.clientTop+parseFloat(x.paddingTop))*y.y,c*=y.x,p*=y.y,f*=y.x,v*=y.y,c+=g.x,p+=g.y,b=ne(b).frameElement}}return{width:f,height:v,top:p,right:c+f,bottom:p+v,left:c,x:c,y:p}}function ke(e){return((pi(e)?e.ownerDocument:e.document)||window.document).documentElement}function Rt(e){return xe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function vi(e){return Qe(ke(e)).left+Rt(e).scrollLeft}function et(e){if(Se(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Yn(e)&&e.host||ke(e);return Yn(t)?t.host:t}function yi(e){const t=et(e);return wn(t)?t.ownerDocument.body:ce(t)&&It(t)?t:yi(t)}function St(e,t){var n;t===void 0&&(t=[]);const o=yi(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),r=ne(o);return i?t.concat(r,r.visualViewport||[],It(o)?o:[]):t.concat(o,St(o))}function Jn(e,t,n){return t==="viewport"?We(function(o,i){const r=ne(o),s=ke(o),a=r.visualViewport;let l=s.clientWidth,u=s.clientHeight,d=0,c=0;if(a){l=a.width,u=a.height;const p=hi();(p||!p&&i==="fixed")&&(d=a.offsetLeft,c=a.offsetTop)}return{width:l,height:u,x:d,y:c}}(e,n)):xe(t)?We(function(o,i){const r=Qe(o,!0,i==="fixed"),s=r.top+o.clientTop,a=r.left+o.clientLeft,l=ce(o)?Ne(o):{x:1,y:1};return{width:o.clientWidth*l.x,height:o.clientHeight*l.y,x:a*l.x,y:s*l.y}}(t,n)):We(function(o){const i=ke(o),r=Rt(o),s=o.ownerDocument.body,a=qe(i.scrollWidth,i.clientWidth,s.scrollWidth,s.clientWidth),l=qe(i.scrollHeight,i.clientHeight,s.scrollHeight,s.clientHeight);let u=-r.scrollLeft+vi(o);const d=-r.scrollTop;return ue(s).direction==="rtl"&&(u+=qe(i.clientWidth,s.clientWidth)-a),{width:a,height:l,x:u,y:d}}(ke(e)))}function Xn(e){return ce(e)&&ue(e).position!=="fixed"?e.offsetParent:null}function Qn(e){const t=ne(e);let n=Xn(e);for(;n&&Al(n)&&ue(n).position==="static";)n=Xn(n);return n&&(Se(n)==="html"||Se(n)==="body"&&ue(n).position==="static"&&!Xt(n))?t:n||function(o){let i=et(o);for(;ce(i)&&!wn(i);){if(Xt(i))return i;i=et(i)}return null}(e)||t}function Nl(e,t,n){const o=ce(t),i=ke(t),r=Qe(e,!0,n==="fixed",t);let s={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(o||!o&&n!=="fixed")if((Se(t)!=="body"||It(i))&&(s=Rt(t)),ce(t)){const l=Qe(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else i&&(a.x=vi(i));return{x:r.left+s.scrollLeft-a.x,y:r.top+s.scrollTop-a.y,width:r.width,height:r.height}}const Il={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:i}=e;const r=n==="clippingAncestors"?function(u,d){const c=d.get(u);if(c)return c;let p=St(u).filter(m=>xe(m)&&Se(m)!=="body"),f=null;const v=ue(u).position==="fixed";let h=v?et(u):u;for(;xe(h)&&!wn(h);){const m=ue(h),b=Xt(h);(v?b||f:b||m.position!=="static"||!f||!["absolute","fixed"].includes(f.position))?f=m:p=p.filter(y=>y!==h),h=et(h)}return d.set(u,p),p}(t,this._c):[].concat(n),s=[...r,o],a=s[0],l=s.reduce((u,d)=>{const c=Jn(t,d,i);return u.top=qe(c.top,u.top),u.right=Zn(c.right,u.right),u.bottom=Zn(c.bottom,u.bottom),u.left=qe(c.left,u.left),u},Jn(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:o}=e;const i=ce(n),r=ke(n);if(n===r)return t;let s={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((i||!i&&o!=="fixed")&&((Se(n)!=="body"||It(r))&&(s=Rt(n)),ce(n))){const u=Qe(n);a=Ne(n),l.x=u.x+n.clientLeft,l.y=u.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-s.scrollLeft*a.x+l.x,y:t.y*a.y-s.scrollTop*a.y+l.y}},isElement:xe,getDimensions:function(e){return ce(e)?ci(e):e.getBoundingClientRect()},getOffsetParent:Qn,getDocumentElement:ke,getScale:Ne,async getElementRects(e){let{reference:t,floating:n,strategy:o}=e;const i=this.getOffsetParent||Qn,r=this.getDimensions;return{reference:Nl(t,await i(n),o),floating:{x:0,y:0,...await r(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>ue(e).direction==="rtl"},Rl=(e,t,n)=>{const o=new Map,i={platform:Il,...n},r={...i.platform,_c:o};return kl(e,t,{...i,platform:r})},Oe={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:e=>[...e,"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 tt(e,t){let n=Oe.themes[e]||{},o;do o=n[t],typeof o>"u"?n.$extend?n=Oe.themes[n.$extend]||{}:(n=null,o=Oe[t]):n=null;while(n);return o}function Ml(e){const t=[e];let n=Oe.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=Oe.themes[n.$extend]||{}):n=null;while(n);return t.map(o=>`v-popper--theme-${o}`)}function eo(e){const t=[e];let n=Oe.themes[e]||{};do n.$extend?(t.push(n.$extend),n=Oe.themes[n.$extend]||{}):n=null;while(n);return t}let Le=!1;if(typeof window<"u"){Le=!1;try{const e=Object.defineProperty({},"passive",{get(){Le=!0}});window.addEventListener("test",null,e)}catch{}}let gi=!1;typeof window<"u"&&typeof navigator<"u"&&(gi=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const bi=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),to={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},no={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function oo(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Bt(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const re=[];let Ce=null;const io={};function ro(e){let t=io[e];return t||(t=io[e]=[]),t}let Qt=function(){};typeof window<"u"&&(Qt=window.Element);function j(e){return function(t){return tt(t.theme,e)}}const Ut="__floating-vue__popper",wi=()=>G({name:"VPopper",provide(){return{[Ut]:{parentPopper:this}}},inject:{[Ut]:{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:j("disabled")},positioningDisabled:{type:Boolean,default:j("positioningDisabled")},placement:{type:String,default:j("placement"),validator:e=>bi.includes(e)},delay:{type:[String,Number,Object],default:j("delay")},distance:{type:[Number,String],default:j("distance")},skidding:{type:[Number,String],default:j("skidding")},triggers:{type:Array,default:j("triggers")},showTriggers:{type:[Array,Function],default:j("showTriggers")},hideTriggers:{type:[Array,Function],default:j("hideTriggers")},popperTriggers:{type:Array,default:j("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:j("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:j("popperHideTriggers")},container:{type:[String,Object,Qt,Boolean],default:j("container")},boundary:{type:[String,Qt],default:j("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:j("strategy")},autoHide:{type:[Boolean,Function],default:j("autoHide")},handleResize:{type:Boolean,default:j("handleResize")},instantMove:{type:Boolean,default:j("instantMove")},eagerMount:{type:Boolean,default:j("eagerMount")},popperClass:{type:[String,Array,Object],default:j("popperClass")},computeTransformOrigin:{type:Boolean,default:j("computeTransformOrigin")},autoMinSize:{type:Boolean,default:j("autoMinSize")},autoSize:{type:[Boolean,String],default:j("autoSize")},autoMaxSize:{type:Boolean,default:j("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:j("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:j("preventOverflow")},overflowPadding:{type:[Number,String],default:j("overflowPadding")},arrowPadding:{type:[Number,String],default:j("arrowPadding")},arrowOverflow:{type:Boolean,default:j("arrowOverflow")},flip:{type:Boolean,default:j("flip")},shift:{type:Boolean,default:j("shift")},shiftCrossAxis:{type:Boolean,default:j("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:j("noAutoFocus")},disposeTimeout:{type:Number,default:j("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!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(e=>e.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 e;return(e=this[Ut])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?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((e,t)=>(e[t]="$_computePosition",e),{})},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:e=null,skipDelay:t=!1,force:n=!1}={}){var o,i;(o=this.parentPopper)!=null&&o.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((i=this.parentPopper)==null?void 0:i.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;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:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.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 e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(Ol({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(Cl({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Pl({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(Tl({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(Sl({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:o,rects:i,middlewareData:r})=>{let s;const{centerOffset:a}=r.arrow;return o.startsWith("top")||o.startsWith("bottom")?s=Math.abs(a)>i.reference.width/2:s=Math.abs(a)>i.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const o=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:i,placement:r,middlewareData:s})=>{var a;if((a=s.autoSize)!=null&&a.skip)return{};let l,u;return r.startsWith("top")||r.startsWith("bottom")?l=i.reference.width:u=i.reference.height,this.$_innerNode.style[o==="min"?"minWidth":o==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[o==="min"?"minHeight":o==="max"?"maxHeight":"height"]=u!=null?`${u}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(El({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:o,availableHeight:i})=>{this.$_innerNode.style.maxWidth=o!=null?`${o}px`:null,this.$_innerNode.style.maxHeight=i!=null?`${i}px`:null}})));const n=await Rl(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Ce&&this.instantMove&&Ce.instantMove&&Ce!==this.parentPopper){Ce.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Ce=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Bt(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...St(this.$_referenceNode),...St(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),o=n.parentNode.getBoundingClientRect(),i=t.x+t.width/2-(o.left+n.offsetLeft),r=t.y+t.height/2-(o.top+n.offsetTop);this.result.transformOrigin=`${i}px ${r}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<re.length;n++)t=re[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}re.push(this),document.body.classList.add("v-popper--some-open");for(const t of eo(this.theme))ro(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Bt(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,oo(re,this),re.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of eo(this.theme)){const o=ro(n);oo(o,this),o.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Ce===this&&(Ce=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Bt(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,to,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],to,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,no,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],no,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(o=>o.addEventListener(t,n,Le?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,o,i){let r=n;o!=null&&(r=typeof o=="function"?o(r):o),r.forEach(s=>{const a=t[s];a&&this.$_registerEventListeners(e,a,i)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:o,eventType:i,handler:r}=n;!e||e===i?o.forEach(s=>s.removeEventListener(i,r)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const o=n.getAttribute(e);o&&(n.removeAttribute(e),n.setAttribute(t,o))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const o=e[n];o==null?t.removeAttribute(n):t.setAttribute(n,o)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(Ke>=e.left&&Ke<=e.right&&Ze>=e.top&&Ze<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Ke-ye,o=Ze-ge,i=t.left+t.width/2-ye+(t.top+t.height/2)-ge+t.width+t.height,r=ye+n*i,s=ge+o*i;return ut(ye,ge,r,s,t.left,t.top,t.left,t.bottom)||ut(ye,ge,r,s,t.left,t.top,t.right,t.top)||ut(ye,ge,r,s,t.right,t.top,t.right,t.bottom)||ut(ye,ge,r,s,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(gi){const e=Le?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>so(t),e),document.addEventListener("touchend",t=>ao(t,!0),e)}else window.addEventListener("mousedown",e=>so(e),!0),window.addEventListener("click",e=>ao(e,!1),!0);window.addEventListener("resize",Ll)}function so(e,t){for(let n=0;n<re.length;n++){const o=re[n];try{o.mouseDownContains=o.popperNode().contains(e.target)}catch{}}}function ao(e,t){jl(e,t)}function jl(e,t){const n={};for(let o=re.length-1;o>=0;o--){const i=re[o];try{const r=i.containsGlobalTarget=i.mouseDownContains||i.popperNode().contains(e.target);i.pendingHide=!1,requestAnimationFrame(()=>{if(i.pendingHide=!1,!n[i.randomId]&&lo(i,r,e)){if(i.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&r){let a=i.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let s=i.parentPopper;for(;s&&lo(s,s.containsGlobalTarget,e);)s.$_handleGlobalClose(e,t),s=s.parentPopper}})}catch{}}}function lo(e,t,n){return n.closeAllPopover||n.closePopover&&t||Dl(e,n)&&!t}function Dl(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function Ll(){for(let e=0;e<re.length;e++)re[e].$_computePosition()}let ye=0,ge=0,Ke=0,Ze=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{ye=Ke,ge=Ze,Ke=e.clientX,Ze=e.clientY},Le?{passive:!0}:void 0);function ut(e,t,n,o,i,r,s,a){const l=((s-i)*(t-r)-(a-r)*(e-i))/((a-r)*(n-e)-(s-i)*(o-t)),u=((n-e)*(t-r)-(o-t)*(e-i))/((a-r)*(n-e)-(s-i)*(o-t));return l>=0&&l<=1&&u>=0&&u<=1}const Vl={extends:wi()},Mt=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n};function Hl(e,t,n,o,i,r){return w(),O("div",{ref:"reference",class:Y(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[q(e.$slots,"default",So($o(e.slotData)))],2)}const Bl=Mt(Vl,[["render",Hl]]);function Ul(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var o=e.indexOf("rv:");return parseInt(e.substring(o+3,e.indexOf(".",o)),10)}var i=e.indexOf("Edge/");return i>0?parseInt(e.substring(i+5,e.indexOf(".",i)),10):-1}let dt;function en(){en.init||(en.init=!0,dt=Ul()!==-1)}var jt={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){en(),He(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",dt&&this.$el.appendChild(e),e.data="about:blank",dt||this.$el.appendChild(e)},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&&(!dt&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Fl=_o();an("data-v-b329ee4c");const Gl={class:"resize-observer",tabindex:"-1"};ln();const Wl=Fl((e,t,n,o,i,r)=>(w(),F("div",Gl)));jt.render=Wl;jt.__scopeId="data-v-b329ee4c";jt.__file="src/components/ResizeObserver.vue";const _i=(e="theme")=>({computed:{themeClass(){return Ml(this[e])}}}),ql=G({name:"VPopperContent",components:{ResizeObserver:jt},mixins:[_i()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),Kl=["id","aria-hidden","tabindex","data-popper-placement"],Zl={ref:"inner",class:"v-popper__inner"},Yl=C("div",{class:"v-popper__arrow-outer"},null,-1),Jl=C("div",{class:"v-popper__arrow-inner"},null,-1),Xl=[Yl,Jl];function Ql(e,t,n,o,i,r){const s=Me("ResizeObserver");return w(),O("div",{id:e.popperId,ref:"popover",class:Y(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:le(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=Ki(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[C("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),C("div",{class:"v-popper__wrapper",style:le(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[C("div",Zl,[e.mounted?(w(),O(ae,{key:0},[C("div",null,[q(e.$slots,"default")]),e.handleResize?(w(),F(s,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):W("",!0)],64)):W("",!0)],512),C("div",{ref:"arrow",class:"v-popper__arrow-container",style:le(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Xl,4)],4)],46,Kl)}const xi=Mt(ql,[["render",Ql]]),ki={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let tn=function(){};typeof window<"u"&&(tn=window.Element);const eu=G({name:"VPopperWrapper",components:{Popper:Bl,PopperContent:xi},mixins:[ki,_i("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,tn,Boolean],default:void 0},boundary:{type:[String,tn],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":e=>!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(e=>e!==this.$refs.popperContent.$el)}}});function tu(e,t,n,o,i,r){const s=Me("PopperContent"),a=Me("Popper");return w(),F(a,te({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=l=>e.$emit("update:shown",l)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:N(({popperId:l,isShown:u,shouldMountContent:d,skipTransition:c,autoHide:p,show:f,hide:v,handleResize:h,onResize:m,classes:b,result:y})=>[q(e.$slots,"default",{shown:u,show:f,hide:v}),E(s,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:u,mounted:d,"skip-transition":c,"auto-hide":p,"handle-resize":h,classes:b,result:y,onHide:v,onResize:m},{default:N(()=>[q(e.$slots,"popper",{shown:u,hide:v})]),_: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 _n=Mt(eu,[["render",tu]]),nu={..._n,name:"VDropdown",vPopperTheme:"dropdown"};({..._n});({..._n});const ou=G({name:"VTooltipDirective",components:{Popper:wi(),PopperContent:xi},mixins:[ki],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>tt(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>tt(e.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(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(o=>this.onResult(t,o)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),iu=["innerHTML"],ru=["textContent"];function su(e,t,n,o,i,r){const s=Me("PopperContent"),a=Me("Popper");return w(),F(a,te({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:N(({popperId:l,isShown:u,shouldMountContent:d,skipTransition:c,autoHide:p,hide:f,handleResize:v,onResize:h,classes:m,result:b})=>[E(s,{ref:"popperContent",class:Y({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:u,mounted:d,"skip-transition":c,"auto-hide":p,"handle-resize":v,classes:m,result:b,onHide:f,onResize:h},{default:N(()=>[e.html?(w(),O("div",{key:0,innerHTML:e.finalContent},null,8,iu)):(w(),O("div",{key:1,textContent:he(e.finalContent)},null,8,ru))]),_: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 au=Mt(ou,[["render",su]]),Si="v-popper--has-tooltip";function lu(e,t){let n=e.placement;if(!n&&t)for(const o of bi)t[o]&&(n=o);return n||(n=tt(e.theme||"tooltip","placement")),n}function $i(e,t,n){let o;const i=typeof t;return i==="string"?o={content:t}:t&&i==="object"?o=t:o={content:!1},o.placement=lu(o,n),o.targetNodes=()=>[e],o.referenceNode=()=>e,o}let Ft,nt,uu=0;function cu(){if(Ft)return;nt=M([]),Ft=ur({name:"VTooltipDirectiveApp",setup(){return{directives:nt}},render(){return this.directives.map(t=>un(au,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Ft.mount(e)}function du(e,t,n){cu();const o=M($i(e,t,n)),i=M(!1),r={id:uu++,options:o,shown:i};return nt.value.push(r),e.classList&&e.classList.add(Si),e.$_popper={options:o,item:r,show(){i.value=!0},hide(){i.value=!1}}}function Ci(e){if(e.$_popper){const t=nt.value.indexOf(e.$_popper.item);t!==-1&&nt.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Si)}function uo(e,{value:t,modifiers:n}){const o=$i(e,t,n);if(!o.content||tt(o.theme||"tooltip","disabled"))Ci(e);else{let i;e.$_popper?(i=e.$_popper,i.options.value=o):i=du(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?i.show():i.hide())}}const pu={beforeMount:uo,updated:uo,beforeUnmount(e){Ci(e)}};function co(e){e.addEventListener("mousedown",$t),e.addEventListener("click",$t),e.addEventListener("touchstart",Ti,Le?{passive:!0}:!1)}function po(e){e.removeEventListener("mousedown",$t),e.removeEventListener("click",$t),e.removeEventListener("touchstart",Ti),e.removeEventListener("touchend",zi),e.removeEventListener("touchcancel",Oi)}function $t(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Ti(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",zi),t.addEventListener("touchcancel",Oi)}}function zi(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],o=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-o.screenY)<20&&Math.abs(n.screenX-o.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Oi(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const hu={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&co(e)},updated(e,{value:t,oldValue:n,modifiers:o}){e.$_closePopoverModifiers=o,t!==n&&(typeof t>"u"||t?co(e):po(e))},beforeUnmount(e){po(e)}},Ie=pu,fu=hu,mu=nu,vu=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n},yu={},gu={class:"h-3 w-3 $ui-inline-fcc"},bu=C("svg",{class:"animate-spin",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[C("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),C("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),wu=[bu];function _u(e,t){return w(),O("div",gu,wu)}const Pi=vu(yu,[["render",_u]]),xu={key:2},ie=G({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(e,{emit:t}){const n=e,o=t,i=er(),r=R(()=>i.to?"router-link":i.href?"a":"button"),s=R(()=>n.loading||n.disabled);function a(c){if(s.value){c.preventDefault(),c.stopPropagation(),c.stopImmediatePropagation();return}o("click",c)}const l={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"}},u=tr(),d=R(()=>n.flat?l.flat[n.type]:n.outlined?l.outlined[n.type]:l.normal[n.type]);return(c,p)=>(w(),F(ft(r.value),te(c.$attrs,{role:"button","aria-disabled":s.value,class:["$ui-base $ui-inline-fcc inline-flex cursor-pointer select-none gap1.25 py-0 no-underline $ui-transition",[[l.common[n.type]],{"rounded-full":n.round==="full","$ui-base-br":n.round==="normal","opacity-50 cursor-not-allowed":s.value,"bg-transparent":n.flat||n.outlined},[c.outlined?"b-1 $ui-border-base active:ring-3 shadow-sm":"border-none",c.size==="mini"?"px1 text-3 h5.5":"px3.5 text-3.5 h8",d.value]]],onClickCapture:a}),{default:N(()=>[c.loading?(w(),F(Pi,{key:0,class:"mt0.5 h-full w3"})):q(c.$slots,"icon",{key:1,class:"h-full w3 $ui-inline-fcc"}),_(u).default?(w(),O("div",xu,[q(c.$slots,"default")])):W("",!0),q(c.$slots,"icon-right")]),_:3},16,["aria-disabled","class"]))}}),Q=G({__name:"Icon",props:{icon:{},inline:{type:Boolean},action:{type:Boolean,default:!1}},setup(e){return(t,n)=>(w(),F(ft(t.inline?"span":"div"),{class:Y(["$ui-base",[t.icon,t.action?"cursor-pointer hover:op50":""]])},null,8,["class"]))}});function ku(e,t,{enumerable:n=!1,unwrap:o=!0}={}){for(const[i,r]of Object.entries(t))i!=="value"&&(Ct(r)&&o?Object.defineProperty(e,i,{get(){return r.value},set(s){r.value=s},enumerable:n}):Object.defineProperty(e,i,{value:r,enumerable:n}));return e}function ho(e){return typeof e=="function"?e():_(e)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Su=e=>typeof e<"u",fo=()=>{};function $u(e,t){function n(...o){return new Promise((i,r)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(i).catch(r)})}return n}function Cu(e,t={}){let n,o,i=fo;const r=s=>{clearTimeout(s),i(),i=fo};return s=>{const a=ho(e),l=ho(t.maxWait);return n&&r(n),a<=0||l!==void 0&&l<=0?(o&&(r(o),o=null),Promise.resolve(s())):new Promise((u,d)=>{i=t.rejectOnCancel?d:u,l&&!o&&(o=setTimeout(()=>{n&&r(n),o=null,u(s())},l)),n=setTimeout(()=>{o&&r(o),o=null,u(s())},a)})}}function Tu(e,t=200,n={}){return $u(Cu(t,n),e)}function zu(e,t=200,n={}){const o=M(e.value),i=Tu(()=>{o.value=e.value},t,n);return me(e,()=>i()),o}function Ou(e,t={}){let n=e,o,i;const r=rr((l,u)=>(o=l,i=u,{get(){return s()},set(d){a(d)}}));function s(l=!0){return l&&o(),n}function a(l,u=!0){var d,c;if(l===n)return;const p=n;((d=t.onBeforeChange)==null?void 0:d.call(t,l,p))!==!1&&(n=l,(c=t.onChanged)==null||c.call(t,l,p),u&&i())}return ku(r,{get:s,set:a,untrackedGet:()=>s(!1),silentSet:l=>a(l,!1),peek:()=>s(!1),lay:l=>a(l,!1)},{enumerable:!0})}function Pu(e){return JSON.parse(JSON.stringify(e))}function Eu(e,t,n,o={}){var i,r,s;const{clone:a=!1,passive:l=!1,eventName:u,deep:d=!1,defaultValue:c,shouldEmit:p}=o,f=cn(),v=n||f?.emit||((i=f?.$emit)==null?void 0:i.bind(f))||((s=(r=f?.proxy)==null?void 0:r.$emit)==null?void 0:s.bind(f?.proxy));let h=u;t||(t="modelValue"),h=h||`update:${t.toString()}`;const m=g=>a?typeof a=="function"?a(g):Pu(g):g,b=()=>Su(e[t])?m(e[t]):c,y=g=>{p?p(g)&&v(h,g):v(h,g)};if(l){const g=b(),x=M(g);let T=!1;return me(()=>e[t],A=>{T||(T=!0,x.value=m(A),He(()=>T=!1))}),me(x,A=>{!T&&(A!==e[t]||d)&&y(A)},{deep:d}),x}else return R({get(){return b()},set(g){y(g)}})}const Au=["type","placeholder","disabled"],Nu={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"},Gt="transition-colors $ui-fcc color-gray-500 dark:color-gray-300 group-[&.focused]:color-primary-500; group-[&.accent.focused]:color-accent-500",Iu=G({__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(e,{emit:t}){const n=e,o=t,i=Eu(n,"modelValue",o),r=zu(R(()=>n.loading),n.loadingDebounceTime),s=Ou(!1,{onChanged(c){o("updateFocused",c)}}),a=R(()=>n.variant==="flat"||n.variant==="warning"||n.disabled||n.readonly),l=R(()=>n.disabled||r.value),u=M();let d=!1;return Ye(()=>{r.value&&s.value?d=!0:!r.value&&d&&(d=!1,He(()=>{s.value=!0}))}),Co(()=>{n.autoFocus&&(s.value=!0)}),Ye(()=>{var c;s.value&&((c=u.value)==null||c.focus())}),(c,p)=>(w(),O("div",{class:Y(["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":c.variant==="flat","cursor-not-allowed opacity-50":l.value,accent:c.variant==="accent",focused:_(s)},[c.variant==="warning"?"border-warning-500 dark:border-warning-300":"border-primary-100 dark:border-gray-700"]]]),onClick:p[2]||(p[2]=()=>{s.value=!0})},[c.leftIcon?(w(),O("div",{key:0,class:Y(Gt)},[E(Q,{icon:c.leftIcon},null,8,["icon"])])):W("",!0),fe(C("input",{ref_key:"inputRef",ref:u,"onUpdate:modelValue":p[0]||(p[0]=f=>Ct(i)?i.value=f:null),class:"$ui-base w-full bg-transparent color-inherit outline-none placeholder-color-gray-500 dark:placeholder-gray-300",type:c.type,placeholder:c.placeholder,disabled:l.value||c.readonly,onBlur:p[1]||(p[1]=f=>s.value=!1)},null,40,Au),[[nr,_(i)]]),_(r)?(w(),O("div",{key:1,class:Y(Gt)},[E(Pi)])):c.rightIcon?(w(),O("div",{key:2,class:Y(Gt)},[E(Q,{icon:c.rightIcon},null,8,["icon"])])):W("",!0),a.value?W("",!0):(w(),O("div",Nu))],2))}}),Ru={class:"overflow-hidden rounded-lg shadow-lg"},Mu=C("div",{class:"p2 opacity-40"}," Empty... ",-1),ju=G({__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(e){const t=e;return Re("$ui-dropdown-disabled",R(()=>t.disabled)),(n,o)=>(w(),F(_(mu),{disabled:n.disabled,class:"inline-block w-auto",shown:n.shown,triggers:[n.trigger],distance:n.distance+6,placement:n.placement,skidding:n.skidding,"onUpdate:shown":o[0]||(o[0]=i=>n.$emit("update:visible",i)),onClick:o[1]||(o[1]=i=>{i.stopPropagation()})},{popper:N(({hide:i})=>[C("div",Ru,[q(n.$slots,"popper",So($o({hide:i})),()=>[Mu])])]),default:N(()=>[q(n.$slots,"default",{},()=>[E(ie,te({...n.buttonProps,disabled:n.disabled},{class:n.buttonClass}),or({icon:N(()=>[q(n.$slots,"button-icon")]),"icon-right":N(()=>[q(n.$slots,"button-icon-right")]),_:2},[n.label?{name:"default",fn:N(()=>[ve(he(n.label),1)]),key:"0"}:void 0]),1040,["class"])])]),_:3},8,["disabled","shown","triggers","distance","placement","skidding"]))}}),mo=G({__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(e){const t=e,n=je("$ui-dropdown-disabled",void 0);return(o,i)=>fe((w(),F(ie,te({...t,round:!1},{disabled:_(n),class:"w-full justify-start transition-colors not-action:bg-transparent!"}),{icon:N(()=>[q(o.$slots,"icon")]),default:N(()=>[q(o.$slots,"default")]),_:3},16,["disabled"])),[[_(fu)]])}});function Ei(e){return ar()?(lr(e),!0):!1}function Ve(e){return typeof e=="function"?e():_(e)}const xn=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Du=e=>typeof e<"u",Lu=Object.prototype.toString,Vu=e=>Lu.call(e)==="[object Object]",Ai=()=>{};function Hu(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const o=t;t=void 0,o&&await o},n}function Bu(e,t,n={}){const{immediate:o=!0}=n,i=M(!1);let r=null;function s(){r&&(clearTimeout(r),r=null)}function a(){i.value=!1,s()}function l(...u){s(),i.value=!0,r=setTimeout(()=>{i.value=!1,r=null,e(...u)},Ve(t))}return o&&(i.value=!0,xn&&l()),Ei(a),{isPending:sr(i),start:l,stop:a}}function Uu(e){var t;const n=Ve(e);return(t=n?.$el)!=null?t:n}const Ni=xn?window:void 0,Ii=xn?window.navigator:void 0;function _e(...e){let t,n,o,i;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,i]=e,t=Ni):[t,n,o,i]=e,!t)return Ai;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const r=[],s=()=>{r.forEach(d=>d()),r.length=0},a=(d,c,p,f)=>(d.addEventListener(c,p,f),()=>d.removeEventListener(c,p,f)),l=me(()=>[Uu(t),Ve(i)],([d,c])=>{if(s(),!d)return;const p=Vu(c)?{...c}:c;r.push(...n.flatMap(f=>o.map(v=>a(d,f,v,p))))},{immediate:!0,flush:"post"}),u=()=>{l(),s()};return Ei(u),u}function Fu(){const e=M(!1),t=cn();return t&&Co(()=>{e.value=!0},t),e}function Ri(e){const t=Fu();return R(()=>(t.value,!!e()))}function vo(e,t={}){const{controls:n=!1,navigator:o=Ii}=t,i=Ri(()=>o&&"permissions"in o);let r;const s=typeof e=="string"?{name:e}:e,a=M(),l=()=>{r&&(a.value=r.state)},u=Hu(async()=>{if(i.value){if(!r)try{r=await o.permissions.query(s),_e(r,"change",l),l()}catch{a.value="prompt"}return r}});return u(),n?{state:a,isSupported:i,query:u}:a}function Gu(e={}){const{navigator:t=Ii,read:n=!1,source:o,copiedDuring:i=1500,legacy:r=!1}=e,s=Ri(()=>t&&"clipboard"in t),a=vo("clipboard-read"),l=vo("clipboard-write"),u=R(()=>s.value||r),d=M(""),c=M(!1),p=Bu(()=>c.value=!1,i);function f(){s.value&&b(a.value)?t.clipboard.readText().then(y=>{d.value=y}):d.value=m()}u.value&&n&&_e(["copy","cut"],f);async function v(y=Ve(o)){u.value&&y!=null&&(s.value&&b(l.value)?await t.clipboard.writeText(y):h(y),d.value=y,c.value=!0,p.start())}function h(y){const g=document.createElement("textarea");g.value=y??"",g.style.position="absolute",g.style.opacity="0",document.body.appendChild(g),g.select(),document.execCommand("copy"),g.remove()}function m(){var y,g,x;return(x=(g=(y=document?.getSelection)==null?void 0:y.call(document))==null?void 0:g.toString())!=null?x:""}function b(y){return y==="granted"||y==="prompt"}return{isSupported:u,text:d,copied:c,copy:v}}function Wu(e){return JSON.parse(JSON.stringify(e))}const qu={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Ku(e={}){const{reactive:t=!1,target:n=Ni,aliasMap:o=qu,passive:i=!0,onEventFired:r=Ai}=e,s=Cn(new Set),a={toJSON(){return{}},current:s},l=t?Cn(a):a,u=new Set,d=new Set;function c(h,m){h in l&&(t?l[h]=m:l[h].value=m)}function p(){s.clear();for(const h of d)c(h,!1)}function f(h,m){var b,y;const g=(b=h.key)==null?void 0:b.toLowerCase(),x=[(y=h.code)==null?void 0:y.toLowerCase(),g].filter(Boolean);g&&(m?s.add(g):s.delete(g));for(const T of x)d.add(T),c(T,m);g==="meta"&&!m?(u.forEach(T=>{s.delete(T),c(T,!1)}),u.clear()):typeof h.getModifierState=="function"&&h.getModifierState("Meta")&&m&&[...s,...x].forEach(T=>u.add(T))}_e(n,"keydown",h=>(f(h,!0),r(h)),{passive:i}),_e(n,"keyup",h=>(f(h,!1),r(h)),{passive:i}),_e("blur",p,{passive:!0}),_e("focus",p,{passive:!0});const v=new Proxy(l,{get(h,m,b){if(typeof m!="string")return Reflect.get(h,m,b);if(m=m.toLowerCase(),m in o&&(m=o[m]),!(m in l))if(/[+_-]/.test(m)){const g=m.split(/[+_-]/g).map(x=>x.trim());l[m]=R(()=>g.every(x=>Ve(v[x])))}else l[m]=M(!1);const y=Reflect.get(h,m,b);return t?Ve(y):y}});return v}function Zu(e,t,n,o={}){var i,r,s;const{clone:a=!1,passive:l=!1,eventName:u,deep:d=!1,defaultValue:c,shouldEmit:p}=o,f=cn(),v=n||f?.emit||((i=f?.$emit)==null?void 0:i.bind(f))||((s=(r=f?.proxy)==null?void 0:r.$emit)==null?void 0:s.bind(f?.proxy));let h=u;t||(t="modelValue"),h=h||`update:${t.toString()}`;const m=g=>a?typeof a=="function"?a(g):Wu(g):g,b=()=>Du(e[t])?m(e[t]):c,y=g=>{p?p(g)&&v(h,g):v(h,g)};if(l){const g=b(),x=M(g);let T=!1;return me(()=>e[t],A=>{T||(T=!0,x.value=m(A),He(()=>T=!1))}),me(x,A=>{!T&&(A!==e[t]||d)&&y(A)},{deep:d}),x}else return R({get(){return b()},set(g){y(g)}})}const Mi=Symbol("StateEditorSymbol");function Yu(e){const t=M(e);return Re(Mi,t),{context:t}}function kn(){return je(Mi)}function Ju(){const e=M(""),t=M("string"),n=M(!1),o=kn();return{editingText:e,editing:n,toggleEditing(i){i&&(t.value=i),n.value=!n.value},editingType:t,nodeId:o.value.nodeId}}function Xu(e,t){if(e==="array")return t.length;const n="newProp";let o=1;for(;;){const i=`${n}${o}`;if(!t[i])return i;o++}}function Qu(){const e=M({enable:!1,key:"",value:"undefined"});function t(o,i){const r=Xu(o,i);e.value={enable:!0,key:r.toString(),value:"undefined"}}function n(){e.value={enable:!1,key:"",value:"undefined"}}return{addNewProp:t,resetDrafting:n,draftingNewProp:e}}const ec={class:"inline pl5px"},tc={class:"w160px py5px"},nc=G({__name:"StateFieldEditor",props:{data:{},hovering:{type:Boolean},depth:{},showAddIfNeeded:{type:Boolean,default:!0},disableEdit:{type:Boolean}},emits:["enableEditInput","addNewProp"],setup(e){const t=e,n=kn(),{copy:o,isSupported:i}=Gu(),r=M(!1),s=R(()=>yn(t.data.value)),a=R(()=>s.value.value),l=R(()=>s.value.customType),u=R(()=>a.value===null?"null":typeof a.value),d={flat:!0,size:"mini"},c=R(()=>({"opacity-0":!t.hovering}));function p(v,h=!1){wt({path:t.data.key.split("."),inspectorId:n.value.inspectorId,type:t.data.stateType,nodeId:n.value.nodeId,state:{newKey:null,value:ir(v),type:u.value,remove:h}})}function f(v,h){const m=typeof v=="number"?v+h:BigInt(v)+BigInt(h);p(m)}return(v,h)=>(w(),O("div",ec,[!t.disableEdit&&v.data.editable?(w(),O(ae,{key:0},[u.value==="string"||u.value==="number"||u.value==="object"||u.value==="null"?(w(),O(ae,{key:0},[fe((w(),F(_(ie),te(d,{class:c.value,onClick:h[0]||(h[0]=we(m=>v.$emit("enableEditInput",u.value),["stop"]))}),{icon:N(()=>[E(_(Q),{icon:"i-material-symbols-edit-rounded"})]),_:1},16,["class"])),[[_(Ie),{content:"Edit value"}]]),u.value==="object"&&v.showAddIfNeeded?fe((w(),F(_(ie),te({key:0},d,{class:c.value,onClick:h[1]||(h[1]=we(m=>v.$emit("addNewProp",Array.isArray(a.value)?"array":"object"),["stop"]))}),{icon:N(()=>[E(_(Q),{icon:"i-material-symbols-add-circle-rounded"})]),_:1},16,["class"])),[[_(Ie),{content:"Add new value"}]]):W("",!0)],64)):W("",!0),u.value==="boolean"?(w(),F(_(ie),te({key:1},d,{class:c.value,onClick:h[2]||(h[2]=m=>p(!a.value))}),{icon:N(()=>[E(_(Q),{icon:a.value?"i-material-symbols-check-box-sharp":"i-material-symbols-check-box-outline-blank-sharp"},null,8,["icon"])]),_:1},16,["class"])):u.value==="number"||l.value==="bigint"?(w(),O(ae,{key:2},[E(_(ie),te(d,{class:c.value,onClick:h[3]||(h[3]=we(m=>f(a.value,1),["stop"]))}),{icon:N(()=>[E(_(Q),{icon:"i-carbon-add"})]),_:1},16,["class"]),E(_(ie),te(d,{class:c.value,onClick:h[4]||(h[4]=we(m=>f(a.value,-1),["stop"]))}),{icon:N(()=>[E(_(Q),{icon:"i-carbon-subtract"})]),_:1},16,["class"])],64)):W("",!0)],64)):W("",!0),!t.disableEdit&&v.depth>0?(w(),F(_(ie),te({key:1},d,{class:c.value,onClick:h[5]||(h[5]=we(m=>p(a.value,!0),["stop"]))}),{icon:N(()=>[E(_(Q),{icon:"i-material-symbols-delete-rounded"})]),_:1},16,["class"])):W("",!0),E(_(ju),{class:Y({"opacity-0":!v.hovering&&!r.value}),"button-props":{flat:!0,size:"mini"},disabled:!_(i),"onUpdate:visible":h[8]||(h[8]=m=>r.value=m)},{popper:N(()=>[C("div",tc,[E(_(mo),{onClick:h[6]||(h[6]=m=>_(o)(typeof a.value=="object"?JSON.stringify(a.value):a.value.toString()))},{icon:N(()=>[E(_(Q),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),ve(" Copy Value ")]),_:1}),E(_(mo),{onClick:h[7]||(h[7]=()=>{_(o)(v.data.key)})},{icon:N(()=>[E(_(Q),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),ve(" Copy Path ")]),_:1})])]),"button-icon":N(()=>[E(_(Q),{icon:"i-material-symbols:more-vert"})]),_:1},8,["class","disabled"])]))}}),oc={class:"flex-inline items-center gap4px"},Wt=G({__name:"StateFieldInputEditor",props:{modelValue:{},customType:{},showActions:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0}},emits:["cancel","submit","update:modelValue"],setup(e,{emit:t}){const n=e,o=t,i=R(()=>n.customType==="date"?"datetime-local":""),{escape:r,enter:s}=Ku();Ye(()=>{r.value?o("cancel"):s.value&&o("submit")});const a=Zu(n,"modelValue",o);function l(d){try{return ct(d,n.customType),!0}catch{return!1}}const u=M(!1);return me(a,Tt(()=>{u.value=!l(a.value)},300)),(d,c)=>(w(),O("span",oc,[E(_(Iu),{modelValue:_(a),"onUpdate:modelValue":c[0]||(c[0]=p=>Ct(a)?a.value=p:null),type:i.value,variant:u.value?"warning":"normal",class:Y(["h25px px4px",d.customType==="date"?"w240px":"w120px"]),"auto-focus":d.autoFocus,onClick:c[1]||(c[1]=we(()=>{},["stop"]))},null,8,["modelValue","type","variant","class","auto-focus"]),d.showActions?(w(),O(ae,{key:0},[fe((w(),F(_(ie),{size:"mini",flat:"",class:"p2px!",onClick:c[2]||(c[2]=we(p=>d.$emit("cancel"),["stop"]))},{icon:N(()=>[E(_(Q),{icon:"i-material-symbols-cancel"})]),_:1})),[[_(Ie),{content:"Esc to cancel"}]]),u.value?fe((w(),F(_(Q),{key:1,icon:"i-material-symbols-warning",class:"color-warning-500 dark:color-warning-300"},null,512)),[[_(Ie),{content:"Invalid value"}]]):fe((w(),F(_(ie),{key:0,size:"mini",flat:"",class:"p2px!",onClick:c[3]||(c[3]=we(p=>d.$emit("submit"),["stop"]))},{icon:N(()=>[E(_(Q),{icon:"i-material-symbols-save"})]),_:1})),[[_(Ie),{content:"Enter to submit change"}]])],64)):W("",!0)]))}}),ji=G({__name:"ToggleExpanded",props:{value:{type:Boolean}},setup(e){return(t,n)=>(w(),O("i",{class:Y(["i-radix-icons:triangle-right flex-none text-4 op-50 transition-base",{"transform rotate-90":t.value}])},null,2))}});function ic(){const e=M([]);return Re("state-expanded",e),{expanded:e}}function Di(){const e=je("state-expaned",M([]));function t(n){const o=e.value.indexOf(n);o===-1?e.value.push(n):e.value.splice(o,1)}return{expanded:e,toggleExpanded:t}}function rc(e,t={}){const{enter:n=()=>{},leave:o=()=>{},initial:i=!1}=t,r=M(i);return _e(e,"mouseenter",()=>{r.value=!0,n()}),_e(e,"mouseleave",()=>{r.value=!1,o()}),{isHovering:r}}const Li=e=>(an("data-v-ad035540"),e=e(),ln(),e),sc={key:1,pl5:""},ac={op70:""},lc=Li(()=>C("span",{mx1:""},":",-1)),uc=["innerHTML"],cc={key:0},dc={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},pc=Li(()=>C("span",{"mx-1":""},":",-1)),yo=30,hc=G({__name:"StateFieldViewer",props:{data:{},depth:{},index:{}},setup(e){const t=e,n=M(yo),o=R(()=>Bo(t.data.value)),i=R(()=>Je(t.data.value)),r=R(()=>yn(t.data.value)),{expanded:s,toggleExpanded:a}=Di(),l=R(()=>{var k;return i.value==="custom"?`${((k=t.data.value._custom)==null?void 0:k.type)??"string"}-custom-state`:""}),u=R(()=>{const{value:k}=r.value;return On(k)?k.length:zn(k)?Object.keys(k).length:0}),d=R(()=>{const k=t.data.key,S=k.lastIndexOf(".");return S===-1?k:k.slice(S+1)}),c=R(()=>{var k,S,V,U,$;const J=["Reactive"],Z=((k=t.data._custom)==null?void 0:k.stateTypeName)||((S=t.data)==null?void 0:S.stateTypeName);if(J.includes(Z))return Z;if((U=(V=t.data.value)==null?void 0:V.fields)!=null&&U.abstract)return"";{const pe=($=t.data.value._custom)==null?void 0:$.type,oe=i.value==="custom"&&!pe?`"${o.value}"`:o.value===""?'""':o.value,ee=`<span class="${i.value==="custom"&&pe==="ref"?Je(oe):i.value}-state-type">${oe}</span>`;return Z?`${ee} <span class="text-gray-500">(${Z})</span>`:ee}}),p=R(()=>{const{value:k,inherit:S,customType:V}=r.value,U=V==="set";let $=[];return On(k)?k.slice(0,n.value).map((J,Z)=>({key:`${t.data.key}.${Z}`,value:J,...S,editable:t.data.editable&&!U,creating:!1})):(zn(k)&&($=Object.keys(k).slice(0,n.value).map(J=>({key:`${t.data.key}.${J}`,value:k[J],...S,editable:t.data.editable&&!U,creating:!1})),i.value!=="custom"&&($=os($))),$===t.data.value?[]:$)}),f=R(()=>p.value.length>0),v=M(),h=kn(),{isHovering:m}=rc(()=>v.value),{editingType:b,editing:y,editingText:g,toggleEditing:x,nodeId:T}=Ju();me(()=>y.value,k=>{if(k){const{value:S}=r.value;g.value=ba(S,r.value.customType)}else g.value=""});function A(){const k=t.data;wt({path:k.key.split("."),inspectorId:h.value.inspectorId,type:k.stateType,nodeId:T,state:{newKey:null,type:b.value,value:ct(g.value,r.value.customType)}}),x()}const{addNewProp:B,draftingNewProp:I,resetDrafting:H}=Qu();function P(k){const S=`${t.depth}-${t.index}`;s.value.includes(S)||a(S),B(k,r.value.value)}function L(){const k=t.data,S=k.key.split(".");S.push(I.value.key),wt({path:S,inspectorId:h.value.inspectorId,type:k.stateType,nodeId:T,state:{newKey:I.value.key,type:typeof ct(I.value.value),value:ct(I.value.value)}}),H()}return(k,S)=>(w(),O("div",null,[C("div",{ref_key:"containerRef",ref:v,class:Y(["font-state-field flex items-center",[f.value&&"cursor-pointer hover:bg-active"]]),style:le({paddingLeft:`${k.depth*15+4}px`}),onClick:S[1]||(S[1]=V=>_(a)(`${k.depth}-${k.index}`))},[f.value?(w(),F(ji,{key:0,value:_(s).includes(`${k.depth}-${k.index}`)},null,8,["value"])):(w(),O("span",sc)),C("span",ac,he(d.value),1),lc,_(y)?(w(),F(Wt,{key:2,modelValue:_(g),"onUpdate:modelValue":S[0]||(S[0]=V=>Ct(g)?g.value=V:null),"custom-type":r.value.customType,onCancel:_(x),onSubmit:A},null,8,["modelValue","custom-type","onCancel"])):W("",!0),C("span",{class:Y(l.value)},[C("span",{innerHTML:c.value},null,8,uc)],2),E(nc,{hovering:_(m),"disable-edit":_(h).disableEdit,data:k.data,depth:k.depth,onEnableEditInput:_(x),onAddNewProp:P},null,8,["hovering","disable-edit","data","depth","onEnableEditInput"])],6),f.value&&_(s).includes(`${k.depth}-${k.index}`)?(w(),O("div",cc,[E(Vi,{data:p.value,depth:k.depth,index:k.index},null,8,["data","depth","index"]),u.value>n.value?fe((w(),F(_(ie),{key:0,flat:"",size:"mini",class:"ml-4",onClick:S[2]||(S[2]=V=>n.value+=yo)},{icon:N(()=>[E(_(Q),{icon:"i-material-symbols-more-horiz"})]),_:1})),[[_(Ie),"Show more"]]):W("",!0),_(I).enable?(w(),O("div",{key:1,style:le({paddingLeft:`${(k.depth+1)*15+4}px`})},[C("span",dc,[E(Wt,{modelValue:_(I).key,"onUpdate:modelValue":S[3]||(S[3]=V=>_(I).key=V),"show-actions":!1},null,8,["modelValue"])]),pc,E(Wt,{modelValue:_(I).value,"onUpdate:modelValue":S[4]||(S[4]=V=>_(I).value=V),"auto-focus":!1,onCancel:_(H),onSubmit:L},null,8,["modelValue","onCancel"])],4)):W("",!0)])):W("",!0)]))}}),fc=dn(hc,[["__scopeId","data-v-ad035540"]]),Vi=G({__name:"ChildStateViewer",props:{data:{},depth:{default:0},index:{}},setup(e){return(t,n)=>(w(),O("div",null,[(w(!0),O(ae,null,ot(t.data,(o,i)=>(w(),O("div",{key:i},[E(fc,{data:o,depth:t.depth+1,index:`${t.index}-${i}`},null,8,["data","depth","index"])]))),128))]))}}),mc=["onClick"],vc={key:1,pl5:""},yc={"font-state-field":"","text-4":""},gc={key:0},Hi=G({__name:"RootStateViewer",props:{data:{},nodeId:{},inspectorId:{},disableEdit:{type:Boolean,default:!1}},setup(e){const t=e;function n(){return{nodeId:t.nodeId,inspectorId:t.inspectorId,disableEdit:t.disableEdit}}const{context:o}=Yu(n());Ye(()=>{o.value=n()});const{expanded:i,toggleExpanded:r}=Di();return Ye(()=>{Object.keys(t.data).forEach((s,a)=>{i.value.includes(`${a}`)||r(`${a}`)})}),(s,a)=>(w(),O("div",null,[(w(!0),O(ae,null,ot(s.data,(l,u,d)=>(w(),O("div",{key:d},[C("div",{class:Y(["flex items-center",[l?.length&&"cursor-pointer hover:bg-active"]]),onClick:c=>_(r)(`${d}`)},[l!=null&&l.length?(w(),F(ji,{key:0,value:_(i).includes(`${d}`)},null,8,["value"])):(w(),O("span",vc)),C("span",yc,he(u),1)],10,mc),l!=null&&l.length&&_(i).includes(`${d}`)?(w(),O("div",gc,[E(Vi,{data:l,index:`${d}`},null,8,["data","index"])])):W("",!0)]))),128))]))}}),bc={class:"h-full flex flex-col"},wc={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},_c={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},Ue="pinia",xc=G({__name:"Index",setup(e){const t=M(""),n=M([]),o=M({}),i=R(()=>{var l,u;return!((l=o.value.state)!=null&&l.length)&&!((u=o.value.getters)!=null&&u.length)});function r(l){var u;for(const d in l)(u=l[d])!=null&&u.length||delete l[d];return l}function s(l){Yo({inspectorId:Ue,nodeId:l}).then(u=>{o.value=r(Yt(u))})}function a(){o.value={}}return me(t,()=>{a(),s(t.value)}),Zo({inspectorId:Ue,filter:""}).then(l=>{const u=Yt(l);n.value=u,!t.value&&u.length&&(t.value=u[0].id),s(u[0].id)}),ti(l=>{!(l!=null&&l.data.length)||l.inspectorId!==Ue||(n.value=l.data,!t.value&&l.data.length&&(t.value=l.data[0].id,s(l.data[0].id)))}),ni(l=>{var u;!l||!((u=l?.state)!=null&&u.length)||l.inspectorId!==Ue||(o.value=r({state:l.state,getters:l.getters}))}),(l,u)=>(w(),O("div",bc,[E(ri,{"doc-link":"https://pinia.vuejs.org/","github-repo-link":"https://github.com/vuejs/pinia"},{default:N(()=>[E(ii)]),_:1}),E(_(zo),{class:"flex-1 overflow-auto"},{default:N(()=>[E(_(mt),{border:"r base",size:"40","h-full":""},{default:N(()=>[C("div",wc,[E(il,{modelValue:t.value,"onUpdate:modelValue":u[0]||(u[0]=d=>t.value=d),data:n.value},null,8,["modelValue","data"])])]),_:1}),E(_(mt),{size:"60"},{default:N(()=>[C("div",_c,[t.value&&!i.value?(w(),F(Hi,{key:0,class:"p3",data:o.value,"node-id":t.value,"inspector-id":Ue},null,8,["data","node-id"])):(w(),F(si,{key:1},{default:N(()=>[ve(" No Data ")]),_:1}))])]),_:1})]),_:1})]))}});function kc(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var o=e.indexOf("rv:");return parseInt(e.substring(o+3,e.indexOf(".",o)),10)}var i=e.indexOf("Edge/");return i>0?parseInt(e.substring(i+5,e.indexOf(".",i)),10):-1}let pt;function nn(){nn.init||(nn.init=!0,pt=kc()!==-1)}var Dt={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){nn(),He(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",pt&&this.$el.appendChild(e),e.data="about:blank",pt||this.$el.appendChild(e)},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&&(!pt&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Sc=_o();an("data-v-b329ee4c");const $c={class:"resize-observer",tabindex:"-1"};ln();const Cc=Sc((e,t,n,o,i,r)=>(w(),F("div",$c)));Dt.render=Cc;Dt.__scopeId="data-v-b329ee4c";Dt.__file="src/components/ResizeObserver.vue";function ht(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ht=function(t){return typeof t}:ht=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ht(e)}function Tc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function go(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function zc(e,t,n){return t&&go(e.prototype,t),n&&go(e,n),e}function bo(e){return Oc(e)||Pc(e)||Ec(e)||Ac()}function Oc(e){if(Array.isArray(e))return on(e)}function Pc(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function Ec(e,t){if(e){if(typeof e=="string")return on(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return on(e,t)}}function on(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function Ac(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Nc(e){var t;return typeof e=="function"?t={callback:e}:t=e,t}function Ic(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o,i,r,s=function(a){for(var l=arguments.length,u=new Array(l>1?l-1:0),d=1;d<l;d++)u[d-1]=arguments[d];if(r=u,!(o&&a===i)){var c=n.leading;typeof c=="function"&&(c=c(a,i)),(!o||a!==i)&&c&&e.apply(void 0,[a].concat(bo(r))),i=a,clearTimeout(o),o=setTimeout(function(){e.apply(void 0,[a].concat(bo(r))),o=0},t)}};return s._clear=function(){clearTimeout(o),o=null},s}function Bi(e,t){if(e===t)return!0;if(ht(e)==="object"){for(var n in e)if(!Bi(e[n],t[n]))return!1;return!0}return!1}var Rc=function(){function e(t,n,o){Tc(this,e),this.el=t,this.observer=null,this.frozen=!1,this.createObserver(n,o)}return zc(e,[{key:"createObserver",value:function(t,n){var o=this;if(this.observer&&this.destroyObserver(),!this.frozen){if(this.options=Nc(t),this.callback=function(s,a){o.options.callback(s,a),s&&o.options.once&&(o.frozen=!0,o.destroyObserver())},this.callback&&this.options.throttle){var i=this.options.throttleOptions||{},r=i.leading;this.callback=Ic(this.callback,this.options.throttle,{leading:function(s){return r==="both"||r==="visible"&&s||r==="hidden"&&!s}})}this.oldResult=void 0,this.observer=new IntersectionObserver(function(s){var a=s[0];if(s.length>1){var l=s.find(function(d){return d.isIntersecting});l&&(a=l)}if(o.callback){var u=a.isIntersecting&&a.intersectionRatio>=o.threshold;if(u===o.oldResult)return;o.oldResult=u,o.callback(u,a)}},this.options.intersection),He(function(){o.observer&&o.observer.observe(o.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}}]),e}();function Ui(e,t,n){var o=t.value;if(o)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 i=new Rc(e,o,n);e._vue_visibilityState=i}}function Mc(e,t,n){var o=t.value,i=t.oldValue;if(!Bi(o,i)){var r=e._vue_visibilityState;if(!o){Fi(e);return}r?r.createObserver(o,n):Ui(e,{value:o},n)}}function Fi(e){var t=e._vue_visibilityState;t&&(t.destroyObserver(),delete e._vue_visibilityState)}var jc={beforeMount:Ui,updated:Mc,unmounted:Fi},Dc={itemsLimit:1e3},Lc=/(auto|scroll)/;function Gi(e,t){return e.parentNode===null?t:Gi(e.parentNode,t.concat([e]))}var qt=function(e,t){return getComputedStyle(e,null).getPropertyValue(t)},Vc=function(e){return qt(e,"overflow")+qt(e,"overflow-y")+qt(e,"overflow-x")},Hc=function(e){return Lc.test(Vc(e))};function wo(e){if(e instanceof HTMLElement||e instanceof SVGElement){for(var t=Gi(e.parentNode,[]),n=0;n<t.length;n+=1)if(Hc(t[n]))return t[n];return document.scrollingElement||document.documentElement}}function rn(e){"@babel/helpers - typeof";return rn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rn(e)}var Bc={items:{type:Array,required:!0},keyField:{type:String,default:"id"},direction:{type:String,default:"vertical",validator:function(e){return["vertical","horizontal"].includes(e)}},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"}};function Uc(){return this.items.length&&rn(this.items[0])!=="object"}var sn=!1;if(typeof window<"u"){sn=!1;try{var Fc=Object.defineProperty({},"passive",{get:function(){sn=!0}});window.addEventListener("test",null,Fc)}catch{}}let Gc=0;var Sn={name:"RecycleScroller",components:{ResizeObserver:Dt},directives:{ObserveVisibility:jc},props:{...Bc,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 e={"-1":{accumulator:0}},t=this.items,n=this.sizeField,o=this.minItemSize;let i=1e4,r=0,s;for(let a=0,l=t.length;a<l;a++)s=t[a][n]||o,s<i&&(i=s),r+=s,e[a]={accumulator:r,size:s};return this.$_computedMinItemSize=i,e}return[]},simpleArray:Uc,itemIndexByKey(){const{keyField:e,items:t}=this,n={};for(let o=0,i=t.length;o<i;o++)n[t[o][e]]=o;return n}},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 e=this.$_lastUpdateScrollPosition;typeof e=="number"&&this.$nextTick(()=>{this.scrollToPosition(e)})},beforeUnmount(){this.removeListeners()},methods:{addView(e,t,n,o,i){const r=Zi({id:Gc++,index:t,used:!0,key:o,type:i}),s=Yi({item:n,position:0,nr:r});return e.push(s),s},unuseView(e,t=!1){const n=this.$_unusedViews,o=e.nr.type;let i=n.get(o);i||(i=[],n.set(o,i)),i.push(e),t||(e.nr.used=!1,e.position=-9999)},handleResize(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll(e){if(!this.$_scrollDirty){if(this.$_scrollDirty=!0,this.$_updateTimeout)return;const t=()=>requestAnimationFrame(()=>{this.$_scrollDirty=!1;const{continuous:n}=this.updateVisibleItems(!1,!0);n||(clearTimeout(this.$_refreshTimout),this.$_refreshTimout=setTimeout(this.handleScroll,this.updateInterval+100))});t(),this.updateInterval&&(this.$_updateTimeout=setTimeout(()=>{this.$_updateTimeout=0,this.$_scrollDirty&&t()},this.updateInterval))}},handleVisibilityChange(e,t){this.ready&&(e||t.boundingClientRect.width!==0||t.boundingClientRect.height!==0?(this.$emit("visible"),requestAnimationFrame(()=>{this.updateVisibleItems(!1)})):this.$emit("hidden"))},updateVisibleItems(e,t=!1){const n=this.itemSize,o=this.gridItems||1,i=this.itemSecondarySize||n,r=this.$_computedMinItemSize,s=this.typeField,a=this.simpleArray?null:this.keyField,l=this.items,u=l.length,d=this.sizes,c=this.$_views,p=this.$_unusedViews,f=this.pool,v=this.itemIndexByKey;let h,m,b,y,g;if(!u)h=m=y=g=b=0;else if(this.$_prerender)h=y=0,m=g=Math.min(this.prerender,l.length),b=null;else{const P=this.getScroll();if(t){let S=P.start-this.$_lastUpdateScrollPosition;if(S<0&&(S=-S),n===null&&S<r||S<n)return{continuous:!0}}this.$_lastUpdateScrollPosition=P.start;const L=this.buffer;P.start-=L,P.end+=L;let k=0;if(this.$refs.before&&(k=this.$refs.before.scrollHeight,P.start-=k),this.$refs.after){const S=this.$refs.after.scrollHeight;P.end+=S}if(n===null){let S,V=0,U=u-1,$=~~(u/2),J;do J=$,S=d[$].accumulator,S<P.start?V=$:$<u-1&&d[$+1].accumulator>P.start&&(U=$),$=~~((V+U)/2);while($!==J);for($<0&&($=0),h=$,b=d[u-1].accumulator,m=$;m<u&&d[m].accumulator<P.end;m++);for(m===-1?m=l.length-1:(m++,m>u&&(m=u)),y=h;y<u&&k+d[y].accumulator<P.start;y++);for(g=y;g<u&&k+d[g].accumulator<P.end;g++);}else{h=~~(P.start/n*o);const S=h%o;h-=S,m=Math.ceil(P.end/n*o),y=Math.max(0,Math.floor((P.start-k)/n*o)),g=Math.floor((P.end-k)/n*o),h<0&&(h=0),m>u&&(m=u),y<0&&(y=0),g>u&&(g=u),b=Math.ceil(u/o)*n}}m-h>Dc.itemsLimit&&this.itemsLimitError(),this.totalSize=b;let x;const T=h<=this.$_endIndex&&m>=this.$_startIndex;if(T)for(let P=0,L=f.length;P<L;P++)x=f[P],x.nr.used&&(e&&(x.nr.index=v[x.item[a]]),(x.nr.index==null||x.nr.index<h||x.nr.index>=m)&&this.unuseView(x));const A=T?null:new Map;let B,I,H;for(let P=h;P<m;P++){B=l[P];const L=a?B[a]:B;if(L==null)throw new Error(`Key is ${L} on item (keyField is '${a}')`);if(x=c.get(L),!n&&!d[P].size){x&&this.unuseView(x);continue}I=B[s];let k=p.get(I),S=!1;if(!x)T?k&&k.length?x=k.pop():x=this.addView(f,P,B,L,I):(H=A.get(I)||0,(!k||H>=k.length)&&(x=this.addView(f,P,B,L,I),this.unuseView(x,!0),k=p.get(I)),x=k[H],A.set(I,H+1)),c.delete(x.nr.key),x.nr.used=!0,x.nr.index=P,x.nr.key=L,x.nr.type=I,c.set(L,x),S=!0;else if(!x.nr.used&&(x.nr.used=!0,S=!0,k)){const V=k.indexOf(x);V!==-1&&k.splice(V,1)}x.item=B,S&&(P===l.length-1&&this.$emit("scroll-end"),P===0&&this.$emit("scroll-start")),n===null?(x.position=d[P-1].accumulator,x.offset=0):(x.position=Math.floor(P/o)*n,x.offset=P%o*i)}return this.$_startIndex=h,this.$_endIndex=m,this.emitUpdate&&this.$emit("update",h,m,y,g),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,this.updateInterval+300),{continuous:T}},getListenerTarget(){let e=wo(this.$el);return window.document&&(e===window.document.documentElement||e===window.document.body)&&(e=window),e},getScroll(){const{$el:e,direction:t}=this,n=t==="vertical";let o;if(this.pageMode){const i=e.getBoundingClientRect(),r=n?i.height:i.width;let s=-(n?i.top:i.left),a=n?window.innerHeight:window.innerWidth;s<0&&(a+=s,s=0),s+a>r&&(a=r-s),o={start:s,end:s+a}}else n?o={start:e.scrollTop,end:e.scrollTop+e.clientHeight}:o={start:e.scrollLeft,end:e.scrollLeft+e.clientWidth};return o},applyPageMode(){this.pageMode?this.addListeners():this.removeListeners()},addListeners(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,sn?{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(e){let t;const n=this.gridItems||1;this.itemSize===null?t=e>0?this.sizes[e-1].accumulator:0:t=Math.floor(e/n)*this.itemSize,this.scrollToPosition(t)},scrollToPosition(e){const t=this.direction==="vertical"?{scroll:"scrollTop",start:"top"}:{scroll:"scrollLeft",start:"left"};let n,o,i;if(this.pageMode){const r=wo(this.$el),s=r.tagName==="HTML"?0:r[t.scroll],a=r.getBoundingClientRect(),l=this.$el.getBoundingClientRect()[t.start]-a[t.start];n=r,o=t.scroll,i=e+s+l}else n=this.$el,o=t.scroll,i=e;n[o]=i},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((e,t)=>e.nr.index-t.nr.index)}}};const Wc={key:0,ref:"before",class:"vue-recycle-scroller__slot"},qc={key:1,ref:"after",class:"vue-recycle-scroller__slot"};function Kc(e,t,n,o,i,r){const s=Me("ResizeObserver"),a=Ji("observe-visibility");return fe((w(),O("div",{class:Y(["vue-recycle-scroller",{ready:i.ready,"page-mode":n.pageMode,[`direction-${e.direction}`]:!0}]),onScrollPassive:t[0]||(t[0]=(...l)=>r.handleScroll&&r.handleScroll(...l))},[e.$slots.before?(w(),O("div",Wc,[q(e.$slots,"before")],512)):W("v-if",!0),(w(),F(ft(n.listTag),{ref:"wrapper",style:le({[e.direction==="vertical"?"minHeight":"minWidth"]:i.totalSize+"px"}),class:Y(["vue-recycle-scroller__item-wrapper",n.listClass])},{default:N(()=>[(w(!0),O(ae,null,ot(i.pool,l=>(w(),F(ft(n.itemTag),te({key:l.nr.id,style:i.ready?{transform:`translate${e.direction==="vertical"?"Y":"X"}(${l.position}px) translate${e.direction==="vertical"?"X":"Y"}(${l.offset}px)`,width:n.gridItems?`${e.direction==="vertical"&&n.itemSecondarySize||n.itemSize}px`:void 0,height:n.gridItems?`${e.direction==="horizontal"&&n.itemSecondarySize||n.itemSize}px`:void 0}:null,class:["vue-recycle-scroller__item-view",[n.itemClass,{hover:!n.skipHover&&i.hoverKey===l.nr.key}]]},Xi(n.skipHover?{}:{mouseenter:()=>{i.hoverKey=l.nr.key},mouseleave:()=>{i.hoverKey=null}})),{default:N(()=>[q(e.$slots,"default",{item:l.item,index:l.nr.index,active:l.nr.used})]),_:2},1040,["style","class"]))),128)),q(e.$slots,"empty")]),_:3},8,["style","class"])),e.$slots.after?(w(),O("div",qc,[q(e.$slots,"after")],512)):W("v-if",!0),E(s,{onNotify:r.handleResize},null,8,["onNotify"])],34)),[[a,r.handleVisibilityChange]])}Sn.render=Kc;Sn.__file="src/components/RecycleScroller.vue";function Zc(e,t){const n=new Date(e);return`${n.toString().match(/\d\d:\d\d:\d\d/)[0]}${t==="ms"?`.${String(n.getMilliseconds()).padStart(3,"0")}`:""}`}const Yc={class:"p3"},Jc=["onClick"],Xc={key:0,class:"absolute left-5px top-4.5 h10 w0 border-l-2",border:"solid gray2"},Qc={class:"h-full flex items-center truncate pl5"},ed={absolute:"","top-5":"",pr2:"","text-3":"",op40:""},td={pl2:"",op30:""},nd=G({__name:"EventList",props:xo({data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=e,n=ko(e,"modelValue"),o=["#3e5770","#42b983","#0098c4"],i=R(()=>{let r=-1,s=0;return t.data.forEach((a,l)=>{(a.groupId!==s||r===-1)&&(r=(r+1)%o.length),s=a.groupId??s,a.id=l,a.color=o[r]}),t.data});return(r,s)=>(w(),O("div",Yc,[E(_(Sn),{items:i.value,"min-item-size":52,"key-field":"id","page-mode":"","item-tag":"li","list-tag":"ul",buffer:20},{default:N(({item:a})=>[C("div",{class:"relative mb7 h6 cursor-pointer",style:le({color:n.value===a.id?a.color:""}),onClick:l=>n.value=a.id},[C("span",{class:"absolute top-1.5 inline-block h3 w3 b rounded-50%",style:le({border:`3px solid ${a.color}`})},null,4),a.id<r.data.length-1?(w(),O("span",Xc)):W("",!0),C("p",Qc,[C("span",ed,"["+he(_(Zc)(a.time))+"]",1),ve(" "+he(a.title)+" ",1),C("span",td,he(a.subtitle),1)])],12,Jc)]),_:1},8,["items"])]))}}),od={class:"h-full flex flex-col"},id={key:0,class:"flex-1 overflow-hidden"},rd={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},sd={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},ad="pinia:mutations",ld=G({__name:"Index",setup(e){ic();const t=M([]),n=M(new Map),o=M(0),i=R(()=>t.value[o.value]??null),r=R(()=>{var u;const d=[];for(const c in(u=i.value)==null?void 0:u.data)d.push({key:c,type:c,editable:!1,value:i.value.data[c]});return d}),s=R(()=>{var u,d,c;const p=(u=i.value)==null?void 0:u.groupId,f=n.value.get(p);if(f){const v=((d=f[f.length-1])==null?void 0:d.time)-(((c=f[0])==null?void 0:c.time)??0);return[{key:"events",type:"events",editable:!1,value:f.length},v&&{key:"duration",type:"duration",editable:!1,value:`${v}ms`}].filter(Boolean)}}),a=R(()=>({"Event Info":r.value,...s.value&&{"Group Info":s.value}}));function l(u){var d;const c=u.groupId;c!==void 0&&(n.value.set(c,n.value.get(c)??[]),(d=n.value.get(c))==null||d.push(u))}return oi(u=>{if(!u)return;const{layerId:d,event:c}=u;d===ad&&(t.value.push(c),l(c))}),(u,d)=>(w(),O("div",od,[E(ri,{"doc-link":"https://pinia.vuejs.org/","github-repo-link":"https://github.com/vuejs/pinia"},{default:N(()=>[E(ii)]),_:1}),t.value.length?(w(),O("div",id,[E(_(zo),{class:"h-full"},{default:N(()=>[E(_(mt),{border:"r base",size:"40","h-full":""},{default:N(()=>[C("div",rd,[E(nd,{modelValue:o.value,"onUpdate:modelValue":d[0]||(d[0]=c=>o.value=c),data:t.value},null,8,["modelValue","data"])])]),_:1}),E(_(mt),{size:"60"},{default:N(()=>[C("div",sd,[E(Hi,{class:"p3",data:a.value,"node-id":"","inspector-id":"","disable-edit":!0},null,8,["data"])])]),_:1})]),_:1})])):(w(),F(si,{key:1,class:"flex-1"},{default:N(()=>[ve(" No events ")]),_:1}))]))}}),ud=Symbol("VueDevToolsConnectStateSymbol");function cd(){const e=M(!1),t=M(!1),n=R(()=>e.value&&t.value);return Jo().then(o=>{e.value=o.connected,t.value=o.clientConnected}),ei(o=>{e.value=o.connected,t.value=o.clientConnected}),Re(ud,n),{connected:n}}const dd={"h-full":"","w-full":""},pd=G({__name:"index",setup(e){cd();const{VirtualRouterView:t}=gr([{path:"/",name:"Home",component:jr,icon:"i-logos-pinia"},{path:"/store",name:"Store",component:xc,icon:"i-carbon-tree-view-alt"},{path:"/timeline",name:"Timeline",component:ld,icon:"i-mdi:timeline-clock-outline"}]);return M("/"),(n,o)=>(w(),O("div",dd,[E(_(t))]))}}),hd={class:"h-full w-full"},md=G({__name:"pinia",setup(e){const{connected:t}=dr();return(n,o)=>{const i=cr;return w(),O("div",hd,[_(t)?(w(),F(_(pd),{key:0})):(w(),F(i,{key:1},{default:N(()=>[ve(" Connecting.... ")]),_:1}))])}}});export{md as default};
@@ -1 +0,0 @@
1
- details[data-v-bd17de2b]{border-style:none}summary[data-v-bd17de2b]{border-style:none;list-style:none}details[open] summary[data-v-bd17de2b]{border-style:none}details summary[data-v-bd17de2b]::-webkit-details-marker{display:none}details[open] .chevron[data-v-bd17de2b]{opacity:.75;transform:rotate(180deg)}
@@ -1 +0,0 @@
1
- import{d as w,h as a,j as o,A as y,o as t,i,k as r,t as m,p as l,m as C,n as B,au as V,v as $,F as v,V as P,bX as F,a6 as I,_ as L,ap as T}from"./qlO0zMWA.js";import{_ as j}from"./ClFBqw1c.js";const A={"text-xl":""},D={flex:"~ gap2 wrap"},S=w({__name:"LaunchPage",props:{name:{},icon:{},title:{},description:{},actions:{}},emits:["action"],setup(_,{emit:p}){const d=_,u=p;function f(e,s){P("launch-page",{pageName:d.name}),e.handle?.(),u("action",s)}return(e,s)=>{const k=F,g=j,h=I,b=L,N=T,x=y;return t(),a(x,null,{default:o(()=>[i(N,{flex:"~ col gap2",mxa:"","min-w-100":"","items-center":"",p6:""},{default:o(()=>[i(k,{mb2:"","text-5xl":"",icon:e.icon||e.icon,title:e.title},null,8,["icon","title"]),r("h1",A,m(e.title),1),e.description?(t(),a(g,{key:0,mb2:"","mt--1":"","text-center":"","text-base":"",op50:"",markdown:e.description},null,8,["markdown"])):l("",!0),r("div",D,[(t(!0),C(v,null,B(e.actions,(n,c)=>(t(),a(b,V({key:c,n:"solid primary",disabled:n.pending,to:n.src,target:n.src?"_blank":void 0},n.attrs,{onClick:E=>f(n,c)}),{default:o(()=>[n.pending?(t(),a(h,{key:0,icon:"carbon-circle-dash","animate-spin":""})):l("",!0),$(" "+m(n.label),1)]),_:2},1040,["disabled","to","target","onClick"]))),128))])]),_:1})]),_:1})}}});export{S as _};
@@ -1 +0,0 @@
1
- {"id":"99d3dbae-7b79-44d1-9122-56d8f78db12b","timestamp":1713521719112,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}