vite-plugin-vue-devtools 7.2.0 → 7.3.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/client/assets/index-DhLLQ7AJ.css +1 -0
  2. package/client/assets/{index-CDBAuZCi.js → index-I7cYn7yD.js} +112 -113
  3. package/client/assets/{unocss-runtime-C2aH1Jer.js → unocss-runtime-DET60yni.js} +2 -2
  4. package/client/assets/{vue-yccoFuXf-q8nGVquG.js → vue-CCacahFR-CRnm5w84.js} +2 -2
  5. package/client/assets/{vue-CMvPPucx.js → vue-CpF6k_42.js} +2 -2
  6. package/client/assets/{vue-html-PWeNQaIl-ChlIBMe8.js → vue-html-Cae35ipv-514FnJ3-.js} +1 -1
  7. package/client/assets/{vue-html-DxgvOoVJ.js → vue-html-aHkQr8H2.js} +1 -1
  8. package/client/css-CAzixsid-CEpuX1HY.js +511 -0
  9. package/client/css-CAzixsid.js +511 -0
  10. package/client/devtools-panel.css +1 -0
  11. package/client/devtools-panel.js +92963 -0
  12. package/client/diff-Bo5iyMQ2-Bo5iyMQ2.js +7 -0
  13. package/client/diff-Bo5iyMQ2.js +7 -0
  14. package/client/html-BZB5lEhh-B74zAnWx.js +84 -0
  15. package/client/html-BZB5lEhh.js +84 -0
  16. package/client/index.html +2 -2
  17. package/client/javascript-DqVBMyXe-DqVBMyXe.js +705 -0
  18. package/client/javascript-DqVBMyXe.js +705 -0
  19. package/client/json-B12k4-6m-B12k4-6m.js +31 -0
  20. package/client/json-B12k4-6m.js +31 -0
  21. package/client/shellscript-C_gmBC5P-C_gmBC5P.js +7 -0
  22. package/client/shellscript-C_gmBC5P.js +7 -0
  23. package/client/typescript-AEg-ehu7-AEg-ehu7.js +672 -0
  24. package/client/typescript-AEg-ehu7.js +672 -0
  25. package/client/unocss-runtime-CysDdJDT.js +2041 -0
  26. package/client/vitesse-dark-CkUHDarG-CkUHDarG.js +685 -0
  27. package/client/vitesse-dark-CkUHDarG.js +685 -0
  28. package/client/vitesse-light-K81-viQS-K81-viQS.js +683 -0
  29. package/client/vitesse-light-K81-viQS.js +683 -0
  30. package/client/vue-CCacahFR-DGkPCBY5.js +2125 -0
  31. package/client/vue-CCacahFR.js +2125 -0
  32. package/client/vue-apis-Ba6Wxigc.js +1152 -0
  33. package/client/vue-html-Cae35ipv-C0hVhFzJ.js +11 -0
  34. package/client/vue-html-Cae35ipv.js +11 -0
  35. package/client/yaml-PGla5xPP-HJurM_FJ.js +206 -0
  36. package/client/yaml-PGla5xPP.js +206 -0
  37. package/dist/vite.cjs +140 -114
  38. package/dist/vite.d.cts +3 -17
  39. package/dist/vite.d.mts +3 -17
  40. package/dist/vite.d.ts +3 -17
  41. package/dist/vite.mjs +141 -115
  42. package/package.json +6 -6
  43. package/src/overlay/devtools-overlay.css +1 -1
  44. package/src/overlay/devtools-overlay.js +2 -2
  45. package/src/overlay/devtools-overlay.mjs +8 -0
  46. package/src/overlay.js +10 -4
  47. package/client/assets/index-Cka_f-Nd.css +0 -1
