@nuxt/devtools-nightly 3.1.1-29462902.5c4a0b0 → 3.1.1-29466841.3662836
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/module-main.mjs +3 -3
- package/dist/client/200.html +1 -1
- package/dist/client/404.html +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/8a33d1a0-2935-40b7-b57a-745f0e7f6d89.json +1 -0
- package/dist/client/_nuxt/{bw1dti8j.js → e25zwu7j.js} +2 -2
- package/dist/client/_nuxt/{overview-igybsiq2.js → overview-l0h0gbyw.js} +1 -1
- package/dist/client/_nuxt/vendor/unocss-fsdvaf0h.js +1 -1
- package/dist/client/index.html +1 -1
- package/dist/module.json +1 -1
- package/package.json +3 -4
- package/dist/client/_nuxt/builds/meta/6c475c27-2710-410b-baf2-788ee88c8b1a.json +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as e,G as t,Nt as n,T as r,_ as i,ft as a,g as o,h as s,l as c,nn as l,v as u,w as d,y as f}from"./vendor/json-editor-vue-ml09by3o.js";import"./vendor/shiki-01pv02w7.js";import{A as ee,D as te,It as p,Nn as m,Pt as h,Wt as g,dt as _,en as ne,f as v,ft as y,i as b,k as x,m as S,st as C,tn as w,wt as T,yt as E}from"#entry";import"./client-mfzdkims.js";import"./ncode-block-kdtjcgup.js";import{t as D}from"./composables-g8w9dpc0.js";import"./ncheckbox-btor8x5f.js";import"./nbadge-be0uvjcc.js";import{t as O}from"./state-components-eaxfnxiz.js";import{r as k,t as A}from"./state-modules-mrgxz57s.js";var j={key:0},M={key:1,flex:`~ col gap2`,ma:``,"h-full":``,"max-w-300":``,"w-full":``,p5:``,px5:``,"md:px20":``},N={flex:`~ col`,"mt-5":``,"items-center":``,"md:mt-20":``},P={op40:``},F={flex:`~ gap2 wrap`},I={key:5,"pointer-events-none":``,"min-w-40":``,"theme-card-lime":``,p4:``,flex:`~ auto gap-6`},L={grid:`~ cols-[auto_auto] gap-x-5 items-center`},R={"text-right":``},z={"text-right":``},B={"text-right":``},re={"text-right":``},V={flex:`~ col gap2`},H={flex:`~ gap-6 wrap`,"mt-5":``,"items-center":``,"justify-center":``},U={flex:`col gap-2`,mxa:``,hidden:``,"w-100":``,"text-sm":``,op50:``,"md:flex":``},W={flex:`~ gap-1`,"items-center":``},G={flex:`~ gap-1`,"items-center":``},K=e({__name:`overview`,setup(e){let D=w(),K=T(),q=O(),J=E(),Y=A(),X=S(),Z=p(),ie=m();function ae(){C.value=!0,ie.push(`/`)}let Q=s(()=>D.value?.nuxt.vueApp.version),$=s(()=>D.value?.metrics.loading());function oe(){_()}return(e,s)=>{let p=b,m=ee,_=k,S=te,C=x,w=v;return t(),i(w,{"h-screen":``,"w-full":``,flex:``},{default:a(()=>[n(K)?(t(),f(`div`,M,[s[40]||=o(`div`,{"flex-auto":``},null,-1),o(`div`,N,[r(m,{flex:`~`,"mt--10":``,"items-center":``,"justify-center":``,to:`https://devtools.nuxt.com/`,target:`_blank`},{default:a(()=>[r(p,{"h-10":``})]),_:1}),o(`button`,{mb6:``,mt3:``,"text-center":``,"text-sm":``,flex:`~ gap-1 wrap`,onClick:ae},[s[0]||=o(`span`,{op40:``},` Nuxt DevTools `,-1),o(`code`,P,`v`+l(n(`3.1.1-
|
|
1
|
+
import{D as e,G as t,Nt as n,T as r,_ as i,ft as a,g as o,h as s,l as c,nn as l,v as u,w as d,y as f}from"./vendor/json-editor-vue-ml09by3o.js";import"./vendor/shiki-01pv02w7.js";import{A as ee,D as te,It as p,Nn as m,Pt as h,Wt as g,dt as _,en as ne,f as v,ft as y,i as b,k as x,m as S,st as C,tn as w,wt as T,yt as E}from"#entry";import"./client-mfzdkims.js";import"./ncode-block-kdtjcgup.js";import{t as D}from"./composables-g8w9dpc0.js";import"./ncheckbox-btor8x5f.js";import"./nbadge-be0uvjcc.js";import{t as O}from"./state-components-eaxfnxiz.js";import{r as k,t as A}from"./state-modules-mrgxz57s.js";var j={key:0},M={key:1,flex:`~ col gap2`,ma:``,"h-full":``,"max-w-300":``,"w-full":``,p5:``,px5:``,"md:px20":``},N={flex:`~ col`,"mt-5":``,"items-center":``,"md:mt-20":``},P={op40:``},F={flex:`~ gap2 wrap`},I={key:5,"pointer-events-none":``,"min-w-40":``,"theme-card-lime":``,p4:``,flex:`~ auto gap-6`},L={grid:`~ cols-[auto_auto] gap-x-5 items-center`},R={"text-right":``},z={"text-right":``},B={"text-right":``},re={"text-right":``},V={flex:`~ col gap2`},H={flex:`~ gap-6 wrap`,"mt-5":``,"items-center":``,"justify-center":``},U={flex:`col gap-2`,mxa:``,hidden:``,"w-100":``,"text-sm":``,op50:``,"md:flex":``},W={flex:`~ gap-1`,"items-center":``},G={flex:`~ gap-1`,"items-center":``},K=e({__name:`overview`,setup(e){let D=w(),K=T(),q=O(),J=E(),Y=A(),X=S(),Z=p(),ie=m();function ae(){C.value=!0,ie.push(`/`)}let Q=s(()=>D.value?.nuxt.vueApp.version),$=s(()=>D.value?.metrics.loading());function oe(){_()}return(e,s)=>{let p=b,m=ee,_=k,S=te,C=x,w=v;return t(),i(w,{"h-screen":``,"w-full":``,flex:``},{default:a(()=>[n(K)?(t(),f(`div`,M,[s[40]||=o(`div`,{"flex-auto":``},null,-1),o(`div`,N,[r(m,{flex:`~`,"mt--10":``,"items-center":``,"justify-center":``,to:`https://devtools.nuxt.com/`,target:`_blank`},{default:a(()=>[r(p,{"h-10":``})]),_:1}),o(`button`,{mb6:``,mt3:``,"text-center":``,"text-sm":``,flex:`~ gap-1 wrap`,onClick:ae},[s[0]||=o(`span`,{op40:``},` Nuxt DevTools `,-1),o(`code`,P,`v`+l(n(`3.1.1-29466841.3662836`)),1),r(_,{"package-name":`@nuxt/devtools`,options:{dev:!0},"show-version":!1})])]),o(`div`,F,[r(m,{to:`https://nuxt.com`,target:`_blank`,"theme-card-green":``,p4:``,flex:`~ col auto`},{default:a(()=>[s[1]||=o(`div`,{"logos-nuxt-icon":``,"text-3xl":``},null,-1),r(_,{"package-name":`nuxt`,options:{dev:!0}})]),_:1}),Q.value?(t(),i(m,{key:0,to:`https://vuejs.org`,target:`_blank`,"theme-card-green":``,p4:``,flex:`~ col auto`},{default:a(()=>[s[2]||=o(`div`,{"logos-vue":``,"text-3xl":``},null,-1),o(`code`,null,`v`+l(Q.value),1)]),_:1})):u(``,!0),n(K)?(t(),f(c,{key:1},[n(K)&&n(K).pages&&n(D)?(t(),i(m,{key:0,"min-w-40":``,"theme-card-lime":``,p4:``,flex:`~ col auto`,to:`/modules/pages`},{default:a(()=>[s[3]||=o(`div`,{"carbon-tree-view-alt":``,"text-3xl":``},null,-1),o(`div`,null,l(n(g)(n(X).length,`page`)),1)]),_:1})):u(``,!0),n(K)?(t(),i(m,{key:1,"min-w-40":``,"theme-card-lime":``,p4:``,flex:`~ col auto`,to:`/modules/components`},{default:a(()=>[s[4]||=o(`div`,{"i-carbon-assembly-cluster":``,"text-3xl":``},null,-1),o(`div`,null,l(n(g)(n(q).length,`component`)),1)]),_:1})):u(``,!0),n(K)&&n(J)?(t(),i(m,{key:2,"min-w-40":``,"theme-card-yellow":``,p4:``,flex:`~ col auto`,to:`/modules/imports`},{default:a(()=>[s[5]||=o(`div`,{"carbon-function":``,"text-3xl":``},null,-1),o(`div`,null,l(n(g)(n(J).imports.length,`import`)),1)]),_:1})):u(``,!0),n(K)?(t(),i(m,{key:3,"min-w-40":``,"theme-card-purple":``,p4:``,flex:`~ col auto`,to:`/modules/modules`},{default:a(()=>[s[6]||=o(`div`,{"carbon-3d-mpr-toggle":``,"text-3xl":``},null,-1),o(`div`,null,l(n(g)(n(Y).length,`module`)),1)]),_:1})):u(``,!0),n(K)?(t(),i(m,{key:4,"min-w-40":``,"theme-card-teal":``,p4:``,flex:`~ col auto`,to:`/modules/plugins`},{default:a(()=>[s[7]||=o(`div`,{"carbon-plug":``,"text-3xl":``},null,-1),o(`div`,null,l(n(g)(n(K).plugins.length,`plugin`)),1)]),_:1})):u(``,!0),$.value?(t(),f(`div`,I,[s[12]||=o(`div`,{"i-carbon-time-plot":``,"flex-none":``,"text-3xl":``},null,-1),o(`div`,L,[$.value.ssrStart?(t(),f(c,{key:0},[s[8]||=o(`div`,{"text-sm":``},` SSR to full load `,-1),o(`div`,R,l(n(h)($.value.appLoad-$.value.ssrStart)),1)],64)):u(``,!0),s[10]||=o(`div`,{"text-sm":``},` Page load `,-1),o(`div`,z,l(n(h)($.value.appLoad-$.value.appInit)),1),s[11]||=o(`div`,{"text-sm":``},` Navigation `,-1),o(`div`,B,l(n(h)($.value.pageEnd-$.value.pageStart)),1),$.value.hmrStart?(t(),f(c,{key:1},[s[9]||=o(`div`,{"text-sm":``},` HMR `,-1),o(`div`,re,l(n(h)($.value.hmrEnd-$.value.hmrStart)),1)],64)):u(``,!0)])])):u(``,!0)],64)):u(``,!0)]),o(`div`,V,[n(ne)?(t(),i(S,{key:0,n:`yellow5`,icon:`carbon-unlink`,"justify-center":``},{default:a(()=>[...s[13]||=[d(` Not connected to the client app, showing server-side data only. Use the embedded mode for full features. `,-1)]]),_:1})):u(``,!0),o(`button`,{title:`Authorize`,onClick:oe},[(`isDevAuthed`in e?e.isDevAuthed:n(y))?u(``,!0):(t(),i(S,{key:0,n:`orange5`,icon:`i-carbon-locked`,"justify-center":``},{default:a(()=>[...s[14]||=[d(` Access from an untrusted browser, some features are limited. Click to authorize now. `,-1)]]),_:1}))])]),o(`div`,H,[s[16]||=o(`a`,{href:`https://github.com/nuxt/devtools`,target:`_blank`,flex:`~ gap1`,"items-center":``,op50:``,hover:`op100 text-blue`,transition:``},[o(`div`,{"i-carbon-star":``}),d(` Star on GitHub `)],-1),s[17]||=o(`a`,{href:`https://github.com/nuxt/devtools/discussions/29`,target:`_blank`,flex:`~ gap1`,"items-center":``,op50:``,hover:`op100 text-yellow`,transition:``},[o(`div`,{"i-carbon-data-enrichment":``}),d(` Ideas & Suggestions `)],-1),s[18]||=o(`a`,{href:`https://github.com/nuxt/devtools/discussions/31`,target:`_blank`,flex:`~ gap1`,"items-center":``,op50:``,hover:`op100 text-lime`,transition:``},[o(`div`,{"i-carbon-plan":``}),d(` Project Roadmap `)],-1),s[19]||=o(`a`,{href:`https://github.com/nuxt/devtools/issues`,target:`_blank`,flex:`~ gap1`,"items-center":``,op50:``,hover:`op100 text-rose`,transition:``},[o(`div`,{"i-carbon-debug":``}),d(` Bug Reports `)],-1),r(m,{to:`/settings`,flex:`~ gap1`,"inline-block":``,"items-center":``,op50:``,"hover:op80":``},{default:a(()=>[...s[15]||=[o(`div`,{"i-carbon-settings-adjust":``},null,-1),d(` Settings `,-1)]]),_:1})]),s[41]||=o(`div`,{"flex-auto":``},null,-1),o(`div`,U,[o(`div`,W,[n(Z)?(t(),f(c,{key:0},[r(C,{n:`xs`,class:`px2`},{default:a(()=>[...s[20]||=[d(` ⌘ Cmd `,-1)]]),_:1}),s[22]||=o(`span`,null,`+`,-1),r(C,{n:`xs`,class:`px2`},{default:a(()=>[...s[21]||=[d(` K `,-1)]]),_:1})],64)):(t(),f(c,{key:1},[r(C,{n:`xs`,class:`px2`},{default:a(()=>[...s[23]||=[d(` Ctrl `,-1)]]),_:1}),s[25]||=o(`span`,null,`+`,-1),r(C,{n:`xs`,class:`px2`},{default:a(()=>[...s[24]||=[d(` K `,-1)]]),_:1})],64)),s[26]||=o(`div`,{"flex-auto":``},null,-1),s[27]||=d(` Open Command Palette `,-1)]),o(`div`,G,[n(Z)?(t(),f(c,{key:0},[r(C,{n:`xs`,class:`px2`},{default:a(()=>[...s[28]||=[d(` ⇧ Shift `,-1)]]),_:1}),s[31]||=o(`span`,null,`+`,-1),r(C,{n:`xs`,class:`px2`},{default:a(()=>[...s[29]||=[d(` ⌥ Option `,-1)]]),_:1}),s[32]||=o(`span`,null,`+`,-1),r(C,{n:`xs`,class:`px2`},{default:a(()=>[...s[30]||=[d(` D `,-1)]]),_:1})],64)):(t(),f(c,{key:1},[r(C,{n:`xs`,class:`px2`},{default:a(()=>[...s[33]||=[d(` Shift `,-1)]]),_:1}),s[36]||=o(`span`,null,`+`,-1),r(C,{n:`xs`,class:`px2`},{default:a(()=>[...s[34]||=[d(` Alt `,-1)]]),_:1}),s[37]||=o(`span`,null,`+`,-1),r(C,{n:`xs`,class:`px2`},{default:a(()=>[...s[35]||=[d(` D `,-1)]]),_:1})],64)),s[38]||=o(`div`,{"flex-auto":``},null,-1),s[39]||=o(`div`,null,`Toggle DevTools`,-1)])])])):(t(),f(`div`,j,` Loading... `))]),_:1})}}});export{K as default};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../dist-opw9eswr.js","../
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../dist-opw9eswr.js","../e25zwu7j.js","./json-editor-vue-ml09by3o.js","../rolldown-runtime-fitqecur.js","./json-editor-vue.css-lkbe0qhh.css","./shiki-01pv02w7.js","../entry.css-l3c1lp8x.css"])))=>i.map(i=>d[i]);
|
|
2
2
|
import{o as e}from"./json-editor-vue-ml09by3o.js";var t=`default`,n=`preflights`,r=`shortcuts`,i={imports:-200,[n]:-100,[r]:-10,[t]:0},a=/[\\:]?[\s'"`;{}]+/g;function o(e){return e.split(a)}var s={name:`@unocss/core/extractor-split`,order:0,extract({code:e}){return o(e)}};function c(e=[]){return Array.isArray(e)?e:[e]}function l(e){return Array.from(new Set(e))}function u(e,t){return e.reduce((e,n)=>(e.findIndex(e=>t(n,e))===-1&&e.push(n),e),[])}function d(e){return typeof e==`string`}var f=class extends Set{constructor(e){if(super(),this._map=new Map,e)for(let t of e)this.add(t)}add(e){return this._map.set(e,(this._map.get(e)??0)+1),super.add(e)}delete(e){return this._map.has(e)?(this._map.delete(e),super.delete(e)):!1}clear(){this._map.clear(),super.clear()}getCount(e){return this._map.get(e)??0}setCount(e,t){return this._map.set(e,t),super.add(e)}};function p(e){return e instanceof f}function m(e){let t=e.length,n=-1,r,i=``,a=e.charCodeAt(0);for(;++n<t;){if(r=e.charCodeAt(n),r===0){i+=`�`;continue}if(r===37){i+=`\\%`;continue}if(r===44){i+=`\\,`;continue}if(r>=1&&r<=31||r===127||n===0&&r>=48&&r<=57||n===1&&r>=48&&r<=57&&a===45){i+=`\\${r.toString(16)} `;continue}if(n===0&&t===1&&r===45){i+=`\\${e.charAt(n)}`;continue}if(r>=128||r===45||r===95||r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122){i+=e.charAt(n);continue}i+=`\\${e.charAt(n)}`}return i}var h=m;function g(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(e=>e(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(e=>e!==t)}}}function _(e){return typeof e==`function`?{match:e}:e}function v(e){return e.length===3}function y(e){return e!=null}function b(){}var x=class{constructor(){this._map=new Map}get(e,t){let n=this._map.get(e);if(n)return n.get(t)}getFallback(e,t,n){let r=this._map.get(e);return r||(r=new Map,this._map.set(e,r)),r.has(t)||r.set(t,n),r.get(t)}set(e,t,n){let r=this._map.get(e);return r||(r=new Map,this._map.set(e,r)),r.set(t,n),this}has(e,t){return this._map.get(e)?.has(t)}delete(e,t){return this._map.get(e)?.delete(t)||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([t,n])=>Array.from(n.entries()).map(([n,r])=>e(r,t,n)))}},S=class extends Map{getFallback(e,t){let n=this.get(e);return n===void 0?(this.set(e,t),t):n}map(e){let t=[];return this.forEach((n,r)=>{t.push(e(n,r))}),t}flatMap(e){let t=[];return this.forEach((n,r)=>{t.push(...e(n,r))}),t}};function C(e){return d(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(e=>e[1]!=null)}function w(e){return Array.isArray(e)?e.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?e.map(e=>C(e)):[e]:[C(e)]}function T(e){return e.filter(([t,n],r)=>{if(t.startsWith(`$$`))return!1;for(let i=r-1;i>=0;i--)if(e[i][0]===t&&e[i][1]===n)return!1;return!0})}var E=`__virtual_key__`;function D(e){return e==null?``:T(e).map(([e,t])=>t!=null&&typeof t!=`function`?e===`__virtual_key__`?t:`${e}:${t};`:void 0).filter(Boolean).join(``)}function O(e){return e&&typeof e==`object`&&!Array.isArray(e)}function k(e,t,n=!1){let r=e,i=t;if(Array.isArray(i))return n&&Array.isArray(i)?[...r,...i]:[...i];let a={...r};return O(r)&&O(i)&&Object.keys(i).forEach(e=>{O(r[e])&&O(i[e])||Array.isArray(r[e])&&Array.isArray(i[e])?a[e]=k(r[e],i[e],n):Object.assign(a,{[e]:i[e]})}),a}function A(e){let t,n,r;if(Array.isArray(e)){for(n=Array.from({length:t=e.length});t--;)n[t]=(r=e[t])&&typeof r==`object`?A(r):r;return n}if(Object.prototype.toString.call(e)===`[object Object]`){for(t in n={},e)t===`__proto__`?Object.defineProperty(n,t,{value:A(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=(r=e[t])&&typeof r==`object`?A(r):r;return n}return e}function ee(e){return d(e[0])}function te(e){return d(e[0])}var j={};function ne(e=[`-`,`:`]){let t=e.join(`|`);return j[t]||(j[t]=RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,`gm`)),j[t].lastIndex=0,j[t]}function re(e,t=[`-`,`:`],n=5){let r=ne(t),i,a=e.toString(),o=new Set,s=new Map;do i=!1,a=a.replace(r,(e,n,r,a,c)=>{if(!t.includes(r))return e;i=!0,o.add(n+r);let l=c+n.length+r.length+1,u={length:e.length,items:[]};s.set(c,u);for(let e of[...a.matchAll(/\S+/g)]){let t=l+e.index,i=s.get(t)?.items;i?s.delete(t):i=[{offset:t,length:e[0].length,className:e[0]}];for(let e of i)e.className=e.className===`~`?n:e.className.replace(/^(!?)(.*)/,`$1${n}${r}$2`),u.items.push(e)}return`$`.repeat(e.length)}),--n;while(i&&n);let c;if(typeof e==`string`){c=``;let t=0;for(let[n,r]of s)c+=e.slice(t,n),c+=r.items.map(e=>e.className).join(` `),t=n+r.length;c+=e.slice(t)}else{c=e;for(let[e,t]of s)c.overwrite(e,e+t.length,t.items.map(e=>e.className).join(` `))}return{prefixes:Array.from(o),hasChanged:i,groupsByOffset:s,get expanded(){return c.toString()}}}function ie(e,t=[`-`,`:`],n=5){let r=re(e,t,n);return typeof e==`string`?r.expanded:e}var ae=new Set;function oe(e){ae.has(e)||(console.warn(`[unocss]`,e),ae.add(e))}function M(e){return c(e).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var N=`_uno_resolved`;async function se(e){let t=typeof e==`function`?await e():await e;if(N in t)return t;t={...t},Object.defineProperty(t,N,{value:!0,enumerable:!1});let n=t.shortcuts?M(t.shortcuts):void 0;if(t.shortcuts=n,t.prefix||t.layer){let e=e=>{e[2]||={};let n=e[2];n.prefix==null&&t.prefix&&(n.prefix=c(t.prefix)),n.layer==null&&t.layer&&(n.layer=t.layer)};n?.forEach(e),t.rules?.forEach(e)}return t}async function P(e){let t=await se(e);return t.presets?[t,...(await Promise.all((t.presets||[]).flatMap(c).flatMap(P))).flat()]:[t]}function ce(e){if(e.length===0)return{};let t=[],n=[],r=!1,i=[],a=[];for(let o of e){if(o.pipeline===!1){r=!0;break}else o.pipeline?.include&&t.push(o.pipeline.include),o.pipeline?.exclude&&n.push(o.pipeline.exclude);o.filesystem&&i.push(o.filesystem),o.inline&&a.push(o.inline)}let o={pipeline:r?!1:{include:l(I(...t)),exclude:l(I(...n))}};return i.length&&(o.filesystem=l(i.flat())),a.length&&(o.inline=l(a.flat())),o}async function F(e={},t={}){let n=Object.assign({},t,e),r=u((await Promise.all((n.presets||[]).flatMap(c).flatMap(P))).flat(),(e,t)=>e.name===t.name),a=[...r.filter(e=>e.enforce===`pre`),...r.filter(e=>!e.enforce),...r.filter(e=>e.enforce===`post`)],o=[...a,n],d=[...o].reverse(),f=Object.assign({},i,...o.map(e=>e.layers));function p(e){return l(o.flatMap(t=>c(t[e]||[])))}let m=p(`extractors`),h=d.find(e=>e.extractorDefault!==void 0)?.extractorDefault;h===void 0&&(h=s),h&&!m.includes(h)&&m.unshift(h),m.sort((e,t)=>(e.order||0)-(t.order||0));let g=p(`rules`),v=g.length,y={},b=[];for(let[e,t]of g.entries()){let n=t[2]??={};n.__index=e,ee(t)?c(n.prefix??``).forEach(e=>{y[e+t[0]]=t}):b.unshift(t)}let x={templates:l(o.flatMap(e=>c(e.autocomplete?.templates))),extractors:o.flatMap(e=>c(e.autocomplete?.extractors)).sort((e,t)=>(e.order||0)-(t.order||0)),shorthands:ue(o.map(e=>e.autocomplete?.shorthands||{}))},S=p(`separators`);S.length||(S=[`:`,`-`]);let C=ce(p(`content`)),w={mergeSelectors:!0,warn:!0,sortLayers:e=>e,...n,blocklist:p(`blocklist`),presets:a,envMode:n.envMode||`build`,shortcutsLayer:n.shortcutsLayer||`shortcuts`,layers:f,theme:le(o.map(e=>e.theme)),rules:g,rulesSize:v,rulesDynamic:b,rulesStaticMap:y,preprocess:p(`preprocess`),postprocess:p(`postprocess`),preflights:p(`preflights`),autocomplete:x,variants:p(`variants`).map(_).sort((e,t)=>(e.order||0)-(t.order||0)),shortcuts:M(p(`shortcuts`)).reverse(),extractors:m,safelist:p(`safelist`),separators:S,details:n.details??n.envMode===`dev`,content:C,transformers:u(p(`transformers`),(e,t)=>e.name===t.name)},T=p(`extendTheme`);for(let e of T)w.theme=e(w.theme,w)||w.theme;for(let e of o)e?.configResolved?.(w);return w}function le(e){return e.map(e=>e?A(e):{}).reduce((e,t)=>k(e,t),{})}function ue(e){return e.reduce((e,t)=>{let n={};for(let e in t){let r=t[e];Array.isArray(r)?n[e]=`(${r.join(`|`)})`:n[e]=r}return{...e,...n}},{})}function I(...e){return e.flatMap(de)}function de(e){return Array.isArray(e)?e:e?[e]:[]}function fe(e){return e}var pe=`66.5.12`,L={shortcutsNoMerge:`$$symbol-shortcut-no-merge`,noMerge:`$$symbol-no-merge`,variants:`$$symbol-variants`,parent:`$$symbol-parent`,selector:`$$symbol-selector`,layer:`$$symbol-layer`,sort:`$$symbol-sort`,body:`$$symbol-body`},me=class e{constructor(e={},t={}){this.userConfig=e,this.defaults=t,this.version=pe,this.events=g(),this.config=void 0,this.cache=new Map,this.blocked=new Set,this.parentOrders=new Map,this.activatedRules=new Set,this.resolveCSSResult=(e,t,n,r)=>{let i=w(t).filter(e=>e.length);if(i.length){this.config.details&&r.rules.push(n),r.generator.activatedRules.add(n);let t=n[2];return i.map(n=>{if(d(n))return[t.__index,n,t];let i=r.variantHandlers,a=t;for(let e of n)e[0]===L.variants?i=typeof e[1]==`function`?e[1](i)||i:[...c(e[1]),...i]:e[0]===L.parent?i=[{parent:e[1]},...i]:e[0]===L.selector?i=[{selector:e[1]},...i]:e[0]===L.layer?i=[{layer:e[1]},...i]:e[0]===L.sort?a={...a,sort:e[1]}:e[0]===L.noMerge?a={...a,noMerge:e[1]}:e[0]===L.body&&(e[0]=E);return[t.__index,e,n,a,i]})}}}static async create(t={},n={}){let r=new e(t,n);return r.config=await F(r.userConfig,r.defaults),r.events.emit(`config`,r.config),r}async setConfig(e,t){e&&(t&&(this.defaults=t),this.userConfig=e,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await F(e,this.defaults),this.events.emit(`config`,this.config))}async applyExtractors(e,t,n=new Set){let r={original:e,code:e,id:t,extracted:n,envMode:this.config.envMode};for(let e of this.config.extractors){let t=await e.extract?.(r);if(t)if(p(t)&&p(n))for(let e of t)n.setCount(e,n.getCount(e)+t.getCount(e));else for(let e of t)n.add(e)}return n}makeContext(e,t){let n={rawSelector:e,currentSelector:t[1],theme:this.config.theme,generator:this,symbols:L,variantHandlers:t[2],constructCSS:(...e)=>this.constructCustomCSS(n,...e),variantMatch:t};return n}async parseToken(e,t){if(this.blocked.has(e))return;let n=`${e}${t?` ${t}`:``}`;if(this.cache.has(n))return this.cache.get(n);let r=this.config.preprocess.reduce((e,t)=>t(e)??e,e);if(this.isBlocked(r)){this.blocked.add(e),this.cache.set(n,null);return}let i=await this.matchVariants(e,r);if(i.every(e=>!e||this.isBlocked(e[1]))){this.blocked.add(e),this.cache.set(n,null);return}let a=async n=>{let r=this.makeContext(e,[t||n[0],n[1],n[2],n[3]]);this.config.details&&(r.variants=[...n[3]]);let i=await this.expandShortcut(r.currentSelector,r);return i?await this.stringifyShortcuts(r.variantMatch,r,i[0],i[1]):(await this.parseUtil(r.variantMatch,r))?.flatMap(e=>this.stringifyUtil(e,r)).filter(y)},o=(await Promise.all(i.map(e=>a(e)))).flat().filter(e=>!!e);if(o?.length)return this.cache.set(n,o),o;this.cache.set(n,null)}async generate(e,r={}){let{id:i,scope:a,preflights:o=!0,safelist:s=!0,minify:c=!1,extendedInfo:u=!1}=r,m=d(e)?await this.applyExtractors(e,i,u?new f:new Set):Array.isArray(e)?new Set(e):e;if(s){let e={generator:this,theme:this.config.theme};this.config.safelist.flatMap(t=>typeof t==`function`?t(e):t).forEach(e=>{let t=e.trim();t&&!m.has(t)&&m.add(t)})}let h=c?``:`
|
|
3
3
|
`,g=new Set([t]),_=u?new Map:new Set,v=new Map,b={},x=Array.from(m).map(async e=>{if(_.has(e))return;let t=await this.parseToken(e);if(t!=null){_ instanceof Map?_.set(e,{data:t,count:p(m)?m.getCount(e):-1}):_.add(e);for(let e of t){let t=e[3]||``,n=e[4]?.layer;v.has(t)||v.set(t,[]),v.get(t).push(e),n&&g.add(n)}}});await Promise.all(x),await(async()=>{if(!o)return;let e={generator:this,theme:this.config.theme},t=new Set([]);this.config.preflights.forEach(({layer:e=n})=>{g.add(e),t.add(e)}),b=Object.fromEntries(await Promise.all(Array.from(t).map(async t=>[t,(await Promise.all(this.config.preflights.filter(e=>(e.layer||`preflights`)===t).map(async t=>await t.getCSS(e)))).filter(Boolean).join(h)])))})();let S=this.config.sortLayers(Array.from(g).sort((e,t)=>(this.config.layers[e]??0)-(this.config.layers[t]??0)||e.localeCompare(t))),C={},w=this.config.outputToCssLayers,T=e=>{let t=e;return typeof w==`object`&&(t=w.cssLayerName?.(e)),t===null?null:t??e},E=(e=t)=>{if(C[e])return C[e];let n=Array.from(v).sort((e,t)=>(this.parentOrders.get(e[0])??0)-(this.parentOrders.get(t[0])??0)||e[0]?.localeCompare(t[0]||``)||0).map(([t,n])=>{let r=n.length,i=n.filter(t=>(t[4]?.layer||`default`)===e).sort((e,t)=>e[0]-t[0]||(e[4]?.sort||0)-(t[4]?.sort||0)||e[5]?.currentSelector?.localeCompare(t[5]?.currentSelector??``)||e[1]?.localeCompare(t[1]||``)||e[2]?.localeCompare(t[2]||``)||0).map(([,e,t,,n,,r])=>[[[(e&&_e(e,a))??``,n?.sort??0]],t,!!(r??n?.noMerge)]);if(!i.length)return;let o=i.reverse().map(([e,t,n],a)=>{if(!n&&this.config.mergeSelectors)for(let n=a+1;n<r;n++){let r=i[n];if(r&&!r[2]&&(e&&r[0]||e==null&&r[0]==null)&&r[1]===t)return e&&r[0]&&r[0].push(...e),null}let o=e?l(e.sort((e,t)=>e[1]-t[1]||e[0]?.localeCompare(t[0]||``)||0).map(e=>e[0]).filter(Boolean)):[];return o.length?`${o.join(`,${h}`)}{${t}}`:t}).filter(Boolean),s=Array.from(new Set(o)).reverse().join(h);if(!t)return s;let c=t.split(` $$ `);return`${c.join(`{`)}{${h}${s}${h}${`}`.repeat(c.length)}`}).filter(Boolean).join(h);o&&(n=[b[e],n].filter(Boolean).join(h));let r;w&&n&&(r=T(e),r!==null&&(n=`@layer ${r}{${h}${n}${h}}`));let i=c?``:`/* layer: ${e}${r&&r!==e?`, alias: ${r}`:``} */${h}`;return C[e]=n?i+n:``},D=(e=S,t)=>{let n=e.filter(e=>!t?.includes(e));return[w&&n.length>0?`@layer ${n.map(T).filter(y).join(`, `)};`:void 0,...n.map(e=>E(e)||``)].filter(Boolean).join(h)};return{get css(){return D()},layers:S,matched:_,getLayers:D,getLayer:E,setLayer:async(e,t)=>{let n=await t(E(e));return C[e]=n,n}}}async matchVariants(e,t){let n={rawSelector:e,theme:this.config.theme,generator:this},r=async t=>{let i=!0,[,,a,o]=t;for(;i;){i=!1;let s=t[1];for(let e of this.config.variants){if(!e.multiPass&&o.has(e))continue;let c=await e.match(s,n);if(c){if(d(c)){if(c===s)continue;c={matcher:c}}if(Array.isArray(c)){if(!c.length)continue;if(c.length===1)c=c[0];else{if(e.multiPass)throw Error(`multiPass can not be used together with array return variants`);let n=c.map(n=>{let r=n.matcher??s,i=[n,...a],c=new Set(o);return c.add(e),[t[0],r,i,c]});return(await Promise.all(n.map(e=>r(e)))).flat()}}t[1]=c.matcher??s,a.unshift(c),o.add(e),i=!0;break}}if(!i)break;if(a.length>500)throw Error(`Too many variants applied to "${e}"`)}return[t]};return await r([e,t||e,[],new Set])}applyVariants(e,t=e[4],n=e[1]){let r=t.slice().sort((e,t)=>(e.order||0)-(t.order||0)).reduceRight((e,t)=>n=>{let r=t.body?.(n.entries)||n.entries,i=Array.isArray(t.parent)?t.parent:[t.parent,void 0],a=t.selector?.(n.selector,r);return(t.handle??ye)({...n,entries:r,selector:a||n.selector,parent:i[0]||n.parent,parentOrder:i[1]||n.parentOrder,layer:t.layer||n.layer,sort:t.sort||n.sort},e)},e=>e)({prefix:``,selector:ve(n),pseudo:``,entries:e[2]}),{parent:i,parentOrder:a}=r;i!=null&&a!=null&&this.parentOrders.set(i,a);let o={selector:[r.prefix,r.selector,r.pseudo].join(``),entries:r.entries,parent:i,layer:r.layer,sort:r.sort,noMerge:r.noMerge};return this.config.postprocess.reduce((e,t)=>{let n=[];for(let r of e){let e=t(r);Array.isArray(e)?n.push(...e.filter(y)):n.push(e||r)}return n},[o])}constructCustomCSS(e,t,n){let r=C(t);return d(r)?r:this.applyVariants([0,n||e.rawSelector,r,void 0,e.variantHandlers]).map(({selector:e,entries:t,parent:n})=>{let r=`${e}{${D(t)}}`;return n?`${n}{${r}}`:r}).join(``)}async parseUtil(e,t,n=!1,r){let i=d(e)?await this.matchVariants(e):[e],a=async([e,i,a])=>{this.config.details&&(t.rules=t.rules??[]);let o={...t,variantHandlers:a},s=this.config.rulesStaticMap[i];if(s&&s[1]&&(n||!s[2]?.internal))return this.resolveCSSResult(e,s[1],s,o);for(let t of this.config.rulesDynamic){let[a,s,l]=t;if(l?.internal&&!n)continue;let u=i;if(l?.prefix){let e=c(l.prefix);if(r){let t=c(r);if(!e.some(e=>t.includes(e)))continue}else{let t=e.find(e=>i.startsWith(e));if(t==null)continue;u=i.slice(t.length)}}let d=u.match(a);if(!d)continue;let f=await s(d,o);if(!f)continue;if(typeof f!=`string`)if(Symbol.asyncIterator in f){let e=[];for await(let t of f)t&&e.push(t);f=e}else Symbol.iterator in f&&!Array.isArray(f)&&(f=Array.from(f).filter(y));let p=this.resolveCSSResult(e,f,t,o);if(p)return p}},o=(await Promise.all(i.map(e=>a(e)))).flat().filter(e=>!!e);if(o.length)return o}stringifyUtil(e,t){if(!e)return;if(v(e))return[[e[0],void 0,e[1],void 0,e[2],this.config.details?t:void 0,void 0]];let n=this.applyVariants(e),r=[];for(let i of n){let{selector:n,entries:a,parent:o,layer:s,sort:c,noMerge:l}=i,u=D(a);if(!u)continue;let{layer:d,sort:f,...p}=e[3]??{},m={...p,layer:s??d,sort:c??f};r.push([e[0],n,u,o,m,this.config.details?t:void 0,l])}return r}async expandShortcut(e,t,n=5){if(n===0)return;let r=this.config.details?e=>{t.shortcuts=t.shortcuts??[],t.shortcuts.push(e)}:b,i,a,o,s;for(let n of this.config.shortcuts){let o=e;if(n[2]?.prefix){let t=c(n[2].prefix).find(t=>e.startsWith(t));if(t==null)continue;o=e.slice(t.length)}if(te(n)){if(n[0]===o){i||=n[2],a=n[1],r(n);break}}else{let e=o.match(n[0]);if(e&&(a=n[1](e,t)),a){i||=n[2],r(n);break}}}if(a&&(o=l(c(a).filter(d).map(e=>ie(e.trim()).split(/\s+/g)).flat()),s=c(a).filter(e=>!d(e)).map(e=>({handles:[],value:e}))),!a){let r=d(e)?await this.matchVariants(e):[e];for(let e of r){let[r,i,a]=e;if(r!==i){let e=await this.expandShortcut(i,t,n-1);e&&(o=e[0].filter(d).map(e=>r.replace(i,e)),s=e[0].filter(e=>!d(e)).map(e=>({handles:[...e.handles,...a],value:e.value})))}}}if(!(!o?.length&&!s?.length))return[[await Promise.all(c(o).map(async e=>(await this.expandShortcut(e,t,n-1))?.[0]||[e])),s].flat(2).filter(e=>!!e),i]}async stringifyShortcuts(e,t,n,r={layer:this.config.shortcutsLayer}){let i=new S,a=(await Promise.all(l(n).map(async n=>{let i=d(n)?await this.parseUtil(n,t,!0,r.prefix):[[1/0,`{inline}`,C(n.value),void 0,n.handles]];return!i&&this.config.warn&&oe(`unmatched utility "${n}" in shortcut "${e[1]}"`),i||[]}))).flat(1).filter(Boolean).sort((e,t)=>e[0]-t[0]),[o,,s]=e,c=[];for(let e of a){if(v(e)){c.push([e[0],void 0,e[1],void 0,e[2],t,void 0]);continue}let n=Object.fromEntries(e[2])[L.shortcutsNoMerge],a=[...e[4],...n?[]:s];for(let{selector:t,entries:n,parent:s,sort:c,noMerge:l,layer:u}of this.applyVariants(e,a,o))i.getFallback(u??r.layer,new x).getFallback(t,s,[[],e[0]])[0].push([n,!!(l??e[3]?.noMerge),c??0])}return c.concat(i.flatMap((e,n)=>e.map(([e,i],a,o)=>{let s=(e,s,c)=>{let l=Math.max(...c.map(e=>e[1])),u=c.map(e=>e[0]);return(e?[u.flat(1)]:u).map(e=>{let c=D(e);if(c)return[i,a,c,o,{...r,noMerge:s,sort:l,layer:n},t,void 0]})};return[[e.filter(([,e])=>e).map(([e,,t])=>[e,t]),!0],[e.filter(([,e])=>!e).map(([e,,t])=>[e,t]),!1]].map(([e,t])=>[...s(!1,t,e.filter(([e])=>e.some(e=>e[0]===L.shortcutsNoMerge))),...s(!0,t,e.filter(([e])=>e.every(e=>e[0]!==L.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(e){return!e||this.config.blocklist.map(e=>Array.isArray(e)?e[0]:e).some(t=>typeof t==`function`?t(e):d(t)?t===e:t.test(e))}getBlocked(e){let t=this.config.blocklist.find(t=>{let n=Array.isArray(t)?t[0]:t;return typeof n==`function`?n(e):d(n)?n===e:n.test(e)});return t?Array.isArray(t)?t:[t,void 0]:void 0}};async function he(e,t){return await me.create(e,t)}var R=/\s\$\$\s+/g;function ge(e){return R.test(e)}function _e(e,t){return ge(e)?e.replace(R,t?` ${t} `:` `):t?`${t} ${e}`:e}var z=/^\[(.+?)(~?=)"(.*)"\]$/;function ve(e){return z.test(e)?e.replace(z,(e,t,n,r)=>`[${h(t)}${n}"${h(r)}"]`):`.${h(e)}`}function ye(e,t){return t(e)}function be(e){return e.replace(/(['"])\s*\n\s*([^>\\/\s])/g,`$1 $2`).replace(/(["';{}><])\s*\n\s*/g,`$1`).replace(/\s*\n\s*/g,` `).replace(/\s+"/g,`"`).replace(/="\s+/g,`="`).replace(/(\s)+\/>/g,`/>`).trim()}var xe=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Se=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function B(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(xe);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=Se.test(a);for(;;){if(o){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join(``);o=!o}}var Ce=Object.freeze({left:0,top:0,width:16,height:16}),V=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),H=Object.freeze({...Ce,...V}),we=Object.freeze({...H,body:``,hidden:!1}),Te=Object.freeze({width:null,height:null}),U=Object.freeze({...Te,...V});function Ee(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function De(e,t){return e?`<defs>`+e+`</defs>`+t:t}function Oe(e,t,n){let r=Ee(e);return De(r.defs,t+r.content+n)}var W=e=>e===`unset`||e===`undefined`||e===`none`;function ke(e,t){let n={...H,...e},r={...U,...t},i={left:n.left,top:n.top,width:n.width,height:n.height},a=n.body;[n,r].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,o=e.rotate;n?r?o+=2:(t.push(`translate(`+(i.width+i.left).toString()+` `+(0-i.top).toString()+`)`),t.push(`scale(-1 1)`),i.top=i.left=0):r&&(t.push(`translate(`+(0-i.left).toString()+` `+(i.height+i.top).toString()+`)`),t.push(`scale(1 -1)`),i.top=i.left=0);let s;switch(o<0&&(o-=Math.floor(o/4)*4),o%=4,o){case 1:s=i.height/2+i.top,t.unshift(`rotate(90 `+s.toString()+` `+s.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(i.width/2+i.left).toString()+` `+(i.height/2+i.top).toString()+`)`);break;case 3:s=i.width/2+i.left,t.unshift(`rotate(-90 `+s.toString()+` `+s.toString()+`)`);break}o%2==1&&(i.left!==i.top&&(s=i.left,i.left=i.top,i.top=s),i.width!==i.height&&(s=i.width,i.width=i.height,i.height=s)),t.length&&(a=Oe(a,`<g transform="`+t.join(` `)+`">`,`</g>`))});let o=r.width,s=r.height,c=i.width,l=i.height,u,d;o===null?(d=s===null?`1em`:s===`auto`?l:s,u=B(d,c/l)):(u=o===`auto`?c:o,d=s===null?B(u,l/c):s===`auto`?l:s);let f={},p=(e,t)=>{W(t)||(f[e]=t.toString())};p(`width`,u),p(`height`,d);let m=[i.left,i.top,c,l];return f.viewBox=m.join(` `),{attributes:f,viewBox:m,body:a}}var Ae=/\swidth\s*=\s*["']([\w.]+)["']/,je=/\sheight\s*=\s*["']([\w.]+)["']/,G=/<svg\s+/;function Me(e,t,n){let r=e.slice(0,e.indexOf(`>`)),i=(e,i)=>{let a=i.exec(r),o=a!=null,s=t[e];return!s&&!W(s)&&(typeof n==`number`?n>0&&(t[e]=B(a?.[1]??`1em`,n)):a&&(t[e]=a[1])),o};return[i(`width`,Ae),i(`height`,je)]}async function K(e,t,n,r,i,a){let{scale:o,addXmlNs:s=!1}=r??{},{additionalProps:c={},iconCustomizer:l}=r?.customizations??{},u=await i?.()??{};await l?.(t,n,u),Object.keys(c).forEach(e=>{let t=c[e];t!=null&&(u[e]=t)}),a?.(u);let[d,f]=Me(e,u,o);s&&(!e.includes(`xmlns=`)&&!u.xmlns&&(u.xmlns=`http://www.w3.org/2000/svg`),!e.includes(`xmlns:xlink=`)&&e.includes(`xlink:`)&&!u[`xmlns:xlink`]&&(u[`xmlns:xlink`]=`http://www.w3.org/1999/xlink`));let p=Object.keys(u).map(e=>e===`width`&&d||e===`height`&&f?null:`${e}="${u[e]}"`).filter(e=>e!=null);if(p.length&&(e=e.replace(G,`<svg ${p.join(` `)} `)),r){let{defaultStyle:t,defaultClass:n}=r;n&&!e.includes(`class=`)&&(e=e.replace(G,`<svg class="${n}" `)),t&&!e.includes(`style=`)&&(e=e.replace(G,`<svg style="${t}" `))}let m=r?.usedProps;return m&&(Object.keys(c).forEach(e=>{let t=u[e];t!=null&&(m[e]=t)}),u.width!==void 0&&u.width!==null&&(m.width=u.width),u.height!==void 0&&u.height!==null&&(m.height=u.height)),e}async function q(e,t,n,r){let i;try{if(typeof e==`function`)i=await e(n);else{let t=e[n];i=typeof t==`function`?await t():t}}catch(e){console.warn(`Failed to load custom icon "${n}" in "${t}":`,e);return}if(i){let e=i.indexOf(`<svg`);e>0&&(i=i.slice(e));let{transform:a}=r?.customizations??{};return i=typeof a==`function`?await a(i,t,n):i,i.startsWith(`<svg`)?await K(r?.customizations?.trimCustomSvg===!0?be(i):i,t,n,r,void 0):(console.warn(`Custom icon "${n}" in "${t}" is not a valid SVG`),i)}}function Ne(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function J(e,t){let n=Ne(e,t);for(let r in we)r in V?r in e&&!(r in n)&&(n[r]=V[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Pe(e,t){let n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function a(e){if(n[e])return i[e]=[];if(!(e in i)){i[e]=null;let t=r[e]&&r[e].parent,n=t&&a(t);n&&(i[e]=[t].concat(n))}return i[e]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(a),i}function Y(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function o(e){a=J(r[e]||i[e],a)}return o(t),n.forEach(o),J(e,a)}function Fe(e,t){if(e.icons[t])return Y(e,t,[]);let n=Pe(e,[t])[t];return n?Y(e,t,n):null}async function X(e,t,n,r){let i,{customize:a}=r?.customizations??{};for(let o of n)if(i=Fe(e,o),i){let e={...U};typeof a==`function`&&(i=Object.assign({},i),e=a(e,i,`${t}:${o}`)??e);let{attributes:{width:n,height:s,...c},body:l}=ke(i,e),u=r?.scale;return await K(`<svg >${l}</svg>`,t,o,r,()=>({...c}),e=>{let t=(t,n)=>{let r=e[t],i;if(!W(r)){if(r)return;typeof u==`number`?u&&(i=B(n??`1em`,u)):i=n}i?e[t]=i:delete e[t]};t(`width`,n),t(`height`,s)})}}var Z=async(e,t,n)=>{let r=n?.customCollections?.[e];if(r)if(typeof r==`function`){let i;try{i=await r(t)}catch(n){console.warn(`Failed to load custom icon "${t}" in "${e}":`,n);return}if(i){if(typeof i==`string`)return await q(()=>i,e,t,n);if(`icons`in i){let r=[t,t.replace(/([a-z])([A-Z])/g,`$1-$2`).toLowerCase(),t.replace(/([a-z])(\d+)/g,`$1-$2`)];return await X(i,e,r,n)}}}else return await q(r,e,t,n)};function Ie(e){return e.replace(/"/g,`'`).replace(/%/g,`%25`).replace(/#/g,`%23`).replace(/</g,`%3C`).replace(/>/g,`%3E`).replace(/\s+/g,` `)}function Q(e){let t=e.startsWith(`<svg>`)?e.replace(`<svg>`,`<svg >`):e;return!t.includes(` xmlns:xlink=`)&&t.includes(` xlink:`)&&(t=t.replace(`<svg `,`<svg xmlns:xlink="http://www.w3.org/1999/xlink" `)),t.includes(` xmlns=`)||(t=t.replace(`<svg `,`<svg xmlns="http://www.w3.org/2000/svg" `)),Ie(t)}function Le(){let e=typeof process<`u`&&process.stdout;return{isNode:e,isVSCode:e&&!!{}.VSCODE_CWD,isESLint:e&&!!{}.ESLINT}}var $=`academicons.akar-icons.ant-design.arcticons.basil.bi.bitcoin-icons.bpmn.brandico.bubbles.bx.bxl.bxs.bytesize.carbon.catppuccin.cbi.charm.ci.cib.cif.cil.circle-flags.circum.clarity.codex.codicon.covid.cryptocurrency-color.cryptocurrency.cuida.dashicons.devicon-line.devicon-original.devicon-plain.devicon.dinkie-icons.duo-icons.ei.el.emblemicons.emojione-monotone.emojione-v1.emojione.entypo-social.entypo.eos-icons.ep.et.eva.f7.fa-brands.fa-regular.fa-solid.fa.fa6-brands.fa6-regular.fa6-solid.fa7-brands.fa7-regular.fa7-solid.fad.famicons.fe.feather.file-icons.flag.flagpack.flat-color-icons.flat-ui.flowbite.fluent-color.fluent-emoji-flat.fluent-emoji-high-contrast.fluent-emoji.fluent-mdl2.fluent.fontelico.fontisto.formkit.foundation.fxemoji.gala.game-icons.garden.geo.gg.gis.gravity-ui.gridicons.grommet-icons.guidance.healthicons.heroicons-outline.heroicons-solid.heroicons.hugeicons.humbleicons.ic.icomoon-free.icon-park-outline.icon-park-solid.icon-park-twotone.icon-park.iconamoon.iconoir.icons8.il.ion.iwwa.ix.jam.la.lets-icons.line-md.lineicons.logos.ls.lsicon.lucide-lab.lucide.mage.majesticons.maki.map.marketeq.material-icon-theme.material-symbols-light.material-symbols.mdi-light.mdi.medical-icon.memory.meteocons.meteor-icons.mi.mingcute.mono-icons.mynaui.nimbus.nonicons.noto-v1.noto.nrk.octicon.oi.ooui.openmoji.oui.pajamas.pepicons-pencil.pepicons-pop.pepicons-print.pepicons.ph.picon.pixel.pixelarticons.prime.proicons.ps.qlementine-icons.quill.radix-icons.raphael.ri.rivet-icons.roentgen.si-glyph.si.sidekickicons.simple-icons.simple-line-icons.skill-icons.solar.stash.streamline-block.streamline-color.streamline-cyber-color.streamline-cyber.streamline-emojis.streamline-flex-color.streamline-flex.streamline-freehand-color.streamline-freehand.streamline-guidance.streamline-kameleon-color.streamline-logos.streamline-pixel.streamline-plump-color.streamline-plump.streamline-sharp-color.streamline-sharp.streamline-stickies-color.streamline-ultimate-color.streamline-ultimate.streamline.subway.svg-spinners.system-uicons.tabler.tdesign.teenyicons.temaki.token-branded.token.topcoat.twemoji.typcn.uil.uim.uis.uit.uiw.unjs.vaadin.vs.vscode-icons.websymbol.weui.whh.wi.wpf.zmdi.zondicons`.split(`.`),Re=3;function ze(e){return fe((t={})=>{let{scale:n=1,mode:r=`auto`,prefix:i=`i-`,warn:a=!1,iconifyCollectionsNames:o,collections:s,extraProperties:c={},customizations:l={},autoInstall:u=!1,collectionsNodeResolvePath:d,layer:f=`icons`,unit:p,processor:m}=t,h=Le(),g={addXmlNs:!0,scale:n,customCollections:s,autoInstall:u,cwd:d,warn:void 0,customizations:{...l,additionalProps:{...c},trimCustomSvg:!0,async iconCustomizer(e,t,r){await l.iconCustomizer?.(e,t,r),p&&(r.width||=`${n}${p}`,r.height||=`${n}${p}`)}}},_;return{name:`@unocss/preset-icons`,enforce:`pre`,options:t,layers:{icons:-30},api:{encodeSvgForCss:Q,parseIconWithLoader:Ve},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async n=>{let[i,s,c=r]=n;_||=await e(t);let l={},u=await Ve(s,_,{...g,usedProps:l},o);if(!u){a&&!h.isESLint&&oe(`failed to load icon "${i}"`);return}let d,f=`url("data:image/svg+xml;utf8,${Q(u.svg)}")`;return c===`auto`&&(c=u.svg.includes(`currentColor`)?`mask`:`bg`),d=c===`mask`?{"--un-icon":f,"-webkit-mask":`var(--un-icon) no-repeat`,mask:`var(--un-icon) no-repeat`,"-webkit-mask-size":`100% 100%`,"mask-size":`100% 100%`,"background-color":`currentColor`,color:`inherit`,...l}:{background:`${f} no-repeat`,"background-size":`100% 100%`,"background-color":`transparent`,...l},m?.(d,{...u,icon:u.name,mode:c}),d},{layer:f,prefix:i}]]}})}function Be(e,t,n=new Map){function r(r){if($.includes(r))return n.has(r)||n.set(r,e(`${t}@iconify-json/${r}/icons.json`)),n.get(r)}return async(e,t,n)=>{let i=await Z(e,t,n);if(i)return i;let a=await r(e);return a&&(i=await X(a,e,[t,t.replace(/([a-z])([A-Z])/g,`$1-$2`).toLowerCase(),t.replace(/([a-z])(\d+)/g,`$1-$2`)],n)),i}}async function Ve(e,t,n={},r=[]){let i=``,a=``,o,s=new Set([...$,...r,...Object.keys(n.customCollections||{})]);if(e.includes(`:`)){if([i,a]=e.split(`:`),!s.has(i))return;o=await t(i,a,n)}else{let r=e.split(/-/g);for(let e=Re;e>=1&&(i=r.slice(0,e).join(`-`),!(s.has(i)&&(a=r.slice(e).join(`-`),o=await t(i,a,n),o)));e--);}if(o)return{collection:i,name:a,svg:o}}async function He(t){let{$fetch:n}=await e(async()=>{let{$fetch:e}=await import(`../dist-opw9eswr.js`);return{$fetch:e}},__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);return Be(n,t)}var Ue=ze(async e=>{let t=e?.customFetch,n=e?.cdn;return t&&n?Be(t,n):n?await He(n):Z});function We(e){return e.replace(/-(\w)/g,(e,t)=>t?t.toUpperCase():``)}function Ge(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Ke(e){return e.replace(/(?:^|\B)([A-Z])/g,`-$1`).toLowerCase()}var qe=[`Webkit`,`Moz`,`ms`];function Je(e){let t={};function n(n){let r=t[n];if(r)return r;let i=We(n);if(i!==`filter`&&i in e)return t[n]=Ke(i);i=Ge(i);for(let r=0;r<qe.length;r++){let a=`${qe[r]}${i}`;if(a in e)return t[n]=Ke(Ge(a))}return n}return({entries:e})=>e.forEach(e=>{e[0].startsWith(`--`)||(e[0]=n(e[0]))})}function Ye(e){return e.replace(/&/g,`&`).replace(/>/g,`>`).replace(/</g,`<`)}async function Xe(e={}){if(typeof window>`u`){console.warn(`@unocss/runtime been used in non-browser environment, skipped.`);return}let t=window,n=window.document,r=()=>n.documentElement,i=t.__unocss||{},a=Object.assign({},e,i.runtime),o=a.defaults||{},s=a.cloakAttribute??`un-cloak`;a.autoPrefix&&(o.postprocess=c(o.postprocess)).unshift(Je(n.createElement(`div`).style)),a.configResolved?.(i,o);let l=await he(i,o),u=t=>{let n=e.rootElement?.();if(n){n.appendChild(t);return}a.inject?a.inject(t):r().prepend(t)},f=()=>a.rootElement?a.rootElement():n.body,p=new Map,m=!0,h=new Set,g,_,v=[],y=()=>new Promise(e=>{v.push(e),_!=null&&clearTimeout(_),_=setTimeout(()=>S().then(()=>{let e=v;v=[],e.forEach(e=>e())}),0)});function b(e,t=!1){if(e.nodeType!==1)return;let n=e;n.hasAttribute(s)&&n.removeAttribute(s),t&&n.querySelectorAll(`[${s}]`).forEach(e=>{e.removeAttribute(s)})}function x(e,t){let r=p.get(e);if(!r)if(r=n.createElement(`style`),r.setAttribute(`data-unocss-runtime-layer`,e),p.set(e,r),t==null)u(r);else{let e=x(t),n=e.parentNode;n?n.insertBefore(r,e.nextSibling):u(r)}return r}async function S(){let e=[...h],t=await l.generate(e);return t.layers.reduce((e,n)=>(x(n,e).innerHTML=t.getLayer(n)??``,n),void 0),e.filter(e=>!t.matched.has(e)).forEach(e=>h.delete(e)),{...t,getStyleElement:e=>p.get(e),getStyleElements:()=>p}}async function C(e){let t=h.size;await l.applyExtractors(e,void 0,h),t!==h.size&&await y()}async function w(e=f()){let t=e&&e.outerHTML;t&&(await C(`${t} ${Ye(t)}`),b(r()),b(e,!0))}let T=new MutationObserver(e=>{m||e.forEach(async e=>{if(e.target.nodeType!==1)return;let t=e.target;for(let e of p)if(t===e[1])return;if(e.type===`childList`)e.addedNodes.forEach(async e=>{if(e.nodeType!==1)return;let t=e;g&&!g(t)||(await C(t.outerHTML),b(t))});else{if(g&&!g(t))return;if(e.attributeName!==s){let e=Array.from(t.attributes).map(e=>e.value?`${e.name}="${e.value}"`:e.name).join(` `);await C(`<${t.tagName.toLowerCase()} ${e}>`)}b(t)}})}),E=!1;function D(){if(E)return;let e=a.observer?.target?a.observer.target():f();e&&(T.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:a.observer?.attributeFilter}),E=!0)}function O(){a.bypassDefined&&Ze(l.blocked),w(),D()}function k(){n.readyState===`loading`?t.addEventListener(`DOMContentLoaded`,O):O()}let A=t.__unocss_runtime=t.__unocss_runtime={version:l.version,uno:l,async extract(e){d(e)||(e.forEach(e=>h.add(e)),e=``),await C(e)},extractAll:w,inspect(e){g=e},toggleObserver(e){m=e===void 0?!m:!!e,!E&&!m&&k()},update:S,presets:t.__unocss_runtime?.presets??{}};a.ready?.(A)!==!1&&(m=!1,k())}function Ze(e=new Set){for(let t=0;t<document.styleSheets.length;t++){let n=document.styleSheets[t],r;try{if(r=n.cssRules||n.rules,!r)continue;Array.from(r).flatMap(e=>e.selectorText?.split(/,/g)||[]).forEach(t=>{t&&(t=t.trim(),t.startsWith(`.`)&&(t=t.slice(1)),e.add(t))})}catch{continue}}return e}export{Ue as n,Xe as t};
|
package/dist/client/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__NUXT_DEVTOOLS_BASE__/_nuxt/e25zwu7j.js"}}</script><link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.css-l3c1lp8x.css" crossorigin><link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/json-editor-vue.css-lkbe0qhh.css" crossorigin><link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/unocss.css-3gd0e2sv.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/e25zwu7j.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/json-editor-vue-ml09by3o.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/rolldown-runtime-fitqecur.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/unocss-fsdvaf0h.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/shiki-01pv02w7.js"><script type="module" src="/__NUXT_DEVTOOLS_BASE__/_nuxt/e25zwu7j.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1768010499837,false]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__NUXT_DEVTOOLS_BASE__/",buildId:"8a33d1a0-2935-40b7-b57a-745f0e7f6d89",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
package/dist/module.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/devtools-nightly",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.1.1-
|
|
4
|
+
"version": "3.1.1-29466841.3662836",
|
|
5
5
|
"description": "The Nuxt DevTools gives you insights and transparency about your Nuxt App.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://devtools.nuxt.com",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@nuxt/devtools-kit": "npm:@nuxt/devtools-kit-nightly@3.1.1-
|
|
46
|
-
"@nuxt/devtools-wizard": "npm:@nuxt/devtools-wizard-nightly@3.1.1-
|
|
45
|
+
"@nuxt/devtools-kit": "npm:@nuxt/devtools-kit-nightly@3.1.1-29466841.3662836",
|
|
46
|
+
"@nuxt/devtools-wizard": "npm:@nuxt/devtools-wizard-nightly@3.1.1-29466841.3662836",
|
|
47
47
|
"@nuxt/kit": "^4.2.2",
|
|
48
48
|
"@vue/devtools-core": "^8.0.5",
|
|
49
49
|
"@vue/devtools-kit": "^8.0.5",
|
|
@@ -86,7 +86,6 @@
|
|
|
86
86
|
"@iconify-json/ri": "^1.2.7",
|
|
87
87
|
"@iconify-json/simple-icons": "^1.2.65",
|
|
88
88
|
"@iconify-json/tabler": "^1.2.26",
|
|
89
|
-
"@nuxt/devtools": "npm:@nuxt/devtools-nightly@3.1.1-29462902.5c4a0b0",
|
|
90
89
|
"@nuxt/test-utils": "^3.23.0",
|
|
91
90
|
"@parcel/watcher": "^2.5.1",
|
|
92
91
|
"@types/markdown-it-link-attributes": "^3.0.5",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"id":"6c475c27-2710-410b-baf2-788ee88c8b1a","timestamp":1767774116052,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|