@vitejs/devtools-rolldown 0.1.3 → 0.1.5

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 (81) hide show
  1. package/dist/index.mjs +0 -6
  2. package/dist/nitro.json +1 -1
  3. package/dist/public/200.html +1 -1
  4. package/dist/public/404.html +1 -1
  5. package/dist/public/_nuxt/9H-i61wf2.js +1 -0
  6. package/dist/public/_nuxt/{CNhzLIej.js → BN7ehjOp.js} +1 -1
  7. package/dist/public/_nuxt/{B8Pee7C0.js → BdJ_JF0w.js} +1 -1
  8. package/dist/public/_nuxt/BgoIwvw3.js +1 -0
  9. package/dist/public/_nuxt/{C2GH2ak5.js → Bw1q8I0g.js} +1 -1
  10. package/dist/public/_nuxt/{BWso7RtX.js → C1LKt3HR.js} +1 -1
  11. package/dist/public/_nuxt/C1U2XYRv.js +1 -0
  12. package/dist/public/_nuxt/C4t_xpMR2.js +1 -0
  13. package/dist/public/_nuxt/{EJd6K-J0.js → C7OoXhk0.js} +1 -1
  14. package/dist/public/_nuxt/{CyUS7GqK.js → CEtF9LWU.js} +2 -2
  15. package/dist/public/_nuxt/{DGePBXlZ.js → COS9SmxY.js} +1 -1
  16. package/dist/public/_nuxt/{D4Y_zfdP.js → CSK2QzqY.js} +1 -1
  17. package/dist/public/_nuxt/CZg4aoum.js +1 -0
  18. package/dist/public/_nuxt/{Bc8dubgH.js → Cb77vzCb.js} +1 -1
  19. package/dist/public/_nuxt/{Cy7pLEz3.js → CfGVkjRe.js} +1 -1
  20. package/dist/public/_nuxt/Cg2f4k_W.js +1 -0
  21. package/dist/public/_nuxt/CplJNvil2.js +1 -0
  22. package/dist/public/_nuxt/D5g8iQuM.js +1 -0
  23. package/dist/public/_nuxt/DHvQIQw5.js +1 -0
  24. package/dist/public/_nuxt/DJTkDKGN.js +1 -0
  25. package/dist/public/_nuxt/DNtQ0ruM.js +1 -0
  26. package/dist/public/_nuxt/DataVirtualList.CjCVip5P.css +1 -0
  27. package/dist/public/_nuxt/DbFz97rQ.js +2 -0
  28. package/dist/public/_nuxt/DbSMFLvz.js +1 -0
  29. package/dist/public/_nuxt/DelIhTva2.js +1 -0
  30. package/dist/public/_nuxt/{DE4LYGEQ.js → DlCwyx2g.js} +1 -1
  31. package/dist/public/_nuxt/Dm4CqiyV.js +1 -0
  32. package/dist/public/_nuxt/DnFfeibe.js +1 -0
  33. package/dist/public/_nuxt/DwYCOK63.js +1 -0
  34. package/dist/public/_nuxt/{CslYnwdN.js → KgssGmNv.js} +1 -1
  35. package/dist/public/_nuxt/MEWAmt9s.js +1 -0
  36. package/dist/public/_nuxt/OKWcjHDe.js +1 -0
  37. package/dist/public/_nuxt/TxHD_kze2.js +1 -0
  38. package/dist/public/_nuxt/XDMGgUv8.js +1 -0
  39. package/dist/public/_nuxt/builds/latest.json +1 -1
  40. package/dist/public/_nuxt/builds/meta/97eb4d47-7536-450d-8d46-59f604a485ef.json +1 -0
  41. package/dist/public/_nuxt/dIDzU19U.js +1 -0
  42. package/dist/public/_nuxt/{entry.AACt9kjR.css → entry.Czcsk0f1.css} +1 -1
  43. package/dist/public/_nuxt/error-404.CvDm6pT4.css +1 -0
  44. package/dist/public/_nuxt/error-500.B6RqN-C_.css +1 -0
  45. package/dist/public/_nuxt/kEiD74yV2.js +1 -0
  46. package/dist/public/_nuxt/kJJURm8F.js +1 -0
  47. package/dist/public/_nuxt/mCQnDoa3.js +12 -0
  48. package/dist/public/_nuxt/okblV2iS.js +1 -0
  49. package/dist/public/index.html +1 -1
  50. package/package.json +38 -39
  51. package/dist/public/_nuxt/6dmQ5yi9.js +0 -1
  52. package/dist/public/_nuxt/BGo3TQDe2.js +0 -1
  53. package/dist/public/_nuxt/BfyZ1e0k.js +0 -12
  54. package/dist/public/_nuxt/Bp4eI3o72.js +0 -1
  55. package/dist/public/_nuxt/Bqcxb-Bh2.js +0 -1
  56. package/dist/public/_nuxt/ByPScZnZ.js +0 -1
  57. package/dist/public/_nuxt/CNF2WI0B.js +0 -1
  58. package/dist/public/_nuxt/CYHE6NHg.js +0 -1
  59. package/dist/public/_nuxt/CeUdh6JR.js +0 -1
  60. package/dist/public/_nuxt/CoGMAm3u.js +0 -1
  61. package/dist/public/_nuxt/Csgp_tbz2.js +0 -1
  62. package/dist/public/_nuxt/D-3DnbGi2.js +0 -1
  63. package/dist/public/_nuxt/D-_8YzYd.js +0 -2
  64. package/dist/public/_nuxt/D0PBHtPK.js +0 -1
  65. package/dist/public/_nuxt/D9y1gK-U.js +0 -2
  66. package/dist/public/_nuxt/DSjaPvg5.js +0 -1
  67. package/dist/public/_nuxt/DataVirtualList.lGV_3v2U.css +0 -1
  68. package/dist/public/_nuxt/DjwOaWuE.js +0 -1
  69. package/dist/public/_nuxt/GNBXjCbD.js +0 -1
  70. package/dist/public/_nuxt/L1-1zWht.js +0 -1
  71. package/dist/public/_nuxt/LlZteMOS.js +0 -1
  72. package/dist/public/_nuxt/PxFTarMZ.js +0 -1
  73. package/dist/public/_nuxt/TJfS2wQy2.js +0 -1
  74. package/dist/public/_nuxt/VSGDfpIu.js +0 -1
  75. package/dist/public/_nuxt/builds/meta/bfa9031a-4738-4e26-b1b6-6a294a22c480.json +0 -1
  76. package/dist/public/_nuxt/error-404.DCvw7d8G.css +0 -1
  77. package/dist/public/_nuxt/error-500.DMS_OhD_.css +0 -1
  78. package/dist/public/_nuxt/jJjSdHHs.js +0 -1
  79. package/dist/public/_nuxt/njczzgS1.js +0 -1
  80. package/dist/public/_nuxt/pNZCMUGD.js +0 -1
  81. /package/dist/public/_nuxt/{BrE3R8vW.js → 5tvbNeKa.js} +0 -0
package/dist/index.mjs CHANGED
@@ -8,12 +8,6 @@ import fs$1 from "node:fs/promises";
8
8
  import { pipeline } from "node:stream/promises";
9
9
  import split2 from "split2";
10
10
  import { diffLines } from "diff";
11
- Object.create;
12
- Object.defineProperty;
13
- Object.getOwnPropertyDescriptor;
14
- Object.getOwnPropertyNames;
15
- Object.getPrototypeOf;
16
- Object.prototype.hasOwnProperty;
17
11
  var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
18
12
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
19
13
  //#endregion
package/dist/nitro.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "date": "2026-03-18T02:02:29.015Z",
2
+ "date": "2026-03-23T02:37:46.819Z",
3
3
  "preset": "static",
