@nuxt/devtools 1.6.1 → 1.6.3
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/analyze-build.mjs +3 -2
- package/dist/chunks/module-main.mjs +94 -43
- package/dist/chunks/vite-inspect.mjs +6 -4
- package/dist/chunks/vscode.mjs +1 -1
- package/dist/client/200.html +17 -17
- package/dist/client/404.html +17 -17
- package/dist/client/_nuxt/__blank-de0hkpjk.js +1 -0
- package/dist/client/_nuxt/analyze-build-j23co4xl.js +1 -0
- package/dist/client/_nuxt/{assets-jvf69cxf.js → assets-gveiuobi.js} +1 -1
- package/dist/client/_nuxt/b04z4mtb.js +17 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/9de2d2d7-41a1-455e-a918-e709c65a4eef.json +1 -0
- package/dist/client/_nuxt/{client-dgt05ivb.js → client-h8sz7blv.js} +1 -1
- package/dist/client/_nuxt/{code-diff.vue-i05ynbel.js → code-diff.vue-d033ilzm.js} +1 -1
- package/dist/client/_nuxt/{code-snippets.vue-17pri79b.js → code-snippets.vue-dfzf4hjg.js} +1 -1
- package/dist/client/_nuxt/components-di4szfh1.js +1 -0
- package/dist/client/_nuxt/{components-tree-gcdwuwyn.js → components-tree-kvov1ov6.js} +1 -1
- package/dist/client/_nuxt/{composable-item.vue-ihurs8kc.js → composable-item.vue-hct37ofv.js} +1 -1
- package/dist/client/_nuxt/{custom-_name_-ik277266.js → custom-_name_-lkfamiei.js} +1 -1
- package/dist/client/_nuxt/default-mov6ggbr.js +1 -0
- package/dist/client/_nuxt/{duration-display.vue-n7a3864v.js → duration-display.vue-eesjgxfp.js} +1 -1
- package/dist/client/_nuxt/entry.css-nccln8bf.css +1 -0
- package/dist/client/_nuxt/{error-404-chhw212o.js → error-404-o0v6zwya.js} +1 -1
- package/dist/client/_nuxt/error-404.css-jbmkerk1.css +1 -0
- package/dist/client/_nuxt/{error-500-oi6j6wh4.js → error-500-nvrn53d3.js} +1 -1
- package/dist/client/_nuxt/error-500.css-ey2nctyr.css +1 -0
- package/dist/client/_nuxt/{error-kcw3c5n2.js → error-nplhidsi.js} +2 -2
- package/dist/client/_nuxt/{filepath-item.vue-jp3k05dh.js → filepath-item.vue-fxcmp74h.js} +1 -1
- package/dist/client/_nuxt/full-di1z4oob.js +1 -0
- package/dist/client/_nuxt/{help-fab.vue-kqlhhn29.js → help-fab.vue-bn738d5b.js} +1 -1
- package/dist/client/_nuxt/{hooks-bbeec6rm.js → hooks-hq8uyu2l.js} +1 -1
- package/dist/client/_nuxt/imports-kl1hqkd2.js +1 -0
- package/dist/client/_nuxt/{index-h6urifqi.js → index-gevf5c2a.js} +1 -1
- package/dist/client/_nuxt/{index-f7gtpn4a.js → index-gl2r4pge.js} +2 -2
- package/dist/client/_nuxt/launch-page.vue-mooqljf0.js +1 -0
- package/dist/client/_nuxt/{modules-dckgmu9u.js → modules-oz44fq8t.js} +1 -1
- package/dist/client/_nuxt/nbadge-ijt69lj7.js +1 -0
- package/dist/client/_nuxt/{ncheckbox.vue-ir8t2t9x.js → ncheckbox.vue-nkgx3uyq.js} +1 -1
- package/dist/client/_nuxt/{ncode-block.css-enx2fys6.css → ncode-block.css-c9cb29at.css} +1 -1
- package/dist/client/_nuxt/{ncode-block.vue-d334f2dp.js → ncode-block.vue-ljovji7o.js} +1 -1
- package/dist/client/_nuxt/{ndrawer.vue-fdnlfvql.js → ndrawer.vue-7slc0a0y.js} +1 -1
- package/dist/client/_nuxt/{ndropdown.vue-haoov59z.js → ndropdown.vue-707esowt.js} +1 -1
- package/dist/client/_nuxt/{nicon-title.vue-ef3vf9hr.js → nicon-title.vue-fq2kswl5.js} +1 -1
- package/dist/client/_nuxt/{nlink.vue-eq8gk3iz.js → nlink.vue-o5cnbwht.js} +1 -1
- package/dist/client/_nuxt/{nmarkdown.vue-bwv440ol.js → nmarkdown.vue-e812br8q.js} +1 -1
- package/dist/client/_nuxt/{nnavbar.vue-jap952ju.js → nnavbar.vue-npaum0f1.js} +1 -1
- package/dist/client/_nuxt/none-kkznunwn.js +1 -0
- package/dist/client/_nuxt/{nsection-block-hjiyf44n.js → nsection-block-nwjsicuf.js} +1 -1
- package/dist/client/_nuxt/nsection-block.css-e7kbjm7k.css +1 -0
- package/dist/client/_nuxt/{nselect-tabs.vue-ctgj28x2.js → nselect-tabs.vue-o8nb5cg8.js} +1 -1
- package/dist/client/_nuxt/{nselect.vue-kb4ychx8.js → nselect.vue-ftj5oit6.js} +1 -1
- package/dist/client/_nuxt/{open-graph-fwcucpwr.js → open-graph-o1nebcdd.js} +2 -2
- package/dist/client/_nuxt/{overview-du74wcc9.js → overview-g8z27615.js} +1 -1
- package/dist/client/_nuxt/pages-o9jycrzn.js +1 -0
- package/dist/client/_nuxt/payload-m2o6yfwm.js +1 -0
- package/dist/client/_nuxt/pinia-ia7yx3pb.js +1 -0
- package/dist/client/_nuxt/plugins-lylckcgn.js +1 -0
- package/dist/client/_nuxt/runtime-configs-eb4rnmru.js +1 -0
- package/dist/client/_nuxt/{server-route-inputs.vue-hs0k8usl.js → server-route-inputs.vue-mqgmbgbg.js} +1 -1
- package/dist/client/_nuxt/{server-routes-chengpen.js → server-routes-kvmgxxaj.js} +1 -1
- package/dist/client/_nuxt/server-tasks-d8o9ub0x.js +1 -0
- package/dist/client/_nuxt/settings-ewfhwgou.js +1 -0
- package/dist/client/_nuxt/{stacktrace-list.vue-n51hjl65.js → stacktrace-list.vue-znh71v05.js} +1 -1
- package/dist/client/_nuxt/{state-components-j9dsopcn.js → state-components-clf8fxbn.js} +1 -1
- package/dist/client/_nuxt/{state-editor.vue-eev8247c.js → state-editor.vue-g0afnqvy.js} +1 -1
- package/dist/client/_nuxt/{state-modules-jx57qxz7.js → state-modules-t9odg4rk.js} +1 -1
- package/dist/client/_nuxt/{storage-c7x4faia.js → storage-m7qw796t.js} +1 -1
- package/dist/client/_nuxt/terminals-c4kt82na.js +1 -0
- package/dist/client/_nuxt/{timeline-bpt56wqz.js → timeline-kgvttrkl.js} +2 -2
- package/dist/client/_nuxt/{unocss-runtime-ks657l4w.js → unocss-runtime-e1m6uiw9.js} +1 -1
- package/dist/client/_nuxt/vendor/json-editor-vue-nhjd65sz.js +3818 -0
- package/dist/client/_nuxt/vendor/json-editor-vue.css-mqq5uooj.css +1 -0
- package/dist/client/_nuxt/vendor/shiki-enrzjv18.js +57 -0
- package/dist/client/_nuxt/vendor/unocss-pcs99qrd.js +2 -0
- package/dist/client/_nuxt/vendor/unocss.css-mhvipxpl.css +1 -0
- package/dist/client/_nuxt/vendor/{xterm-h0ftnevm.js → xterm-dbpzgj7s.js} +3 -3
- package/dist/client/_nuxt/vendor/xterm.css-egmhki83.css +32 -0
- package/dist/client/_nuxt/virtual-files-bbwlwv17.js +1 -0
- package/dist/client/_nuxt/{vue-virtual-scroller.esm-dbbmx9wu.js → vue-virtual-scroller.esm-f2cudvpd.js} +1 -1
- package/dist/client/index.html +17 -17
- package/dist/dirs.mjs +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/plugins/devtools.client.js +1 -1
- package/dist/runtime/plugins/view/client.d.ts +1 -1
- package/dist/runtime/plugins/view/client.js +1 -1
- package/dist/runtime/plugins/view/state.d.ts +1 -1
- package/dist/shared/{devtools.68e43ed6.mjs → devtools.5ac54dae.mjs} +1 -1
- package/package.json +41 -41
- package/dist/client/_nuxt/__blank-9iu4tv0f.js +0 -1
- package/dist/client/_nuxt/analyze-build-nqeql2rs.js +0 -1
- package/dist/client/_nuxt/builds/meta/ab41567e-1b8e-4e48-840c-591dd62a1246.json +0 -1
- package/dist/client/_nuxt/components-d1yojeh6.js +0 -1
- package/dist/client/_nuxt/default-c97elafe.js +0 -1
- package/dist/client/_nuxt/entry.css-kzp9yj98.css +0 -1
- package/dist/client/_nuxt/error-404.css-l9hojrit.css +0 -1
- package/dist/client/_nuxt/error-500.css-jiufalsw.css +0 -1
- package/dist/client/_nuxt/full-j1e8c0fm.js +0 -1
- package/dist/client/_nuxt/imports-cadcbs1b.js +0 -1
- package/dist/client/_nuxt/launch-page.vue-opmg26gw.js +0 -1
- package/dist/client/_nuxt/nbadge-ggvrch1r.js +0 -1
- package/dist/client/_nuxt/none-oo3u4xub.js +0 -1
- package/dist/client/_nuxt/nsection-block.css-nz74xks7.css +0 -1
- package/dist/client/_nuxt/nxp3p1l5.js +0 -16
- package/dist/client/_nuxt/pages-m3ksw3nx.js +0 -1
- package/dist/client/_nuxt/payload-np4rk8uw.js +0 -1
- package/dist/client/_nuxt/pinia-n87t5bm8.js +0 -1
- package/dist/client/_nuxt/plugins-jcz0d5g6.js +0 -1
- package/dist/client/_nuxt/runtime-configs-h7di7gvu.js +0 -1
- package/dist/client/_nuxt/server-tasks-il5b1l64.js +0 -1
- package/dist/client/_nuxt/settings-k964fibj.js +0 -1
- package/dist/client/_nuxt/terminals-lb2z98e5.js +0 -1
- package/dist/client/_nuxt/vendor/json-editor-vue-f126ciji.js +0 -124
- package/dist/client/_nuxt/vendor/json-editor-vue.css-o0jf01nd.css +0 -1
- package/dist/client/_nuxt/vendor/shiki-hhqxa887.js +0 -161
- package/dist/client/_nuxt/vendor/unocss-mnpxkox6.js +0 -2
- package/dist/client/_nuxt/vendor/unocss.css-na153c8v.css +0 -1
- package/dist/client/_nuxt/vendor/xterm.css-egivkam7.css +0 -1
- package/dist/client/_nuxt/virtual-files-o77aoqwj.js +0 -1
- /package/dist/client/_nuxt/{assets.css-l0xw7n9m.css → assets.css-hmxl533k.css} +0 -0
- /package/dist/client/_nuxt/{help-fab.css-l22fo390.css → help-fab.css-ms50khsu.css} +0 -0
- /package/dist/client/_nuxt/{open-graph.css-np61an3p.css → open-graph.css-e21qzmvj.css} +0 -0
- /package/dist/client/_nuxt/{terminals.css-o071tnq5.css → terminals.css-mejv43xm.css} +0 -0
- /package/dist/client/_nuxt/{timeline.css-i7fpg75n.css → timeline.css-lhkpu01p.css} +0 -0
- /package/dist/client/_nuxt/{virtual-files.css-i6taatd1.css → virtual-files.css-gqpg2wnb.css} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const Ve=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,We=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,qe=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function He(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Ge(e);return}return t}function Ge(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Je(e,t={}){if(typeof e!="string")return e;const r=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return r.slice(1,-1);if(r.length<=9){const s=r.toLowerCase();if(s==="true")return!0;if(s==="false")return!1;if(s==="undefined")return;if(s==="null")return null;if(s==="nan")return Number.NaN;if(s==="infinity")return Number.POSITIVE_INFINITY;if(s==="-infinity")return Number.NEGATIVE_INFINITY}if(!qe.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Ve.test(e)||We.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,He)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}const Qe=/#/g,Ke=/&/g,Ye=/\//g,Xe=/=/g,oe=/\+/g,Ze=/%5e/gi,et=/%60/gi,tt=/%7c/gi,rt=/%20/gi;function nt(e){return encodeURI(""+e).replace(tt,"|")}function te(e){return nt(typeof e=="string"?e:JSON.stringify(e)).replace(oe,"%2B").replace(rt,"+").replace(Qe,"%23").replace(Ke,"%26").replace(et,"`").replace(Ze,"^").replace(Ye,"%2F")}function K(e){return te(e).replace(Xe,"%3D")}function G(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function st(e){return G(e.replace(oe," "))}function ot(e){return G(e.replace(oe," "))}function it(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const r of e.split("&")){const s=r.match(/([^=]+)=?(.*)/)||[];if(s.length<2)continue;const n=st(s[1]);if(n==="__proto__"||n==="constructor")continue;const o=ot(s[2]||"");t[n]===void 0?t[n]=o:Array.isArray(t[n])?t[n].push(o):t[n]=[t[n],o]}return t}function at(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${K(e)}=${te(r)}`).join("&"):`${K(e)}=${te(t)}`:K(e)}function ct(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>at(t,e[t])).filter(Boolean).join("&")}const lt=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,ft=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,ut=/^([/\\]\s*){2,}[^/\\]/,ht=/^[\s\0]*(blob|data|javascript|vbscript):$/i,pt=/\/$|\/\?|\/#/,dt=/^\.?\//;function ie(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?lt.test(e):ft.test(e)||(t.acceptRelative?ut.test(e):!1)}function Yr(e){return!!e&&ht.test(e)}function re(e="",t){return t?pt.test(e):e.endsWith("/")}function Ae(e="",t){if(!t)return(re(e)?e.slice(0,-1):e)||"/";if(!re(e,!0))return e||"/";let r=e,s="";const n=e.indexOf("#");n>=0&&(r=e.slice(0,n),s=e.slice(n));const[o,...c]=r.split("?");return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(c.length>0?`?${c.join("?")}`:"")+s}function ne(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(re(e,!0))return e||"/";let r=e,s="";const n=e.indexOf("#");if(n>=0&&(r=e.slice(0,n),s=e.slice(n),!r))return s;const[o,...c]=r.split("?");return o+"/"+(c.length>0?`?${c.join("?")}`:"")+s}function mt(e=""){return e.startsWith("/")}function le(e=""){return mt(e)?e:"/"+e}function gt(e,t){if(Oe(t)||ie(e))return e;const r=Ae(t);return e.startsWith(r)?e:bt(r,e)}function Xr(e,t){if(Oe(t))return e;const r=Ae(t);if(!e.startsWith(r))return e;const s=e.slice(r.length);return s[0]==="/"?s:"/"+s}function yt(e,t){const r=St(e),s={...it(r.search),...t};return r.search=ct(s),vt(r)}function Oe(e){return!e||e==="/"}function wt(e){return e&&e!=="/"}function bt(e,...t){let r=e||"";for(const s of t.filter(n=>wt(n)))if(r){const n=s.replace(dt,"");r=ne(r)+n}else r=s;return r}function Zr(...e){const t=/\/(?!\/)/,r=e.filter(Boolean),s=[];let n=0;for(const c of r)if(!(!c||c==="/")){for(const[a,l]of c.split(t).entries())if(!(!l||l===".")){if(l===".."){if(s.length===1&&ie(s[0]))continue;s.pop(),n--;continue}if(a===1&&s[s.length-1]?.endsWith(":/")){s[s.length-1]+="/"+l;continue}s.push(l),n++}}let o=s.join("/");return n>=0?r[0]?.startsWith("/")&&!o.startsWith("/")?o="/"+o:r[0]?.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*n)+o,r[r.length-1]?.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function en(e,t,r={}){return r.trailingSlash||(e=ne(e),t=ne(t)),r.leadingSlash||(e=le(e),t=le(t)),r.encoding||(e=G(e),t=G(t)),e===t}const je=Symbol.for("ufo:protocolRelative");function St(e="",t){const r=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,h,y=""]=r;return{protocol:h.toLowerCase(),pathname:y,href:h+y,auth:"",host:"",search:"",hash:""}}if(!ie(e,{acceptRelative:!0}))return fe(e);const[,s="",n,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,c="",a=""]=o.match(/([^#/?]*)(.*)?/)||[];s==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:f,hash:i}=fe(a);return{protocol:s.toLowerCase(),auth:n?n.slice(0,Math.max(0,n.length-1)):"",host:c,pathname:l,search:f,hash:i,[je]:!s}}function fe(e=""){const[t="",r="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:s}}function vt(e){const t=e.pathname||"",r=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",s=e.hash||"",n=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[je]?(e.protocol||"")+"//":"")+n+o+t+r+s}class _t extends Error{constructor(t,r){super(t,r),this.name="FetchError",r?.cause&&!this.cause&&(this.cause=r.cause)}}function $t(e){const t=e.error?.message||e.error?.toString()||"",r=e.request?.method||e.options?.method||"GET",s=e.request?.url||String(e.request)||"/",n=`[${r}] ${JSON.stringify(s)}`,o=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",c=`${n}: ${o}${t?` ${t}`:""}`,a=new _t(c,e.error?{cause:e.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(a,l,{get(){return e[l]}});for(const[l,f]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,l,{get(){return e.response&&e.response[f]}});return a}const Et=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function ue(e="GET"){return Et.has(e.toUpperCase())}function xt(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Ct=new Set(["image/svg","application/xml","application/xhtml","application/html"]),At=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Ot(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return At.test(t)?"json":Ct.has(t)||t.startsWith("text/")?"text":"blob"}function jt(e,t,r=globalThis.Headers){const s={...t,...e};if(t?.params&&e?.params&&(s.params={...t?.params,...e?.params}),t?.query&&e?.query&&(s.query={...t?.query,...e?.query}),t?.headers&&e?.headers){s.headers=new r(t?.headers||{});for(const[n,o]of new r(e?.headers||{}))s.headers.set(n,o)}return s}const Rt=new Set([408,409,425,429,500,502,503,504]),Tt=new Set([101,204,205,304]);function Re(e={}){const{fetch:t=globalThis.fetch,Headers:r=globalThis.Headers,AbortController:s=globalThis.AbortController}=e;async function n(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let i;typeof a.options.retry=="number"?i=a.options.retry:i=ue(a.options.method)?0:1;const h=a.response&&a.response.status||500;if(i>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(h):Rt.has(h))){const y=a.options.retryDelay||0;return y>0&&await new Promise(m=>setTimeout(m,y)),o(a.request,{...a.options,retry:i-1})}}const f=$t(a);throw Error.captureStackTrace&&Error.captureStackTrace(f,o),f}const o=async function(l,f={}){const i={request:l,options:jt(f,e.defaults,r),response:void 0,error:void 0};i.options.method=i.options.method?.toUpperCase(),i.options.onRequest&&await i.options.onRequest(i),typeof i.request=="string"&&(i.options.baseURL&&(i.request=gt(i.request,i.options.baseURL)),(i.options.query||i.options.params)&&(i.request=yt(i.request,{...i.options.params,...i.options.query}))),i.options.body&&ue(i.options.method)&&(xt(i.options.body)?(i.options.body=typeof i.options.body=="string"?i.options.body:JSON.stringify(i.options.body),i.options.headers=new r(i.options.headers||{}),i.options.headers.has("content-type")||i.options.headers.set("content-type","application/json"),i.options.headers.has("accept")||i.options.headers.set("accept","application/json")):("pipeTo"in i.options.body&&typeof i.options.body.pipeTo=="function"||typeof i.options.body.pipe=="function")&&("duplex"in i.options||(i.options.duplex="half")));let h;if(!i.options.signal&&i.options.timeout){const m=new s;h=setTimeout(()=>m.abort(),i.options.timeout),i.options.signal=m.signal}try{i.response=await t(i.request,i.options)}catch(m){return i.error=m,i.options.onRequestError&&await i.options.onRequestError(i),await n(i)}finally{h&&clearTimeout(h)}if(i.response.body&&!Tt.has(i.response.status)&&i.options.method!=="HEAD"){const m=(i.options.parseResponse?"json":i.options.responseType)||Ot(i.response.headers.get("content-type")||"");switch(m){case"json":{const E=await i.response.text(),w=i.options.parseResponse||Je;i.response._data=w(E);break}case"stream":{i.response._data=i.response.body;break}default:i.response._data=await i.response[m]()}}return i.options.onResponse&&await i.options.onResponse(i),!i.options.ignoreResponseError&&i.response.status>=400&&i.response.status<600?(i.options.onResponseError&&await i.options.onResponseError(i),await n(i)):i.response},c=async function(l,f){return(await o(l,f))._data};return c.raw=o,c.native=(...a)=>t(...a),c.create=(a={})=>Re({...e,defaults:{...e.defaults,...a}}),c}const ae=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),Mt=ae.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Pt=ae.Headers,Lt=ae.AbortController,kt=Re({fetch:Mt,Headers:Pt,AbortController:Lt}),It=kt,q="default",se="preflights",Nt="shortcuts",Ft="imports",zt={[Ft]:-200,[se]:-100,[Nt]:-10,[q]:0},Dt=/[\\:]?[\s'"`;{}]+/g;function Bt(e){return e.split(Dt)}const Ut={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return Bt(e)}};function M(e=[]){return Array.isArray(e)?e:[e]}function N(e){return Array.from(new Set(e))}function he(e,t){return e.reduce((r,s)=>(r.findIndex(o=>t(s,o))===-1&&r.push(s),r),[])}function R(e){return typeof e=="string"}var Vt=Object.defineProperty,Wt=(e,t,r)=>t in e?Vt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,qt=(e,t,r)=>(Wt(e,t+"",r),r);class Te extends Set{constructor(t){super(t),qt(this,"_map"),this._map??(this._map=new Map)}add(t){return this._map??(this._map=new Map),this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.delete(t),super.delete(t)}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,r){return this._map.set(t,r),super.add(t)}}function Y(e){return e instanceof Te}function Ht(e){const t=e.length;let r=-1,s,n="";const o=e.charCodeAt(0);for(;++r<t;){if(s=e.charCodeAt(r),s===0){n+="�";continue}if(s===37){n+="\\%";continue}if(s===44){n+="\\,";continue}if(s>=1&&s<=31||s===127||r===0&&s>=48&&s<=57||r===1&&s>=48&&s<=57&&o===45){n+=`\\${s.toString(16)} `;continue}if(r===0&&t===1&&s===45){n+=`\\${e.charAt(r)}`;continue}if(s>=128||s===45||s===95||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122){n+=e.charAt(r);continue}n+=`\\${e.charAt(r)}`}return n}const X=Ht;function Gt(e){return typeof e=="function"?{match:e}:e}function pe(e){return e.length===3}function de(e){return e!=null}function Jt(){}var Qt=Object.defineProperty,Kt=(e,t,r)=>t in e?Qt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Yt=(e,t,r)=>(Kt(e,t+"",r),r);class Xt{constructor(){Yt(this,"_map",new Map)}get(t,r){const s=this._map.get(t);if(s)return s.get(r)}getFallback(t,r,s){let n=this._map.get(t);return n||(n=new Map,this._map.set(t,n)),n.has(r)||n.set(r,s),n.get(r)}set(t,r,s){let n=this._map.get(t);return n||(n=new Map,this._map.set(t,n)),n.set(r,s),this}has(t,r){return this._map.get(t)?.has(r)}delete(t,r){return this._map.get(t)?.delete(r)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([r,s])=>Array.from(s.entries()).map(([n,o])=>t(o,r,n)))}}class Zt extends Map{getFallback(t,r){const s=this.get(t);return s===void 0?(this.set(t,r),r):s}map(t){const r=[];return this.forEach((s,n)=>{r.push(t(s,n))}),r}flatMap(t){const r=[];return this.forEach((s,n)=>{r.push(...t(s,n))}),r}}function U(e){return R(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function er(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>U(t)):[e]:[U(e)]}function tr(e){return e.filter(([t,r],s)=>{if(t.startsWith("$$"))return!1;for(let n=s-1;n>=0;n--)if(e[n][0]===t&&e[n][1]===r)return!1;return!0})}function Z(e){return e==null?"":tr(e).map(([t,r])=>r!=null&&typeof r!="function"?`${t}:${r};`:void 0).filter(Boolean).join("")}function V(e){return e&&typeof e=="object"&&!Array.isArray(e)}function Me(e,t,r=!1){const s=e,n=t;if(Array.isArray(n))return r&&Array.isArray(n)?[...s,...n]:[...n];const o={...s};return V(s)&&V(n)&&Object.keys(n).forEach(c=>{V(s[c])&&V(n[c])||Array.isArray(s[c])&&Array.isArray(n[c])?o[c]=Me(s[c],n[c],r):Object.assign(o,{[c]:n[c]})}),o}function H(e){let t,r,s;if(Array.isArray(e)){for(r=Array.from({length:t=e.length});t--;)r[t]=(s=e[t])&&typeof s=="object"?H(s):s;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:H(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(s=e[t])&&typeof s=="object"?H(s):s;return r}return e}function rr(e){return R(e[0])}function nr(e){return R(e[0])}const W={};function sr(e=["-",":"]){const t=e.join("|");return W[t]||(W[t]=new RegExp(`((?:[!@<~\\w+:_/-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[.*?\\])+?)\\)(?!\\s*?=>)`,"gm")),W[t].lastIndex=0,W[t]}function or(e,t=["-",":"],r=5){const s=sr(t);let n,o=e.toString();const c=new Set,a=new Map;do n=!1,o=o.replace(s,(f,i,h,y,m)=>{if(!t.includes(h))return f;n=!0,c.add(i+h);const E=m+i.length+h.length+1,w={length:f.length,items:[]};a.set(m,w);for(const p of[...y.matchAll(/\S+/g)]){const A=E+p.index;let g=a.get(A)?.items;g?a.delete(A):g=[{offset:A,length:p[0].length,className:p[0]}];for(const d of g)d.className=d.className==="~"?i:d.className.replace(/^(!?)(.*)/,`$1${i}${h}$2`),w.items.push(d)}return"$".repeat(f.length)}),r-=1;while(n&&r);let l;if(typeof e=="string"){l="";let f=0;for(const[i,h]of a)l+=e.slice(f,i),l+=h.items.map(y=>y.className).join(" "),f=i+h.length;l+=e.slice(f)}else{l=e;for(const[f,i]of a)l.overwrite(f,f+i.length,i.items.map(h=>h.className).join(" "))}return{prefixes:Array.from(c),hasChanged:n,groupsByOffset:a,get expanded(){return l.toString()}}}function ir(e,t=["-",":"],r=5){const s=or(e,t,r);return typeof e=="string"?s.expanded:e}const me=new Set;function Pe(e){me.has(e)||(console.warn("[unocss]",e),me.add(e))}function Le(e){return M(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}const ge="_uno_resolved";function ar(e){let t=typeof e=="function"?e():e;if(ge in t)return t;t={...t},Object.defineProperty(t,ge,{value:!0,enumerable:!1});const r=t.shortcuts?Le(t.shortcuts):void 0;if(t.shortcuts=r,t.prefix||t.layer){const s=n=>{n[2]||(n[2]={});const o=n[2];o.prefix==null&&t.prefix&&(o.prefix=M(t.prefix)),o.layer==null&&t.layer&&(o.layer=t.layer)};r?.forEach(s),t.rules?.forEach(s)}return t}function ke(e){const t=ar(e);if(!t.presets)return[t];const r=(t.presets||[]).flatMap(M).flatMap(ke);return[t,...r]}function cr(e){if(e.length===0)return{};const t=[],r=[];let s=!1;for(const n of e)n.pipeline===!1?s=!0:(t.push(n.pipeline?.include??[]),r.push(n.pipeline?.exclude??[]));return{filesystem:N(e.flatMap(n=>n.filesystem??[])),inline:N(e.flatMap(n=>n.inline??[])),plain:N(e.flatMap(n=>n.plain??[])),pipeline:s?!1:{include:N(we(...t)),exclude:N(we(...r))}}}function ye(e={},t={}){const r=Object.assign({},t,e),s=he((r.presets||[]).flatMap(M).flatMap(ke),(u,b)=>u.name===b.name),n=[...s.filter(u=>u.enforce==="pre"),...s.filter(u=>!u.enforce),...s.filter(u=>u.enforce==="post")],o=[...n,r],c=[...o].reverse(),a=Object.assign({},zt,...o.map(u=>u.layers));function l(u){return N(o.flatMap(b=>M(b[u]||[])))}const f=l("extractors");let i=c.find(u=>u.extractorDefault!==void 0)?.extractorDefault;i===void 0&&(i=Ut),i&&!f.includes(i)&&f.unshift(i),f.sort((u,b)=>(u.order||0)-(b.order||0));const h=l("rules"),y={},m=h.length,E=h.map((u,b)=>{if(rr(u)){M(u[2]?.prefix||"").forEach(j=>{y[j+u[0]]=[b,u[1],u[2],u]});return}return[b,...u]}).filter(Boolean).reverse();let w=lr(o.map(u=>u.theme));const p=l("extendTheme");for(const u of p)w=u(w)||w;const A={templates:N(o.flatMap(u=>M(u.autocomplete?.templates))),extractors:o.flatMap(u=>M(u.autocomplete?.extractors)).sort((u,b)=>(u.order||0)-(b.order||0)),shorthands:fr(o.map(u=>u.autocomplete?.shorthands||{}))};let g=l("separators");g.length||(g=[":","-"]);const d=l("content"),_=cr(d),v={mergeSelectors:!0,warn:!0,sortLayers:u=>u,...r,blocklist:l("blocklist"),presets:n,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:w,rulesSize:m,rulesDynamic:E,rulesStaticMap:y,preprocess:l("preprocess"),postprocess:l("postprocess"),preflights:l("preflights"),autocomplete:A,variants:l("variants").map(Gt).sort((u,b)=>(u.order||0)-(b.order||0)),shortcuts:Le(l("shortcuts")).reverse(),extractors:f,safelist:l("safelist"),separators:g,details:r.details??r.envMode==="dev",content:_,transformers:he(l("transformers"),(u,b)=>u.name===b.name)};for(const u of o)u?.configResolved?.(v);return v}function lr(e){return e.map(t=>t?H(t):{}).reduce((t,r)=>Me(t,r),{})}function fr(e){return e.reduce((t,r)=>{const s={};for(const n in r){const o=r[n];Array.isArray(o)?s[n]=`(${o.join("|")})`:s[n]=o}return{...t,...s}},{})}function we(...e){return e.flatMap(ur)}function ur(e){return Array.isArray(e)?e:e?[e]:[]}const hr="0.62.4";function pr(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}var dr=Object.defineProperty,mr=(e,t,r)=>t in e?dr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,D=(e,t,r)=>(mr(e,typeof t!="symbol"?t+"":t,r),r);const B={shortcutsNoMerge:"$$symbol-shortcut-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector"};class gr{constructor(t={},r={}){this.userConfig=t,this.defaults=r,D(this,"version",hr),D(this,"_cache",new Map),D(this,"config"),D(this,"blocked",new Set),D(this,"parentOrders",new Map),D(this,"events",pr()),this.config=ye(t,r),this.events.emit("config",this.config)}setConfig(t,r){t&&(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this._cache.clear(),this.config=ye(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,r,s=new Set){const n={original:t,code:t,id:r,extracted:s,envMode:this.config.envMode};for(const o of this.config.extractors){const c=await o.extract?.(n);if(c)if(Y(c)&&Y(s))for(const a of c)s.setCount(a,s.getCount(a)+c.getCount(a));else for(const a of c)s.add(a)}return s}makeContext(t,r){const s={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:B,variantHandlers:r[2],constructCSS:(...n)=>this.constructCustomCSS(s,...n),variantMatch:r};return s}async parseToken(t,r){if(this.blocked.has(t))return;const s=`${t}${r?` ${r}`:""}`;if(this._cache.has(s))return this._cache.get(s);let n=t;for(const f of this.config.preprocess)n=f(t);if(this.isBlocked(n)){this.blocked.add(t),this._cache.set(s,null);return}const o=await this.matchVariants(t,n);if(!o||this.isBlocked(o[1])){this.blocked.add(t),this._cache.set(s,null);return}const c=this.makeContext(t,[r||o[0],o[1],o[2],o[3]]);this.config.details&&(c.variants=[...o[3]]);const a=await this.expandShortcut(c.currentSelector,c),l=a?await this.stringifyShortcuts(c.variantMatch,c,a[0],a[1]):(await this.parseUtil(c.variantMatch,c))?.map(f=>this.stringifyUtil(f,c)).filter(de);if(l?.length)return this._cache.set(s,l),l;this._cache.set(s,null)}async generate(t,r={}){const{id:s,scope:n,preflights:o=!0,safelist:c=!0,minify:a=!1,extendedInfo:l=!1}=r,f=this.config.outputToCssLayers,i=R(t)?await this.applyExtractors(t,s,l?new Te:new Set):Array.isArray(t)?new Set(t):t;if(c){const v={generator:this,theme:this.config.theme};this.config.safelist.flatMap(u=>typeof u=="function"?u(v):u).forEach(u=>{i.has(u)||i.add(u)})}const h=a?"":`
|
|
2
|
-
`,y=new Set([q]),m=l?new Map:new Set,E=new Map;let w={};const p=Array.from(i).map(async v=>{if(m.has(v))return;const u=await this.parseToken(v);if(u!=null){m instanceof Map?m.set(v,{data:u,count:Y(i)?i.getCount(v):-1}):m.add(v);for(const b of u){const C=b[3]||"",j=b[4]?.layer;E.has(C)||E.set(C,[]),E.get(C).push(b),j&&y.add(j)}}});await Promise.all(p),await(async()=>{if(!o)return;const v={generator:this,theme:this.config.theme},u=new Set([]);this.config.preflights.forEach(({layer:b=se})=>{y.add(b),u.add(b)}),w=Object.fromEntries(await Promise.all(Array.from(u).map(async b=>{const j=(await Promise.all(this.config.preflights.filter(P=>(P.layer||se)===b).map(async P=>await P.getCSS(v)))).filter(Boolean).join(h);return[b,j]})))})();const A=this.config.sortLayers(Array.from(y).sort((v,u)=>(this.config.layers[v]??0)-(this.config.layers[u]??0)||v.localeCompare(u))),g={},d=(v=q)=>{if(g[v])return g[v];let u=Array.from(E).sort((C,j)=>(this.parentOrders.get(C[0])??0)-(this.parentOrders.get(j[0])??0)||C[0]?.localeCompare(j[0]||"")||0).map(([C,j])=>{const P=j.length,k=j.filter(S=>(S[4]?.layer||q)===v).sort((S,x)=>S[0]-x[0]||(S[4]?.sort||0)-(x[4]?.sort||0)||S[5]?.currentSelector?.localeCompare(x[5]?.currentSelector??"")||S[1]?.localeCompare(x[1]||"")||S[2]?.localeCompare(x[2]||"")||0).map(([,S,x,,O,,T])=>[[[(S&&br(S,n))??"",O?.sort??0]],x,!!(T??O?.noMerge)]);if(!k.length)return;const I=k.reverse().map(([S,x,O],T)=>{if(!O&&this.config.mergeSelectors)for(let z=T+1;z<P;z++){const L=k[z];if(L&&!L[2]&&(S&&L[0]||S==null&&L[0]==null)&&L[1]===x)return S&&L[0]&&L[0].push(...S),null}const F=S?N(S.sort((z,L)=>z[1]-L[1]||z[0]?.localeCompare(L[0]||"")||0).map(z=>z[0]).filter(Boolean)):[];return F.length?`${F.join(`,${h}`)}{${x}}`:x}).filter(Boolean).reverse().join(h);if(!C)return I;const $=C.split(" $$ ");return`${$.join("{")}{${h}${I}${h}${"}".repeat($.length)}`}).filter(Boolean).join(h);if(o&&(u=[w[v],u].filter(Boolean).join(h)),f&&u){let C=typeof f=="object"?f.cssLayerName?.(v):void 0;C!==null&&(C||(C=v),u=`@layer ${C}{${h}${u}${h}}`)}const b=a?"":`/* layer: ${v} */${h}`;return g[v]=u?b+u:""},_=(v=A,u)=>v.filter(b=>!u?.includes(b)).map(b=>d(b)||"").filter(Boolean).join(h);return{get css(){return _()},layers:A,matched:m,getLayers:_,getLayer:d}}async matchVariants(t,r){const s=new Set,n=[];let o=r||t,c=!0;const a={rawSelector:t,theme:this.config.theme,generator:this};for(;c;){c=!1;for(const l of this.config.variants){if(!l.multiPass&&s.has(l))continue;let f=await l.match(o,a);if(f){if(R(f)){if(f===o)continue;f={matcher:f}}o=f.matcher??o,n.unshift(f),s.add(l),c=!0;break}}if(!c)break;if(n.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[t,o,n,s]}applyVariants(t,r=t[4],s=t[1]){const o=r.slice().sort((f,i)=>(f.order||0)-(i.order||0)).reduceRight((f,i)=>h=>{const y=i.body?.(h.entries)||h.entries,m=Array.isArray(i.parent)?i.parent:[i.parent,void 0];return(i.handle??vr)({...h,entries:y,selector:i.selector?.(h.selector,y)||h.selector,parent:m[0]||h.parent,parentOrder:m[1]||h.parentOrder,layer:i.layer||h.layer,sort:i.sort||h.sort},f)},f=>f)({prefix:"",selector:Sr(s),pseudo:"",entries:t[2]}),{parent:c,parentOrder:a}=o;c!=null&&a!=null&&this.parentOrders.set(c,a);const l={selector:[o.prefix,o.selector,o.pseudo].join(""),entries:o.entries,parent:c,layer:o.layer,sort:o.sort,noMerge:o.noMerge};for(const f of this.config.postprocess)f(l);return l}constructCustomCSS(t,r,s){const n=U(r);if(R(n))return n;const{selector:o,entries:c,parent:a}=this.applyVariants([0,s||t.rawSelector,n,void 0,t.variantHandlers]),l=`${o}{${Z(c)}}`;return a?`${a}{${l}}`:l}async parseUtil(t,r,s=!1,n){const[o,c,a]=R(t)?await this.matchVariants(t):t;this.config.details&&(r.rules=r.rules??[]);const l=this.config.rulesStaticMap[c];if(l&&l[1]&&(s||!l[2]?.internal)){this.config.details&&r.rules.push(l[3]);const i=l[0],h=U(l[1]),y=l[2];return R(h)?[[i,h,y]]:[[i,o,h,y,a]]}r.variantHandlers=a;const{rulesDynamic:f}=this.config;for(const[i,h,y,m]of f){if(m?.internal&&!s)continue;let E=c;if(m?.prefix){const g=M(m.prefix);if(n){const d=M(n);if(!g.some(_=>d.includes(_)))continue}else{const d=g.find(_=>c.startsWith(_));if(d==null)continue;E=c.slice(d.length)}}const w=E.match(h);if(!w)continue;let p=await y(w,r);if(!p)continue;if(this.config.details&&r.rules.push([h,y,m]),typeof p!="string")if(Symbol.asyncIterator in p){const g=[];for await(const d of p)d&&g.push(d);p=g}else Symbol.iterator in p&&!Array.isArray(p)&&(p=Array.from(p).filter(de));const A=er(p).filter(g=>g.length);if(A.length)return A.map(g=>{if(R(g))return[i,g,m];let d=a;for(const _ of g)_[0]===B.variants?d=[...M(_[1]),...d]:_[0]===B.parent?d=[{parent:_[1]},...d]:_[0]===B.selector&&(d=[{selector:_[1]},...d]);return[i,o,g,m,d]})}}stringifyUtil(t,r){if(!t)return;if(pe(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?r:void 0,void 0];const{selector:s,entries:n,parent:o,layer:c,sort:a,noMerge:l}=this.applyVariants(t),f=Z(n);if(!f)return;const{layer:i,sort:h,...y}=t[3]??{},m={...y,layer:c??i,sort:a??h};return[t[0],s,f,o,m,this.config.details?r:void 0,l]}async expandShortcut(t,r,s=5){if(s===0)return;const n=this.config.details?a=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(a)}:Jt;let o,c;for(const a of this.config.shortcuts){let l=t;if(a[2]?.prefix){const i=M(a[2].prefix).find(h=>t.startsWith(h));if(i==null)continue;l=t.slice(i.length)}if(nr(a)){if(a[0]===l){o=o||a[2],c=a[1],n(a);break}}else{const f=l.match(a[0]);if(f&&(c=a[1](f,r)),c){o=o||a[2],n(a);break}}}if(c&&(c=M(c).map(a=>R(a)?ir(a.trim()).split(/\s+/g):a).flat()),!c){const[a,l]=R(t)?await this.matchVariants(t):t;if(a!==l){const f=await this.expandShortcut(l,r,s-1);f&&(c=f[0].map(i=>R(i)?a.replace(l,i):i))}}if(c)return[(await Promise.all(c.map(async a=>(R(a)?(await this.expandShortcut(a,r,s-1))?.[0]:void 0)||[a]))).flat(1).filter(Boolean),o]}async stringifyShortcuts(t,r,s,n={layer:this.config.shortcutsLayer}){const o=new Zt,c=(await Promise.all(N(s).map(async i=>{const h=R(i)?await this.parseUtil(i,r,!0,n.prefix):[[Number.POSITIVE_INFINITY,"{inline}",U(i),void 0,[]]];return!h&&this.config.warn&&Pe(`unmatched utility "${i}" in shortcut "${t[1]}"`),h||[]}))).flat(1).filter(Boolean).sort((i,h)=>i[0]-h[0]),[a,,l]=t,f=[];for(const i of c){if(pe(i)){f.push([i[0],void 0,i[1],void 0,i[2],r,void 0]);continue}const{selector:h,entries:y,parent:m,sort:E,noMerge:w,layer:p}=this.applyVariants(i,[...i[4],...l],a);o.getFallback(p??n.layer,new Xt).getFallback(h,m,[[],i[0]])[0].push([y,!!(w??i[3]?.noMerge),E??0])}return f.concat(o.flatMap((i,h)=>i.map(([y,m],E,w)=>{const p=(g,d,_)=>{const v=Math.max(..._.map(b=>b[1])),u=_.map(b=>b[0]);return(g?[u.flat(1)]:u).map(b=>{const C=Z(b);if(C)return[m,E,C,w,{...n,noMerge:d,sort:v,layer:h},r,void 0]})};return[[y.filter(([,g])=>g).map(([g,,d])=>[g,d]),!0],[y.filter(([,g])=>!g).map(([g,,d])=>[g,d]),!1]].map(([g,d])=>[...p(!1,d,g.filter(([_])=>_.some(v=>v[0]===B.shortcutsNoMerge))),...p(!0,d,g.filter(([_])=>_.every(v=>v[0]!==B.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(t){return!t||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(t):R(r)?r===t:r.test(t))}getBlocked(t){const r=this.config.blocklist.find(s=>{const n=Array.isArray(s)?s[0]:s;return typeof n=="function"?n(t):R(n)?n===t:n.test(t)});return r?Array.isArray(r)?r:[r,void 0]:void 0}}function yr(e,t){return new gr(e,t)}const Ie=/\s\$\$\s+/g;function wr(e){return Ie.test(e)}function br(e,t){return wr(e)?e.replace(Ie,t?` ${t} `:" "):t?`${t} ${e}`:e}const be=/^\[(.+?)(~?=)"(.*)"\]$/;function Sr(e){return be.test(e)?e.replace(be,(t,r,s,n)=>`[${X(r)}${s}"${X(n)}"]`):`.${X(e)}`}function vr(e,t){return t(e)}var Se={};const _r=Object.freeze({left:0,top:0,width:16,height:16}),J=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Ne=Object.freeze({..._r,...J}),$r=Object.freeze({...Ne,body:"",hidden:!1}),Er=Object.freeze({width:null,height:null}),Fe=Object.freeze({...Er,...J});function xr(e,t){const r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);const s=((e.rotate||0)+(t.rotate||0))%4;return s&&(r.rotate=s),r}function ve(e,t){const r=xr(e,t);for(const s in $r)s in J?s in e&&!(s in r)&&(r[s]=J[s]):s in t?r[s]=t[s]:s in e&&(r[s]=e[s]);return r}function Cr(e,t){const r=e.icons,s=e.aliases||Object.create(null),n=Object.create(null);function o(c){if(r[c])return n[c]=[];if(!(c in n)){n[c]=null;const a=s[c]&&s[c].parent,l=a&&o(a);l&&(n[c]=[a].concat(l))}return n[c]}return(t||Object.keys(r).concat(Object.keys(s))).forEach(o),n}function _e(e,t,r){const s=e.icons,n=e.aliases||Object.create(null);let o={};function c(a){o=ve(s[a]||n[a],o)}return c(t),r.forEach(c),ve(e,o)}function Ar(e,t){if(e.icons[t])return _e(e,t,[]);const r=Cr(e,[t])[t];return r?_e(e,t,r):null}const Or=/(-?[0-9.]*[0-9]+[0-9.]*)/g,jr=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Q(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;const s=e.split(Or);if(s===null||!s.length)return e;const n=[];let o=s.shift(),c=jr.test(o);for(;;){if(c){const a=parseFloat(o);isNaN(a)?n.push(o):n.push(Math.ceil(a*t*r)/r)}else n.push(o);if(o=s.shift(),o===void 0)return n.join("");c=!c}}function Rr(e,t="defs"){let r="";const s=e.indexOf("<"+t);for(;s>=0;){const n=e.indexOf(">",s),o=e.indexOf("</"+t);if(n===-1||o===-1)break;const c=e.indexOf(">",o);if(c===-1)break;r+=e.slice(n+1,o).trim(),e=e.slice(0,s).trim()+e.slice(c+1)}return{defs:r,content:e}}function Tr(e,t){return e?"<defs>"+e+"</defs>"+t:t}function Mr(e,t,r){const s=Rr(e);return Tr(s.defs,t+s.content+r)}const ce=e=>e==="unset"||e==="undefined"||e==="none";function Pr(e,t){const r={...Ne,...e},s={...Fe,...t},n={left:r.left,top:r.top,width:r.width,height:r.height};let o=r.body;[r,s].forEach(w=>{const p=[],A=w.hFlip,g=w.vFlip;let d=w.rotate;A?g?d+=2:(p.push("translate("+(n.width+n.left).toString()+" "+(0-n.top).toString()+")"),p.push("scale(-1 1)"),n.top=n.left=0):g&&(p.push("translate("+(0-n.left).toString()+" "+(n.height+n.top).toString()+")"),p.push("scale(1 -1)"),n.top=n.left=0);let _;switch(d<0&&(d-=Math.floor(d/4)*4),d=d%4,d){case 1:_=n.height/2+n.top,p.unshift("rotate(90 "+_.toString()+" "+_.toString()+")");break;case 2:p.unshift("rotate(180 "+(n.width/2+n.left).toString()+" "+(n.height/2+n.top).toString()+")");break;case 3:_=n.width/2+n.left,p.unshift("rotate(-90 "+_.toString()+" "+_.toString()+")");break}d%2===1&&(n.left!==n.top&&(_=n.left,n.left=n.top,n.top=_),n.width!==n.height&&(_=n.width,n.width=n.height,n.height=_)),p.length&&(o=Mr(o,'<g transform="'+p.join(" ")+'">',"</g>"))});const c=s.width,a=s.height,l=n.width,f=n.height;let i,h;c===null?(h=a===null?"1em":a==="auto"?f:a,i=Q(h,l/f)):(i=c==="auto"?l:c,h=a===null?Q(i,f/l):a==="auto"?f:a);const y={},m=(w,p)=>{ce(p)||(y[w]=p.toString())};m("width",i),m("height",h);const E=[n.left,n.top,l,f];return y.viewBox=E.join(" "),{attributes:y,viewBox:E,body:o}}function Lr(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function kr(e){let t=e.startsWith("<svg>")?e.replace("<svg>","<svg >"):e;return!t.includes(" xmlns:xlink=")&&t.includes(" xlink:")&&(t=t.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),t.includes(" xmlns=")||(t=t.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),Lr(t)}function Ir(e){return e.replace(/(['"])\s*\n\s*([^>\\/\s])/g,"$1 $2").replace(/(["';{}><])\s*\n\s*/g,"$1").replace(/\s*\n\s*/g," ").replace(/\s+"/g,'"').replace(/="\s+/g,'="').replace(/(\s)+\/>/g,"/>").trim()}const Nr=/\swidth\s*=\s*["']([\w.]+)["']/,Fr=/\sheight\s*=\s*["']([\w.]+)["']/,ee=/<svg\s+/;function zr(e,t,r){const s=e.slice(0,e.indexOf(">")),n=(o,c)=>{const a=c.exec(s),l=a!=null,f=t[o];return!f&&!ce(f)&&(typeof r=="number"?r>0&&(t[o]=Q(a?.[1]??"1em",r)):a&&(t[o]=a[1])),l};return[n("width",Nr),n("height",Fr)]}async function ze(e,t,r,s,n,o){const{scale:c,addXmlNs:a=!1}=s??{},{additionalProps:l={},iconCustomizer:f}=s?.customizations??{},i=await n?.()??{};await f?.(t,r,i),Object.keys(l).forEach(w=>{const p=l[w];p!=null&&(i[w]=p)}),o?.(i);const[h,y]=zr(e,i,c);a&&(!e.includes("xmlns=")&&!i.xmlns&&(i.xmlns="http://www.w3.org/2000/svg"),!e.includes("xmlns:xlink=")&&e.includes("xlink:")&&!i["xmlns:xlink"]&&(i["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const m=Object.keys(i).map(w=>w==="width"&&h||w==="height"&&y?null:`${w}="${i[w]}"`).filter(w=>w!=null);if(m.length&&(e=e.replace(ee,`<svg ${m.join(" ")} `)),s){const{defaultStyle:w,defaultClass:p}=s;p&&!e.includes("class=")&&(e=e.replace(ee,`<svg class="${p}" `)),w&&!e.includes("style=")&&(e=e.replace(ee,`<svg style="${w}" `))}const E=s?.usedProps;return E&&(Object.keys(l).forEach(w=>{const p=i[w];p!=null&&(E[w]=p)}),typeof i.width<"u"&&i.width!==null&&(E.width=i.width),typeof i.height<"u"&&i.height!==null&&(E.height=i.height)),e}async function $e(e,t,r,s){let n;try{if(typeof e=="function")n=await e(r);else{const o=e[r];n=typeof o=="function"?await o():o}}catch(o){console.warn(`Failed to load custom icon "${r}" in "${t}":`,o);return}if(n){const o=n.indexOf("<svg");o>0&&(n=n.slice(o));const{transform:c}=s?.customizations??{};return n=typeof c=="function"?await c(n,t,r):n,n.startsWith("<svg")?await ze(s?.customizations?.trimCustomSvg===!0?Ir(n):n,t,r,s,void 0):(console.warn(`Custom icon "${r}" in "${t}" is not a valid SVG`),n)}}async function De(e,t,r,s){let n;const{customize:o}=s?.customizations??{};for(const c of r)if(n=Ar(e,c),n){let a={...Fe};typeof o=="function"&&(n=Object.assign({},n),a=o(a,n,`${t}:${c}`)??a);const{attributes:{width:l,height:f,...i},body:h}=Pr(n,a),y=s?.scale;return await ze(`<svg >${h}</svg>`,t,c,s,()=>({...i}),m=>{const E=(w,p)=>{const A=m[w];let g;if(!ce(A)){if(A)return;typeof y=="number"?y&&(g=Q(p??"1em",y)):g=p}g?m[w]=g:delete m[w]};E("width",l),E("height",f)})}}const Be=async(e,t,r)=>{const s=r?.customCollections?.[e];if(s)if(typeof s=="function"){let n;try{n=await s(t)}catch(o){console.warn(`Failed to load custom icon "${t}" in "${e}":`,o);return}if(n){if(typeof n=="string")return await $e(()=>n,e,t,r);if("icons"in n){const o=[t,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.replace(/([a-z])(\d+)/g,"$1-$2")];return await De(n,e,o,r)}}}else return await $e(s,e,t,r)};function Dr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Br=["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codicon","covid","cryptocurrency-color","cryptocurrency","dashicons","devicon-line","devicon-original","devicon-plain","devicon","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","fad","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-emoji","fluent-mdl2","fluent","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","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","jam","la","lets-icons","line-md","logos","ls","lucide-lab","lucide","mage","majesticons","maki","map","marketeq","material-symbols-light","material-symbols","mdi-light","mdi","medical-icon","memory","meteocons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto-v1","noto","octicon","oi","ooui","openmoji","oui","pajamas","pepicons-pencil","pepicons-pop","pepicons-print","pepicons","ph","pixelarticons","prime","ps","quill","radix-icons","raphael","ri","rivet-icons","si-glyph","simple-icons","simple-line-icons","skill-icons","solar","streamline-emojis","streamline","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","token-branded","token","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons"];const Ur=Dr(Br),Vr=3;function Wr(e){return(t={})=>{const{scale:r=1,mode:s="auto",prefix:n="i-",warn:o=!1,collections:c,extraProperties:a={},customizations:l={},autoInstall:f=!1,collectionsNodeResolvePath:i,layer:h="icons",unit:y,processor:m}=t,E=qr(),w={addXmlNs:!0,scale:r,customCollections:c,autoInstall:f,cwd:i,warn:void 0,customizations:{...l,additionalProps:{...a},trimCustomSvg:!0,async iconCustomizer(A,g,d){await l.iconCustomizer?.(A,g,d),y&&(d.width||(d.width=`${r}${y}`),d.height||(d.height=`${r}${y}`))}}};let p;return{name:"@unocss/preset-icons",enforce:"pre",options:t,layers:{icons:-30},rules:[[/^([a-z0-9:_-]+)(?:\?(mask|bg|auto))?$/,async A=>{let[g,d,_=s]=A,v="",u="",b;p=p||await e(t);const C={};if(d.includes(":"))[v,u]=d.split(":"),b=await p(v,u,{...w,usedProps:C});else{const k=d.split(/-/g);for(let I=Vr;I>=1&&(v=k.slice(0,I).join("-"),u=k.slice(I).join("-"),b=await p(v,u,{...w,usedProps:C}),!b);I--);}if(!b){o&&!E.isESLint&&Pe(`failed to load icon "${g}"`);return}let j;const P=`url("data:image/svg+xml;utf8,${kr(b)}")`;return _==="auto"&&(_=b.includes("currentColor")?"mask":"bg"),_==="mask"?j={"--un-icon":P,"-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",...C}:j={background:`${P} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...C},m?.(j,{collection:v,icon:u,svg:b,mode:_}),j},{layer:h,prefix:n}]]}}}function Ue(e,t){const r=new Map;function s(n){if(Ur.includes(n))return r.has(n)||r.set(n,e(`${t}@iconify-json/${n}/icons.json`)),r.get(n)}return async(n,o,c)=>{let a=await Be(n,o,c);if(a)return a;const l=await s(n);if(l){const f=[o,o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o.replace(/([a-z])(\d+)/g,"$1-$2")];a=await De(l,n,f,c)}return a}}function qr(){const e=typeof process<"u"&&process.stdout&&!process.versions.deno,t=e&&!!Se.VSCODE_CWD,r=e&&!!Se.ESLINT;return{isNode:e,isVSCode:t,isESLint:r}}function Hr(e){return Ue(It,e)}const tn=Wr(async e=>{const t=e?.customFetch,r=e?.cdn;return t&&r?Ue(t,r):r?Hr(r):Be});function Gr(e){return e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():"")}function Ee(e){return e.charAt(0).toUpperCase()+e.slice(1)}function xe(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var Ce=["Webkit","Moz","ms"];function Jr(e){const t={};function r(s){const n=t[s];if(n)return n;let o=Gr(s);if(o!=="filter"&&o in e)return t[s]=xe(o);o=Ee(o);for(let c=0;c<Ce.length;c++){const a=`${Ce[c]}${o}`;if(a in e)return t[s]=xe(Ee(a))}return s}return({entries:s})=>s.forEach(n=>{n[0].startsWith("--")||(n[0]=r(n[0]))})}function Qr(e){return e.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}function rn(e={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}const t=window,r=window.document,s=()=>r.documentElement,n=t.__unocss||{},o=Object.assign({},e,n.runtime),c=o.defaults||{},a=o.cloakAttribute??"un-cloak";o.autoPrefix&&(c.postprocess=M(c.postprocess)).unshift(Jr(r.createElement("div").style)),o.configResolved?.(n,c);const l=yr(n,c),f=$=>o.inject?o.inject($):s().prepend($),i=()=>o.rootElement?o.rootElement():r.body,h=new Map;let y=!0;const m=new Set;let E,w,p=[];const A=()=>new Promise($=>{p.push($),w!=null&&clearTimeout(w),w=setTimeout(()=>_().then(()=>{const S=p;p=[],S.forEach(x=>x())}),0)});function g($,S=!1){if($.nodeType!==1)return;const x=$;x.hasAttribute(a)&&x.removeAttribute(a),S&&x.querySelectorAll(`[${a}]`).forEach(O=>{O.removeAttribute(a)})}function d($,S){let x=h.get($);if(!x)if(x=r.createElement("style"),x.setAttribute("data-unocss-runtime-layer",$),h.set($,x),S==null)f(x);else{const O=d(S),T=O.parentNode;T?T.insertBefore(x,O.nextSibling):f(x)}return x}async function _(){const $=[...m],S=await l.generate($);return S.layers.reduce((O,T)=>(d(T,O).innerHTML=S.getLayer(T)??"",T),void 0),$.filter(O=>!S.matched.has(O)).forEach(O=>m.delete(O)),{...S,getStyleElement:O=>h.get(O),getStyleElements:()=>h}}async function v($){const S=m.size;await l.applyExtractors($,void 0,m),S!==m.size&&await A()}async function u($=i()){const S=$&&$.outerHTML;S&&(await v(`${S} ${Qr(S)}`),g(s()),g($,!0))}const b=new MutationObserver($=>{y||$.forEach(async S=>{if(S.target.nodeType!==1)return;const x=S.target;for(const O of h)if(x===O[1])return;if(S.type==="childList")S.addedNodes.forEach(async O=>{if(O.nodeType!==1)return;const T=O;E&&!E(T)||(await v(T.outerHTML),g(T))});else{if(E&&!E(x))return;if(S.attributeName!==a){const O=Array.from(x.attributes).map(F=>F.value?`${F.name}="${F.value}"`:F.name).join(" "),T=`<${x.tagName.toLowerCase()} ${O}>`;await v(T)}g(x)}})});let C=!1;function j(){if(C)return;const $=o.observer?.target?o.observer.target():i();$&&(b.observe($,{childList:!0,subtree:!0,attributes:!0,attributeFilter:o.observer?.attributeFilter}),C=!0)}function P(){o.bypassDefined&&Kr(l.blocked),u(),j()}function k(){r.readyState==="loading"?t.addEventListener("DOMContentLoaded",P):P()}const I=t.__unocss_runtime=t.__unocss_runtime={version:l.version,uno:l,async extract($){R($)||($.forEach(S=>m.add(S)),$=""),await v($)},extractAll:u,inspect($){E=$},toggleObserver($){$===void 0?y=!y:y=!!$,!C&&!y&&k()},update:_,presets:t.__unocss_runtime?.presets??{}};o.ready?.(I)!==!1&&(y=!1,k())}function Kr(e=new Set){for(let t=0;t<document.styleSheets.length;t++){const r=document.styleSheets[t];let s;try{if(s=r.cssRules||r.rules,!s)continue;Array.from(s).flatMap(n=>n.selectorText?.split(/,/g)||[]).forEach(n=>{n&&(n=n.trim(),n.startsWith(".")&&(n=n.slice(1)),e.add(n))})}catch{continue}}return e}export{It as $,bt as a,Ae as b,Xr as c,Je as d,en as e,ne as f,rn as g,ie as h,Yr as i,Zr as j,tn as k,it as p,yt as w};
|
|
@@ -1 +0,0 @@
|
|
|
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]{display:none}
|
|
@@ -1 +0,0 @@
|
|
|
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}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as V}from"./nnavbar.vue-jap952ju.js";import{_ as D}from"./ncode-block.vue-d334f2dp.js";import{be as S,bf as B,M as j,p as P,W as U,c as W}from"./nxp3p1l5.js";import{Q as i,S as c,U as a,k as E,b as m,w as I,l as _,a0 as l,$ as u,F as d,ab as z,a5 as v,Y as G,O as H}from"./vendor/json-editor-vue-f126ciji.js";import{_ as L}from"./help-fab.vue-kqlhhn29.js";import"./client-dgt05ivb.js";import"./vendor/unocss-mnpxkox6.js";import"./vendor/shiki-hhqxa887.js";const M={class:"markdown-body"},O={__name:"virtual-files",setup(h,{expose:r}){return r({frontmatter:{}}),(p,o)=>(i(),c("div",M,o[0]||(o[0]=[a("h1",null,"Virtual Files",-1),a("p",null,"Virtual files are generated on the fly to support the conventions of the framework, and to provide a better developer experience.",-1)])))}},Q=O,R=["onClick"],Y={key:0,"h-full":"","of-hidden":"",flex:"~ col"},q={border:"b base","flex-none":"",px4:"",py2:"","text-sm":"",op75:""},ne=E({__name:"virtual-files",setup(h){const r=m(""),n=S(),p=B(),o=m();I(()=>{if(!p.value)return;const e=`/_vfs.json/${encodeURIComponent(p.value)}`;fetch(e,{headers:{accept:"application/json"}}).then(t=>t.json()).then(t=>o.value=t.current)});function x(e){if(n.value?.rootDir)return e.startsWith(n.value?.rootDir)?e.slice(n.value.rootDir.length):e}const f=_(()=>n.value?n.value.entries.filter(e=>!e.id.startsWith(`${n.value?.rootDir||""}/.nuxt/`)).sort((e,t)=>e.id.localeCompare(t.id)):[]),b=_(()=>new j(f.value,{keys:["id","path"]})),k=_(()=>r.value?b.value.search(r.value).map(e=>e.item):f.value);return(e,t)=>{const y=V,g=D,C=U,$=W,F=P,N=Q,w=L;return i(),c(d,null,[l(F,{class:"virtual-files","storage-key":"tab-virtual-files"},{left:u(()=>[l(y,{search:r.value,"onUpdate:search":t[0]||(t[0]=s=>r.value=s),"no-padding":"",p3:""},null,8,["search"]),(i(!0),c(d,null,z(k.value,s=>(i(),c(d,{key:s.id},[a("button",{block:"","w-full":"","select-none":"",truncate:"",px2:"",py1:"","text-start":"","text-sm":"","font-mono":"",class:G(s.id===o.value?.id?"text-primary n-bg-active":"text-secondary hover:n-bg-hover"),onClick:A=>p.value=s.id},v(x(s.id)),11,R),t[1]||(t[1]=a("div",{"x-divider":""},null,-1))],64))),128))]),right:u(()=>[o.value?.content?(i(),c("div",Y,[a("div",q,[a("code",null,v(o.value.id),1)]),l(g,{"h-full":"","of-auto":"","text-sm":"",code:o.value.content,lang:"typescript"},null,8,["code"])])):(i(),H($,{key:1},{default:u(()=>[l(C,{px6:"",py2:""},{default:u(()=>t[2]||(t[2]=[a("span",{op75:""},"Select a file to start",-1)])),_:1})]),_:1}))]),_:1}),l(w,null,{default:u(()=>[l(N)]),_:1})],64)}}});export{ne as default};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/client/_nuxt/{virtual-files.css-i6taatd1.css → virtual-files.css-gqpg2wnb.css}
RENAMED
|
File without changes
|