@unocss/runtime 0.60.1 → 0.60.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/attributify.global.js +7 -7
- package/core.global.js +1 -1
- package/full.global.js +8 -8
- package/mini.global.js +7 -7
- package/package.json +4 -4
- package/preset-attributify.global.js +1 -1
- package/preset-icons.global.js +1 -1
- package/preset-mini.global.js +6 -6
- package/preset-rem-to-px.global.js +1 -1
- package/preset-tagify.global.js +1 -1
- package/preset-typography.global.js +1 -1
- package/preset-uno.global.js +6 -6
- package/preset-wind.global.js +6 -6
- package/uno.global.js +7 -7
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/runtime",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.60.
|
|
4
|
+
"version": "0.60.3",
|
|
5
5
|
"description": "CSS-in-JS Runtime for UnoCSS",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"dist"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@unocss/core": "0.60.
|
|
39
|
-
"@unocss/preset-uno": "0.60.
|
|
40
|
-
"@unocss/preset-attributify": "0.60.
|
|
38
|
+
"@unocss/core": "0.60.3",
|
|
39
|
+
"@unocss/preset-uno": "0.60.3",
|
|
40
|
+
"@unocss/preset-attributify": "0.60.3"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"build": "pnpm run build:node && pnpm run build:cdn && pnpm run build:presets",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(()=>{var U=/^\[(.+?)~?="(.*)"\]$/;var C=/[\w\u00A0-\uFFFF
|
|
1
|
+
"use strict";(()=>{var U=/^\[(.+?)~?="(.*)"\]$/;var C=/[\w\u00A0-\uFFFF%-?]/;function w(t){return t.match(U)}function E(t=""){return C.test(t)}var O=/^(?!.*\[[^:]+:.+\]$)((?:.+:)?!?)(.*)$/;function _(t={}){let m=t.prefix??"un-",s=t.prefixedOnly??!1,d=t.trueToNonValued??!1,o;return{name:"attributify",match(r,{generator:b}){let i=w(r);if(!i)return;let e=i[1];if(e.startsWith(m))e=e.slice(m.length);else if(s)return;let a=i[2],[,x="",l=a]=a.match(O)||[];if(l==="~"||d&&l==="true"||!l)return`${x}${e}`;if(o==null){let u=b?.config?.separators?.join("|");u?o=new RegExp(`^(.*\\](?:${u}))(\\[[^\\]]+?\\])$`):o=!1}if(o){let[,u,c]=a.match(o)||[];if(c)return`${u}${x}${e}-${c}`}return`${x}${e}-${l}`}}}var j=/(<\w[\w:.$-]*\s)((?:'[^>']*'|"[^>"]*"|`[^>`]*`|\{[^>}]*\}|[^>]*?)*)/g,k=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF-:%]+)(?:=("[^"]*|'[^']*))?/g,v=/[\s'"`;>]+/;function F(t){return{name:"attributify",extract:({content:m,cursor:s})=>{let d=m.matchAll(j),o,r=0;for(let n of d){let[,p,g]=n,A=n.index+p.length;if(s>A&&s<=A+g.length){r=A,o=g;break}}if(!o)return null;let b=o.matchAll(k),i=0,e,a;for(let n of b){let[p,g,A]=n,$=r+n.index;if(s>$&&s<=$+p.length){i=$,e=g,a=A?.slice(1);break}}if(!e||e==="class"||e==="className"||e===":class")return null;let x=!!t?.prefix&&e.startsWith(t.prefix);if(t?.prefixedOnly&&!x)return null;let l=x?e.slice(t.prefix.length):e;if(a===void 0)return{extracted:l,resolveReplacement(n){let p=x?t.prefix.length:0;return{start:i+p,end:i+e.length,replacement:n}}};let u=i+e.length+2,c=v.exec(a),f=0,h;for(;c;){let[n]=c;if(s>u+f&&s<=u+f+c.index){h=a.slice(f,f+c.index);break}f+=c.index+n.length,c=v.exec(a.slice(f))}h===void 0&&(h=a.slice(f));let[,y="",S]=h.match(O)||[];return{extracted:`${y}${l}-${S}`,transformSuggestions(n){return n.filter(p=>p.startsWith(`${y}${l}-`)).map(p=>y+p.slice(y.length+l.length+1))},resolveReplacement(n){return{start:f+u,end:f+u+h.length,replacement:y+n.slice(y.length+l.length+1)}}}}}}var W=["v-bind:",":"],P=/[\s'"`;]+/g,R=/<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`]*`|\{[^}]*\}|=>|[^>]*?)*)/g,I=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=?(?:"([^"]*)"|'([^']*)'|\{([^}]*)\})?/g,V=["placeholder","fill","opacity","stroke-opacity"];function N(t){let m=t?.ignoreAttributes??V,s=t?.nonValuedAttribute??!0,d=t?.trueToNonValued??!1;return{name:"@unocss/preset-attributify/extractor",extract({code:o}){return Array.from(o.matchAll(R)).flatMap(r=>Array.from((r[1]||"").matchAll(I))).flatMap(([,r,...b])=>{let i=b.filter(Boolean).join("");if(m.includes(r))return[];for(let e of W)if(r.startsWith(e)){r=r.slice(e.length);break}if(!i){if(E(r)&&s!==!1){let e=[`[${r}=""]`];return d&&e.push(`[${r}="true"]`),e}return[]}return["class","className"].includes(r)?i.split(P).filter(E):R.test(i)?(R.lastIndex=0,this.extract({code:i})):t?.prefixedOnly&&t.prefix&&!r.startsWith(t.prefix)?[]:i.split(P).filter(e=>!!e&&e!==":").map(e=>`[${r}~="${e}"]`)})}}}var M=(t={})=>{t.strict=t.strict??!1,t.prefix=t.prefix??"un-",t.prefixedOnly=t.prefixedOnly??!1,t.nonValuedAttribute=t.nonValuedAttribute??!0,t.ignoreAttributes=t.ignoreAttributes??V;let m=[_(t)],s=[N(t)],d=[F(t)];return{name:"@unocss/preset-attributify",enforce:"post",variants:m,extractors:s,options:t,autocomplete:{extractors:d},extractorDefault:t.strict?!1:void 0}},T=M;window.__unocss_runtime=window.__unocss_runtime??{};window.__unocss_runtime.presets=Object.assign(window.__unocss_runtime?.presets??{},{presetAttributify:t=>T(t)});})();
|
package/preset-icons.global.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
`).join(`
|
|
3
3
|
`+s),e.push(r+"m+"+Z.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=kt()+o+" "+e[0]}function kt(){return w.inspectOpts.hideDate?"":new Date().toISOString()+" "}function Tt(...e){return process.stderr.write(J.format(...e)+`
|
|
4
4
|
`)}function $t(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function Rt(){return process.env.DEBUG}function Lt(e){e.inspectOpts={};let o=Object.keys(w.inspectOpts);for(let t=0;t<o.length;t++)e.inspectOpts[o[t]]=w.inspectOpts[o[t]]}Z.exports=ie()(w);var{formatters:Ve}=Z.exports;Ve.o=function(e){return this.inspectOpts.colors=this.useColors,J.inspect(e,this.inspectOpts).split(`
|
|
5
|
-
`).map(o=>o.trim()).join(" ")};Ve.O=function(e){return this.inspectOpts.colors=this.useColors,J.inspect(e,this.inspectOpts)}});var D=T((go,ae)=>{"use strict";typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?ae.exports=Pe():ae.exports=Ue()});async function le(e,o,t,n){let r;At(`${o}:${t}`);try{if(typeof e=="function")r=await e(t);else{let s=e[t];r=typeof s=="function"?await s():s}}catch(s){console.warn(`Failed to load custom icon "${t}" in "${o}":`,s);return}if(r){let s=r.indexOf("<svg");s>0&&(r=r.slice(s));let{transform:a}=n?.customizations??{};return r=typeof a=="function"?await a(r,o,t):r,r.startsWith("<svg")?await W(n?.customizations?.trimCustomSvg===!0?Te(r):r,o,t,n,void 0):(console.warn(`Custom icon "${t}" in "${o}" is not a valid SVG`),r)}}var Ge,At,qe=F(()=>{"use strict";Ge=G(D(),1);ne();$e();At=(0,Ge.default)("@iconify-loader:custom")});async function Y(e,o,t,n){let r,{customize:s}=n?.customizations??{};for(let a of t)if(r=Ie(e,a),r){Pt(`${o}:${a}`);let f={...B};typeof s=="function"&&(f=s(f));let{attributes:{width:m,height:h,...i},body:l}=Ee(r,f),p=n?.scale;return await W(`<svg >${l}</svg>`,o,a,n,()=>({...i}),x=>{let I=(u,c)=>{let y=x[u],b;if(!N(y)){if(y)return;typeof p=="number"?p&&(b=`${p}em`):b=c}b?x[u]=b:delete x[u]};I("width",m),I("height",h)})}}var Be,Pt,ue=F(()=>{"use strict";oe();Fe();ne();Be=G(D(),1);Q();Pt=(0,Be.default)("@iconify-loader:icon")});var Oo,M,fe=F(()=>{"use strict";qe();ue();Oo=G(D(),1),M=async(e,o,t)=>{let n=t?.customCollections?.[e];if(n)if(typeof n=="function"){let r;try{r=await n(o)}catch(s){console.warn(`Failed to load custom icon "${o}" in "${e}":`,s);return}if(r){if(typeof r=="string")return await le(()=>r,e,o,t);if("icons"in r){let s=[o,o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o.replace(/([a-z])(\d+)/g,"$1-$2")];return await Y(r,e,s,t)}}}else return await le(n,e,o,t)}});function je(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function ke(e){let o=e.startsWith("<svg>")?e.replace("<svg>","<svg >"):e;return!o.includes(" xmlns:xlink=")&&o.includes(" xlink:")&&(o=o.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),o.includes(" xmlns=")||(o=o.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),je(o)}fe();var jo=G(D(),1);var We=new Set;function Ke(e){We.has(e)||(console.warn("[unocss]",e),We.add(e))}fe();ue();var He=["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bx","bxl","bxs","bytesize","carbon","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","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","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","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","whh","wi","wpf","zmdi","zondicons"];var zt=3;function Je(e){return(o={})=>{let{scale:t=1,mode:n="auto",prefix:r="i-",warn:s=!1,collections:a,extraProperties:f={},customizations:m={},autoInstall:h=!1,collectionsNodeResolvePath:i,layer:l="icons",unit:p,processor:x}=o,I=Nt(),u={addXmlNs:!0,scale:t,customCollections:a,autoInstall:h,cwd:i,warn:void 0,customizations:{...m,additionalProps:{...f},trimCustomSvg:!0,async iconCustomizer(y,b,d){await m.iconCustomizer?.(y,b,d),p&&(d.width||(d.width=`${t}${p}`),d.height||(d.height=`${t}${p}`))}}},c;return{name:"@unocss/preset-icons",enforce:"pre",options:o,layers:{icons:-30},rules:[[/^([a-z0-9:_-]+)(?:\?(mask|bg|auto))?$/,async y=>{let[b,d,g=n]=y,R="",O="",E;c=c||await e(o);let k={};if(d.includes(":"))[R,O]=d.split(":"),E=await c(R,O,{...u,usedProps:k});else{let me=d.split(/-/g);for(let V=zt;V>=1&&(R=me.slice(0,V).join("-"),O=me.slice(V).join("-"),E=await c(R,O,{...u,usedProps:k}),!E);V--);}if(!E){s&&!I.isESLint&&Ke(`failed to load icon "${b}"`);return}let L,pe=`url("data:image/svg+xml;utf8,${ke(E)}")`;return g==="auto"&&(g=E.includes("currentColor")?"mask":"bg"),g==="mask"?L={"--un-icon":pe,"-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",...k}:L={background:`${pe} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...k},x?.(L,{collection:R,icon:O,svg:E,mode:g}),L},{layer:l,prefix:r}]]}}}function Ze(e,o){let t=new Map;function n(r){if(He.includes(r))return t.has(r)||t.set(r,e(`${o}@iconify-json/${r}/icons.json`)),t.get(r)}return async(r,s,a)=>{let f=await M(r,s,a);if(f)return f;let m=await n(r);if(m){let h=[s,s.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),s.replace(/([a-z])(\d+)/g,"$1-$2")];f=await Y(m,r,h,a)}return f}}function Nt(){let e=typeof process<"u"&&process.stdout&&!process.versions.deno,o=e&&!!process.env.VSCODE_CWD,t=e&&!!process.env.ESLINT;return{isNode:e,isVSCode:o,isESLint:t}}window.__unocss_runtime=window.__unocss_runtime??{};window.__unocss_runtime.presets=Object.assign(window.__unocss_runtime?.presets??{},(()=>{let e=Je(async o=>{let t=o?.customFetch??(r=>fetch(r).then(s=>s.json())),n=o?.cdn;return n?Ze(t,n):M});return{presetIcons:o=>e(o)}})());})();
|
|
5
|
+
`).map(o=>o.trim()).join(" ")};Ve.O=function(e){return this.inspectOpts.colors=this.useColors,J.inspect(e,this.inspectOpts)}});var D=T((go,ae)=>{"use strict";typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?ae.exports=Pe():ae.exports=Ue()});async function le(e,o,t,n){let r;At(`${o}:${t}`);try{if(typeof e=="function")r=await e(t);else{let s=e[t];r=typeof s=="function"?await s():s}}catch(s){console.warn(`Failed to load custom icon "${t}" in "${o}":`,s);return}if(r){let s=r.indexOf("<svg");s>0&&(r=r.slice(s));let{transform:a}=n?.customizations??{};return r=typeof a=="function"?await a(r,o,t):r,r.startsWith("<svg")?await W(n?.customizations?.trimCustomSvg===!0?Te(r):r,o,t,n,void 0):(console.warn(`Custom icon "${t}" in "${o}" is not a valid SVG`),r)}}var Ge,At,qe=F(()=>{"use strict";Ge=G(D(),1);ne();$e();At=(0,Ge.default)("@iconify-loader:custom")});async function Y(e,o,t,n){let r,{customize:s}=n?.customizations??{};for(let a of t)if(r=Ie(e,a),r){Pt(`${o}:${a}`);let f={...B};typeof s=="function"&&(f=s(f));let{attributes:{width:m,height:h,...i},body:l}=Ee(r,f),p=n?.scale;return await W(`<svg >${l}</svg>`,o,a,n,()=>({...i}),x=>{let I=(u,c)=>{let y=x[u],b;if(!N(y)){if(y)return;typeof p=="number"?p&&(b=`${p}em`):b=c}b?x[u]=b:delete x[u]};I("width",m),I("height",h)})}}var Be,Pt,ue=F(()=>{"use strict";oe();Fe();ne();Be=G(D(),1);Q();Pt=(0,Be.default)("@iconify-loader:icon")});var Oo,M,fe=F(()=>{"use strict";qe();ue();Oo=G(D(),1),M=async(e,o,t)=>{let n=t?.customCollections?.[e];if(n)if(typeof n=="function"){let r;try{r=await n(o)}catch(s){console.warn(`Failed to load custom icon "${o}" in "${e}":`,s);return}if(r){if(typeof r=="string")return await le(()=>r,e,o,t);if("icons"in r){let s=[o,o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o.replace(/([a-z])(\d+)/g,"$1-$2")];return await Y(r,e,s,t)}}}else return await le(n,e,o,t)}});function je(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function ke(e){let o=e.startsWith("<svg>")?e.replace("<svg>","<svg >"):e;return!o.includes(" xmlns:xlink=")&&o.includes(" xlink:")&&(o=o.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),o.includes(" xmlns=")||(o=o.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),je(o)}fe();var jo=G(D(),1);var We=new Set;function Ke(e){We.has(e)||(console.warn("[unocss]",e),We.add(e))}fe();ue();var He=["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bx","bxl","bxs","bytesize","carbon","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","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","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","whh","wi","wpf","zmdi","zondicons"];var zt=3;function Je(e){return(o={})=>{let{scale:t=1,mode:n="auto",prefix:r="i-",warn:s=!1,collections:a,extraProperties:f={},customizations:m={},autoInstall:h=!1,collectionsNodeResolvePath:i,layer:l="icons",unit:p,processor:x}=o,I=Nt(),u={addXmlNs:!0,scale:t,customCollections:a,autoInstall:h,cwd:i,warn:void 0,customizations:{...m,additionalProps:{...f},trimCustomSvg:!0,async iconCustomizer(y,b,d){await m.iconCustomizer?.(y,b,d),p&&(d.width||(d.width=`${t}${p}`),d.height||(d.height=`${t}${p}`))}}},c;return{name:"@unocss/preset-icons",enforce:"pre",options:o,layers:{icons:-30},rules:[[/^([a-z0-9:_-]+)(?:\?(mask|bg|auto))?$/,async y=>{let[b,d,g=n]=y,R="",O="",E;c=c||await e(o);let k={};if(d.includes(":"))[R,O]=d.split(":"),E=await c(R,O,{...u,usedProps:k});else{let me=d.split(/-/g);for(let V=zt;V>=1&&(R=me.slice(0,V).join("-"),O=me.slice(V).join("-"),E=await c(R,O,{...u,usedProps:k}),!E);V--);}if(!E){s&&!I.isESLint&&Ke(`failed to load icon "${b}"`);return}let L,pe=`url("data:image/svg+xml;utf8,${ke(E)}")`;return g==="auto"&&(g=E.includes("currentColor")?"mask":"bg"),g==="mask"?L={"--un-icon":pe,"-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",...k}:L={background:`${pe} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...k},x?.(L,{collection:R,icon:O,svg:E,mode:g}),L},{layer:l,prefix:r}]]}}}function Ze(e,o){let t=new Map;function n(r){if(He.includes(r))return t.has(r)||t.set(r,e(`${o}@iconify-json/${r}/icons.json`)),t.get(r)}return async(r,s,a)=>{let f=await M(r,s,a);if(f)return f;let m=await n(r);if(m){let h=[s,s.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),s.replace(/([a-z])(\d+)/g,"$1-$2")];f=await Y(m,r,h,a)}return f}}function Nt(){let e=typeof process<"u"&&process.stdout&&!process.versions.deno,o=e&&!!process.env.VSCODE_CWD,t=e&&!!process.env.ESLINT;return{isNode:e,isVSCode:o,isESLint:t}}window.__unocss_runtime=window.__unocss_runtime??{};window.__unocss_runtime.presets=Object.assign(window.__unocss_runtime?.presets??{},(()=>{let e=Je(async o=>{let t=o?.customFetch??(r=>fetch(r).then(s=>s.json())),n=o?.cdn;return n?Ze(t,n):M});return{presetIcons:o=>e(o)}})());})();
|