@nuxt/devtools 3.2.1 → 3.2.2

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 (170) hide show
  1. package/dist/chunks/module-main.mjs +130 -57
  2. package/dist/chunks/vscode.mjs +1 -0
  3. package/dist/client/200.html +1 -1
  4. package/dist/client/404.html +1 -1
  5. package/dist/client/_nuxt/__blank-jnbqrgps.js +1 -0
  6. package/dist/client/_nuxt/_plugin-vue_export-helper-myijwyyb.js +1 -0
  7. package/dist/client/_nuxt/analyze-build-c3vdx12p.js +1 -0
  8. package/dist/client/_nuxt/assets-myudvi12.js +6 -0
  9. package/dist/client/_nuxt/builds/latest.json +1 -1
  10. package/dist/client/_nuxt/builds/meta/e62b39f7-ec98-459c-8392-819e51e75af5.json +1 -0
  11. package/dist/client/_nuxt/client-ea5fdhj9.js +2 -0
  12. package/dist/client/_nuxt/{client-cbmkjf3j.js → client-lfu9nb62.js} +1 -1
  13. package/dist/client/_nuxt/code-diff-otsxuk81.js +8 -0
  14. package/dist/client/_nuxt/code-snippets-c0ulfayj.js +1 -0
  15. package/dist/client/_nuxt/components-dwnwjv62.js +1 -0
  16. package/dist/client/_nuxt/composable-item-jjp1tvft.js +1 -0
  17. package/dist/client/_nuxt/custom-_name_-k9wxhx5t.js +1 -0
  18. package/dist/client/_nuxt/data-schema-button-fk6ozqve.js +1 -0
  19. package/dist/client/_nuxt/data-schema-drawer-mi3x7oeb.js +2 -0
  20. package/dist/client/_nuxt/debug-jzrj2rrq.js +1 -0
  21. package/dist/client/_nuxt/default-n9xykcpp.js +1 -0
  22. package/dist/client/_nuxt/dev-auth-jrf61eu0.js +1 -0
  23. package/dist/client/_nuxt/dist-h291wass.js +1 -0
  24. package/dist/client/_nuxt/dist-jq34z2yz.js +1 -0
  25. package/dist/client/_nuxt/drhywpwy.js +4 -0
  26. package/dist/client/_nuxt/{duration-display-dhj2ifr1.js → duration-display-k6iuyk4f.js} +1 -1
  27. package/dist/client/_nuxt/error-404-b375yxaj.js +1 -0
  28. package/dist/client/_nuxt/error-404.css-k620a6z0.css +1 -0
  29. package/dist/client/_nuxt/error-500-marpmos8.js +1 -0
  30. package/dist/client/_nuxt/error-500.css-j1xt9kl6.css +1 -0
  31. package/dist/client/_nuxt/error-f0x29wdg.js +9 -0
  32. package/dist/client/_nuxt/filepath-item-e4nchqwg.js +1 -0
  33. package/dist/client/_nuxt/full-ix5b85yu.js +1 -0
  34. package/dist/client/_nuxt/head-k6pu038r.js +1 -0
  35. package/dist/client/_nuxt/help-fab-hk76lwiw.js +1 -0
  36. package/dist/client/_nuxt/hooks-oamlzps1.js +1 -0
  37. package/dist/client/_nuxt/imports-rq4f924m.js +1 -0
  38. package/dist/client/_nuxt/launch-page-k1lwfnm2.js +1 -0
  39. package/dist/client/_nuxt/modules-fev9bjof.js +1 -0
  40. package/dist/client/_nuxt/nbadge-h59v1exj.js +1 -0
  41. package/dist/client/_nuxt/nbutton-m0kqfedx.js +1 -0
  42. package/dist/client/_nuxt/ncard-qqqgbjy9.js +1 -0
  43. package/dist/client/_nuxt/ncheckbox-knbe2cxv.js +1 -0
  44. package/dist/client/_nuxt/{ncode-block-j2hcqwrp.js → ncode-block-o9sq6td7.js} +1 -1
  45. package/dist/client/_nuxt/ndrawer-ufyhcx08.js +1 -0
  46. package/dist/client/_nuxt/ndropdown-lkmzobqs.js +1 -0
  47. package/dist/client/_nuxt/nicon-j0r9gdjm.js +1 -0
  48. package/dist/client/_nuxt/{nicon-title-hrj2h1mn.js → nicon-title-ggx25xp9.js} +1 -1
  49. package/dist/client/_nuxt/nlink-hz4zwb3c.js +1 -0
  50. package/dist/client/_nuxt/{nmarkdown-ftmgc061.js → nmarkdown-nsbirjtv.js} +1 -1
  51. package/dist/client/_nuxt/nnavbar-b0i34u17.js +1 -0
  52. package/dist/client/_nuxt/none-bfunqbwh.js +1 -0
  53. package/dist/client/_nuxt/npanel-grids-m4ogaoh1.js +1 -0
  54. package/dist/client/_nuxt/nsection-block-dzbgwc4z.js +1 -0
  55. package/dist/client/_nuxt/nselect-ne66fzrs.js +1 -0
  56. package/dist/client/_nuxt/nselect-tabs-jgvac6a8.js +1 -0
  57. package/dist/client/_nuxt/nswitch-abl34kow.js +1 -0
  58. package/dist/client/_nuxt/ntext-input-ozkk5xro.js +1 -0
  59. package/dist/client/_nuxt/nuxt-h34yfo3l.js +1 -0
  60. package/dist/client/_nuxt/nuxt-link-lrojf3ui.js +1 -0
  61. package/dist/client/_nuxt/open-graph-jokpmi3z.js +3 -0
  62. package/dist/client/_nuxt/overview-gfox82io.js +1 -0
  63. package/dist/client/_nuxt/pages-heq5sr3n.js +1 -0
  64. package/dist/client/_nuxt/pages-nev63916.js +1 -0
  65. package/dist/client/_nuxt/payload-cwkdgfbg.js +1 -0
  66. package/dist/client/_nuxt/pinia-cmp1aao2.js +1 -0
  67. package/dist/client/_nuxt/plugins-h6nd4bpq.js +1 -0
  68. package/dist/client/_nuxt/ready-mmkdpbhg.js +1 -0
  69. package/dist/client/_nuxt/render-tree-c25vnw9j.js +1 -0
  70. package/dist/client/_nuxt/runtime-configs-oyvmfkja.js +1 -0
  71. package/dist/client/_nuxt/server-discovery-k4kknv5h.js +1 -0
  72. package/dist/client/_nuxt/server-route-inputs-heqgxrjl.js +1 -0
  73. package/dist/client/_nuxt/server-routes-bgud29n1.js +7 -0
  74. package/dist/client/_nuxt/server-tasks-kx1cj481.js +1 -0
  75. package/dist/client/_nuxt/settings-iudhxqb4.js +1 -0
  76. package/dist/client/_nuxt/splitpanes.es-gcrxxdgy.js +1 -0
  77. package/dist/client/_nuxt/stacktrace-list-ivp3f076.js +1 -0
  78. package/dist/client/_nuxt/state-b65zn1p8.js +1 -0
  79. package/dist/client/_nuxt/state-components-gdb1hu1j.js +1 -0
  80. package/dist/client/_nuxt/state-editor-egz1k0a8.js +1 -0
  81. package/dist/client/_nuxt/state-modules-dyb3mv6i.js +1 -0
  82. package/dist/client/_nuxt/state-routes-ovtjymzc.js +1 -0
  83. package/dist/client/_nuxt/state-tabs-jkd7jbwg.js +1 -0
  84. package/dist/client/_nuxt/storage-noqjkcnn.js +1 -0
  85. package/dist/client/_nuxt/storage-options-os0x8zby.js +1 -0
  86. package/dist/client/_nuxt/telemetry-pccqt90w.js +1 -0
  87. package/dist/client/_nuxt/terminals-jwh8xdao.js +1 -0
  88. package/dist/client/_nuxt/timeline-nj0c9ow3.js +31 -0
  89. package/dist/client/_nuxt/unocss-runtime-mfhoy4ux.js +1 -0
  90. package/dist/client/_nuxt/vendor/{json-editor-vue-ddj4xtqm.js → json-editor-vue-jlmu1vk1.js} +2 -2
  91. package/dist/client/_nuxt/vendor/{markdown-it-ew3lvn5m.js → markdown-it-ocmvh7ju.js} +1 -1
  92. package/dist/client/_nuxt/vendor/{unocss-f9yt86gg.js → unocss-o75ihzkt.js} +3 -3
  93. package/dist/client/_nuxt/virtual-files-nyi1q55e.js +1 -0
  94. package/dist/client/_nuxt/vue-devtools-b8p76ncm.js +3 -0
  95. package/dist/client/_nuxt/vue-router-fwt4i0j8.js +1 -0
  96. package/dist/client/_nuxt/{vue-virtual-scroller.esm-il5noocm.js → vue-virtual-scroller.esm-hq850jog.js} +1 -1
  97. package/dist/client/index.html +1 -1
  98. package/dist/module.json +1 -1
  99. package/dist/webcomponents/index.mjs +10 -7
  100. package/package.json +10 -10
  101. package/dist/client/_nuxt/__blank-may67yna.js +0 -1
  102. package/dist/client/_nuxt/analyze-build-ezjae6pi.js +0 -1
  103. package/dist/client/_nuxt/assets-cctzmb3x.js +0 -6
  104. package/dist/client/_nuxt/builds/meta/aeb4c219-e4e8-40ef-9d2c-5e42c7648ec5.json +0 -1
  105. package/dist/client/_nuxt/code-diff-dj5abiya.js +0 -8
  106. package/dist/client/_nuxt/code-snippets-cgl6wpax.js +0 -1
  107. package/dist/client/_nuxt/components-gbus3qqv.js +0 -1
  108. package/dist/client/_nuxt/composable-item-gs2iudn4.js +0 -1
  109. package/dist/client/_nuxt/custom-_name_-m936a9yu.js +0 -1
  110. package/dist/client/_nuxt/data-schema-button-j6fxaw99.js +0 -1
  111. package/dist/client/_nuxt/data-schema-drawer-it2972mk.js +0 -2
  112. package/dist/client/_nuxt/debug-i1rscwhu.js +0 -1
  113. package/dist/client/_nuxt/default-fb125qds.js +0 -1
  114. package/dist/client/_nuxt/dist-joij2tdx.js +0 -1
  115. package/dist/client/_nuxt/error-404-m8kh5nuw.js +0 -1
  116. package/dist/client/_nuxt/error-404.css-hvuilq4i.css +0 -1
  117. package/dist/client/_nuxt/error-500-h85n6r14.js +0 -1
  118. package/dist/client/_nuxt/error-500.css-jc8udnlk.css +0 -1
  119. package/dist/client/_nuxt/error-l968gtru.js +0 -9
  120. package/dist/client/_nuxt/filepath-item-osqp88cx.js +0 -1
  121. package/dist/client/_nuxt/full-odhn7e61.js +0 -1
  122. package/dist/client/_nuxt/help-fab-bhtk9hzf.js +0 -1
  123. package/dist/client/_nuxt/hooks-hkx6shiy.js +0 -1
  124. package/dist/client/_nuxt/imports-nbrcx3j5.js +0 -1
  125. package/dist/client/_nuxt/launch-page-fyevedb0.js +0 -1
  126. package/dist/client/_nuxt/modules-kh9xciqf.js +0 -1
  127. package/dist/client/_nuxt/nbadge-ijsj8fjy.js +0 -1
  128. package/dist/client/_nuxt/ncheckbox-f4a8016e.js +0 -1
  129. package/dist/client/_nuxt/ndrawer-lh0r2gbb.js +0 -1
  130. package/dist/client/_nuxt/ndropdown-ef0253xr.js +0 -1
  131. package/dist/client/_nuxt/nlink-bsck6xne.js +0 -1
  132. package/dist/client/_nuxt/nnavbar-fdsyxwr6.js +0 -1
  133. package/dist/client/_nuxt/none-kpcjhluv.js +0 -1
  134. package/dist/client/_nuxt/nsection-block-kp1wt3o4.js +0 -1
  135. package/dist/client/_nuxt/nselect-cmll6q59.js +0 -1
  136. package/dist/client/_nuxt/nselect-tabs-dueuo8rw.js +0 -1
  137. package/dist/client/_nuxt/nswitch-gqy4bgn3.js +0 -1
  138. package/dist/client/_nuxt/open-graph-ol89f0bf.js +0 -3
  139. package/dist/client/_nuxt/overview-cd40uq12.js +0 -1
  140. package/dist/client/_nuxt/owfrwikl.js +0 -4
  141. package/dist/client/_nuxt/pages-bbrpp8du.js +0 -1
  142. package/dist/client/_nuxt/pages-cry23sym.js +0 -1
  143. package/dist/client/_nuxt/payload-bhrm3gbm.js +0 -1
  144. package/dist/client/_nuxt/pinia-bcnuwvzr.js +0 -1
  145. package/dist/client/_nuxt/plugins-k9rqnu6h.js +0 -1
  146. package/dist/client/_nuxt/render-tree-fd08tpf3.js +0 -1
  147. package/dist/client/_nuxt/runtime-configs-kagn8z75.js +0 -1
  148. package/dist/client/_nuxt/server-discovery-ja6p66g6.js +0 -1
  149. package/dist/client/_nuxt/server-route-inputs-b6nweyxn.js +0 -1
  150. package/dist/client/_nuxt/server-routes-dtwlhsgf.js +0 -7
  151. package/dist/client/_nuxt/server-tasks-lboebplp.js +0 -1
  152. package/dist/client/_nuxt/settings-joqzffm3.js +0 -1
  153. package/dist/client/_nuxt/stacktrace-list-mphoqupg.js +0 -1
  154. package/dist/client/_nuxt/state-components-b5shg9ni.js +0 -1
  155. package/dist/client/_nuxt/state-editor-gc0bkewv.js +0 -1
  156. package/dist/client/_nuxt/state-modules-e2s3wq2g.js +0 -1
  157. package/dist/client/_nuxt/storage-m3jg7c3a.js +0 -1
  158. package/dist/client/_nuxt/terminals-hsjdjxac.js +0 -1
  159. package/dist/client/_nuxt/timeline-nn4tvvo6.js +0 -31
  160. package/dist/client/_nuxt/unocss-runtime-cyizum7d.js +0 -1
  161. package/dist/client/_nuxt/virtual-files-ds4udxjo.js +0 -1
  162. package/dist/client/_nuxt/vue-devtools-hovopvyk.js +0 -3
  163. /package/dist/client/_nuxt/{color-k274hmrf.js → color-m9fh6h3t.js} +0 -0
  164. /package/dist/client/_nuxt/{composables-g8w9dpc0.js → composables-k2ak4j8d.js} +0 -0
  165. /package/dist/client/_nuxt/{constants-i6giw94a.js → constants-ihoovckn.js} +0 -0
  166. /package/dist/client/_nuxt/{dist-k9rc0n5t.js → dist-9xqq72tk.js} +0 -0
  167. /package/dist/client/_nuxt/vendor/{quicktype-core-f78dz8oi.js → quicktype-core-jebn1o7i.js} +0 -0
  168. /package/dist/client/_nuxt/vendor/{shiki-kunkft64.js → shiki-jnavg768.js} +0 -0
  169. /package/dist/client/_nuxt/vendor/{vis-ccj7spt3.js → vis-p9fufs7k.js} +0 -0
  170. /package/dist/client/_nuxt/vendor/{xterm-b39oya8c.js → xterm-du7kv949.js} +0 -0
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vendor/markdown-it-ocmvh7ju.js","./rolldown-runtime-oipoa1or.js","./vendor/shiki-jnavg768.js"])))=>i.map(i=>d[i]);
2
+ import{A as e,At as t,Ct as n,D as r,Dt as i,E as a,Et as o,F as s,M as c,Mt as l,Ot as u,St as d,Tt as f,V as p,a as m,bt as h,c as g,ct as _,gt as v,j as y,lt as b,m as x,mt as S,vt as C,wt as w,xt as T}from"./vendor/json-editor-vue-jlmu1vk1.js";import{x as E}from"./ready-mmkdpbhg.js";import{i as D}from"./nuxt-h34yfo3l.js";import{E as O,O as ee,T as te}from"./vendor/shiki-jnavg768.js";function k(e,t){return v()?(h(e,t),!0):!1}var A=new WeakMap,ne=(...e)=>{let t=e[0],n=r()?.proxy??v();if(n==null&&!y())throw Error(`injectLocal must be called in setup`);return n&&A.has(n)&&t in A.get(n)?A.get(n)[t]:c(...e)},j=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var re=e=>e!==void 0,ie=e=>e!=null,ae=Object.prototype.toString,oe=e=>ae.call(e)===`[object Object]`,M=()=>{},se=ce();function ce(){var e,t;return j&&!!(!((e=window)==null||(e=e.navigator)==null)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)==null||(t=t.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function le(...e){if(e.length!==1)return u(...e);let t=e[0];return typeof t==`function`?d(S(()=>({get:t,set:M}))):n(t)}function ue(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}var de=e=>e();function fe(e,n={}){let r,i,a=M,o=e=>{clearTimeout(e),a(),a=M},s;return c=>{let l=t(e),u=t(n.maxWait);return r&&o(r),l<=0||u!==void 0&&u<=0?(i&&=(o(i),void 0),Promise.resolve(c())):new Promise((e,t)=>{a=n.rejectOnCancel?t:e,s=c,u&&!i&&(i=setTimeout(()=>{r&&o(r),i=void 0,e(s())},u)),r=setTimeout(()=>{i&&o(i),i=void 0,e(c())},l)})}}function pe(e=de,t={}){let{initialState:n=`active`}=t,r=le(n===`active`);function i(){r.value=!1}function a(){r.value=!0}return{isActive:d(r),pause:i,resume:a,eventFilter:(...t)=>{r.value&&e(...t)}}}function me(e,t=!1,n=`Timeout`){return new Promise((r,i)=>{t?setTimeout(()=>i(n),e):setTimeout(r,e)})}function he(e){let t;function n(){return t||=e(),t}return n.reset=async()=>{let e=t;t=void 0,e&&await e},n}function ge(e){return e.endsWith(`rem`)?Number.parseFloat(e)*16:Number.parseFloat(e)}function _e(e){return Object.entries(e)}function N(e){return Array.isArray(e)?e:[e]}function ve(e){let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))}var ye=/-(\w)/g,be=ve(e=>e.replace(ye,(e,t)=>t?t.toUpperCase():``));function xe(e){return e||r()}function Se(e,t){if(typeof Symbol<`u`){let n={...e};return Object.defineProperty(n,Symbol.iterator,{enumerable:!1,value(){let e=0;return{next:()=>({value:t[e++],done:e>t.length})}}}),n}else return Object.assign([...t],e)}function Ce(e){return C(e)?T(new Proxy({},{get(t,n,r){return l(Reflect.get(e.value,n,r))},set(t,n,r){return C(e.value[n])&&!C(r)?e.value[n].value=r:e.value[n]=r,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}})):T(e)}function we(e){return Ce(x(e))}function Te(e,t=200,n={}){return ue(fe(t,n),e)}function Ee(e,r=200,i={}){let a=n(t(e)),o=Te(()=>{a.value=e.value},r,i);return _(e,()=>o()),f(a)}var De=Ee;function Oe(e,t,n={}){let{eventFilter:r=de,...i}=n;return _(e,ue(r,t),i)}function ke(e,t,n={}){let{eventFilter:r,initialState:i=`active`,...a}=n,{eventFilter:o,pause:s,resume:c,isActive:l}=pe(r,{initialState:i});return{stop:Oe(e,t,{...a,eventFilter:o}),pause:s,resume:c,isActive:l}}function P(e,t=!0,n){xe(n)?p(e,n):t?e():s(e)}function Ae(e,n=!1){function r(r,{flush:i=`sync`,deep:a=!1,timeout:o,throwOnTimeout:c}={}){let l=null,u=[new Promise(t=>{l=_(e,e=>{r(e)!==n&&(l?l():s(()=>l?.()),t(e))},{flush:i,deep:a,immediate:!0})})];return o!=null&&u.push(me(o,c).then(()=>t(e)).finally(()=>l?.())),Promise.race(u)}function i(i,a){if(!C(i))return r(e=>e===i,a);let{flush:o=`sync`,deep:c=!1,timeout:l,throwOnTimeout:u}=a??{},d=null,f=[new Promise(t=>{d=_([e,i],([e,r])=>{n!==(e===r)&&(d?d():s(()=>d?.()),t(e))},{flush:o,deep:c,immediate:!0})})];return l!=null&&f.push(me(l,u).then(()=>t(e)).finally(()=>(d?.(),t(e)))),Promise.race(f)}function a(e){return r(e=>!!e,e)}function o(e){return i(null,e)}function c(e){return i(void 0,e)}function l(e){return r(Number.isNaN,e)}function u(e,n){return r(n=>{let r=Array.from(n);return r.includes(e)||r.includes(t(e))},n)}function d(e){return f(1,e)}function f(e=1,t){let n=-1;return r(()=>(n+=1,n>=e),t)}return Array.isArray(t(e))?{toMatch:r,toContains:u,changed:d,changedTimes:f,get not(){return Ae(e,!n)}}:{toMatch:r,toBe:i,toBeTruthy:a,toBeNull:o,toBeNaN:l,toBeUndefined:c,changed:d,changedTimes:f,get not(){return Ae(e,!n)}}}function je(e){return Ae(e)}var Me=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,Ne=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|z{1,4}|SSS/g;function Pe(e,t,n,r){let i=e<12?`AM`:`PM`;return r&&(i=i.split(``).reduce((e,t)=>e+=`${t}.`,``)),n?i.toLowerCase():i}function F(e){let t=[`th`,`st`,`nd`,`rd`],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])}function Fe(e,n,r={}){let i=e.getFullYear(),a=e.getMonth(),o=e.getDate(),s=e.getHours(),c=e.getMinutes(),l=e.getSeconds(),u=e.getMilliseconds(),d=e.getDay(),f=r.customMeridiem??Pe,p=e=>e.split(` `)[1]??``,m={Yo:()=>F(i),YY:()=>String(i).slice(-2),YYYY:()=>i,M:()=>a+1,Mo:()=>F(a+1),MM:()=>`${a+1}`.padStart(2,`0`),MMM:()=>e.toLocaleDateString(t(r.locales),{month:`short`}),MMMM:()=>e.toLocaleDateString(t(r.locales),{month:`long`}),D:()=>String(o),Do:()=>F(o),DD:()=>`${o}`.padStart(2,`0`),H:()=>String(s),Ho:()=>F(s),HH:()=>`${s}`.padStart(2,`0`),h:()=>`${s%12||12}`.padStart(1,`0`),ho:()=>F(s%12||12),hh:()=>`${s%12||12}`.padStart(2,`0`),m:()=>String(c),mo:()=>F(c),mm:()=>`${c}`.padStart(2,`0`),s:()=>String(l),so:()=>F(l),ss:()=>`${l}`.padStart(2,`0`),SSS:()=>`${u}`.padStart(3,`0`),d:()=>d,dd:()=>e.toLocaleDateString(t(r.locales),{weekday:`narrow`}),ddd:()=>e.toLocaleDateString(t(r.locales),{weekday:`short`}),dddd:()=>e.toLocaleDateString(t(r.locales),{weekday:`long`}),A:()=>f(s,c),AA:()=>f(s,c,!1,!0),a:()=>f(s,c,!0),aa:()=>f(s,c,!0,!0),z:()=>p(e.toLocaleDateString(t(r.locales),{timeZoneName:`shortOffset`})),zz:()=>p(e.toLocaleDateString(t(r.locales),{timeZoneName:`shortOffset`})),zzz:()=>p(e.toLocaleDateString(t(r.locales),{timeZoneName:`shortOffset`})),zzzz:()=>p(e.toLocaleDateString(t(r.locales),{timeZoneName:`longOffset`}))};return n.replace(Ne,(e,t)=>t??m[e]?.call(m)??e)}function Ie(e){if(e===null)return new Date(NaN);if(e===void 0)return new Date;if(e instanceof Date)return new Date(e);if(typeof e==`string`&&!/Z$/i.test(e)){let t=e.match(Me);if(t){let e=t[2]-1||0,n=(t[7]||`0`).substring(0,3);return new Date(t[1],e,t[3]||1,t[4]||0,t[5]||0,t[6]||0,n)}}return new Date(e)}function Le(e,n=`HH:mm:ss`,r={}){return x(()=>Fe(Ie(t(e)),t(n),r))}function Re(e,n=1e3,r={}){let{immediate:i=!0,immediateCallback:a=!1}=r,s=null,c=o(!1);function l(){s&&=(clearInterval(s),null)}function u(){c.value=!1,l()}function d(){let r=t(n);r<=0||(c.value=!0,a&&e(),l(),c.value&&(s=setInterval(e,r)))}return i&&j&&d(),(C(n)||typeof n==`function`)&&k(_(n,()=>{c.value&&j&&d()})),k(u),{isActive:f(c),pause:u,resume:d}}function ze(e,n,r={}){let{immediate:i=!0,immediateCallback:a=!1}=r,s=o(!1),c;function l(){c&&=(clearTimeout(c),void 0)}function u(){s.value=!1,l()}function d(...r){a&&e(),l(),s.value=!0,c=setTimeout(()=>{s.value=!1,c=void 0,e(...r)},t(n))}return i&&(s.value=!0,j&&d()),k(u),{isPending:f(s),start:d,stop:u}}function Be(e,t,n={}){let{debounce:r=0,maxWait:i=void 0,...a}=n;return Oe(e,t,{...a,eventFilter:fe(r,{maxWait:i})})}function Ve(e,t,n){return _(e,t,{...n,immediate:!0})}function He(e,t,r){let i;i=C(r)?{evaluating:r}:r||{};let{lazy:a=!1,flush:s=`sync`,evaluating:c=void 0,shallow:l=!0,onError:u=globalThis.reportError??M}=i,d=o(!a),f=l?o(t):n(t),p=0;return b(async t=>{if(!d.value)return;p++;let n=p,r=!1;c&&Promise.resolve().then(()=>{c.value=!0});try{let i=await e(e=>{t(()=>{c&&(c.value=!1),r||e()})});n===p&&(f.value=i)}catch(e){u(e)}finally{c&&n===p&&(c.value=!1),r=!0}},{flush:s}),a?x(()=>(d.value=!0,f.value)):f}function Ue(e={}){let{inheritAttrs:t=!0}=e,n=o(),r=a({setup(e,{slots:t}){return()=>{n.value=t.default}}}),i=a({inheritAttrs:t,props:e.props,setup(r,{attrs:i,slots:a}){return()=>{if(!n.value)throw Error(`[VueUse] Failed to find the definition of reusable template`);let o=n.value?.call(n,{...e.props==null?We(i):r,$slots:a});return t&&o?.length===1?o[0]:o}}});return Se({define:r,reuse:i},[r,i])}function We(e){let t={};for(let n in e)t[be(n)]=e[n];return t}function Ge(t={}){let r=0,i=n([]);function o(...e){let n=w({key:r++,args:e,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:t});return i.value.push(n),n.promise=new Promise((e,t)=>{n.resolve=t=>(n.isResolving=!0,e(t)),n.reject=t}).finally(()=>{n.promise=void 0;let e=i.value.indexOf(n);e!==-1&&i.value.splice(e,1)}),n.promise}function s(...e){return t.singleton&&i.value.length>0?i.value[0].promise:o(...e)}let c=a((n,{slots:r})=>{let a=()=>i.value.map(t=>e(g,{key:t.key},r.default?.call(r,t)));return t.transition?()=>e(E,t.transition,a):a});return c.start=s,c}var I=j?window:void 0,Ke=j?window.document:void 0,qe=j?window.navigator:void 0;j&&window.location;function L(e){let n=t(e);return n?.$el??n}function R(...e){let n=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),r=x(()=>{let n=N(t(e[0])).filter(e=>e!=null);return n.every(e=>typeof e!=`string`)?n:void 0});return Ve(()=>[r.value?.map(e=>L(e))??[I].filter(e=>e!=null),N(t(r.value?e[1]:e[0])),N(l(r.value?e[2]:e[1])),t(r.value?e[3]:e[2])],([e,t,r,i],a,o)=>{if(!e?.length||!t?.length||!r?.length)return;let s=oe(i)?{...i}:i,c=e.flatMap(e=>t.flatMap(t=>r.map(r=>n(e,t,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}var Je=!1;function Ye(e,n,r={}){let{window:i=I,ignore:a=[],capture:o=!0,detectIframe:s=!1,controls:c=!1}=r;if(!i)return c?{stop:M,cancel:M,trigger:M}:M;if(se&&!Je){Je=!0;let e={passive:!0};Array.from(i.document.body.children).forEach(t=>t.addEventListener(`click`,M,e)),i.document.documentElement.addEventListener(`click`,M,e)}let l=!0,u=e=>t(a).some(t=>{if(typeof t==`string`)return Array.from(i.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{let n=L(t);return n&&(e.target===n||e.composedPath().includes(n))}});function d(e){let n=t(e);return n&&n.$.subTree.shapeFlag===16}function f(e,n){let r=t(e),i=r.$.subTree&&r.$.subTree.children;return i==null||!Array.isArray(i)?!1:i.some(e=>e.el===n.target||n.composedPath().includes(e.el))}let p=t=>{let r=L(e);if(t.target!=null&&!(!(r instanceof Element)&&d(e)&&f(e,t))&&!(!r||r===t.target||t.composedPath().includes(r))){if(`detail`in t&&t.detail===0&&(l=!u(t)),!l){l=!0;return}n(t)}},m=!1,h=[R(i,`click`,e=>{m||(m=!0,setTimeout(()=>{m=!1},0),p(e))},{passive:!0,capture:o}),R(i,`pointerdown`,t=>{let n=L(e);l=!u(t)&&!!(n&&!t.composedPath().includes(n))},{passive:!0}),s&&R(i,`blur`,t=>{setTimeout(()=>{let r=L(e);i.document.activeElement?.tagName===`IFRAME`&&!r?.contains(i.document.activeElement)&&n(t)},0)},{passive:!0})].filter(Boolean),g=()=>h.forEach(e=>e());return c?{stop:g,cancel:()=>{l=!1},trigger:e=>{l=!0,p(e),l=!1}}:g}function Xe(){let e=o(!1),t=r();return t&&p(()=>{e.value=!0},t),e}function z(e){let t=Xe();return x(()=>(t.value,!!e()))}function Ze(e,n,r={}){let{window:i=I,...a}=r,o,s=z(()=>i&&`MutationObserver`in i),c=()=>{o&&=(o.disconnect(),void 0)},l=_(x(()=>{let n=N(t(e)).map(L).filter(ie);return new Set(n)}),e=>{c(),s.value&&e.size&&(o=new MutationObserver(n),e.forEach(e=>o.observe(e,a)))},{immediate:!0,flush:`post`}),u=()=>o?.takeRecords(),d=()=>{l(),c()};return k(d),{isSupported:s,stop:d,takeRecords:u}}function Qe(e){return typeof e==`function`?e:typeof e==`string`?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function $e(...e){let n,r,i={};e.length===3?(n=e[0],r=e[1],i=e[2]):e.length===2?typeof e[1]==`object`?(n=!0,r=e[0],i=e[1]):(n=e[0],r=e[1]):(n=!0,r=e[0]);let{target:a=I,eventName:o=`keydown`,passive:s=!1,dedupe:c=!1}=i,l=Qe(n);return R(a,o,e=>{e.repeat&&t(c)||l(e)&&r(e)},s)}function et(e,t,n={}){return $e(e,t,{...n,eventName:`keydown`})}function tt(e,n={}){let{immediate:r=!0,fpsLimit:i=null,window:a=I,once:s=!1}=n,c=o(!1),l=x(()=>{let e=t(i);return e?1e3/e:null}),u=0,f=null;function p(t){if(!c.value||!a)return;u||=t;let n=t-u;if(l.value&&n<l.value){f=a.requestAnimationFrame(p);return}if(u=t,e({delta:n,timestamp:t}),s){c.value=!1,f=null;return}f=a.requestAnimationFrame(p)}function m(){!c.value&&a&&(c.value=!0,u=0,f=a.requestAnimationFrame(p))}function h(){c.value=!1,f!=null&&a&&(a.cancelAnimationFrame(f),f=null)}return r&&m(),k(h),{isActive:d(c),pause:h,resume:m}}var nt=Symbol(`vueuse-ssr-width`);function rt(){let e=y()?ne(nt,null):null;return typeof e==`number`?e:void 0}function it(e,n={}){let{window:r=I,ssrWidth:i=rt()}=n,a=z(()=>r&&`matchMedia`in r&&typeof r.matchMedia==`function`),s=o(typeof i==`number`),c=o(),l=o(!1);return b(()=>{if(s.value){s.value=!a.value,l.value=t(e).split(`,`).some(e=>{let t=e.includes(`not all`),n=e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),r=e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),a=!!(n||r);return n&&a&&(a=i>=ge(n[1])),r&&a&&(a=i<=ge(r[1])),t?!a:a});return}a.value&&(c.value=r.matchMedia(t(e)),l.value=c.value.matches)}),R(c,`change`,e=>{l.value=e.matches},{passive:!0}),x(()=>l.value)}var at=[`hash`,`host`,`hostname`,`href`,`pathname`,`port`,`protocol`,`search`];function ot(e={}){let{window:t=I}=e,r=Object.fromEntries(at.map(e=>[e,n()]));for(let[e,n]of _e(r))_(n,n=>{!t?.location||t.location[e]===n||(t.location[e]=n)});let i=e=>{var n;let{state:i,length:a}=t?.history||{},{origin:o}=t?.location||{};for(let e of at)r[e].value=t==null||(n=t.location)==null?void 0:n[e];return T({trigger:e,state:i,length:a,origin:o,...r})},a=n(i(`load`));if(t){let e={passive:!0};R(t,`popstate`,()=>a.value=i(`popstate`),e),R(t,`hashchange`,()=>a.value=i(`hashchange`),e)}return a}function st(e,t={}){let{controls:n=!1,navigator:r=qe}=t,a=z(()=>r&&`permissions`in r),s=o(),c=typeof e==`string`?{name:e}:e,l=o(),u=()=>{l.value=s.value?.state??`prompt`};R(s,`change`,u,{passive:!0});let d=he(async()=>{if(a.value){if(!s.value)try{s.value=await r.permissions.query(c)}catch{s.value=void 0}finally{u()}if(n)return i(s.value)}});return d(),n?{state:l,isSupported:a,query:d}:l}function ct(e={}){let{navigator:n=qe,read:r=!1,source:i,copiedDuring:a=1500,legacy:s=!1}=e,c=z(()=>n&&`clipboard`in n),l=st(`clipboard-read`),u=st(`clipboard-write`),f=x(()=>c.value||s),p=o(``),m=o(!1),h=ze(()=>m.value=!1,a,{immediate:!1});async function g(){let e=!(c.value&&b(l.value));if(!e)try{p.value=await n.clipboard.readText()}catch{e=!0}e&&(p.value=y())}f.value&&r&&R([`copy`,`cut`],g,{passive:!0});async function _(e=t(i)){if(f.value&&e!=null){let t=!(c.value&&b(u.value));if(!t)try{await n.clipboard.writeText(e)}catch{t=!0}t&&v(e),p.value=e,m.value=!0,h.start()}}function v(e){let t=document.createElement(`textarea`);t.value=e,t.style.position=`absolute`,t.style.opacity=`0`,t.setAttribute(`readonly`,``),document.body.appendChild(t),t.select(),document.execCommand(`copy`),t.remove()}function y(){var e,t;return((e=document)==null||(t=e.getSelection)==null||(t=t.call(e))==null?void 0:t.toString())??``}function b(e){return e===`granted`||e===`prompt`}return{isSupported:f,text:d(p),copied:d(m),copy:_}}function lt(e){return JSON.parse(JSON.stringify(e))}var B=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{},V=`__vueuse_ssr_handlers__`,ut=dt();function dt(){return V in B||(B[V]=B[V]||{}),B[V]}function ft(e,t){return ut[e]||t}function pt(e){return it(`(prefers-color-scheme: dark)`,e)}function mt(e){return e==null?`any`:e instanceof Set?`set`:e instanceof Map?`map`:e instanceof Date?`date`:typeof e==`boolean`?`boolean`:typeof e==`string`?`string`:typeof e==`object`?`object`:Number.isNaN(e)?`any`:`number`}var ht={boolean:{read:e=>e===`true`,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},gt=`vueuse-storage`;function H(e,r,i,a={}){let{flush:c=`pre`,deep:l=!0,listenToStorageChanges:u=!0,writeDefaults:d=!0,mergeDefaults:f=!1,shallow:p,window:m=I,eventFilter:h,onError:g=e=>{console.error(e)},initOnMounted:v}=a,y=(p?o:n)(typeof r==`function`?r():r),b=x(()=>t(e));if(!i)try{i=ft(`getDefaultStorage`,()=>I?.localStorage)()}catch(e){g(e)}if(!i)return y;let S=t(r),C=mt(S),w=a.serializer??ht[C],{pause:T,resume:E}=ke(y,e=>ee(e),{flush:c,deep:l,eventFilter:h});_(b,()=>k(),{flush:c});let D=!1;m&&u&&(i instanceof Storage?R(m,`storage`,e=>{v&&!D||k(e)},{passive:!0}):R(m,gt,e=>{v&&!D||A(e)})),v?P(()=>{D=!0,k()}):k();function O(e,t){if(m){let n={key:b.value,oldValue:e,newValue:t,storageArea:i};m.dispatchEvent(i instanceof Storage?new StorageEvent(`storage`,n):new CustomEvent(gt,{detail:n}))}}function ee(e){try{let t=i.getItem(b.value);if(e==null)O(t,null),i.removeItem(b.value);else{let n=w.write(e);t!==n&&(i.setItem(b.value,n),O(t,n))}}catch(e){g(e)}}function te(e){let t=e?e.newValue:i.getItem(b.value);if(t==null)return d&&S!=null&&i.setItem(b.value,w.write(S)),S;if(!e&&f){let e=w.read(t);return typeof f==`function`?f(e,S):C===`object`&&!Array.isArray(e)?{...S,...e}:e}else if(typeof t!=`string`)return t;else return w.read(t)}function k(e){if(!(e&&e.storageArea!==i)){if(e&&e.key==null){y.value=S;return}if(!(e&&e.key!==b.value)){T();try{let t=w.write(y.value);(e===void 0||e?.newValue!==t)&&(y.value=te(e))}catch(e){g(e)}finally{e?s(E):E()}}}}function A(e){k(e.detail)}return y}var _t=`*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}`;function vt(e={}){let{selector:t=`html`,attribute:n=`class`,initialValue:r=`auto`,window:i=I,storage:a,storageKey:o=`vueuse-color-scheme`,listenToStorageChanges:s=!0,storageRef:c,emitAuto:l,disableTransition:u=!0}=e,d={auto:``,light:`light`,dark:`dark`,...e.modes||{}},f=pt({window:i}),p=x(()=>f.value?`dark`:`light`),m=c||(o==null?le(r):H(o,r,a,{window:i,listenToStorageChanges:s})),h=x(()=>m.value===`auto`?p.value:m.value),g=ft(`updateHTMLAttrs`,(e,t,n)=>{let r=typeof e==`string`?i?.document.querySelector(e):L(e);if(!r)return;let a=new Set,o=new Set,s=null;if(t===`class`){let e=n.split(/\s/g);Object.values(d).flatMap(e=>(e||``).split(/\s/g)).filter(Boolean).forEach(t=>{e.includes(t)?a.add(t):o.add(t)})}else s={key:t,value:n};if(a.size===0&&o.size===0&&s===null)return;let c;u&&(c=i.document.createElement(`style`),c.appendChild(document.createTextNode(_t)),i.document.head.appendChild(c));for(let e of a)r.classList.add(e);for(let e of o)r.classList.remove(e);s&&r.setAttribute(s.key,s.value),u&&(i.getComputedStyle(c).opacity,document.head.removeChild(c))});function v(e){g(t,n,d[e]??e)}function y(t){e.onChanged?e.onChanged(t,v):v(t)}_(h,y,{flush:`post`,immediate:!0}),P(()=>y(h.value));let b=x({get(){return l?m.value:h.value},set(e){m.value=e}});return Object.assign(b,{store:m,system:p,state:h})}function yt(e,n,r={}){let{window:i=I,...a}=r,o,s=z(()=>i&&`ResizeObserver`in i),c=()=>{o&&=(o.disconnect(),void 0)},l=_(x(()=>{let n=t(e);return Array.isArray(n)?n.map(e=>L(e)):[L(n)]}),e=>{if(c(),s.value&&i){o=new ResizeObserver(n);for(let t of e)t&&o.observe(t,a)}},{immediate:!0,flush:`post`}),u=()=>{c(),l()};return k(u),{isSupported:s,stop:u}}function bt(e,t={}){let{reset:n=!0,windowResize:r=!0,windowScroll:i=!0,immediate:a=!0,updateTiming:s=`sync`}=t,c=o(0),l=o(0),u=o(0),d=o(0),f=o(0),p=o(0),m=o(0),h=o(0);function g(){let t=L(e);if(!t){n&&(c.value=0,l.value=0,u.value=0,d.value=0,f.value=0,p.value=0,m.value=0,h.value=0);return}let r=t.getBoundingClientRect();c.value=r.height,l.value=r.bottom,u.value=r.left,d.value=r.right,f.value=r.top,p.value=r.width,m.value=r.x,h.value=r.y}function v(){s===`sync`?g():s===`next-frame`&&requestAnimationFrame(()=>g())}return yt(e,v),_(()=>L(e),e=>!e&&v()),Ze(e,v,{attributeFilter:[`style`,`class`]}),i&&R(`scroll`,v,{capture:!0,passive:!0}),r&&R(`resize`,v,{passive:!0}),P(()=>{a&&v()}),{height:c,bottom:l,left:u,right:d,top:f,width:p,x:m,y:h,update:v}}function xt(e,t={width:0,height:0},n={}){let{window:r=I,box:i=`content-box`}=n,a=x(()=>{var t;return(t=L(e))==null||(t=t.namespaceURI)==null?void 0:t.includes(`svg`)}),s=o(t.width),c=o(t.height),{stop:l}=yt(e,([t])=>{let n=i===`border-box`?t.borderBoxSize:i===`content-box`?t.contentBoxSize:t.devicePixelContentBoxSize;if(r&&a.value){let t=L(e);if(t){let e=t.getBoundingClientRect();s.value=e.width,c.value=e.height}}else if(n){let e=N(n);s.value=e.reduce((e,{inlineSize:t})=>e+t,0),c.value=e.reduce((e,{blockSize:t})=>e+t,0)}else s.value=t.contentRect.width,c.value=t.contentRect.height},n);P(()=>{let n=L(e);n&&(s.value=`offsetWidth`in n?n.offsetWidth:t.width,c.value=`offsetHeight`in n?n.offsetHeight:t.height)});let u=_(()=>L(e),e=>{s.value=e?t.width:0,c.value=e?t.height:0});function d(){l(),u()}return{width:s,height:c,stop:d}}function St(e={}){let{initialValue:t=``}=e,n=z(()=>typeof window<`u`&&`EyeDropper`in window),r=o(t);async function i(e){if(!n.value)return;let t=await new window.EyeDropper().open(e);return r.value=t.sRGBHex,t}return{isSupported:n,sRGBHex:r,open:i}}function Ct(e,t,n={}){let{window:r=I}=n;return H(e,t,r?.localStorage,n)}function wt(e){if(`interval`in e||`immediate`in e){let{interval:t=`requestAnimationFrame`,immediate:n=!0}=e;return t===`requestAnimationFrame`?e=>tt(e,{immediate:n}):n=>Re(n,t,e)}return tt}function Tt(e={}){let{controls:t=!1,scheduler:r=wt(e)}=e,i=n(new Date),a=r(()=>i.value=new Date);return t?{now:i,...a}:i}function Et(e,t,n={}){let{window:r=I}=n;return H(e,t,r?.sessionStorage,n)}var Dt=0;function Ot(e,t={}){let n=o(!1),{document:r=Ke,immediate:i=!0,manual:a=!1,id:s=`vueuse_styletag_${++Dt}`}=t,c=o(e),l=()=>{},u=()=>{if(!r)return;let e=r.getElementById(s)||r.createElement(`style`);e.isConnected||(e.id=s,t.nonce&&(e.nonce=t.nonce),t.media&&(e.media=t.media),r.head.appendChild(e)),!n.value&&(l=_(c,t=>{e.textContent=t},{immediate:!0}),n.value=!0)},f=()=>{!r||!n.value||(l(),r.head.removeChild(r.getElementById(s)),n.value=!1)};return i&&!a&&P(u),a||k(f),{id:s,css:c,unload:f,load:u,isLoaded:d(n)}}var kt=[{max:6e4,value:1e3,name:`second`},{max:276e4,value:6e4,name:`minute`},{max:72e6,value:36e5,name:`hour`},{max:5184e5,value:864e5,name:`day`},{max:24192e5,value:6048e5,name:`week`},{max:28512e6,value:2592e6,name:`month`},{max:1/0,value:31536e6,name:`year`}],At={justNow:`just now`,past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>e===1?t?`last month`:`next month`:`${e} month${e>1?`s`:``}`,year:(e,t)=>e===1?t?`last year`:`next year`:`${e} year${e>1?`s`:``}`,day:(e,t)=>e===1?t?`yesterday`:`tomorrow`:`${e} day${e>1?`s`:``}`,week:(e,t)=>e===1?t?`last week`:`next week`:`${e} week${e>1?`s`:``}`,hour:e=>`${e} hour${e>1?`s`:``}`,minute:e=>`${e} minute${e>1?`s`:``}`,second:e=>`${e} second${e>1?`s`:``}`,invalid:``};function jt(e){return e.toISOString().slice(0,10)}function Mt(e){if(`updateInterval`in e){let{updateInterval:t=3e4}=e;return e=>Re(e,t)}return e=>Re(e,3e4)}function Nt(e,n={}){let{controls:r=!1,scheduler:i=Mt(n)}=n,{now:a,...o}=Tt({scheduler:i,controls:!0}),s=x(()=>Pt(new Date(t(e)),n,t(a)));return r?{timeAgo:s,...o}:s}function Pt(e,t={},n=Date.now()){let{max:r,messages:i=At,fullDateFormatter:a=jt,units:o=kt,showSecond:s=!1,rounding:c=`round`}=t,l=typeof c==`number`?e=>+e.toFixed(c):Math[c],u=n-+e,d=Math.abs(u);function f(e,t){return l(Math.abs(e)/t.value)}function p(e,t){let n=f(e,t),r=e>0,i=m(t.name,n,r);return m(r?`past`:`future`,i,r)}function m(e,t,n){let r=i[e];return typeof r==`function`?r(t,n):r.replace(`{0}`,t.toString())}if(d<6e4&&!s)return i.justNow;if(typeof r==`number`&&d>r)return a(new Date(e));if(typeof r==`string`){let t=o.find(e=>e.name===r)?.max;if(t&&d>t)return a(new Date(e))}for(let[e,t]of o.entries()){if(f(u,t)<=0&&o[e-1])return p(u,o[e-1]);if(d<t.max)return p(u,t)}return i.invalid}function Ft(e,t,i,a={}){var o,c;let{clone:l=!1,passive:u=!1,eventName:d,deep:f=!1,defaultValue:p,shouldEmit:m}=a,h=r(),g=i||h?.emit||(h==null||(o=h.$emit)==null?void 0:o.bind(h))||(h==null||(c=h.proxy)==null||(c=c.$emit)==null?void 0:c.bind(h?.proxy)),v=d;t||=`modelValue`,v||=`update:${t.toString()}`;let y=e=>l?typeof l==`function`?l(e):lt(e):e,b=()=>re(e[t])?y(e[t]):p,S=e=>{m?m(e)&&g(v,e):g(v,e)};if(u){let r=n(b()),i=!1;return _(()=>e[t],e=>{i||(i=!0,r.value=y(e),s(()=>i=!1))}),_(r,n=>{!i&&(n!==e[t]||f)&&S(n)},{deep:f}),r}else return x({get(){return b()},set(e){S(e)}})}function It(e={}){let{window:t=I,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:i=!0,includeScrollbar:a=!0,type:s=`inner`}=e,c=o(n),l=o(r),u=()=>{if(t)if(s===`outer`)c.value=t.outerWidth,l.value=t.outerHeight;else if(s===`visual`&&t.visualViewport){let{width:e,height:n,scale:r}=t.visualViewport;c.value=Math.round(e*r),l.value=Math.round(n*r)}else a?(c.value=t.innerWidth,l.value=t.innerHeight):(c.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight)};u(),P(u);let d={passive:!0};return R(`resize`,u,d),t&&s===`visual`&&t.visualViewport&&R(t.visualViewport,`resize`,u,d),i&&_(it(`(orientation: portrait)`),()=>u()),{width:c,height:l}}var U=o(),Lt;function Rt(){Lt||=(async()=>{let{default:e}=await m(async()=>{let{default:e}=await import(`./vendor/markdown-it-ocmvh7ju.js`).then(e=>e.t);return{default:e}},__vite__mapDeps([0,1]),import.meta.url);U.value=new e({html:!0,linkify:!0,breaks:!0})})()}function zt(e){return Rt(),U.value?U.value.render(e):e}var Bt={json:()=>m(()=>import(`./vendor/shiki-jnavg768.js`).then(e=>e.b),__vite__mapDeps([2,1]),import.meta.url),yaml:()=>m(()=>import(`./vendor/shiki-jnavg768.js`).then(e=>e.h),__vite__mapDeps([2,1]),import.meta.url),yml:()=>m(()=>import(`./vendor/shiki-jnavg768.js`).then(e=>e.h),__vite__mapDeps([2,1]),import.meta.url),css:()=>m(()=>import(`./vendor/shiki-jnavg768.js`).then(e=>e.w),__vite__mapDeps([2,1]),import.meta.url),javascript:()=>m(()=>import(`./vendor/shiki-jnavg768.js`).then(e=>e.S),__vite__mapDeps([2,1]),import.meta.url),js:()=>m(()=>import(`./vendor/shiki-jnavg768.js`).then(e=>e.S),__vite__mapDeps([2,1]),import.meta.url),cjs:()=>m(()=>import(`./vendor/shiki-jnavg768.js`).then(e=>e.S),__vite__mapDeps([2,1]),import.meta.url),mjs:()=>m(()=>import(`./vendor/shiki-jnavg768.js`).then(e=>e.S),__vite__mapDeps([2,1]),import.meta.url),typescript:()=>m(()=>import(`./vendor/shiki-jnavg768.js`).then(e=>e.v),__vite__mapDeps([2,1]),import.meta.url),ts:()=>m(()=>import(`./vendor/shiki-jnavg768.js`).then(e=>e.v),__vite__mapDeps([2,1]),import.meta.url),cts:()=>m(()=>import(`./vendor/shiki-jnavg768.js`).then(e=>e.v),__vite__mapDeps([2,1]),import.meta.url),mts:()=>m(()=>import(`./vendor/shiki-jnavg768.js`).then(e=>e.v),__vite__mapDeps([2,1]),import.meta.url),vue:()=>m(()=>import(`./vendor/shiki-jnavg768.js`).then(e=>e.g),__vite__mapDeps([2,1]),import.meta.url),"vue-html":()=>m(()=>import(`./vendor/shiki-jnavg768.js`).then(e=>e._),__vite__mapDeps([2,1]),import.meta.url),html:()=>m(()=>import(`./vendor/shiki-jnavg768.js`).then(e=>e.x),__vite__mapDeps([2,1]),import.meta.url),diff:()=>m(()=>import(`./vendor/shiki-jnavg768.js`).then(e=>e.C),__vite__mapDeps([2,1]),import.meta.url),shellscript:()=>m(()=>import(`./vendor/shiki-jnavg768.js`).then(e=>e.y),__vite__mapDeps([2,1]),import.meta.url),bash:()=>m(()=>import(`./vendor/shiki-jnavg768.js`).then(e=>e.y),__vite__mapDeps([2,1]),import.meta.url),sh:()=>m(()=>import(`./vendor/shiki-jnavg768.js`).then(e=>e.y),__vite__mapDeps([2,1]),import.meta.url),shell:()=>m(()=>import(`./vendor/shiki-jnavg768.js`).then(e=>e.y),__vite__mapDeps([2,1]),import.meta.url),zsh:()=>m(()=>import(`./vendor/shiki-jnavg768.js`).then(e=>e.y),__vite__mapDeps([2,1]),import.meta.url)},Vt={"vitesse-dark":()=>m(()=>import(`./vendor/shiki-jnavg768.js`).then(e=>e.m),__vite__mapDeps([2,1]),import.meta.url),"vitesse-light":()=>m(()=>import(`./vendor/shiki-jnavg768.js`).then(e=>e.p),__vite__mapDeps([2,1]),import.meta.url)},Ht=O({langs:Bt,themes:Vt,engine:()=>te()}),{codeToHtml:Ut,codeToHast:Wt,codeToTokensBase:Gt,codeToTokens:Kt,codeToTokensWithThemes:qt,getSingletonHighlighter:Jt,getLastGrammarState:Yt}=ee(Ht);const W=o();var Xt=null;function Zt(e,t=`text`,n){!Xt&&!W.value&&(Xt=Ht({langs:Object.keys(Bt),themes:Object.keys(Vt)}).then(e=>{W.value=e}));let r=W.value?.getLoadedLanguages().includes(t);return r?{code:W.value.codeToHtml(e,{...n,lang:t,themes:{dark:`vitesse-dark`,light:`vitesse-light`},transformers:[{root(e){return{type:`root`,children:e.children[0].children[0].children}}}]}),supported:!0}:{code:e,supported:r}}var Qt=`q`,$t=`s`;function en(){let e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var tn=Math.random.bind(Math),nn=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`;function rn(e=21){let t=``,n=e;for(;n--;)t+=nn[tn()*64|0];return t}var an=6e4,on=e=>e,sn=on,{clearTimeout:cn,setTimeout:ln}=globalThis;function un(e,t){let{post:n,on:r,off:i=()=>{},eventNames:a=[],serialize:o=on,deserialize:s=sn,resolver:c,bind:l=`rpc`,timeout:u=an,proxify:d=!0}=t,f=!1,p=new Map,m,h;async function g(e,r,i,a){if(f)throw Error(`[birpc] rpc is closed, cannot call "${e}"`);let s={m:e,a:r,t:Qt};a&&(s.o=!0);let c=async e=>n(o(e));if(i){await c(s);return}if(m)try{await m}finally{m=void 0}let{promise:l,resolve:d,reject:g}=en(),_=rn();s.i=_;let v;async function y(n=s){return u>=0&&(v=ln(()=>{try{if(t.onTimeoutError?.call(h,e,r)!==!0)throw Error(`[birpc] timeout on calling "${e}"`)}catch(e){g(e)}p.delete(_)},u),typeof v==`object`&&(v=v.unref?.())),p.set(_,{resolve:d,reject:g,timeoutId:v,method:e}),await c(n),l}try{t.onRequest?await t.onRequest.call(h,s,y,d):await y()}catch(e){if(t.onGeneralError?.call(h,e)!==!0)throw e;return}finally{cn(v),p.delete(_)}return l}let _={$call:(e,...t)=>g(e,t,!1),$callOptional:(e,...t)=>g(e,t,!1,!0),$callEvent:(e,...t)=>g(e,t,!0),$callRaw:e=>g(e.method,e.args,e.event,e.optional),$rejectPendingCalls:y,get $closed(){return f},get $meta(){return t.meta},$close:v,$functions:e};h=d?new Proxy({},{get(t,n){if(Object.prototype.hasOwnProperty.call(_,n))return _[n];if(n===`then`&&!a.includes(`then`)&&!(`then`in e))return;let r=(...e)=>g(n,e,!0);if(a.includes(n))return r.asEvent=r,r;let i=(...e)=>g(n,e,!1);return i.asEvent=r,i}}):_;function v(e){f=!0,p.forEach(({reject:t,method:n})=>{let r=Error(`[birpc] rpc is closed, cannot call "${n}"`);if(e)return e.cause??=r,t(e);t(r)}),p.clear(),i(b)}function y(e){let t=Array.from(p.values()).map(({method:t,reject:n})=>e?e({method:t,reject:n}):n(Error(`[birpc]: rejected pending call "${t}".`)));return p.clear(),t}async function b(r,...i){let a;try{a=s(r)}catch(e){if(t.onGeneralError?.call(h,e)!==!0)throw e;return}if(a.t===Qt){let{m:r,a:s,o:u}=a,d,f,p=await(c?c.call(h,r,e[r]):e[r]);if(u&&(p||=()=>void 0),!p)f=Error(`[birpc] function "${r}" not found`);else try{d=await p.apply(l===`rpc`?h:e,s)}catch(e){f=e}if(a.i){if(f&&t.onFunctionError&&t.onFunctionError.call(h,f,r,s)===!0)return;if(!f)try{await n(o({t:$t,i:a.i,r:d}),...i);return}catch(e){if(f=e,t.onGeneralError?.call(h,e,r,s)!==!0)throw e}try{await n(o({t:$t,i:a.i,e:f}),...i)}catch(e){if(t.onGeneralError?.call(h,e,r,s)!==!0)throw e}}}else{let{i:e,r:t,e:n}=a,r=p.get(e);r&&(cn(r.timeoutId),n?r.reject(n):r.resolve(t)),p.delete(e)}}return m=r(b),h}var dn=-1,G=0,K=1,q=2,J=3,fn=4,pn=5,mn=6,hn=7,gn=8,_n=typeof self==`object`?self:globalThis,vn=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case G:case dn:return n(o,i);case K:{let e=n([],i);for(let t of o)e.push(r(t));return e}case q:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case J:return n(new Date(o),i);case fn:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case pn:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case mn:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case hn:{let{name:e,message:t}=o;return n(new _n[e](t),i)}case gn:return n(BigInt(o),i);case`BigInt`:return n(Object(BigInt(o)),i)}return n(new _n[a](o),i)};return r},yn=e=>vn(new Map,e)(0),Y=``,{toString:bn}={},{keys:xn}=Object,X=e=>{let t=typeof e;if(t!==`object`||!e)return[G,t];let n=bn.call(e).slice(8,-1);switch(n){case`Array`:return[K,Y];case`Object`:return[q,Y];case`Date`:return[J,Y];case`RegExp`:return[fn,Y];case`Map`:return[pn,Y];case`Set`:return[mn,Y]}return n.includes(`Array`)?[K,n]:n.includes(`Error`)?[hn,n]:[q,n]},Z=([e,t])=>e===G&&(t===`function`||t===`symbol`),Sn=(e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[o,s]=X(r);switch(o){case G:{let t=r;switch(s){case`bigint`:o=gn,t=r.toString();break;case`function`:case`symbol`:if(e)throw TypeError(`unable to serialize `+s);t=null;break;case`undefined`:return i([dn],r)}return i([o,t],r)}case K:{if(s)return i([s,[...r]],r);let e=[],t=i([o,e],r);for(let t of r)e.push(a(t));return t}case q:{if(s)switch(s){case`BigInt`:return i([s,r.toString()],r);case`Boolean`:case`Number`:case`String`:return i([s,r.valueOf()],r)}if(t&&`toJSON`in r)return a(r.toJSON());let n=[],c=i([o,n],r);for(let t of xn(r))(e||!Z(X(r[t])))&&n.push([a(t),a(r[t])]);return c}case J:return i([o,r.toISOString()],r);case fn:{let{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case pn:{let t=[],n=i([o,t],r);for(let[n,i]of r)(e||!(Z(X(n))||Z(X(i))))&&t.push([a(n),a(i)]);return n}case mn:{let t=[],n=i([o,t],r);for(let n of r)(e||!Z(X(n)))&&t.push(a(n));return n}}let{message:c}=r;return i([o,{name:s,message:c}],r)};return a},Cn=(e,{json:t,lossy:n}={})=>{let r=[];return Sn(!(t||n),!!t,new Map,r)(e),r},{parse:wn,stringify:Tn}=JSON,En={json:!0,lossy:!0},Dn=e=>yn(wn(e)),On=e=>Tn(Cn(e,En)),kn=Dn;async function An(e=`/`,t=!0){try{let t=`${e}@vite/client`,n=await fetch(t);if((await n.text()).startsWith(`<`)||!n.headers.get(`content-type`)?.includes(`javascript`))throw Error(`Not javascript`);return await m(()=>import(t),[],import.meta.url)}catch{t&&console.error(`[vite-hot-client] Failed to import "${e}@vite/client"`)}}function jn(e=window.location.pathname){return e.split(`/`).map((e,t,n)=>n.slice(0,t+1).join(`/`)||`/`)}async function Mn(e=`/___`,t){t??=jn();for(let n of t){let t=(await An(n,!1))?.createHotContext(e);if(t)return t}console.error(`[vite-hot-client] Failed to import vite client, tried with:`,t)}const Nn=`nuxt:devtools:rpc`,Pn={behavior:{telemetry:null,openInEditor:void 0},ui:{componentsView:`list`,componentsGraphShowNodeModules:!1,componentsGraphShowGlobalComponents:!0,componentsGraphShowPages:!1,componentsGraphShowLayouts:!1,componentsGraphShowWorkspace:!0,interactionCloseOnOutsideClick:!1,showExperimentalFeatures:!1,showHelpButtons:!0,showPanel:!0,scale:1,minimizePanelInactive:5e3,hiddenTabs:[],pinnedTabs:[],hiddenTabCategories:[],sidebarExpanded:!1,sidebarScrollable:!1},serverRoutes:{selectedRoute:null,view:`tree`,inputDefaults:{query:[],body:[],headers:[]},sendFrom:`app`},serverTasks:{enabled:!1,selectedTask:null,view:`list`,inputDefaults:{query:[],body:[],headers:[{active:!0,key:`Content-Type`,value:`application/json`,type:`string`}]}},assets:{view:`grid`}},Q=n(!1),Fn=o(),In=De(Q,2e3);var Ln=Hn(),Rn=()=>{};const zn={},Bn=new Map,Vn=un(zn,{post:async e=>{(await Ln).send(Nn,e)},on:e=>{Rn=e},serialize:On,deserialize:kn,resolver(e,t){if(t)return t;if(!e.includes(`:`))return;let[n,r]=e.split(`:`);return Bn.get(n)?.[r]},onFunctionError(e,t){return console.error(`[nuxt-devtools] RPC error on executing "${t}":`),console.error(e),!0},onGeneralError(e){return console.error(`[nuxt-devtools] RPC error:`),console.error(e),!0},timeout:12e4});async function Hn(){let e=window.parent?.__NUXT__?.config?.app??window.parent?.useNuxtApp?.()?.payload?.config?.app,t=e?.baseURL??`/`,n=e?.buildAssetsDir?.replace(/^\/|\/$/g,``)??`_nuxt`;t&&!t.endsWith(`/`)&&(t+=`/`);let r=window.location.href.replace(/\/__nuxt_devtools__\/client\/.*$/,`/`),i=await Mn(void 0,Array.from(new Set([`${t}${n}/`,`${t}_nuxt/`,t,`${r}${n}/`,`${r}_nuxt/`,r])));if(!i)throw Q.value=!0,console.error(`[Nuxt DevTools] Unable to find Vite HMR context`),Error(`[Nuxt DevTools] Unable to connect to devtools`);return i.on(Nn,e=>{Q.value=!1,Rn(e)}),Q.value=!0,i.on(`vite:ws:connect`,()=>{console.log(`[nuxt-devtools] Connected to WebSocket`),Q.value=!1}),i.on(`vite:ws:disconnect`,()=>{console.log(`[nuxt-devtools] Disconnected from WebSocket`),Q.value=!0}),i}var Un=`$s`;function Wn(...e){let t=typeof e[e.length-1]==`string`?e.pop():void 0;typeof e[0]!=`string`&&e.unshift(t);let[n,r]=e;if(!n||typeof n!=`string`)throw TypeError(`[nuxt] [useState] key must be a string: `+n);if(r!==void 0&&typeof r!=`function`)throw Error(`[nuxt] [useState] init must be a function: `+r);let i=Un+n,a=D(),o=u(a.payload.state,i);if(o.value===void 0&&r){let e=r();if(C(e))return a.payload.state[i]=e,e;o.value=e}return o}function $(){return Wn(`devtools-client`)}function Gn(){let e=$();return x(()=>e.value?.nuxt.vueApp.config.globalProperties?.$route)}function Kn(){let e=$();return x(()=>e.value?.nuxt.vueApp.config.globalProperties?.$router)}function qn(){let e=$();return x(()=>e.value?.nuxt.vueApp.config.globalProperties?.$head)}var Jn=n(!1);setTimeout(()=>{Jn.value=!0},2e3);const Yn=x(()=>Jn.value&&!$().value);function Xn(){return vt({storageKey:`nuxt-devtools-color-mode`})}function Zn(){let e=$(),t=Xn();return x(()=>({host:e.value,devtools:{rpc:Vn,colorMode:t.value,renderCodeHighlight(e,t){return Zt(e,t)},renderMarkdown(e){return zt(e)},extendClientRpc(e,t){return Bn.set(e,t),new Proxy({},{get(t,n){if(typeof n==`string`)return Vn[`${e}:${n}`]}})}}}))}export{Tt as A,je as B,ct as C,R as D,xt as E,It as F,De as H,ie as I,we as L,Ot as M,Nt as N,St as O,Ft as P,N as R,ot as S,bt as T,Be as U,Le as V,Ge as _,Gn as a,et as b,Wn as c,Q as d,In as f,Ue as g,He as h,qn as i,Et as j,Ct as k,zn as l,Pn as m,Yn as n,Kn as o,Fn as p,$ as r,Zn as s,Xn as t,Vn as u,Pt as v,vt as w,L as x,Ye as y,k as z};
@@ -1 +1 @@
1
- import{Et as e,jt as t}from"./vendor/json-editor-vue-ddj4xtqm.js";var n,r=[];function i(e){if(r.push(e),!(typeof window>`u`))return window.__NUXT_DEVTOOLS__&&r.forEach(e=>e(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,`__NUXT_DEVTOOLS__`,{set(e){e&&r.forEach(t=>t(e))},get(){return n.value},configurable:!0}),()=>{r.splice(r.indexOf(e),1)}}function a(){n||(n=e(),i(a));function r(){n&&t(n)}function a(e){n.value=e,e.host&&e.host.hooks.hook(`host:update:reactivity`,r)}return n}const o=a();export{o as t};
1
+ import{Et as e,jt as t}from"./vendor/json-editor-vue-jlmu1vk1.js";var n,r=[];function i(e){if(r.push(e),!(typeof window>`u`))return window.__NUXT_DEVTOOLS__&&r.forEach(e=>e(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,`__NUXT_DEVTOOLS__`,{set(e){e&&r.forEach(t=>t(e))},get(){return n.value},configurable:!0}),()=>{r.splice(r.indexOf(e),1)}}function a(){n||(n=e(),i(a));function r(){n&&t(n)}function a(e){n.value=e,e.host&&e.host.hooks.hook(`host:update:reactivity`,r)}return n}const o=a();export{o as t};
@@ -0,0 +1,8 @@
1
+ import{Ct as e,E as t,V as n,W as r,g as i,m as a}from"./vendor/json-editor-vue-jlmu1vk1.js";import{x as o}from"./client-ea5fdhj9.js";import{t as s}from"./ncode-block-o9sq6td7.js";var c=class{diff(e,t,n={}){let r;typeof n==`function`?(r=n,n={}):`callback`in n&&(r=n.callback);let i=this.castInput(e,n),a=this.castInput(t,n),o=this.removeEmpty(this.tokenize(i,n)),s=this.removeEmpty(this.tokenize(a,n));return this.diffWithOptionsObj(o,s,n,r)}diffWithOptionsObj(e,t,n,r){let i=e=>{if(e=this.postProcess(e,n),r){setTimeout(function(){r(e)},0);return}else return e},a=t.length,o=e.length,s=1,c=a+o;n.maxEditLength!=null&&(c=Math.min(c,n.maxEditLength));let l=n.timeout??1/0,u=Date.now()+l,d=[{oldPos:-1,lastComponent:void 0}],f=this.extractCommon(d[0],t,e,0,n);if(d[0].oldPos+1>=o&&f+1>=a)return i(this.buildValues(d[0].lastComponent,t,e));let p=-1/0,m=1/0,h=()=>{for(let r=Math.max(p,-s);r<=Math.min(m,s);r+=2){let s,c=d[r-1],l=d[r+1];c&&(d[r-1]=void 0);let u=!1;if(l){let e=l.oldPos-r;u=l&&0<=e&&e<a}let h=c&&c.oldPos+1<o;if(!u&&!h){d[r]=void 0;continue}if(s=!h||u&&c.oldPos<l.oldPos?this.addToPath(l,!0,!1,0,n):this.addToPath(c,!1,!0,1,n),f=this.extractCommon(s,t,e,r,n),s.oldPos+1>=o&&f+1>=a)return i(this.buildValues(s.lastComponent,t,e))||!0;d[r]=s,s.oldPos+1>=o&&(m=Math.min(m,r-1)),f+1>=a&&(p=Math.max(p,r+1))}s++};if(r)(function e(){setTimeout(function(){if(s>c||Date.now()>u)return r(void 0);h()||e()},0)})();else for(;s<=c&&Date.now()<=u;){let e=h();if(e)return e}}addToPath(e,t,n,r,i){let a=e.lastComponent;return a&&!i.oneChangePerToken&&a.added===t&&a.removed===n?{oldPos:e.oldPos+r,lastComponent:{count:a.count+1,added:t,removed:n,previousComponent:a.previousComponent}}:{oldPos:e.oldPos+r,lastComponent:{count:1,added:t,removed:n,previousComponent:a}}}extractCommon(e,t,n,r,i){let a=t.length,o=n.length,s=e.oldPos,c=s-r,l=0;for(;c+1<a&&s+1<o&&this.equals(n[s+1],t[c+1],i);)c++,s++,l++,i.oneChangePerToken&&(e.lastComponent={count:1,previousComponent:e.lastComponent,added:!1,removed:!1});return l&&!i.oneChangePerToken&&(e.lastComponent={count:l,previousComponent:e.lastComponent,added:!1,removed:!1}),e.oldPos=s,c}equals(e,t,n){return n.comparator?n.comparator(e,t):e===t||!!n.ignoreCase&&e.toLowerCase()===t.toLowerCase()}removeEmpty(e){let t=[];for(let n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t}castInput(e,t){return e}tokenize(e,t){return Array.from(e)}join(e){return e.join(``)}postProcess(e,t){return e}get useLongestToken(){return!1}buildValues(e,t,n){let r=[],i;for(;e;)r.push(e),i=e.previousComponent,delete e.previousComponent,e=i;r.reverse();let a=r.length,o=0,s=0,c=0;for(;o<a;o++){let e=r[o];if(e.removed)e.value=this.join(n.slice(c,c+e.count)),c+=e.count;else{if(!e.added&&this.useLongestToken){let r=t.slice(s,s+e.count);r=r.map(function(e,t){let r=n[c+t];return r.length>e.length?r:e}),e.value=this.join(r)}else e.value=this.join(t.slice(s,s+e.count));s+=e.count,e.added||(c+=e.count)}}return r}};new class extends c{};function l(e,t){let n;for(n=0;n<e.length&&n<t.length;n++)if(e[n]!=t[n])return e.slice(0,n);return e.slice(0,n)}function u(e,t){let n;if(!e||!t||e[e.length-1]!=t[t.length-1])return``;for(n=0;n<e.length&&n<t.length;n++)if(e[e.length-(n+1)]!=t[t.length-(n+1)])return e.slice(-n);return e.slice(-n)}function d(e,t,n){if(e.slice(0,t.length)!=t)throw Error(`string ${JSON.stringify(e)} doesn't start with prefix ${JSON.stringify(t)}; this is a bug`);return n+e.slice(t.length)}function f(e,t,n){if(!t)return e+n;if(e.slice(-t.length)!=t)throw Error(`string ${JSON.stringify(e)} doesn't end with suffix ${JSON.stringify(t)}; this is a bug`);return e.slice(0,-t.length)+n}function p(e,t){return d(e,t,``)}function m(e,t){return f(e,t,``)}function h(e,t){return t.slice(0,g(e,t))}function g(e,t){let n=0;e.length>t.length&&(n=e.length-t.length);let r=t.length;e.length<t.length&&(r=e.length);let i=Array(r),a=0;i[0]=0;for(let e=1;e<r;e++){for(t[e]==t[a]?i[e]=i[a]:i[e]=a;a>0&&t[e]!=t[a];)a=i[a];t[e]==t[a]&&a++}a=0;for(let r=n;r<e.length;r++){for(;a>0&&e[r]!=t[a];)a=i[a];e[r]==t[a]&&a++}return a}function _(e){let t;for(t=e.length-1;t>=0&&e[t].match(/\s/);t--);return e.substring(t+1)}function v(e){let t=e.match(/^\s*/);return t?t[0]:``}var y=`a-zA-Z0-9_\\u{AD}\\u{C0}-\\u{D6}\\u{D8}-\\u{F6}\\u{F8}-\\u{2C6}\\u{2C8}-\\u{2D7}\\u{2DE}-\\u{2FF}\\u{1E00}-\\u{1EFF}`,b=RegExp(`[${y}]+|\\s+|[^${y}]`,`ug`);new class extends c{equals(e,t,n){return n.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e.trim()===t.trim()}tokenize(e,t={}){let n;if(t.intlSegmenter){let r=t.intlSegmenter;if(r.resolvedOptions().granularity!=`word`)throw Error(`The segmenter passed must have a granularity of "word"`);n=[];for(let t of Array.from(r.segment(e))){let e=t.segment;n.length&&/\s/.test(n[n.length-1])&&/\s/.test(e)?n[n.length-1]+=e:n.push(e)}}else n=e.match(b)||[];let r=[],i=null;return n.forEach(e=>{/\s/.test(e)?i==null?r.push(e):r.push(r.pop()+e):i!=null&&/\s/.test(i)?r[r.length-1]==i?r.push(r.pop()+e):r.push(i+e):r.push(e),i=e}),r}join(e){return e.map((e,t)=>t==0?e:e.replace(/^\s+/,``)).join(``)}postProcess(e,t){if(!e||t.oneChangePerToken)return e;let n=null,r=null,i=null;return e.forEach(e=>{e.added?r=e:e.removed?i=e:((r||i)&&x(n,i,r,e),n=e,r=null,i=null)}),(r||i)&&x(n,i,r,null),e}};function x(e,t,n,r){if(t&&n){let i=v(t.value),a=_(t.value),o=v(n.value),s=_(n.value);if(e){let r=l(i,o);e.value=f(e.value,o,r),t.value=p(t.value,r),n.value=p(n.value,r)}if(r){let e=u(a,s);r.value=d(r.value,s,e),t.value=m(t.value,e),n.value=m(n.value,e)}}else if(n){if(e){let e=v(n.value);n.value=n.value.substring(e.length)}if(r){let e=v(r.value);r.value=r.value.substring(e.length)}}else if(e&&r){let n=v(r.value),i=v(t.value),a=_(t.value),o=l(n,i);t.value=p(t.value,o);let s=u(p(n,o),a);t.value=m(t.value,s),r.value=d(r.value,n,s),e.value=f(e.value,n,n.slice(0,n.length-s.length))}else if(r){let e=v(r.value),n=h(_(t.value),e);t.value=m(t.value,n)}else if(e){let n=h(_(e.value),v(t.value));t.value=p(t.value,n)}}new class extends c{tokenize(e){let t=RegExp(`(\\r?\\n)|[${y}]+|[^\\S\\n\\r]+|[^${y}]`,`ug`);return e.match(t)||[]}};const S=new class extends c{constructor(){super(...arguments),this.tokenize=w}equals(e,t,n){return n.ignoreWhitespace?((!n.newlineIsToken||!e.includes(`
2
+ `))&&(e=e.trim()),(!n.newlineIsToken||!t.includes(`
3
+ `))&&(t=t.trim())):n.ignoreNewlineAtEof&&!n.newlineIsToken&&(e.endsWith(`
4
+ `)&&(e=e.slice(0,-1)),t.endsWith(`
5
+ `)&&(t=t.slice(0,-1))),super.equals(e,t,n)}};function C(e,t,n){return S.diff(e,t,n)}function w(e,t){t.stripTrailingCr&&(e=e.replace(/\r\n/g,`
6
+ `));let n=[],r=e.split(/(\n|\r\n)/);r[r.length-1]||r.pop();for(let e=0;e<r.length;e++){let i=r[e];e%2&&!t.newlineIsToken?n[n.length-1]+=i:n.push(i)}return n}function T(e){return e==`.`||e==`!`||e==`?`}new class extends c{tokenize(e){let t=[],n=0;for(let r=0;r<e.length;r++){if(r==e.length-1){t.push(e.slice(n));break}if(T(e[r])&&e[r+1].match(/\s/)){for(t.push(e.slice(n,r+1)),r=n=r+1;e[r+1]?.match(/\s/);)r++;t.push(e.slice(n,r+1)),n=r+1}}return t}},new class extends c{tokenize(e){return e.split(/([{}:;,]|\s+)/)}},new class extends c{constructor(){super(...arguments),this.tokenize=w}get useLongestToken(){return!0}castInput(e,t){let{undefinedReplacement:n,stringifyReplacer:r=(e,t)=>t===void 0?n:t}=t;return typeof e==`string`?e:JSON.stringify(E(e,null,null,r),null,` `)}equals(e,t,n){return super.equals(e.replace(/,([\r\n])/g,`$1`),t.replace(/,([\r\n])/g,`$1`),n)}};function E(e,t,n,r,i){t||=[],n||=[],r&&(e=r(i===void 0?``:i,e));let a;for(a=0;a<t.length;a+=1)if(t[a]===e)return n[a];let o;if(Object.prototype.toString.call(e)===`[object Array]`){for(t.push(e),o=Array(e.length),n.push(o),a=0;a<e.length;a+=1)o[a]=E(e[a],t,n,r,String(a));return t.pop(),n.pop(),o}if(e&&e.toJSON&&(e=e.toJSON()),typeof e==`object`&&e){t.push(e),o={},n.push(o);let i=[],s;for(s in e)Object.prototype.hasOwnProperty.call(e,s)&&i.push(s);for(i.sort(),a=0;a<i.length;a+=1)s=i[a],o[s]=E(e[s],t,n,r,s);t.pop(),n.pop()}else o=e;return o}new class extends c{tokenize(e){return e.slice()}join(e){return e}removeEmpty(e){return e}};var D=t({__name:`CodeDiff`,props:{from:{},to:{},lang:{}},setup(t){let c=t;function l(e,t){let n=C(e.trim(),t.trim()),r=[],i=[],a=[];for(let e of n){let t=e.value.trimEnd().split(`
7
+ `);for(let n of t)e.added?(r.push(a.length),a.push(n)):(e.removed&&i.push(a.length),a.push(n))}return{added:r,removed:i,result:a.join(`
8
+ `)}}let u=a(()=>l(c.from,c.to));function d(e){let t=0;return e.replace(/class="shiki/,`class="shiki diff`).replace(/class="line"/g,e=>(t++,u.value.added.includes(t-1)?`class="line line-added"`:u.value.removed.includes(t-1)?`class="line line-removed"`:e))}let f=e();n(p);function p(){let e=o(f);e&&e.querySelector(`.line-added,.line-removed`)?.scrollIntoView()}return(e,n)=>{let a=s;return r(),i(a,{ref_key:`elRef`,ref:f,code:u.value.result,lang:t.lang,"transform-rendered":d,onLoaded:p},null,8,[`code`,`lang`])}}}),O=Object.assign(D,{__name:`CodeDiff`});export{O as t};
@@ -0,0 +1 @@
1
+ import{C as e,E as t,Et as n,Mt as r,Qt as i,W as a,Y as o,_ as s,c,dt as l,g as u,h as d,lt as f,m as p,tn as m,v as h,w as g}from"./vendor/json-editor-vue-jlmu1vk1.js";import{t as _}from"./nbutton-m0kqfedx.js";import{u as v}from"#entry";import{t as y}from"./ncode-block-o9sq6td7.js";var b={key:0,relative:``,"n-code-block":``},x={flex:`~ wrap`,"w-full":``},S=[`onClick`],C={flex:`~ gap-2`,px3:``,pb3:``,n:`sm primary`},w=t({__name:`CodeSnippets`,props:{codeSnippets:{},eventType:{}},setup(t){let w=t,T=n(w.codeSnippets[0]),E=v(),D=p(()=>T.value?.lang||`text`);return f(()=>{w.codeSnippets.includes(T.value)||(T.value=w.codeSnippets[0])}),(n,f)=>{let p=y,v=_;return t.codeSnippets.length?(a(),h(`div`,b,[d(`div`,x,[(a(!0),h(c,null,o(t.codeSnippets,(e,t)=>(a(),h(`button`,{key:t,px4:``,py2:``,border:`r base`,hover:`bg-active`,class:i(e===T.value?``:`border-b`),onClick:t=>T.value=e},[d(`div`,{class:i(e===T.value?``:`op30`),"font-mono":``},m(e.name),3)],10,S))),128)),f[1]||=d(`div`,{border:`b base`,"flex-auto":``},null,-1)]),T.value?(a(),h(c,{key:0},[g(p,{code:T.value.code,lang:D.value,lines:!1,"w-full":``,"of-auto":``,p3:``},null,8,[`code`,`lang`]),d(`div`,C,[g(v,{icon:`carbon-copy`,onClick:f[0]||=e=>r(E)(T.value.code,t.eventType||`code-snippet-${T.value.name}`)},{default:l(()=>[...f[2]||=[e(` Copy `,-1)]]),_:1}),T.value?.docs?(a(),u(v,{key:0,to:T.value.docs,target:`_blank`,icon:`carbon-catalog`},{default:l(()=>[...f[3]||=[e(` Docs `,-1)]]),_:1},8,[`to`])):s(``,!0)])],64)):s(``,!0)])):s(``,!0)}}}),T=Object.assign(w,{__name:`CodeSnippets`});export{T as t};
@@ -0,0 +1 @@
1
+ import{$ as e,C as t,Ct as n,E as r,Et as i,Mt as a,P as o,Q as s,Qt as c,V as l,W as u,X as d,Y as f,Z as p,_ as m,c as h,ct as g,dt as _,ft as v,g as y,h as b,m as x,tn as S,v as C,vt as w,w as T}from"./vendor/json-editor-vue-jlmu1vk1.js";import"./ready-mmkdpbhg.js";import"./nuxt-h34yfo3l.js";import"./head-k6pu038r.js";import{T as E,c as D,d as O,i as ee,x as k,y as A}from"./state-b65zn1p8.js";import{H as j,r as M,t as N}from"./client-ea5fdhj9.js";import"./vendor/shiki-jnavg768.js";import{t as P}from"./storage-options-os0x8zby.js";import"./dev-auth-jrf61eu0.js";import"./nuxt-link-lrojf3ui.js";import{t as F}from"./_plugin-vue_export-helper-myijwyyb.js";import{t as I}from"./nicon-j0r9gdjm.js";import{t as L}from"./nbutton-m0kqfedx.js";import{t as te}from"./ncard-qqqgbjy9.js";import"./state-routes-ovtjymzc.js";import"./telemetry-pccqt90w.js";import"./ntext-input-ozkk5xro.js";import{s as R,u as z}from"#entry";import{t as ne}from"./ndrawer-ufyhcx08.js";import"./composables-k2ak4j8d.js";import{t as re}from"./ncheckbox-knbe2cxv.js";import{t as B}from"./filepath-item-e4nchqwg.js";import{t as V}from"./help-fab-hk76lwiw.js";import{t as H}from"./nnavbar-b0i34u17.js";import{t as U}from"./nicon-title-ggx25xp9.js";import{t as W}from"./nsection-block-dzbgwc4z.js";import{n as G}from"./dist-9xqq72tk.js";import{t as K}from"./nbadge-h59v1exj.js";import{n as q,t as J}from"./vendor/vis-p9fufs7k.js";import{t as Y}from"./nselect-tabs-jgvac6a8.js";import{n as X,t as ie}from"./state-components-gdb1hu1j.js";var ae={},oe={class:`markdown-body`};function se(e,t){return u(),C(`div`,oe,[...t[0]||=[b(`template`,null,[b(`div`,{class:`markdown-body`},[b(`h1`,null,`Components`),b(`p`,null,`Vue Components allow us to split the UI into independent and reusable pieces, and think about each piece in isolation. This is very similar to how we nest native HTML elements, but Vue implements its own component model that allow us to encapsulate custom content and logic in each component.`),b(`p`,null,`Components placed in the components/ directory are automatically registered by Nuxt. They can be used in your templates without importing them.`),b(`p`,null,[b(`a`,{href:`https://nuxt.com/docs/guide/directory-structure/components`,target:`_blank`,rel:`noopener`},`Learn more in the documentation`)])])],-1)]])}var ce=F(ae,[[`render`,se]]),le={"text-sm":``,"font-mono":``},ue=r({__name:`ComponentName`,props:{component:{}},setup(e){let n=e,r=x(()=>n.component.pascalName||G(n.component.name||n.component.__name||n.component.kebabName||``));return(e,n)=>(u(),C(`code`,le,[n[0]||=b(`span`,{mr1:``,op20:``},`<`,-1),t(S(r.value),1),n[1]||=b(`span`,{ml1:``,op20:``},`/>`,-1)]))}}),Z=Object.assign(ue,{__name:`ComponentName`}),Q={flex:`~ col gap1`,"items-start":``,"of-hidden":``},de={flex:`~ gap2 items-center`,px3:``},fe={px3:``,pb2:``},pe={key:0,border:`t base`,"max-h-60":``,"w-full":``,"of-auto":``,px3:``,py3:``},me={"text-sm":``},he={"text-primary":``},ge={key:0,flex:`~ col gap-2`,"items-start":``,pt3:``,"text-sm":``,op75:``},_e={key:1,border:`t base`,"max-h-60":``,"w-full":``,"of-auto":``,px3:``,py3:``},ve={"text-sm":``},ye={"text-primary":``},be={key:0,flex:`~ col gap-2`,"items-start":``,pt3:``,"text-sm":``,op75:``},xe=r({__name:`ComponentDetails`,props:{component:{},dependencies:{},dependents:{}},setup(e){let n=e,r=x(()=>n.component.pascalName||G(n.component.name||n.component.__name||n.component.kebabName||``)),i=x(()=>n.component.filePath||n.component.file||n.component.__file||``),o=z();return(n,s)=>{let c=Z,l=L,p=K,g=B;return u(),C(`div`,Q,[b(`div`,de,[T(c,{component:e.component},null,8,[`component`]),e.component.meta?.docs&&typeof e.component.meta.docs==`string`?(u(),y(l,{key:0,title:`Open docs`,"flex-none":``,n:`xs`,to:e.component.meta.docs,target:`_blank`,icon:`carbon-catalog`},{default:_(()=>[...s[1]||=[t(` Docs `,-1)]]),_:1},8,[`to`])):m(``,!0),T(l,{title:`Copy name`,"flex-none":``,n:`xs`,icon:`carbon-copy`,onClick:s[0]||=e=>a(o)(`<${r.value}></${r.value}>`,`component-name`)},{default:_(()=>[...s[2]||=[t(` Copy `,-1)]]),_:1}),e.component.global?(u(),y(p,{key:1,n:`green`,title:`Registered at runtime as a global component`,textContent:`runtime`})):m(``,!0)]),b(`div`,fe,[i.value?(u(),y(g,{key:0,filepath:i.value,"w-full":``,"text-sm":``,op40:``,"group-hover:op75":``},null,8,[`filepath`])):m(``,!0)]),e.dependents?(u(),C(`div`,pe,[b(`div`,me,[b(`strong`,he,S(e.dependents.length),1),s[3]||=b(`span`,{op50:``},` references`,-1)]),e.dependents.length?(u(),C(`div`,ge,[(u(!0),C(h,null,f(e.dependents,e=>(u(),y(g,{key:e,filepath:e},null,8,[`filepath`]))),128))])):m(``,!0)])):m(``,!0),e.dependencies?(u(),C(`div`,_e,[b(`div`,ve,[b(`strong`,ye,S(e.dependencies.length),1),s[4]||=b(`span`,{op50:``},` dependencies`,-1)]),e.dependencies.length?(u(),C(`div`,be,[(u(!0),C(h,null,f(e.dependencies,e=>(u(),y(g,{key:e,filepath:e},null,8,[`filepath`]))),128))])):m(``,!0)])):m(``,!0),d(n.$slots,`default`)])}}}),$=Object.assign(xe,{__name:`ComponentDetails`}),Se={flex:`~ gap-x-3 gap-y-1 wrap`,"w-full":``},Ce={relative:``,"h-full":``,"w-full":``},we={key:0,py4:``,pt3:``,flex:`~ col`},Te={border:`t base`,p4:``},Ee=r({__name:`ComponentsGraph`,props:{components:{},relationships:{}},setup(e){let r=e,o=n(),s=n(),c=N(),f=i(),p=O(),v=D(),y=ee(),{componentsGraphShowNodeModules:S,componentsGraphShowGlobalComponents:E,componentsGraphShowPages:k,componentsGraphShowLayouts:A,componentsGraphShowWorkspace:M}=P(`ui`),F=n(),I=n(``),R=j(I,300),z=x(()=>{let e=r.relationships||[];if(F.value){let t=new Set;function n(r){!r||t.has(r)||(t.add(r),r.deps.forEach(t=>{n(e.find(e=>e.id===t))}))}return n(F.value),Array.from(t)}return e}),B=x(()=>{let e=z.value.map(e=>{let t=r.components.find(t=>t.filePath===e.id),n=p.value?.find(t=>t.file===e.id),i=y.value?.find(t=>t.file===e.id),a=e.id.includes(`/node_modules/`)?`lib`:t?t.global?`global`:`user`:i?`layout`:n?`page`:`unknown`;if(!S.value&&a===`lib`||!k.value&&a===`page`||!A.value&&a===`layout`||!M.value&&a===`user`&&v.value&&!e.id.startsWith(v.value.rootDir)||!E.value&&a===`global`)return null;let o=a===`layout`?`hexagon`:a===`page`?`square`:`dot`,s=R.value&&!e.id.toLowerCase().includes(R.value.toLowerCase());return{id:e.id,label:G(e.id),group:a,shape:o,size:15+Math.min(e.deps.length/2,8),font:{color:s?`#8885`:c.value===`dark`?`white`:`black`},color:s?`#8885`:F.value?.id===e.id?`#82c742`:void 0,extra:{id:e.id,component:t,page:n,layout:i,relationship:e}}}).filter(e=>!!e),t=z.value.flatMap(e=>e.deps.map(t=>({from:e.id,to:t,arrows:{to:{enabled:!0,scaleFactor:.8}}})));return{nodes:new q(e),edges:t}}),V=x(()=>f.value?.component?(r.relationships?.find(e=>e.id===f.value?.component?.filePath)?.deps)?.map(e=>r.relationships?.find(t=>t.id===e)?.id).filter(Boolean):[]),U=x(()=>f.value?.component?(r.relationships?.filter(e=>e.deps.includes(f.value.component.filePath)))?.map(e=>r.relationships?.find(t=>t.id===e.id)?.id).filter(Boolean):[]);l(()=>{let e=new J(o.value,B.value,{nodes:{shape:`dot`,size:16},physics:{repulsion:{centralGravity:.7,springLength:100,springConstant:.01},maxVelocity:146,solver:`forceAtlas2Based`,timestep:.35,stabilization:{enabled:!0,iterations:200}},groups:{user:{color:`#42b883`},unknown:{color:`#b86542`},lib:{color:`#b4b842`},page:{color:`#42b2b8`},layout:{color:`#4256b8`}}});e.on(`click`,e=>{let t=e.nodes?.[0];f.value=B.value.nodes.get(t).extra}),g(B,()=>{e.setData(B.value)})});function W(){f.value=void 0}function G(e){let t=r.components.find(t=>t.filePath===e);return t?t.pascalName:e.replace(/.*\/components\//,``).replace(/\.vue$/,``).replace(/\/index$/,``).split(`/`).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(``)}function K(){F.value=f.value?.relationship,f.value=void 0}return(e,n)=>{let r=re,i=H,c=te,l=$,p=L,g=ne;return u(),C(h,null,[T(i,{ref_key:`navbar`,ref:s,search:I.value,"onUpdate:search":n[6]||=e=>I.value=e,absolute:``,"left-0":``,"right-0":``,"top-0":``},{actions:_(()=>[b(`div`,Se,[T(r,{modelValue:a(k),"onUpdate:modelValue":n[0]||=e=>w(k)?k.value=e:null,n:`primary sm`},{default:_(()=>[...n[8]||=[b(`span`,{op75:``},`Show pages`,-1)]]),_:1},8,[`modelValue`]),T(r,{modelValue:a(A),"onUpdate:modelValue":n[1]||=e=>w(A)?A.value=e:null,n:`primary sm`},{default:_(()=>[...n[9]||=[b(`span`,{op75:``},`Show layouts`,-1)]]),_:1},8,[`modelValue`]),T(r,{modelValue:a(M),"onUpdate:modelValue":n[2]||=e=>w(M)?M.value=e:null,n:`primary sm`},{default:_(()=>[...n[10]||=[b(`span`,{op75:``},`Show workspace`,-1)]]),_:1},8,[`modelValue`]),T(r,{modelValue:a(S),"onUpdate:modelValue":n[3]||=e=>w(S)?S.value=e:null,n:`primary sm`},{default:_(()=>[...n[11]||=[b(`span`,{op75:``},`Show node_modules`,-1)]]),_:1},8,[`modelValue`]),T(r,{modelValue:a(E),"onUpdate:modelValue":n[4]||=e=>w(E)?E.value=e:null,n:`primary sm`},{default:_(()=>[...n[12]||=[b(`span`,{op75:``},`Show global components`,-1)]]),_:1},8,[`modelValue`])]),F.value?(u(),C(`button`,{key:0,flex:`~ gap-1`,"flex-none":``,"items-center":``,"rounded-full":``,"bg-gray:20":``,py1:``,pl3:``,pr2:``,"text-xs":``,op50:``,"hover:op100":``,onClick:n[5]||=e=>F.value=void 0},[...n[13]||=[t(` Clear filter `,-1),b(`div`,{"i-carbon-close":``},null,-1)]])):m(``,!0),n[14]||=b(`div`,{"flex-auto":``},null,-1),d(e.$slots,`default`)]),_:3},8,[`search`]),b(`div`,Ce,[b(`div`,{ref_key:`container`,ref:o,"h-full":``,"w-full":``},null,512),T(c,{absolute:``,"bottom-3":``,"left-3":``,"border-0":``,"n-glass-effect":``,p2:``,px3:``,"text-sm":``},{default:_(()=>[...n[15]||=[b(`div`,{grid:`~ cols-[20px_1fr] items-center gap-y-1`},[b(`div`,{"h-3":``,"w-3":``,"rounded-full":``,"bg-hex-42b883":``}),b(`div`,{op50:``},` Component `),b(`div`,{"h-3":``,"w-3":``,"rounded-full":``,"bg-hex-97c2fc":``}),b(`div`,{op50:``},` Global Component `),b(`div`,{"h-3":``,"w-3":``,"bg-hex-42b2b8":``}),b(`div`,{op50:``},` Page `),b(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 726 628`,"ml--1px":``,"h-3":``},[b(`path`,{fill:`#4256b8`,"stroke-width":`4`,d:`M723 314 543 625.8H183L3 314 183 2.2h360L723 314z`})]),b(`div`,{op50:``},` Layout `),b(`div`,{"h-3":``,"w-3":``,"rounded-full":``,"bg-hex-b4b842":``}),b(`div`,{op50:``},` Library Component `),b(`div`,{"h-3":``,"w-3":``,"rounded-full":``,"bg-hex-b86542":``}),b(`div`,{op50:``},` Unknown `)],-1)]]),_:1}),T(g,{"model-value":!!(f.value&&f.value.component),top:s.value,border:`t l base`,"w-80":``,onClose:W},{default:_(()=>[f.value&&f.value.component?(u(),C(`div`,we,[T(l,{component:f.value.component,dependencies:V.value,dependents:U.value},null,8,[`component`,`dependencies`,`dependents`]),b(`div`,Te,[T(p,{n:`primary solid`,onClick:n[7]||=e=>K()},{default:_(()=>[...n[16]||=[t(` Filter to this component `,-1)]]),_:1})])])):m(``,!0)]),_:1},8,[`model-value`,`top`])])],64)}}}),De=Object.assign(Ee,{__name:`ComponentsGraph`}),Oe={hover:`bg-active`,class:`group`,flex:`~ gap2`,"w-full":``,"items-center":``,rounded:``,px2:``,py1:``},ke={key:0,"ml--1":``,"text-primary":``},Ae=r({__name:`ComponentItem`,props:{component:{},dependencies:{},dependents:{}},setup(e){let t=e,n=x(()=>t.component.filePath||t.component.file||t.component.__file||``);return(t,r)=>{let i=Z,a=$,o=p(`VDropdown`),s=K,l=B;return u(),C(`div`,Oe,[T(o,null,{popper:_(()=>[T(a,{component:e.component,dependencies:e.dependencies,dependents:e.dependents,"w-100":``,pt3:``},null,8,[`component`,`dependencies`,`dependents`])]),default:_(()=>[b(`button`,{"hover:text-primary":``,class:c(e.dependents&&e.dependents.length===0?`op50`:``)},[T(i,{component:e.component},null,8,[`component`])],2)]),_:1}),e.dependents?.length?(u(),C(`sup`,ke,` x`+S(e.dependents?.length),1)):m(``,!0),e.component.global?(u(),y(s,{key:1,n:`green`,title:`Registered at runtime as a global component`,textContent:`runtime`})):m(``,!0),d(t.$slots,`default`),n.value?(u(),y(l,{key:2,filepath:n.value,"text-sm":``,op25:``,"group-hover:op75":``},null,8,[`filepath`])):m(``,!0)])}}}),je=Object.assign(Ae,{__name:`ComponentItem`}),Me={flex:`~ gap-2 items-center`},Ne={pl4:``},Pe=r({__name:`ComponentsList`,props:{components:{},relationships:{}},setup(e){let t=e,r=n(``),i=n(`all`),s=x(()=>{let e=t.components.map(e=>A(e,t.relationships));return i.value===`using`?e.filter(e=>e.dependents?.length):i.value===`not-used`?e.filter(e=>!e.dependents?.length):e}),c={ClientOnly:`https://nuxt.com/docs/api/components/client-only`,DevOnly:`https://nuxt.com/docs/api/components/dev-only`,NuxtClientFallback:`https://nuxt.com/docs/api/components/nuxt-client-fallback`,NuxtPicture:`https://nuxt.com/docs/api/components/nuxt-picture`,NuxtRouteAnnouncer:`https://nuxt.com/docs/api/components/nuxt-route-announcer`,NuxtTime:`https://nuxt.com/docs/api/components/nuxt-time`,NuxtPage:`https://nuxt.com/docs/api/components/nuxt-page`,NuxtLayout:`https://nuxt.com/docs/api/components/nuxt-layout`,NuxtLink:`https://nuxt.com/docs/api/components/nuxt-link`,NuxtLoadingIndicator:`https://nuxt.com/docs/api/components/nuxt-loading-indicator`,NuxtErrorBoundary:`https://nuxt.com/docs/api/components/nuxt-error-boundary`,NuxtWelcome:`https://nuxt.com/docs/api/components/nuxt-welcome`,NuxtIsland:`https://nuxt.com/docs/api/components/nuxt-island`,NuxtImg:`https://nuxt.com/docs/api/components/nuxt-img`},l=x(()=>new R(s.value,{keys:[`component.pascalName`,`component.filePath`,`component.kebabName`]})),p=x(()=>{let e=[],t=new Map,n=[],i=[],a={user:0,lib:0,builtin:0,runtime:0};return(r.value?l.value.search(r.value).map(e=>e.item):s.value).forEach(r=>{let o=r.component;if(o.filePath&&E(o.filePath)){let e=k(o.filePath);if(!e)return;e===`nuxt`?(o.meta??={},o.meta.docs??=c?.[o.pascalName],n.push(r),a.builtin++):(t.has(e)||t.set(e,[]),t.get(e).push(r),a.lib++)}else o.global&&!o.filePath?(i.push(r),a.runtime++):(e.push(r),a.user++)}),{count:a,user:e,builtin:n,lib:t,runtime:i}});return(e,t)=>{let n=I,s=Y,c=H,l=je,g=W,v=U;return u(),C(h,null,[T(c,{search:r.value,"onUpdate:search":t[1]||=e=>r.value=e,pb3:``},{actions:_(()=>[d(e.$slots,`default`)]),default:_(()=>[b(`div`,Me,[T(n,{icon:`carbon-filter`,op50:``}),T(s,{modelValue:i.value,"onUpdate:modelValue":t[0]||=e=>i.value=e,n:`primary sm`,options:[{label:`All`,value:`all`},{label:`Using`,value:`using`},{label:`Not used`,value:`not-used`}]},null,8,[`modelValue`])])]),_:3},8,[`search`]),p.value.user.length?(u(),y(g,{key:0,icon:`carbon-nominal`,text:`User components`,open:p.value.user.length<=a(50),description:`Total components: ${p.value.count.user}`},{default:_(()=>[(u(!0),C(h,null,f(p.value.user,e=>(u(),y(l,o({key:e.component.filePath},{ref_for:!0},e),null,16))),128))]),_:1},8,[`open`,`description`])):m(``,!0),p.value.runtime.length?(u(),y(g,{key:1,icon:`carbon-load-balancer-global`,open:p.value.runtime.length<=a(50),text:`Runtime components`,description:`Total components: ${p.value.count.runtime}`},{default:_(()=>[(u(!0),C(h,null,f(p.value.runtime,e=>(u(),y(l,o({key:e.component.filePath},{ref_for:!0},e),null,16))),128))]),_:1},8,[`open`,`description`])):m(``,!0),p.value.builtin.length?(u(),y(g,{key:2,icon:`simple-icons-nuxtdotjs`,text:`Built-in components`,description:`Total components: ${p.value.count.builtin}`},{default:_(()=>[(u(!0),C(h,null,f(p.value.builtin,e=>(u(),y(l,o({key:e.component.filePath},{ref_for:!0},e),null,16))),128))]),_:1},8,[`description`])):m(``,!0),p.value.lib.size?(u(),y(g,{key:3,open:p.value.count.lib<=a(50),icon:`carbon-3d-mpr-toggle`,text:`Components from libraries`,description:`${p.value.count.lib} components from ${p.value.lib.size} packages`},{default:_(()=>[(u(!0),C(h,null,f(p.value.lib.entries(),([e,t])=>(u(),C(`div`,{key:e,"ml-2":``},[T(v,{text:`${e} (${t.length})`,py1:``,op50:``},null,8,[`text`]),b(`div`,Ne,[(u(!0),C(h,null,f(t,e=>(u(),y(l,o({key:e.component.filePath},{ref_for:!0},e),null,16))),128))])]))),128))]),_:1},8,[`open`,`description`])):m(``,!0)],64)}}}),Fe=Object.assign(Pe,{__name:`ComponentsList`}),Ie={relative:``,"h-full":``,"of-auto":``},Le={"flex-none":``,flex:`~ gap3`},Re=r({__name:`components`,setup(t){let n=M(),r=ie(),i=X(),{componentsView:o}=P(`ui`);function c(){n.value?.inspector?.enable()}function l(){o.value=o.value===`list`?`graph`:`list`}return(t,d)=>{let f=L,p=ce,g=V,x=s(`tooltip`);return u(),C(h,null,[b(`div`,Ie,[(u(),y(e(a(o)===`list`?Fe:De),{components:a(r),relationships:a(i)},{default:_(()=>[b(`div`,Le,[v(T(f,{"text-lg":``,border:!1,icon:a(o)===`graph`?`i-carbon-list`:`i-carbon-network-4`,title:`Toggle view`,onClick:l},null,8,[`icon`]),[[x,`Toggle View`,void 0,{"bottom-end":!0}]]),a(n)?.inspector?.isAvailable?v((u(),y(f,{key:0,"text-lg":``,border:!1,icon:`i-tabler-focus-2`,title:`Inspect Vue components`,onClick:c},null,512)),[[x,`Inspect Vue components`,void 0,{"bottom-end":!0}]]):m(``,!0)])]),_:1},8,[`components`,`relationships`]))]),T(g,null,{default:_(()=>[T(p)]),_:1})],64)}}});export{Re as default};
@@ -0,0 +1 @@
1
+ import{C as e,E as t,Mt as n,Qt as r,W as i,Y as a,Z as o,_ as s,c,dt as l,g as u,h as d,m as f,tn as p,v as m,w as h}from"./vendor/json-editor-vue-jlmu1vk1.js";import{t as g}from"./nicon-j0r9gdjm.js";import{t as _}from"./nbutton-m0kqfedx.js";import{d as v,u as y}from"#entry";import{t as b}from"./filepath-item-e4nchqwg.js";import{t as x}from"./constants-ihoovckn.js";import{t as S}from"./dist-9xqq72tk.js";import{t as C}from"./nmarkdown-nsbirjtv.js";var w={rounded:``,"font-mono":``},T={key:0,"text-primary":``},E={key:0},D={title:`Vue Directive`},O={"max-w-100":``},k={px4:``,py3:``,"text-sm":``},A={flex:`~ gap2`,n:`primary xs`},j={border:`t base`,"max-h-60":``,"of-auto":``,px4:``,py3:``},M={"text-sm":``},N={"text-primary":``},P={flex:`~ col gap-2`,"items-start":``,pt3:``,"text-sm":``,op75:``},F={key:1,"text-sm":``,op50:``},I=t({__name:`ComposableItem`,props:{item:{},isDirective:{type:Boolean,default:!1},metadata:{},filepath:{},counter:{type:Boolean,default:!0},classes:{default:`px2 py1 text-sm bg-gray:5 `}},setup(t){let I=t,L=y(),R=v(),z=f(()=>I.item.as||I.item.name),B=f(()=>{let e=z.value;return I.isDirective&&(e[0]!==`v`&&(e=`v${e}`),e=S(e)),e}),V=f(()=>I.metadata?.injectionUsage?.[z.value]?.count||0),H=f(()=>(I.metadata?.injectionUsage?.[z.value]?.moduleIds||[]).filter(e=>!e.endsWith(`?macro=true`))),U=f(()=>I.item.meta?.docsUrl?I.item.meta.docsUrl:[`nuxt`,`#app`,`nuxt3`].includes(I.item.from)?x.nuxt[I.item.name]:I.item.from===`vue`?x.vue[I.item.name]:null);return(f,v)=>{let y=g,x=C,S=_,W=b,G=o(`VDropdown`);return i(),u(G,{disabled:!I.metadata},{popper:l(()=>[d(`div`,O,[d(`div`,k,[t.item.meta?.description?(i(),u(x,{key:0,tag:`div`,pb3:``,"text-sm":``,markdown:t.item.meta.description},null,8,[`markdown`])):s(``,!0),d(`div`,A,[h(S,{icon:`carbon-copy`,onClick:v[0]||=e=>n(L)(B.value,`imports-name`)},{default:l(()=>[...v[2]||=[e(` Copy `,-1)]]),_:1}),t.filepath?(i(),u(S,{key:0,icon:`carbon-code`,onClick:v[1]||=e=>t.filepath&&n(R)(t.filepath)},{default:l(()=>[...v[3]||=[e(` Source `,-1)]]),_:1})):s(``,!0),U.value?(i(),u(S,{key:1,icon:`carbon-catalog`,to:U.value,target:`_blank`},{default:l(()=>[...v[4]||=[e(` Docs `,-1)]]),_:1},8,[`to`])):s(``,!0)])]),d(`div`,j,[V.value?(i(),m(c,{key:0},[d(`div`,M,[v[5]||=d(`span`,{op50:``},`It has been referenced `,-1),d(`strong`,N,p(V.value),1),v[6]||=d(`span`,{op50:``},` times by:`,-1)]),d(`div`,P,[(i(!0),m(c,null,a(H.value,e=>(i(),u(W,{key:e,filepath:e},null,8,[`filepath`]))),128))])],64)):(i(),m(`div`,F,` Not in use via auto import. `))])])]),default:l(()=>[d(`button`,{"hover:text-primary":``,class:r([t.metadata&&!V.value?`op30 hover:op100`:``,t.classes])},[d(`code`,w,[e(p(z.value)+` `,1),V.value&&t.counter?(i(),m(`sup`,T,`x`+p(V.value),1)):s(``,!0)]),t.isDirective?(i(),m(`sup`,E,[d(`abbr`,D,[h(y,{icon:`tabler:hexagon-letter-d`})])])):s(``,!0)],2)]),_:1},8,[`disabled`])}}}),L=Object.assign(I,{__name:`ComposableItem`});export{L as t};
@@ -0,0 +1 @@
1
+ import{$ as e,C as t,Ct as n,E as r,F as i,H as a,Mt as o,V as s,W as c,dt as l,g as u,h as d,lt as f,m as p,tn as m,v as h,w as g,xt as _}from"./vendor/json-editor-vue-jlmu1vk1.js";import{g as v,h as y}from"./ready-mmkdpbhg.js";import"./nuxt-h34yfo3l.js";import"./head-k6pu038r.js";import"./state-b65zn1p8.js";import{T as b,s as x,t as S,u as C}from"./client-ea5fdhj9.js";import"./vendor/shiki-jnavg768.js";import"./storage-options-os0x8zby.js";import{i as w,r as T}from"./dev-auth-jrf61eu0.js";import"./nuxt-link-lrojf3ui.js";import"./nicon-j0r9gdjm.js";import"./nbutton-m0kqfedx.js";import{t as E}from"./ncard-qqqgbjy9.js";import"./telemetry-pccqt90w.js";import{r as D}from"./state-tabs-jkd7jbwg.js";import{t as O}from"./npanel-grids-m4ogaoh1.js";import"./ntext-input-ozkk5xro.js";import{a as k}from"#entry";import"./client-lfu9nb62.js";import"./composables-k2ak4j8d.js";import"./nmarkdown-nsbirjtv.js";import{t as A}from"./launch-page-k1lwfnm2.js";var j=new Map,M=r({__name:`IframeView`,props:{tab:{}},setup(e){let t=e,r=S(),o=n(),l=p(()=>t.tab.name),u=n(),d=_(b(o));s(()=>{let e=t.tab.view,n=e.persistent!==!1,r=[`clipboard-write`,`clipboard-read`,...e.permissions||[]];if(j.get(l.value)&&n)u.value=j.get(l.value),u.value.style.visibility=`visible`;else{u.value=document.createElement(`iframe`),u.value.setAttribute(`allow`,r.join(`; `)),u.value.setAttribute(`aria-label`,`Nuxt Devtools`),n&&j.set(l.value,u.value),u.value.src=e.src;try{u.value.style.opacity=`0.01`,u.value.onload=()=>{v(),m(),u.value.style.opacity=`1`}}catch{u.value.style.opacity=`1`}document.body.appendChild(u.value),i(y)}setTimeout(m,100)}),f(y),f(m),f(v),a(()=>{u.value&&(u.value.style.visibility=`hidden`)});function m(){if(!(!u.value||!u.value.contentWindow))try{let e=u.value.contentWindow.document.querySelector(`html`);e?.classList.toggle(`dark`,r.value===`dark`),e?.classList.toggle(`light`,r.value===`dark`),new MutationObserver(()=>{r.value=u.value?.contentWindow?.document.querySelector(`html`)?.classList.contains(`dark`)?`dark`:`light`}).observe(e,{attributes:!0,attributeFilter:[`class`]})}catch{}}let g=x();function v(){if(!(!u.value||!u.value.contentWindow))try{u.value.contentWindow.__NUXT_DEVTOOLS__=g.value}catch{}}function y(){u.value&&Object.assign(u.value.style,{position:`fixed`,left:`${d.left}px`,top:`${d.top}px`,width:`${d.width}px`,height:`${d.height}px`,outline:`none`})}return(e,t)=>(c(),h(`div`,{ref_key:`anchor`,ref:o,"h-full":``,"w-full":``},null,512))}}),N=Object.assign(M,{__name:`IframeView`}),P={flex:`~ col gap2`,mxa:``,"items-center":``},F={"text-xl":``},I={"text-rose":``},L=r({__name:`custom-[name]`,props:{name:{}},setup(n){let r=n,i=y(),a=v(),f=p(()=>r.name??i.params.name),h=D(),_=p(()=>h.value.find(e=>e.name===f.value));return s(()=>{_.value?_.value.requireAuth&&!T.value&&w():setTimeout(()=>{_.value||a.push(`/modules/overview`)},2e3)}),(n,r)=>{let i=O,a=k,s=N,p=A,h=E;return _.value?_.value.requireAuth&&!o(T)?(c(),u(a,{key:1})):_.value.view.type===`iframe`?(c(),u(s,{key:2,tab:_.value},null,8,[`tab`])):_.value.view.type===`vnode`?(c(),u(e(_.value.view.vnode),{key:3})):_.value.view.type===`launch`?(c(),u(p,{key:4,name:`custom-${_.value.name}`,icon:_.value.view.icon||_.value.icon,title:_.value.view.title||_.value.title,description:_.value.view.description,actions:_.value.view.actions,onAction:r[0]||=e=>o(C).customTabAction(_.value.name,e)},null,8,[`name`,`icon`,`title`,`description`,`actions`])):(c(),u(i,{key:5},{default:l(()=>[g(h,{flex:`~ col`,"h-full":``,"items-center":``,"justify-center":``},{default:l(()=>[t(` Unknown tab type `+m(_.value.view),1)]),_:1})]),_:1})):(c(),u(i,{key:0},{default:l(()=>[d(`div`,P,[r[3]||=d(`div`,{"i-carbon-queued":``,mb2:``,"text-5xl":``,op50:``},null,-1),d(`p`,F,[r[1]||=t(` Tab `,-1),d(`code`,I,m(f.value),1),r[2]||=t(` not found `,-1)]),r[4]||=d(`p`,{op50:``},` It might because the module contributing this tab is not installed or enabled `,-1),r[5]||=d(`p`,{mt8:``,"animate-pulse":``},` Redirecting to overview page... `,-1)])]),_:1}))}}});export{L as default};
@@ -0,0 +1 @@
1
+ import{E as e,Q as t,W as n,ft as r,g as i}from"./vendor/json-editor-vue-jlmu1vk1.js";import{t as a}from"./nbutton-m0kqfedx.js";import{r as o}from"#entry";var s=e({__name:`DataSchemaButton`,props:{getter:{type:Function}},setup(e){let s=o();return(o,c)=>{let l=a,u=t(`tooltip`);return r((n(),i(l,{title:`Generate Data Schema`,icon:`carbon:container-services`,border:!1,onClick:c[0]||=t=>s.value=e.getter()},null,512)),[[u,`Generate Data Schema`]])}}}),c=Object.assign(s,{__name:`DataSchemaButton`});export{c as t};
@@ -0,0 +1,2 @@
1
+ import{Ct as e,E as t,Mt as n,W as r,Y as i,_ as a,c as o,ct as s,d as c,dt as l,g as u,h as d,m as f,tn as p,v as m,w as h}from"./vendor/json-editor-vue-jlmu1vk1.js";import"./ready-mmkdpbhg.js";import"./nuxt-h34yfo3l.js";import"./head-k6pu038r.js";import"./state-b65zn1p8.js";import{h as g}from"./client-ea5fdhj9.js";import"./vendor/shiki-jnavg768.js";import"./storage-options-os0x8zby.js";import"./dev-auth-jrf61eu0.js";import"./nuxt-link-lrojf3ui.js";import"./nicon-j0r9gdjm.js";import{t as _}from"./nbutton-m0kqfedx.js";import"./state-routes-ovtjymzc.js";import"./telemetry-pccqt90w.js";import{r as v,u as y}from"#entry";import{t as b}from"./nselect-ne66fzrs.js";import{t as x}from"./nswitch-abl34kow.js";import{t as S}from"./ndropdown-lkmzobqs.js";import"./client-lfu9nb62.js";import{t as C}from"./ncode-block-o9sq6td7.js";import{t as w}from"./ndrawer-ufyhcx08.js";import{n as T,t as E}from"./vendor/quicktype-core-jebn1o7i.js";var D=E(),O=T(),k={border:`b base`,flex:`~ items-center gap-2`,sticky:``,"left-0":``,"right-0":``,"top-0":``,"z-1":``,"bg-base":``,p3:``},A={key:0,flex:`~ items-center justify-center`,absolute:``,"bottom--1":``,"right--2":``,"h-4":``,"w-4":``,"rounded-full":``,"bg-lime:30":``,"text-8px":``},j={flex:`~ col`,"w-100":``,"of-auto":``,py2:``},M={"text-xs":``,capitalize:``,op75:``},N=t({__name:`DataSchemaDrawer`,setup(t){let T=v(),E=e(0),N=e(`TypeScript`),P=f(()=>O.all.find(e=>e.displayName===N.value)),F=e(P.value?.optionDefinitions.filter(e=>typeof e.defaultValue==`boolean`)),I=g(async()=>{if(E.value,!T.value)return``;let e=(0,D.jsonInputForTargetLanguage)(N.value);await e.addSource({name:T.value.name??`Data`,samples:[T.value.input]});let t=new D.InputData;return t.addInput(e),(await(0,D.quicktype)({inputData:t,lang:N.value,rendererOptions:F.value?.reduce((e,t)=>(e[t.name]=t.defaultValue,e),{})})).lines.join(`
2
+ `)}),L=f(()=>{let e=N.value.toLocaleLowerCase();return e.startsWith(`javascript`)?`javascript`:e.startsWith(`json`)?`json`:e.startsWith(`typescript`)?`typescript`:e});s(F,()=>{E.value++},{deep:!0}),s(N,()=>{F.value=P.value?.optionDefinitions.filter(e=>typeof e.defaultValue==`boolean`)});let R=y();function z(){R(I.value||``)}return(e,t)=>{let s=b,f=_,g=x,v=S,y=C,E=w;return P.value?(r(),u(c,{key:0,to:`body`},[h(E,{"model-value":!!n(T)?.input,"auto-close":``,"max-w-screen":``,"w-2xl":``,"n-code-block":``,onClose:t[2]||=e=>T.value=null},{default:l(()=>[d(`div`,k,[t[3]||=d(`p`,{"mr-2":``},` Schema `,-1),h(s,{modelValue:N.value,"onUpdate:modelValue":t[0]||=e=>N.value=e,n:`xs primary`},{default:l(()=>[(r(!0),m(o,null,i(n(O.all),e=>(r(),m(`option`,{key:e.displayName},p(e.displayName),1))),128))]),_:1},8,[`modelValue`]),F.value?.length?(r(),u(v,{key:0,n:`sm lime`},{trigger:l(({click:e})=>[h(f,{icon:`carbon-settings`,"h-full":``,onClick:t=>e()},null,8,[`onClick`]),F.value?(r(),m(`span`,A,p(F.value.length),1)):a(``,!0)]),default:l(()=>[d(`div`,j,[(r(!0),m(o,null,i(F.value,(e,t)=>(r(),u(g,{key:e.name,modelValue:F.value[t].defaultValue,"onUpdate:modelValue":e=>F.value[t].defaultValue=e,flex:`~ gap-2`,rounded:``,px2:``,py2:``},{default:l(()=>[d(`span`,M,p(e.description),1)]),_:2},1032,[`modelValue`,`onUpdate:modelValue`]))),128))])]),_:1})):a(``,!0),t[4]||=d(`div`,{"flex-auto":``},null,-1),h(f,{icon:`carbon-copy`,"mr-6":``,"h-full":``,onClick:t[1]||=e=>z()})]),n(I)?(r(),u(y,{key:0,lang:L.value,code:n(I)},null,8,[`lang`,`code`])):a(``,!0)]),_:1},8,[`model-value`])])):a(``,!0)}}}),P=Object.assign(N,{__name:`DataSchemaDrawer`});export{P as default};
@@ -0,0 +1 @@
1
+ import{C as e,Ct as t,E as n,Mt as r,Qt as i,W as a,X as o,Y as s,_ as c,c as l,dt as u,en as d,g as f,h as p,m,tn as h,v as g,w as _}from"./vendor/json-editor-vue-jlmu1vk1.js";import"./ready-mmkdpbhg.js";import"./nuxt-h34yfo3l.js";import"./head-k6pu038r.js";import{l as v}from"./state-b65zn1p8.js";import"./client-ea5fdhj9.js";import"./vendor/shiki-jnavg768.js";import"./storage-options-os0x8zby.js";import"./dev-auth-jrf61eu0.js";import"./nuxt-link-lrojf3ui.js";import"./nicon-j0r9gdjm.js";import{t as y}from"./nbutton-m0kqfedx.js";import"./state-routes-ovtjymzc.js";import"./telemetry-pccqt90w.js";import"./client-lfu9nb62.js";import{t as b}from"./ncode-block-o9sq6td7.js";import"./composables-k2ak4j8d.js";import{t as x}from"./ncheckbox-knbe2cxv.js";import{t as S}from"./filepath-item-e4nchqwg.js";import"./nicon-title-ggx25xp9.js";import{t as C}from"./nsection-block-dzbgwc4z.js";import{t as w}from"./nbadge-h59v1exj.js";import{t as T}from"./color-m9fh6h3t.js";var E=n({__name:`NBadgeHashed`,props:{text:{}},setup(t){let n=t,r=m(()=>({color:T(n.text,50,60),background:T(n.text,50,60,.05)}));return(n,i)=>(a(),f(w,{style:d(r.value)},{default:u(()=>[e(h(t.text),1),o(n.$slots,`default`)]),_:3},8,[`style`]))}}),D=Object.assign(E,{__name:`NBadgeHashed`}),O={flex:`~ gap-2 col`,mb4:``},k={flex:`~ gap-3 items-center`},A={key:0,flex:`~ gap-1`,"items-center":``,p1:``,border:`~ base rounded`},j={"max-w-full":``,"of-auto":``},M={"text-center":``,op50:``},N={flex:`~`,px4:``},P={key:0,op50:``},F={px2:``,"text-center":``},I={"of-auto":``},L=n({__name:`DebugModuleMutationRecords`,props:{moduleMutationRecords:{}},setup(e){let n=e;function r(e){return e.startsWith(`/`)||e.match(/^[a-z]:[\\/]/i)}let o=t(!1),d=t(!1),v=t(!1),C=t(!1),w=t(!1),T=t(``),E=m(()=>{let e=n.moduleMutationRecords;return o.value||(e=e.filter(e=>!e.name.startsWith(`nuxt:`)&&e.name!==`@nuxt/devtools`)),d.value||(e=e.filter(e=>e.keys.join(`.`)!==`build.templates`)),v.value||(e=e.filter(e=>e.keys.join(`.`)!==`build.transpile`)),C.value||(e=e.filter(e=>e.keys.join(`.`)!==`plugins`)),w.value||(e=e.filter(e=>e.method||e.value!==`[]`&&e.value!==`{}`)),T.value&&(e=e.filter(e=>e.name===T.value)),e});return(t,n)=>{let m=x,L=D,R=y,z=S,B=b;return a(),g(l,null,[p(`div`,O,[p(`div`,k,[_(m,{modelValue:o.value,"onUpdate:modelValue":n[0]||=e=>o.value=e,n:`primary`},{default:u(()=>[...n[6]||=[p(`span`,{"ws-nowrap":``,op75:``},`Builtin Modules`,-1)]]),_:1},8,[`modelValue`]),_(m,{modelValue:d.value,"onUpdate:modelValue":n[1]||=e=>d.value=e,n:`primary`},{default:u(()=>[...n[7]||=[p(`span`,{"ws-nowrap":``,op75:``},`Templates`,-1)]]),_:1},8,[`modelValue`]),_(m,{modelValue:v.value,"onUpdate:modelValue":n[2]||=e=>v.value=e,n:`primary`},{default:u(()=>[...n[8]||=[p(`span`,{"ws-nowrap":``,op75:``},`Transpile`,-1)]]),_:1},8,[`modelValue`]),_(m,{modelValue:C.value,"onUpdate:modelValue":n[3]||=e=>C.value=e,n:`primary`},{default:u(()=>[...n[9]||=[p(`span`,{"ws-nowrap":``,op75:``},`Plugins`,-1)]]),_:1},8,[`modelValue`]),_(m,{modelValue:w.value,"onUpdate:modelValue":n[4]||=e=>w.value=e,n:`primary`},{default:u(()=>[...n[10]||=[p(`span`,{"ws-nowrap":``,op75:``},`Empty Initial`,-1)]]),_:1},8,[`modelValue`]),T.value?(a(),g(`div`,A,[_(L,{"font-mono":``,text:T.value},null,8,[`text`]),_(R,{icon:`carbon-close`,border:!1,onClick:n[5]||=e=>T.value=``})])):c(``,!0)])]),p(`table`,j,[n[11]||=p(`thead`,{border:`b base`},[p(`tr`,null,[p(`th`,{"ws-nowrap":``,p1:``,"text-center":``,"font-bold":``},` Index `),p(`th`,{"ws-nowrap":``,p1:``,"text-center":``,"font-bold":``},` Module `),p(`th`,{"ws-nowrap":``,p1:``,"text-center":``,"font-bold":``},` Key Path `),p(`th`,{"ws-nowrap":``,p1:``,"text-center":``,"font-bold":``},` Method `),p(`th`,{"ws-nowrap":``,p1:``,"text-center":``,"font-bold":``},` Value `)])],-1),p(`tbody`,null,[(a(!0),g(l,null,s(E.value,t=>(a(),g(`tr`,{key:e.moduleMutationRecords.indexOf(t),border:`b dashed transparent hover:base`},[p(`td`,M,[p(`div`,null,h(e.moduleMutationRecords.indexOf(t)+1),1)]),p(`td`,null,[t.name&&r(t.name)?(a(),f(z,{key:0,filepath:t.name},null,8,[`filepath`])):(a(),f(L,{key:1,role:`button`,"font-mono":``,text:t.name,onClick:e=>T.value=t.name},null,8,[`text`,`onClick`]))]),p(`td`,null,[p(`code`,N,[(a(!0),g(l,null,s(t.keys,(e,n)=>(a(),g(l,{key:n},[p(`span`,null,h(e),1),n<t.keys.length-1?(a(),g(`span`,P,` . `)):c(``,!0)],64))),128))])]),p(`td`,F,[_(L,{"font-mono":``,text:t.method||`=`,class:i(t.method?``:`saturate-0`)},null,8,[`text`,`class`])]),p(`td`,I,[_(B,{code:String(t.value),lang:`ts`,"grammar-context-code":`let a = `,"ws-normal":``,"break-all":``,py1:``,lines:!1,inline:!0},null,8,[`code`])])]))),128))])])],64)}}}),R=Object.assign(L,{__name:`DebugModuleMutationRecords`}),z={key:0,p6:``},B={key:1},V=n({__name:`debug`,setup(e){let t=v();return(e,n)=>{let i=C;return r(t)?(a(),g(`div`,B,[_(i,{icon:`carbon-container-image-push-pull`,text:`Module Mutation Records`,description:`Records of module mutations to nuxt options`},{default:u(()=>[_(R,{"module-mutation-records":r(t).moduleMutationRecords||[]},null,8,[`module-mutation-records`])]),_:1})])):(a(),g(`div`,z,[...n[0]||=[p(`div`,null,`No Debug Context Found`,-1),p(`div`,null,"Set `debug: true` in your nuxt.config.ts to enable this panel",-1)]]))}}});export{V as default};
@@ -0,0 +1 @@
1
+ import{W as e,X as t,h as n,v as r}from"./vendor/json-editor-vue-jlmu1vk1.js";import{t as i}from"./_plugin-vue_export-helper-myijwyyb.js";var a={},o={"h-full":``,"of-auto":``,"n-panel-grids":``},s={"h-full":``,"bg-base":``};function c(i,a){return e(),r(`div`,o,[n(`div`,s,[t(i.$slots,`default`)])])}var l=i(a,[[`render`,c]]);export{l as default};
@@ -0,0 +1 @@
1
+ import{t as e}from"./rolldown-runtime-oipoa1or.js";import{Ct as t}from"./vendor/json-editor-vue-jlmu1vk1.js";import{B as n,_ as r,c as i,u as a}from"./client-ea5fdhj9.js";var o=e(((e,t)=>{(function(n,r){var i=``,a=`?`,o=`function`,s=`undefined`,c=`object`,l=`string`,u=`major`,d=`model`,f=`name`,p=`type`,m=`vendor`,h=`version`,g=`architecture`,_=`console`,v=`mobile`,y=`tablet`,b=`smarttv`,x=`wearable`,S=`embedded`,C=500,w=`Amazon`,T=`Apple`,E=`ASUS`,D=`BlackBerry`,O=`Browser`,k=`Chrome`,ee=`Edge`,A=`Firefox`,j=`Google`,M=`Huawei`,N=`LG`,P=`Microsoft`,F=`Motorola`,I=`Opera`,L=`Samsung`,R=`Sharp`,z=`Sony`,B=`Xiaomi`,V=`Zebra`,H=`Facebook`,U=`Chromium OS`,W=`Mac OS`,te=function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},G=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},K=function(e,t){return typeof e===l?q(t).indexOf(q(e))!==-1:!1},q=function(e){return e.toLowerCase()},ne=function(e){return typeof e===l?e.replace(/[^\d\.]/g,i).split(`.`)[0]:r},J=function(e,t){if(typeof e===l)return e=e.replace(/^\s\s*/,i),typeof t===s?e:e.substring(0,C)},Y=function(e,t){for(var n=0,i,a,s,l,u,d;n<t.length&&!u;){var f=t[n],p=t[n+1];for(i=a=0;i<f.length&&!u&&f[i];)if(u=f[i++].exec(e),u)for(s=0;s<p.length;s++)d=u[++a],l=p[s],typeof l===c&&l.length>0?l.length===2?typeof l[1]==o?this[l[0]]=l[1].call(this,d):this[l[0]]=l[1]:l.length===3?typeof l[1]===o&&!(l[1].exec&&l[1].test)?this[l[0]]=d?l[1].call(this,d,l[2]):r:this[l[0]]=d?d.replace(l[1],l[2]):r:l.length===4&&(this[l[0]]=d?l[3].call(this,d.replace(l[1],l[2])):r):this[l]=d||r;n+=2}},X=function(e,t){for(var n in t)if(typeof t[n]===c&&t[n].length>0){for(var i=0;i<t[n].length;i++)if(K(t[n][i],e))return n===a?r:n}else if(K(t[n],e))return n===a?r:n;return e},re={"1.0":`/8`,"1.2":`/1`,"1.3":`/3`,"2.0":`/412`,"2.0.2":`/416`,"2.0.3":`/417`,"2.0.4":`/419`,"?":`/`},ie={ME:`4.90`,"NT 3.11":`NT3.51`,"NT 4.0":`NT4.0`,2e3:`NT 5.0`,XP:[`NT 5.1`,`NT 5.2`],Vista:`NT 6.0`,7:`NT 6.1`,8:`NT 6.2`,"8.1":`NT 6.3`,10:[`NT 6.4`,`NT 10.0`],RT:`ARM`},ae={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[h,[f,`Chrome`]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[h,[f,`Edge`]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,h],[/opios[\/ ]+([\w\.]+)/i],[h,[f,I+` Mini`]],[/\bop(?:rg)?x\/([\w\.]+)/i],[h,[f,I+` GX`]],[/\bopr\/([\w\.]+)/i],[h,[f,I]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[h,[f,`Baidu`]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[f,h],[/\bddg\/([\w\.]+)/i],[h,[f,`DuckDuckGo`]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[h,[f,`UC`+O]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[h,[f,`WeChat`]],[/konqueror\/([\w\.]+)/i],[h,[f,`Konqueror`]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[h,[f,`IE`]],[/ya(?:search)?browser\/([\w\.]+)/i],[h,[f,`Yandex`]],[/slbrowser\/([\w\.]+)/i],[h,[f,`Smart Lenovo `+O]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,`$1 Secure `+O],h],[/\bfocus\/([\w\.]+)/i],[h,[f,A+` Focus`]],[/\bopt\/([\w\.]+)/i],[h,[f,I+` Touch`]],[/coc_coc\w+\/([\w\.]+)/i],[h,[f,`Coc Coc`]],[/dolfin\/([\w\.]+)/i],[h,[f,`Dolphin`]],[/coast\/([\w\.]+)/i],[h,[f,I+` Coast`]],[/miuibrowser\/([\w\.]+)/i],[h,[f,`MIUI `+O]],[/fxios\/([-\w\.]+)/i],[h,[f,A]],[/\bqihu|(qi?ho?o?|360)browser/i],[[f,`360 `+O]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[f,/(.+)/,`$1 `+O],h],[/samsungbrowser\/([\w\.]+)/i],[h,[f,L+` Internet`]],[/(comodo_dragon)\/([\w\.]+)/i],[[f,/_/g,` `],h],[/metasr[\/ ]?([\d\.]+)/i],[h,[f,`Sogou Explorer`]],[/(sogou)mo\w+\/([\d\.]+)/i],[[f,`Sogou Mobile`],h],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[f,h],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,H],h],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[f,h],[/\bgsa\/([\w\.]+) .*safari\//i],[h,[f,`GSA`]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[h,[f,`TikTok`]],[/headlesschrome(?:\/([\w\.]+)| )/i],[h,[f,k+` Headless`]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,k+` WebView`],h],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[h,[f,`Android `+O]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,h],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[h,[f,`Mobile Safari`]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[h,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[h,X,re]],[/(webkit|khtml)\/([\w\.]+)/i],[f,h],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,`Netscape`],h],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[h,[f,A+` Reality`]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[f,h],[/(cobalt)\/([\w\.]+)/i],[f,[h,/master.|lts./,``]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[g,`amd64`]],[/(ia32(?=;))/i],[[g,q]],[/((?:i[346]|x)86)[;\)]/i],[[g,`ia32`]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[g,`arm64`]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[g,`armhf`]],[/windows (ce|mobile); ppc;/i],[[g,`arm`]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[g,/ower/,i,q]],[/(sun4\w)[;\)]/i],[[g,`sparc`]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[g,q]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[m,L],[p,y]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[m,L],[p,v]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[m,T],[p,v]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[m,T],[p,y]],[/(macintosh);/i],[d,[m,T]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[m,R],[p,v]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[m,M],[p,y]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[m,M],[p,v]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g,` `],[m,B],[p,v]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g,` `],[m,B],[p,y]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[m,`OPPO`],[p,v]],[/\b(opd2\d{3}a?) bui/i],[d,[m,`OPPO`],[p,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[m,`Vivo`],[p,v]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[m,`Realme`],[p,v]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[m,F],[p,v]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[m,F],[p,y]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[m,N],[p,y]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[m,N],[p,v]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[m,`Lenovo`],[p,y]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g,` `],[m,`Nokia`],[p,v]],[/(pixel c)\b/i],[d,[m,j],[p,y]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[m,j],[p,v]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[m,z],[p,v]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,`Xperia Tablet`],[m,z],[p,y]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[m,`OnePlus`],[p,v]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[m,w],[p,y]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,`Fire Phone $1`],[m,w],[p,v]],[/(playbook);[-\w\),; ]+(rim)/i],[d,m,[p,y]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[m,D],[p,v]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[m,E],[p,y]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[m,E],[p,v]],[/(nexus 9)/i],[d,[m,`HTC`],[p,y]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[m,[d,/_/g,` `],[p,v]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[m,`Acer`],[p,y]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[m,`Meizu`],[p,v]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[m,`Ulefone`],[p,v]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[m,d,[p,v]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[m,d,[p,y]],[/(surface duo)/i],[d,[m,P],[p,y]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[m,`Fairphone`],[p,v]],[/(u304aa)/i],[d,[m,`AT&T`],[p,v]],[/\bsie-(\w*)/i],[d,[m,`Siemens`],[p,v]],[/\b(rct\w+) b/i],[d,[m,`RCA`],[p,y]],[/\b(venue[\d ]{2,7}) b/i],[d,[m,`Dell`],[p,y]],[/\b(q(?:mv|ta)\w+) b/i],[d,[m,`Verizon`],[p,y]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[m,`Barnes & Noble`],[p,y]],[/\b(tm\d{3}\w+) b/i],[d,[m,`NuVision`],[p,y]],[/\b(k88) b/i],[d,[m,`ZTE`],[p,y]],[/\b(nx\d{3}j) b/i],[d,[m,`ZTE`],[p,v]],[/\b(gen\d{3}) b.+49h/i],[d,[m,`Swiss`],[p,v]],[/\b(zur\d{3}) b/i],[d,[m,`Swiss`],[p,y]],[/\b((zeki)?tb.*\b) b/i],[d,[m,`Zeki`],[p,y]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[m,`Dragon Touch`],d,[p,y]],[/\b(ns-?\w{0,9}) b/i],[d,[m,`Insignia`],[p,y]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[m,`NextBook`],[p,y]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[m,`Voice`],d,[p,v]],[/\b(lvtel\-)?(v1[12]) b/i],[[m,`LvTel`],d,[p,v]],[/\b(ph-1) /i],[d,[m,`Essential`],[p,v]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[m,`Envizen`],[p,y]],[/\b(trio[-\w\. ]+) b/i],[d,[m,`MachSpeed`],[p,y]],[/\btu_(1491) b/i],[d,[m,`Rotor`],[p,y]],[/(shield[\w ]+) b/i],[d,[m,`Nvidia`],[p,y]],[/(sprint) (\w+)/i],[m,d,[p,v]],[/(kin\.[onetw]{3})/i],[[d,/\./g,` `],[m,P],[p,v]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[m,V],[p,y]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[m,V],[p,v]],[/smart-tv.+(samsung)/i],[m,[p,b]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,`SmartTV`],[m,L],[p,b]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[m,N],[p,b]],[/(apple) ?tv/i],[m,[d,T+` TV`],[p,b]],[/crkey/i],[[d,k+`cast`],[m,j],[p,b]],[/droid.+aft(\w+)( bui|\))/i],[d,[m,w],[p,b]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[m,R],[p,b]],[/(bravia[\w ]+)( bui|\))/i],[d,[m,z],[p,b]],[/(mitv-\w{5}) bui/i],[d,[m,B],[p,b]],[/Hbbtv.*(technisat) (.*);/i],[m,d,[p,b]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[m,J],[d,J],[p,b]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,b]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[m,d,[p,_]],[/droid.+; (shield) bui/i],[d,[m,`Nvidia`],[p,_]],[/(playstation [345portablevi]+)/i],[d,[m,z],[p,_]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[m,P],[p,_]],[/((pebble))app/i],[m,d,[p,x]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[m,T],[p,x]],[/droid.+; (glass) \d/i],[d,[m,j],[p,x]],[/droid.+; (wt63?0{2,3})\)/i],[d,[m,V],[p,x]],[/(quest( \d| pro)?)/i],[d,[m,H],[p,x]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[m,[p,S]],[/(aeobc)\b/i],[d,[m,w],[p,S]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[p,v]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[p,y]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,y]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,v]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[m,`Generic`]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[h,[f,ee+`HTML`]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[h,[f,`Blink`]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[f,h],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[h,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,h],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[f,[h,X,ie]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[h,X,ie],[f,`Windows`]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[h,/_/g,`.`],[f,`iOS`]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,W],[h,/_/g,`.`]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[h,f],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[f,h],[/\(bb(10);/i],[h,[f,D]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[h,[f,`Symbian`]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[h,[f,A+` OS`]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[h,[f,`webOS`]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[h,[f,`watchOS`]],[/crkey\/([\d\.]+)/i],[h,[f,k+`cast`]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,U],h],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[f,h],[/(sunos) ?([\w\.\d]*)/i],[[f,`Solaris`],h],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[f,h]]},Z=function(e,t){if(typeof e===c&&(t=e,e=r),!(this instanceof Z))return new Z(e,t).getResult();var a=typeof n!==s&&n.navigator?n.navigator:r,_=e||(a&&a.userAgent?a.userAgent:i),b=a&&a.userAgentData?a.userAgentData:r,x=t?te(ae,t):ae,S=a&&a.userAgent==_;return this.getBrowser=function(){var e={};return e[f]=r,e[h]=r,Y.call(e,_,x.browser),e[u]=ne(e[h]),S&&a&&a.brave&&typeof a.brave.isBrave==o&&(e[f]=`Brave`),e},this.getCPU=function(){var e={};return e[g]=r,Y.call(e,_,x.cpu),e},this.getDevice=function(){var e={};return e[m]=r,e[d]=r,e[p]=r,Y.call(e,_,x.device),S&&!e[p]&&b&&b.mobile&&(e[p]=v),S&&e[d]==`Macintosh`&&a&&typeof a.standalone!==s&&a.maxTouchPoints&&a.maxTouchPoints>2&&(e[d]=`iPad`,e[p]=y),e},this.getEngine=function(){var e={};return e[f]=r,e[h]=r,Y.call(e,_,x.engine),e},this.getOS=function(){var e={};return e[f]=r,e[h]=r,Y.call(e,_,x.os),S&&!e[f]&&b&&b.platform&&b.platform!=`Unknown`&&(e[f]=b.platform.replace(/chrome os/i,U).replace(/macos/i,W)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return _},this.setUA=function(e){return _=typeof e===l&&e.length>C?J(e,C):e,this},this.setUA(_),this};Z.BROWSER=G([f,h,u]),Z.CPU=G([g]),Z.DEVICE=G([d,m,p,_,v,b,y,x,S]),Z.ENGINE=Z.OS=G([f,h]),typeof e===s?typeof define===o&&define.amd?define(function(){return Z}):typeof n!==s&&(n.UAParser=Z):(typeof t!==s&&t.exports&&(e=t.exports=Z),e.UAParser=Z);var Q=typeof n!==s&&(n.jQuery||n.Zepto);if(Q&&!Q.ua){var $=new Z;Q.ua=$.getResult(),Q.ua.get=function(){return $.getUA()},Q.ua.set=function(e){$.setUA(e);var t=$.getResult();for(var n in t)Q.ua[n]=t[n]}}})(typeof window==`object`?window:e)}));const s=r(),c=r();function l(){return i(`devtools:restart-dialogs`,()=>[])}var u;function d(e){u?.(e)}function f(e){u=e}var p=o();const m=t(localStorage.getItem(`__nuxt_dev_token__`)),h=t(!1);var g=new BroadcastChannel(`__nuxt_dev_token__`);g.addEventListener(`message`,e=>{if(e.data.event===`new-token`){if(e.data.data===m.value)return;let t=e.data.data;a.verifyAuthToken(t).then(e=>{m.value=e?t:null,h.value=e})}});function _(e){m.value=e,h.value=!0,localStorage.setItem(`__nuxt_dev_token__`,e),g.postMessage({event:`new-token`,data:e})}async function v(){if(h.value)return m.value;if(m.value||await x(),h.value=await a.verifyAuthToken(m.value),!h.value)throw m.value=null,d({message:`Invalid auth token, action canceled`,icon:`i-carbon-warning-alt`,classes:`text-red`}),await x(),Error(`[Nuxt DevTools] Invalid auth token`);return m.value}const y=new p.UAParser(navigator.userAgent).getResult();async function b(){let e=[y.browser.name,y.browser.version,`|`,y.os.name,y.os.version,y.device.type].filter(e=>e).join(` `);return await a.requestForAuth(e,window.location.origin)}async function x(){if(m.value||b(),await Promise.race([c.start(),n(m.value).toBeTruthy()])===!1)throw d({message:`Action canceled`,icon:`carbon-close`,classes:`text-orange`}),Error(`[Nuxt DevTools] User canceled auth`)}export{_ as a,d as c,l as d,b as i,c as l,v as n,y as o,h as r,f as s,m as t,s as u};
@@ -0,0 +1 @@
1
+ var e=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,t=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,n=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function r(e,t){if(e===`__proto__`||e===`constructor`&&t&&typeof t==`object`&&`prototype`in t){i(e);return}return t}function i(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function a(i,a={}){if(typeof i!=`string`)return i;if(i[0]===`"`&&i[i.length-1]===`"`&&i.indexOf(`\\`)===-1)return i.slice(1,-1);let o=i.trim();if(o.length<=9)switch(o.toLowerCase()){case`true`:return!0;case`false`:return!1;case`undefined`:return;case`null`:return null;case`nan`:return NaN;case`infinity`:return 1/0;case`-infinity`:return-1/0}if(!n.test(i)){if(a.strict)throw SyntaxError(`[destr] Invalid JSON`);return i}try{if(e.test(i)||t.test(i)){if(a.strict)throw Error(`[destr] Possible prototype pollution`);return JSON.parse(i,r)}return JSON.parse(i)}catch(e){if(a.strict)throw e;return i}}String.fromCharCode;var o=/#/g,s=/&/g,c=/\//g,l=/=/g,u=/\?/g,d=/\+/g,f=/%5e/gi,p=/%60/gi,m=/%7c/gi,h=/%20/gi,g=/%2f/gi,_=/%252f/gi;function v(e){return encodeURI(``+e).replace(m,`|`)}function y(e){return v(typeof e==`string`?e:JSON.stringify(e)).replace(d,`%2B`).replace(h,`+`).replace(o,`%23`).replace(s,`%26`).replace(p,"`").replace(f,`^`).replace(c,`%2F`)}function b(e){return y(e).replace(l,`%3D`)}function x(e){return v(e).replace(o,`%23`).replace(u,`%3F`).replace(_,`%2F`).replace(s,`%26`).replace(d,`%2B`)}function S(e=``){try{return decodeURIComponent(``+e)}catch{return``+e}}function C(e){return S(e.replace(g,`%252F`))}function w(e){return S(e.replace(d,` `))}function T(e){return S(e.replace(d,` `))}function E(e=``){let t=Object.create(null);e[0]===`?`&&(e=e.slice(1));for(let n of e.split(`&`)){let e=n.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;let r=w(e[1]);if(r===`__proto__`||r===`constructor`)continue;let i=T(e[2]||``);t[r]===void 0?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]}return t}function D(e,t){return(typeof t==`number`||typeof t==`boolean`)&&(t=String(t)),t?Array.isArray(t)?t.map(t=>`${b(e)}=${y(t)}`).join(`&`):`${b(e)}=${y(t)}`:b(e)}function O(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>D(t,e[t])).filter(Boolean).join(`&`)}var k=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,A=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,j=/^([/\\]\s*){2,}[^/\\]/,M=/^[\s\0]*(blob|data|javascript|vbscript):$/i,N=/\/$|\/\?|\/#/,P=/^\.?\//;function F(e,t={}){return typeof t==`boolean`&&(t={acceptRelative:t}),t.strict?k.test(e):A.test(e)||(t.acceptRelative?j.test(e):!1)}function I(e){return!!e&&M.test(e)}function L(e=``,t){return t?N.test(e):e.endsWith(`/`)}function R(e=``,t){if(!t)return(L(e)?e.slice(0,-1):e)||`/`;if(!L(e,!0))return e||`/`;let n=e,r=``,i=e.indexOf(`#`);i!==-1&&(n=e.slice(0,i),r=e.slice(i));let[a,...o]=n.split(`?`);return((a.endsWith(`/`)?a.slice(0,-1):a)||`/`)+(o.length>0?`?${o.join(`?`)}`:``)+r}function z(e=``,t){if(!t)return e.endsWith(`/`)?e:e+`/`;if(L(e,!0))return e||`/`;let n=e,r=``,i=e.indexOf(`#`);if(i!==-1&&(n=e.slice(0,i),r=e.slice(i),!n))return r;let[a,...o]=n.split(`?`);return a+`/`+(o.length>0?`?${o.join(`?`)}`:``)+r}function B(e,t){if(U(t)||F(e))return e;let n=R(t);if(e.startsWith(n)){let t=e[n.length];if(!t||t===`/`||t===`?`)return e}return G(n,e)}function V(e,t){if(U(t))return e;let n=R(t);if(!e.startsWith(n))return e;let r=e[n.length];if(r&&r!==`/`&&r!==`?`)return e;let i=e.slice(n.length);return i[0]===`/`?i:`/`+i}function H(e,t){let n=Y(e);return n.search=O({...E(n.search),...t}),Z(n)}function U(e){return!e||e===`/`}function W(e){return e&&e!==`/`}function G(e,...t){let n=e||``;for(let e of t.filter(e=>W(e)))if(n){let t=e.replace(P,``);n=z(n)+t}else n=e;return n}function K(...e){let t=/\/(?!\/)/,n=e.filter(Boolean),r=[],i=0;for(let e of n)if(!(!e||e===`/`)){for(let[n,a]of e.split(t).entries())if(!(!a||a===`.`)){if(a===`..`){if(r.length===1&&F(r[0]))continue;r.pop(),i--;continue}if(n===1&&r[r.length-1]?.endsWith(`:/`)){r[r.length-1]+=`/`+a;continue}r.push(a),i++}}let a=r.join(`/`);return i>=0?n[0]?.startsWith(`/`)&&!a.startsWith(`/`)?a=`/`+a:n[0]?.startsWith(`./`)&&!a.startsWith(`./`)&&(a=`./`+a):a=`../`.repeat(-1*i)+a,n[n.length-1]?.endsWith(`/`)&&!a.endsWith(`/`)&&(a+=`/`),a}function q(e,t){return S(R(e))===S(R(t))}var J=Symbol.for(`ufo:protocolRelative`);function Y(e=``,t){let n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){let[,e,t=``]=n;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:``,host:``,search:``,hash:``}}if(!F(e,{acceptRelative:!0}))return t?Y(t+e):X(e);let[,r=``,i,a=``]=e.replace(/\\/g,`/`).match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,o=``,s=``]=a.match(/([^#/?]*)(.*)?/)||[];r===`file:`&&(s=s.replace(/\/(?=[A-Za-z]:)/,``));let{pathname:c,search:l,hash:u}=X(s);return{protocol:r.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):``,host:o,pathname:c,search:l,hash:u,[J]:!r}}function X(e=``){let[t=``,n=``,r=``]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Z(e){let t=e.pathname||``,n=e.search?(e.search.startsWith(`?`)?``:`?`)+e.search:``,r=e.hash||``,i=e.auth?e.auth+`@`:``,a=e.host||``;return(e.protocol||e[J]?(e.protocol||``)+`//`:``)+i+a+t+n+r}export{I as a,E as c,H as d,z as f,a as h,q as i,Y as l,R as m,x as n,K as o,V as p,F as r,G as s,C as t,B as u};
@@ -0,0 +1 @@
1
+ import{r as e}from"./rolldown-runtime-oipoa1or.js";import{d as t,h as n,u as r}from"./dist-h291wass.js";var i=class extends Error{constructor(e,t){super(e,t),this.name=`FetchError`,t?.cause&&!this.cause&&(this.cause=t.cause)}};function a(e){let t=e.error?.message||e.error?.toString()||``,n=e.request?.method||e.options?.method||`GET`,r=e.request?.url||String(e.request)||`/`,a=new i(`${`[${n}] ${JSON.stringify(r)}`}: ${e.response?`${e.response.status} ${e.response.statusText}`:`<no response>`}${t?` ${t}`:``}`,e.error?{cause:e.error}:void 0);for(let t of[`request`,`options`,`response`])Object.defineProperty(a,t,{get(){return e[t]}});for(let[t,n]of[[`data`,`_data`],[`status`,`status`],[`statusCode`,`status`],[`statusText`,`statusText`],[`statusMessage`,`statusText`]])Object.defineProperty(a,t,{get(){return e.response&&e.response[n]}});return a}var o=new Set(Object.freeze([`PATCH`,`POST`,`PUT`,`DELETE`]));function s(e=`GET`){return o.has(e.toUpperCase())}function c(e){if(e===void 0)return!1;let t=typeof e;return t===`string`||t===`number`||t===`boolean`||t===null?!0:t===`object`?Array.isArray(e)?!0:e.buffer||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name===`Object`||typeof e.toJSON==`function`:!1}var l=new Set([`image/svg`,`application/xml`,`application/xhtml`,`application/html`]),u=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function d(e=``){if(!e)return`json`;let t=e.split(`;`).shift()||``;return u.test(t)?`json`:t===`text/event-stream`?`stream`:l.has(t)||t.startsWith(`text/`)?`text`:`blob`}function f(e,t,n,r){let i=p(t?.headers??e?.headers,n?.headers,r),a;return(n?.query||n?.params||t?.params||t?.query)&&(a={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:a,params:a,headers:i}}function p(e,t,n){if(!t)return new n(e);let r=new n(t);if(e)for(let[t,i]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(t,i);return r}async function m(e,t){if(t)if(Array.isArray(t))for(let n of t)await n(e);else await t(e)}var h=new Set([408,409,425,429,500,502,503,504]),g=new Set([101,204,205,304]);function _(e={}){let{fetch:i=globalThis.fetch,Headers:o=globalThis.Headers,AbortController:l=globalThis.AbortController}=e;async function u(e){let t=e.error&&e.error.name===`AbortError`&&!e.options.timeout||!1;if(e.options.retry!==!1&&!t){let t;t=typeof e.options.retry==`number`?e.options.retry:s(e.options.method)?0:1;let n=e.response&&e.response.status||500;if(t>0&&(Array.isArray(e.options.retryStatusCodes)?e.options.retryStatusCodes.includes(n):h.has(n))){let n=typeof e.options.retryDelay==`function`?e.options.retryDelay(e):e.options.retryDelay||0;return n>0&&await new Promise(e=>setTimeout(e,n)),p(e.request,{...e.options,retry:t-1})}}let n=a(e);throw Error.captureStackTrace&&Error.captureStackTrace(n,p),n}let p=async function(a,p={}){let h={request:a,options:f(a,p,e.defaults,o),response:void 0,error:void 0};if(h.options.method&&(h.options.method=h.options.method.toUpperCase()),h.options.onRequest&&(await m(h,h.options.onRequest),h.options.headers instanceof o||(h.options.headers=new o(h.options.headers||{}))),typeof h.request==`string`&&(h.options.baseURL&&(h.request=r(h.request,h.options.baseURL)),h.options.query&&(h.request=t(h.request,h.options.query),delete h.options.query),`query`in h.options&&delete h.options.query,`params`in h.options&&delete h.options.params),h.options.body&&s(h.options.method))if(c(h.options.body)){let e=h.options.headers.get(`content-type`);typeof h.options.body!=`string`&&(h.options.body=e===`application/x-www-form-urlencoded`?new URLSearchParams(h.options.body).toString():JSON.stringify(h.options.body)),e||h.options.headers.set(`content-type`,`application/json`),h.options.headers.has(`accept`)||h.options.headers.set(`accept`,`application/json`)}else (`pipeTo`in h.options.body&&typeof h.options.body.pipeTo==`function`||typeof h.options.body.pipe==`function`)&&(`duplex`in h.options||(h.options.duplex=`half`));let _;if(!h.options.signal&&h.options.timeout){let e=new l;_=setTimeout(()=>{let t=Error(`[TimeoutError]: The operation was aborted due to timeout`);t.name=`TimeoutError`,t.code=23,e.abort(t)},h.options.timeout),h.options.signal=e.signal}try{h.response=await i(h.request,h.options)}catch(e){return h.error=e,h.options.onRequestError&&await m(h,h.options.onRequestError),await u(h)}finally{_&&clearTimeout(_)}if((h.response.body||h.response._bodyInit)&&!g.has(h.response.status)&&h.options.method!==`HEAD`){let e=(h.options.parseResponse?`json`:h.options.responseType)||d(h.response.headers.get(`content-type`)||``);switch(e){case`json`:{let e=await h.response.text(),t=h.options.parseResponse||n;h.response._data=t(e);break}case`stream`:h.response._data=h.response.body||h.response._bodyInit;break;default:h.response._data=await h.response[e]()}}return h.options.onResponse&&await m(h,h.options.onResponse),!h.options.ignoreResponseError&&h.response.status>=400&&h.response.status<600?(h.options.onResponseError&&await m(h,h.options.onResponseError),await u(h)):h.response},v=async function(e,t){return(await p(e,t))._data};return v.raw=p,v.native=(...e)=>i(...e),v.create=(t={},n={})=>_({...e,...n,defaults:{...e.defaults,...n.defaults,...t}}),v}var v=e({$fetch:()=>w,AbortController:()=>S,Headers:()=>x,createFetch:()=>_,fetch:()=>b,ofetch:()=>C}),y=(function(){if(typeof globalThis<`u`)return globalThis;if(typeof self<`u`)return self;if(typeof window<`u`)return window;if(typeof global<`u`)return global;throw Error(`unable to locate global object`)})(),b=y.fetch?(...e)=>y.fetch(...e):()=>Promise.reject(Error(`[ofetch] global.fetch is not supported!`)),x=y.Headers,S=y.AbortController,C=_({fetch:b,Headers:x,AbortController:S}),w=C;export{v as n,w as t};