@@ -1,2 +1,2 @@
1
- const Ie=/"(?:_|\\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*:/,Fe=/"(?: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*:/,ze=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function De(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Ue(e);return}return t}function Ue(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Ve(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(!ze.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Ie.test(e)||Fe.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,De)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}const Be=/#/g,qe=/&/g,He=/\//g,Ge=/=/g,te=/\+/g,We=/%5e/gi,Je=/%60/gi,Qe=/%7c/gi,Ke=/%20/gi;function Ye(e){return encodeURI(""+e).replace(Qe,"|")}function X(e){return Ye(typeof e=="string"?e:JSON.stringify(e)).replace(te,"%2B").replace(Ke,"+").replace(Be,"%23").replace(qe,"%26").replace(Je,"`").replace(We,"^").replace(He,"%2F")}function W(e){return X(e).replace(Ge,"%3D")}function Se(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Xe(e){return Se(e.replace(te," "))}function Ze(e){return Se(e.replace(te," "))}function et(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=Xe(s[1]);if(n==="__proto__"||n==="constructor")continue;const i=Ze(s[2]||"");t[n]===void 0?t[n]=i:Array.isArray(t[n])?t[n].push(i):t[n]=[t[n],i]}return t}function tt(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${W(e)}=${X(r)}`).join("&"):`${W(e)}=${X(t)}`:W(e)}function rt(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>tt(t,e[t])).filter(Boolean).join("&")}const nt=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,st=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,ot=/^([/\\]\s*){2,}[^/\\]/,it=/\/$|\/\?|\/#/,at=/^\.?\//;function _e(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?nt.test(e):st.test(e)||(t.acceptRelative?ot.test(e):!1)}function Z(e="",t){return t?it.test(e):e.endsWith("/")}function ct(e="",t){if(!t)return(Z(e)?e.slice(0,-1):e)||"/";if(!Z(e,!0))return e||"/";let r=e,s="";const n=e.indexOf("#");n>=0&&(r=e.slice(0,n),s=e.slice(n));const[i,...c]=r.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(c.length>0?`?${c.join("?")}`:"")+s}function lt(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Z(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[i,...c]=r.split("?");return i+"/"+(c.length>0?`?${c.join("?")}`:"")+s}function ft(e,t){if(ht(t)||_e(e))return e;const r=ct(t);return e.startsWith(r)?e:dt(r,e)}function ut(e,t){const r=$e(e),s={...et(r.search),...t};return r.search=rt(s),mt(r)}function ht(e){return!e||e==="/"}function pt(e){return e&&e!=="/"}function dt(e,...t){let r=e||"";for(const s of t.filter(n=>pt(n)))if(r){const n=s.replace(at,"");r=lt(r)+n}else r=s;return r}const ve=Symbol.for("ufo:protocolRelative");function $e(e="",t){const r=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,u,d=""]=r;return{protocol:u.toLowerCase(),pathname:d,href:u+d,auth:"",host:"",search:"",hash:""}}if(!_e(e,{acceptRelative:!0}))return t?$e(t+e):se(e);const[,s="",n,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,c="",a=""]=i.match(/([^#/?]*)(.*)?/)||[],{pathname:l,search:f,hash:o}=se(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:s.toLowerCase(),auth:n?n.slice(0,Math.max(0,n.length-1)):"",host:c,pathname:l,search:f,hash:o,[ve]:!s}}function se(e=""){const[t="",r="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:s}}function mt(e){const t=e.pathname||"",r=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",s=e.hash||"",n=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[ve]?(e.protocol||"")+"//":"")+n+i+t+r+s}class gt extends Error{constructor(t,r){super(t,r),this.name="FetchError",r?.cause&&!this.cause&&(this.cause=r.cause)}}function yt(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)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",c=`${n}: ${i}${t?` ${t}`:""}`,a=new gt(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 wt=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function oe(e="GET"){return wt.has(e.toUpperCase())}function bt(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 St=new Set(["image/svg","application/xml","application/xhtml","application/html"]),_t=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function vt(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return _t.test(t)?"json":St.has(t)||t.startsWith("text/")?"text":"blob"}function $t(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,i]of new r(e?.headers||{}))s.headers.set(n,i)}return s}const Et=new Set([408,409,425,429,500,502,503,504]),At=new Set([101,204,205,304]);function Ee(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 o;typeof a.options.retry=="number"?o=a.options.retry:o=oe(a.options.method)?0:1;const u=a.response&&a.response.status||500;if(o>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(u):Et.has(u))){const d=a.options.retryDelay||0;return d>0&&await new Promise(p=>setTimeout(p,d)),i(a.request,{...a.options,retry:o-1})}}const f=yt(a);throw Error.captureStackTrace&&Error.captureStackTrace(f,i),f}const i=async function(l,f={}){const o={request:l,options:$t(f,e.defaults,r),response:void 0,error:void 0};o.options.method=o.options.method?.toUpperCase(),o.options.onRequest&&await o.options.onRequest(o),typeof o.request=="string"&&(o.options.baseURL&&(o.request=ft(o.request,o.options.baseURL)),(o.options.query||o.options.params)&&(o.request=ut(o.request,{...o.options.params,...o.options.query}))),o.options.body&&oe(o.options.method)&&(bt(o.options.body)?(o.options.body=typeof o.options.body=="string"?o.options.body:JSON.stringify(o.options.body),o.options.headers=new r(o.options.headers||{}),o.options.headers.has("content-type")||o.options.headers.set("content-type","application/json"),o.options.headers.has("accept")||o.options.headers.set("accept","application/json")):("pipeTo"in o.options.body&&typeof o.options.body.pipeTo=="function"||typeof o.options.body.pipe=="function")&&("duplex"in o.options||(o.options.duplex="half")));let u;if(!o.options.signal&&o.options.timeout){const p=new s;u=setTimeout(()=>p.abort(),o.options.timeout),o.options.signal=p.signal}try{o.response=await t(o.request,o.options)}catch(p){return o.error=p,o.options.onRequestError&&await o.options.onRequestError(o),await n(o)}finally{u&&clearTimeout(u)}if(o.response.body&&!At.has(o.response.status)&&o.options.method!=="HEAD"){const p=(o.options.parseResponse?"json":o.options.responseType)||vt(o.response.headers.get("content-type")||"");switch(p){case"json":{const $=await o.response.text(),g=o.options.parseResponse||Ve;o.response._data=g($);break}case"stream":{o.response._data=o.response.body;break}default:o.response._data=await o.response[p]()}}return o.options.onResponse&&await o.options.onResponse(o),!o.options.ignoreResponseError&&o.response.status>=400&&o.response.status<600?(o.options.onResponseError&&await o.options.onResponseError(o),await n(o)):o.response},c=async function(l,f){return(await i(l,f))._data};return c.raw=i,c.native=(...a)=>t(...a),c.create=(a={})=>Ee({...e,defaults:{...e.defaults,...a}}),c}const re=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")}(),Ct=re.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),xt=re.Headers,Ot=re.AbortController,Rt=Ee({fetch:Ct,Headers:xt,AbortController:Ot}),Tt=Rt;function jt(e){const t=e.length;let r=-1,s,n="";const i=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&&i===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 J=jt;function M(e=[]){return Array.isArray(e)?e:[e]}function H(e){return Array.from(new Set(e))}function Mt(e,t){return e.reduce((r,s)=>(r.findIndex(i=>t(s,i))===-1&&r.push(s),r),[])}function R(e){return typeof e=="string"}function D(e){return R(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function Pt(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>D(t)):[e]:[D(e)]}function kt(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 Q(e){return e==null?"":kt(e).map(([t,r])=>r!=null?`${t}:${r};`:void 0).filter(Boolean).join("")}function U(e){return e&&typeof e=="object"&&!Array.isArray(e)}function Ae(e,t,r=!1){const s=e,n=t;if(Array.isArray(n))return r&&Array.isArray(n)?[...s,...n]:[...n];const i={...s};return U(s)&&U(n)&&Object.keys(n).forEach(c=>{U(s[c])&&U(n[c])||Array.isArray(s[c])&&Array.isArray(n[c])?i[c]=Ae(s[c],n[c],r):Object.assign(i,{[c]:n[c]})}),i}function B(e){let t,r,s;if(Array.isArray(e)){for(r=Array(t=e.length);t--;)r[t]=(s=e[t])&&typeof s=="object"?B(s):s;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:B(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(s=e[t])&&typeof s=="object"?B(s):s;return r}return e}function Lt(e){return R(e[0])}function Nt(e){return R(e[0])}const ie="$$shortcut-no-merge";function It(e){return typeof e=="function"?{match:e}:e}function ae(e){return e.length===3}function Ft(e){return e!=null}function zt(){}var Dt=Object.defineProperty,Ut=(e,t,r)=>t in e?Dt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Vt=(e,t,r)=>(Ut(e,t+"",r),r);class Bt{constructor(){Vt(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,i])=>t(i,r,n)))}}class qt 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}}var Ht=Object.defineProperty,Gt=(e,t,r)=>t in e?Ht(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Wt=(e,t,r)=>(Gt(e,t+"",r),r);class Ce extends Set{constructor(t){super(t),Wt(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 K(e){return e instanceof Ce}const V={};function Jt(e=["-",":"]){const t=e.join("|");return V[t]||(V[t]=new RegExp(`((?:[!@<~\\w+:_/-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[.*?\\])+?)\\)(?!\\s*?=>)`,"gm")),V[t].lastIndex=0,V[t]}function Qt(e,t=["-",":"],r=5){const s=Jt(t);let n,i=e.toString();const c=new Set,a=new Map;do n=!1,i=i.replace(s,(f,o,u,d,p)=>{if(!t.includes(u))return f;n=!0,c.add(o+u);const $=p+o.length+u.length+1,g={length:f.length,items:[]};a.set(p,g);for(const y of[...d.matchAll(/\S+/g)]){const x=$+y.index;let w=a.get(x)?.items;w?a.delete(x):w=[{offset:x,length:y[0].length,className:y[0]}];for(const b of w)b.className=b.className==="~"?o:b.className.replace(/^(!?)(.*)/,`$1${o}${u}$2`),g.items.push(b)}return"$".repeat(f.length)}),r-=1;while(n&&r);let l;if(typeof e=="string"){l="";let f=0;for(const[o,u]of a)l+=e.slice(f,o),l+=u.items.map(d=>d.className).join(" "),f=o+u.length;l+=e.slice(f)}else{l=e;for(const[f,o]of a)l.overwrite(f,f+o.length,o.items.map(u=>u.className).join(" "))}return{prefixes:Array.from(c),hasChanged:n,groupsByOffset:a,get expanded(){return l.toString()}}}function Kt(e,t=["-",":"],r=5){const s=Qt(e,t,r);return typeof e=="string"?s.expanded:e}const ce=new Set;function xe(e){ce.has(e)||(console.warn("[unocss]",e),ce.add(e))}const Yt=/[\\:]?[\s'"`;{}]+/g;function Xt(e){return e.split(Yt)}const Zt={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return Xt(e)}};function er(){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)}}}const q="default",ee="preflights",tr="shortcuts",rr="imports",nr={[rr]:-200,[ee]:-100,[tr]:-10,[q]:0};function Oe(e){return M(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}const le="_uno_resolved";function sr(e){let t=typeof e=="function"?e():e;if(le in t)return t;t={...t},Object.defineProperty(t,le,{value:!0,enumerable:!1});const r=t.shortcuts?Oe(t.shortcuts):void 0;if(t.shortcuts=r,t.prefix||t.layer){const s=n=>{n[2]||(n[2]={});const i=n[2];i.prefix==null&&t.prefix&&(i.prefix=M(t.prefix)),i.layer==null&&t.layer&&(i.layer=t.layer)};r?.forEach(s),t.rules?.forEach(s)}return t}function Re(e){const t=sr(e);if(!t.presets)return[t];const r=(t.presets||[]).flatMap(M).flatMap(Re);return[t,...r]}function fe(e={},t={}){const r=Object.assign({},t,e),s=Mt((r.presets||[]).flatMap(M).flatMap(Re),(h,m)=>h.name===m.name),n=[...s.filter(h=>h.enforce==="pre"),...s.filter(h=>!h.enforce),...s.filter(h=>h.enforce==="post")],i=[...n,r],c=[...i].reverse(),a=Object.assign({},nr,...i.map(h=>h.layers));function l(h){return H(i.flatMap(m=>M(m[h]||[])))}const f=l("extractors");let o=c.find(h=>h.extractorDefault!==void 0)?.extractorDefault;o===void 0&&(o=Zt),o&&!f.includes(o)&&f.unshift(o),f.sort((h,m)=>(h.order||0)-(m.order||0));const u=l("rules"),d={},p=u.length,$=u.map((h,m)=>{if(Lt(h)){M(h[2]?.prefix||"").forEach(A=>{d[A+h[0]]=[m,h[1],h[2],h]});return}return[m,...h]}).filter(Boolean).reverse();let g=or(i.map(h=>h.theme));const y=l("extendTheme");for(const h of y)g=h(g)||g;const x={templates:H(i.flatMap(h=>M(h.autocomplete?.templates))),extractors:i.flatMap(h=>M(h.autocomplete?.extractors)).sort((h,m)=>(h.order||0)-(m.order||0)),shorthands:ir(i.map(h=>h.autocomplete?.shorthands||{}))};let w=l("separators");w.length||(w=[":","-"]);const b={mergeSelectors:!0,warn:!0,sortLayers:h=>h,...r,blocklist:l("blocklist"),presets:n,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:g,rulesSize:p,rulesDynamic:$,rulesStaticMap:d,preprocess:l("preprocess"),postprocess:l("postprocess"),preflights:l("preflights"),autocomplete:x,variants:l("variants").map(It).sort((h,m)=>(h.order||0)-(m.order||0)),shortcuts:Oe(l("shortcuts")).reverse(),extractors:f,safelist:l("safelist"),separators:w,details:r.details??r.envMode==="dev"};for(const h of i)h?.configResolved?.(b);return b}function or(e){return e.map(t=>t?B(t):{}).reduce((t,r)=>Ae(t,r),{})}function ir(e){return e.reduce((t,r)=>{const s={};for(const n in r){const i=r[n];Array.isArray(i)?s[n]=`(${i.join("|")})`:s[n]=i}return{...t,...s}},{})}const ar="0.60.2";var cr=Object.defineProperty,lr=(e,t,r)=>t in e?cr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,z=(e,t,r)=>(lr(e,typeof t!="symbol"?t+"":t,r),r);class fr{constructor(t={},r={}){this.userConfig=t,this.defaults=r,z(this,"version",ar),z(this,"_cache",new Map),z(this,"config"),z(this,"blocked",new Set),z(this,"parentOrders",new Map),z(this,"events",er()),this.config=fe(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=fe(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 i of this.config.extractors){const c=await i.extract?.(n);if(c)if(K(c)&&K(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,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 i=await this.matchVariants(t,n);if(!i||this.isBlocked(i[1])){this.blocked.add(t),this._cache.set(s,null);return}const c=this.makeContext(t,[r||i[0],i[1],i[2],i[3]]);this.config.details&&(c.variants=[...i[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(Ft);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:i=!0,safelist:c=!0,minify:a=!1,extendedInfo:l=!1}=r,f=this.config.outputToCssLayers,o=R(t)?await this.applyExtractors(t,s,l?new Ce:new Set):Array.isArray(t)?new Set(t):t;if(c){const m={generator:this,theme:this.config.theme};this.config.safelist.flatMap(v=>typeof v=="function"?v(m):v).forEach(v=>{o.has(v)||o.add(v)})}const u=a?"":`
2
- `,d=new Set([q]),p=l?new Map:new Set,$=new Map;let g={};const y=Array.from(o).map(async m=>{if(p.has(m))return;const v=await this.parseToken(m);if(v!=null){p instanceof Map?p.set(m,{data:v,count:K(o)?o.getCount(m):-1}):p.add(m);for(const A of v){const C=A[3]||"",O=A[4]?.layer;$.has(C)||$.set(C,[]),$.get(C).push(A),O&&d.add(O)}}});await Promise.all(y),await(async()=>{if(!i)return;const m={generator:this,theme:this.config.theme},v=new Set([]);this.config.preflights.forEach(({layer:A=ee})=>{d.add(A),v.add(A)}),g=Object.fromEntries(await Promise.all(Array.from(v).map(async A=>{const O=(await Promise.all(this.config.preflights.filter(P=>(P.layer||ee)===A).map(async P=>await P.getCSS(m)))).filter(Boolean).join(u);return[A,O]})))})();const x=this.config.sortLayers(Array.from(d).sort((m,v)=>(this.config.layers[m]??0)-(this.config.layers[v]??0)||m.localeCompare(v))),w={},b=(m=q)=>{if(w[m])return w[m];let v=Array.from($).sort((C,O)=>(this.parentOrders.get(C[0])??0)-(this.parentOrders.get(O[0])??0)||C[0]?.localeCompare(O[0]||"")||0).map(([C,O])=>{const P=O.length,L=O.filter(S=>(S[4]?.layer||q)===m).sort((S,E)=>S[0]-E[0]||(S[4]?.sort||0)-(E[4]?.sort||0)||S[5]?.currentSelector?.localeCompare(E[5]?.currentSelector??"")||S[1]?.localeCompare(E[1]||"")||S[2]?.localeCompare(E[2]||"")||0).map(([,S,E,,T,,j])=>[[[(S&&pr(S,n))??"",T?.sort??0]],E,!!(j??T?.noMerge)]);if(!L.length)return;const N=L.reverse().map(([S,E,T],j)=>{if(!T&&this.config.mergeSelectors)for(let F=j+1;F<P;F++){const k=L[F];if(k&&!k[2]&&(S&&k[0]||S==null&&k[0]==null)&&k[1]===E)return S&&k[0]&&k[0].push(...S),null}const I=S?H(S.sort((F,k)=>F[1]-k[1]||F[0]?.localeCompare(k[0]||"")||0).map(F=>F[0]).filter(Boolean)):[];return I.length?`${I.join(`,${u}`)}{${E}}`:E}).filter(Boolean).reverse().join(u);if(!C)return N;const _=C.split(" $$ ");return`${_.join("{")}{${u}${N}${u}${"}".repeat(_.length)}`}).filter(Boolean).join(u);if(i&&(v=[g[m],v].filter(Boolean).join(u)),f&&v){let C=typeof f=="object"?f.cssLayerName?.(m):void 0;C!==null&&(C||(C=m),v=`@layer ${C}{${u}${v}${u}}`)}const A=a?"":`/* layer: ${m} */${u}`;return w[m]=v?A+v:""},h=(m=x,v)=>m.filter(A=>!v?.includes(A)).map(A=>b(A)||"").filter(Boolean).join(u);return{get css(){return h()},layers:x,matched:p,getLayers:h,getLayer:b}}async matchVariants(t,r){const s=new Set,n=[];let i=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(i,a);if(f){if(R(f)){if(f===i)continue;f={matcher:f}}i=f.matcher,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,i,n,s]}applyVariants(t,r=t[4],s=t[1]){const i=r.slice().sort((f,o)=>(f.order||0)-(o.order||0)).reduceRight((f,o)=>u=>{const d=o.body?.(u.entries)||u.entries,p=Array.isArray(o.parent)?o.parent:[o.parent,void 0];return(o.handle??mr)({...u,entries:d,selector:o.selector?.(u.selector,d)||u.selector,parent:p[0]||u.parent,parentOrder:p[1]||u.parentOrder,layer:o.layer||u.layer,sort:o.sort||u.sort},f)},f=>f)({prefix:"",selector:dr(s),pseudo:"",entries:t[2]}),{parent:c,parentOrder:a}=i;c!=null&&a!=null&&this.parentOrders.set(c,a);const l={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:c,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(const f of this.config.postprocess)f(l);return l}constructCustomCSS(t,r,s){const n=D(r);if(R(n))return n;const{selector:i,entries:c,parent:a}=this.applyVariants([0,s||t.rawSelector,n,void 0,t.variantHandlers]),l=`${i}{${Q(c)}}`;return a?`${a}{${l}}`:l}async parseUtil(t,r,s=!1,n){const[i,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 o=l[0],u=D(l[1]),d=l[2];return R(u)?[[o,u,d]]:[[o,i,u,d,a]]}r.variantHandlers=a;const{rulesDynamic:f}=this.config;for(const[o,u,d,p]of f){if(p?.internal&&!s)continue;let $=c;if(p?.prefix){const w=M(p.prefix);if(n){const b=M(n);if(!w.some(h=>b.includes(h)))continue}else{const b=w.find(h=>c.startsWith(h));if(b==null)continue;$=c.slice(b.length)}}const g=$.match(u);if(!g)continue;const y=await d(g,r);if(!y)continue;this.config.details&&r.rules.push([u,d,p]);const x=Pt(y).filter(w=>w.length);if(x.length)return x.map(w=>R(w)?[o,w,p]:[o,i,w,p,a])}}stringifyUtil(t,r){if(!t)return;if(ae(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:i,layer:c,sort:a,noMerge:l}=this.applyVariants(t),f=Q(n);if(!f)return;const{layer:o,sort:u,...d}=t[3]??{},p={...d,layer:c??o,sort:a??u};return[t[0],s,f,i,p,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)}:zt;let i,c;for(const a of this.config.shortcuts){let l=t;if(a[2]?.prefix){const o=M(a[2].prefix).find(u=>t.startsWith(u));if(o==null)continue;l=t.slice(o.length)}if(Nt(a)){if(a[0]===l){i=i||a[2],c=a[1],n(a);break}}else{const f=l.match(a[0]);if(f&&(c=a[1](f,r)),c){i=i||a[2],n(a);break}}}if(R(c)&&(c=Kt(c.trim()).split(/\s+/g)),!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(o=>R(o)?a.replace(l,o):o))}}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),i]}async stringifyShortcuts(t,r,s,n={layer:this.config.shortcutsLayer}){const i=new qt,c=(await Promise.all(H(s).map(async o=>{const u=R(o)?await this.parseUtil(o,r,!0,n.prefix):[[Number.POSITIVE_INFINITY,"{inline}",D(o),void 0,[]]];return!u&&this.config.warn&&xe(`unmatched utility "${o}" in shortcut "${t[1]}"`),u||[]}))).flat(1).filter(Boolean).sort((o,u)=>o[0]-u[0]),[a,,l]=t,f=[];for(const o of c){if(ae(o)){f.push([o[0],void 0,o[1],void 0,o[2],r,void 0]);continue}const{selector:u,entries:d,parent:p,sort:$,noMerge:g,layer:y}=this.applyVariants(o,[...o[4],...l],a);i.getFallback(y??n.layer,new Bt).getFallback(u,p,[[],o[0]])[0].push([d,!!(g??o[3]?.noMerge),$??0])}return f.concat(i.flatMap((o,u)=>o.map(([d,p],$,g)=>{const y=(w,b,h)=>{const m=Math.max(...h.map(A=>A[1])),v=h.map(A=>A[0]);return(w?[v.flat(1)]:v).map(A=>{const C=Q(A);if(C)return[p,$,C,g,{...n,noMerge:b,sort:m,layer:u},r,void 0]})};return[[d.filter(([,w])=>w).map(([w,,b])=>[w,b]),!0],[d.filter(([,w])=>!w).map(([w,,b])=>[w,b]),!1]].map(([w,b])=>[...y(!1,b,w.filter(([h])=>h.some(m=>m[0]===ie))),...y(!0,b,w.filter(([h])=>h.every(m=>m[0]!==ie)))])}).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 ur(e,t){return new fr(e,t)}const Te=/\s\$\$\s+/g;function hr(e){return Te.test(e)}function pr(e,t){return hr(e)?e.replace(Te,t?` ${t} `:" "):t?`${t} ${e}`:e}const ue=/^\[(.+?)(~?=)"(.*)"\]$/;function dr(e){return ue.test(e)?e.replace(ue,(t,r,s,n)=>`[${J(r)}${s}"${J(n)}"]`):`.${J(e)}`}function mr(e,t){return t(e)}var he={};const gr=Object.freeze({left:0,top:0,width:16,height:16}),G=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),je=Object.freeze({...gr,...G}),yr=Object.freeze({...je,body:"",hidden:!1}),wr=Object.freeze({width:null,height:null}),Me=Object.freeze({...wr,...G});function br(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 pe(e,t){const r=br(e,t);for(const s in yr)s in G?s in e&&!(s in r)&&(r[s]=G[s]):s in t?r[s]=t[s]:s in e&&(r[s]=e[s]);return r}function Sr(e,t){const r=e.icons,s=e.aliases||Object.create(null),n=Object.create(null);function i(c){if(r[c])return n[c]=[];if(!(c in n)){n[c]=null;const a=s[c]&&s[c].parent,l=a&&i(a);l&&(n[c]=[a].concat(l))}return n[c]}return(t||Object.keys(r).concat(Object.keys(s))).forEach(i),n}function de(e,t,r){const s=e.icons,n=e.aliases||Object.create(null);let i={};function c(a){i=pe(s[a]||n[a],i)}return c(t),r.forEach(c),pe(e,i)}function _r(e,t){if(e.icons[t])return de(e,t,[]);const r=Sr(e,[t])[t];return r?de(e,t,r):null}const vr=/(-?[0-9.]*[0-9]+[0-9.]*)/g,$r=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function me(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(vr);if(s===null||!s.length)return e;const n=[];let i=s.shift(),c=$r.test(i);for(;;){if(c){const a=parseFloat(i);isNaN(a)?n.push(i):n.push(Math.ceil(a*t*r)/r)}else n.push(i);if(i=s.shift(),i===void 0)return n.join("");c=!c}}function Er(e,t="defs"){let r="";const s=e.indexOf("<"+t);for(;s>=0;){const n=e.indexOf(">",s),i=e.indexOf("</"+t);if(n===-1||i===-1)break;const c=e.indexOf(">",i);if(c===-1)break;r+=e.slice(n+1,i).trim(),e=e.slice(0,s).trim()+e.slice(c+1)}return{defs:r,content:e}}function Ar(e,t){return e?"<defs>"+e+"</defs>"+t:t}function Cr(e,t,r){const s=Er(e);return Ar(s.defs,t+s.content+r)}const ne=e=>e==="unset"||e==="undefined"||e==="none";function xr(e,t){const r={...je,...e},s={...Me,...t},n={left:r.left,top:r.top,width:r.width,height:r.height};let i=r.body;[r,s].forEach(g=>{const y=[],x=g.hFlip,w=g.vFlip;let b=g.rotate;x?w?b+=2:(y.push("translate("+(n.width+n.left).toString()+" "+(0-n.top).toString()+")"),y.push("scale(-1 1)"),n.top=n.left=0):w&&(y.push("translate("+(0-n.left).toString()+" "+(n.height+n.top).toString()+")"),y.push("scale(1 -1)"),n.top=n.left=0);let h;switch(b<0&&(b-=Math.floor(b/4)*4),b=b%4,b){case 1:h=n.height/2+n.top,y.unshift("rotate(90 "+h.toString()+" "+h.toString()+")");break;case 2:y.unshift("rotate(180 "+(n.width/2+n.left).toString()+" "+(n.height/2+n.top).toString()+")");break;case 3:h=n.width/2+n.left,y.unshift("rotate(-90 "+h.toString()+" "+h.toString()+")");break}b%2===1&&(n.left!==n.top&&(h=n.left,n.left=n.top,n.top=h),n.width!==n.height&&(h=n.width,n.width=n.height,n.height=h)),y.length&&(i=Cr(i,'<g transform="'+y.join(" ")+'">',"</g>"))});const c=s.width,a=s.height,l=n.width,f=n.height;let o,u;c===null?(u=a===null?"1em":a==="auto"?f:a,o=me(u,l/f)):(o=c==="auto"?l:c,u=a===null?me(o,f/l):a==="auto"?f:a);const d={},p=(g,y)=>{ne(y)||(d[g]=y.toString())};p("width",o),p("height",u);const $=[n.left,n.top,l,f];return d.viewBox=$.join(" "),{attributes:d,viewBox:$,body:i}}function Or(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Rr(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" ')),Or(t)}function Tr(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 jr=/\swidth\s*=\s*["']([\w.]+)["']/,Mr=/\sheight\s*=\s*["']([\w.]+)["']/,Y=/<svg\s+/;function Pr(e,t,r){const s=e.slice(0,e.indexOf(">")),n=(i,c)=>{const a=c.exec(s),l=a!=null,f=t[i];return!f&&!ne(f)&&(typeof r=="number"?r>0&&(t[i]=`${r}em`):a&&(t[i]=a[1])),l};return[n("width",jr),n("height",Mr)]}async function Pe(e,t,r,s,n,i){const{scale:c,addXmlNs:a=!1}=s??{},{additionalProps:l={},iconCustomizer:f}=s?.customizations??{},o=await n?.()??{};await f?.(t,r,o),Object.keys(l).forEach(g=>{const y=l[g];y!=null&&(o[g]=y)}),i?.(o);const[u,d]=Pr(e,o,c);a&&(!e.includes("xmlns=")&&!o.xmlns&&(o.xmlns="http://www.w3.org/2000/svg"),!e.includes("xmlns:xlink=")&&e.includes("xlink:")&&!o["xmlns:xlink"]&&(o["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const p=Object.keys(o).map(g=>g==="width"&&u||g==="height"&&d?null:`${g}="${o[g]}"`).filter(g=>g!=null);if(p.length&&(e=e.replace(Y,`<svg ${p.join(" ")} `)),s){const{defaultStyle:g,defaultClass:y}=s;y&&!e.includes("class=")&&(e=e.replace(Y,`<svg class="${y}" `)),g&&!e.includes("style=")&&(e=e.replace(Y,`<svg style="${g}" `))}const $=s?.usedProps;return $&&(Object.keys(l).forEach(g=>{const y=o[g];y!=null&&($[g]=y)}),typeof o.width<"u"&&o.width!==null&&($.width=o.width),typeof o.height<"u"&&o.height!==null&&($.height=o.height)),e}async function ge(e,t,r,s){let n;try{if(typeof e=="function")n=await e(r);else{const i=e[r];n=typeof i=="function"?await i():i}}catch(i){console.warn(`Failed to load custom icon "${r}" in "${t}":`,i);return}if(n){const i=n.indexOf("<svg");i>0&&(n=n.slice(i));const{transform:c}=s?.customizations??{};return n=typeof c=="function"?await c(n,t,r):n,n.startsWith("<svg")?await Pe(s?.customizations?.trimCustomSvg===!0?Tr(n):n,t,r,s,void 0):(console.warn(`Custom icon "${r}" in "${t}" is not a valid SVG`),n)}}async function ke(e,t,r,s){let n;const{customize:i}=s?.customizations??{};for(const c of r)if(n=_r(e,c),n){let a={...Me};typeof i=="function"&&(a=i(a));const{attributes:{width:l,height:f,...o},body:u}=xr(n,a),d=s?.scale;return await Pe(`<svg >${u}</svg>`,t,c,s,()=>({...o}),p=>{const $=(g,y)=>{const x=p[g];let w;if(!ne(x)){if(x)return;typeof d=="number"?d&&(w=`${d}em`):w=y}w?p[g]=w:delete p[g]};$("width",l),$("height",f)})}}const Le=async(e,t,r)=>{const s=r?.customCollections?.[e];if(s)if(typeof s=="function"){let n;try{n=await s(t)}catch(i){console.warn(`Failed to load custom icon "${t}" in "${e}":`,i);return}if(n){if(typeof n=="string")return await ge(()=>n,e,t,r);if("icons"in n){const i=[t,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.replace(/([a-z])(\d+)/g,"$1-$2")];return await ke(n,e,i,r)}}}else return await ge(s,e,t,r)};function kr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Lr=["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"];const Nr=kr(Lr),Ir=3;function Fr(e){return(t={})=>{const{scale:r=1,mode:s="auto",prefix:n="i-",warn:i=!1,collections:c,extraProperties:a={},customizations:l={},autoInstall:f=!1,collectionsNodeResolvePath:o,layer:u="icons",unit:d,processor:p}=t,$=zr(),g={addXmlNs:!0,scale:r,customCollections:c,autoInstall:f,cwd:o,warn:void 0,customizations:{...l,additionalProps:{...a},trimCustomSvg:!0,async iconCustomizer(x,w,b){await l.iconCustomizer?.(x,w,b),d&&(b.width||(b.width=`${r}${d}`),b.height||(b.height=`${r}${d}`))}}};let y;return{name:"@unocss/preset-icons",enforce:"pre",options:t,layers:{icons:-30},rules:[[/^([a-z0-9:_-]+)(?:\?(mask|bg|auto))?$/,async x=>{let[w,b,h=s]=x,m="",v="",A;y=y||await e(t);const C={};if(b.includes(":"))[m,v]=b.split(":"),A=await y(m,v,{...g,usedProps:C});else{const L=b.split(/-/g);for(let N=Ir;N>=1&&(m=L.slice(0,N).join("-"),v=L.slice(N).join("-"),A=await y(m,v,{...g,usedProps:C}),!A);N--);}if(!A){i&&!$.isESLint&&xe(`failed to load icon "${w}"`);return}let O;const P=`url("data:image/svg+xml;utf8,${Rr(A)}")`;return h==="auto"&&(h=A.includes("currentColor")?"mask":"bg"),h==="mask"?O={"--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}:O={background:`${P} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...C},p?.(O,{collection:m,icon:v,svg:A,mode:h}),O},{layer:u,prefix:n}]]}}}function Ne(e,t){const r=new Map;function s(n){if(Nr.includes(n))return r.has(n)||r.set(n,e(`${t}@iconify-json/${n}/icons.json`)),r.get(n)}return async(n,i,c)=>{let a=await Le(n,i,c);if(a)return a;const l=await s(n);if(l){const f=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];a=await ke(l,n,f,c)}return a}}function zr(){const e=typeof process<"u"&&process.stdout&&!process.versions.deno,t=e&&!!he.VSCODE_CWD,r=e&&!!he.ESLINT;return{isNode:e,isVSCode:t,isESLint:r}}function Dr(e){return Ne(Tt,e)}const Ur=Fr(async e=>{const t=e?.customFetch,r=e?.cdn;return t&&r?Ne(t,r):r?Dr(r):Le});function Vr(e){return e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():"")}function ye(e){return e.charAt(0).toUpperCase()+e.slice(1)}function we(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var be=["Webkit","Moz","ms"];function Br(e){const t={};function r(s){const n=t[s];if(n)return n;let i=Vr(s);if(i!=="filter"&&i in e)return t[s]=we(i);i=ye(i);for(let c=0;c<be.length;c++){const a=`${be[c]}${i}`;if(a in e)return t[s]=we(ye(a))}return s}return({entries:s})=>s.forEach(n=>{n[0].startsWith("--")||(n[0]=r(n[0]))})}function qr(e){return e.replace(/&amp;/g,"&").replace(/&gt;/g,">").replace(/&lt;/g,"<")}function Hr(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||{},i=Object.assign({},e,n.runtime),c=i.defaults||{},a=i.cloakAttribute??"un-cloak";i.autoPrefix&&(c.postprocess=M(c.postprocess)).unshift(Br(r.createElement("div").style)),i.configResolved?.(n,c);const l=ur(n,c),f=_=>i.inject?i.inject(_):s().prepend(_),o=()=>i.rootElement?i.rootElement():r.body,u=new Map;let d=!0,p=new Set,$,g,y=[];const x=()=>new Promise(_=>{y.push(_),g!=null&&clearTimeout(g),g=setTimeout(()=>h().then(()=>{const S=y;y=[],S.forEach(E=>E())}),0)});function w(_){if(_.nodeType!==1)return;const S=_;S.hasAttribute(a)&&S.removeAttribute(a),S.querySelectorAll(`[${a}]`).forEach(E=>{E.removeAttribute(a)})}function b(_,S){let E=u.get(_);if(!E)if(E=r.createElement("style"),E.setAttribute("data-unocss-runtime-layer",_),u.set(_,E),S==null)f(E);else{const T=b(S),j=T.parentNode;j?j.insertBefore(E,T.nextSibling):f(E)}return E}async function h(){const _=await l.generate(p);return _.layers.reduce((S,E)=>(b(E,S).innerHTML=_.getLayer(E)??"",E),void 0),p=_.matched,{..._,getStyleElement:S=>u.get(S),getStyleElements:()=>u}}async function m(_){const S=p.size;await l.applyExtractors(_,void 0,p),S!==p.size&&await x()}async function v(_=o()){const S=_&&_.outerHTML;S&&(await m(`${S} ${qr(S)}`),w(s()),w(_))}const A=new MutationObserver(_=>{d||_.forEach(async S=>{if(S.target.nodeType!==1)return;const E=S.target;for(const T of u)if(E===T[1])return;if(S.type==="childList")S.addedNodes.forEach(async T=>{if(T.nodeType!==1)return;const j=T;$&&!$(j)||(await m(j.outerHTML),w(j))});else{if($&&!$(E))return;if(S.attributeName!==a){const T=Array.from(E.attributes).map(I=>I.value?`${I.name}="${I.value}"`:I.name).join(" "),j=`<${E.tagName.toLowerCase()} ${T}>`;await m(j)}E.hasAttribute(a)&&E.removeAttribute(a)}})});let C=!1;function O(){if(C)return;const _=i.observer?.target?i.observer.target():o();_&&(A.observe(_,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),C=!0)}function P(){i.bypassDefined&&Gr(l.blocked),v(),O()}function L(){r.readyState==="loading"?t.addEventListener("DOMContentLoaded",P):P()}const N=t.__unocss_runtime=t.__unocss_runtime={version:l.version,uno:l,async extract(_){R(_)||(_.forEach(S=>p.add(S)),_=""),await m(_)},extractAll:v,inspect(_){$=_},toggleObserver(_){_===void 0?d=!d:d=!!_,!C&&!d&&L()},update:h,presets:t.__unocss_runtime?.presets??{}};i.ready?.(N)!==!1&&(d=!1,L())}function Gr(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}Hr({defaults:{presets:[Ur({prefix:["i-",""],collections:{},cdn:"https://esm.sh/",scale:1.2,extraProperties:{display:"inline-block","vertical-align":"middle"}})]},bypassDefined:!0});
1
+ const Ie=/"(?:_|\\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*:/,Fe=/"(?: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*:/,ze=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function De(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Ue(e);return}return t}function Ue(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Ve(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(!ze.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Ie.test(e)||Fe.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,De)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}const Be=/#/g,qe=/&/g,He=/\//g,Ge=/=/g,te=/\+/g,We=/%5e/gi,Je=/%60/gi,Qe=/%7c/gi,Ke=/%20/gi;function Ye(e){return encodeURI(""+e).replace(Qe,"|")}function X(e){return Ye(typeof e=="string"?e:JSON.stringify(e)).replace(te,"%2B").replace(Ke,"+").replace(Be,"%23").replace(qe,"%26").replace(Je,"`").replace(We,"^").replace(He,"%2F")}function W(e){return X(e).replace(Ge,"%3D")}function Se(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Xe(e){return Se(e.replace(te," "))}function Ze(e){return Se(e.replace(te," "))}function et(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=Xe(s[1]);if(n==="__proto__"||n==="constructor")continue;const i=Ze(s[2]||"");t[n]===void 0?t[n]=i:Array.isArray(t[n])?t[n].push(i):t[n]=[t[n],i]}return t}function tt(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${W(e)}=${X(r)}`).join("&"):`${W(e)}=${X(t)}`:W(e)}function rt(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>tt(t,e[t])).filter(Boolean).join("&")}const nt=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,st=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,ot=/^([/\\]\s*){2,}[^/\\]/,it=/\/$|\/\?|\/#/,at=/^\.?\//;function _e(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?nt.test(e):st.test(e)||(t.acceptRelative?ot.test(e):!1)}function Z(e="",t){return t?it.test(e):e.endsWith("/")}function ct(e="",t){if(!t)return(Z(e)?e.slice(0,-1):e)||"/";if(!Z(e,!0))return e||"/";let r=e,s="";const n=e.indexOf("#");n>=0&&(r=e.slice(0,n),s=e.slice(n));const[i,...c]=r.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(c.length>0?`?${c.join("?")}`:"")+s}function lt(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Z(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[i,...c]=r.split("?");return i+"/"+(c.length>0?`?${c.join("?")}`:"")+s}function ft(e,t){if(ht(t)||_e(e))return e;const r=ct(t);return e.startsWith(r)?e:dt(r,e)}function ut(e,t){const r=$e(e),s={...et(r.search),...t};return r.search=rt(s),mt(r)}function ht(e){return!e||e==="/"}function pt(e){return e&&e!=="/"}function dt(e,...t){let r=e||"";for(const s of t.filter(n=>pt(n)))if(r){const n=s.replace(at,"");r=lt(r)+n}else r=s;return r}const ve=Symbol.for("ufo:protocolRelative");function $e(e="",t){const r=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,u,d=""]=r;return{protocol:u.toLowerCase(),pathname:d,href:u+d,auth:"",host:"",search:"",hash:""}}if(!_e(e,{acceptRelative:!0}))return t?$e(t+e):se(e);const[,s="",n,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,c="",a=""]=i.match(/([^#/?]*)(.*)?/)||[],{pathname:l,search:f,hash:o}=se(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:s.toLowerCase(),auth:n?n.slice(0,Math.max(0,n.length-1)):"",host:c,pathname:l,search:f,hash:o,[ve]:!s}}function se(e=""){const[t="",r="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:s}}function mt(e){const t=e.pathname||"",r=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",s=e.hash||"",n=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[ve]?(e.protocol||"")+"//":"")+n+i+t+r+s}class gt extends Error{constructor(t,r){super(t,r),this.name="FetchError",r?.cause&&!this.cause&&(this.cause=r.cause)}}function yt(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)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",c=`${n}: ${i}${t?` ${t}`:""}`,a=new gt(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 wt=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function oe(e="GET"){return wt.has(e.toUpperCase())}function bt(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 St=new Set(["image/svg","application/xml","application/xhtml","application/html"]),_t=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function vt(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return _t.test(t)?"json":St.has(t)||t.startsWith("text/")?"text":"blob"}function $t(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,i]of new r(e?.headers||{}))s.headers.set(n,i)}return s}const Et=new Set([408,409,425,429,500,502,503,504]),At=new Set([101,204,205,304]);function Ee(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 o;typeof a.options.retry=="number"?o=a.options.retry:o=oe(a.options.method)?0:1;const u=a.response&&a.response.status||500;if(o>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(u):Et.has(u))){const d=a.options.retryDelay||0;return d>0&&await new Promise(p=>setTimeout(p,d)),i(a.request,{...a.options,retry:o-1})}}const f=yt(a);throw Error.captureStackTrace&&Error.captureStackTrace(f,i),f}const i=async function(l,f={}){const o={request:l,options:$t(f,e.defaults,r),response:void 0,error:void 0};o.options.method=o.options.method?.toUpperCase(),o.options.onRequest&&await o.options.onRequest(o),typeof o.request=="string"&&(o.options.baseURL&&(o.request=ft(o.request,o.options.baseURL)),(o.options.query||o.options.params)&&(o.request=ut(o.request,{...o.options.params,...o.options.query}))),o.options.body&&oe(o.options.method)&&(bt(o.options.body)?(o.options.body=typeof o.options.body=="string"?o.options.body:JSON.stringify(o.options.body),o.options.headers=new r(o.options.headers||{}),o.options.headers.has("content-type")||o.options.headers.set("content-type","application/json"),o.options.headers.has("accept")||o.options.headers.set("accept","application/json")):("pipeTo"in o.options.body&&typeof o.options.body.pipeTo=="function"||typeof o.options.body.pipe=="function")&&("duplex"in o.options||(o.options.duplex="half")));let u;if(!o.options.signal&&o.options.timeout){const p=new s;u=setTimeout(()=>p.abort(),o.options.timeout),o.options.signal=p.signal}try{o.response=await t(o.request,o.options)}catch(p){return o.error=p,o.options.onRequestError&&await o.options.onRequestError(o),await n(o)}finally{u&&clearTimeout(u)}if(o.response.body&&!At.has(o.response.status)&&o.options.method!=="HEAD"){const p=(o.options.parseResponse?"json":o.options.responseType)||vt(o.response.headers.get("content-type")||"");switch(p){case"json":{const $=await o.response.text(),g=o.options.parseResponse||Ve;o.response._data=g($);break}case"stream":{o.response._data=o.response.body;break}default:o.response._data=await o.response[p]()}}return o.options.onResponse&&await o.options.onResponse(o),!o.options.ignoreResponseError&&o.response.status>=400&&o.response.status<600?(o.options.onResponseError&&await o.options.onResponseError(o),await n(o)):o.response},c=async function(l,f){return(await i(l,f))._data};return c.raw=i,c.native=(...a)=>t(...a),c.create=(a={})=>Ee({...e,defaults:{...e.defaults,...a}}),c}const re=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")}(),Ct=re.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),xt=re.Headers,Ot=re.AbortController,Rt=Ee({fetch:Ct,Headers:xt,AbortController:Ot}),Tt=Rt;function jt(e){const t=e.length;let r=-1,s,n="";const i=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&&i===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 J=jt;function M(e=[]){return Array.isArray(e)?e:[e]}function H(e){return Array.from(new Set(e))}function Mt(e,t){return e.reduce((r,s)=>(r.findIndex(i=>t(s,i))===-1&&r.push(s),r),[])}function R(e){return typeof e=="string"}function D(e){return R(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function Pt(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>D(t)):[e]:[D(e)]}function kt(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 Q(e){return e==null?"":kt(e).map(([t,r])=>r!=null?`${t}:${r};`:void 0).filter(Boolean).join("")}function U(e){return e&&typeof e=="object"&&!Array.isArray(e)}function Ae(e,t,r=!1){const s=e,n=t;if(Array.isArray(n))return r&&Array.isArray(n)?[...s,...n]:[...n];const i={...s};return U(s)&&U(n)&&Object.keys(n).forEach(c=>{U(s[c])&&U(n[c])||Array.isArray(s[c])&&Array.isArray(n[c])?i[c]=Ae(s[c],n[c],r):Object.assign(i,{[c]:n[c]})}),i}function B(e){let t,r,s;if(Array.isArray(e)){for(r=Array(t=e.length);t--;)r[t]=(s=e[t])&&typeof s=="object"?B(s):s;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:B(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(s=e[t])&&typeof s=="object"?B(s):s;return r}return e}function Lt(e){return R(e[0])}function Nt(e){return R(e[0])}const ie="$$shortcut-no-merge";function It(e){return typeof e=="function"?{match:e}:e}function ae(e){return e.length===3}function Ft(e){return e!=null}function zt(){}var Dt=Object.defineProperty,Ut=(e,t,r)=>t in e?Dt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Vt=(e,t,r)=>(Ut(e,t+"",r),r);class Bt{constructor(){Vt(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,i])=>t(i,r,n)))}}class qt 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}}var Ht=Object.defineProperty,Gt=(e,t,r)=>t in e?Ht(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Wt=(e,t,r)=>(Gt(e,t+"",r),r);class Ce extends Set{constructor(t){super(t),Wt(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 K(e){return e instanceof Ce}const V={};function Jt(e=["-",":"]){const t=e.join("|");return V[t]||(V[t]=new RegExp(`((?:[!@<~\\w+:_/-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[.*?\\])+?)\\)(?!\\s*?=>)`,"gm")),V[t].lastIndex=0,V[t]}function Qt(e,t=["-",":"],r=5){const s=Jt(t);let n,i=e.toString();const c=new Set,a=new Map;do n=!1,i=i.replace(s,(f,o,u,d,p)=>{if(!t.includes(u))return f;n=!0,c.add(o+u);const $=p+o.length+u.length+1,g={length:f.length,items:[]};a.set(p,g);for(const y of[...d.matchAll(/\S+/g)]){const x=$+y.index;let w=a.get(x)?.items;w?a.delete(x):w=[{offset:x,length:y[0].length,className:y[0]}];for(const b of w)b.className=b.className==="~"?o:b.className.replace(/^(!?)(.*)/,`$1${o}${u}$2`),g.items.push(b)}return"$".repeat(f.length)}),r-=1;while(n&&r);let l;if(typeof e=="string"){l="";let f=0;for(const[o,u]of a)l+=e.slice(f,o),l+=u.items.map(d=>d.className).join(" "),f=o+u.length;l+=e.slice(f)}else{l=e;for(const[f,o]of a)l.overwrite(f,f+o.length,o.items.map(u=>u.className).join(" "))}return{prefixes:Array.from(c),hasChanged:n,groupsByOffset:a,get expanded(){return l.toString()}}}function Kt(e,t=["-",":"],r=5){const s=Qt(e,t,r);return typeof e=="string"?s.expanded:e}const ce=new Set;function xe(e){ce.has(e)||(console.warn("[unocss]",e),ce.add(e))}const Yt=/[\\:]?[\s'"`;{}]+/g;function Xt(e){return e.split(Yt)}const Zt={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return Xt(e)}};function er(){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)}}}const q="default",ee="preflights",tr="shortcuts",rr="imports",nr={[rr]:-200,[ee]:-100,[tr]:-10,[q]:0};function Oe(e){return M(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}const le="_uno_resolved";function sr(e){let t=typeof e=="function"?e():e;if(le in t)return t;t={...t},Object.defineProperty(t,le,{value:!0,enumerable:!1});const r=t.shortcuts?Oe(t.shortcuts):void 0;if(t.shortcuts=r,t.prefix||t.layer){const s=n=>{n[2]||(n[2]={});const i=n[2];i.prefix==null&&t.prefix&&(i.prefix=M(t.prefix)),i.layer==null&&t.layer&&(i.layer=t.layer)};r?.forEach(s),t.rules?.forEach(s)}return t}function Re(e){const t=sr(e);if(!t.presets)return[t];const r=(t.presets||[]).flatMap(M).flatMap(Re);return[t,...r]}function fe(e={},t={}){const r=Object.assign({},t,e),s=Mt((r.presets||[]).flatMap(M).flatMap(Re),(h,m)=>h.name===m.name),n=[...s.filter(h=>h.enforce==="pre"),...s.filter(h=>!h.enforce),...s.filter(h=>h.enforce==="post")],i=[...n,r],c=[...i].reverse(),a=Object.assign({},nr,...i.map(h=>h.layers));function l(h){return H(i.flatMap(m=>M(m[h]||[])))}const f=l("extractors");let o=c.find(h=>h.extractorDefault!==void 0)?.extractorDefault;o===void 0&&(o=Zt),o&&!f.includes(o)&&f.unshift(o),f.sort((h,m)=>(h.order||0)-(m.order||0));const u=l("rules"),d={},p=u.length,$=u.map((h,m)=>{if(Lt(h)){M(h[2]?.prefix||"").forEach(A=>{d[A+h[0]]=[m,h[1],h[2],h]});return}return[m,...h]}).filter(Boolean).reverse();let g=or(i.map(h=>h.theme));const y=l("extendTheme");for(const h of y)g=h(g)||g;const x={templates:H(i.flatMap(h=>M(h.autocomplete?.templates))),extractors:i.flatMap(h=>M(h.autocomplete?.extractors)).sort((h,m)=>(h.order||0)-(m.order||0)),shorthands:ir(i.map(h=>h.autocomplete?.shorthands||{}))};let w=l("separators");w.length||(w=[":","-"]);const b={mergeSelectors:!0,warn:!0,sortLayers:h=>h,...r,blocklist:l("blocklist"),presets:n,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:g,rulesSize:p,rulesDynamic:$,rulesStaticMap:d,preprocess:l("preprocess"),postprocess:l("postprocess"),preflights:l("preflights"),autocomplete:x,variants:l("variants").map(It).sort((h,m)=>(h.order||0)-(m.order||0)),shortcuts:Oe(l("shortcuts")).reverse(),extractors:f,safelist:l("safelist"),separators:w,details:r.details??r.envMode==="dev"};for(const h of i)h?.configResolved?.(b);return b}function or(e){return e.map(t=>t?B(t):{}).reduce((t,r)=>Ae(t,r),{})}function ir(e){return e.reduce((t,r)=>{const s={};for(const n in r){const i=r[n];Array.isArray(i)?s[n]=`(${i.join("|")})`:s[n]=i}return{...t,...s}},{})}const ar="0.60.4";var cr=Object.defineProperty,lr=(e,t,r)=>t in e?cr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,z=(e,t,r)=>(lr(e,typeof t!="symbol"?t+"":t,r),r);class fr{constructor(t={},r={}){this.userConfig=t,this.defaults=r,z(this,"version",ar),z(this,"_cache",new Map),z(this,"config"),z(this,"blocked",new Set),z(this,"parentOrders",new Map),z(this,"events",er()),this.config=fe(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=fe(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 i of this.config.extractors){const c=await i.extract?.(n);if(c)if(K(c)&&K(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,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 i=await this.matchVariants(t,n);if(!i||this.isBlocked(i[1])){this.blocked.add(t),this._cache.set(s,null);return}const c=this.makeContext(t,[r||i[0],i[1],i[2],i[3]]);this.config.details&&(c.variants=[...i[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(Ft);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:i=!0,safelist:c=!0,minify:a=!1,extendedInfo:l=!1}=r,f=this.config.outputToCssLayers,o=R(t)?await this.applyExtractors(t,s,l?new Ce:new Set):Array.isArray(t)?new Set(t):t;if(c){const m={generator:this,theme:this.config.theme};this.config.safelist.flatMap(v=>typeof v=="function"?v(m):v).forEach(v=>{o.has(v)||o.add(v)})}const u=a?"":`
2
+ `,d=new Set([q]),p=l?new Map:new Set,$=new Map;let g={};const y=Array.from(o).map(async m=>{if(p.has(m))return;const v=await this.parseToken(m);if(v!=null){p instanceof Map?p.set(m,{data:v,count:K(o)?o.getCount(m):-1}):p.add(m);for(const A of v){const C=A[3]||"",O=A[4]?.layer;$.has(C)||$.set(C,[]),$.get(C).push(A),O&&d.add(O)}}});await Promise.all(y),await(async()=>{if(!i)return;const m={generator:this,theme:this.config.theme},v=new Set([]);this.config.preflights.forEach(({layer:A=ee})=>{d.add(A),v.add(A)}),g=Object.fromEntries(await Promise.all(Array.from(v).map(async A=>{const O=(await Promise.all(this.config.preflights.filter(P=>(P.layer||ee)===A).map(async P=>await P.getCSS(m)))).filter(Boolean).join(u);return[A,O]})))})();const x=this.config.sortLayers(Array.from(d).sort((m,v)=>(this.config.layers[m]??0)-(this.config.layers[v]??0)||m.localeCompare(v))),w={},b=(m=q)=>{if(w[m])return w[m];let v=Array.from($).sort((C,O)=>(this.parentOrders.get(C[0])??0)-(this.parentOrders.get(O[0])??0)||C[0]?.localeCompare(O[0]||"")||0).map(([C,O])=>{const P=O.length,L=O.filter(S=>(S[4]?.layer||q)===m).sort((S,E)=>S[0]-E[0]||(S[4]?.sort||0)-(E[4]?.sort||0)||S[5]?.currentSelector?.localeCompare(E[5]?.currentSelector??"")||S[1]?.localeCompare(E[1]||"")||S[2]?.localeCompare(E[2]||"")||0).map(([,S,E,,T,,j])=>[[[(S&&pr(S,n))??"",T?.sort??0]],E,!!(j??T?.noMerge)]);if(!L.length)return;const N=L.reverse().map(([S,E,T],j)=>{if(!T&&this.config.mergeSelectors)for(let F=j+1;F<P;F++){const k=L[F];if(k&&!k[2]&&(S&&k[0]||S==null&&k[0]==null)&&k[1]===E)return S&&k[0]&&k[0].push(...S),null}const I=S?H(S.sort((F,k)=>F[1]-k[1]||F[0]?.localeCompare(k[0]||"")||0).map(F=>F[0]).filter(Boolean)):[];return I.length?`${I.join(`,${u}`)}{${E}}`:E}).filter(Boolean).reverse().join(u);if(!C)return N;const _=C.split(" $$ ");return`${_.join("{")}{${u}${N}${u}${"}".repeat(_.length)}`}).filter(Boolean).join(u);if(i&&(v=[g[m],v].filter(Boolean).join(u)),f&&v){let C=typeof f=="object"?f.cssLayerName?.(m):void 0;C!==null&&(C||(C=m),v=`@layer ${C}{${u}${v}${u}}`)}const A=a?"":`/* layer: ${m} */${u}`;return w[m]=v?A+v:""},h=(m=x,v)=>m.filter(A=>!v?.includes(A)).map(A=>b(A)||"").filter(Boolean).join(u);return{get css(){return h()},layers:x,matched:p,getLayers:h,getLayer:b}}async matchVariants(t,r){const s=new Set,n=[];let i=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(i,a);if(f){if(R(f)){if(f===i)continue;f={matcher:f}}i=f.matcher,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,i,n,s]}applyVariants(t,r=t[4],s=t[1]){const i=r.slice().sort((f,o)=>(f.order||0)-(o.order||0)).reduceRight((f,o)=>u=>{const d=o.body?.(u.entries)||u.entries,p=Array.isArray(o.parent)?o.parent:[o.parent,void 0];return(o.handle??mr)({...u,entries:d,selector:o.selector?.(u.selector,d)||u.selector,parent:p[0]||u.parent,parentOrder:p[1]||u.parentOrder,layer:o.layer||u.layer,sort:o.sort||u.sort},f)},f=>f)({prefix:"",selector:dr(s),pseudo:"",entries:t[2]}),{parent:c,parentOrder:a}=i;c!=null&&a!=null&&this.parentOrders.set(c,a);const l={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:c,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(const f of this.config.postprocess)f(l);return l}constructCustomCSS(t,r,s){const n=D(r);if(R(n))return n;const{selector:i,entries:c,parent:a}=this.applyVariants([0,s||t.rawSelector,n,void 0,t.variantHandlers]),l=`${i}{${Q(c)}}`;return a?`${a}{${l}}`:l}async parseUtil(t,r,s=!1,n){const[i,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 o=l[0],u=D(l[1]),d=l[2];return R(u)?[[o,u,d]]:[[o,i,u,d,a]]}r.variantHandlers=a;const{rulesDynamic:f}=this.config;for(const[o,u,d,p]of f){if(p?.internal&&!s)continue;let $=c;if(p?.prefix){const w=M(p.prefix);if(n){const b=M(n);if(!w.some(h=>b.includes(h)))continue}else{const b=w.find(h=>c.startsWith(h));if(b==null)continue;$=c.slice(b.length)}}const g=$.match(u);if(!g)continue;const y=await d(g,r);if(!y)continue;this.config.details&&r.rules.push([u,d,p]);const x=Pt(y).filter(w=>w.length);if(x.length)return x.map(w=>R(w)?[o,w,p]:[o,i,w,p,a])}}stringifyUtil(t,r){if(!t)return;if(ae(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:i,layer:c,sort:a,noMerge:l}=this.applyVariants(t),f=Q(n);if(!f)return;const{layer:o,sort:u,...d}=t[3]??{},p={...d,layer:c??o,sort:a??u};return[t[0],s,f,i,p,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)}:zt;let i,c;for(const a of this.config.shortcuts){let l=t;if(a[2]?.prefix){const o=M(a[2].prefix).find(u=>t.startsWith(u));if(o==null)continue;l=t.slice(o.length)}if(Nt(a)){if(a[0]===l){i=i||a[2],c=a[1],n(a);break}}else{const f=l.match(a[0]);if(f&&(c=a[1](f,r)),c){i=i||a[2],n(a);break}}}if(R(c)&&(c=Kt(c.trim()).split(/\s+/g)),!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(o=>R(o)?a.replace(l,o):o))}}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),i]}async stringifyShortcuts(t,r,s,n={layer:this.config.shortcutsLayer}){const i=new qt,c=(await Promise.all(H(s).map(async o=>{const u=R(o)?await this.parseUtil(o,r,!0,n.prefix):[[Number.POSITIVE_INFINITY,"{inline}",D(o),void 0,[]]];return!u&&this.config.warn&&xe(`unmatched utility "${o}" in shortcut "${t[1]}"`),u||[]}))).flat(1).filter(Boolean).sort((o,u)=>o[0]-u[0]),[a,,l]=t,f=[];for(const o of c){if(ae(o)){f.push([o[0],void 0,o[1],void 0,o[2],r,void 0]);continue}const{selector:u,entries:d,parent:p,sort:$,noMerge:g,layer:y}=this.applyVariants(o,[...o[4],...l],a);i.getFallback(y??n.layer,new Bt).getFallback(u,p,[[],o[0]])[0].push([d,!!(g??o[3]?.noMerge),$??0])}return f.concat(i.flatMap((o,u)=>o.map(([d,p],$,g)=>{const y=(w,b,h)=>{const m=Math.max(...h.map(A=>A[1])),v=h.map(A=>A[0]);return(w?[v.flat(1)]:v).map(A=>{const C=Q(A);if(C)return[p,$,C,g,{...n,noMerge:b,sort:m,layer:u},r,void 0]})};return[[d.filter(([,w])=>w).map(([w,,b])=>[w,b]),!0],[d.filter(([,w])=>!w).map(([w,,b])=>[w,b]),!1]].map(([w,b])=>[...y(!1,b,w.filter(([h])=>h.some(m=>m[0]===ie))),...y(!0,b,w.filter(([h])=>h.every(m=>m[0]!==ie)))])}).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 ur(e,t){return new fr(e,t)}const Te=/\s\$\$\s+/g;function hr(e){return Te.test(e)}function pr(e,t){return hr(e)?e.replace(Te,t?` ${t} `:" "):t?`${t} ${e}`:e}const ue=/^\[(.+?)(~?=)"(.*)"\]$/;function dr(e){return ue.test(e)?e.replace(ue,(t,r,s,n)=>`[${J(r)}${s}"${J(n)}"]`):`.${J(e)}`}function mr(e,t){return t(e)}var he={};const gr=Object.freeze({left:0,top:0,width:16,height:16}),G=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),je=Object.freeze({...gr,...G}),yr=Object.freeze({...je,body:"",hidden:!1}),wr=Object.freeze({width:null,height:null}),Me=Object.freeze({...wr,...G});function br(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 pe(e,t){const r=br(e,t);for(const s in yr)s in G?s in e&&!(s in r)&&(r[s]=G[s]):s in t?r[s]=t[s]:s in e&&(r[s]=e[s]);return r}function Sr(e,t){const r=e.icons,s=e.aliases||Object.create(null),n=Object.create(null);function i(c){if(r[c])return n[c]=[];if(!(c in n)){n[c]=null;const a=s[c]&&s[c].parent,l=a&&i(a);l&&(n[c]=[a].concat(l))}return n[c]}return(t||Object.keys(r).concat(Object.keys(s))).forEach(i),n}function de(e,t,r){const s=e.icons,n=e.aliases||Object.create(null);let i={};function c(a){i=pe(s[a]||n[a],i)}return c(t),r.forEach(c),pe(e,i)}function _r(e,t){if(e.icons[t])return de(e,t,[]);const r=Sr(e,[t])[t];return r?de(e,t,r):null}const vr=/(-?[0-9.]*[0-9]+[0-9.]*)/g,$r=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function me(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(vr);if(s===null||!s.length)return e;const n=[];let i=s.shift(),c=$r.test(i);for(;;){if(c){const a=parseFloat(i);isNaN(a)?n.push(i):n.push(Math.ceil(a*t*r)/r)}else n.push(i);if(i=s.shift(),i===void 0)return n.join("");c=!c}}function Er(e,t="defs"){let r="";const s=e.indexOf("<"+t);for(;s>=0;){const n=e.indexOf(">",s),i=e.indexOf("</"+t);if(n===-1||i===-1)break;const c=e.indexOf(">",i);if(c===-1)break;r+=e.slice(n+1,i).trim(),e=e.slice(0,s).trim()+e.slice(c+1)}return{defs:r,content:e}}function Ar(e,t){return e?"<defs>"+e+"</defs>"+t:t}function Cr(e,t,r){const s=Er(e);return Ar(s.defs,t+s.content+r)}const ne=e=>e==="unset"||e==="undefined"||e==="none";function xr(e,t){const r={...je,...e},s={...Me,...t},n={left:r.left,top:r.top,width:r.width,height:r.height};let i=r.body;[r,s].forEach(g=>{const y=[],x=g.hFlip,w=g.vFlip;let b=g.rotate;x?w?b+=2:(y.push("translate("+(n.width+n.left).toString()+" "+(0-n.top).toString()+")"),y.push("scale(-1 1)"),n.top=n.left=0):w&&(y.push("translate("+(0-n.left).toString()+" "+(n.height+n.top).toString()+")"),y.push("scale(1 -1)"),n.top=n.left=0);let h;switch(b<0&&(b-=Math.floor(b/4)*4),b=b%4,b){case 1:h=n.height/2+n.top,y.unshift("rotate(90 "+h.toString()+" "+h.toString()+")");break;case 2:y.unshift("rotate(180 "+(n.width/2+n.left).toString()+" "+(n.height/2+n.top).toString()+")");break;case 3:h=n.width/2+n.left,y.unshift("rotate(-90 "+h.toString()+" "+h.toString()+")");break}b%2===1&&(n.left!==n.top&&(h=n.left,n.left=n.top,n.top=h),n.width!==n.height&&(h=n.width,n.width=n.height,n.height=h)),y.length&&(i=Cr(i,'<g transform="'+y.join(" ")+'">',"</g>"))});const c=s.width,a=s.height,l=n.width,f=n.height;let o,u;c===null?(u=a===null?"1em":a==="auto"?f:a,o=me(u,l/f)):(o=c==="auto"?l:c,u=a===null?me(o,f/l):a==="auto"?f:a);const d={},p=(g,y)=>{ne(y)||(d[g]=y.toString())};p("width",o),p("height",u);const $=[n.left,n.top,l,f];return d.viewBox=$.join(" "),{attributes:d,viewBox:$,body:i}}function Or(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Rr(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" ')),Or(t)}function Tr(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 jr=/\swidth\s*=\s*["']([\w.]+)["']/,Mr=/\sheight\s*=\s*["']([\w.]+)["']/,Y=/<svg\s+/;function Pr(e,t,r){const s=e.slice(0,e.indexOf(">")),n=(i,c)=>{const a=c.exec(s),l=a!=null,f=t[i];return!f&&!ne(f)&&(typeof r=="number"?r>0&&(t[i]=`${r}em`):a&&(t[i]=a[1])),l};return[n("width",jr),n("height",Mr)]}async function Pe(e,t,r,s,n,i){const{scale:c,addXmlNs:a=!1}=s??{},{additionalProps:l={},iconCustomizer:f}=s?.customizations??{},o=await n?.()??{};await f?.(t,r,o),Object.keys(l).forEach(g=>{const y=l[g];y!=null&&(o[g]=y)}),i?.(o);const[u,d]=Pr(e,o,c);a&&(!e.includes("xmlns=")&&!o.xmlns&&(o.xmlns="http://www.w3.org/2000/svg"),!e.includes("xmlns:xlink=")&&e.includes("xlink:")&&!o["xmlns:xlink"]&&(o["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const p=Object.keys(o).map(g=>g==="width"&&u||g==="height"&&d?null:`${g}="${o[g]}"`).filter(g=>g!=null);if(p.length&&(e=e.replace(Y,`<svg ${p.join(" ")} `)),s){const{defaultStyle:g,defaultClass:y}=s;y&&!e.includes("class=")&&(e=e.replace(Y,`<svg class="${y}" `)),g&&!e.includes("style=")&&(e=e.replace(Y,`<svg style="${g}" `))}const $=s?.usedProps;return $&&(Object.keys(l).forEach(g=>{const y=o[g];y!=null&&($[g]=y)}),typeof o.width<"u"&&o.width!==null&&($.width=o.width),typeof o.height<"u"&&o.height!==null&&($.height=o.height)),e}async function ge(e,t,r,s){let n;try{if(typeof e=="function")n=await e(r);else{const i=e[r];n=typeof i=="function"?await i():i}}catch(i){console.warn(`Failed to load custom icon "${r}" in "${t}":`,i);return}if(n){const i=n.indexOf("<svg");i>0&&(n=n.slice(i));const{transform:c}=s?.customizations??{};return n=typeof c=="function"?await c(n,t,r):n,n.startsWith("<svg")?await Pe(s?.customizations?.trimCustomSvg===!0?Tr(n):n,t,r,s,void 0):(console.warn(`Custom icon "${r}" in "${t}" is not a valid SVG`),n)}}async function ke(e,t,r,s){let n;const{customize:i}=s?.customizations??{};for(const c of r)if(n=_r(e,c),n){let a={...Me};typeof i=="function"&&(a=i(a));const{attributes:{width:l,height:f,...o},body:u}=xr(n,a),d=s?.scale;return await Pe(`<svg >${u}</svg>`,t,c,s,()=>({...o}),p=>{const $=(g,y)=>{const x=p[g];let w;if(!ne(x)){if(x)return;typeof d=="number"?d&&(w=`${d}em`):w=y}w?p[g]=w:delete p[g]};$("width",l),$("height",f)})}}const Le=async(e,t,r)=>{const s=r?.customCollections?.[e];if(s)if(typeof s=="function"){let n;try{n=await s(t)}catch(i){console.warn(`Failed to load custom icon "${t}" in "${e}":`,i);return}if(n){if(typeof n=="string")return await ge(()=>n,e,t,r);if("icons"in n){const i=[t,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.replace(/([a-z])(\d+)/g,"$1-$2")];return await ke(n,e,i,r)}}}else return await ge(s,e,t,r)};function kr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Lr=["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"];const Nr=kr(Lr),Ir=3;function Fr(e){return(t={})=>{const{scale:r=1,mode:s="auto",prefix:n="i-",warn:i=!1,collections:c,extraProperties:a={},customizations:l={},autoInstall:f=!1,collectionsNodeResolvePath:o,layer:u="icons",unit:d,processor:p}=t,$=zr(),g={addXmlNs:!0,scale:r,customCollections:c,autoInstall:f,cwd:o,warn:void 0,customizations:{...l,additionalProps:{...a},trimCustomSvg:!0,async iconCustomizer(x,w,b){await l.iconCustomizer?.(x,w,b),d&&(b.width||(b.width=`${r}${d}`),b.height||(b.height=`${r}${d}`))}}};let y;return{name:"@unocss/preset-icons",enforce:"pre",options:t,layers:{icons:-30},rules:[[/^([a-z0-9:_-]+)(?:\?(mask|bg|auto))?$/,async x=>{let[w,b,h=s]=x,m="",v="",A;y=y||await e(t);const C={};if(b.includes(":"))[m,v]=b.split(":"),A=await y(m,v,{...g,usedProps:C});else{const L=b.split(/-/g);for(let N=Ir;N>=1&&(m=L.slice(0,N).join("-"),v=L.slice(N).join("-"),A=await y(m,v,{...g,usedProps:C}),!A);N--);}if(!A){i&&!$.isESLint&&xe(`failed to load icon "${w}"`);return}let O;const P=`url("data:image/svg+xml;utf8,${Rr(A)}")`;return h==="auto"&&(h=A.includes("currentColor")?"mask":"bg"),h==="mask"?O={"--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}:O={background:`${P} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...C},p?.(O,{collection:m,icon:v,svg:A,mode:h}),O},{layer:u,prefix:n}]]}}}function Ne(e,t){const r=new Map;function s(n){if(Nr.includes(n))return r.has(n)||r.set(n,e(`${t}@iconify-json/${n}/icons.json`)),r.get(n)}return async(n,i,c)=>{let a=await Le(n,i,c);if(a)return a;const l=await s(n);if(l){const f=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];a=await ke(l,n,f,c)}return a}}function zr(){const e=typeof process<"u"&&process.stdout&&!process.versions.deno,t=e&&!!he.VSCODE_CWD,r=e&&!!he.ESLINT;return{isNode:e,isVSCode:t,isESLint:r}}function Dr(e){return Ne(Tt,e)}const Ur=Fr(async e=>{const t=e?.customFetch,r=e?.cdn;return t&&r?Ne(t,r):r?Dr(r):Le});function Vr(e){return e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():"")}function ye(e){return e.charAt(0).toUpperCase()+e.slice(1)}function we(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var be=["Webkit","Moz","ms"];function Br(e){const t={};function r(s){const n=t[s];if(n)return n;let i=Vr(s);if(i!=="filter"&&i in e)return t[s]=we(i);i=ye(i);for(let c=0;c<be.length;c++){const a=`${be[c]}${i}`;if(a in e)return t[s]=we(ye(a))}return s}return({entries:s})=>s.forEach(n=>{n[0].startsWith("--")||(n[0]=r(n[0]))})}function qr(e){return e.replace(/&amp;/g,"&").replace(/&gt;/g,">").replace(/&lt;/g,"<")}function Hr(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||{},i=Object.assign({},e,n.runtime),c=i.defaults||{},a=i.cloakAttribute??"un-cloak";i.autoPrefix&&(c.postprocess=M(c.postprocess)).unshift(Br(r.createElement("div").style)),i.configResolved?.(n,c);const l=ur(n,c),f=_=>i.inject?i.inject(_):s().prepend(_),o=()=>i.rootElement?i.rootElement():r.body,u=new Map;let d=!0,p=new Set,$,g,y=[];const x=()=>new Promise(_=>{y.push(_),g!=null&&clearTimeout(g),g=setTimeout(()=>h().then(()=>{const S=y;y=[],S.forEach(E=>E())}),0)});function w(_){if(_.nodeType!==1)return;const S=_;S.hasAttribute(a)&&S.removeAttribute(a),S.querySelectorAll(`[${a}]`).forEach(E=>{E.removeAttribute(a)})}function b(_,S){let E=u.get(_);if(!E)if(E=r.createElement("style"),E.setAttribute("data-unocss-runtime-layer",_),u.set(_,E),S==null)f(E);else{const T=b(S),j=T.parentNode;j?j.insertBefore(E,T.nextSibling):f(E)}return E}async function h(){const _=await l.generate(p);return _.layers.reduce((S,E)=>(b(E,S).innerHTML=_.getLayer(E)??"",E),void 0),p=_.matched,{..._,getStyleElement:S=>u.get(S),getStyleElements:()=>u}}async function m(_){const S=p.size;await l.applyExtractors(_,void 0,p),S!==p.size&&await x()}async function v(_=o()){const S=_&&_.outerHTML;S&&(await m(`${S} ${qr(S)}`),w(s()),w(_))}const A=new MutationObserver(_=>{d||_.forEach(async S=>{if(S.target.nodeType!==1)return;const E=S.target;for(const T of u)if(E===T[1])return;if(S.type==="childList")S.addedNodes.forEach(async T=>{if(T.nodeType!==1)return;const j=T;$&&!$(j)||(await m(j.outerHTML),w(j))});else{if($&&!$(E))return;if(S.attributeName!==a){const T=Array.from(E.attributes).map(I=>I.value?`${I.name}="${I.value}"`:I.name).join(" "),j=`<${E.tagName.toLowerCase()} ${T}>`;await m(j)}E.hasAttribute(a)&&E.removeAttribute(a)}})});let C=!1;function O(){if(C)return;const _=i.observer?.target?i.observer.target():o();_&&(A.observe(_,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),C=!0)}function P(){i.bypassDefined&&Gr(l.blocked),v(),O()}function L(){r.readyState==="loading"?t.addEventListener("DOMContentLoaded",P):P()}const N=t.__unocss_runtime=t.__unocss_runtime={version:l.version,uno:l,async extract(_){R(_)||(_.forEach(S=>p.add(S)),_=""),await m(_)},extractAll:v,inspect(_){$=_},toggleObserver(_){_===void 0?d=!d:d=!!_,!C&&!d&&L()},update:h,presets:t.__unocss_runtime?.presets??{}};i.ready?.(N)!==!1&&(d=!1,L())}function Gr(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}Hr({defaults:{presets:[Ur({prefix:["i-",""],collections:{},cdn:"https://esm.sh/",scale:1.2,extraProperties:{display:"inline-block","vertical-align":"middle"}})]},bypassDefined:!0});
@@ -1994,9 +1994,9 @@ Z
1994
1994
  `,name:"constant.numeric.integer.toml"},{begin:"\\G\\[",beginCaptures:{0:{name:"punctuation.definition.array.begin.toml"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.array.end.toml"}},name:"meta.array.toml",patterns:[{begin:`(?=["'']|[+-]?[0-9]|[+-]?(inf|nan)|true|false|\\[|\\{)`,end:",|(?=])",endCaptures:{0:{name:"punctuation.separator.array.toml"}},patterns:[{include:"#primatives"},{include:"#comments"},{include:"#invalid"}]},{include:"#comments"},{include:"#invalid"}]},{begin:"\\G\\{",beginCaptures:{0:{name:"punctuation.definition.inline-table.begin.toml"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.inline-table.end.toml"}},name:"meta.inline-table.toml",patterns:[{begin:"(?=\\S)",end:",|(?=})",endCaptures:{0:{name:"punctuation.separator.inline-table.toml"}},patterns:[{include:"#key_pair"}]},{include:"#comments"}]}]}},scopeName:"source.toml"});var A=[z];const G=Object.freeze({displayName:"GraphQL",fileTypes:["graphql","graphqls","gql","graphcool"],name:"graphql",patterns:[{include:"#graphql"}],repository:{graphql:{patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-fragment-definition"},{include:"#graphql-directive-definition"},{include:"#graphql-type-interface"},{include:"#graphql-enum"},{include:"#graphql-scalar"},{include:"#graphql-union"},{include:"#graphql-schema"},{include:"#graphql-operation-def"},{include:"#literal-quasi-embedded"}]},"graphql-ampersand":{captures:{1:{name:"keyword.operator.logical.graphql"}},match:"\\s*(&)"},"graphql-arguments":{begin:"\\s*(\\()",beginCaptures:{1:{name:"meta.brace.round.directive.graphql"}},end:"\\s*(\\))",endCaptures:{1:{name:"meta.brace.round.directive.graphql"}},name:"meta.arguments.graphql",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{begin:"\\s*([_A-Za-z][_0-9A-Za-z]*)(?:\\s*(:))",beginCaptures:{1:{name:"variable.parameter.graphql"},2:{name:"punctuation.colon.graphql"}},end:"(?=\\s*(?:(?:([_A-Za-z][_0-9A-Za-z]*)\\s*(:))|\\)))|\\s*(,)",endCaptures:{3:{name:"punctuation.comma.graphql"}},patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"},{include:"#graphql-value"},{include:"#graphql-skip-newlines"}]},{include:"#literal-quasi-embedded"}]},"graphql-boolean-value":{captures:{1:{name:"constant.language.boolean.graphql"}},match:"\\s*\\b(true|false)\\b"},"graphql-colon":{captures:{1:{name:"punctuation.colon.graphql"}},match:"\\s*(:)"},"graphql-comma":{captures:{1:{name:"punctuation.comma.graphql"}},match:"\\s*(,)"},"graphql-comment":{patterns:[{captures:{1:{name:"punctuation.whitespace.comment.leading.graphql"}},comment:"need to prefix comment space with a scope else Atom's reflow cmd doesn't work",match:"(\\s*)(#).*",name:"comment.line.graphql.js"},{begin:'(""")',beginCaptures:{1:{name:"punctuation.whitespace.comment.leading.graphql"}},end:'(""")',name:"comment.line.graphql.js"},{begin:'(")',beginCaptures:{1:{name:"punctuation.whitespace.comment.leading.graphql"}},end:'(")',name:"comment.line.graphql.js"}]},"graphql-description-docstring":{begin:'"""',end:'"""',name:"comment.block.graphql"},"graphql-description-singleline":{match:'#(?=([^"]*"[^"]*")*[^"]*$).*$',name:"comment.line.number-sign.graphql"},"graphql-directive":{applyEndPatternLast:1,begin:"\\s*((@)\\s*([_A-Za-z][_0-9A-Za-z]*))",beginCaptures:{1:{name:"entity.name.function.directive.graphql"}},end:"(?=.)",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-arguments"},{include:"#literal-quasi-embedded"},{include:"#graphql-skip-newlines"}]},"graphql-directive-definition":{applyEndPatternLast:1,begin:"\\s*(\\bdirective\\b)\\s*(@[_A-Za-z][_0-9A-Za-z]*)",beginCaptures:{1:{name:"keyword.directive.graphql"},2:{name:"entity.name.function.directive.graphql"},3:{name:"keyword.on.graphql"},4:{name:"support.type.graphql"}},end:"(?=.)",patterns:[{include:"#graphql-variable-definitions"},{applyEndPatternLast:1,begin:"\\s*(\\bon\\b)\\s*([_A-Za-z]*)",beginCaptures:{1:{name:"keyword.on.graphql"},2:{name:"support.type.location.graphql"}},end:"(?=.)",patterns:[{include:"#graphql-skip-newlines"},{include:"#graphql-comment"},{include:"#literal-quasi-embedded"},{captures:{2:{name:"support.type.location.graphql"}},match:"\\s*(\\|)\\s*([_A-Za-z]*)"}]},{include:"#graphql-skip-newlines"},{include:"#graphql-comment"},{include:"#literal-quasi-embedded"}]},"graphql-enum":{begin:"\\s*+\\b(enum)\\b\\s*([_A-Za-z][_0-9A-Za-z]*)",beginCaptures:{1:{name:"keyword.enum.graphql"},2:{name:"support.type.enum.graphql"}},end:"(?<=})",name:"meta.enum.graphql",patterns:[{begin:"\\s*({)",beginCaptures:{1:{name:"punctuation.operation.graphql"}},end:"\\s*(})",endCaptures:{1:{name:"punctuation.operation.graphql"}},name:"meta.type.object.graphql",patterns:[{include:"#graphql-object-type"},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"},{include:"#graphql-enum-value"},{include:"#literal-quasi-embedded"}]},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"}]},"graphql-enum-value":{match:"\\s*(?!=\\b(true|false|null)\\b)([_A-Za-z][_0-9A-Za-z]*)",name:"constant.character.enum.graphql"},"graphql-field":{patterns:[{captures:{1:{name:"string.unquoted.alias.graphql"},2:{name:"punctuation.colon.graphql"}},match:"\\s*([_A-Za-z][_0-9A-Za-z]*)\\s*(:)"},{captures:{1:{name:"variable.graphql"}},match:"\\s*([_A-Za-z][_0-9A-Za-z]*)"},{include:"#graphql-arguments"},{include:"#graphql-directive"},{include:"#graphql-selection-set"},{include:"#literal-quasi-embedded"},{include:"#graphql-skip-newlines"}]},"graphql-float-value":{captures:{1:{name:"constant.numeric.float.graphql"}},match:"\\s*(-?(0|[1-9][0-9]*)(\\.[0-9]+)?((e|E)(\\+|-)?[0-9]+)?)"},"graphql-fragment-definition":{begin:"\\s*(?:(\\bfragment\\b)\\s*([_A-Za-z][_0-9A-Za-z]*)?\\s*(?:(\\bon\\b)\\s*([_A-Za-z][_0-9A-Za-z]*)))",captures:{1:{name:"keyword.fragment.graphql"},2:{name:"entity.name.fragment.graphql"},3:{name:"keyword.on.graphql"},4:{name:"support.type.graphql"}},end:"(?<=})",name:"meta.fragment.graphql",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-selection-set"},{include:"#graphql-directive"},{include:"#graphql-skip-newlines"},{include:"#literal-quasi-embedded"}]},"graphql-fragment-spread":{applyEndPatternLast:1,begin:"\\s*(\\.\\.\\.)\\s*(?!\\bon\\b)([_A-Za-z][_0-9A-Za-z]*)",captures:{1:{name:"keyword.operator.spread.graphql"},2:{name:"variable.fragment.graphql"}},end:"(?=.)",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-selection-set"},{include:"#graphql-directive"},{include:"#literal-quasi-embedded"},{include:"#graphql-skip-newlines"}]},"graphql-ignore-spaces":{match:"\\s*"},"graphql-inline-fragment":{applyEndPatternLast:1,begin:"\\s*(\\.\\.\\.)\\s*(?:(\\bon\\b)\\s*([_A-Za-z][_0-9A-Za-z]*))?",captures:{1:{name:"keyword.operator.spread.graphql"},2:{name:"keyword.on.graphql"},3:{name:"support.type.graphql"}},end:"(?=.)",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-selection-set"},{include:"#graphql-directive"},{include:"#graphql-skip-newlines"},{include:"#literal-quasi-embedded"}]},"graphql-input-types":{patterns:[{include:"#graphql-scalar-type"},{captures:{1:{name:"support.type.graphql"},2:{name:"keyword.operator.nulltype.graphql"}},match:"\\s*([_A-Za-z][_0-9A-Za-z]*)(?:\\s*(!))?"},{begin:"\\s*(\\[)",captures:{1:{name:"meta.brace.square.graphql"},2:{name:"keyword.operator.nulltype.graphql"}},end:"\\s*(\\])(?:\\s*(!))?",name:"meta.type.list.graphql",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-input-types"},{include:"#graphql-comma"},{include:"#literal-quasi-embedded"}]}]},"graphql-list-value":{patterns:[{begin:"\\s*+(\\[)",beginCaptures:{1:{name:"meta.brace.square.graphql"}},end:"\\s*(\\])",endCaptures:{1:{name:"meta.brace.square.graphql"}},name:"meta.listvalues.graphql",patterns:[{include:"#graphql-value"}]}]},"graphql-name":{captures:{1:{name:"entity.name.function.graphql"}},match:"\\s*([_A-Za-z][_0-9A-Za-z]*)"},"graphql-null-value":{captures:{1:{name:"constant.language.null.graphql"}},match:"\\s*\\b(null)\\b"},"graphql-object-field":{captures:{1:{name:"constant.object.key.graphql"},2:{name:"string.unquoted.graphql"},3:{name:"punctuation.graphql"}},match:"\\s*(([_A-Za-z][_0-9A-Za-z]*))\\s*(:)"},"graphql-object-value":{patterns:[{begin:"\\s*+({)",beginCaptures:{1:{name:"meta.brace.curly.graphql"}},end:"\\s*(})",endCaptures:{1:{name:"meta.brace.curly.graphql"}},name:"meta.objectvalues.graphql",patterns:[{include:"#graphql-object-field"},{include:"#graphql-value"}]}]},"graphql-operation-def":{patterns:[{include:"#graphql-query-mutation"},{include:"#graphql-name"},{include:"#graphql-variable-definitions"},{include:"#graphql-directive"},{include:"#graphql-selection-set"}]},"graphql-query-mutation":{captures:{1:{name:"keyword.operation.graphql"}},match:"\\s*\\b(query|mutation)\\b"},"graphql-scalar":{captures:{1:{name:"keyword.scalar.graphql"},2:{name:"entity.scalar.graphql"}},match:"\\s*\\b(scalar)\\b\\s*([_A-Za-z][_0-9A-Za-z]*)"},"graphql-scalar-type":{captures:{1:{name:"support.type.builtin.graphql"},2:{name:"keyword.operator.nulltype.graphql"}},match:"\\s*\\b(Int|Float|String|Boolean|ID)\\b(?:\\s*(!))?"},"graphql-schema":{begin:"\\s*\\b(schema)\\b",beginCaptures:{1:{name:"keyword.schema.graphql"}},end:"(?<=})",patterns:[{begin:"\\s*({)",beginCaptures:{1:{name:"punctuation.operation.graphql"}},end:"\\s*(})",endCaptures:{1:{name:"punctuation.operation.graphql"}},patterns:[{begin:"\\s*([_A-Za-z][_0-9A-Za-z]*)(?=\\s*\\(|:)",beginCaptures:{1:{name:"variable.arguments.graphql"}},end:"(?=\\s*(([_A-Za-z][_0-9A-Za-z]*)\\s*(\\(|:)|(})))|\\s*(,)",endCaptures:{5:{name:"punctuation.comma.graphql"}},patterns:[{captures:{1:{name:"support.type.graphql"}},match:"\\s*([_A-Za-z][_0-9A-Za-z]*)"},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-colon"},{include:"#graphql-skip-newlines"}]},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-skip-newlines"}]},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"},{include:"#graphql-skip-newlines"}]},"graphql-selection-set":{begin:"\\s*({)",beginCaptures:{1:{name:"punctuation.operation.graphql"}},end:"\\s*(})",endCaptures:{1:{name:"punctuation.operation.graphql"}},name:"meta.selectionset.graphql",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-field"},{include:"#graphql-fragment-spread"},{include:"#graphql-inline-fragment"},{include:"#graphql-comma"},{include:"#native-interpolation"},{include:"#literal-quasi-embedded"}]},"graphql-skip-newlines":{match:`\\s*
1995
1995
  `},"graphql-string-content":{patterns:[{match:`\\\\[/'"\\\\nrtbf]`,name:"constant.character.escape.graphql"},{match:"\\\\u([0-9a-fA-F]{4})",name:"constant.character.escape.graphql"}]},"graphql-string-value":{begin:'\\s*+(("))',beginCaptures:{1:{name:"string.quoted.double.graphql"},2:{name:"punctuation.definition.string.begin.graphql"}},contentName:"string.quoted.double.graphql",end:`\\s*+(?:(("))|(
1996
1996
  ))`,endCaptures:{1:{name:"string.quoted.double.graphql"},2:{name:"punctuation.definition.string.end.graphql"},3:{name:"invalid.illegal.newline.graphql"}},patterns:[{include:"#graphql-string-content"},{include:"#literal-quasi-embedded"}]},"graphql-type-definition":{begin:"\\s*([_A-Za-z][_0-9A-Za-z]*)(?=\\s*\\(|:)",beginCaptures:{1:{name:"variable.graphql"}},comment:"key (optionalArgs): Type",end:"(?=\\s*(([_A-Za-z][_0-9A-Za-z]*)\\s*(\\(|:)|(})))|\\s*(,)",endCaptures:{5:{name:"punctuation.comma.graphql"}},patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"},{include:"#graphql-variable-definitions"},{include:"#graphql-type-object"},{include:"#graphql-colon"},{include:"#graphql-input-types"},{include:"#literal-quasi-embedded"}]},"graphql-type-interface":{applyEndPatternLast:1,begin:"\\s*\\b(?:(extends?)?\\b\\s*\\b(type)|(interface)|(input))\\b\\s*([_A-Za-z][_0-9A-Za-z]*)?",captures:{1:{name:"keyword.type.graphql"},2:{name:"keyword.type.graphql"},3:{name:"keyword.interface.graphql"},4:{name:"keyword.input.graphql"},5:{name:"support.type.graphql"}},end:"(?=.)",name:"meta.type.interface.graphql",patterns:[{begin:"\\s*\\b(implements)\\b\\s*",beginCaptures:{1:{name:"keyword.implements.graphql"}},end:"\\s*(?={)",patterns:[{captures:{1:{name:"support.type.graphql"}},match:"\\s*([_A-Za-z][_0-9A-Za-z]*)"},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"},{include:"#graphql-ampersand"},{include:"#graphql-comma"}]},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"},{include:"#graphql-type-object"},{include:"#literal-quasi-embedded"},{include:"#graphql-ignore-spaces"}]},"graphql-type-object":{begin:"\\s*({)",beginCaptures:{1:{name:"punctuation.operation.graphql"}},end:"\\s*(})",endCaptures:{1:{name:"punctuation.operation.graphql"}},name:"meta.type.object.graphql",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-object-type"},{include:"#graphql-type-definition"},{include:"#literal-quasi-embedded"}]},"graphql-union":{applyEndPatternLast:1,begin:"\\s*\\b(union)\\b\\s*([_A-Za-z][_0-9A-Za-z]*)",captures:{1:{name:"keyword.union.graphql"},2:{name:"support.type.graphql"}},end:"(?=.)",patterns:[{applyEndPatternLast:1,begin:"\\s*(=)\\s*([_A-Za-z][_0-9A-Za-z]*)",captures:{1:{name:"punctuation.assignment.graphql"},2:{name:"support.type.graphql"}},end:"(?=.)",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-skip-newlines"},{include:"#literal-quasi-embedded"},{captures:{1:{name:"punctuation.or.graphql"},2:{name:"support.type.graphql"}},match:"\\s*(\\|)\\s*([_A-Za-z][_0-9A-Za-z]*)"}]},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-skip-newlines"},{include:"#literal-quasi-embedded"}]},"graphql-union-mark":{captures:{1:{name:"punctuation.union.graphql"}},match:"\\s*(\\|)"},"graphql-value":{patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-variable-name"},{include:"#graphql-float-value"},{include:"#graphql-string-value"},{include:"#graphql-boolean-value"},{include:"#graphql-null-value"},{include:"#graphql-enum-value"},{include:"#graphql-list-value"},{include:"#graphql-object-value"},{include:"#literal-quasi-embedded"}]},"graphql-variable-assignment":{applyEndPatternLast:1,begin:"\\s(=)",beginCaptures:{1:{name:"punctuation.assignment.graphql"}},end:`(?=[
1997
- ,)])`,patterns:[{include:"#graphql-value"}]},"graphql-variable-definition":{begin:"\\s*(\\$?[_A-Za-z][_0-9A-Za-z]*)(?=\\s*\\(|:)",beginCaptures:{1:{name:"variable.parameter.graphql"}},comment:"variable: type = value,.... which may be a list",end:"(?=\\s*((\\$?[_A-Za-z][_0-9A-Za-z]*)\\s*(\\(|:)|(}|\\))))|\\s*(,)",endCaptures:{5:{name:"punctuation.comma.graphql"}},name:"meta.variables.graphql",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"},{include:"#graphql-colon"},{include:"#graphql-input-types"},{include:"#graphql-variable-assignment"},{include:"#literal-quasi-embedded"},{include:"#graphql-skip-newlines"}]},"graphql-variable-definitions":{begin:"\\s*(\\()",captures:{1:{name:"meta.brace.round.graphql"}},end:"\\s*(\\))",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-variable-definition"},{include:"#literal-quasi-embedded"}]},"graphql-variable-name":{captures:{1:{name:"variable.graphql"}},match:"\\s*(\\$[_A-Za-z][_0-9A-Za-z]*)"},"native-interpolation":{begin:"\\s*(\\${)",beginCaptures:{1:{name:"keyword.other.substitution.begin"}},end:"(})",endCaptures:{1:{name:"keyword.other.substitution.end"}},name:"native.interpolation",patterns:[{include:"source.js"},{include:"source.ts"},{include:"source.js.jsx"},{include:"source.tsx"}]}},scopeName:"source.graphql",embeddedLangs:["javascript","typescript","jsx","tsx"],aliases:["gql"]});var F=[...e,...a,...c,...l,G];const Z=Object.freeze({displayName:"HTML (Derivative)",injections:{"R:text.html - (comment.block, text.html meta.embedded, meta.tag.*.*.html, meta.tag.*.*.*.html, meta.tag.*.*.*.*.html)":{comment:"Uses R: to ensure this matches after any other injections.",patterns:[{match:"<",name:"invalid.illegal.bad-angle-bracket.html"}]}},name:"html-derivative",patterns:[{include:"text.html.basic#core-minus-invalid"},{begin:"(</?)(\\w[^\\s>]*)(?<!/)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"}},end:"((?: ?/)?>)",endCaptures:{1:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.other.unrecognized.html.derivative",patterns:[{include:"text.html.basic#attribute"}]}],scopeName:"text.html.derivative",embeddedLangs:["html"]});var N=[...n,Z];const E=Object.freeze({fileTypes:[],injectTo:["text.html.markdown"],injectionSelector:"L:text.html.markdown",name:"markdown-vue",patterns:[{include:"#vue-code-block"}],repository:{"vue-code-block":{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(vue)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{include:"source.vue"}]}},scopeName:"markdown.vue.codeblock"});var S=[E];const B=Object.freeze({fileTypes:[],injectTo:["source.vue","text.html.markdown","text.html.derivative","text.pug"],injectionSelector:"L:meta.tag -meta.attribute -meta.ng-binding -entity.name.tag.pug -attribute_value -source.tsx -source.js.jsx, L:meta.element -meta.attribute",name:"vue-directives",patterns:[{include:"source.vue#vue-directives"}],scopeName:"vue.directives"});var T=[B];const O=Object.freeze({fileTypes:[],injectTo:["source.vue","text.html.markdown","text.html.derivative","text.pug"],injectionSelector:"L:text.pug -comment -string.comment, L:text.html.derivative -comment.block, L:text.html.markdown -comment.block",name:"vue-interpolations",patterns:[{include:"source.vue#vue-interpolations"}],scopeName:"vue.interpolations"});var D=[O];const I=Object.freeze({fileTypes:[],injectTo:["source.vue"],injectionSelector:"L:source.css -comment, L:source.postcss -comment, L:source.sass -comment, L:source.stylus -comment",name:"vue-sfc-style-variable-injection",patterns:[{include:"#vue-sfc-style-variable-injection"}],repository:{"vue-sfc-style-variable-injection":{begin:"\\b(v-bind)\\s*\\(",beginCaptures:{1:{name:"entity.name.function"}},end:"\\)",name:"vue.sfc.style.variable.injection.v-bind",patterns:[{begin:`('|")`,beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"}},end:"(\\1)",endCaptures:{1:{name:"punctuation.definition.tag.end.html"}},name:"source.ts.embedded.html.vue",patterns:[{include:"source.js"}]},{include:"source.js"}]}},scopeName:"vue.sfc.style.variable.injection",embeddedLangs:["javascript"]});var P=[...e,I];const L=Object.freeze({displayName:"Vue",name:"vue",patterns:[{include:"text.html.basic#comment"},{include:"#self-closing-tag"},{begin:"(<)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"}},end:"(>)",endCaptures:{1:{name:"punctuation.definition.tag.end.html.vue"}},patterns:[{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)md\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"text.html.markdown",patterns:[{include:"text.html.markdown"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)html\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"text.html.derivative",patterns:[{include:"#html-stuff"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)pug\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"text.pug",patterns:[{include:"text.pug"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)stylus\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.stylus",patterns:[{include:"source.stylus"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)postcss\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.postcss",patterns:[{include:"source.postcss"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)sass\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.sass",patterns:[{include:"source.sass"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)css\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.css",patterns:[{include:"source.css"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)scss\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.css.scss",patterns:[{include:"source.css.scss"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)less\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.css.less",patterns:[{include:"source.css.less"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)js\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.js",patterns:[{include:"source.js"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)ts\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.ts",patterns:[{include:"source.ts"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)jsx\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.js.jsx",patterns:[{include:"source.js.jsx"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)tsx\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.tsx",patterns:[{include:"source.tsx"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)coffee\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.coffee",patterns:[{include:"source.coffee"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)json\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.json",patterns:[{include:"source.json"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)jsonc\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.json.comments",patterns:[{include:"source.json.comments"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)json5\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.json5",patterns:[{include:"source.json5"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)yaml\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.yaml",patterns:[{include:"source.yaml"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)toml\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.toml",patterns:[{include:"source.toml"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)(gql|graphql)\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.graphql",patterns:[{include:"source.graphql"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)vue\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.vue",patterns:[{include:"source.vue"}]}]},{begin:"(template)\\b",beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/template\\b)",name:"text.html.derivative",patterns:[{include:"#html-stuff"}]}]},{begin:"(script)\\b",beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/script\\b)",name:"source.js",patterns:[{include:"source.js"}]}]},{begin:"(style)\\b",beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/style\\b)",name:"source.css",patterns:[{include:"source.css"}]}]},{begin:"([a-zA-Z0-9:-]+)",beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"text"}]}]}],repository:{"html-stuff":{patterns:[{include:"#template-tag"},{include:"text.html.derivative"},{include:"text.html.basic"}]},"self-closing-tag":{begin:"(<)([a-zA-Z0-9:-]+)(?=([^>]+/>))",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},end:"(/>)",endCaptures:{1:{name:"punctuation.definition.tag.end.html.vue"}},name:"self-closing-tag",patterns:[{include:"#tag-stuff"}]},"tag-stuff":{begin:"\\G",end:"(?=/>)|(>)",endCaptures:{1:{name:"punctuation.definition.tag.end.html.vue"}},name:"meta.tag-stuff",patterns:[{include:"#vue-directives"},{include:"text.html.basic#attribute"}]},"template-tag":{patterns:[{include:"#template-tag-1"},{include:"#template-tag-2"}]},"template-tag-1":{begin:"(<)(template)\\b(>)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"},3:{name:"punctuation.definition.tag.end.html.vue"}},end:"(/?>)",endCaptures:{1:{name:"punctuation.definition.tag.end.html.vue"}},name:"meta.template-tag.start",patterns:[{begin:"\\G",end:"(?=/>)|((</)(template)\\b)",endCaptures:{2:{name:"punctuation.definition.tag.begin.html.vue"},3:{name:"entity.name.tag.$3.html.vue"}},name:"meta.template-tag.end",patterns:[{include:"#html-stuff"}]}]},"template-tag-2":{begin:"(<)(template)\\b",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},end:"(/?>)",endCaptures:{1:{name:"punctuation.definition.tag.end.html.vue"}},name:"meta.template-tag.start",patterns:[{begin:"\\G",end:"(?=/>)|((</)(template)\\b)",endCaptures:{2:{name:"punctuation.definition.tag.begin.html.vue"},3:{name:"entity.name.tag.$3.html.vue"}},name:"meta.template-tag.end",patterns:[{include:"#tag-stuff"},{include:"#html-stuff"}]}]},"vue-directives":{patterns:[{include:"#vue-directives-control"},{include:"#vue-directives-style-attr"},{include:"#vue-directives-original"},{include:"#vue-directives-generic-attr"}]},"vue-directives-control":{begin:"(v-for)|(v-if|v-else-if|v-else)",captures:{1:{name:"keyword.control.loop.vue"},2:{name:"keyword.control.conditional.vue"}},end:"(?=\\s*+[^=\\s])",name:"meta.attribute.directive.control.vue",patterns:[{include:"#vue-directives-expression"}]},"vue-directives-expression":{patterns:[{begin:"(=)\\s*('|\"|`)",beginCaptures:{1:{name:"punctuation.separator.key-value.html.vue"},2:{name:"punctuation.definition.string.begin.html.vue"}},end:"(\\2)",endCaptures:{1:{name:"punctuation.definition.string.end.html.vue"}},patterns:[{begin:"(?<=('|\"|`))",end:"(?=\\1)",name:"source.ts.embedded.html.vue",patterns:[{include:"source.ts"}]}]},{begin:"(=)\\s*(?=[^'\"`])",beginCaptures:{1:{name:"punctuation.separator.key-value.html.vue"}},end:"(?=(\\s|>|\\/>))",patterns:[{begin:"(?=[^'\"`])",end:"(?=(\\s|>|\\/>))",name:"source.ts.embedded.html.vue",patterns:[{include:"source.ts"}]}]}]},"vue-directives-generic-attr":{begin:"\\b(generic)\\s*(=)",captures:{1:{name:"entity.other.attribute-name.html.vue"},2:{name:"punctuation.separator.key-value.html.vue"}},end:`(?<='|")`,name:"meta.attribute.generic.vue",patterns:[{begin:`('|")`,beginCaptures:{1:{name:"punctuation.definition.string.begin.html.vue"}},comment:"https://github.com/microsoft/vscode/blob/fd4346210f59135fad81a8b8c4cea7bf5a9ca6b4/extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json#L4002-L4020",end:"(\\1)",endCaptures:{1:{name:"punctuation.definition.string.end.html.vue"}},name:"meta.type.parameters.vue",patterns:[{include:"source.ts#comment"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(extends|in|out)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"storage.modifier.ts"},{include:"source.ts#type"},{include:"source.ts#punctuation-comma"},{match:"(=)(?!>)",name:"keyword.operator.assignment.ts"}]}]},"vue-directives-original":{begin:"(?:\\b(v-)|([:\\.])|(@)|(#))(\\[?)([\\w\\-]*)(\\]?)(?:\\.([\\w\\-]*))*",beginCaptures:{1:{name:"entity.other.attribute-name.html.vue"},2:{name:"punctuation.attribute-shorthand.bind.html.vue"},3:{name:"punctuation.attribute-shorthand.event.html.vue"},4:{name:"punctuation.attribute-shorthand.slot.html.vue"},5:{name:"punctuation.separator.key-value.html.vue"},6:{name:"entity.other.attribute-name.html.vue"},7:{name:"punctuation.separator.key-value.html.vue"},8:{name:"entity.other.attribute-name.html.vue"},9:{name:"punctuation.separator.key-value.html.vue"}},end:"(?=\\s*+[^=\\s])",endCaptures:{1:{name:"punctuation.definition.string.end.html.vue"}},name:"meta.attribute.directive.vue",patterns:[{include:"#vue-directives-expression"}]},"vue-directives-style-attr":{begin:"\\b(style)\\s*(=)",captures:{1:{name:"entity.other.attribute-name.html.vue"},2:{name:"punctuation.separator.key-value.html.vue"}},end:`(?<='|")`,name:"meta.attribute.style.vue",patterns:[{begin:`('|")`,beginCaptures:{1:{name:"punctuation.definition.string.begin.html.vue"}},comment:"Copy from source.css#rule-list-innards",end:"(\\1)",endCaptures:{1:{name:"punctuation.definition.string.end.html.vue"}},name:"source.css.embedded.html.vue",patterns:[{include:"source.css#comment-block"},{include:"source.css#escapes"},{include:"source.css#font-features"},{match:`(?x) (?<![\\w-])
1997
+ ,)])`,patterns:[{include:"#graphql-value"}]},"graphql-variable-definition":{begin:"\\s*(\\$?[_A-Za-z][_0-9A-Za-z]*)(?=\\s*\\(|:)",beginCaptures:{1:{name:"variable.parameter.graphql"}},comment:"variable: type = value,.... which may be a list",end:"(?=\\s*((\\$?[_A-Za-z][_0-9A-Za-z]*)\\s*(\\(|:)|(}|\\))))|\\s*(,)",endCaptures:{5:{name:"punctuation.comma.graphql"}},name:"meta.variables.graphql",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"},{include:"#graphql-colon"},{include:"#graphql-input-types"},{include:"#graphql-variable-assignment"},{include:"#literal-quasi-embedded"},{include:"#graphql-skip-newlines"}]},"graphql-variable-definitions":{begin:"\\s*(\\()",captures:{1:{name:"meta.brace.round.graphql"}},end:"\\s*(\\))",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-variable-definition"},{include:"#literal-quasi-embedded"}]},"graphql-variable-name":{captures:{1:{name:"variable.graphql"}},match:"\\s*(\\$[_A-Za-z][_0-9A-Za-z]*)"},"native-interpolation":{begin:"\\s*(\\${)",beginCaptures:{1:{name:"keyword.other.substitution.begin"}},end:"(})",endCaptures:{1:{name:"keyword.other.substitution.end"}},name:"native.interpolation",patterns:[{include:"source.js"},{include:"source.ts"},{include:"source.js.jsx"},{include:"source.tsx"}]}},scopeName:"source.graphql",embeddedLangs:["javascript","typescript","jsx","tsx"],aliases:["gql"]});var F=[...e,...a,...c,...l,G];const Z=Object.freeze({displayName:"HTML (Derivative)",injections:{"R:text.html - (comment.block, text.html meta.embedded, meta.tag.*.*.html, meta.tag.*.*.*.html, meta.tag.*.*.*.*.html)":{comment:"Uses R: to ensure this matches after any other injections.",patterns:[{match:"<",name:"invalid.illegal.bad-angle-bracket.html"}]}},name:"html-derivative",patterns:[{include:"text.html.basic#core-minus-invalid"},{begin:"(</?)(\\w[^\\s>]*)(?<!/)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"}},end:"((?: ?/)?>)",endCaptures:{1:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.other.unrecognized.html.derivative",patterns:[{include:"text.html.basic#attribute"}]}],scopeName:"text.html.derivative",embeddedLangs:["html"]});var N=[...n,Z];const E=Object.freeze({fileTypes:[],injectTo:["text.html.markdown"],injectionSelector:"L:text.html.markdown",name:"markdown-vue",patterns:[{include:"#vue-code-block"}],repository:{"vue-code-block":{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(vue)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{include:"source.vue"}]}},scopeName:"markdown.vue.codeblock"});var S=[E];const B=Object.freeze({fileTypes:[],injectTo:["source.vue","text.html.markdown","text.html.derivative","text.pug"],injectionSelector:"L:meta.tag -meta.attribute -meta.ng-binding -entity.name.tag.pug -attribute_value -source.tsx -source.js.jsx, L:meta.element -meta.attribute",name:"vue-directives",patterns:[{include:"source.vue#vue-directives"}],scopeName:"vue.directives"});var T=[B];const O=Object.freeze({fileTypes:[],injectTo:["source.vue","text.html.markdown","text.html.derivative","text.pug"],injectionSelector:"L:text.pug -comment -string.comment, L:text.html.derivative -comment.block, L:text.html.markdown -comment.block",name:"vue-interpolations",patterns:[{include:"source.vue#vue-interpolations"}],scopeName:"vue.interpolations"});var D=[O];const I=Object.freeze({fileTypes:[],injectTo:["source.vue"],injectionSelector:"L:source.css -comment, L:source.postcss -comment, L:source.sass -comment, L:source.stylus -comment",name:"vue-sfc-style-variable-injection",patterns:[{include:"#vue-sfc-style-variable-injection"}],repository:{"vue-sfc-style-variable-injection":{begin:"\\b(v-bind)\\s*\\(",beginCaptures:{1:{name:"entity.name.function"}},end:"\\)",name:"vue.sfc.style.variable.injection.v-bind",patterns:[{begin:`('|")`,beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"}},end:"(\\1)",endCaptures:{1:{name:"punctuation.definition.tag.end.html"}},name:"source.ts.embedded.html.vue",patterns:[{include:"source.js"}]},{include:"source.js"}]}},scopeName:"vue.sfc.style.variable.injection",embeddedLangs:["javascript"]});var P=[...e,I];const L=Object.freeze({displayName:"Vue",name:"vue",patterns:[{include:"text.html.basic#comment"},{include:"#self-closing-tag"},{begin:"(<)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"}},end:"(>)",endCaptures:{1:{name:"punctuation.definition.tag.end.html.vue"}},patterns:[{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)md\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"text.html.markdown",patterns:[{include:"text.html.markdown"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)html\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"text.html.derivative",patterns:[{include:"#html-stuff"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)pug\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"text.pug",patterns:[{include:"text.pug"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)stylus\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.stylus",patterns:[{include:"source.stylus"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)postcss\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.postcss",patterns:[{include:"source.postcss"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)sass\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.sass",patterns:[{include:"source.sass"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)css\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.css",patterns:[{include:"source.css"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)scss\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.css.scss",patterns:[{include:"source.css.scss"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)less\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.css.less",patterns:[{include:"source.css.less"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)js\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.js",patterns:[{include:"source.js"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)ts\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.ts",patterns:[{include:"source.ts"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)jsx\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.js.jsx",patterns:[{include:"source.js.jsx"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)tsx\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.tsx",patterns:[{include:"source.tsx"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)coffee\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.coffee",patterns:[{include:"source.coffee"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)json\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.json",patterns:[{include:"source.json"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)jsonc\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.json.comments",patterns:[{include:"source.json.comments"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)json5\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.json5",patterns:[{include:"source.json5"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)yaml\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.yaml",patterns:[{include:"source.yaml"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)toml\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.toml",patterns:[{include:"source.toml"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)(gql|graphql)\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.graphql",patterns:[{include:"source.graphql"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)vue\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.vue",patterns:[{include:"source.vue"}]}]},{begin:"(template)\\b",beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/template\\b)",name:"text.html.derivative",patterns:[{include:"#html-stuff"}]}]},{begin:"(script)\\b",beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/script\\b)",name:"source.js",patterns:[{include:"source.js"}]}]},{begin:"(style)\\b",beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/style\\b)",name:"source.css",patterns:[{include:"source.css"}]}]},{begin:"([a-zA-Z0-9:-]+)",beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"text"}]}]}],repository:{"html-stuff":{patterns:[{include:"#template-tag"},{include:"text.html.derivative"},{include:"text.html.basic"}]},"self-closing-tag":{begin:"(<)([a-zA-Z0-9:-]+)(?=([^>]+/>))",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},end:"(/>)",endCaptures:{1:{name:"punctuation.definition.tag.end.html.vue"}},name:"self-closing-tag",patterns:[{include:"#tag-stuff"}]},"tag-stuff":{begin:"\\G",end:"(?=/>)|(>)",endCaptures:{1:{name:"punctuation.definition.tag.end.html.vue"}},name:"meta.tag-stuff",patterns:[{include:"#vue-directives"},{include:"text.html.basic#attribute"}]},"template-tag":{patterns:[{include:"#template-tag-1"},{include:"#template-tag-2"}]},"template-tag-1":{begin:"(<)(template)\\b(>)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"},3:{name:"punctuation.definition.tag.end.html.vue"}},end:"(/?>)",endCaptures:{1:{name:"punctuation.definition.tag.end.html.vue"}},name:"meta.template-tag.start",patterns:[{begin:"\\G",end:"(?=/>)|((</)(template)\\b)",endCaptures:{2:{name:"punctuation.definition.tag.begin.html.vue"},3:{name:"entity.name.tag.$3.html.vue"}},name:"meta.template-tag.end",patterns:[{include:"#html-stuff"}]}]},"template-tag-2":{begin:"(<)(template)\\b",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},end:"(/?>)",endCaptures:{1:{name:"punctuation.definition.tag.end.html.vue"}},name:"meta.template-tag.start",patterns:[{begin:"\\G",end:"(?=/>)|((</)(template)\\b)",endCaptures:{2:{name:"punctuation.definition.tag.begin.html.vue"},3:{name:"entity.name.tag.$3.html.vue"}},name:"meta.template-tag.end",patterns:[{include:"#tag-stuff"},{include:"#html-stuff"}]}]},"vue-directives":{patterns:[{include:"#vue-directives-control"},{include:"#vue-directives-style-attr"},{include:"#vue-directives-original"},{include:"#vue-directives-generic-attr"}]},"vue-directives-control":{begin:"(v-for)|(v-if|v-else-if|v-else)",captures:{1:{name:"keyword.control.loop.vue"},2:{name:"keyword.control.conditional.vue"}},end:"(?=\\s*+[^=\\s])",name:"meta.attribute.directive.control.vue",patterns:[{include:"#vue-directives-expression"}]},"vue-directives-expression":{patterns:[{begin:"(=)\\s*('|\"|`)",beginCaptures:{1:{name:"punctuation.separator.key-value.html.vue"},2:{name:"punctuation.definition.string.begin.html.vue"}},end:"(\\2)",endCaptures:{1:{name:"punctuation.definition.string.end.html.vue"}},patterns:[{begin:"(?<=('|\"|`))",end:"(?=\\1)",name:"source.ts.embedded.html.vue",patterns:[{include:"source.ts#expression"}]}]},{begin:"(=)\\s*(?=[^'\"`])",beginCaptures:{1:{name:"punctuation.separator.key-value.html.vue"}},end:"(?=(\\s|>|\\/>))",patterns:[{begin:"(?=[^'\"`])",end:"(?=(\\s|>|\\/>))",name:"source.ts.embedded.html.vue",patterns:[{include:"source.ts#expression"}]}]}]},"vue-directives-generic-attr":{begin:"\\b(generic)\\s*(=)",captures:{1:{name:"entity.other.attribute-name.html.vue"},2:{name:"punctuation.separator.key-value.html.vue"}},end:`(?<='|")`,name:"meta.attribute.generic.vue",patterns:[{begin:`('|")`,beginCaptures:{1:{name:"punctuation.definition.string.begin.html.vue"}},comment:"https://github.com/microsoft/vscode/blob/fd4346210f59135fad81a8b8c4cea7bf5a9ca6b4/extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json#L4002-L4020",end:"(\\1)",endCaptures:{1:{name:"punctuation.definition.string.end.html.vue"}},name:"meta.type.parameters.vue",patterns:[{include:"source.ts#comment"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(extends|in|out)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"storage.modifier.ts"},{include:"source.ts#type"},{include:"source.ts#punctuation-comma"},{match:"(=)(?!>)",name:"keyword.operator.assignment.ts"}]}]},"vue-directives-original":{begin:"(?:\\b(v-)|([:\\.])|(@)|(#))(\\[?)([\\w\\-]*)(\\]?)(?:\\.([\\w\\-]*))*",beginCaptures:{1:{name:"entity.other.attribute-name.html.vue"},2:{name:"punctuation.attribute-shorthand.bind.html.vue"},3:{name:"punctuation.attribute-shorthand.event.html.vue"},4:{name:"punctuation.attribute-shorthand.slot.html.vue"},5:{name:"punctuation.separator.key-value.html.vue"},6:{name:"entity.other.attribute-name.html.vue"},7:{name:"punctuation.separator.key-value.html.vue"},8:{name:"entity.other.attribute-name.html.vue"},9:{name:"punctuation.separator.key-value.html.vue"}},end:"(?=\\s*+[^=\\s])",endCaptures:{1:{name:"punctuation.definition.string.end.html.vue"}},name:"meta.attribute.directive.vue",patterns:[{include:"#vue-directives-expression"}]},"vue-directives-style-attr":{begin:"\\b(style)\\s*(=)",captures:{1:{name:"entity.other.attribute-name.html.vue"},2:{name:"punctuation.separator.key-value.html.vue"}},end:`(?<='|")`,name:"meta.attribute.style.vue",patterns:[{begin:`('|")`,beginCaptures:{1:{name:"punctuation.definition.string.begin.html.vue"}},comment:"Copy from source.css#rule-list-innards",end:"(\\1)",endCaptures:{1:{name:"punctuation.definition.string.end.html.vue"}},name:"source.css.embedded.html.vue",patterns:[{include:"source.css#comment-block"},{include:"source.css#escapes"},{include:"source.css#font-features"},{match:`(?x) (?<![\\w-])
1998
1998
  --
1999
1999
  (?:[-a-zA-Z_] | [^\\x00-\\x7F])
2000
2000
  (?:[-a-zA-Z0-9_] | [^\\x00-\\x7F]
2001
2001
  |\\\\(?:[0-9a-fA-F]{1,6}|.)
2002
- )*`,name:"variable.css"},{begin:"(?<![-a-zA-Z])(?=[-a-zA-Z])",end:"$|(?![-a-zA-Z])",name:"meta.property-name.css",patterns:[{include:"source.css#property-names"}]},{begin:"(:)\\s*",beginCaptures:{1:{name:"punctuation.separator.key-value.css"}},comment:"Modify end to fix #199. TODO: handle ' character.",contentName:"meta.property-value.css",end:`\\s*(;)|\\s*(?='|")`,endCaptures:{1:{name:"punctuation.terminator.rule.css"}},patterns:[{include:"source.css#comment-block"},{include:"source.css#property-values"}]},{match:";",name:"punctuation.terminator.rule.css"}]}]},"vue-interpolations":{patterns:[{begin:"(\\{\\{)",beginCaptures:{1:{name:"punctuation.definition.interpolation.begin.html.vue"}},end:"(\\}\\})",endCaptures:{1:{name:"punctuation.definition.interpolation.end.html.vue"}},name:"expression.embedded.vue",patterns:[{begin:"\\G",end:"(?=\\}\\})",name:"source.ts.embedded.html.vue",patterns:[{include:"source.ts"}]}]}]}},scopeName:"source.vue",embeddedLangs:["html","markdown","pug","stylus","sass","css","scss","less","javascript","typescript","jsx","tsx","coffee","json","jsonc","json5","yaml","toml","graphql","html-derivative","markdown-vue","vue-directives","vue-interpolations","vue-sfc-style-variable-injection"]});var W=[...n,...d,..._,...r,...s,...t,...i,...$,...e,...a,...c,...l,...o,...u,...v,...q,...m,...A,...F,...N,...S,...T,...D,...P,L];export{W as default};
2002
+ )*`,name:"variable.css"},{begin:"(?<![-a-zA-Z])(?=[-a-zA-Z])",end:"$|(?![-a-zA-Z])",name:"meta.property-name.css",patterns:[{include:"source.css#property-names"}]},{begin:"(:)\\s*",beginCaptures:{1:{name:"punctuation.separator.key-value.css"}},comment:"Modify end to fix #199. TODO: handle ' character.",contentName:"meta.property-value.css",end:`\\s*(;)|\\s*(?='|")`,endCaptures:{1:{name:"punctuation.terminator.rule.css"}},patterns:[{include:"source.css#comment-block"},{include:"source.css#property-values"}]},{match:";",name:"punctuation.terminator.rule.css"}]}]},"vue-interpolations":{patterns:[{begin:"(\\{\\{)",beginCaptures:{1:{name:"punctuation.definition.interpolation.begin.html.vue"}},end:"(\\}\\})",endCaptures:{1:{name:"punctuation.definition.interpolation.end.html.vue"}},name:"expression.embedded.vue",patterns:[{begin:"\\G",end:"(?=\\}\\})",name:"source.ts.embedded.html.vue",patterns:[{include:"source.ts#expression"}]}]}]}},scopeName:"source.vue",embeddedLangs:["html","markdown","pug","stylus","sass","css","scss","less","javascript","typescript","jsx","tsx","coffee","json","jsonc","json5","yaml","toml","graphql","html-derivative","markdown-vue","vue-directives","vue-interpolations","vue-sfc-style-variable-injection"]});var W=[...n,...d,..._,...r,...s,...t,...i,...$,...e,...a,...c,...l,...o,...u,...v,...q,...m,...A,...F,...N,...S,...T,...D,...P,L];export{W as default};