@nuxt/devtools-nightly 2.7.0-29358767.ab3d5ab → 3.0.0-beta.1-29360371.9a6c882
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 +1 -1
- package/dist/chunks/vite-inspect.mjs +3 -3
- package/dist/client/200.html +1 -30
- package/dist/client/404.html +1 -30
- package/dist/client/_nuxt/__blank-dhzpxa9h.js +1 -0
- package/dist/client/_nuxt/analyze-build-i7dz4diz.js +1 -0
- package/dist/client/_nuxt/assets-e1eiimkb.js +16 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/201c45d2-00f5-4709-8202-2f048e9eeba9.json +1 -0
- package/dist/client/_nuxt/{client-grni31iy.js → client-miiq4qin.js} +1 -1
- package/dist/client/_nuxt/code-diff-ojhnq7lb.js +8 -0
- package/dist/client/_nuxt/code-snippets-io8vjgte.js +1 -0
- package/dist/client/_nuxt/components-b06rag2o.js +1 -0
- package/dist/client/_nuxt/composable-item-de2qbj5y.js +1 -0
- package/dist/client/_nuxt/custom-_name_-n5xcd89j.js +1 -0
- package/dist/client/_nuxt/data-schema-button-hqryewml.js +1 -0
- package/dist/client/_nuxt/data-schema-drawer-ohi5wclq.js +2 -0
- package/dist/client/_nuxt/debug-edst1aup.js +1 -0
- package/dist/client/_nuxt/{default-msxuy5cx.js → default-iey7bcl0.js} +1 -1
- package/dist/client/_nuxt/{duration-display.vue-hc7it00w.js → duration-display-cjpkh71u.js} +1 -1
- package/dist/client/_nuxt/entry.css-gme6a42i.css +1 -0
- package/dist/client/_nuxt/error-404-j1jq1c66.js +1 -0
- package/dist/client/_nuxt/error-404.css-b77wc31r.css +1 -0
- package/dist/client/_nuxt/error-500-g7c66z1a.js +1 -0
- package/dist/client/_nuxt/error-500.css-fqn6oeub.css +1 -0
- package/dist/client/_nuxt/{error-blzd68sr.js → error-n99dhadk.js} +7 -7
- package/dist/client/_nuxt/filepath-item-owlv864w.js +1 -0
- package/dist/client/_nuxt/full-boj6lq2g.js +1 -0
- package/dist/client/_nuxt/help-fab-chg6ox1v.js +1 -0
- package/dist/client/_nuxt/hjatffgj.js +19 -0
- package/dist/client/_nuxt/hooks-bpngdbhx.js +1 -0
- package/dist/client/_nuxt/imports-i8h7x738.js +1 -0
- package/dist/client/_nuxt/index-jmvfijcg.js +1 -0
- package/dist/client/_nuxt/launch-page-l87i7ewv.js +1 -0
- package/dist/client/_nuxt/modules-mo5j545f.js +1 -0
- package/dist/client/_nuxt/nbadge-d24jlq2b.js +1 -0
- package/dist/client/_nuxt/ncheckbox-eijyrwcq.js +1 -0
- package/dist/client/_nuxt/ncode-block-pcw3yh3u.js +2 -0
- package/dist/client/_nuxt/ndrawer-bkb7znk3.js +1 -0
- package/dist/client/_nuxt/ndropdown-jcnxkt1n.js +1 -0
- package/dist/client/_nuxt/nicon-title-he6hzgyb.js +1 -0
- package/dist/client/_nuxt/nlink-fgjzhevk.js +1 -0
- package/dist/client/_nuxt/nmarkdown-n6zsr15e.js +1 -0
- package/dist/client/_nuxt/nnavbar-b4ap0r8w.js +1 -0
- package/dist/client/_nuxt/none-mairbbrs.js +1 -0
- package/dist/client/_nuxt/nsection-block-je23gs2w.js +1 -0
- package/dist/client/_nuxt/nsection-block.css-h05mpq8x.css +1 -0
- package/dist/client/_nuxt/nselect-nvb1idpm.js +1 -0
- package/dist/client/_nuxt/nselect-tabs-fwdas30r.js +1 -0
- package/dist/client/_nuxt/nswitch-ls95gzk4.js +1 -0
- package/dist/client/_nuxt/open-graph-hjnpn4lk.js +3 -0
- package/dist/client/_nuxt/overview-k79e36il.js +1 -0
- package/dist/client/_nuxt/pages-ds02jwc5.js +1 -0
- package/dist/client/_nuxt/payload-jjh8ouvz.js +1 -0
- package/dist/client/_nuxt/pinia-be68olcl.js +1 -0
- package/dist/client/_nuxt/plugins-b9qyoo0c.js +1 -0
- package/dist/client/_nuxt/render-tree-m94vu53a.js +1 -0
- package/dist/client/_nuxt/runtime-configs-la4u86eo.js +1 -0
- package/dist/client/_nuxt/server-discovery-mjs49bz1.js +1 -0
- package/dist/client/_nuxt/server-route-inputs-e42a8bs5.js +1 -0
- package/dist/client/_nuxt/server-routes-emm36jf2.js +9 -0
- package/dist/client/_nuxt/server-tasks-gkj1p3fy.js +1 -0
- package/dist/client/_nuxt/settings-qjlpbgea.js +1 -0
- package/dist/client/_nuxt/stacktrace-list-gp6s7nwa.js +1 -0
- package/dist/client/_nuxt/{state-components-k1rzq61q.js → state-components-8k7sf46m.js} +1 -1
- package/dist/client/_nuxt/state-editor-kisl1jyp.js +1 -0
- package/dist/client/_nuxt/state-modules-lzveckmy.js +1 -0
- package/dist/client/_nuxt/storage-cgn8xpm9.js +1 -0
- package/dist/client/_nuxt/terminals-oykxibii.js +1 -0
- package/dist/client/_nuxt/timeline-kuccxakl.js +31 -0
- package/dist/client/_nuxt/{unocss-runtime-jezk5dwt.js → unocss-runtime-o01c8yfj.js} +1 -1
- package/dist/client/_nuxt/vendor/{json-editor-vue-linwxbdb.js → json-editor-vue-ikjc812x.js} +1 -1
- package/dist/client/_nuxt/vendor/json-editor-vue.css-f8ezrn37.css +1 -0
- package/dist/client/_nuxt/vendor/{quicktype-core-i7mnewyz.js → quicktype-core-e2ngitjr.js} +47 -47
- package/dist/client/_nuxt/vendor/{unocss-ia2v1z12.js → unocss-jpwnx6aq.js} +3 -3
- package/dist/client/_nuxt/vendor/unocss.css-c5u30s53.css +1 -0
- package/dist/client/_nuxt/vendor/xterm.css-g1ekxkss.css +1 -0
- package/dist/client/_nuxt/virtual-files-be3na8kr.js +1 -0
- package/dist/client/_nuxt/vue-devtools-bywsfgh0.js +2 -0
- package/dist/client/_nuxt/{vue-virtual-scroller.esm-ma3b9hj8.js → vue-virtual-scroller.esm-b0ym3ct8.js} +1 -1
- package/dist/client/index.html +1 -30
- package/dist/module.json +1 -1
- package/dist/runtime/shared/hooks.js +7 -5
- package/package.json +6 -6
- package/dist/client/_nuxt/__blank-o2e2nlba.js +0 -1
- package/dist/client/_nuxt/analyze-build-diwe2szv.js +0 -1
- package/dist/client/_nuxt/assets-pe7aspnr.js +0 -16
- package/dist/client/_nuxt/bt3kp296.js +0 -19
- package/dist/client/_nuxt/builds/meta/fd2d247c-d08c-4876-8eb1-788ff76b5130.json +0 -1
- package/dist/client/_nuxt/code-diff.vue-cickw09g.js +0 -8
- package/dist/client/_nuxt/code-snippets.vue-c07ituis.js +0 -1
- package/dist/client/_nuxt/components-f2l06ppp.js +0 -1
- package/dist/client/_nuxt/composable-item.vue-emog8rj6.js +0 -1
- package/dist/client/_nuxt/custom-_name_-h5c6lznk.js +0 -1
- package/dist/client/_nuxt/data-schema-button.vue-fo5mzhk5.js +0 -1
- package/dist/client/_nuxt/data-schema-drawer-n1vsqai5.js +0 -2
- package/dist/client/_nuxt/debug-ci1q2odt.js +0 -1
- package/dist/client/_nuxt/entry.css-kes83a7q.css +0 -1
- package/dist/client/_nuxt/error-404-j6tfgryj.js +0 -1
- package/dist/client/_nuxt/error-404.css-f2r0whq7.css +0 -1
- package/dist/client/_nuxt/error-500-ladx81qb.js +0 -1
- package/dist/client/_nuxt/error-500.css-m0gu28nc.css +0 -1
- package/dist/client/_nuxt/filepath-item.vue-neqjm2ct.js +0 -1
- package/dist/client/_nuxt/full-2v877h6v.js +0 -1
- package/dist/client/_nuxt/help-fab.vue-lyrsxykz.js +0 -1
- package/dist/client/_nuxt/hooks-g58ti7nj.js +0 -1
- package/dist/client/_nuxt/imports-nol9on59.js +0 -1
- package/dist/client/_nuxt/index-g2ijengi.js +0 -1
- package/dist/client/_nuxt/launch-page.vue-b5jz6435.js +0 -1
- package/dist/client/_nuxt/modules-hu1ysr54.js +0 -1
- package/dist/client/_nuxt/nbadge-h7alls7b.js +0 -1
- package/dist/client/_nuxt/ncheckbox.vue-bh13p6qy.js +0 -1
- package/dist/client/_nuxt/ncode-block.vue-fnl81rsp.js +0 -2
- package/dist/client/_nuxt/ndrawer.vue-hcqgn10u.js +0 -1
- package/dist/client/_nuxt/ndropdown.vue-cclblmxb.js +0 -1
- package/dist/client/_nuxt/nicon-title.vue-c7m4gyag.js +0 -1
- package/dist/client/_nuxt/nlink.vue-beik88gb.js +0 -1
- package/dist/client/_nuxt/nmarkdown.vue-benph8ez.js +0 -1
- package/dist/client/_nuxt/nnavbar.vue-nldppm6i.js +0 -1
- package/dist/client/_nuxt/none-lokkcqs4.js +0 -1
- package/dist/client/_nuxt/nsection-block-ld7dxama.js +0 -1
- package/dist/client/_nuxt/nsection-block.css-h1lgpwgm.css +0 -1
- package/dist/client/_nuxt/nselect-tabs.vue-g78ecijz.js +0 -1
- package/dist/client/_nuxt/nselect.vue-ikkkj1tq.js +0 -1
- package/dist/client/_nuxt/nswitch.vue-gb2x6p6j.js +0 -1
- package/dist/client/_nuxt/open-graph-faj5gzr7.js +0 -3
- package/dist/client/_nuxt/overview-jwmopyjo.js +0 -1
- package/dist/client/_nuxt/pages-fhkqnroq.js +0 -1
- package/dist/client/_nuxt/payload-j580eq4r.js +0 -1
- package/dist/client/_nuxt/pinia-cx9i5o0a.js +0 -1
- package/dist/client/_nuxt/plugins-gkuc4ygp.js +0 -1
- package/dist/client/_nuxt/render-tree-ow6bnqdi.js +0 -1
- package/dist/client/_nuxt/runtime-configs-jfsk38ap.js +0 -1
- package/dist/client/_nuxt/server-discovery-i686iedr.js +0 -1
- package/dist/client/_nuxt/server-route-inputs.vue-e944cjqy.js +0 -1
- package/dist/client/_nuxt/server-routes-mlww6eyz.js +0 -9
- package/dist/client/_nuxt/server-tasks-k0hu327m.js +0 -1
- package/dist/client/_nuxt/settings-bkwbcq7e.js +0 -1
- package/dist/client/_nuxt/stacktrace-list.vue-gtf32k2z.js +0 -1
- package/dist/client/_nuxt/state-editor.vue-bv2vsi3e.js +0 -1
- package/dist/client/_nuxt/state-modules-caoe1wdh.js +0 -1
- package/dist/client/_nuxt/storage-gccispaw.js +0 -1
- package/dist/client/_nuxt/terminals-g1fjbpv3.js +0 -1
- package/dist/client/_nuxt/timeline-h1bvvh7f.js +0 -31
- package/dist/client/_nuxt/vendor/json-editor-vue.css-mqq5uooj.css +0 -1
- package/dist/client/_nuxt/vendor/unocss.css-mhvipxpl.css +0 -1
- package/dist/client/_nuxt/vendor/xterm.css-egmhki83.css +0 -32
- package/dist/client/_nuxt/virtual-files-bb8hkol9.js +0 -1
- package/dist/client/_nuxt/vue-devtools-eqaeie6v.js +0 -2
- /package/dist/client/_nuxt/vendor/{xterm-elw8536o.js → xterm-nmc0lagr.js} +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../
|
|
2
|
-
import{a as Ue,_ as We}from"./json-editor-vue-linwxbdb.js";const Ge=Object.freeze({left:0,top:0,width:16,height:16}),Y=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Me=Object.freeze({...Ge,...Y}),He=Object.freeze({...Me,body:"",hidden:!1}),qe=Object.freeze({width:null,height:null}),_e=Object.freeze({...qe,...Y});function Ye(t,e){const r={};!t.hFlip!=!e.hFlip&&(r.hFlip=!0),!t.vFlip!=!e.vFlip&&(r.vFlip=!0);const n=((t.rotate||0)+(e.rotate||0))%4;return n&&(r.rotate=n),r}function le(t,e){const r=Ye(t,e);for(const n in He)n in Y?n in t&&!(n in r)&&(r[n]=Y[n]):n in e?r[n]=e[n]:n in t&&(r[n]=t[n]);return r}function Ze(t,e){const r=t.icons,n=t.aliases||Object.create(null),s=Object.create(null);function o(l){if(r[l])return s[l]=[];if(!(l in s)){s[l]=null;const f=n[l]&&n[l].parent,u=f&&o(f);u&&(s[l]=[f].concat(u))}return s[l]}return(e||Object.keys(r).concat(Object.keys(n))).forEach(o),s}function ue(t,e,r){const n=t.icons,s=t.aliases||Object.create(null);let o={};function l(f){o=le(n[f]||s[f],o)}return l(e),r.forEach(l),le(t,o)}function Ke(t,e){if(t.icons[e])return ue(t,e,[]);const r=Ze(t,[e])[e];return r?ue(t,e,r):null}const Je=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Xe=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Z(t,e,r){if(e===1)return t;if(r=r||100,typeof t=="number")return Math.ceil(t*e*r)/r;if(typeof t!="string")return t;const n=t.split(Je);if(n===null||!n.length)return t;const s=[];let o=n.shift(),l=Xe.test(o);for(;;){if(l){const f=parseFloat(o);isNaN(f)?s.push(o):s.push(Math.ceil(f*e*r)/r)}else s.push(o);if(o=n.shift(),o===void 0)return s.join("");l=!l}}function Qe(t,e="defs"){let r="";const n=t.indexOf("<"+e);for(;n>=0;){const s=t.indexOf(">",n),o=t.indexOf("</"+e);if(s===-1||o===-1)break;const l=t.indexOf(">",o);if(l===-1)break;r+=t.slice(s+1,o).trim(),t=t.slice(0,n).trim()+t.slice(l+1)}return{defs:r,content:t}}function et(t,e){return t?"<defs>"+t+"</defs>"+e:e}function tt(t,e,r){const n=Qe(t);return et(n.defs,e+n.content+r)}const ae=t=>t==="unset"||t==="undefined"||t==="none";function nt(t,e){const r={...Me,...t},n={..._e,...e},s={left:r.left,top:r.top,width:r.width,height:r.height};let o=r.body;[r,n].forEach(g=>{const p=[],x=g.hFlip,b=g.vFlip;let w=g.rotate;x?b?w+=2:(p.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),p.push("scale(-1 1)"),s.top=s.left=0):b&&(p.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),p.push("scale(1 -1)"),s.top=s.left=0);let S;switch(w<0&&(w-=Math.floor(w/4)*4),w=w%4,w){case 1:S=s.height/2+s.top,p.unshift("rotate(90 "+S.toString()+" "+S.toString()+")");break;case 2:p.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:S=s.width/2+s.left,p.unshift("rotate(-90 "+S.toString()+" "+S.toString()+")");break}w%2===1&&(s.left!==s.top&&(S=s.left,s.left=s.top,s.top=S),s.width!==s.height&&(S=s.width,s.width=s.height,s.height=S)),p.length&&(o=tt(o,'<g transform="'+p.join(" ")+'">',"</g>"))});const l=n.width,f=n.height,u=s.width,a=s.height;let i,c;l===null?(c=f===null?"1em":f==="auto"?a:f,i=Z(c,u/a)):(i=l==="auto"?u:l,c=f===null?Z(i,a/u):f==="auto"?a:f);const d={},h=(g,p)=>{ae(p)||(d[g]=p.toString())};h("width",i),h("height",c);const y=[s.left,s.top,u,a];return d.viewBox=y.join(" "),{attributes:d,viewBox:y,body:o}}function rt(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function fe(t){let e=t.startsWith("<svg>")?t.replace("<svg>","<svg >"):t;return!e.includes(" xmlns:xlink=")&&e.includes(" xlink:")&&(e=e.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),e.includes(" xmlns=")||(e=e.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),rt(e)}function st(t){return t.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()}const it=/\swidth\s*=\s*["']([\w.]+)["']/,ot=/\sheight\s*=\s*["']([\w.]+)["']/,Q=/<svg\s+/;function at(t,e,r){const n=t.slice(0,t.indexOf(">")),s=(o,l)=>{const f=l.exec(n),u=f!=null,a=e[o];return!a&&!ae(a)&&(typeof r=="number"?r>0&&(e[o]=Z(f?.[1]??"1em",r)):f&&(e[o]=f[1])),u};return[s("width",it),s("height",ot)]}async function Ee(t,e,r,n,s,o){const{scale:l,addXmlNs:f=!1}=n??{},{additionalProps:u={},iconCustomizer:a}=n?.customizations??{},i=await s?.()??{};await a?.(e,r,i),Object.keys(u).forEach(g=>{const p=u[g];p!=null&&(i[g]=p)}),o?.(i);const[c,d]=at(t,i,l);f&&(!t.includes("xmlns=")&&!i.xmlns&&(i.xmlns="http://www.w3.org/2000/svg"),!t.includes("xmlns:xlink=")&&t.includes("xlink:")&&!i["xmlns:xlink"]&&(i["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const h=Object.keys(i).map(g=>g==="width"&&c||g==="height"&&d?null:`${g}="${i[g]}"`).filter(g=>g!=null);if(h.length&&(t=t.replace(Q,`<svg ${h.join(" ")} `)),n){const{defaultStyle:g,defaultClass:p}=n;p&&!t.includes("class=")&&(t=t.replace(Q,`<svg class="${p}" `)),g&&!t.includes("style=")&&(t=t.replace(Q,`<svg style="${g}" `))}const y=n?.usedProps;return y&&(Object.keys(u).forEach(g=>{const p=i[g];p!=null&&(y[g]=p)}),typeof i.width<"u"&&i.width!==null&&(y.width=i.width),typeof i.height<"u"&&i.height!==null&&(y.height=i.height)),t}var U={exports:{}},ee,de;function ct(){if(de)return ee;de=1;var t=1e3,e=t*60,r=e*60,n=r*24,s=n*7,o=n*365.25;ee=function(i,c){c=c||{};var d=typeof i;if(d==="string"&&i.length>0)return l(i);if(d==="number"&&isFinite(i))return c.long?u(i):f(i);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(i))};function l(i){if(i=String(i),!(i.length>100)){var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);if(c){var d=parseFloat(c[1]),h=(c[2]||"ms").toLowerCase();switch(h){case"years":case"year":case"yrs":case"yr":case"y":return d*o;case"weeks":case"week":case"w":return d*s;case"days":case"day":case"d":return d*n;case"hours":case"hour":case"hrs":case"hr":case"h":return d*r;case"minutes":case"minute":case"mins":case"min":case"m":return d*e;case"seconds":case"second":case"secs":case"sec":case"s":return d*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:return}}}}function f(i){var c=Math.abs(i);return c>=n?Math.round(i/n)+"d":c>=r?Math.round(i/r)+"h":c>=e?Math.round(i/e)+"m":c>=t?Math.round(i/t)+"s":i+"ms"}function u(i){var c=Math.abs(i);return c>=n?a(i,c,n,"day"):c>=r?a(i,c,r,"hour"):c>=e?a(i,c,e,"minute"):c>=t?a(i,c,t,"second"):i+" ms"}function a(i,c,d,h){var y=c>=d*1.5;return Math.round(i/d)+" "+h+(y?"s":"")}return ee}var te,he;function lt(){if(he)return te;he=1;function t(e){n.debug=n,n.default=n,n.coerce=a,n.disable=f,n.enable=o,n.enabled=u,n.humanize=ct(),n.destroy=i,Object.keys(e).forEach(c=>{n[c]=e[c]}),n.names=[],n.skips=[],n.formatters={};function r(c){let d=0;for(let h=0;h<c.length;h++)d=(d<<5)-d+c.charCodeAt(h),d|=0;return n.colors[Math.abs(d)%n.colors.length]}n.selectColor=r;function n(c){let d,h=null,y,g;function p(...x){if(!p.enabled)return;const b=p,w=Number(new Date),S=w-(d||w);b.diff=S,b.prev=d,b.curr=w,d=w,x[0]=n.coerce(x[0]),typeof x[0]!="string"&&x.unshift("%O");let m=0;x[0]=x[0].replace(/%([a-zA-Z%])/g,(C,v)=>{if(C==="%%")return"%";m++;const A=n.formatters[v];if(typeof A=="function"){const L=x[m];C=A.call(b,L),x.splice(m,1),m--}return C}),n.formatArgs.call(b,x),(b.log||n.log).apply(b,x)}return p.namespace=c,p.useColors=n.useColors(),p.color=n.selectColor(c),p.extend=s,p.destroy=n.destroy,Object.defineProperty(p,"enabled",{enumerable:!0,configurable:!1,get:()=>h!==null?h:(y!==n.namespaces&&(y=n.namespaces,g=n.enabled(c)),g),set:x=>{h=x}}),typeof n.init=="function"&&n.init(p),p}function s(c,d){const h=n(this.namespace+(typeof d>"u"?":":d)+c);return h.log=this.log,h}function o(c){n.save(c),n.namespaces=c,n.names=[],n.skips=[];const d=(typeof c=="string"?c:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const h of d)h[0]==="-"?n.skips.push(h.slice(1)):n.names.push(h)}function l(c,d){let h=0,y=0,g=-1,p=0;for(;h<c.length;)if(y<d.length&&(d[y]===c[h]||d[y]==="*"))d[y]==="*"?(g=y,p=h,y++):(h++,y++);else if(g!==-1)y=g+1,p++,h=p;else return!1;for(;y<d.length&&d[y]==="*";)y++;return y===d.length}function f(){const c=[...n.names,...n.skips.map(d=>"-"+d)].join(",");return n.enable(""),c}function u(c){for(const d of n.skips)if(l(c,d))return!1;for(const d of n.names)if(l(c,d))return!0;return!1}function a(c){return c instanceof Error?c.stack||c.message:c}function i(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}return te=t,te}var pe;function ut(){return pe||(pe=1,(function(t,e){var r={};e.formatArgs=s,e.save=o,e.load=l,e.useColors=n,e.storage=f(),e.destroy=(()=>{let a=!1;return()=>{a||(a=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let a;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(a=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(a[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function s(a){if(a[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+a[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const i="color: "+this.color;a.splice(1,0,i,"color: inherit");let c=0,d=0;a[0].replace(/%[a-zA-Z%]/g,h=>{h!=="%%"&&(c++,h==="%c"&&(d=c))}),a.splice(d,0,i)}e.log=console.debug||console.log||(()=>{});function o(a){try{a?e.storage.setItem("debug",a):e.storage.removeItem("debug")}catch{}}function l(){let a;try{a=e.storage.getItem("debug")||e.storage.getItem("DEBUG")}catch{}return!a&&typeof process<"u"&&"env"in process&&(a=r.DEBUG),a}function f(){try{return localStorage}catch{}}t.exports=lt()(e);const{formatters:u}=t.exports;u.j=function(a){try{return JSON.stringify(a)}catch(i){return"[UnexpectedJSONParseError]: "+i.message}}})(U,U.exports)),U.exports}var ft=ut();const je=Ue(ft),dt=je("@iconify-loader:custom");async function me(t,e,r,n){let s;dt(`${e}:${r}`);try{if(typeof t=="function")s=await t(r);else{const o=t[r];s=typeof o=="function"?await o():o}}catch(o){console.warn(`Failed to load custom icon "${r}" in "${e}":`,o);return}if(s){const o=s.indexOf("<svg");o>0&&(s=s.slice(o));const{transform:l}=n?.customizations??{};return s=typeof l=="function"?await l(s,e,r):s,s.startsWith("<svg")?await Ee(n?.customizations?.trimCustomSvg===!0?st(s):s,e,r,n,void 0):(console.warn(`Custom icon "${r}" in "${e}" is not a valid SVG`),s)}}const ht=je("@iconify-loader:icon");async function Oe(t,e,r,n){let s;const{customize:o}=n?.customizations??{};for(const l of r)if(s=Ke(t,l),s){ht(`${e}:${l}`);let f={..._e};typeof o=="function"&&(s=Object.assign({},s),f=o(f,s,`${e}:${l}`)??f);const{attributes:{width:u,height:a,...i},body:c}=nt(s,f),d=n?.scale;return await Ee(`<svg >${c}</svg>`,e,l,n,()=>({...i}),h=>{const y=(g,p)=>{const x=h[g];let b;if(!ae(x)){if(x)return;typeof d=="number"?d&&(b=Z(p??"1em",d)):b=p}b?h[g]=b:delete h[g]};y("width",u),y("height",a)})}}const Le=async(t,e,r)=>{const n=r?.customCollections?.[t];if(n)if(typeof n=="function"){let s;try{s=await n(e)}catch(o){console.warn(`Failed to load custom icon "${e}" in "${t}":`,o);return}if(s){if(typeof s=="string")return await me(()=>s,t,e,r);if("icons"in s){const o=[e,e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.replace(/([a-z])(\d+)/g,"$1-$2")];return await Oe(s,t,o,r)}}}else return await me(n,t,e,r)},H="default",oe="preflights",pt="shortcuts",mt="imports",gt={[mt]:-200,[oe]:-100,[pt]:-10,[H]:0},yt=/[\\:]?[\s'"`;{}]+/g;function wt(t){return t.split(yt)}const Ct={name:"@unocss/core/extractor-split",order:0,extract({code:t}){return wt(t)}};function O(t=[]){return Array.isArray(t)?t:[t]}function N(t){return Array.from(new Set(t))}function ge(t,e){return t.reduce((r,n)=>(r.findIndex(o=>e(n,o))===-1&&r.push(n),r),[])}function j(t){return typeof t=="string"}class Ie extends Set{_map=new Map;constructor(e){if(super(),e)for(const r of e)this.add(r)}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,r){return this._map.set(e,r),super.add(e)}}function ne(t){return t instanceof Ie}function bt(t){const e=t.length;let r=-1,n,s="";const o=t.charCodeAt(0);for(;++r<e;){if(n=t.charCodeAt(r),n===0){s+="�";continue}if(n===37){s+="\\%";continue}if(n===44){s+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&o===45){s+=`\\${n.toString(16)} `;continue}if(r===0&&e===1&&n===45){s+=`\\${t.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){s+=t.charAt(r);continue}s+=`\\${t.charAt(r)}`}return s}const re=bt;function vt(){return{events:{},emit(t,...e){(this.events[t]||[]).forEach(r=>r(...e))},on(t,e){return(this.events[t]=this.events[t]||[]).push(e),()=>this.events[t]=(this.events[t]||[]).filter(r=>r!==e)}}}function xt(t){return typeof t=="function"?{match:t}:t}function ye(t){return t.length===3}function se(t){return t!=null}function St(){}class $t{_map=new Map;get(e,r){const n=this._map.get(e);if(n)return n.get(r)}getFallback(e,r,n){let s=this._map.get(e);return s||(s=new Map,this._map.set(e,s)),s.has(r)||s.set(r,n),s.get(r)}set(e,r,n){let s=this._map.get(e);return s||(s=new Map,this._map.set(e,s)),s.set(r,n),this}has(e,r){return this._map.get(e)?.has(r)}delete(e,r){return this._map.get(e)?.delete(r)||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([s,o])=>e(o,r,s)))}}class Ft extends Map{getFallback(e,r){const n=this.get(e);return n===void 0?(this.set(e,r),r):n}map(e){const r=[];return this.forEach((n,s)=>{r.push(e(n,s))}),r}flatMap(e){const r=[];return this.forEach((n,s)=>{r.push(...e(n,s))}),r}}function K(t){return j(t)?t:(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function At(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>K(e)):[t]:[K(t)]}function kt(t){return t.filter(([e,r],n)=>{if(e.startsWith("$$"))return!1;for(let s=n-1;s>=0;s--)if(t[s][0]===e&&t[s][1]===r)return!1;return!0})}const Pe="__virtual_key__";function ie(t){return t==null?"":kt(t).map(([e,r])=>r!=null&&typeof r!="function"?e!==Pe?`${e}:${r};`:r:void 0).filter(Boolean).join("")}function W(t){return t&&typeof t=="object"&&!Array.isArray(t)}function Re(t,e,r=!1){const n=t,s=e;if(Array.isArray(s))return r&&Array.isArray(s)?[...n,...s]:[...s];const o={...n};return W(n)&&W(s)&&Object.keys(s).forEach(l=>{W(n[l])&&W(s[l])||Array.isArray(n[l])&&Array.isArray(s[l])?o[l]=Re(n[l],s[l],r):Object.assign(o,{[l]:s[l]})}),o}function q(t){let e,r,n;if(Array.isArray(t)){for(r=Array.from({length:e=t.length});e--;)r[e]=(n=t[e])&&typeof n=="object"?q(n):n;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:q(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(n=t[e])&&typeof n=="object"?q(n):n;return r}return t}function Mt(t){return j(t[0])}function _t(t){return j(t[0])}const G={};function Et(t=["-",":"]){const e=t.join("|");return G[e]||(G[e]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),G[e].lastIndex=0,G[e]}function jt(t,e=["-",":"],r=5){const n=Et(e);let s,o=t.toString();const l=new Set,f=new Map;do s=!1,o=o.replace(n,(a,i,c,d,h)=>{if(!e.includes(c))return a;s=!0,l.add(i+c);const y=h+i.length+c.length+1,g={length:a.length,items:[]};f.set(h,g);for(const p of[...d.matchAll(/\S+/g)]){const x=y+p.index;let b=f.get(x)?.items;b?f.delete(x):b=[{offset:x,length:p[0].length,className:p[0]}];for(const w of b)w.className=w.className==="~"?i:w.className.replace(/^(!?)(.*)/,`$1${i}${c}$2`),g.items.push(w)}return"$".repeat(a.length)}),r-=1;while(s&&r);let u;if(typeof t=="string"){u="";let a=0;for(const[i,c]of f)u+=t.slice(a,i),u+=c.items.map(d=>d.className).join(" "),a=i+c.length;u+=t.slice(a)}else{u=t;for(const[a,i]of f)u.overwrite(a,a+i.length,i.items.map(c=>c.className).join(" "))}return{prefixes:Array.from(l),hasChanged:s,groupsByOffset:f,get expanded(){return u.toString()}}}function Ot(t,e=["-",":"],r=5){const n=jt(t,e,r);return typeof t=="string"?n.expanded:t}const we=new Set;function Te(t){we.has(t)||(console.warn("[unocss]",t),we.add(t))}function ze(t){return O(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}const Ce="_uno_resolved";async function Lt(t){let e=typeof t=="function"?await t():await t;if(Ce in e)return e;e={...e},Object.defineProperty(e,Ce,{value:!0,enumerable:!1});const r=e.shortcuts?ze(e.shortcuts):void 0;if(e.shortcuts=r,e.prefix||e.layer){const n=s=>{s[2]||(s[2]={});const o=s[2];o.prefix==null&&e.prefix&&(o.prefix=O(e.prefix)),o.layer==null&&e.layer&&(o.layer=e.layer)};r?.forEach(n),e.rules?.forEach(n)}return e}async function De(t){const e=await Lt(t);if(!e.presets)return[e];const r=(await Promise.all((e.presets||[]).flatMap(O).flatMap(De))).flat();return[e,...r]}function It(t){if(t.length===0)return{};const e=[],r=[];let n=!1;const s=[],o=[];for(const f of t){if(f.pipeline===!1){n=!0;break}else f.pipeline?.include&&e.push(f.pipeline.include),f.pipeline?.exclude&&r.push(f.pipeline.exclude);f.filesystem&&s.push(f.filesystem),f.inline&&o.push(f.inline)}const l={pipeline:n?!1:{include:N(ve(...e)),exclude:N(ve(...r))}};return s.length&&(l.filesystem=N(s.flat())),o.length&&(l.inline=N(o.flat())),l}async function be(t={},e={}){const r=Object.assign({},e,t),n=ge((await Promise.all((r.presets||[]).flatMap(O).flatMap(De))).flat(),(m,$)=>m.name===$.name),s=[...n.filter(m=>m.enforce==="pre"),...n.filter(m=>!m.enforce),...n.filter(m=>m.enforce==="post")],o=[...s,r],l=[...o].reverse(),f=Object.assign({},gt,...o.map(m=>m.layers));function u(m){return N(o.flatMap($=>O($[m]||[])))}const a=u("extractors");let i=l.find(m=>m.extractorDefault!==void 0)?.extractorDefault;i===void 0&&(i=Ct),i&&!a.includes(i)&&a.unshift(i),a.sort((m,$)=>(m.order||0)-($.order||0));const c=u("rules"),d=c.length,h={},y=[];for(const[m,$]of c.entries()){const C=$[2]??($[2]={});C.__index=m,Mt($)?O(C.prefix??"").forEach(A=>{h[A+$[0]]=$}):y.unshift($)}const g={templates:N(o.flatMap(m=>O(m.autocomplete?.templates))),extractors:o.flatMap(m=>O(m.autocomplete?.extractors)).sort((m,$)=>(m.order||0)-($.order||0)),shorthands:Rt(o.map(m=>m.autocomplete?.shorthands||{}))};let p=u("separators");p.length||(p=[":","-"]);const x=u("content"),b=It(x),w={mergeSelectors:!0,warn:!0,sortLayers:m=>m,...r,blocklist:u("blocklist"),presets:s,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:f,theme:Pt(o.map(m=>m.theme)),rules:c,rulesSize:d,rulesDynamic:y,rulesStaticMap:h,preprocess:u("preprocess"),postprocess:u("postprocess"),preflights:u("preflights"),autocomplete:g,variants:u("variants").map(xt).sort((m,$)=>(m.order||0)-($.order||0)),shortcuts:ze(u("shortcuts")).reverse(),extractors:a,safelist:u("safelist"),separators:p,details:r.details??r.envMode==="dev",content:b,transformers:ge(u("transformers"),(m,$)=>m.name===$.name)},S=u("extendTheme");for(const m of S)w.theme=m(w.theme,w)||w.theme;for(const m of o)m?.configResolved?.(w);return w}function Pt(t){return t.map(e=>e?q(e):{}).reduce((e,r)=>Re(e,r),{})}function Rt(t){return t.reduce((e,r)=>{const n={};for(const s in r){const o=r[s];Array.isArray(o)?n[s]=`(${o.join("|")})`:n[s]=o}return{...e,...n}},{})}function ve(...t){return t.flatMap(Tt)}function Tt(t){return Array.isArray(t)?t:t?[t]:[]}const zt="66.5.4",D={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"};class ce{constructor(e={},r={}){this.userConfig=e,this.defaults=r}version=zt;events=vt();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(e={},r={}){const n=new ce(e,r);return n.config=await be(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(e,r){e&&(r&&(this.defaults=r),this.userConfig=e,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await be(e,this.defaults),this.events.emit("config",this.config))}async applyExtractors(e,r,n=new Set){const s={original:e,code:e,id:r,extracted:n,envMode:this.config.envMode};for(const o of this.config.extractors){const l=await o.extract?.(s);if(l)if(ne(l)&&ne(n))for(const f of l)n.setCount(f,n.getCount(f)+l.getCount(f));else for(const f of l)n.add(f)}return n}makeContext(e,r){const n={rawSelector:e,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:D,variantHandlers:r[2],constructCSS:(...s)=>this.constructCustomCSS(n,...s),variantMatch:r};return n}async parseToken(e,r){if(this.blocked.has(e))return;const n=`${e}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);const s=this.config.preprocess.reduce((u,a)=>a(u)??u,e);if(this.isBlocked(s)){this.blocked.add(e),this.cache.set(n,null);return}const o=await this.matchVariants(e,s);if(o.every(u=>!u||this.isBlocked(u[1]))){this.blocked.add(e),this.cache.set(n,null);return}const l=async u=>{const a=this.makeContext(e,[r||u[0],u[1],u[2],u[3]]);this.config.details&&(a.variants=[...u[3]]);const i=await this.expandShortcut(a.currentSelector,a);return i?await this.stringifyShortcuts(a.variantMatch,a,i[0],i[1]):(await this.parseUtil(a.variantMatch,a))?.map(d=>this.stringifyUtil(d,a)).filter(se)},f=(await Promise.all(o.map(u=>l(u)))).flat().filter(u=>!!u);if(f?.length)return this.cache.set(n,f),f;this.cache.set(n,null)}async generate(e,r={}){const{id:n,scope:s,preflights:o=!0,safelist:l=!0,minify:f=!1,extendedInfo:u=!1}=r,a=j(e)?await this.applyExtractors(e,n,u?new Ie:new Set):Array.isArray(e)?new Set(e):e;if(l){const C={generator:this,theme:this.config.theme};this.config.safelist.flatMap(v=>typeof v=="function"?v(C):v).forEach(v=>{const A=v.trim();A&&!a.has(A)&&a.add(A)})}const i=f?"":`
|
|
3
|
-
`,c=new Set([H]),d=u?new Map:new Set,h=new Map;let y={};const g=Array.from(a).map(async C=>{if(d.has(C))return;const v=await this.parseToken(C);if(v!=null){d instanceof Map?d.set(C,{data:v,count:ne(a)?a.getCount(C):-1}):d.add(C);for(const A of v){const L=A[3]||"",P=A[4]?.layer;h.has(L)||h.set(L,[]),h.get(L).push(A),P&&c.add(P)}}});await Promise.all(g),await(async()=>{if(!o)return;const C={generator:this,theme:this.config.theme},v=new Set([]);this.config.preflights.forEach(({layer:A=oe})=>{c.add(A),v.add(A)}),y=Object.fromEntries(await Promise.all(Array.from(v).map(async A=>{const P=(await Promise.all(this.config.preflights.filter(R=>(R.layer||oe)===A).map(async R=>await R.getCSS(C)))).filter(Boolean).join(i);return[A,P]})))})();const p=this.config.sortLayers(Array.from(c).sort((C,v)=>(this.config.layers[C]??0)-(this.config.layers[v]??0)||C.localeCompare(v))),x={},b=this.config.outputToCssLayers,w=C=>{let v=C;return typeof b=="object"&&(v=b.cssLayerName?.(C)),v===null?null:v??C},S=(C=H)=>{if(x[C])return x[C];let v=Array.from(h).sort((P,R)=>(this.parentOrders.get(P[0])??0)-(this.parentOrders.get(R[0])??0)||P[0]?.localeCompare(R[0]||"")||0).map(([P,R])=>{const F=R.length,k=R.filter(_=>(_[4]?.layer||H)===C).sort((_,T)=>_[0]-T[0]||(_[4]?.sort||0)-(T[4]?.sort||0)||_[5]?.currentSelector?.localeCompare(T[5]?.currentSelector??"")||_[1]?.localeCompare(T[1]||"")||_[2]?.localeCompare(T[2]||"")||0).map(([,_,T,,B,,J])=>[[[(_&&Vt(_,s))??"",B?.sort??0]],T,!!(J??B?.noMerge)]);if(!k.length)return;const M=k.reverse().map(([_,T,B],J)=>{if(!B&&this.config.mergeSelectors)for(let V=J+1;V<F;V++){const z=k[V];if(z&&!z[2]&&(_&&z[0]||_==null&&z[0]==null)&&z[1]===T)return _&&z[0]&&z[0].push(..._),null}const X=_?N(_.sort((V,z)=>V[1]-z[1]||V[0]?.localeCompare(z[0]||"")||0).map(V=>V[0]).filter(Boolean)):[];return X.length?`${X.join(`,${i}`)}{${T}}`:T}).filter(Boolean),E=Array.from(new Set(M)).reverse().join(i);if(!P)return E;const I=P.split(" $$ ");return`${I.join("{")}{${i}${E}${i}${"}".repeat(I.length)}`}).filter(Boolean).join(i);o&&(v=[y[C],v].filter(Boolean).join(i));let A;b&&v&&(A=w(C),A!==null&&(v=`@layer ${A}{${i}${v}${i}}`));const L=f?"":`/* layer: ${C}${A&&A!==C?`, alias: ${A}`:""} */${i}`;return x[C]=v?L+v:""},m=(C=p,v)=>{const A=C.filter(L=>!v?.includes(L));return[b&&A.length>0?`@layer ${A.map(w).filter(se).join(", ")};`:void 0,...A.map(L=>S(L)||"")].filter(Boolean).join(i)};return{get css(){return m()},layers:p,matched:d,getLayers:m,getLayer:S,setLayer:async(C,v)=>{const A=await v(S(C));return x[C]=A,A}}}async matchVariants(e,r){const n={rawSelector:e,theme:this.config.theme,generator:this},s=async o=>{let l=!0;const[,,f,u]=o;for(;l;){l=!1;const a=o[1];for(const i of this.config.variants){if(!i.multiPass&&u.has(i))continue;let c=await i.match(a,n);if(c){if(j(c)){if(c===a)continue;c={matcher:c}}if(Array.isArray(c)){if(!c.length)continue;if(c.length===1)c=c[0];else{if(i.multiPass)throw new Error("multiPass can not be used together with array return variants");const d=c.map(h=>{const y=h.matcher??a,g=[h,...f],p=new Set(u);return p.add(i),[o[0],y,g,p]});return(await Promise.all(d.map(h=>s(h)))).flat()}}o[1]=c.matcher??a,f.unshift(c),u.add(i),l=!0;break}}if(!l)break;if(f.length>500)throw new Error(`Too many variants applied to "${e}"`)}return[o]};return await s([e,r||e,[],new Set])}applyVariants(e,r=e[4],n=e[1]){const o=r.slice().sort((a,i)=>(a.order||0)-(i.order||0)).reduceRight((a,i)=>c=>{const d=i.body?.(c.entries)||c.entries,h=Array.isArray(i.parent)?i.parent:[i.parent,void 0],y=i.selector?.(c.selector,d);return(i.handle??Ut)({...c,entries:d,selector:y||c.selector,parent:h[0]||c.parent,parentOrder:h[1]||c.parentOrder,layer:i.layer||c.layer,sort:i.sort||c.sort},a)},a=>a)({prefix:"",selector:Bt(n),pseudo:"",entries:e[2]}),{parent:l,parentOrder:f}=o;l!=null&&f!=null&&this.parentOrders.set(l,f);const u={selector:[o.prefix,o.selector,o.pseudo].join(""),entries:o.entries,parent:l,layer:o.layer,sort:o.sort,noMerge:o.noMerge};for(const a of this.config.postprocess)a(u);return u}constructCustomCSS(e,r,n){const s=K(r);if(j(s))return s;const{selector:o,entries:l,parent:f}=this.applyVariants([0,n||e.rawSelector,s,void 0,e.variantHandlers]),u=`${o}{${ie(l)}}`;return f?`${f}{${u}}`:u}async parseUtil(e,r,n=!1,s){const o=j(e)?await this.matchVariants(e):[e],l=async([u,a,i])=>{this.config.details&&(r.rules=r.rules??[]);const c={...r,variantHandlers:i},d=this.config.rulesStaticMap[a];if(d&&d[1]&&(n||!d[2]?.internal))return this.resolveCSSResult(u,d[1],d,c);for(const h of this.config.rulesDynamic){const[y,g,p]=h;if(p?.internal&&!n)continue;let x=a;if(p?.prefix){const m=O(p.prefix);if(s){const $=O(s);if(!m.some(C=>$.includes(C)))continue}else{const $=m.find(C=>a.startsWith(C));if($==null)continue;x=a.slice($.length)}}const b=x.match(y);if(!b)continue;let w=await g(b,c);if(!w)continue;if(typeof w!="string")if(Symbol.asyncIterator in w){const m=[];for await(const $ of w)$&&m.push($);w=m}else Symbol.iterator in w&&!Array.isArray(w)&&(w=Array.from(w).filter(se));const S=this.resolveCSSResult(u,w,h,c);if(S)return S}},f=(await Promise.all(o.map(u=>l(u)))).flat().filter(u=>!!u);if(f.length)return f}resolveCSSResult=(e,r,n,s)=>{const o=At(r).filter(l=>l.length);if(o.length){this.config.details&&s.rules.push(n),s.generator.activatedRules.add(n);const l=n[2];return o.map(f=>{if(j(f))return[l.__index,f,l];let u=s.variantHandlers,a=l;for(const i of f)i[0]===D.variants?typeof i[1]=="function"?u=i[1](u)||u:u=[...O(i[1]),...u]:i[0]===D.parent?u=[{parent:i[1]},...u]:i[0]===D.selector?u=[{selector:i[1]},...u]:i[0]===D.layer?u=[{layer:i[1]},...u]:i[0]===D.sort?a={...a,sort:i[1]}:i[0]===D.noMerge?a={...a,noMerge:i[1]}:i[0]===D.body&&(i[0]=Pe);return[l.__index,e,f,a,u]})}};stringifyUtil(e,r){if(!e)return;if(ye(e))return[e[0],void 0,e[1],void 0,e[2],this.config.details?r:void 0,void 0];const{selector:n,entries:s,parent:o,layer:l,sort:f,noMerge:u}=this.applyVariants(e),a=ie(s);if(!a)return;const{layer:i,sort:c,...d}=e[3]??{},h={...d,layer:l??i,sort:f??c};return[e[0],n,a,o,h,this.config.details?r:void 0,u]}async expandShortcut(e,r,n=5){if(n===0)return;const s=this.config.details?a=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(a)}:St;let o,l,f,u;for(const a of this.config.shortcuts){let i=e;if(a[2]?.prefix){const d=O(a[2].prefix).find(h=>e.startsWith(h));if(d==null)continue;i=e.slice(d.length)}if(_t(a)){if(a[0]===i){o=o||a[2],l=a[1],s(a);break}}else{const c=i.match(a[0]);if(c&&(l=a[1](c,r)),l){o=o||a[2],s(a);break}}}if(l&&(f=N(O(l).filter(j).map(a=>Ot(a.trim()).split(/\s+/g)).flat()),u=O(l).filter(a=>!j(a)).map(a=>({handles:[],value:a}))),!l){const a=j(e)?await this.matchVariants(e):[e];for(const i of a){const[c,d,h]=i;if(c!==d){const y=await this.expandShortcut(d,r,n-1);y&&(f=y[0].filter(j).map(g=>c.replace(d,g)),u=y[0].filter(g=>!j(g)).map(g=>({handles:[...g.handles,...h],value:g.value})))}}}if(!(!f?.length&&!u?.length))return[[await Promise.all(O(f).map(async a=>(await this.expandShortcut(a,r,n-1))?.[0]||[a])),u].flat(2).filter(a=>!!a),o]}async stringifyShortcuts(e,r,n,s={layer:this.config.shortcutsLayer}){const o=new Ft,l=(await Promise.all(N(n).map(async i=>{const c=j(i)?await this.parseUtil(i,r,!0,s.prefix):[[Number.POSITIVE_INFINITY,"{inline}",K(i.value),void 0,i.handles]];return!c&&this.config.warn&&Te(`unmatched utility "${i}" in shortcut "${e[1]}"`),c||[]}))).flat(1).filter(Boolean).sort((i,c)=>i[0]-c[0]),[f,,u]=e,a=[];for(const i of l){if(ye(i)){a.push([i[0],void 0,i[1],void 0,i[2],r,void 0]);continue}const{selector:c,entries:d,parent:h,sort:y,noMerge:g,layer:p}=this.applyVariants(i,[...i[4],...u],f);o.getFallback(p??s.layer,new $t).getFallback(c,h,[[],i[0]])[0].push([d,!!(g??i[3]?.noMerge),y??0])}return a.concat(o.flatMap((i,c)=>i.map(([d,h],y,g)=>{const p=(b,w,S)=>{const m=Math.max(...S.map(C=>C[1])),$=S.map(C=>C[0]);return(b?[$.flat(1)]:$).map(C=>{const v=ie(C);if(v)return[h,y,v,g,{...s,noMerge:w,sort:m,layer:c},r,void 0]})};return[[d.filter(([,b])=>b).map(([b,,w])=>[b,w]),!0],[d.filter(([,b])=>!b).map(([b,,w])=>[b,w]),!1]].map(([b,w])=>[...p(!1,w,b.filter(([S])=>S.some(m=>m[0]===D.shortcutsNoMerge))),...p(!0,w,b.filter(([S])=>S.every(m=>m[0]!==D.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(e){return!e||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(e):j(r)?r===e:r.test(e))}getBlocked(e){const r=this.config.blocklist.find(n=>{const s=Array.isArray(n)?n[0]:n;return typeof s=="function"?s(e):j(s)?s===e:s.test(e)});return r?Array.isArray(r)?r:[r,void 0]:void 0}}async function Dt(t,e){return await ce.create(t,e)}const Ne=/\s\$\$\s+/g;function Nt(t){return Ne.test(t)}function Vt(t,e){return Nt(t)?t.replace(Ne,e?` ${e} `:" "):e?`${e} ${t}`:t}const xe=/^\[(.+?)(~?=)"(.*)"\]$/;function Bt(t){return xe.test(t)?t.replace(xe,(e,r,n,s)=>`[${re(r)}${n}"${re(s)}"]`):`.${re(t)}`}function Ut(t,e){return e(t)}var Se={};function Wt(){const t=typeof process<"u"&&process.stdout,e=t&&!!Se.VSCODE_CWD,r=t&&!!Se.ESLINT;return{isNode:t,isVSCode:e,isESLint:r}}const Ve=["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"],Gt=3;function Ht(t){return(e={})=>{const{scale:r=1,mode:n="auto",prefix:s="i-",warn:o=!1,iconifyCollectionsNames:l,collections:f,extraProperties:u={},customizations:a={},autoInstall:i=!1,collectionsNodeResolvePath:c,layer:d="icons",unit:h,processor:y}=e,g=Wt(),p={addXmlNs:!0,scale:r,customCollections:f,autoInstall:i,cwd:c,warn:void 0,customizations:{...a,additionalProps:{...u},trimCustomSvg:!0,async iconCustomizer(b,w,S){await a.iconCustomizer?.(b,w,S),h&&(S.width||(S.width=`${r}${h}`),S.height||(S.height=`${r}${h}`))}}};let x;return{name:"@unocss/preset-icons",enforce:"pre",options:e,layers:{icons:-30},api:{encodeSvgForCss:fe,parseIconWithLoader:$e},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async b=>{let[w,S,m=n]=b;x=x||await t(e);const $={},C=await $e(S,x,{...p,usedProps:$},l);if(!C){o&&!g.isESLint&&Te(`failed to load icon "${w}"`);return}let v;const A=`url("data:image/svg+xml;utf8,${fe(C.svg)}")`;return m==="auto"&&(m=C.svg.includes("currentColor")?"mask":"bg"),m==="mask"?v={"--un-icon":A,"-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",...$}:v={background:`${A} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...$},y?.(v,{...C,icon:C.name,mode:m}),v},{layer:d,prefix:s}]]}}}function Be(t,e,r=new Map){function n(s){if(Ve.includes(s))return r.has(s)||r.set(s,t(`${e}@iconify-json/${s}/icons.json`)),r.get(s)}return async(s,o,l)=>{let f=await Le(s,o,l);if(f)return f;const u=await n(s);if(u){const a=[o,o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o.replace(/([a-z])(\d+)/g,"$1-$2")];f=await Oe(u,s,a,l)}return f}}async function $e(t,e,r={},n=[]){let s="",o="",l;const f=new Set([...Ve,...n,...Object.keys(r.customCollections||{})]);if(t.includes(":")){if([s,o]=t.split(":"),!f.has(s))return;l=await e(s,o,r)}else{const u=t.split(/-/g);for(let a=Gt;a>=1&&(s=u.slice(0,a).join("-"),!(!!f.has(s)&&(o=u.slice(a).join("-"),l=await e(s,o,r),l)));a--);}if(l)return{collection:s,name:o,svg:l}}async function qt(t){const{$fetch:e}=await We(async()=>{const{$fetch:r}=await import("../bt3kp296.js").then(n=>n.bn);return{$fetch:r}},__vite__mapDeps([0,1,2,3,4]),import.meta.url);return Be(e,t)}const Qt=Ht(async t=>{const e=t?.customFetch,r=t?.cdn;return e&&r?Be(e,r):r?await qt(r):Le});function Yt(t){return t.replace(/-(\w)/g,(e,r)=>r?r.toUpperCase():"")}function Fe(t){return t.charAt(0).toUpperCase()+t.slice(1)}function Ae(t){return t.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var ke=["Webkit","Moz","ms"];function Zt(t){const e={};function r(n){const s=e[n];if(s)return s;let o=Yt(n);if(o!=="filter"&&o in t)return e[n]=Ae(o);o=Fe(o);for(let l=0;l<ke.length;l++){const f=`${ke[l]}${o}`;if(f in t)return e[n]=Ae(Fe(f))}return n}return({entries:n})=>n.forEach(s=>{s[0].startsWith("--")||(s[0]=r(s[0]))})}function Kt(t){return t.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}async function en(t={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}const e=window,r=window.document,n=()=>r.documentElement,s=e.__unocss||{},o=Object.assign({},t,s.runtime),l=o.defaults||{},f=o.cloakAttribute??"un-cloak";o.autoPrefix&&(l.postprocess=O(l.postprocess)).unshift(Zt(r.createElement("div").style)),o.configResolved?.(s,l);const u=await Dt(s,l),a=F=>o.inject?o.inject(F):n().prepend(F),i=()=>o.rootElement?o.rootElement():r.body,c=new Map;let d=!0;const h=new Set;let y,g,p=[];const x=()=>new Promise(F=>{p.push(F),g!=null&&clearTimeout(g),g=setTimeout(()=>S().then(()=>{const k=p;p=[],k.forEach(M=>M())}),0)});function b(F,k=!1){if(F.nodeType!==1)return;const M=F;M.hasAttribute(f)&&M.removeAttribute(f),k&&M.querySelectorAll(`[${f}]`).forEach(E=>{E.removeAttribute(f)})}function w(F,k){let M=c.get(F);if(!M)if(M=r.createElement("style"),M.setAttribute("data-unocss-runtime-layer",F),c.set(F,M),k==null)a(M);else{const E=w(k),I=E.parentNode;I?I.insertBefore(M,E.nextSibling):a(M)}return M}async function S(){const F=[...h],k=await u.generate(F);return k.layers.reduce((E,I)=>(w(I,E).innerHTML=k.getLayer(I)??"",I),void 0),F.filter(E=>!k.matched.has(E)).forEach(E=>h.delete(E)),{...k,getStyleElement:E=>c.get(E),getStyleElements:()=>c}}async function m(F){const k=h.size;await u.applyExtractors(F,void 0,h),k!==h.size&&await x()}async function $(F=i()){const k=F&&F.outerHTML;k&&(await m(`${k} ${Kt(k)}`),b(n()),b(F,!0))}const C=new MutationObserver(F=>{d||F.forEach(async k=>{if(k.target.nodeType!==1)return;const M=k.target;for(const E of c)if(M===E[1])return;if(k.type==="childList")k.addedNodes.forEach(async E=>{if(E.nodeType!==1)return;const I=E;y&&!y(I)||(await m(I.outerHTML),b(I))});else{if(y&&!y(M))return;if(k.attributeName!==f){const E=Array.from(M.attributes).map(_=>_.value?`${_.name}="${_.value}"`:_.name).join(" "),I=`<${M.tagName.toLowerCase()} ${E}>`;await m(I)}b(M)}})});let v=!1;function A(){if(v)return;const F=o.observer?.target?o.observer.target():i();F&&(C.observe(F,{childList:!0,subtree:!0,attributes:!0,attributeFilter:o.observer?.attributeFilter}),v=!0)}function L(){o.bypassDefined&&Jt(u.blocked),$(),A()}function P(){r.readyState==="loading"?e.addEventListener("DOMContentLoaded",L):L()}const R=e.__unocss_runtime=e.__unocss_runtime={version:u.version,uno:u,async extract(F){j(F)||(F.forEach(k=>h.add(k)),F=""),await m(F)},extractAll:$,inspect(F){y=F},toggleObserver(F){F===void 0?d=!d:d=!!F,!v&&!d&&P()},update:S,presets:e.__unocss_runtime?.presets??{}};o.ready?.(R)!==!1&&(d=!1,P())}function Jt(t=new Set){for(let e=0;e<document.styleSheets.length;e++){const r=document.styleSheets[e];let n;try{if(n=r.cssRules||r.rules,!n)continue;Array.from(n).flatMap(s=>s.selectorText?.split(/,/g)||[]).forEach(s=>{s&&(s=s.trim(),s.startsWith(".")&&(s=s.slice(1)),t.add(s))})}catch{continue}}return t}export{en as i,Qt as p};
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../hjatffgj.js","./json-editor-vue-ikjc812x.js","./json-editor-vue.css-f8ezrn37.css","./shiki-hpfujfi3.js","../entry.css-gme6a42i.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{a as Ue,_ as We}from"./json-editor-vue-ikjc812x.js";const Ge=Object.freeze({left:0,top:0,width:16,height:16}),Y=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Me=Object.freeze({...Ge,...Y}),He=Object.freeze({...Me,body:"",hidden:!1}),qe=Object.freeze({width:null,height:null}),_e=Object.freeze({...qe,...Y});function Ye(t,e){const r={};!t.hFlip!=!e.hFlip&&(r.hFlip=!0),!t.vFlip!=!e.vFlip&&(r.vFlip=!0);const n=((t.rotate||0)+(e.rotate||0))%4;return n&&(r.rotate=n),r}function le(t,e){const r=Ye(t,e);for(const n in He)n in Y?n in t&&!(n in r)&&(r[n]=Y[n]):n in e?r[n]=e[n]:n in t&&(r[n]=t[n]);return r}function Ze(t,e){const r=t.icons,n=t.aliases||Object.create(null),s=Object.create(null);function o(l){if(r[l])return s[l]=[];if(!(l in s)){s[l]=null;const f=n[l]&&n[l].parent,u=f&&o(f);u&&(s[l]=[f].concat(u))}return s[l]}return(e||Object.keys(r).concat(Object.keys(n))).forEach(o),s}function ue(t,e,r){const n=t.icons,s=t.aliases||Object.create(null);let o={};function l(f){o=le(n[f]||s[f],o)}return l(e),r.forEach(l),le(t,o)}function Ke(t,e){if(t.icons[e])return ue(t,e,[]);const r=Ze(t,[e])[e];return r?ue(t,e,r):null}const Je=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Xe=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Z(t,e,r){if(e===1)return t;if(r=r||100,typeof t=="number")return Math.ceil(t*e*r)/r;if(typeof t!="string")return t;const n=t.split(Je);if(n===null||!n.length)return t;const s=[];let o=n.shift(),l=Xe.test(o);for(;;){if(l){const f=parseFloat(o);isNaN(f)?s.push(o):s.push(Math.ceil(f*e*r)/r)}else s.push(o);if(o=n.shift(),o===void 0)return s.join("");l=!l}}function Qe(t,e="defs"){let r="";const n=t.indexOf("<"+e);for(;n>=0;){const s=t.indexOf(">",n),o=t.indexOf("</"+e);if(s===-1||o===-1)break;const l=t.indexOf(">",o);if(l===-1)break;r+=t.slice(s+1,o).trim(),t=t.slice(0,n).trim()+t.slice(l+1)}return{defs:r,content:t}}function et(t,e){return t?"<defs>"+t+"</defs>"+e:e}function tt(t,e,r){const n=Qe(t);return et(n.defs,e+n.content+r)}const ae=t=>t==="unset"||t==="undefined"||t==="none";function nt(t,e){const r={...Me,...t},n={..._e,...e},s={left:r.left,top:r.top,width:r.width,height:r.height};let o=r.body;[r,n].forEach(g=>{const p=[],x=g.hFlip,b=g.vFlip;let w=g.rotate;x?b?w+=2:(p.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),p.push("scale(-1 1)"),s.top=s.left=0):b&&(p.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),p.push("scale(1 -1)"),s.top=s.left=0);let S;switch(w<0&&(w-=Math.floor(w/4)*4),w=w%4,w){case 1:S=s.height/2+s.top,p.unshift("rotate(90 "+S.toString()+" "+S.toString()+")");break;case 2:p.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:S=s.width/2+s.left,p.unshift("rotate(-90 "+S.toString()+" "+S.toString()+")");break}w%2===1&&(s.left!==s.top&&(S=s.left,s.left=s.top,s.top=S),s.width!==s.height&&(S=s.width,s.width=s.height,s.height=S)),p.length&&(o=tt(o,'<g transform="'+p.join(" ")+'">',"</g>"))});const l=n.width,f=n.height,u=s.width,a=s.height;let i,c;l===null?(c=f===null?"1em":f==="auto"?a:f,i=Z(c,u/a)):(i=l==="auto"?u:l,c=f===null?Z(i,a/u):f==="auto"?a:f);const d={},h=(g,p)=>{ae(p)||(d[g]=p.toString())};h("width",i),h("height",c);const y=[s.left,s.top,u,a];return d.viewBox=y.join(" "),{attributes:d,viewBox:y,body:o}}function rt(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function fe(t){let e=t.startsWith("<svg>")?t.replace("<svg>","<svg >"):t;return!e.includes(" xmlns:xlink=")&&e.includes(" xlink:")&&(e=e.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),e.includes(" xmlns=")||(e=e.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),rt(e)}function st(t){return t.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()}const it=/\swidth\s*=\s*["']([\w.]+)["']/,ot=/\sheight\s*=\s*["']([\w.]+)["']/,Q=/<svg\s+/;function at(t,e,r){const n=t.slice(0,t.indexOf(">")),s=(o,l)=>{const f=l.exec(n),u=f!=null,a=e[o];return!a&&!ae(a)&&(typeof r=="number"?r>0&&(e[o]=Z(f?.[1]??"1em",r)):f&&(e[o]=f[1])),u};return[s("width",it),s("height",ot)]}async function Ee(t,e,r,n,s,o){const{scale:l,addXmlNs:f=!1}=n??{},{additionalProps:u={},iconCustomizer:a}=n?.customizations??{},i=await s?.()??{};await a?.(e,r,i),Object.keys(u).forEach(g=>{const p=u[g];p!=null&&(i[g]=p)}),o?.(i);const[c,d]=at(t,i,l);f&&(!t.includes("xmlns=")&&!i.xmlns&&(i.xmlns="http://www.w3.org/2000/svg"),!t.includes("xmlns:xlink=")&&t.includes("xlink:")&&!i["xmlns:xlink"]&&(i["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const h=Object.keys(i).map(g=>g==="width"&&c||g==="height"&&d?null:`${g}="${i[g]}"`).filter(g=>g!=null);if(h.length&&(t=t.replace(Q,`<svg ${h.join(" ")} `)),n){const{defaultStyle:g,defaultClass:p}=n;p&&!t.includes("class=")&&(t=t.replace(Q,`<svg class="${p}" `)),g&&!t.includes("style=")&&(t=t.replace(Q,`<svg style="${g}" `))}const y=n?.usedProps;return y&&(Object.keys(u).forEach(g=>{const p=i[g];p!=null&&(y[g]=p)}),typeof i.width<"u"&&i.width!==null&&(y.width=i.width),typeof i.height<"u"&&i.height!==null&&(y.height=i.height)),t}var U={exports:{}},ee,de;function ct(){if(de)return ee;de=1;var t=1e3,e=t*60,r=e*60,n=r*24,s=n*7,o=n*365.25;ee=function(i,c){c=c||{};var d=typeof i;if(d==="string"&&i.length>0)return l(i);if(d==="number"&&isFinite(i))return c.long?u(i):f(i);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(i))};function l(i){if(i=String(i),!(i.length>100)){var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);if(c){var d=parseFloat(c[1]),h=(c[2]||"ms").toLowerCase();switch(h){case"years":case"year":case"yrs":case"yr":case"y":return d*o;case"weeks":case"week":case"w":return d*s;case"days":case"day":case"d":return d*n;case"hours":case"hour":case"hrs":case"hr":case"h":return d*r;case"minutes":case"minute":case"mins":case"min":case"m":return d*e;case"seconds":case"second":case"secs":case"sec":case"s":return d*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:return}}}}function f(i){var c=Math.abs(i);return c>=n?Math.round(i/n)+"d":c>=r?Math.round(i/r)+"h":c>=e?Math.round(i/e)+"m":c>=t?Math.round(i/t)+"s":i+"ms"}function u(i){var c=Math.abs(i);return c>=n?a(i,c,n,"day"):c>=r?a(i,c,r,"hour"):c>=e?a(i,c,e,"minute"):c>=t?a(i,c,t,"second"):i+" ms"}function a(i,c,d,h){var y=c>=d*1.5;return Math.round(i/d)+" "+h+(y?"s":"")}return ee}var te,he;function lt(){if(he)return te;he=1;function t(e){n.debug=n,n.default=n,n.coerce=a,n.disable=f,n.enable=o,n.enabled=u,n.humanize=ct(),n.destroy=i,Object.keys(e).forEach(c=>{n[c]=e[c]}),n.names=[],n.skips=[],n.formatters={};function r(c){let d=0;for(let h=0;h<c.length;h++)d=(d<<5)-d+c.charCodeAt(h),d|=0;return n.colors[Math.abs(d)%n.colors.length]}n.selectColor=r;function n(c){let d,h=null,y,g;function p(...x){if(!p.enabled)return;const b=p,w=Number(new Date),S=w-(d||w);b.diff=S,b.prev=d,b.curr=w,d=w,x[0]=n.coerce(x[0]),typeof x[0]!="string"&&x.unshift("%O");let m=0;x[0]=x[0].replace(/%([a-zA-Z%])/g,(C,v)=>{if(C==="%%")return"%";m++;const A=n.formatters[v];if(typeof A=="function"){const L=x[m];C=A.call(b,L),x.splice(m,1),m--}return C}),n.formatArgs.call(b,x),(b.log||n.log).apply(b,x)}return p.namespace=c,p.useColors=n.useColors(),p.color=n.selectColor(c),p.extend=s,p.destroy=n.destroy,Object.defineProperty(p,"enabled",{enumerable:!0,configurable:!1,get:()=>h!==null?h:(y!==n.namespaces&&(y=n.namespaces,g=n.enabled(c)),g),set:x=>{h=x}}),typeof n.init=="function"&&n.init(p),p}function s(c,d){const h=n(this.namespace+(typeof d>"u"?":":d)+c);return h.log=this.log,h}function o(c){n.save(c),n.namespaces=c,n.names=[],n.skips=[];const d=(typeof c=="string"?c:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const h of d)h[0]==="-"?n.skips.push(h.slice(1)):n.names.push(h)}function l(c,d){let h=0,y=0,g=-1,p=0;for(;h<c.length;)if(y<d.length&&(d[y]===c[h]||d[y]==="*"))d[y]==="*"?(g=y,p=h,y++):(h++,y++);else if(g!==-1)y=g+1,p++,h=p;else return!1;for(;y<d.length&&d[y]==="*";)y++;return y===d.length}function f(){const c=[...n.names,...n.skips.map(d=>"-"+d)].join(",");return n.enable(""),c}function u(c){for(const d of n.skips)if(l(c,d))return!1;for(const d of n.names)if(l(c,d))return!0;return!1}function a(c){return c instanceof Error?c.stack||c.message:c}function i(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}return te=t,te}var pe;function ut(){return pe||(pe=1,(function(t,e){var r={};e.formatArgs=s,e.save=o,e.load=l,e.useColors=n,e.storage=f(),e.destroy=(()=>{let a=!1;return()=>{a||(a=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let a;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(a=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(a[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function s(a){if(a[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+a[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const i="color: "+this.color;a.splice(1,0,i,"color: inherit");let c=0,d=0;a[0].replace(/%[a-zA-Z%]/g,h=>{h!=="%%"&&(c++,h==="%c"&&(d=c))}),a.splice(d,0,i)}e.log=console.debug||console.log||(()=>{});function o(a){try{a?e.storage.setItem("debug",a):e.storage.removeItem("debug")}catch{}}function l(){let a;try{a=e.storage.getItem("debug")||e.storage.getItem("DEBUG")}catch{}return!a&&typeof process<"u"&&"env"in process&&(a=r.DEBUG),a}function f(){try{return localStorage}catch{}}t.exports=lt()(e);const{formatters:u}=t.exports;u.j=function(a){try{return JSON.stringify(a)}catch(i){return"[UnexpectedJSONParseError]: "+i.message}}})(U,U.exports)),U.exports}var ft=ut();const je=Ue(ft),dt=je("@iconify-loader:custom");async function me(t,e,r,n){let s;dt(`${e}:${r}`);try{if(typeof t=="function")s=await t(r);else{const o=t[r];s=typeof o=="function"?await o():o}}catch(o){console.warn(`Failed to load custom icon "${r}" in "${e}":`,o);return}if(s){const o=s.indexOf("<svg");o>0&&(s=s.slice(o));const{transform:l}=n?.customizations??{};return s=typeof l=="function"?await l(s,e,r):s,s.startsWith("<svg")?await Ee(n?.customizations?.trimCustomSvg===!0?st(s):s,e,r,n,void 0):(console.warn(`Custom icon "${r}" in "${e}" is not a valid SVG`),s)}}const ht=je("@iconify-loader:icon");async function Oe(t,e,r,n){let s;const{customize:o}=n?.customizations??{};for(const l of r)if(s=Ke(t,l),s){ht(`${e}:${l}`);let f={..._e};typeof o=="function"&&(s=Object.assign({},s),f=o(f,s,`${e}:${l}`)??f);const{attributes:{width:u,height:a,...i},body:c}=nt(s,f),d=n?.scale;return await Ee(`<svg >${c}</svg>`,e,l,n,()=>({...i}),h=>{const y=(g,p)=>{const x=h[g];let b;if(!ae(x)){if(x)return;typeof d=="number"?d&&(b=Z(p??"1em",d)):b=p}b?h[g]=b:delete h[g]};y("width",u),y("height",a)})}}const Le=async(t,e,r)=>{const n=r?.customCollections?.[t];if(n)if(typeof n=="function"){let s;try{s=await n(e)}catch(o){console.warn(`Failed to load custom icon "${e}" in "${t}":`,o);return}if(s){if(typeof s=="string")return await me(()=>s,t,e,r);if("icons"in s){const o=[e,e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.replace(/([a-z])(\d+)/g,"$1-$2")];return await Oe(s,t,o,r)}}}else return await me(n,t,e,r)},H="default",oe="preflights",pt="shortcuts",mt="imports",gt={[mt]:-200,[oe]:-100,[pt]:-10,[H]:0},yt=/[\\:]?[\s'"`;{}]+/g;function wt(t){return t.split(yt)}const Ct={name:"@unocss/core/extractor-split",order:0,extract({code:t}){return wt(t)}};function O(t=[]){return Array.isArray(t)?t:[t]}function N(t){return Array.from(new Set(t))}function ge(t,e){return t.reduce((r,n)=>(r.findIndex(o=>e(n,o))===-1&&r.push(n),r),[])}function j(t){return typeof t=="string"}class Ie extends Set{_map=new Map;constructor(e){if(super(),e)for(const r of e)this.add(r)}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,r){return this._map.set(e,r),super.add(e)}}function ne(t){return t instanceof Ie}function bt(t){const e=t.length;let r=-1,n,s="";const o=t.charCodeAt(0);for(;++r<e;){if(n=t.charCodeAt(r),n===0){s+="�";continue}if(n===37){s+="\\%";continue}if(n===44){s+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&o===45){s+=`\\${n.toString(16)} `;continue}if(r===0&&e===1&&n===45){s+=`\\${t.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){s+=t.charAt(r);continue}s+=`\\${t.charAt(r)}`}return s}const re=bt;function vt(){return{events:{},emit(t,...e){(this.events[t]||[]).forEach(r=>r(...e))},on(t,e){return(this.events[t]=this.events[t]||[]).push(e),()=>this.events[t]=(this.events[t]||[]).filter(r=>r!==e)}}}function xt(t){return typeof t=="function"?{match:t}:t}function ye(t){return t.length===3}function se(t){return t!=null}function St(){}class $t{_map=new Map;get(e,r){const n=this._map.get(e);if(n)return n.get(r)}getFallback(e,r,n){let s=this._map.get(e);return s||(s=new Map,this._map.set(e,s)),s.has(r)||s.set(r,n),s.get(r)}set(e,r,n){let s=this._map.get(e);return s||(s=new Map,this._map.set(e,s)),s.set(r,n),this}has(e,r){return this._map.get(e)?.has(r)}delete(e,r){return this._map.get(e)?.delete(r)||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([s,o])=>e(o,r,s)))}}class Ft extends Map{getFallback(e,r){const n=this.get(e);return n===void 0?(this.set(e,r),r):n}map(e){const r=[];return this.forEach((n,s)=>{r.push(e(n,s))}),r}flatMap(e){const r=[];return this.forEach((n,s)=>{r.push(...e(n,s))}),r}}function K(t){return j(t)?t:(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function At(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>K(e)):[t]:[K(t)]}function kt(t){return t.filter(([e,r],n)=>{if(e.startsWith("$$"))return!1;for(let s=n-1;s>=0;s--)if(t[s][0]===e&&t[s][1]===r)return!1;return!0})}const Pe="__virtual_key__";function ie(t){return t==null?"":kt(t).map(([e,r])=>r!=null&&typeof r!="function"?e!==Pe?`${e}:${r};`:r:void 0).filter(Boolean).join("")}function W(t){return t&&typeof t=="object"&&!Array.isArray(t)}function Re(t,e,r=!1){const n=t,s=e;if(Array.isArray(s))return r&&Array.isArray(s)?[...n,...s]:[...s];const o={...n};return W(n)&&W(s)&&Object.keys(s).forEach(l=>{W(n[l])&&W(s[l])||Array.isArray(n[l])&&Array.isArray(s[l])?o[l]=Re(n[l],s[l],r):Object.assign(o,{[l]:s[l]})}),o}function q(t){let e,r,n;if(Array.isArray(t)){for(r=Array.from({length:e=t.length});e--;)r[e]=(n=t[e])&&typeof n=="object"?q(n):n;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:q(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(n=t[e])&&typeof n=="object"?q(n):n;return r}return t}function Mt(t){return j(t[0])}function _t(t){return j(t[0])}const G={};function Et(t=["-",":"]){const e=t.join("|");return G[e]||(G[e]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),G[e].lastIndex=0,G[e]}function jt(t,e=["-",":"],r=5){const n=Et(e);let s,o=t.toString();const l=new Set,f=new Map;do s=!1,o=o.replace(n,(a,i,c,d,h)=>{if(!e.includes(c))return a;s=!0,l.add(i+c);const y=h+i.length+c.length+1,g={length:a.length,items:[]};f.set(h,g);for(const p of[...d.matchAll(/\S+/g)]){const x=y+p.index;let b=f.get(x)?.items;b?f.delete(x):b=[{offset:x,length:p[0].length,className:p[0]}];for(const w of b)w.className=w.className==="~"?i:w.className.replace(/^(!?)(.*)/,`$1${i}${c}$2`),g.items.push(w)}return"$".repeat(a.length)}),r-=1;while(s&&r);let u;if(typeof t=="string"){u="";let a=0;for(const[i,c]of f)u+=t.slice(a,i),u+=c.items.map(d=>d.className).join(" "),a=i+c.length;u+=t.slice(a)}else{u=t;for(const[a,i]of f)u.overwrite(a,a+i.length,i.items.map(c=>c.className).join(" "))}return{prefixes:Array.from(l),hasChanged:s,groupsByOffset:f,get expanded(){return u.toString()}}}function Ot(t,e=["-",":"],r=5){const n=jt(t,e,r);return typeof t=="string"?n.expanded:t}const we=new Set;function Te(t){we.has(t)||(console.warn("[unocss]",t),we.add(t))}function ze(t){return O(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}const Ce="_uno_resolved";async function Lt(t){let e=typeof t=="function"?await t():await t;if(Ce in e)return e;e={...e},Object.defineProperty(e,Ce,{value:!0,enumerable:!1});const r=e.shortcuts?ze(e.shortcuts):void 0;if(e.shortcuts=r,e.prefix||e.layer){const n=s=>{s[2]||(s[2]={});const o=s[2];o.prefix==null&&e.prefix&&(o.prefix=O(e.prefix)),o.layer==null&&e.layer&&(o.layer=e.layer)};r?.forEach(n),e.rules?.forEach(n)}return e}async function De(t){const e=await Lt(t);if(!e.presets)return[e];const r=(await Promise.all((e.presets||[]).flatMap(O).flatMap(De))).flat();return[e,...r]}function It(t){if(t.length===0)return{};const e=[],r=[];let n=!1;const s=[],o=[];for(const f of t){if(f.pipeline===!1){n=!0;break}else f.pipeline?.include&&e.push(f.pipeline.include),f.pipeline?.exclude&&r.push(f.pipeline.exclude);f.filesystem&&s.push(f.filesystem),f.inline&&o.push(f.inline)}const l={pipeline:n?!1:{include:N(ve(...e)),exclude:N(ve(...r))}};return s.length&&(l.filesystem=N(s.flat())),o.length&&(l.inline=N(o.flat())),l}async function be(t={},e={}){const r=Object.assign({},e,t),n=ge((await Promise.all((r.presets||[]).flatMap(O).flatMap(De))).flat(),(m,$)=>m.name===$.name),s=[...n.filter(m=>m.enforce==="pre"),...n.filter(m=>!m.enforce),...n.filter(m=>m.enforce==="post")],o=[...s,r],l=[...o].reverse(),f=Object.assign({},gt,...o.map(m=>m.layers));function u(m){return N(o.flatMap($=>O($[m]||[])))}const a=u("extractors");let i=l.find(m=>m.extractorDefault!==void 0)?.extractorDefault;i===void 0&&(i=Ct),i&&!a.includes(i)&&a.unshift(i),a.sort((m,$)=>(m.order||0)-($.order||0));const c=u("rules"),d=c.length,h={},y=[];for(const[m,$]of c.entries()){const C=$[2]??($[2]={});C.__index=m,Mt($)?O(C.prefix??"").forEach(A=>{h[A+$[0]]=$}):y.unshift($)}const g={templates:N(o.flatMap(m=>O(m.autocomplete?.templates))),extractors:o.flatMap(m=>O(m.autocomplete?.extractors)).sort((m,$)=>(m.order||0)-($.order||0)),shorthands:Rt(o.map(m=>m.autocomplete?.shorthands||{}))};let p=u("separators");p.length||(p=[":","-"]);const x=u("content"),b=It(x),w={mergeSelectors:!0,warn:!0,sortLayers:m=>m,...r,blocklist:u("blocklist"),presets:s,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:f,theme:Pt(o.map(m=>m.theme)),rules:c,rulesSize:d,rulesDynamic:y,rulesStaticMap:h,preprocess:u("preprocess"),postprocess:u("postprocess"),preflights:u("preflights"),autocomplete:g,variants:u("variants").map(xt).sort((m,$)=>(m.order||0)-($.order||0)),shortcuts:ze(u("shortcuts")).reverse(),extractors:a,safelist:u("safelist"),separators:p,details:r.details??r.envMode==="dev",content:b,transformers:ge(u("transformers"),(m,$)=>m.name===$.name)},S=u("extendTheme");for(const m of S)w.theme=m(w.theme,w)||w.theme;for(const m of o)m?.configResolved?.(w);return w}function Pt(t){return t.map(e=>e?q(e):{}).reduce((e,r)=>Re(e,r),{})}function Rt(t){return t.reduce((e,r)=>{const n={};for(const s in r){const o=r[s];Array.isArray(o)?n[s]=`(${o.join("|")})`:n[s]=o}return{...e,...n}},{})}function ve(...t){return t.flatMap(Tt)}function Tt(t){return Array.isArray(t)?t:t?[t]:[]}const zt="66.5.4",D={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"};class ce{constructor(e={},r={}){this.userConfig=e,this.defaults=r}version=zt;events=vt();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(e={},r={}){const n=new ce(e,r);return n.config=await be(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(e,r){e&&(r&&(this.defaults=r),this.userConfig=e,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await be(e,this.defaults),this.events.emit("config",this.config))}async applyExtractors(e,r,n=new Set){const s={original:e,code:e,id:r,extracted:n,envMode:this.config.envMode};for(const o of this.config.extractors){const l=await o.extract?.(s);if(l)if(ne(l)&&ne(n))for(const f of l)n.setCount(f,n.getCount(f)+l.getCount(f));else for(const f of l)n.add(f)}return n}makeContext(e,r){const n={rawSelector:e,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:D,variantHandlers:r[2],constructCSS:(...s)=>this.constructCustomCSS(n,...s),variantMatch:r};return n}async parseToken(e,r){if(this.blocked.has(e))return;const n=`${e}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);const s=this.config.preprocess.reduce((u,a)=>a(u)??u,e);if(this.isBlocked(s)){this.blocked.add(e),this.cache.set(n,null);return}const o=await this.matchVariants(e,s);if(o.every(u=>!u||this.isBlocked(u[1]))){this.blocked.add(e),this.cache.set(n,null);return}const l=async u=>{const a=this.makeContext(e,[r||u[0],u[1],u[2],u[3]]);this.config.details&&(a.variants=[...u[3]]);const i=await this.expandShortcut(a.currentSelector,a);return i?await this.stringifyShortcuts(a.variantMatch,a,i[0],i[1]):(await this.parseUtil(a.variantMatch,a))?.map(d=>this.stringifyUtil(d,a)).filter(se)},f=(await Promise.all(o.map(u=>l(u)))).flat().filter(u=>!!u);if(f?.length)return this.cache.set(n,f),f;this.cache.set(n,null)}async generate(e,r={}){const{id:n,scope:s,preflights:o=!0,safelist:l=!0,minify:f=!1,extendedInfo:u=!1}=r,a=j(e)?await this.applyExtractors(e,n,u?new Ie:new Set):Array.isArray(e)?new Set(e):e;if(l){const C={generator:this,theme:this.config.theme};this.config.safelist.flatMap(v=>typeof v=="function"?v(C):v).forEach(v=>{const A=v.trim();A&&!a.has(A)&&a.add(A)})}const i=f?"":`
|
|
3
|
+
`,c=new Set([H]),d=u?new Map:new Set,h=new Map;let y={};const g=Array.from(a).map(async C=>{if(d.has(C))return;const v=await this.parseToken(C);if(v!=null){d instanceof Map?d.set(C,{data:v,count:ne(a)?a.getCount(C):-1}):d.add(C);for(const A of v){const L=A[3]||"",P=A[4]?.layer;h.has(L)||h.set(L,[]),h.get(L).push(A),P&&c.add(P)}}});await Promise.all(g),await(async()=>{if(!o)return;const C={generator:this,theme:this.config.theme},v=new Set([]);this.config.preflights.forEach(({layer:A=oe})=>{c.add(A),v.add(A)}),y=Object.fromEntries(await Promise.all(Array.from(v).map(async A=>{const P=(await Promise.all(this.config.preflights.filter(R=>(R.layer||oe)===A).map(async R=>await R.getCSS(C)))).filter(Boolean).join(i);return[A,P]})))})();const p=this.config.sortLayers(Array.from(c).sort((C,v)=>(this.config.layers[C]??0)-(this.config.layers[v]??0)||C.localeCompare(v))),x={},b=this.config.outputToCssLayers,w=C=>{let v=C;return typeof b=="object"&&(v=b.cssLayerName?.(C)),v===null?null:v??C},S=(C=H)=>{if(x[C])return x[C];let v=Array.from(h).sort((P,R)=>(this.parentOrders.get(P[0])??0)-(this.parentOrders.get(R[0])??0)||P[0]?.localeCompare(R[0]||"")||0).map(([P,R])=>{const F=R.length,k=R.filter(_=>(_[4]?.layer||H)===C).sort((_,T)=>_[0]-T[0]||(_[4]?.sort||0)-(T[4]?.sort||0)||_[5]?.currentSelector?.localeCompare(T[5]?.currentSelector??"")||_[1]?.localeCompare(T[1]||"")||_[2]?.localeCompare(T[2]||"")||0).map(([,_,T,,B,,J])=>[[[(_&&Vt(_,s))??"",B?.sort??0]],T,!!(J??B?.noMerge)]);if(!k.length)return;const M=k.reverse().map(([_,T,B],J)=>{if(!B&&this.config.mergeSelectors)for(let V=J+1;V<F;V++){const z=k[V];if(z&&!z[2]&&(_&&z[0]||_==null&&z[0]==null)&&z[1]===T)return _&&z[0]&&z[0].push(..._),null}const X=_?N(_.sort((V,z)=>V[1]-z[1]||V[0]?.localeCompare(z[0]||"")||0).map(V=>V[0]).filter(Boolean)):[];return X.length?`${X.join(`,${i}`)}{${T}}`:T}).filter(Boolean),E=Array.from(new Set(M)).reverse().join(i);if(!P)return E;const I=P.split(" $$ ");return`${I.join("{")}{${i}${E}${i}${"}".repeat(I.length)}`}).filter(Boolean).join(i);o&&(v=[y[C],v].filter(Boolean).join(i));let A;b&&v&&(A=w(C),A!==null&&(v=`@layer ${A}{${i}${v}${i}}`));const L=f?"":`/* layer: ${C}${A&&A!==C?`, alias: ${A}`:""} */${i}`;return x[C]=v?L+v:""},m=(C=p,v)=>{const A=C.filter(L=>!v?.includes(L));return[b&&A.length>0?`@layer ${A.map(w).filter(se).join(", ")};`:void 0,...A.map(L=>S(L)||"")].filter(Boolean).join(i)};return{get css(){return m()},layers:p,matched:d,getLayers:m,getLayer:S,setLayer:async(C,v)=>{const A=await v(S(C));return x[C]=A,A}}}async matchVariants(e,r){const n={rawSelector:e,theme:this.config.theme,generator:this},s=async o=>{let l=!0;const[,,f,u]=o;for(;l;){l=!1;const a=o[1];for(const i of this.config.variants){if(!i.multiPass&&u.has(i))continue;let c=await i.match(a,n);if(c){if(j(c)){if(c===a)continue;c={matcher:c}}if(Array.isArray(c)){if(!c.length)continue;if(c.length===1)c=c[0];else{if(i.multiPass)throw new Error("multiPass can not be used together with array return variants");const d=c.map(h=>{const y=h.matcher??a,g=[h,...f],p=new Set(u);return p.add(i),[o[0],y,g,p]});return(await Promise.all(d.map(h=>s(h)))).flat()}}o[1]=c.matcher??a,f.unshift(c),u.add(i),l=!0;break}}if(!l)break;if(f.length>500)throw new Error(`Too many variants applied to "${e}"`)}return[o]};return await s([e,r||e,[],new Set])}applyVariants(e,r=e[4],n=e[1]){const o=r.slice().sort((a,i)=>(a.order||0)-(i.order||0)).reduceRight((a,i)=>c=>{const d=i.body?.(c.entries)||c.entries,h=Array.isArray(i.parent)?i.parent:[i.parent,void 0],y=i.selector?.(c.selector,d);return(i.handle??Ut)({...c,entries:d,selector:y||c.selector,parent:h[0]||c.parent,parentOrder:h[1]||c.parentOrder,layer:i.layer||c.layer,sort:i.sort||c.sort},a)},a=>a)({prefix:"",selector:Bt(n),pseudo:"",entries:e[2]}),{parent:l,parentOrder:f}=o;l!=null&&f!=null&&this.parentOrders.set(l,f);const u={selector:[o.prefix,o.selector,o.pseudo].join(""),entries:o.entries,parent:l,layer:o.layer,sort:o.sort,noMerge:o.noMerge};for(const a of this.config.postprocess)a(u);return u}constructCustomCSS(e,r,n){const s=K(r);if(j(s))return s;const{selector:o,entries:l,parent:f}=this.applyVariants([0,n||e.rawSelector,s,void 0,e.variantHandlers]),u=`${o}{${ie(l)}}`;return f?`${f}{${u}}`:u}async parseUtil(e,r,n=!1,s){const o=j(e)?await this.matchVariants(e):[e],l=async([u,a,i])=>{this.config.details&&(r.rules=r.rules??[]);const c={...r,variantHandlers:i},d=this.config.rulesStaticMap[a];if(d&&d[1]&&(n||!d[2]?.internal))return this.resolveCSSResult(u,d[1],d,c);for(const h of this.config.rulesDynamic){const[y,g,p]=h;if(p?.internal&&!n)continue;let x=a;if(p?.prefix){const m=O(p.prefix);if(s){const $=O(s);if(!m.some(C=>$.includes(C)))continue}else{const $=m.find(C=>a.startsWith(C));if($==null)continue;x=a.slice($.length)}}const b=x.match(y);if(!b)continue;let w=await g(b,c);if(!w)continue;if(typeof w!="string")if(Symbol.asyncIterator in w){const m=[];for await(const $ of w)$&&m.push($);w=m}else Symbol.iterator in w&&!Array.isArray(w)&&(w=Array.from(w).filter(se));const S=this.resolveCSSResult(u,w,h,c);if(S)return S}},f=(await Promise.all(o.map(u=>l(u)))).flat().filter(u=>!!u);if(f.length)return f}resolveCSSResult=(e,r,n,s)=>{const o=At(r).filter(l=>l.length);if(o.length){this.config.details&&s.rules.push(n),s.generator.activatedRules.add(n);const l=n[2];return o.map(f=>{if(j(f))return[l.__index,f,l];let u=s.variantHandlers,a=l;for(const i of f)i[0]===D.variants?typeof i[1]=="function"?u=i[1](u)||u:u=[...O(i[1]),...u]:i[0]===D.parent?u=[{parent:i[1]},...u]:i[0]===D.selector?u=[{selector:i[1]},...u]:i[0]===D.layer?u=[{layer:i[1]},...u]:i[0]===D.sort?a={...a,sort:i[1]}:i[0]===D.noMerge?a={...a,noMerge:i[1]}:i[0]===D.body&&(i[0]=Pe);return[l.__index,e,f,a,u]})}};stringifyUtil(e,r){if(!e)return;if(ye(e))return[e[0],void 0,e[1],void 0,e[2],this.config.details?r:void 0,void 0];const{selector:n,entries:s,parent:o,layer:l,sort:f,noMerge:u}=this.applyVariants(e),a=ie(s);if(!a)return;const{layer:i,sort:c,...d}=e[3]??{},h={...d,layer:l??i,sort:f??c};return[e[0],n,a,o,h,this.config.details?r:void 0,u]}async expandShortcut(e,r,n=5){if(n===0)return;const s=this.config.details?a=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(a)}:St;let o,l,f,u;for(const a of this.config.shortcuts){let i=e;if(a[2]?.prefix){const d=O(a[2].prefix).find(h=>e.startsWith(h));if(d==null)continue;i=e.slice(d.length)}if(_t(a)){if(a[0]===i){o=o||a[2],l=a[1],s(a);break}}else{const c=i.match(a[0]);if(c&&(l=a[1](c,r)),l){o=o||a[2],s(a);break}}}if(l&&(f=N(O(l).filter(j).map(a=>Ot(a.trim()).split(/\s+/g)).flat()),u=O(l).filter(a=>!j(a)).map(a=>({handles:[],value:a}))),!l){const a=j(e)?await this.matchVariants(e):[e];for(const i of a){const[c,d,h]=i;if(c!==d){const y=await this.expandShortcut(d,r,n-1);y&&(f=y[0].filter(j).map(g=>c.replace(d,g)),u=y[0].filter(g=>!j(g)).map(g=>({handles:[...g.handles,...h],value:g.value})))}}}if(!(!f?.length&&!u?.length))return[[await Promise.all(O(f).map(async a=>(await this.expandShortcut(a,r,n-1))?.[0]||[a])),u].flat(2).filter(a=>!!a),o]}async stringifyShortcuts(e,r,n,s={layer:this.config.shortcutsLayer}){const o=new Ft,l=(await Promise.all(N(n).map(async i=>{const c=j(i)?await this.parseUtil(i,r,!0,s.prefix):[[Number.POSITIVE_INFINITY,"{inline}",K(i.value),void 0,i.handles]];return!c&&this.config.warn&&Te(`unmatched utility "${i}" in shortcut "${e[1]}"`),c||[]}))).flat(1).filter(Boolean).sort((i,c)=>i[0]-c[0]),[f,,u]=e,a=[];for(const i of l){if(ye(i)){a.push([i[0],void 0,i[1],void 0,i[2],r,void 0]);continue}const{selector:c,entries:d,parent:h,sort:y,noMerge:g,layer:p}=this.applyVariants(i,[...i[4],...u],f);o.getFallback(p??s.layer,new $t).getFallback(c,h,[[],i[0]])[0].push([d,!!(g??i[3]?.noMerge),y??0])}return a.concat(o.flatMap((i,c)=>i.map(([d,h],y,g)=>{const p=(b,w,S)=>{const m=Math.max(...S.map(C=>C[1])),$=S.map(C=>C[0]);return(b?[$.flat(1)]:$).map(C=>{const v=ie(C);if(v)return[h,y,v,g,{...s,noMerge:w,sort:m,layer:c},r,void 0]})};return[[d.filter(([,b])=>b).map(([b,,w])=>[b,w]),!0],[d.filter(([,b])=>!b).map(([b,,w])=>[b,w]),!1]].map(([b,w])=>[...p(!1,w,b.filter(([S])=>S.some(m=>m[0]===D.shortcutsNoMerge))),...p(!0,w,b.filter(([S])=>S.every(m=>m[0]!==D.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(e){return!e||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(e):j(r)?r===e:r.test(e))}getBlocked(e){const r=this.config.blocklist.find(n=>{const s=Array.isArray(n)?n[0]:n;return typeof s=="function"?s(e):j(s)?s===e:s.test(e)});return r?Array.isArray(r)?r:[r,void 0]:void 0}}async function Dt(t,e){return await ce.create(t,e)}const Ne=/\s\$\$\s+/g;function Nt(t){return Ne.test(t)}function Vt(t,e){return Nt(t)?t.replace(Ne,e?` ${e} `:" "):e?`${e} ${t}`:t}const xe=/^\[(.+?)(~?=)"(.*)"\]$/;function Bt(t){return xe.test(t)?t.replace(xe,(e,r,n,s)=>`[${re(r)}${n}"${re(s)}"]`):`.${re(t)}`}function Ut(t,e){return e(t)}var Se={};function Wt(){const t=typeof process<"u"&&process.stdout,e=t&&!!Se.VSCODE_CWD,r=t&&!!Se.ESLINT;return{isNode:t,isVSCode:e,isESLint:r}}const Ve=["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"],Gt=3;function Ht(t){return(e={})=>{const{scale:r=1,mode:n="auto",prefix:s="i-",warn:o=!1,iconifyCollectionsNames:l,collections:f,extraProperties:u={},customizations:a={},autoInstall:i=!1,collectionsNodeResolvePath:c,layer:d="icons",unit:h,processor:y}=e,g=Wt(),p={addXmlNs:!0,scale:r,customCollections:f,autoInstall:i,cwd:c,warn:void 0,customizations:{...a,additionalProps:{...u},trimCustomSvg:!0,async iconCustomizer(b,w,S){await a.iconCustomizer?.(b,w,S),h&&(S.width||(S.width=`${r}${h}`),S.height||(S.height=`${r}${h}`))}}};let x;return{name:"@unocss/preset-icons",enforce:"pre",options:e,layers:{icons:-30},api:{encodeSvgForCss:fe,parseIconWithLoader:$e},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async b=>{let[w,S,m=n]=b;x=x||await t(e);const $={},C=await $e(S,x,{...p,usedProps:$},l);if(!C){o&&!g.isESLint&&Te(`failed to load icon "${w}"`);return}let v;const A=`url("data:image/svg+xml;utf8,${fe(C.svg)}")`;return m==="auto"&&(m=C.svg.includes("currentColor")?"mask":"bg"),m==="mask"?v={"--un-icon":A,"-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",...$}:v={background:`${A} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...$},y?.(v,{...C,icon:C.name,mode:m}),v},{layer:d,prefix:s}]]}}}function Be(t,e,r=new Map){function n(s){if(Ve.includes(s))return r.has(s)||r.set(s,t(`${e}@iconify-json/${s}/icons.json`)),r.get(s)}return async(s,o,l)=>{let f=await Le(s,o,l);if(f)return f;const u=await n(s);if(u){const a=[o,o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o.replace(/([a-z])(\d+)/g,"$1-$2")];f=await Oe(u,s,a,l)}return f}}async function $e(t,e,r={},n=[]){let s="",o="",l;const f=new Set([...Ve,...n,...Object.keys(r.customCollections||{})]);if(t.includes(":")){if([s,o]=t.split(":"),!f.has(s))return;l=await e(s,o,r)}else{const u=t.split(/-/g);for(let a=Gt;a>=1&&(s=u.slice(0,a).join("-"),!(!!f.has(s)&&(o=u.slice(a).join("-"),l=await e(s,o,r),l)));a--);}if(l)return{collection:s,name:o,svg:l}}async function qt(t){const{$fetch:e}=await We(async()=>{const{$fetch:r}=await import("../hjatffgj.js").then(n=>n.bn);return{$fetch:r}},__vite__mapDeps([0,1,2,3,4]),import.meta.url);return Be(e,t)}const Qt=Ht(async t=>{const e=t?.customFetch,r=t?.cdn;return e&&r?Be(e,r):r?await qt(r):Le});function Yt(t){return t.replace(/-(\w)/g,(e,r)=>r?r.toUpperCase():"")}function Fe(t){return t.charAt(0).toUpperCase()+t.slice(1)}function Ae(t){return t.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var ke=["Webkit","Moz","ms"];function Zt(t){const e={};function r(n){const s=e[n];if(s)return s;let o=Yt(n);if(o!=="filter"&&o in t)return e[n]=Ae(o);o=Fe(o);for(let l=0;l<ke.length;l++){const f=`${ke[l]}${o}`;if(f in t)return e[n]=Ae(Fe(f))}return n}return({entries:n})=>n.forEach(s=>{s[0].startsWith("--")||(s[0]=r(s[0]))})}function Kt(t){return t.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}async function en(t={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}const e=window,r=window.document,n=()=>r.documentElement,s=e.__unocss||{},o=Object.assign({},t,s.runtime),l=o.defaults||{},f=o.cloakAttribute??"un-cloak";o.autoPrefix&&(l.postprocess=O(l.postprocess)).unshift(Zt(r.createElement("div").style)),o.configResolved?.(s,l);const u=await Dt(s,l),a=F=>o.inject?o.inject(F):n().prepend(F),i=()=>o.rootElement?o.rootElement():r.body,c=new Map;let d=!0;const h=new Set;let y,g,p=[];const x=()=>new Promise(F=>{p.push(F),g!=null&&clearTimeout(g),g=setTimeout(()=>S().then(()=>{const k=p;p=[],k.forEach(M=>M())}),0)});function b(F,k=!1){if(F.nodeType!==1)return;const M=F;M.hasAttribute(f)&&M.removeAttribute(f),k&&M.querySelectorAll(`[${f}]`).forEach(E=>{E.removeAttribute(f)})}function w(F,k){let M=c.get(F);if(!M)if(M=r.createElement("style"),M.setAttribute("data-unocss-runtime-layer",F),c.set(F,M),k==null)a(M);else{const E=w(k),I=E.parentNode;I?I.insertBefore(M,E.nextSibling):a(M)}return M}async function S(){const F=[...h],k=await u.generate(F);return k.layers.reduce((E,I)=>(w(I,E).innerHTML=k.getLayer(I)??"",I),void 0),F.filter(E=>!k.matched.has(E)).forEach(E=>h.delete(E)),{...k,getStyleElement:E=>c.get(E),getStyleElements:()=>c}}async function m(F){const k=h.size;await u.applyExtractors(F,void 0,h),k!==h.size&&await x()}async function $(F=i()){const k=F&&F.outerHTML;k&&(await m(`${k} ${Kt(k)}`),b(n()),b(F,!0))}const C=new MutationObserver(F=>{d||F.forEach(async k=>{if(k.target.nodeType!==1)return;const M=k.target;for(const E of c)if(M===E[1])return;if(k.type==="childList")k.addedNodes.forEach(async E=>{if(E.nodeType!==1)return;const I=E;y&&!y(I)||(await m(I.outerHTML),b(I))});else{if(y&&!y(M))return;if(k.attributeName!==f){const E=Array.from(M.attributes).map(_=>_.value?`${_.name}="${_.value}"`:_.name).join(" "),I=`<${M.tagName.toLowerCase()} ${E}>`;await m(I)}b(M)}})});let v=!1;function A(){if(v)return;const F=o.observer?.target?o.observer.target():i();F&&(C.observe(F,{childList:!0,subtree:!0,attributes:!0,attributeFilter:o.observer?.attributeFilter}),v=!0)}function L(){o.bypassDefined&&Jt(u.blocked),$(),A()}function P(){r.readyState==="loading"?e.addEventListener("DOMContentLoaded",L):L()}const R=e.__unocss_runtime=e.__unocss_runtime={version:u.version,uno:u,async extract(F){j(F)||(F.forEach(k=>h.add(k)),F=""),await m(F)},extractAll:$,inspect(F){y=F},toggleObserver(F){F===void 0?d=!d:d=!!F,!v&&!d&&P()},update:S,presets:e.__unocss_runtime?.presets??{}};o.ready?.(R)!==!1&&(d=!1,P())}function Jt(t=new Set){for(let e=0;e<document.styleSheets.length;e++){const r=document.styleSheets[e];let n;try{if(n=r.cssRules||r.rules,!n)continue;Array.from(n).flatMap(s=>s.selectorText?.split(/,/g)||[]).forEach(s=>{s&&(s=s.trim(),s.startsWith(".")&&(s=s.slice(1)),t.add(s))})}catch{continue}}return t}export{en as i,Qt as p};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.xterm{cursor:text;position:relative;-moz-user-select:none;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{border:0;height:0;left:-9999em;margin:0;opacity:0;overflow:hidden;padding:0;position:absolute;resize:none;top:0;white-space:nowrap;width:0;z-index:-5}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;cursor:default;inset:0;overflow-y:scroll;position:absolute}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{left:0;position:absolute;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;left:-9999em;line-height:normal;position:absolute;top:0;visibility:hidden}.xterm.enable-mouse-events{cursor:default}.xterm .xterm-cursor-pointer,.xterm.xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{color:transparent;inset:0;pointer-events:none;position:absolute;z-index:10}.xterm .xterm-accessibility-tree:not(.debug) ::-moz-selection{color:transparent}.xterm .xterm-accessibility-tree:not(.debug) ::selection{color:transparent}.xterm .xterm-accessibility-tree{-webkit-user-select:text;-moz-user-select:text;user-select:text;white-space:pre}.xterm .live-region{height:1px;left:-9999px;overflow:hidden;position:absolute;width:1px}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{-webkit-text-decoration:double underline;text-decoration:double underline}.xterm-underline-3{-webkit-text-decoration:wavy underline;text-decoration:wavy underline}.xterm-underline-4{-webkit-text-decoration:dotted underline;text-decoration:dotted underline}.xterm-underline-5{-webkit-text-decoration:dashed underline;text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{-webkit-text-decoration:overline double underline;text-decoration:overline double underline}.xterm-overline.xterm-underline-3{-webkit-text-decoration:overline wavy underline;text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{-webkit-text-decoration:overline dotted underline;text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{-webkit-text-decoration:overline dashed underline;text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{position:absolute;z-index:6}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{pointer-events:none;position:absolute;right:0;top:0;z-index:8}.xterm-decoration-top{position:relative;z-index:2}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as V}from"./nnavbar-b4ap0r8w.js";import{_ as D}from"./ncode-block-pcw3yh3u.js";import{b as S,bj as B,bk as j,S as P,i as E,n as I,a8 as U}from"#entry";import{J as c,Y as l,a3 as n,p as W,k as f,w as q,q as p,a1 as s,$ as u,X as z,ab as v,F as d,ah as G,a7 as H}from"./vendor/json-editor-vue-ikjc812x.js";import{_ as J}from"./help-fab-chg6ox1v.js";import"./client-miiq4qin.js";import"./vendor/shiki-hpfujfi3.js";import"./vendor/unocss-jpwnx6aq.js";const L={},R={class:"markdown-body"};function X(x,o){return l(),c("div",R,[...o[0]||(o[0]=[n("template",null,[n("div",{class:"markdown-body"},[n("h1",null,"Virtual Files"),n("p",null,"Virtual files are generated on the fly to support the conventions of the framework, and to provide a better developer experience.")])],-1)])])}const Y=S(L,[["render",X]]),A=["onClick"],K={key:0,"h-full":"","of-hidden":"",flex:"~ col"},M={border:"b base","flex-none":"",px4:"",py2:"","text-sm":"",op75:""},re=W({__name:"virtual-files",setup(x){const o=f(""),a=B(),_=j(),i=f();q(()=>{if(!_.value)return;const e=`/_vfs.json/${encodeURIComponent(_.value)}`;fetch(e,{headers:{accept:"application/json"}}).then(t=>t.json()).then(t=>i.value=t.current)});function h(e){if(a.value?.rootDir)return e.startsWith(a.value?.rootDir)?e.slice(a.value.rootDir.length):e}const m=p(()=>a.value?a.value.entries.filter(e=>!e.id.startsWith(`${a.value?.rootDir||""}/.nuxt/`)).sort((e,t)=>e.id.localeCompare(t.id)):[]),b=p(()=>new P(m.value,{keys:["id","path"]})),k=p(()=>o.value?b.value.search(o.value).map(e=>e.item):m.value);return(e,t)=>{const y=V,g=D,C=I,F=E,w=U,N=Y,$=J;return l(),c(d,null,[s(w,{class:"virtual-files","storage-key":"tab-virtual-files"},{left:u(()=>[s(y,{search:o.value,"onUpdate:search":t[0]||(t[0]=r=>o.value=r),"no-padding":"",p3:""},null,8,["search"]),(l(!0),c(d,null,G(k.value,r=>(l(),c(d,{key:r.id},[n("button",{block:"","w-full":"","select-none":"",truncate:"",px2:"",py1:"","text-start":"","text-sm":"","font-mono":"",class:H(r.id===i.value?.id?"text-primary n-bg-active":"text-secondary hover:n-bg-hover"),onClick:O=>_.value=r.id},v(h(r.id)),11,A),t[1]||(t[1]=n("div",{"x-divider":""},null,-1))],64))),128))]),right:u(()=>[i.value?.content?(l(),c("div",K,[n("div",M,[n("code",null,v(i.value.id),1)]),s(g,{"h-full":"","of-auto":"","text-sm":"",code:i.value.content,lang:"typescript"},null,8,["code"])])):(l(),z(F,{key:1},{default:u(()=>[s(C,{px6:"",py2:""},{default:u(()=>[...t[2]||(t[2]=[n("span",{op75:""},"Select a file to start",-1)])]),_:1})]),_:1}))]),_:1}),s($,null,{default:u(()=>[s(N)]),_:1})],64)}}});export{re as default};
|