4
4
  "framework": {
5
5
  "name": "nuxt",
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en" class="bg-dots"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><script type="importmap">{"imports":{"#entry":"/.devtools-rolldown/_nuxt/D-_8YzYd.js"}}</script><title>Rolldown DevTools</title><link rel="stylesheet" href="/.devtools-rolldown/_nuxt/entry.AACt9kjR.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/.devtools-rolldown/_nuxt/D-_8YzYd.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-rolldown/_nuxt/BrE3R8vW.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-rolldown/_nuxt/CyUS7GqK.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-rolldown/_nuxt/Bc8dubgH.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-rolldown/_nuxt/CeUdh6JR.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-rolldown/_nuxt/D0PBHtPK.js"><script type="module" src="/.devtools-rolldown/_nuxt/D-_8YzYd.js" crossorigin></script><meta name="description" content="DevTools for Rolldown"><meta property="og:title" content="Rolldown DevTools"><meta property="og:description" content="DevTools for Rolldown"><link rel="icon" type="image/svg+xml" href="/favicon.svg"><script id="unhead:payload" type="application/json">{"title":"Rolldown DevTools"}</script></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/.devtools-rolldown/",buildId:"bfa9031a-4738-4e26-b1b6-6a294a22c480",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1773799348915,false]</script></body></html>
1
+ <!DOCTYPE html><html lang="en" class="bg-dots"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><script type="importmap">{"imports":{"#entry":"/.devtools-rolldown/_nuxt/DbFz97rQ.js"}}</script><title>Rolldown DevTools</title><link rel="stylesheet" href="/.devtools-rolldown/_nuxt/entry.Czcsk0f1.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/.devtools-rolldown/_nuxt/DbFz97rQ.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-rolldown/_nuxt/MEWAmt9s.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-rolldown/_nuxt/CEtF9LWU.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-rolldown/_nuxt/DJTkDKGN.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-rolldown/_nuxt/5tvbNeKa.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-rolldown/_nuxt/Cb77vzCb.js"><script type="module" src="/.devtools-rolldown/_nuxt/DbFz97rQ.js" crossorigin></script><meta name="description" content="DevTools for Rolldown"><meta property="og:title" content="Rolldown DevTools"><meta property="og:description" content="DevTools for Rolldown"><link rel="icon" type="image/svg+xml" href="/favicon.svg"><script id="unhead:payload" type="application/json">{"title":"Rolldown DevTools"}</script></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/.devtools-rolldown/",buildId:"97eb4d47-7536-450d-8d46-59f604a485ef",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1774233466716,false]</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en" class="bg-dots"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><script type="importmap">{"imports":{"#entry":"/.devtools-rolldown/_nuxt/D-_8YzYd.js"}}</script><title>Rolldown DevTools</title><link rel="stylesheet" href="/.devtools-rolldown/_nuxt/entry.AACt9kjR.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/.devtools-rolldown/_nuxt/D-_8YzYd.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-rolldown/_nuxt/BrE3R8vW.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-rolldown/_nuxt/CyUS7GqK.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-rolldown/_nuxt/Bc8dubgH.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-rolldown/_nuxt/CeUdh6JR.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-rolldown/_nuxt/D0PBHtPK.js"><script type="module" src="/.devtools-rolldown/_nuxt/D-_8YzYd.js" crossorigin></script><meta name="description" content="DevTools for Rolldown"><meta property="og:title" content="Rolldown DevTools"><meta property="og:description" content="DevTools for Rolldown"><link rel="icon" type="image/svg+xml" href="/favicon.svg"><script id="unhead:payload" type="application/json">{"title":"Rolldown DevTools"}</script></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/.devtools-rolldown/",buildId:"bfa9031a-4738-4e26-b1b6-6a294a22c480",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1773799348915,false]</script></body></html>
1
+ <!DOCTYPE html><html lang="en" class="bg-dots"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><script type="importmap">{"imports":{"#entry":"/.devtools-rolldown/_nuxt/DbFz97rQ.js"}}</script><title>Rolldown DevTools</title><link rel="stylesheet" href="/.devtools-rolldown/_nuxt/entry.Czcsk0f1.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/.devtools-rolldown/_nuxt/DbFz97rQ.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-rolldown/_nuxt/MEWAmt9s.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-rolldown/_nuxt/CEtF9LWU.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-rolldown/_nuxt/DJTkDKGN.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-rolldown/_nuxt/5tvbNeKa.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-rolldown/_nuxt/Cb77vzCb.js"><script type="module" src="/.devtools-rolldown/_nuxt/DbFz97rQ.js" crossorigin></script><meta name="description" content="DevTools for Rolldown"><meta property="og:title" content="Rolldown DevTools"><meta property="og:description" content="DevTools for Rolldown"><link rel="icon" type="image/svg+xml" href="/favicon.svg"><script id="unhead:payload" type="application/json">{"title":"Rolldown DevTools"}</script></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/.devtools-rolldown/",buildId:"97eb4d47-7536-450d-8d46-59f604a485ef",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1774233466716,false]</script></body></html>
@@ -0,0 +1 @@
1
+ import{A as e,Et as t,Gt as n,M as r,b as i,bt as a,lt as o,q as s,w as c,x as l}from"./CEtF9LWU.js";import{C as u,w as d}from"./Cb77vzCb.js";import{g as f,v as p}from"./DJTkDKGN.js";import{t as m}from"./BdJ_JF0w.js";import{i as h,l as g,o as _}from"./kJJURm8F.js";import{n as v,r as y,t as b}from"./BgoIwvw3.js";import{t as x}from"./OKWcjHDe.js";import{n as S,t as C}from"./qIAw3Eg02.js";var w={flex:`~ col gap-2`,p4:``},T={flex:``,pb2:``},E={"w-8":``,"text-right":``,"text-xs":``,op50:``},D={"overflow-hidden":``,"text-ellipsis":``,"break-all":``,"line-clamp-2":``},O=Object.assign(r({__name:`FlatList`,props:{plugins:{}},setup(r){let i=u();return(a,u)=>{let d=x,f=m;return s(),c(`div`,w,[e(b,{items:r.plugins,"key-prop":`plugin_id`},{default:o(({item:r})=>[l(`div`,T,[e(f,{to:{path:t(i).path,query:{plugin:r.plugin_id}},"font-mono":``,border:`~ rounded base`,"w-full":``,px2:``,py1:``,"text-sm":``,hover:`bg-active`,flex:`~ gap-4 items-center`},{default:o(()=>[l(`div`,E,` #`+n(r.plugin_id),1),l(`span`,D,[e(d,{name:r.name},null,8,[`name`])])]),_:2},1032,[`to`])])]),_:1},8,[`items`])])}}}),{__name:`PluginsFlatList`}),k={relative:``,"min-h-screen":``},A={sticky:``,"left-4":``,"right-4":``,"top-4":``,"z-panel-nav":``,"p-4":``},j={fixed:``,"bottom-4":``,"py-1":``,"px-2":``,"bg-glass":``,left:`1/2`,"translate-x":`-1/2`,border:`~ base rounded-full`,text:`center xs`},M={op50:``},N=r({__name:`plugins`,props:{session:{}},setup(t){let r=t,o=u(),m=d(),b=a({search:o.query.search||``,selected:o.query.plugin_types?S(o.query.plugin_types):null}),x=i(()=>[..._.filter(e=>r.session?.meta?.plugins?.some(t=>e.match.test(t.name))),h]),w=i(()=>{let e=r.session?.meta?.plugins;return b.value.selected&&(e=e.filter(e=>{let t=g(e.name);return b.value.selected.includes(t.name)})),e}),T=f(()=>w.value,()=>new y(w.value,{includeScore:!0,keys:[`name`],ignoreLocation:!0,threshold:.4})),E=i(()=>b.value.search?T.value.search(b.value.search).map(e=>e.item):w.value);return p(b.value,e=>{let t={...o.query,search:e.search||void 0,plugin_types:e.selected||void 0};m.replace({query:C(t)})},{debounce:500}),(r,i)=>{let a=v,o=O;return s(),c(`div`,k,[l(`div`,A,[e(a,{modelValue:b.value,"onUpdate:modelValue":i[0]||=e=>b.value=e,rules:x.value},null,8,[`modelValue`,`rules`])]),e(o,{plugins:E.value??[]},null,8,[`plugins`]),l(`div`,j,[l(`span`,M,n(E.value.length)+` of `+n(t.session?.meta?.plugins?.length||0),1)])])}}});export{N as default};
@@ -1 +1 @@
1
- import{A as e,Gt as t,k as n,lt as r,q as i,w as a,x as o}from"./CyUS7GqK.js";import"./Bc8dubgH.js";import{c as s}from"#entry";import{t as c}from"./B8Pee7C0.js";import{t as l}from"./BUwCbG2W.js";var u={class:`antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide`},d={class:`max-w-520px text-center`},f=[`textContent`],p=[`textContent`],m=[`textContent`],h={class:`flex items-center justify-center w-full`},g=l({__name:`error-404`,props:{appName:{type:String,default:`Nuxt`},status:{type:Number,default:404},statusText:{type:String,default:`Page not found`},description:{type:String,default:`Sorry, the page you are looking for could not be found.`},backHome:{type:String,default:`Go back home`}},setup(l){let g=l;return s({title:`${g.status} - ${g.statusText} | ${g.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:`*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,h2,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }`}]}),(s,g)=>{let _=c;return i(),a(`div`,u,[o(`div`,d,[o(`h1`,{class:`font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]`,textContent:t(l.status)},null,8,f),o(`h2`,{class:`font-semibold mb-2 sm:text-3xl text-2xl`,textContent:t(l.statusText)},null,8,p),o(`p`,{class:`mb-4 px-2 text-[#64748B] text-md`,textContent:t(l.description)},null,8,m),o(`div`,h,[e(_,{to:`/`,class:`font-medium hover:text-[#00DC82] text-sm underline underline-offset-3`},{default:r(()=>[n(t(l.backHome),1)]),_:1})])])])}}},[[`__scopeId`,`data-v-93ffd999`]]);export{g as default};
1
+ import{A as e,Gt as t,k as n,lt as r,q as i,w as a,x as o}from"./CEtF9LWU.js";import"./Cb77vzCb.js";import{c as s}from"#entry";import{t as c}from"./BdJ_JF0w.js";import{t as l}from"./BUwCbG2W.js";var u={class:`antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide`},d={class:`max-w-520px text-center`},f=[`textContent`],p=[`textContent`],m=[`textContent`],h={class:`flex items-center justify-center w-full`},g=l({__name:`error-404`,props:{appName:{type:String,default:`Nuxt`},status:{type:Number,default:404},statusText:{type:String,default:`Page not found`},description:{type:String,default:`Sorry, the page you are looking for could not be found.`},backHome:{type:String,default:`Go back home`}},setup(l){let g=l;return s({title:`${g.status} - ${g.statusText} | ${g.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:`*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,h2,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }`}]}),(s,g)=>{let _=c;return i(),a(`div`,u,[o(`div`,d,[o(`h1`,{class:`font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]`,textContent:t(l.status)},null,8,f),o(`h2`,{class:`font-semibold mb-2 sm:text-3xl text-2xl`,textContent:t(l.statusText)},null,8,p),o(`p`,{class:`mb-4 px-2 text-[#64748B] text-md`,textContent:t(l.description)},null,8,m),o(`div`,h,[e(_,{to:`/`,class:`font-medium hover:text-[#00DC82] text-sm underline underline-offset-3`},{default:r(()=>[n(t(l.backHome),1)]),_:1})])])])}}},[[`__scopeId`,`data-v-5bb471dc`]]);export{g as default};
@@ -1 +1 @@
1
- import{$ as e,Et as t,F as n,G as r,H as i,M as a,St as o,a as s,b as c,bt as l,c as u,i as d}from"./CyUS7GqK.js";import{F as f,L as p,M as m,O as h,S as g,a as _,b as v,i as y,j as b,n as x,r as S,w as C,x as w}from"./Bc8dubgH.js";var T=(...e)=>e.find(e=>e!==void 0);function E(u){let f=u.componentName||`NuxtLink`;function p(e){return typeof e==`string`&&e.startsWith(`#`)}function E(e,t,n){let r=n??u.trailingSlash;if(!e||r!==`append`&&r!==`remove`)return e;if(typeof e==`string`)return O(e,r);let i=`path`in e&&e.path!==void 0?e.path:t(e).path;return{...e,name:void 0,path:O(i,r)}}function D(n){let r=C(),i=s(),a=c(()=>!!t(n.target)&&t(n.target)!==`_self`),o=c(()=>{let e=t(n.to)||t(n.href)||``;return typeof e==`string`&&h(e,{acceptRelative:!0})}),l=e(`RouterLink`),d=l&&typeof l!=`string`?l.useLink:void 0,f=c(()=>{if(t(n.external))return!0;let e=t(n.to)||t(n.href)||``;return typeof e==`object`?!1:e===``||o.value}),m=c(()=>{let e=t(n.to)||t(n.href)||``;return f.value?e:E(e,r.resolve,t(n.trailingSlash))}),_=f.value?void 0:d?.({...n,to:m,viewTransition:t(n.viewTransition)}),v=c(()=>{let e=t(n.trailingSlash)??u.trailingSlash;if(!m.value||o.value||p(m.value))return m.value;if(f.value){let t=typeof m.value==`object`&&`path`in m.value?g(m.value):m.value;return O(typeof t==`object`?r.resolve(t).href:t,e)}return typeof m.value==`object`?r.resolve(m.value)?.href??null:O(b(i.app.baseURL,m.value),e)});return{to:m,hasTarget:a,isAbsoluteUrl:o,isExternal:f,href:v,isActive:_?.isActive??c(()=>m.value===r.currentRoute.value.path),isExactActive:_?.isExactActive??c(()=>m.value===r.currentRoute.value.path),route:_?.route??c(()=>r.resolve(m.value)),async navigate(e){await w(v.value,{replace:t(n.replace),external:f.value||a.value})}}}return a({name:f,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:D,setup(t,{slots:a}){let s=C(),{to:c,href:f,navigate:h,isExternal:b,hasTarget:w,isAbsoluteUrl:E}=D(t),O=o(!1),A=l(null),M=e=>{A.value=t.custom?e?.$el?.nextElementSibling:e?.$el};function N(e){return!O.value&&(typeof t.prefetchOn==`string`?t.prefetchOn===e:t.prefetchOn?.[e]??u.prefetchOn?.[e])&&(t.prefetch??u.prefetch)!==!1&&t.noPrefetch!==!0&&t.target!==`_blank`&&!j()}async function P(e=d()){if(O.value)return;O.value=!0;let t=typeof c.value==`string`?c.value:b.value?g(c.value):s.resolve(c.value).fullPath,n=b.value?new URL(t,window.location.href).href:t;await Promise.all([e.hooks.callHook(`link:prefetch`,n)?.catch(()=>{}),!b.value&&!w.value&&x(c.value,s).catch(()=>{})])}if(N(`visibility`)){let e=d(),t,n=null;r(()=>{let r=k();S(()=>{t=_(()=>{A?.value?.tagName&&(n=r.observe(A.value,async()=>{n?.(),n=null,await P(e)}))})})}),i(()=>{t&&y(t),n?.(),n=null})}return()=>{if(!b.value&&!w.value&&!p(c.value)){let r={ref:M,to:c.value,activeClass:t.activeClass||u.activeClass,exactActiveClass:t.exactActiveClass||u.exactActiveClass,replace:t.replace,ariaCurrentValue:t.ariaCurrentValue,custom:t.custom};return t.custom||(N(`interaction`)&&(r.onPointerenter=P.bind(null,void 0),r.onFocus=P.bind(null,void 0)),O.value&&(r.class=t.prefetchedClass||u.prefetchedClass),r.rel=t.rel||void 0),n(e(`RouterLink`),r,a.default)}let r=t.target||null,i=T(t.noRel?``:t.rel,u.externalRelAttribute,E.value||w.value?`noopener noreferrer`:``)||null;return t.custom?a.default?a.default({href:f.value,navigate:h,prefetch:P,get route(){if(!f.value)return;let e=new URL(f.value,window.location.href);return{path:e.pathname,fullPath:e.pathname,get query(){return m(e.search)},hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:f.value}},rel:i,target:r,isExternal:b.value||w.value,isActive:!1,isExactActive:!1}):null:n(`a`,{ref:A,href:f.value||null,rel:i,target:r,onClick:async e=>{if(!(b.value||w.value)){e.preventDefault();try{let e=v(f.value);return await(t.replace?s.replace(e):s.push(e))}finally{if(p(c.value)){let e=c.value.slice(1),t=e;try{t=decodeURIComponent(e)}catch{}document.getElementById(t)?.focus()}}}}},a.default?.())}}})}var D=E(u);function O(e,t){let n=t===`append`?f:p;return h(e)&&!e.startsWith(`http`)?e:n(e,!0)}function k(){let e=d();if(e._observer)return e._observer;let t=null,n=new Map;return e._observer={observe:(e,r)=>(t||=new IntersectionObserver(e=>{for(let t of e){let e=n.get(t.target);(t.isIntersecting||t.intersectionRatio>0)&&e&&e()}}),n.set(e,r),t.observe(e),()=>{n.delete(e),t?.unobserve(e),n.size===0&&(t?.disconnect(),t=null)})}}var A=/2g/;function j(){let e=navigator.connection;return!!(e&&(e.saveData||A.test(e.effectiveType)))}export{D as t};
1
+ import{$ as e,Et as t,F as n,G as r,H as i,M as a,St as o,a as s,b as c,bt as l,c as u,i as d}from"./CEtF9LWU.js";import{F as f,L as p,M as m,O as h,S as g,a as _,b as v,i as y,j as b,n as x,r as S,w as C,x as w}from"./Cb77vzCb.js";var T=(...e)=>e.find(e=>e!==void 0);function E(u){let f=u.componentName||`NuxtLink`;function p(e){return typeof e==`string`&&e.startsWith(`#`)}function E(e,t,n){let r=n??u.trailingSlash;if(!e||r!==`append`&&r!==`remove`)return e;if(typeof e==`string`)return O(e,r);let i=`path`in e&&e.path!==void 0?e.path:t(e).path;return{...e,name:void 0,path:O(i,r)}}function D(n){let r=C(),i=s(),a=c(()=>!!t(n.target)&&t(n.target)!==`_self`),o=c(()=>{let e=t(n.to)||t(n.href)||``;return typeof e==`string`&&h(e,{acceptRelative:!0})}),l=e(`RouterLink`),d=l&&typeof l!=`string`?l.useLink:void 0,f=c(()=>{if(t(n.external))return!0;let e=t(n.to)||t(n.href)||``;return typeof e==`object`?!1:e===``||o.value}),m=c(()=>{let e=t(n.to)||t(n.href)||``;return f.value?e:E(e,r.resolve,t(n.trailingSlash))}),_=f.value?void 0:d?.({...n,to:m,viewTransition:t(n.viewTransition)}),v=c(()=>{let e=t(n.trailingSlash)??u.trailingSlash;if(!m.value||o.value||p(m.value))return m.value;if(f.value){let t=typeof m.value==`object`&&`path`in m.value?g(m.value):m.value;return O(typeof t==`object`?r.resolve(t).href:t,e)}return typeof m.value==`object`?r.resolve(m.value)?.href??null:O(b(i.app.baseURL,m.value),e)});return{to:m,hasTarget:a,isAbsoluteUrl:o,isExternal:f,href:v,isActive:_?.isActive??c(()=>m.value===r.currentRoute.value.path),isExactActive:_?.isExactActive??c(()=>m.value===r.currentRoute.value.path),route:_?.route??c(()=>r.resolve(m.value)),async navigate(e){await w(v.value,{replace:t(n.replace),external:f.value||a.value})}}}return a({name:f,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:D,setup(t,{slots:a}){let s=C(),{to:c,href:f,navigate:h,isExternal:b,hasTarget:w,isAbsoluteUrl:E}=D(t),O=o(!1),A=l(null),M=e=>{A.value=t.custom?e?.$el?.nextElementSibling:e?.$el};function N(e){return!O.value&&(typeof t.prefetchOn==`string`?t.prefetchOn===e:t.prefetchOn?.[e]??u.prefetchOn?.[e])&&(t.prefetch??u.prefetch)!==!1&&t.noPrefetch!==!0&&t.target!==`_blank`&&!j()}async function P(e=d()){if(O.value)return;O.value=!0;let t=typeof c.value==`string`?c.value:b.value?g(c.value):s.resolve(c.value).fullPath,n=b.value?new URL(t,window.location.href).href:t;await Promise.all([e.hooks.callHook(`link:prefetch`,n)?.catch(()=>{}),!b.value&&!w.value&&x(c.value,s).catch(()=>{})])}if(N(`visibility`)){let e=d(),t,n=null;r(()=>{let r=k();S(()=>{t=_(()=>{A?.value?.tagName&&(n=r.observe(A.value,async()=>{n?.(),n=null,await P(e)}))})})}),i(()=>{t&&y(t),n?.(),n=null})}return()=>{if(!b.value&&!w.value&&!p(c.value)){let r={ref:M,to:c.value,activeClass:t.activeClass||u.activeClass,exactActiveClass:t.exactActiveClass||u.exactActiveClass,replace:t.replace,ariaCurrentValue:t.ariaCurrentValue,custom:t.custom};return t.custom||(N(`interaction`)&&(r.onPointerenter=P.bind(null,void 0),r.onFocus=P.bind(null,void 0)),O.value&&(r.class=t.prefetchedClass||u.prefetchedClass),r.rel=t.rel||void 0),n(e(`RouterLink`),r,a.default)}let r=t.target||null,i=T(t.noRel?``:t.rel,u.externalRelAttribute,E.value||w.value?`noopener noreferrer`:``)||null;return t.custom?a.default?a.default({href:f.value,navigate:h,prefetch:P,get route(){if(!f.value)return;let e=new URL(f.value,window.location.href);return{path:e.pathname,fullPath:e.pathname,get query(){return m(e.search)},hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:f.value}},rel:i,target:r,isExternal:b.value||w.value,isActive:!1,isExactActive:!1}):null:n(`a`,{ref:A,href:f.value||null,rel:i,target:r,onClick:async e=>{if(!(b.value||w.value)){e.preventDefault();try{let e=v(f.value);return await(t.replace?s.replace(e):s.push(e))}finally{if(p(c.value)){let e=c.value.slice(1),t=e;try{t=decodeURIComponent(e)}catch{}document.getElementById(t)?.focus()}}}}},a.default?.())}}})}var D=E(u);function O(e,t){let n=t===`append`?f:p;return h(e)&&!e.startsWith(`http`)?e:n(e,!0)}function k(){let e=d();if(e._observer)return e._observer;let t=null,n=new Map;return e._observer={observe:(e,r)=>(t||=new IntersectionObserver(e=>{for(let t of e){let e=n.get(t.target);(t.isIntersecting||t.intersectionRatio>0)&&e&&e()}}),n.set(e,r),t.observe(e),()=>{n.delete(e),t?.unobserve(e),n.size===0&&(t?.disconnect(),t=null)})}}var A=/2g/;function j(){let e=navigator.connection;return!!(e&&(e.saveData||A.test(e.effectiveType)))}export{D as t};
@@ -0,0 +1 @@
1
+ import{A as e,B as t,C as n,D as r,Et as i,G as a,Gt as o,H as s,Ht as c,K as l,L as u,M as d,P as f,Q as p,S as m,Tt as h,U as g,Ut as _,V as v,Wt as y,Y as b,Z as x,b as S,bt as C,gt as w,h as T,lt as E,nt as D,ot as O,q as k,tt as A,ut as j,vt as M,w as N,x as P,xt as F,z as I}from"./CEtF9LWU.js";import{H as L}from"./Cb77vzCb.js";import{h as R}from"./DJTkDKGN.js";function z(e){return Array.isArray?Array.isArray(e):q(e)===`[object Array]`}var B=1/0;function ee(e){if(typeof e==`string`)return e;let t=e+``;return t==`0`&&1/e==-B?`-0`:t}function V(e){return e==null?``:ee(e)}function H(e){return typeof e==`string`}function U(e){return typeof e==`number`}function W(e){return e===!0||e===!1||ne(e)&&q(e)==`[object Boolean]`}function te(e){return typeof e==`object`}function ne(e){return te(e)&&e!==null}function G(e){return e!=null}function K(e){return!e.trim().length}function q(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}var J=`Incorrect 'index' type`,re=e=>`Invalid value for key ${e}`,ie=e=>`Pattern length exceeds max of ${e}.`,ae=e=>`Missing ${e} property in key`,oe=e=>`Property 'weight' in key '${e}' must be a positive integer`,se=Object.prototype.hasOwnProperty,ce=class{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(e=>{let n=le(e);this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight}),this._keys.forEach(e=>{e.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}};function le(e){let t=null,n=null,r=null,i=1,a=null;if(H(e)||z(e))r=e,t=ue(e),n=de(e);else{if(!se.call(e,`name`))throw Error(ae(`name`));let o=e.name;if(r=o,se.call(e,`weight`)&&(i=e.weight,i<=0))throw Error(oe(o));t=ue(o),n=de(o),a=e.getFn}return{path:t,id:n,weight:i,src:r,getFn:a}}function ue(e){return z(e)?e:e.split(`.`)}function de(e){return z(e)?e.join(`.`):e}function fe(e,t){let n=[],r=!1,i=(e,t,a)=>{if(G(e))if(!t[a])n.push(e);else{let o=e[t[a]];if(!G(o))return;if(a===t.length-1&&(H(o)||U(o)||W(o)))n.push(V(o));else if(z(o)){r=!0;for(let e=0,n=o.length;e<n;e+=1)i(o[e],t,a+1)}else t.length&&i(o,t,a+1)}};return i(e,H(t)?t.split(`.`):t,0),r?n:n[0]}var pe={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},me={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},he={location:0,threshold:.6,distance:100},ge={useExtendedSearch:!1,getFn:fe,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},Y={...me,...pe,...he,...ge},_e=/[^ ]+/g;function ve(e=1,t=3){let n=new Map,r=10**t;return{get(t){let i=t.match(_e).length;if(n.has(i))return n.get(i);let a=1/i**(.5*e),o=parseFloat(Math.round(a*r)/r);return n.set(i,o),o},clear(){n.clear()}}}var ye=class{constructor({getFn:e=Y.getFn,fieldNormWeight:t=Y.fieldNormWeight}={}){this.norm=ve(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((e,t)=>{this._keysMap[e.id]=t})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,H(this.docs[0])?this.docs.forEach((e,t)=>{this._addString(e,t)}):this.docs.forEach((e,t)=>{this._addObject(e,t)}),this.norm.clear())}add(e){let t=this.size();H(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)--this.records[t].i}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!G(e)||K(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}};this.keys.forEach((t,r)=>{let i=t.getFn?t.getFn(e):this.getFn(e,t.path);if(G(i)){if(z(i)){let e=[],t=[{nestedArrIndex:-1,value:i}];for(;t.length;){let{nestedArrIndex:n,value:r}=t.pop();if(G(r))if(H(r)&&!K(r)){let t={v:r,i:n,n:this.norm.get(r)};e.push(t)}else z(r)&&r.forEach((e,n)=>{t.push({nestedArrIndex:n,value:e})})}n.$[r]=e}else if(H(i)&&!K(i)){let e={v:i,n:this.norm.get(i)};n.$[r]=e}}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}};function be(e,t,{getFn:n=Y.getFn,fieldNormWeight:r=Y.fieldNormWeight}={}){let i=new ye({getFn:n,fieldNormWeight:r});return i.setKeys(e.map(le)),i.setSources(t),i.create(),i}function xe(e,{getFn:t=Y.getFn,fieldNormWeight:n=Y.fieldNormWeight}={}){let{keys:r,records:i}=e,a=new ye({getFn:t,fieldNormWeight:n});return a.setKeys(r),a.setIndexRecords(i),a}function X(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:i=Y.distance,ignoreLocation:a=Y.ignoreLocation}={}){let o=t/e.length;if(a)return o;let s=Math.abs(r-n);return i?o+s/i:s?1:o}function Se(e=[],t=Y.minMatchCharLength){let n=[],r=-1,i=-1,a=0;for(let o=e.length;a<o;a+=1){let o=e[a];o&&r===-1?r=a:!o&&r!==-1&&(i=a-1,i-r+1>=t&&n.push([r,i]),r=-1)}return e[a-1]&&a-r>=t&&n.push([r,a-1]),n}var Z=32;function Ce(e,t,n,{location:r=Y.location,distance:i=Y.distance,threshold:a=Y.threshold,findAllMatches:o=Y.findAllMatches,minMatchCharLength:s=Y.minMatchCharLength,includeMatches:c=Y.includeMatches,ignoreLocation:l=Y.ignoreLocation}={}){if(t.length>Z)throw Error(ie(Z));let u=t.length,d=e.length,f=Math.max(0,Math.min(r,d)),p=a,m=f,h=s>1||c,g=h?Array(d):[],_;for(;(_=e.indexOf(t,m))>-1;){let e=X(t,{currentLocation:_,expectedLocation:f,distance:i,ignoreLocation:l});if(p=Math.min(e,p),m=_+u,h){let e=0;for(;e<u;)g[_+e]=1,e+=1}}m=-1;let v=[],y=1,b=u+d,x=1<<u-1;for(let r=0;r<u;r+=1){let a=0,s=b;for(;a<s;)X(t,{errors:r,currentLocation:f+s,expectedLocation:f,distance:i,ignoreLocation:l})<=p?a=s:b=s,s=Math.floor((b-a)/2+a);b=s;let c=Math.max(1,f-s+1),_=o?d:Math.min(f+s,d)+u,S=Array(_+2);S[_+1]=(1<<r)-1;for(let a=_;a>=c;--a){let o=a-1,s=n[e.charAt(o)];if(h&&(g[o]=+!!s),S[a]=(S[a+1]<<1|1)&s,r&&(S[a]|=(v[a+1]|v[a])<<1|1|v[a+1]),S[a]&x&&(y=X(t,{errors:r,currentLocation:o,expectedLocation:f,distance:i,ignoreLocation:l}),y<=p)){if(p=y,m=o,m<=f)break;c=Math.max(1,2*f-m)}}if(X(t,{errors:r+1,currentLocation:f,expectedLocation:f,distance:i,ignoreLocation:l})>p)break;v=S}let S={isMatch:m>=0,score:Math.max(.001,y)};if(h){let e=Se(g,s);e.length?c&&(S.indices=e):S.isMatch=!1}return S}function we(e){let t={};for(let n=0,r=e.length;n<r;n+=1){let i=e.charAt(n);t[i]=(t[i]||0)|1<<r-n-1}return t}var Te=String.prototype.normalize?(e=>e.normalize(`NFD`).replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,``)):(e=>e),Ee=class{constructor(e,{location:t=Y.location,threshold:n=Y.threshold,distance:r=Y.distance,includeMatches:i=Y.includeMatches,findAllMatches:a=Y.findAllMatches,minMatchCharLength:o=Y.minMatchCharLength,isCaseSensitive:s=Y.isCaseSensitive,ignoreDiacritics:c=Y.ignoreDiacritics,ignoreLocation:l=Y.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:i,findAllMatches:a,minMatchCharLength:o,isCaseSensitive:s,ignoreDiacritics:c,ignoreLocation:l},e=s?e:e.toLowerCase(),e=c?Te(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;let u=(e,t)=>{this.chunks.push({pattern:e,alphabet:we(e),startIndex:t})},d=this.pattern.length;if(d>Z){let e=0,t=d%Z,n=d-t;for(;e<n;)u(this.pattern.substr(e,Z),e),e+=Z;if(t){let e=d-Z;u(this.pattern.substr(e),e)}}else u(this.pattern,0)}searchIn(e){let{isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r}=this.options;if(e=t?e:e.toLowerCase(),e=n?Te(e):e,this.pattern===e){let t={isMatch:!0,score:0};return r&&(t.indices=[[0,e.length-1]]),t}let{location:i,distance:a,threshold:o,findAllMatches:s,minMatchCharLength:c,ignoreLocation:l}=this.options,u=[],d=0,f=!1;this.chunks.forEach(({pattern:t,alphabet:n,startIndex:p})=>{let{isMatch:m,score:h,indices:g}=Ce(e,t,n,{location:i+p,distance:a,threshold:o,findAllMatches:s,minMatchCharLength:c,includeMatches:r,ignoreLocation:l});m&&(f=!0),d+=h,m&&g&&(u=[...u,...g])});let p={isMatch:f,score:f?d/this.chunks.length:1};return f&&r&&(p.indices=u),p}},Q=class{constructor(e){this.pattern=e}static isMultiMatch(e){return De(e,this.multiRegex)}static isSingleMatch(e){return De(e,this.singleRegex)}search(){}};function De(e,t){let n=e.match(t);return n?n[1]:null}var Oe=class extends Q{constructor(e){super(e)}static get type(){return`exact`}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){let t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},ke=class extends Q{constructor(e){super(e)}static get type(){return`inverse-exact`}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){let t=e.indexOf(this.pattern)===-1;return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},Ae=class extends Q{constructor(e){super(e)}static get type(){return`prefix-exact`}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){let t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},je=class extends Q{constructor(e){super(e)}static get type(){return`inverse-prefix-exact`}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){let t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},Me=class extends Q{constructor(e){super(e)}static get type(){return`suffix-exact`}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){let t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},Ne=class extends Q{constructor(e){super(e)}static get type(){return`inverse-suffix-exact`}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){let t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},Pe=class extends Q{constructor(e,{location:t=Y.location,threshold:n=Y.threshold,distance:r=Y.distance,includeMatches:i=Y.includeMatches,findAllMatches:a=Y.findAllMatches,minMatchCharLength:o=Y.minMatchCharLength,isCaseSensitive:s=Y.isCaseSensitive,ignoreDiacritics:c=Y.ignoreDiacritics,ignoreLocation:l=Y.ignoreLocation}={}){super(e),this._bitapSearch=new Ee(e,{location:t,threshold:n,distance:r,includeMatches:i,findAllMatches:a,minMatchCharLength:o,isCaseSensitive:s,ignoreDiacritics:c,ignoreLocation:l})}static get type(){return`fuzzy`}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}},Fe=class extends Q{constructor(e){super(e)}static get type(){return`include`}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t=0,n,r=[],i=this.pattern.length;for(;(n=e.indexOf(this.pattern,t))>-1;)t=n+i,r.push([n,t-1]);let a=!!r.length;return{isMatch:a,score:a?0:1,indices:r}}},Ie=[Oe,Fe,Ae,je,Ne,Me,ke,Pe],Le=Ie.length,Re=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,ze=`|`;function Be(e,t={}){return e.split(ze).map(e=>{let n=e.trim().split(Re).filter(e=>e&&!!e.trim()),r=[];for(let e=0,i=n.length;e<i;e+=1){let i=n[e],a=!1,o=-1;for(;!a&&++o<Le;){let e=Ie[o],n=e.isMultiMatch(i);n&&(r.push(new e(n,t)),a=!0)}if(!a)for(o=-1;++o<Le;){let e=Ie[o],n=e.isSingleMatch(i);if(n){r.push(new e(n,t));break}}}return r})}var Ve=new Set([Pe.type,Fe.type]),He=class{constructor(e,{isCaseSensitive:t=Y.isCaseSensitive,ignoreDiacritics:n=Y.ignoreDiacritics,includeMatches:r=Y.includeMatches,minMatchCharLength:i=Y.minMatchCharLength,ignoreLocation:a=Y.ignoreLocation,findAllMatches:o=Y.findAllMatches,location:s=Y.location,threshold:c=Y.threshold,distance:l=Y.distance}={}){this.query=null,this.options={isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r,minMatchCharLength:i,findAllMatches:o,ignoreLocation:a,location:s,threshold:c,distance:l},e=t?e:e.toLowerCase(),e=n?Te(e):e,this.pattern=e,this.query=Be(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){let t=this.query;if(!t)return{isMatch:!1,score:1};let{includeMatches:n,isCaseSensitive:r,ignoreDiacritics:i}=this.options;e=r?e:e.toLowerCase(),e=i?Te(e):e;let a=0,o=[],s=0;for(let r=0,i=t.length;r<i;r+=1){let i=t[r];o.length=0,a=0;for(let t=0,r=i.length;t<r;t+=1){let r=i[t],{isMatch:c,indices:l,score:u}=r.search(e);if(c){if(a+=1,s+=u,n){let e=r.constructor.type;Ve.has(e)?o=[...o,...l]:o.push(l)}}else{s=0,a=0,o.length=0;break}}if(a){let e={isMatch:!0,score:s/a};return n&&(e.indices=o),e}}return{isMatch:!1,score:1}}},Ue=[];function We(...e){Ue.push(...e)}function Ge(e,t){for(let n=0,r=Ue.length;n<r;n+=1){let r=Ue[n];if(r.condition(e,t))return new r(e,t)}return new Ee(e,t)}var Ke={AND:`$and`,OR:`$or`},qe={PATH:`$path`,PATTERN:`$val`},Je=e=>!!(e[Ke.AND]||e[Ke.OR]),Ye=e=>!!e[qe.PATH],Xe=e=>!z(e)&&te(e)&&!Je(e),Ze=e=>({[Ke.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Qe(e,t,{auto:n=!0}={}){let r=e=>{let i=Object.keys(e),a=Ye(e);if(!a&&i.length>1&&!Je(e))return r(Ze(e));if(Xe(e)){let r=a?e[qe.PATH]:i[0],o=a?e[qe.PATTERN]:e[r];if(!H(o))throw Error(re(r));let s={keyId:de(r),pattern:o};return n&&(s.searcher=Ge(o,t)),s}let o={children:[],operator:i[0]};return i.forEach(t=>{let n=e[t];z(n)&&n.forEach(e=>{o.children.push(r(e))})}),o};return Je(e)||(e=Ze(e)),r(e)}function $e(e,{ignoreFieldNorm:t=Y.ignoreFieldNorm}){e.forEach(e=>{let n=1;e.matches.forEach(({key:e,norm:r,score:i})=>{let a=e?e.weight:null;n*=(i===0&&a?2**-52:i)**+((a||1)*(t?1:r))}),e.score=n})}function et(e,t){let n=e.matches;t.matches=[],G(n)&&n.forEach(e=>{if(!G(e.indices)||!e.indices.length)return;let{indices:n,value:r}=e,i={indices:n,value:r};e.key&&(i.key=e.key.src),e.idx>-1&&(i.refIndex=e.idx),t.matches.push(i)})}function tt(e,t){t.score=e.score}function nt(e,t,{includeMatches:n=Y.includeMatches,includeScore:r=Y.includeScore}={}){let i=[];return n&&i.push(et),r&&i.push(tt),e.map(e=>{let{idx:n}=e,r={item:t[n],refIndex:n};return i.length&&i.forEach(t=>{t(e,r)}),r})}var $=class{constructor(e,t={},n){this.options={...Y,...t},this.options.useExtendedSearch,this._keyStore=new ce(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof ye))throw Error(J);this._myIndex=t||be(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){G(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){let t=[];for(let n=0,r=this._docs.length;n<r;n+=1){let i=this._docs[n];e(i,n)&&(this.removeAt(n),--n,--r,t.push(i))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){let{includeMatches:n,includeScore:r,shouldSort:i,sortFn:a,ignoreFieldNorm:o}=this.options,s=H(e)?H(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return $e(s,{ignoreFieldNorm:o}),i&&s.sort(a),U(t)&&t>-1&&(s=s.slice(0,t)),nt(s,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){let t=Ge(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach(({v:e,i:n,n:i})=>{if(!G(e))return;let{isMatch:a,score:o,indices:s}=t.searchIn(e);a&&r.push({item:e,idx:n,matches:[{score:o,value:e,norm:i,indices:s}]})}),r}_searchLogical(e){let t=Qe(e,this.options),n=(e,t,r)=>{if(!e.children){let{keyId:n,searcher:i}=e,a=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:i});return a&&a.length?[{idx:r,item:t,matches:a}]:[]}let i=[];for(let a=0,o=e.children.length;a<o;a+=1){let o=e.children[a],s=n(o,t,r);if(s.length)i.push(...s);else if(e.operator===Ke.AND)return[]}return i},r=this._myIndex.records,i={},a=[];return r.forEach(({$:e,i:r})=>{if(G(e)){let o=n(t,e,r);o.length&&(i[r]||(i[r]={idx:r,item:e,matches:[]},a.push(i[r])),o.forEach(({matches:e})=>{i[r].matches.push(...e)}))}}),a}_searchObjectList(e){let t=Ge(e,this.options),{keys:n,records:r}=this._myIndex,i=[];return r.forEach(({$:e,i:r})=>{if(!G(e))return;let a=[];n.forEach((n,r)=>{a.push(...this._findMatches({key:n,value:e[r],searcher:t}))}),a.length&&i.push({idx:r,item:e,matches:a})}),i}_findMatches({key:e,value:t,searcher:n}){if(!G(t))return[];let r=[];if(z(t))t.forEach(({v:t,i,n:a})=>{if(!G(t))return;let{isMatch:o,score:s,indices:c}=n.searchIn(t);o&&r.push({score:s,key:e,value:t,idx:i,norm:a,indices:c})});else{let{v:i,n:a}=t,{isMatch:o,score:s,indices:c}=n.searchIn(i);o&&r.push({score:s,key:e,value:i,norm:a,indices:c})}return r}};$.version=`7.1.0`,$.createIndex=be,$.parseIndex=xe,$.config=Y,$.parseQuery=Qe,We(He);var rt={flex:`col gap-2`,"min-w-30vw":``,border:`~ base rounded-xl`,"bg-glass":``},it={key:0,class:`flex items-center`},at=[`title`],ot=[`checked`,`onChange`],st={"text-sm":``},ct=[`title`],lt={key:0,op75:``,"i-ph-selection-slash-duotone":``},ut={key:1,op75:``,"i-ph-selection-plus-duotone":``},dt=Object.assign(d({__name:`SearchPanel`,props:{rules:{},modelValue:{default:()=>({search:``,selected:null})},selectedContainerClass:{default:``}},emits:[`update:modelValue`],setup(e,{emit:t}){let r=e,a=R(r,`modelValue`,t);function s(e){let{modelValue:t}=r;return t?.selected?t.selected.includes(e.name):!0}function l(e){let{rules:t}=r;a?.value?.selected||(a.value.selected=t.map(e=>e.name)),a.value.selected.includes(e.name)?a.value.selected=a.value.selected.filter(t=>t!==e.name):a.value.selected.push(e.name),a?.value?.selected.length===r.rules.length&&(a.value.selected=null)}function u(){a?.value?.selected?.length===r.rules.length?a.value.selected=null:a?.value?.selected==null?a.value.selected=[]:a.value.selected=r.rules.map(e=>e.name).filter(e=>!a.value.selected?.includes(e))}function d(){a?.value?.selected?.length===0?a.value.selected=null:a.value.selected=[]}return(t,r)=>(k(),N(`div`,rt,[p(t.$slots,`search`,{},()=>[e.modelValue.search===!1?n(``,!0):(k(),N(`div`,it,[j(P(`input`,{"onUpdate:modelValue":r[0]||=e=>i(a).search=e,p2:``,px4:``,"w-full":``,style:{outline:`none`},placeholder:`Search`},null,512),[[L,i(a).search]]),p(t.$slots,`search-end`)]))]),e.rules.length?(k(),N(`div`,{key:0,class:c(e.selectedContainerClass),flex:`~ gap-2 wrap`,p2:``,border:`t base`},[(k(!0),N(T,null,x(e.rules,e=>(k(),N(`label`,{key:e.name,border:`~ base rounded-md`,px2:``,py1:``,flex:`~ items-center gap-1`,"select-none":``,title:e.description,class:c(s(e)?`bg-active`:`grayscale op50`)},[P(`input`,{type:`checkbox`,mr1:``,checked:s(e),onChange:t=>l(e)},null,40,ot),P(`div`,{class:c(e.icon),"icon-catppuccin":``},null,2),P(`div`,st,o(e.description||e.name),1)],10,at))),128)),P(`button`,{"rounded-md":``,p1:``,flex:`~ items-center gap-1`,"select-none":``,hover:`bg-active`,title:`Reverse Selection`,onClick:u},[...r[1]||=[P(`div`,{op75:``,"i-ph-selection-background-duotone":``},null,-1)]]),P(`button`,{"rounded-md":``,p1:``,flex:`~ items-center gap-1`,"select-none":``,hover:`bg-active`,title:i(a).selected?.length===0?`Select All`:`Unselect All`,onClick:d},[i(a).selected?.length===0?(k(),N(`div`,lt)):(k(),N(`div`,ut))],8,ct)],2)):n(``,!0),p(t.$slots,`default`)]))}}),{__name:`DataSearchPanel`});function ft(e){return{all:e||=new Map,on:function(t,n){var r=e.get(t);r&&r.push(n)||e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&r.splice(r.indexOf(n)>>>0,1)},emit:function(t,n){(e.get(t)||[]).slice().map(function(e){e(n)}),(e.get(`*`)||[]).slice().map(function(e){e(t,n)})}}}function pt(e,n,r,i){let a=0,o={},s=ft(),c=!1,u,d=M({active:!0,sizes:{},keyField:h(e).keyField,simpleArray:!1});typeof ResizeObserver<`u`&&(u=new ResizeObserver(e=>{requestAnimationFrame(()=>{if(Array.isArray(e)){for(let t of e)if(t.target&&t.target.$_vs_onResize){let e,n;if(t.borderBoxSize){let r=t.borderBoxSize[0];e=r.inlineSize,n=r.blockSize}else e=t.contentRect.width,n=t.contentRect.height;t.target.$_vs_onResize(t.target.$_vs_id,e,n)}}})})),b(`vscrollData`,d),b(`vscrollParent`,{get $_undefinedSizes(){return a},set $_undefinedSizes(e){a=e},get $_undefinedMap(){return o},set $_undefinedMap(e){o=e},$_events:s,direction:S(()=>h(e).direction)}),b(`vscrollResizeObserver`,u);let f=S(()=>{let t=h(e);return t.items.length>0&&typeof t.items[0]!=`object`}),p=S(()=>{let t=[],{items:n,keyField:r}=h(e),i=f.value,a=d.sizes,s=n.length;for(let e=0;e<s;e++){let s=n[e],c=i?e:s[r],l=a[c];typeof l>`u`&&!o[c]&&(l=0),t.push({item:s,id:c,size:l})}return t});function m(){var e;h(n)&&y(),(e=i?.onResize)==null||e.call(i)}function _(){var e;s.emit(`vscroll:update`,{force:!1}),(e=i?.onVisible)==null||e.call(i)}function y(e=!1){(e||f.value)&&(d.sizes={}),s.emit(`vscroll:update`,{force:!0})}function x(e){let t=h(n);t&&t.scrollToItem(e)}function C(t,n){let r=h(e),i=f.value?n??r.items.indexOf(t):t[r.keyField];return d.sizes[i]||0}function w(){let e=h(r);e&&(c||(c=!0,t(()=>{e.scrollTop=e.scrollHeight+5e3;let t=()=>{e.scrollTop=e.scrollHeight+5e3,requestAnimationFrame(()=>{e.scrollTop=e.scrollHeight+5e3,a===0?c=!1:requestAnimationFrame(t)})};requestAnimationFrame(t)})))}return O(()=>h(e).items,()=>{y()}),O(f,e=>{d.simpleArray=e},{immediate:!0}),O(()=>h(e).direction,()=>{y(!0)}),O(p,(t,n)=>{let i=h(r);if(!i)return;let a=i.scrollTop,o=h(e),s=0,c=0,l=Math.min(t.length,n.length);for(let e=0;e<l&&!(s>=a);e++)s+=n[e].size||o.minItemSize,c+=t[e].size||o.minItemSize;let u=c-s;u!==0&&(i.scrollTop+=u)}),v(()=>{d.active=!0}),g(()=>{d.active=!1}),l(()=>{s.all.clear()}),{vscrollData:d,itemsWithSize:p,simpleArray:f,resizeObserver:u,forceUpdate:y,scrollToItem:x,getItemSize:C,scrollToBottom:w,onScrollerResize:m,onScrollerVisible:_}}var mt={itemsLimit:1e3},ht=/auto|scroll/;function gt(e,t){return e.parentNode===null?t:gt(e.parentNode,[...t,e])}function _t(e,t){return getComputedStyle(e,null).getPropertyValue(t)}function vt(e){return _t(e,`overflow`)+_t(e,`overflow-y`)+_t(e,`overflow-x`)}function yt(e){return ht.test(vt(e))}function bt(e){if(!(e instanceof HTMLElement||e instanceof SVGElement))return;let t=gt(e.parentNode,[]);for(let e=0;e<t.length;e+=1)if(t[e]instanceof Element&&yt(t[e]))return t[e];return document.scrollingElement||document.documentElement}var xt=!1;function St(){return xt}if(typeof window<`u`){xt=!1;try{let e=Object.defineProperty({},`passive`,{get(){xt=!0}});window.addEventListener(`test`,null,e)}catch{}}var Ct=0;function wt(e,n,r,i,o){let c=C([]),l=C(0),u=C(!1),d=0,f=0,p=new Map,m=new Map,g=!1,_=0,y=!1,b=null,x=null,T=null,E=0,D=null,k=S(()=>{let t=h(e);return t.items.length>0&&typeof t.items[0]!=`object`}),A=S(()=>{let t=h(e);if(t.itemSize===null){let e={[-1]:{accumulator:0}},n=t.items,r=t.sizeField,i=t.minItemSize,a=1e4,o=0,s;for(let t=0,c=n.length;t<c;t++)s=n[t][r]||i,s<a&&(a=s),o+=s,e[t]={accumulator:o,size:s};return E=a,e}return[]});function j(e){let t=m.get(e);return t||(t=[],m.set(e,t)),t}function M(e,t,n,r,i){let a=F({item:n,position:0,offset:0,nr:w({id:Ct++,index:t,used:!0,key:r,type:i})});return e.push(a),a}function N(e){let t=j(e);if(t&&t.length){let e=t.pop();return e.nr.used=!0,e}}function P(e){let t=e.nr.type;j(t).push(e),e.nr.used=!1,e.position=-9999,p.delete(e.nr.key)}function I(){p.clear(),m.clear();for(let e=0,t=c.value.length;e<t;e++)P(c.value[e])}function L(){var e;(e=o?.onResize)==null||e.call(o),u.value&&W(!1)}function R(){let t=h(e);if(!g){if(g=!0,b)return;let e=()=>requestAnimationFrame(()=>{g=!1;let{continuous:e}=W(!1,!0);e||(x&&clearTimeout(x),x=setTimeout(R,t.updateInterval+100))});e(),t.updateInterval&&(b=setTimeout(()=>{b=null,g&&e()},t.updateInterval))}}function z(e,t){var n,r;u.value&&(e||t.boundingClientRect.width!==0||t.boundingClientRect.height!==0?((n=o?.onVisible)==null||n.call(o),requestAnimationFrame(()=>{W(!1)})):(r=o?.onHidden)==null||r.call(o))}function B(){let e=bt(h(n));return window.document&&(e===window.document.documentElement||e===window.document.body)?window:e||window}function ee(){let t=h(n),r=h(e),i=r.direction===`vertical`,a;if(r.pageMode){let e=t.getBoundingClientRect(),n=i?e.height:e.width,r=-(i?e.top:e.left),o=i?window.innerHeight:window.innerWidth;r<0&&(o+=r,r=0),r+o>n&&(o=n-r),a={start:r,end:r+o}}else a=i?{start:t.scrollTop,end:t.scrollTop+t.clientHeight}:{start:t.scrollLeft,end:t.scrollLeft+t.clientWidth};return a}function V(){h(e).pageMode?H():U()}function H(){D=B(),D.addEventListener(`scroll`,R,St()?{passive:!0}:!1),D.addEventListener(`resize`,L)}function U(){D&&=(D.removeEventListener(`scroll`,R),D.removeEventListener(`resize`,L),null)}function W(t,n=!1){var a;let s=h(e),u=s.itemSize,m=s.gridItems||1,g=s.itemSecondarySize||u,v=E,b=s.typeField,x=k.value?null:s.keyField,S=s.items,C=S.length,w=A.value,D=p,O=c.value,j,F,L,R,z;if(!C)j=F=R=z=L=0;else if(y)j=R=0,F=z=Math.min(s.prerender,S.length),L=0;else{let e=ee();if(n){let t=e.start-_;if(t<0&&(t=-t),u===null&&t<v||u!==null&&t<u)return{continuous:!0}}_=e.start;let t=s.buffer;e.start-=t,e.end+=t;let a=0,o=h(r);o&&(a=o.scrollHeight,e.start-=a);let c=h(i);if(c){let t=c.scrollHeight;e.end+=t}if(u===null){let t,n=0,r=C-1,i=~~(C/2),o;do o=i,t=w[i].accumulator,t<e.start?n=i:i<C-1&&w[i+1].accumulator>e.start&&(r=i),i=~~((n+r)/2);while(i!==o);for(i<0&&(i=0),j=i,L=w[C-1].accumulator,F=i;F<C&&w[F].accumulator<e.end;F++);for(F===-1?F=S.length-1:(F++,F>C&&(F=C)),R=j;R<C&&a+w[R].accumulator<e.start;R++);for(z=R;z<C&&a+w[z].accumulator<e.end;z++);}else{j=~~(e.start/u*m);let t=j%m;j-=t,F=Math.ceil(e.end/u*m),R=Math.max(0,Math.floor((e.start-a)/u*m)),z=Math.floor((e.end-a)/u*m),j<0&&(j=0),F>C&&(F=C),R<0&&(R=0),z>C&&(z=C),L=Math.ceil(C/m)*u}}F-j>mt.itemsLimit&&te(),l.value=L;let B,V=j<=f&&F>=d;if(!V||t)I();else for(let e=0,t=O.length;e<t;e++)if(B=O[e],B.nr.used){let t=B.nr.index>=j&&B.nr.index<F,n=u||w[e]&&w[e].size;(!t||!n)&&P(B)}let H,U;for(let e=j;e<F;e++){if(!(u||w[e]&&w[e].size))continue;H=S[e];let t=x?H[x]:e;if(t==null)throw Error(`Key is ${t} on item (keyField is '${x}')`);B=D.get(t),B?(B.item!==H&&(B.item=H),B.nr.used||console.warn(`Expected existing view's used flag to be true, got ${B.nr.used}`)):(U=H[b],B=N(U),B?(B.item=H,B.nr.index=e,B.nr.key=t,B.nr.type!==U&&console.warn(`Reused view's type does not match pool's type`)):B=M(O,e,H,t,U),D.set(t,B)),u===null?(B.position=w[e-1].accumulator,B.offset=0):(B.position=Math.floor(e/m)*u,B.offset=e%m*g)}return d=j,f=F,s.emitUpdate&&((a=o?.onUpdate)==null||a.call(o,j,F,R,z)),T&&clearTimeout(T),T=setTimeout(G,s.updateInterval+300),{continuous:V}}function te(){throw setTimeout(()=>{console.warn(`It seems the scroller element isn't scrolling, so it tries to render all the items at once.`,`Scroller:`,h(n)),console.warn(`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.`)}),Error(`Rendered items limit reached`)}function ne(){let e=c.value.filter(({nr:e})=>e.used);for(let t=1;t<e.length;t++)if(e[t].nr.index!==e[t-1].nr.index+1)return!0;return!1}function G(){c.value.sort((e,t)=>e.nr.index-t.nr.index),ne()&&(W(!1),T&&clearTimeout(T))}function K(t){let n=h(e),r,i=n.gridItems||1;r=n.itemSize===null?t>0?A.value[t-1].accumulator:0:Math.floor(t/i)*n.itemSize,q(r)}function q(t){let r=h(e),i=h(n),a=r.direction===`vertical`?{scroll:`scrollTop`,start:`top`}:{scroll:`scrollLeft`,start:`left`};if(r.pageMode){let e=bt(i),n=e.tagName===`HTML`?0:e[a.scroll],r=e.getBoundingClientRect(),o=i.getBoundingClientRect()[a.start]-r[a.start];e[a.scroll]=t+n+o}else i[a.scroll]=t}let J=h(e);return J.prerender&&(y=!0,W(!1)),J.gridItems&&!J.itemSize&&console.error(`[vue-recycle-scroller] You must provide an itemSize when using gridItems`),a(()=>{V(),t(()=>{y=!1,W(!0),u.value=!0})}),v(()=>{let e=_;typeof e==`number`&&t(()=>{q(e)})}),s(()=>{U()}),O(()=>h(e).items,()=>{W(!0)}),O(()=>h(e).pageMode,()=>{V(),W(!1)}),O(A,()=>{W(!1)},{deep:!0}),O(()=>h(e).gridItems,()=>{W(!0)}),O(()=>h(e).itemSecondarySize,()=>{W(!0)}),{pool:c,totalSize:l,ready:u,sizes:A,simpleArray:k,scrollToItem:K,scrollToPosition:q,getScroll:ee,updateVisibleItems:W,handleScroll:R,handleResize:L,handleVisibilityChange:z,sortViews:G}}var Tt=new WeakMap;function Et(e){return typeof e==`function`?{callback:e,observer:null,intersection:void 0,visible:null}:{callback:e.callback,observer:null,intersection:e.intersection,visible:null}}function Dt(e,t){Ot(e);let n=Et(t.value);if(Tt.set(e,n),typeof IntersectionObserver>`u`){let t=e.getBoundingClientRect();n.visible=!0,n.callback(!0,{boundingClientRect:t});return}n.observer=new IntersectionObserver(e=>{let t=e[0],r=!!(t!=null&&t.isIntersecting);n.visible!==null&&n.visible===r||(n.visible=r,n.callback(r,t))},n.intersection),n.observer.observe(e)}function Ot(e){let t=Tt.get(e);t!=null&&t.observer&&(t.observer.disconnect(),t.observer=null)}var kt={mounted(e,t){Dt(e,t)},updated(e,t){t.value!==t.oldValue&&Dt(e,t)},unmounted(e){Ot(e),Tt.delete(e)}},At=d({__name:`ItemView`,props:{view:{},itemTag:{}},setup(e){let t=e;return(e,n)=>(k(),m(A(t.itemTag),{class:`vue-recycle-scroller__item-view`},{default:E(()=>[p(e.$slots,`default`,{item:t.view.item,index:t.view.nr.index,active:t.view.nr.used})]),_:3}))}}),jt=((e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n})(d({__name:`ResizeObserver`,emits:[`notify`],setup(e,{emit:t}){let n=t,r=C(),i=null,o=null;function c(){n(`notify`)}return a(()=>{let e=r.value?.parentElement;if(e){if(typeof ResizeObserver<`u`){i=new ResizeObserver(()=>{c()}),i.observe(e);return}o=()=>c(),window.addEventListener(`resize`,o)}}),s(()=>{i&&=(i.disconnect(),null),o&&=(window.removeEventListener(`resize`,o),null)}),(e,t)=>(k(),N(`div`,{ref_key:`el`,ref:r,class:`vue-recycle-scroller__resize-observer`,"aria-hidden":`true`},null,512))}}),[[`__scopeId`,`data-v-08cc04ab`]]),Mt=d({__name:`RecycleScroller`,props:{items:{},keyField:{default:`id`},direction:{default:`vertical`},listTag:{default:`div`},itemTag:{default:`div`},itemSize:{default:null},gridItems:{default:void 0},itemSecondarySize:{default:void 0},minItemSize:{default:null},sizeField:{default:`size`},typeField:{default:`type`},buffer:{default:200},pageMode:{type:Boolean,default:!1},prerender:{default:0},emitUpdate:{type:Boolean,default:!1},disableTransform:{type:Boolean,default:!1},updateInterval:{default:0},skipHover:{type:Boolean,default:!1},listClass:{default:``},itemClass:{default:``}},emits:[`resize`,`visible`,`hidden`,`update`,`scroll-start`,`scroll-end`],setup(t,{expose:r,emit:a}){let o=t,s=a,l=kt,u=C(),d=C(),f=C(),h=C(null),{pool:g,totalSize:_,ready:v,scrollToItem:b,scrollToPosition:S,getScroll:w,updateVisibleItems:O,handleScroll:M,handleResize:P,handleVisibilityChange:F}=wt(o,u,d,f,{onResize:()=>s(`resize`),onVisible:()=>s(`visible`),onHidden:()=>s(`hidden`),onUpdate:(e,t,n,r)=>s(`update`,e,t,n,r)});return r({el:u,scrollToItem:b,scrollToPosition:S,getScroll:w,updateVisibleItems:O}),(t,r)=>j((k(),N(`div`,{ref_key:`el`,ref:u,class:c([`vue-recycle-scroller`,{ready:i(v),"page-mode":o.pageMode,[`direction-${o.direction}`]:!0}]),onScrollPassive:r[0]||=(...e)=>i(M)&&i(M)(...e)},[t.$slots.before?(k(),N(`div`,{key:0,ref_key:`before`,ref:d,class:`vue-recycle-scroller__slot`},[p(t.$slots,`before`)],512)):n(``,!0),(k(),m(A(o.listTag),{style:y({[o.direction===`vertical`?`minHeight`:`minWidth`]:`${i(_)}px`}),class:c([`vue-recycle-scroller__item-wrapper`,o.listClass])},{default:E(()=>[(k(!0),N(T,null,x(i(g),e=>(k(),m(At,I({key:e.nr.id,view:e,"item-tag":o.itemTag,style:i(v)?[o.disableTransform?{[o.direction===`vertical`?`top`:`left`]:`${e.position}px`,willChange:`unset`}:{transform:`translate${o.direction===`vertical`?`Y`:`X`}(${e.position}px) translate${o.direction===`vertical`?`X`:`Y`}(${e.offset}px)`},{width:o.gridItems?`${o.direction===`vertical`&&o.itemSecondarySize||o.itemSize}px`:void 0,height:o.gridItems?`${o.direction===`horizontal`&&o.itemSecondarySize||o.itemSize}px`:void 0,visibility:e.nr.used?`visible`:`hidden`}]:null,class:[`vue-recycle-scroller__item-view`,[o.itemClass,{hover:!o.skipHover&&h.value===e.nr.key}]]},D(o.skipHover?{}:{mouseenter:()=>{h.value=e.nr.key},mouseleave:()=>{h.value=null}})),{default:E(e=>[p(t.$slots,`default`,I({ref_for:!0},e))]),_:2},1040,[`view`,`item-tag`,`style`,`class`]))),128)),o.items.length===0?p(t.$slots,`empty`,{key:0}):n(``,!0)]),_:3},8,[`style`,`class`])),t.$slots.after?(k(),N(`div`,{key:1,ref_key:`after`,ref:f,class:`vue-recycle-scroller__slot`},[p(t.$slots,`after`)],512)):n(``,!0),e(jt,{onNotify:i(P)},null,8,[`onNotify`])],34)),[[i(l),i(F)]])}}),Nt=d({inheritAttrs:!1,__name:`DynamicScroller`,props:{items:{},keyField:{default:`id`},direction:{default:`vertical`},listTag:{default:`div`},itemTag:{default:`div`},minItemSize:{}},emits:[`resize`,`visible`],setup(e,{expose:t,emit:n}){let a=e,o=n,s=C(),{itemsWithSize:c,forceUpdate:l,scrollToItem:u,getItemSize:d,scrollToBottom:h,onScrollerResize:g,onScrollerVisible:v}=pt(a,s,S(()=>s.value?.el),{onResize:()=>o(`resize`),onVisible:()=>o(`visible`)});function y(e,t,n){let r=e;return{item:r.item,index:t,active:n,itemWithSize:r}}return t({scrollToItem:u,scrollToBottom:h,getItemSize:d,forceUpdate:l}),(e,t)=>(k(),m(Mt,I({ref_key:`scroller`,ref:s,items:i(c),"min-item-size":a.minItemSize,direction:a.direction,"key-field":`id`,"list-tag":a.listTag,"item-tag":a.itemTag},e.$attrs,{onResize:i(g),onVisible:i(v)}),r({default:E(({item:t,index:n,active:r})=>[p(e.$slots,`default`,_(f(y(t,n,r))))]),empty:E(()=>[p(e.$slots,`empty`)]),_:2},[e.$slots.before?{name:`before`,fn:E(()=>[p(e.$slots,`before`)]),key:`0`}:void 0,e.$slots.after?{name:`after`,fn:E(()=>[p(e.$slots,`after`)]),key:`1`}:void 0]),1040,[`items`,`min-item-size`,`direction`,`list-tag`,`item-tag`,`onResize`,`onVisible`]))}});function Pt(e,n,r){let i=u(`vscrollData`),o=u(`vscrollParent`),c=u(`vscrollResizeObserver`),l=null,d=null,f=null,p=!1,m=null,g=S(()=>{let t=h(e);if(i.simpleArray)return t.index;if(i.keyField in t.item)return t.item[i.keyField];throw Error(`keyField '${i.keyField}' not found in your item. You should set a valid keyField prop on your Scroller`)}),_=S(()=>i.sizes[g.value]||0),v=S(()=>h(e).active&&i.active);function y(){v.value?d!==g.value&&(d=g.value,l=null,f=null,w(g.value)):l=g.value}function b(){h(e).watchData&&!c?m=O(()=>h(e).item,()=>{C()},{deep:!0}):m&&=(m(),null)}function x({force:e}){!v.value&&e&&(f=g.value),(l===g.value||e||!_.value)&&y()}function C(){y()}function w(e){t(()=>{if(g.value===e){let e=h(n);if(!e)return;let t=e.offsetWidth,r=e.offsetHeight;T(t,r)}d=null})}function T(e,t){let n=~~((typeof o.direction==`object`?o.direction.value:o.direction)===`vertical`?t:e);n&&_.value!==n&&E(n)}function E(t){var n;o.$_undefinedMap[g.value]&&(o.$_undefinedSizes--,o.$_undefinedMap[g.value]=void 0),i.sizes[g.value]=t,h(e).emitResize&&((n=r?.onResize)==null||n.call(r,g.value))}function D(){if(!c||p)return;let e=h(n);e&&(c.observe(e),e.$_vs_id=g.value,e.$_vs_onResize=A,p=!0)}function k(){if(!c||!p)return;let e=h(n);e&&(c.unobserve(e),e.$_vs_onResize=void 0,p=!1)}function A(e,t,n){g.value===e&&T(t,n)}if(O(()=>h(e).watchData,()=>{b()}),O(g,(e,t)=>{let r=h(n);if(r&&(r.$_vs_id=g.value),_.value||C(),p){let n=i.sizes[t],r=i.sizes[e];r!=null&&r!==n?E(r):n!=null&&n!==r&&E(n)}}),O(v,e=>{_.value||(e?o.$_undefinedMap[g.value]||(o.$_undefinedSizes++,o.$_undefinedMap[g.value]=!0):o.$_undefinedMap[g.value]&&(o.$_undefinedSizes--,o.$_undefinedMap[g.value]=!1)),c?e?D():k():e&&f===g.value&&y()}),b(),!c){let t=h(e);if(t.sizeDependencies)for(let n in t.sizeDependencies)O(()=>h(e).sizeDependencies[n],C);o.$_events.on(`vscroll:update`,x)}return a(()=>{v.value&&(y(),D())}),s(()=>{o.$_events.off(`vscroll:update`,x),k()}),{id:g,size:_,finalActive:v,updateSize:y}}var Ft=d({__name:`DynamicScrollerItem`,props:{item:{},watchData:{type:Boolean,default:!1},active:{type:Boolean},index:{default:void 0},sizeDependencies:{default:null},emitResize:{type:Boolean,default:!1},tag:{default:`div`}},emits:[`resize`],setup(e,{emit:t}){let n=e,r=t,i=C();return Pt(n,i,{onResize:e=>r(`resize`,e)}),(e,t)=>(k(),m(A(n.tag),{ref_key:`el`,ref:i},{default:E(()=>[p(e.$slots,`default`)]),_:3},512))}}),It=d({__name:`DataVirtualList`,props:{items:{},keyProp:{}},setup(t){return(n,r)=>(k(),m(i(Nt),{items:t.items,"min-item-size":30,"key-field":t.keyProp,"page-mode":``},{default:E(({item:r,active:a,index:o})=>[e(i(Ft),{item:r,active:a,"data-index":o},{default:E(()=>[p(n.$slots,`default`,I({key:r[t.keyProp]},{item:r,index:o,active:a}))]),_:2},1032,[`item`,`active`,`data-index`])]),_:3},8,[`items`,`key-field`]))}});export{dt as n,$ as r,It as t};
@@ -1 +1 @@
1
- import{C as e,Gt as t,Ht as n,M as r,Q as i,b as a,k as o,q as s,w as c}from"./CyUS7GqK.js";var l=r({__name:`DisplayNumberBadge`,props:{number:{},color:{default:`badge-color-gray op75`},icon:{},prefix:{},suffix:{},format:{default:`locale`}},setup(r){let l=r,u=a(()=>l.format===`percent`?Number(l.number).toLocaleString(void 0,{style:`percent`,minimumFractionDigits:2,maximumFractionDigits:2}):Number(l.number).toLocaleString());return(a,l)=>(s(),c(`div`,{class:n([r.color,`px-0.4em py-0.2em font-mono line-height-none flex items-center`])},[r.icon?(s(),c(`div`,{key:0,class:n([r.icon,`mr-1`])},null,2)):e(``,!0),o(` `+t(r.prefix||``)+t(u.value)+t(r.suffix||``)+` `,1),i(a.$slots,`after`)],2))}});export{l as t};
1
+ import{C as e,Gt as t,Ht as n,M as r,Q as i,b as a,k as o,q as s,w as c}from"./CEtF9LWU.js";var l=r({__name:`DisplayNumberBadge`,props:{number:{},color:{default:`badge-color-gray op75`},icon:{},prefix:{},suffix:{},format:{default:`locale`}},setup(r){let l=r,u=a(()=>l.format===`percent`?Number(l.number).toLocaleString(void 0,{style:`percent`,minimumFractionDigits:2,maximumFractionDigits:2}):Number(l.number).toLocaleString());return(a,l)=>(s(),c(`div`,{class:n([r.color,`px-0.4em py-0.2em font-mono line-height-none flex items-center`])},[r.icon?(s(),c(`div`,{key:0,class:n([r.icon,`mr-1`])},null,2)):e(``,!0),o(` `+t(r.prefix||``)+t(u.value)+t(r.suffix||``)+` `,1),i(a.$slots,`after`)],2))}});export{l as t};
@@ -1 +1 @@
1
- import{F as e,M as t}from"./CyUS7GqK.js";import{t as n}from"./GNBXjCbD.js";import{n as r}from"./DoJ6DaKu.js";var i=t({name:`HighlightedPackageName`,props:{name:{type:String,required:!0}},setup(t){return()=>{let i=t.name;if(!r(i))return e(`span`,{class:`text-gray-500`},i);let a=n(i);if(i.startsWith(`@`)){let[t,n]=i.split(`/`);return[e(`span`,{style:`color: ${a}`},t),e(`span`,{style:`color: ${a}`,class:`op50`},`/`),e(`span`,{style:`color: ${a}`},n)]}return e(`span`,{style:`color: ${a}`},i)}}});export{i as t};
1
+ import{F as e,M as t}from"./CEtF9LWU.js";import{t as n}from"./kJJURm8F.js";import{n as r}from"./DoJ6DaKu.js";var i=t({name:`HighlightedPackageName`,props:{name:{type:String,required:!0}},setup(t){return()=>{let i=t.name;if(!r(i))return e(`span`,{class:`text-gray-500`},i);let a=n(i);if(i.startsWith(`@`)){let[t,n]=i.split(`/`);return[e(`span`,{style:`color: ${a}`},t),e(`span`,{style:`color: ${a}`,class:`op50`},`/`),e(`span`,{style:`color: ${a}`},n)]}return e(`span`,{style:`color: ${a}`},i)}}});export{i as t};
@@ -0,0 +1 @@
1
+ import{F as e,Ht as t,M as n,b as r,q as i,w as a}from"./CEtF9LWU.js";import{s as o,t as s}from"./kJJURm8F.js";var c=[`title`],l=Object.assign(n({__name:`FileIcon`,props:{filename:{}},setup(e){let n=e,s=r(()=>o(n.filename));return(e,n)=>(i(),a(`div`,{"flex-none":``,"icon-catppuccin":``,title:s.value.description||s.value.name,class:t([s.value.icon])},null,10,c))}}),{__name:`DisplayFileIcon`}),u=n({name:`HighlightedPath`,props:{path:{type:String,required:!0},minimal:{type:Boolean,default:!1}},setup(t){return()=>{let n=t.path.split(/([?/&:=])/g),r=`path`,i=n.map(()=>[]),a=n.map(()=>[]),o=n.map(t=>e(`span`,{class:``},t)),c=new Set;return n.forEach((e,l)=>{if(e===`?`&&(r=`query`),r===`path`){if(/^\.+$/.test(e)||e===`/`?i[l]?.push(`op50`):(e===`node_modules`||e===`dist`||e===`lib`||/^\.\w/.test(e))&&i[l]?.push(`op60`),e===`node_modules`&&t.minimal)for(let e=0;e<l+2;e++)c.add(e);if(e===`.pnpm`&&(o[l]&&(o[l].children=`~`,i[l]?.push(`op25!`),i[l-1]?.push(`op25!`)),c.add(l+1),c.add(l+2),i[l+3]?.push(`op25!`),o[l+4]?.children===`node_modules`&&(c.add(l+3),c.add(l+4),i[l+5]?.push(`op25!`))),e===`:`&&(o[l-1]&&a[l-1]?.push(`color: ${s(n[l-1])}`),i[l]?.push(`op50`)),n[l-2]===`node_modules`&&!e.startsWith(`.`)){let t=`color: ${s(n[l])}`;a[l]?.push(t),e.startsWith(`@`)&&(a[l+1]?.push(t),a[l+2]?.push(t))}}r===`query`&&(e===`?`?i[l]?.push(`text-red-500 dark:text-red-400`):e===`&`&&i[l]?.push(`text-orange-500 dark:text-orange-400`),e===`=`?i[l]?.push(`text-orange-900 dark:text-orange-200 op50`):n[l+1]===`=`?i[l]?.push(`text-amber-900 dark:text-amber-200`):i[l]?.push(`text-orange-900 dark:text-orange-200`))}),o.forEach((e,t)=>{e.props&&(e.props.class=i[t]?.join(` `)??``,e.props.style=a[t]?.join(`;`)??``)}),Array.from(c).sort((e,t)=>t-e).forEach(e=>{o.splice(e,1)}),o}}});export{l as n,u as t};
@@ -0,0 +1 @@
1
+ import{r as e}from"./MEWAmt9s.js";import{A as t,C as n,Et as r,Gt as i,M as a,S as o,Z as s,h as c,lt as l,q as u,w as d,x as f}from"./CEtF9LWU.js";import{C as p}from"./Cb77vzCb.js";import{c as m}from"./DJTkDKGN.js";import{n as h,o as g}from"#entry";import"./BdJ_JF0w.js";import{r as _,t as v}from"./CfGVkjRe.js";import{t as y}from"./XDMGgUv8.js";import{t as b}from"./OKWcjHDe.js";var x={key:0},S={key:2},C={op50:``},w={key:3},T=[`textContent`],E=[`textContent`],D=Object.assign(a({__name:`RawEventsTable`,props:{events:{},fields:{default:()=>[`event_id`,`action`,`module_id`,`plugin_name`,`timestamp`,`content`,`*`]},session:{}},setup(e){let a=e;function p(e,t){let n=new Set(t);return n.has(`content`)&&n.add(`content`),n.has(`plugin_name`)&&n.add(`plugin_index`),Object.fromEntries(Object.entries(e).filter(([e])=>!n.has(e)))}function m(e){return e.action===`HookLoadCallEnd`||e.action===`HookTransformCallStart`||e.action===`HookTransformCallEnd`?e.content:null}return(h,D)=>{let O=v,k=b;return u(),d(c,null,[e.events.length?n(``,!0):(u(),d(`div`,x,[...D[0]||=[f(`div`,{p5:``,italic:``},` No events found `,-1)]])),f(`table`,null,[f(`tbody`,null,[(u(!0),d(c,null,s(a.events,h=>(u(),d(`tr`,{key:h.event_id},[(u(!0),d(c,null,s(a.fields,a=>(u(),d(`td`,{key:a,px2:``},[a===`module_id`?(u(),o(O,{key:0,id:`module_id`in h?h.module_id:``,session:e.session},null,8,[`id`,`session`])):a===`action`?(u(),o(_,{key:1,text:h.action},null,8,[`text`])):a===`plugin_name`&&`plugin_name`in h?(u(),d(`div`,S,[t(k,{"font-mono":``,name:h.plugin_name},null,8,[`name`]),f(`code`,C,`#`+i(h.plugin_id),1)])):a===`event_id`?(u(),d(`div`,w,i(h.event_id),1)):a===`content`&&m(h)?(u(),o(r(g),{key:4},{popper:l(()=>[f(`pre`,{p1:``,"text-sm":``,textContent:i(m(h))},null,8,T)]),default:l(()=>[D[1]||=f(`div`,{"i-ph-code":``},null,-1)]),_:2},1024)):a===`timestamp`&&`timestamp`in h?(u(),o(y,{key:5,"text-sm":``,timestamp:h.timestamp},null,8,[`timestamp`])):a===`*`?(u(),d(`pre`,{key:6,"text-sm":``,textContent:i(p(h,e.fields))},null,8,E)):n(``,!0)]))),128))]))),128))])])],64)}}}),{__name:`DataRawEventsTable`}),O={key:1},k=a({__name:`raw`,props:{session:{}},setup(i){let a=i,s=e(),l=p().query,g=m(async()=>await s.value.call(`vite:rolldown:get-module-raw-events`,{session:a.session.id,module:l.module}),{events:[]});return(e,a)=>{let s=h,l=D;return u(),d(c,null,[r(g).isLoading?(u(),o(s,{key:0})):n(``,!0),f(`div`,null,[r(g).isReady?(u(),o(l,{key:0,events:r(g).state.value.events,session:i.session},null,8,[`events`,`session`])):(u(),d(`div`,O,[t(s)]))])],64)}}});export{k as default};
@@ -1 +1 @@
1
- import{Gt as e,q as t,w as n,x as r}from"./CyUS7GqK.js";import{c as i}from"#entry";import{t as a}from"./BUwCbG2W.js";var o={class:`antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide`},s={class:`max-w-520px text-center`},c=[`textContent`],l=[`textContent`],u=[`textContent`],d=a({__name:`error-500`,props:{appName:{type:String,default:`Nuxt`},status:{type:Number,default:500},statusText:{type:String,default:`Internal server error`},description:{type:String,default:`This page is temporarily unavailable.`},refresh:{type:String,default:`Refresh this page`}},setup(a){let d=a;return i({title:`${d.status} - ${d.statusText} | ${d.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:`*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}h1,h2,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }`}]}),(i,d)=>(t(),n(`div`,o,[r(`div`,s,[r(`h1`,{class:`font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]`,textContent:e(a.status)},null,8,c),r(`h2`,{class:`font-semibold mb-2 sm:text-3xl text-2xl`,textContent:e(a.statusText)},null,8,l),r(`p`,{class:`mb-4 px-2 text-[#64748B] text-md`,textContent:e(a.description)},null,8,u)])]))}},[[`__scopeId`,`data-v-088cd30e`]]);export{d as default};
1
+ import{Gt as e,q as t,w as n,x as r}from"./CEtF9LWU.js";import{c as i}from"#entry";import{t as a}from"./BUwCbG2W.js";var o={class:`antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide`},s={class:`max-w-520px text-center`},c=[`textContent`],l=[`textContent`],u=[`textContent`],d=a({__name:`error-500`,props:{appName:{type:String,default:`Nuxt`},status:{type:Number,default:500},statusText:{type:String,default:`Internal server error`},description:{type:String,default:`This page is temporarily unavailable.`},refresh:{type:String,default:`Refresh this page`}},setup(a){let d=a;return i({title:`${d.status} - ${d.statusText} | ${d.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:`*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}h1,h2,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }`}]}),(i,d)=>(t(),n(`div`,o,[r(`div`,s,[r(`h1`,{class:`font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]`,textContent:e(a.status)},null,8,c),r(`h2`,{class:`font-semibold mb-2 sm:text-3xl text-2xl`,textContent:e(a.statusText)},null,8,l),r(`p`,{class:`mb-4 px-2 text-[#64748B] text-md`,textContent:e(a.description)},null,8,u)])]))}},[[`__scopeId`,`data-v-283b1c88`]]);export{d as default};