@master/css-language-server 2.0.0-beta.106 → 2.0.0-beta.107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/server.js +32 -32
- package/dist/server.mjs +32 -32
- package/package.json +1 -1
package/dist/server.js
CHANGED
|
@@ -7,14 +7,14 @@ globstar while`,e,f,r,d,p),this.matchOne(e.slice(f),r.slice(d),n))return this.de
|
|
|
7
7
|
This indicates that your JavaScript environment is broken. You cannot use
|
|
8
8
|
esbuild in this environment because esbuild relies on this invariant. This
|
|
9
9
|
is not a problem with esbuild. You need to fix your environment instead.
|
|
10
|
-
`);function fB(t,e){return t[e++]|t[e++]<<8|t[e++]<<16|t[e++]<<24}function t2(t,e,r){t[r++]=e,t[r++]=e>>8,t[r++]=e>>16,t[r++]=e>>24}var Tr=JSON.stringify,Z$="warning",eB="silent";function tB(t){if(_r(t,"target"),t.indexOf(",")>=0)throw new Error(`Invalid target: ${t}`);return t}var Kg=()=>null,xt=t=>typeof t=="boolean"?null:"a boolean",V1e=t=>typeof t=="boolean"||typeof t=="object"&&!Array.isArray(t)?null:"a boolean or an object",Oe=t=>typeof t=="string"?null:"a string",Yg=t=>t instanceof RegExp?null:"a RegExp object",hu=t=>typeof t=="number"&&t===(t|0)?null:"an integer",i2=t=>typeof t=="function"?null:"a function",rr=t=>Array.isArray(t)?null:"an array",ei=t=>typeof t=="object"&&t!==null&&!Array.isArray(t)?null:"an object",G1e=t=>t instanceof WebAssembly.Module?null:"a WebAssembly.Module",K1e=t=>typeof t=="object"&&t!==null?null:"an array or an object",rB=t=>typeof t=="object"&&!Array.isArray(t)?null:"an object or null",dB=t=>typeof t=="string"||typeof t=="boolean"?null:"a string or a boolean",Y1e=t=>typeof t=="string"||typeof t=="object"&&t!==null&&!Array.isArray(t)?null:"a string or an object",Q1e=t=>typeof t=="string"||Array.isArray(t)?null:"a string or an array",pB=t=>typeof t=="string"||t instanceof Uint8Array?null:"a string or a Uint8Array",J1e=t=>typeof t=="string"||t instanceof URL?null:"a string or a URL";function K(t,e,r,n){let i=t[r];if(e[r+""]=!0,i===void 0)return;let s=n(i);if(s!==null)throw new Error(`${Tr(r)} must be ${s}`);return i}function or(t,e,r){for(let n in t)if(!(n in e))throw new Error(`Invalid option ${r}: ${Tr(n)}`)}function X1e(t){let e=Object.create(null),r=K(t,e,"wasmURL",J1e),n=K(t,e,"wasmModule",G1e),i=K(t,e,"worker",xt);return or(t,e,"in initialize() call"),{wasmURL:r,wasmModule:n,worker:i}}function hB(t){let e;if(t!==void 0){e=Object.create(null);for(let r in t){let n=t[r];if(typeof n=="string"||n===!1)e[r]=n;else throw new Error(`Expected ${Tr(r)} in mangle cache to map to either a string or false`)}}return e}function Xg(t,e,r,n,i){let s=K(e,r,"color",xt),o=K(e,r,"logLevel",Oe),a=K(e,r,"logLimit",hu);s!==void 0?t.push(`--color=${s}`):n&&t.push("--color=true"),t.push(`--log-level=${o||i}`),t.push(`--log-limit=${a||0}`)}function _r(t,e,r){if(typeof t!="string")throw new Error(`Expected value for ${e}${r!==void 0?" "+Tr(r):""} to be a string, got ${typeof t} instead`);return t}function gB(t,e,r){let n=K(e,r,"legalComments",Oe),i=K(e,r,"sourceRoot",Oe),s=K(e,r,"sourcesContent",xt),o=K(e,r,"target",Q1e),a=K(e,r,"format",Oe),u=K(e,r,"globalName",Oe),l=K(e,r,"mangleProps",Yg),c=K(e,r,"reserveProps",Yg),f=K(e,r,"mangleQuoted",xt),d=K(e,r,"minify",xt),p=K(e,r,"minifySyntax",xt),h=K(e,r,"minifyWhitespace",xt),y=K(e,r,"minifyIdentifiers",xt),v=K(e,r,"drop",rr),g=K(e,r,"charset",Oe),b=K(e,r,"treeShaking",xt),w=K(e,r,"ignoreAnnotations",xt),_=K(e,r,"jsx",Oe),S=K(e,r,"jsxFactory",Oe),q=K(e,r,"jsxFragment",Oe),C=K(e,r,"jsxImportSource",Oe),R=K(e,r,"jsxDev",xt),O=K(e,r,"jsxSideEffects",xt),z=K(e,r,"define",ei),F=K(e,r,"logOverride",ei),ee=K(e,r,"supported",ei),G=K(e,r,"pure",rr),ae=K(e,r,"keepNames",xt),L=K(e,r,"platform",Oe);if(n&&t.push(`--legal-comments=${n}`),i!==void 0&&t.push(`--source-root=${i}`),s!==void 0&&t.push(`--sources-content=${s}`),o&&(Array.isArray(o)?t.push(`--target=${Array.from(o).map(tB).join(",")}`):t.push(`--target=${tB(o)}`)),a&&t.push(`--format=${a}`),u&&t.push(`--global-name=${u}`),L&&t.push(`--platform=${L}`),d&&t.push("--minify"),p&&t.push("--minify-syntax"),h&&t.push("--minify-whitespace"),y&&t.push("--minify-identifiers"),g&&t.push(`--charset=${g}`),b!==void 0&&t.push(`--tree-shaking=${b}`),w&&t.push("--ignore-annotations"),v)for(let M of v)t.push(`--drop:${_r(M,"drop")}`);if(l&&t.push(`--mangle-props=${l.source}`),c&&t.push(`--reserve-props=${c.source}`),f!==void 0&&t.push(`--mangle-quoted=${f}`),_&&t.push(`--jsx=${_}`),S&&t.push(`--jsx-factory=${S}`),q&&t.push(`--jsx-fragment=${q}`),C&&t.push(`--jsx-import-source=${C}`),R&&t.push("--jsx-dev"),O&&t.push("--jsx-side-effects"),z)for(let M in z){if(M.indexOf("=")>=0)throw new Error(`Invalid define: ${M}`);t.push(`--define:${M}=${_r(z[M],"define",M)}`)}if(F)for(let M in F){if(M.indexOf("=")>=0)throw new Error(`Invalid log override: ${M}`);t.push(`--log-override:${M}=${_r(F[M],"log override",M)}`)}if(ee)for(let M in ee){if(M.indexOf("=")>=0)throw new Error(`Invalid supported: ${M}`);let oe=ee[M];if(typeof oe!="boolean")throw new Error(`Expected value for supported ${Tr(M)} to be a boolean, got ${typeof oe} instead`);t.push(`--supported:${M}=${oe}`)}if(G)for(let M of G)t.push(`--pure:${_r(M,"pure")}`);ae&&t.push("--keep-names")}function Z1e(t,e,r,n,i){var s;let o=[],a=[],u=Object.create(null),l=null,c=null,f=null;Xg(o,e,u,r,n),gB(o,e,u);let d=K(e,u,"sourcemap",dB),p=K(e,u,"bundle",xt),h=K(e,u,"watch",V1e),y=K(e,u,"splitting",xt),v=K(e,u,"preserveSymlinks",xt),g=K(e,u,"metafile",xt),b=K(e,u,"outfile",Oe),w=K(e,u,"outdir",Oe),_=K(e,u,"outbase",Oe),S=K(e,u,"tsconfig",Oe),q=K(e,u,"resolveExtensions",rr),C=K(e,u,"nodePaths",rr),R=K(e,u,"mainFields",rr),O=K(e,u,"conditions",rr),z=K(e,u,"external",rr),F=K(e,u,"packages",Oe),ee=K(e,u,"alias",ei),G=K(e,u,"loader",ei),ae=K(e,u,"outExtension",ei),L=K(e,u,"publicPath",Oe),M=K(e,u,"entryNames",Oe),oe=K(e,u,"chunkNames",Oe),re=K(e,u,"assetNames",Oe),fe=K(e,u,"inject",rr),ue=K(e,u,"banner",ei),ie=K(e,u,"footer",ei),pe=K(e,u,"entryPoints",K1e),ve=K(e,u,"absWorkingDir",Oe),Ce=K(e,u,"stdin",ei),Qe=(s=K(e,u,"write",xt))!=null?s:i,be=K(e,u,"allowOverwrite",xt),Ct=K(e,u,"incremental",xt)===!0,dt=K(e,u,"mangleCache",ei);if(u.plugins=!0,or(e,u,`in ${t}() call`),d&&o.push(`--sourcemap${d===!0?"":`=${d}`}`),p&&o.push("--bundle"),be&&o.push("--allow-overwrite"),h)if(o.push("--watch"),typeof h=="boolean")f={};else{let le=Object.create(null),ne=K(h,le,"onRebuild",i2);or(h,le,`on "watch" in ${t}() call`),f={onRebuild:ne}}if(y&&o.push("--splitting"),v&&o.push("--preserve-symlinks"),g&&o.push("--metafile"),b&&o.push(`--outfile=${b}`),w&&o.push(`--outdir=${w}`),_&&o.push(`--outbase=${_}`),S&&o.push(`--tsconfig=${S}`),F&&o.push(`--packages=${F}`),q){let le=[];for(let ne of q){if(_r(ne,"resolve extension"),ne.indexOf(",")>=0)throw new Error(`Invalid resolve extension: ${ne}`);le.push(ne)}o.push(`--resolve-extensions=${le.join(",")}`)}if(L&&o.push(`--public-path=${L}`),M&&o.push(`--entry-names=${M}`),oe&&o.push(`--chunk-names=${oe}`),re&&o.push(`--asset-names=${re}`),R){let le=[];for(let ne of R){if(_r(ne,"main field"),ne.indexOf(",")>=0)throw new Error(`Invalid main field: ${ne}`);le.push(ne)}o.push(`--main-fields=${le.join(",")}`)}if(O){let le=[];for(let ne of O){if(_r(ne,"condition"),ne.indexOf(",")>=0)throw new Error(`Invalid condition: ${ne}`);le.push(ne)}o.push(`--conditions=${le.join(",")}`)}if(z)for(let le of z)o.push(`--external:${_r(le,"external")}`);if(ee)for(let le in ee){if(le.indexOf("=")>=0)throw new Error(`Invalid package name in alias: ${le}`);o.push(`--alias:${le}=${_r(ee[le],"alias",le)}`)}if(ue)for(let le in ue){if(le.indexOf("=")>=0)throw new Error(`Invalid banner file type: ${le}`);o.push(`--banner:${le}=${_r(ue[le],"banner",le)}`)}if(ie)for(let le in ie){if(le.indexOf("=")>=0)throw new Error(`Invalid footer file type: ${le}`);o.push(`--footer:${le}=${_r(ie[le],"footer",le)}`)}if(fe)for(let le of fe)o.push(`--inject:${_r(le,"inject")}`);if(G)for(let le in G){if(le.indexOf("=")>=0)throw new Error(`Invalid loader extension: ${le}`);o.push(`--loader:${le}=${_r(G[le],"loader",le)}`)}if(ae)for(let le in ae){if(le.indexOf("=")>=0)throw new Error(`Invalid out extension: ${le}`);o.push(`--out-extension:${le}=${_r(ae[le],"out extension",le)}`)}if(pe)if(Array.isArray(pe))for(let le of pe)a.push(["",_r(le,"entry point")]);else for(let le in pe)a.push([le,_r(pe[le],"entry point",le)]);if(Ce){let le=Object.create(null),ne=K(Ce,le,"contents",pB),Le=K(Ce,le,"resolveDir",Oe),ot=K(Ce,le,"sourcefile",Oe),zt=K(Ce,le,"loader",Oe);or(Ce,le,'in "stdin" object'),ot&&o.push(`--sourcefile=${ot}`),zt&&o.push(`--loader=${zt}`),Le&&(c=Le),typeof ne=="string"?l=ti(ne):ne instanceof Uint8Array&&(l=ne)}let de=[];if(C)for(let le of C)le+="",de.push(le);return{entries:a,flags:o,write:Qe,stdinContents:l,stdinResolveDir:c,absWorkingDir:ve,incremental:Ct,nodePaths:de,watch:f,mangleCache:hB(dt)}}function eSe(t,e,r,n){let i=[],s=Object.create(null);Xg(i,e,s,r,n),gB(i,e,s);let o=K(e,s,"sourcemap",dB),a=K(e,s,"tsconfigRaw",Y1e),u=K(e,s,"sourcefile",Oe),l=K(e,s,"loader",Oe),c=K(e,s,"banner",Oe),f=K(e,s,"footer",Oe),d=K(e,s,"mangleCache",ei);return or(e,s,`in ${t}() call`),o&&i.push(`--sourcemap=${o===!0?"external":o}`),a&&i.push(`--tsconfig-raw=${typeof a=="string"?a:JSON.stringify(a)}`),u&&i.push(`--sourcefile=${u}`),l&&i.push(`--loader=${l}`),c&&i.push(`--banner=${c}`),f&&i.push(`--footer=${f}`),{flags:i,mangleCache:hB(d)}}function mB(t){let e={},r={didClose:!1,reason:""},n={},i=0,s=0,o=new Uint8Array(16*1024),a=0,u=w=>{let _=a+w.length;if(_>o.length){let q=new Uint8Array(_*2);q.set(o),o=q}o.set(w,a),a+=w.length;let S=0;for(;S+4<=a;){let q=fB(o,S);if(S+4+q>a)break;S+=4,h(o.subarray(S,S+q)),S+=q}S>0&&(o.copyWithin(0,S,a),a-=S)},l=w=>{r.didClose=!0,w&&(r.reason=": "+(w.message||w));let _="The service was stopped"+r.reason;for(let S in n)n[S](_,null);n={}},c=(w,_,S)=>{if(r.didClose)return S("The service is no longer running"+r.reason,null);let q=i++;n[q]=(C,R)=>{try{S(C,R)}finally{w&&w.unref()}},w&&w.ref(),t.writeToStdin(X$({id:q,isRequest:!0,value:_}))},f=(w,_)=>{if(r.didClose)throw new Error("The service is no longer running"+r.reason);t.writeToStdin(X$({id:w,isRequest:!1,value:_}))},d=async(w,_)=>{try{if(_.command==="ping"){f(w,{});return}if(typeof _.key=="number"){let S=e[_.key];if(S){let q=S[_.command];if(q){await q(w,_);return}}}throw new Error("Invalid command: "+_.command)}catch(S){f(w,{errors:[gu(S,t,null,void 0,"")]})}},p=!0,h=w=>{if(p){p=!1;let S=String.fromCharCode(...w);if(S!=="0.16.17")throw new Error(`Cannot start service: Host version "0.16.17" does not match binary version ${Tr(S)}`);return}let _=H1e(w);if(_.isRequest)d(_.id,_.value);else{let S=n[_.id];delete n[_.id],_.value.error?S(_.value.error,{}):S(null,_.value)}};return{readFromStdout:u,afterClose:l,service:{buildOrServe:({callName:w,refs:_,serveOptions:S,options:q,isTTY:C,defaultWD:R,callback:O})=>{let z=0,F=s++,ee={},G={ref(){++z===1&&_&&_.ref()},unref(){--z===0&&(delete e[F],_&&_.unref())}};e[F]=ee,G.ref(),tSe(w,F,c,f,G,t,ee,q,S,C,R,r,(ae,L)=>{try{O(ae,L)}finally{G.unref()}})},transform:({callName:w,refs:_,input:S,options:q,isTTY:C,fs:R,callback:O})=>{let z=yB(),F=ee=>{try{if(typeof S!="string"&&!(S instanceof Uint8Array))throw new Error('The input to "transform" must be a string or a Uint8Array');let{flags:G,mangleCache:ae}=eSe(w,q,C,eB),L={command:"transform",flags:G,inputFS:ee!==null,input:ee!==null?ti(ee):typeof S=="string"?ti(S):S};ae&&(L.mangleCache=ae),c(_,L,(M,oe)=>{if(M)return O(new Error(M),null);let re=Fs(oe.errors,z),fe=Fs(oe.warnings,z),ue=1,ie=()=>{if(--ue===0){let pe={warnings:fe,code:oe.code,map:oe.map};"legalComments"in oe&&(pe.legalComments=oe?.legalComments),oe.mangleCache&&(pe.mangleCache=oe?.mangleCache),O(null,pe)}};if(re.length>0)return O(du("Transform failed",re,fe),null);oe.codeFS&&(ue++,R.readFile(oe.code,(pe,ve)=>{pe!==null?O(pe,null):(oe.code=ve,ie())})),oe.mapFS&&(ue++,R.readFile(oe.map,(pe,ve)=>{pe!==null?O(pe,null):(oe.map=ve,ie())})),ie()})}catch(G){let ae=[];try{Xg(ae,q,{},C,eB)}catch{}let L=gu(G,t,z,void 0,"");c(_,{command:"error",flags:ae,error:L},()=>{L.detail=z.load(L.detail),O(du("Transform failed",[L],[]),null)})}};if((typeof S=="string"||S instanceof Uint8Array)&&S.length>1024*1024){let ee=F;F=()=>R.writeFile(S,ee)}F(null)},formatMessages:({callName:w,refs:_,messages:S,options:q,callback:C})=>{let R=To(S,"messages",null,"");if(!q)throw new Error(`Missing second argument in ${w}() call`);let O={},z=K(q,O,"kind",Oe),F=K(q,O,"color",xt),ee=K(q,O,"terminalWidth",hu);if(or(q,O,`in ${w}() call`),z===void 0)throw new Error(`Missing "kind" in ${w}() call`);if(z!=="error"&&z!=="warning")throw new Error(`Expected "kind" to be "error" or "warning" in ${w}() call`);let G={command:"format-msgs",messages:R,isWarning:z==="warning"};F!==void 0&&(G.color=F),ee!==void 0&&(G.terminalWidth=ee),c(_,G,(ae,L)=>{if(ae)return C(new Error(ae),null);C(null,L.messages)})},analyzeMetafile:({callName:w,refs:_,metafile:S,options:q,callback:C})=>{q===void 0&&(q={});let R={},O=K(q,R,"color",xt),z=K(q,R,"verbose",xt);or(q,R,`in ${w}() call`);let F={command:"analyze-metafile",metafile:S};O!==void 0&&(F.color=O),z!==void 0&&(F.verbose=z),c(_,F,(ee,G)=>{if(ee)return C(new Error(ee),null);C(null,G.result)})}}}}function tSe(t,e,r,n,i,s,o,a,u,l,c,f,d){let p=yB(),h=(b,w,_,S)=>{let q=[];try{Xg(q,a,{},l,Z$)}catch{}let C=gu(b,s,p,_,w);r(i,{command:"error",flags:q,error:C},()=>{C.detail=p.load(C.detail),S(C)})},y=(b,w)=>{h(b,w,void 0,_=>{d(du("Build failed",[_],[]),null)})},v;if(typeof a=="object"){let b=a.plugins;if(b!==void 0){if(!Array.isArray(b))throw new Error('"plugins" must be an array');v=b}}if(v&&v.length>0){if(s.isSync){y(new Error("Cannot use plugins in synchronous API calls"),"");return}nSe(e,r,n,i,s,o,a,v,p).then(b=>{if(!b.ok){y(b.error,b.pluginName);return}try{g(b.requestPlugins,b.runOnEndCallbacks)}catch(w){y(w,"")}},b=>y(b,""));return}try{g(null,(b,w,_)=>_())}catch(b){y(b,"")}function g(b,w){let _=!s.isWriteUnavailable,{entries:S,flags:q,write:C,stdinContents:R,stdinResolveDir:O,absWorkingDir:z,incremental:F,nodePaths:ee,watch:G,mangleCache:ae}=Z1e(t,a,l,Z$,_),L={command:"build",key:e,entries:S,flags:q,write:C,stdinContents:R,stdinResolveDir:O,absWorkingDir:z||c,incremental:F,nodePaths:ee};b&&(L.plugins=b),ae&&(L.mangleCache=ae);let M=u&&rSe(e,r,n,i,o,u,L),oe,re,fe=(ie,pe)=>{ie.outputFiles&&(pe.outputFiles=ie.outputFiles.map(iSe)),ie.metafile&&(pe.metafile=JSON.parse(ie.metafile)),ie.mangleCache&&(pe.mangleCache=ie.mangleCache),ie.writeToStdout!==void 0&&console.log(mu(ie.writeToStdout).replace(/\n$/,""))},ue=(ie,pe)=>{let ve={errors:Fs(ie.errors,p),warnings:Fs(ie.warnings,p)};fe(ie,ve),w(ve,h,()=>{if(ve.errors.length>0)return pe(du("Build failed",ve.errors,ve.warnings),null);if(ie.rebuild){if(!oe){let Ce=!1;oe=()=>new Promise((Qe,be)=>{if(Ce||f.didClose)throw new Error("Cannot rebuild");r(i,{command:"rebuild",key:e},(Ct,dt)=>{if(Ct)return pe(du("Build failed",[{id:"",pluginName:"",text:Ct,location:null,notes:[],detail:void 0}],[]),null);ue(dt,(de,le)=>{de?be(de):Qe(le)})})}),i.ref(),oe.dispose=()=>{Ce||(Ce=!0,r(i,{command:"rebuild-dispose",key:e},()=>{}),i.unref())}}ve.rebuild=oe}if(ie.watch){if(!re){let Ce=!1;i.ref(),re=()=>{Ce||(Ce=!0,delete o["watch-rebuild"],r(i,{command:"watch-stop",key:e},()=>{}),i.unref())},G&&(o["watch-rebuild"]=(Qe,be)=>{try{let Ct=be.args,dt={errors:Fs(Ct.errors,p),warnings:Fs(Ct.warnings,p)};fe(Ct,dt),w(dt,h,()=>{if(dt.errors.length>0){G.onRebuild&&G.onRebuild(du("Build failed",dt.errors,dt.warnings),null);return}dt.stop=re,G.onRebuild&&G.onRebuild(null,dt)})}catch(Ct){console.error(Ct)}n(Qe,{})})}ve.stop=re}pe(null,ve)})};if(C&&s.isWriteUnavailable)throw new Error('The "write" option is unavailable in this environment');if(F&&s.isSync)throw new Error('Cannot use "incremental" with a synchronous build');if(G&&s.isSync)throw new Error('Cannot use "watch" with a synchronous build');r(i,L,(ie,pe)=>{if(ie)return d(new Error(ie),null);if(M){let ve=pe,Ce=!1;i.ref();let Qe={port:ve.port,host:ve.host,wait:M.wait,stop(){Ce||(Ce=!0,M.stop(),i.unref())}};return i.ref(),M.wait.then(i.unref,i.unref),d(null,Qe)}return ue(pe,d)})}}var rSe=(t,e,r,n,i,s,o)=>{let a={},u=K(s,a,"port",hu),l=K(s,a,"host",Oe),c=K(s,a,"servedir",Oe),f=K(s,a,"onRequest",i2),d=new Promise((p,h)=>{i["serve-wait"]=(y,v)=>{v.error!==null?h(new Error(v.error)):p(),r(y,{})}});return o.serve={},or(s,a,"in serve() call"),u!==void 0&&(o.serve.port=u),l!==void 0&&(o.serve.host=l),c!==void 0&&(o.serve.servedir=c),i["serve-request"]=(p,h)=>{f&&f(h.args),r(p,{})},{wait:d,stop(){e(n,{command:"serve-stop",key:t},()=>{})}}},nSe=async(t,e,r,n,i,s,o,a,u)=>{let l=[],c=[],f={},d={},p=0,h=0,y=[],v=!1;a=[...a];for(let b of a){let w={};if(typeof b!="object")throw new Error(`Plugin at index ${h} must be an object`);let _=K(b,w,"name",Oe);if(typeof _!="string"||_==="")throw new Error(`Plugin at index ${h} is missing a name`);try{let S=K(b,w,"setup",i2);if(typeof S!="function")throw new Error("Plugin is missing a setup function");or(b,w,`on plugin ${Tr(_)}`);let q={name:_,onStart:!1,onEnd:!1,onResolve:[],onLoad:[]};h++;let R=S({initialOptions:o,resolve:(O,z={})=>{if(!v)throw new Error('Cannot call "resolve" before plugin setup has completed');if(typeof O!="string")throw new Error("The path to resolve must be a string");let F=Object.create(null),ee=K(z,F,"pluginName",Oe),G=K(z,F,"importer",Oe),ae=K(z,F,"namespace",Oe),L=K(z,F,"resolveDir",Oe),M=K(z,F,"kind",Oe),oe=K(z,F,"pluginData",Kg);return or(z,F,"in resolve() call"),new Promise((re,fe)=>{let ue={command:"resolve",path:O,key:t,pluginName:_};if(ee!=null&&(ue.pluginName=ee),G!=null&&(ue.importer=G),ae!=null&&(ue.namespace=ae),L!=null&&(ue.resolveDir=L),M!=null)ue.kind=M;else throw new Error('Must specify "kind" when calling "resolve"');oe!=null&&(ue.pluginData=u.store(oe)),e(n,ue,(ie,pe)=>{ie!==null?fe(new Error(ie)):re({errors:Fs(pe.errors,u),warnings:Fs(pe.warnings,u),path:pe.path,external:pe.external,sideEffects:pe.sideEffects,namespace:pe.namespace,suffix:pe.suffix,pluginData:u.load(pe.pluginData)})})})},onStart(O){let z='This error came from the "onStart" callback registered here:',F=Hg(new Error(z),i,"onStart");l.push({name:_,callback:O,note:F}),q.onStart=!0},onEnd(O){let z='This error came from the "onEnd" callback registered here:',F=Hg(new Error(z),i,"onEnd");c.push({name:_,callback:O,note:F}),q.onEnd=!0},onResolve(O,z){let F='This error came from the "onResolve" callback registered here:',ee=Hg(new Error(F),i,"onResolve"),G={},ae=K(O,G,"filter",Yg),L=K(O,G,"namespace",Oe);if(or(O,G,`in onResolve() call for plugin ${Tr(_)}`),ae==null)throw new Error("onResolve() call is missing a filter");let M=p++;f[M]={name:_,callback:z,note:ee},q.onResolve.push({id:M,filter:ae.source,namespace:L||""})},onLoad(O,z){let F='This error came from the "onLoad" callback registered here:',ee=Hg(new Error(F),i,"onLoad"),G={},ae=K(O,G,"filter",Yg),L=K(O,G,"namespace",Oe);if(or(O,G,`in onLoad() call for plugin ${Tr(_)}`),ae==null)throw new Error("onLoad() call is missing a filter");let M=p++;d[M]={name:_,callback:z,note:ee},q.onLoad.push({id:M,filter:ae.source,namespace:L||""})},esbuild:i.esbuild});R&&await R,y.push(q)}catch(S){return{ok:!1,error:S,pluginName:_}}}s["on-start"]=async(b,w)=>{let _={errors:[],warnings:[]};await Promise.all(l.map(async({name:S,callback:q,note:C})=>{try{let R=await q();if(R!=null){if(typeof R!="object")throw new Error(`Expected onStart() callback in plugin ${Tr(S)} to return an object`);let O={},z=K(R,O,"errors",rr),F=K(R,O,"warnings",rr);or(R,O,`from onStart() callback in plugin ${Tr(S)}`),z!=null&&_.errors.push(...To(z,"errors",u,S)),F!=null&&_.warnings.push(...To(F,"warnings",u,S))}}catch(R){_.errors.push(gu(R,i,u,C&&C(),S))}})),r(b,_)},s["on-resolve"]=async(b,w)=>{let _={},S="",q,C;for(let R of w.ids)try{({name:S,callback:q,note:C}=f[R]);let O=await q({path:w.path,importer:w.importer,namespace:w.namespace,resolveDir:w.resolveDir,kind:w.kind,pluginData:u.load(w.pluginData)});if(O!=null){if(typeof O!="object")throw new Error(`Expected onResolve() callback in plugin ${Tr(S)} to return an object`);let z={},F=K(O,z,"pluginName",Oe),ee=K(O,z,"path",Oe),G=K(O,z,"namespace",Oe),ae=K(O,z,"suffix",Oe),L=K(O,z,"external",xt),M=K(O,z,"sideEffects",xt),oe=K(O,z,"pluginData",Kg),re=K(O,z,"errors",rr),fe=K(O,z,"warnings",rr),ue=K(O,z,"watchFiles",rr),ie=K(O,z,"watchDirs",rr);or(O,z,`from onResolve() callback in plugin ${Tr(S)}`),_.id=R,F!=null&&(_.pluginName=F),ee!=null&&(_.path=ee),G!=null&&(_.namespace=G),ae!=null&&(_.suffix=ae),L!=null&&(_.external=L),M!=null&&(_.sideEffects=M),oe!=null&&(_.pluginData=u.store(oe)),re!=null&&(_.errors=To(re,"errors",u,S)),fe!=null&&(_.warnings=To(fe,"warnings",u,S)),ue!=null&&(_.watchFiles=Vg(ue,"watchFiles")),ie!=null&&(_.watchDirs=Vg(ie,"watchDirs"));break}}catch(O){_={id:R,errors:[gu(O,i,u,C&&C(),S)]};break}r(b,_)},s["on-load"]=async(b,w)=>{let _={},S="",q,C;for(let R of w.ids)try{({name:S,callback:q,note:C}=d[R]);let O=await q({path:w.path,namespace:w.namespace,suffix:w.suffix,pluginData:u.load(w.pluginData)});if(O!=null){if(typeof O!="object")throw new Error(`Expected onLoad() callback in plugin ${Tr(S)} to return an object`);let z={},F=K(O,z,"pluginName",Oe),ee=K(O,z,"contents",pB),G=K(O,z,"resolveDir",Oe),ae=K(O,z,"pluginData",Kg),L=K(O,z,"loader",Oe),M=K(O,z,"errors",rr),oe=K(O,z,"warnings",rr),re=K(O,z,"watchFiles",rr),fe=K(O,z,"watchDirs",rr);or(O,z,`from onLoad() callback in plugin ${Tr(S)}`),_.id=R,F!=null&&(_.pluginName=F),ee instanceof Uint8Array?_.contents=ee:ee!=null&&(_.contents=ti(ee)),G!=null&&(_.resolveDir=G),ae!=null&&(_.pluginData=u.store(ae)),L!=null&&(_.loader=L),M!=null&&(_.errors=To(M,"errors",u,S)),oe!=null&&(_.warnings=To(oe,"warnings",u,S)),re!=null&&(_.watchFiles=Vg(re,"watchFiles")),fe!=null&&(_.watchDirs=Vg(fe,"watchDirs"));break}}catch(O){_={id:R,errors:[gu(O,i,u,C&&C(),S)]};break}r(b,_)};let g=(b,w,_)=>_();return c.length>0&&(g=(b,w,_)=>{(async()=>{for(let{name:S,callback:q,note:C}of c)try{await q(b)}catch(R){b.errors.push(await new Promise(O=>w(R,S,C&&C(),O)))}})().then(_)}),v=!0,{ok:!0,requestPlugins:y,runOnEndCallbacks:g}};function yB(){let t=new Map,e=0;return{load(r){return t.get(r)},store(r){if(r===void 0)return-1;let n=e++;return t.set(n,r),n}}}function Hg(t,e,r){let n,i=!1;return()=>{if(i)return n;i=!0;try{let s=(t.stack+"").split(`
|
|
10
|
+
`);function fB(t,e){return t[e++]|t[e++]<<8|t[e++]<<16|t[e++]<<24}function t2(t,e,r){t[r++]=e,t[r++]=e>>8,t[r++]=e>>16,t[r++]=e>>24}var Tr=JSON.stringify,Z$="warning",eB="silent";function tB(t){if(_r(t,"target"),t.indexOf(",")>=0)throw new Error(`Invalid target: ${t}`);return t}var Kg=()=>null,xt=t=>typeof t=="boolean"?null:"a boolean",V1e=t=>typeof t=="boolean"||typeof t=="object"&&!Array.isArray(t)?null:"a boolean or an object",Oe=t=>typeof t=="string"?null:"a string",Yg=t=>t instanceof RegExp?null:"a RegExp object",hu=t=>typeof t=="number"&&t===(t|0)?null:"an integer",i2=t=>typeof t=="function"?null:"a function",rr=t=>Array.isArray(t)?null:"an array",ei=t=>typeof t=="object"&&t!==null&&!Array.isArray(t)?null:"an object",G1e=t=>t instanceof WebAssembly.Module?null:"a WebAssembly.Module",K1e=t=>typeof t=="object"&&t!==null?null:"an array or an object",rB=t=>typeof t=="object"&&!Array.isArray(t)?null:"an object or null",dB=t=>typeof t=="string"||typeof t=="boolean"?null:"a string or a boolean",Y1e=t=>typeof t=="string"||typeof t=="object"&&t!==null&&!Array.isArray(t)?null:"a string or an object",Q1e=t=>typeof t=="string"||Array.isArray(t)?null:"a string or an array",pB=t=>typeof t=="string"||t instanceof Uint8Array?null:"a string or a Uint8Array",J1e=t=>typeof t=="string"||t instanceof URL?null:"a string or a URL";function K(t,e,r,n){let i=t[r];if(e[r+""]=!0,i===void 0)return;let s=n(i);if(s!==null)throw new Error(`${Tr(r)} must be ${s}`);return i}function ar(t,e,r){for(let n in t)if(!(n in e))throw new Error(`Invalid option ${r}: ${Tr(n)}`)}function X1e(t){let e=Object.create(null),r=K(t,e,"wasmURL",J1e),n=K(t,e,"wasmModule",G1e),i=K(t,e,"worker",xt);return ar(t,e,"in initialize() call"),{wasmURL:r,wasmModule:n,worker:i}}function hB(t){let e;if(t!==void 0){e=Object.create(null);for(let r in t){let n=t[r];if(typeof n=="string"||n===!1)e[r]=n;else throw new Error(`Expected ${Tr(r)} in mangle cache to map to either a string or false`)}}return e}function Xg(t,e,r,n,i){let s=K(e,r,"color",xt),o=K(e,r,"logLevel",Oe),a=K(e,r,"logLimit",hu);s!==void 0?t.push(`--color=${s}`):n&&t.push("--color=true"),t.push(`--log-level=${o||i}`),t.push(`--log-limit=${a||0}`)}function _r(t,e,r){if(typeof t!="string")throw new Error(`Expected value for ${e}${r!==void 0?" "+Tr(r):""} to be a string, got ${typeof t} instead`);return t}function gB(t,e,r){let n=K(e,r,"legalComments",Oe),i=K(e,r,"sourceRoot",Oe),s=K(e,r,"sourcesContent",xt),o=K(e,r,"target",Q1e),a=K(e,r,"format",Oe),u=K(e,r,"globalName",Oe),l=K(e,r,"mangleProps",Yg),c=K(e,r,"reserveProps",Yg),f=K(e,r,"mangleQuoted",xt),d=K(e,r,"minify",xt),p=K(e,r,"minifySyntax",xt),h=K(e,r,"minifyWhitespace",xt),y=K(e,r,"minifyIdentifiers",xt),v=K(e,r,"drop",rr),g=K(e,r,"charset",Oe),b=K(e,r,"treeShaking",xt),w=K(e,r,"ignoreAnnotations",xt),_=K(e,r,"jsx",Oe),S=K(e,r,"jsxFactory",Oe),q=K(e,r,"jsxFragment",Oe),C=K(e,r,"jsxImportSource",Oe),R=K(e,r,"jsxDev",xt),O=K(e,r,"jsxSideEffects",xt),z=K(e,r,"define",ei),F=K(e,r,"logOverride",ei),ee=K(e,r,"supported",ei),G=K(e,r,"pure",rr),ae=K(e,r,"keepNames",xt),L=K(e,r,"platform",Oe);if(n&&t.push(`--legal-comments=${n}`),i!==void 0&&t.push(`--source-root=${i}`),s!==void 0&&t.push(`--sources-content=${s}`),o&&(Array.isArray(o)?t.push(`--target=${Array.from(o).map(tB).join(",")}`):t.push(`--target=${tB(o)}`)),a&&t.push(`--format=${a}`),u&&t.push(`--global-name=${u}`),L&&t.push(`--platform=${L}`),d&&t.push("--minify"),p&&t.push("--minify-syntax"),h&&t.push("--minify-whitespace"),y&&t.push("--minify-identifiers"),g&&t.push(`--charset=${g}`),b!==void 0&&t.push(`--tree-shaking=${b}`),w&&t.push("--ignore-annotations"),v)for(let M of v)t.push(`--drop:${_r(M,"drop")}`);if(l&&t.push(`--mangle-props=${l.source}`),c&&t.push(`--reserve-props=${c.source}`),f!==void 0&&t.push(`--mangle-quoted=${f}`),_&&t.push(`--jsx=${_}`),S&&t.push(`--jsx-factory=${S}`),q&&t.push(`--jsx-fragment=${q}`),C&&t.push(`--jsx-import-source=${C}`),R&&t.push("--jsx-dev"),O&&t.push("--jsx-side-effects"),z)for(let M in z){if(M.indexOf("=")>=0)throw new Error(`Invalid define: ${M}`);t.push(`--define:${M}=${_r(z[M],"define",M)}`)}if(F)for(let M in F){if(M.indexOf("=")>=0)throw new Error(`Invalid log override: ${M}`);t.push(`--log-override:${M}=${_r(F[M],"log override",M)}`)}if(ee)for(let M in ee){if(M.indexOf("=")>=0)throw new Error(`Invalid supported: ${M}`);let oe=ee[M];if(typeof oe!="boolean")throw new Error(`Expected value for supported ${Tr(M)} to be a boolean, got ${typeof oe} instead`);t.push(`--supported:${M}=${oe}`)}if(G)for(let M of G)t.push(`--pure:${_r(M,"pure")}`);ae&&t.push("--keep-names")}function Z1e(t,e,r,n,i){var s;let o=[],a=[],u=Object.create(null),l=null,c=null,f=null;Xg(o,e,u,r,n),gB(o,e,u);let d=K(e,u,"sourcemap",dB),p=K(e,u,"bundle",xt),h=K(e,u,"watch",V1e),y=K(e,u,"splitting",xt),v=K(e,u,"preserveSymlinks",xt),g=K(e,u,"metafile",xt),b=K(e,u,"outfile",Oe),w=K(e,u,"outdir",Oe),_=K(e,u,"outbase",Oe),S=K(e,u,"tsconfig",Oe),q=K(e,u,"resolveExtensions",rr),C=K(e,u,"nodePaths",rr),R=K(e,u,"mainFields",rr),O=K(e,u,"conditions",rr),z=K(e,u,"external",rr),F=K(e,u,"packages",Oe),ee=K(e,u,"alias",ei),G=K(e,u,"loader",ei),ae=K(e,u,"outExtension",ei),L=K(e,u,"publicPath",Oe),M=K(e,u,"entryNames",Oe),oe=K(e,u,"chunkNames",Oe),re=K(e,u,"assetNames",Oe),fe=K(e,u,"inject",rr),ue=K(e,u,"banner",ei),ie=K(e,u,"footer",ei),pe=K(e,u,"entryPoints",K1e),ve=K(e,u,"absWorkingDir",Oe),Ce=K(e,u,"stdin",ei),Qe=(s=K(e,u,"write",xt))!=null?s:i,be=K(e,u,"allowOverwrite",xt),Ct=K(e,u,"incremental",xt)===!0,dt=K(e,u,"mangleCache",ei);if(u.plugins=!0,ar(e,u,`in ${t}() call`),d&&o.push(`--sourcemap${d===!0?"":`=${d}`}`),p&&o.push("--bundle"),be&&o.push("--allow-overwrite"),h)if(o.push("--watch"),typeof h=="boolean")f={};else{let le=Object.create(null),ne=K(h,le,"onRebuild",i2);ar(h,le,`on "watch" in ${t}() call`),f={onRebuild:ne}}if(y&&o.push("--splitting"),v&&o.push("--preserve-symlinks"),g&&o.push("--metafile"),b&&o.push(`--outfile=${b}`),w&&o.push(`--outdir=${w}`),_&&o.push(`--outbase=${_}`),S&&o.push(`--tsconfig=${S}`),F&&o.push(`--packages=${F}`),q){let le=[];for(let ne of q){if(_r(ne,"resolve extension"),ne.indexOf(",")>=0)throw new Error(`Invalid resolve extension: ${ne}`);le.push(ne)}o.push(`--resolve-extensions=${le.join(",")}`)}if(L&&o.push(`--public-path=${L}`),M&&o.push(`--entry-names=${M}`),oe&&o.push(`--chunk-names=${oe}`),re&&o.push(`--asset-names=${re}`),R){let le=[];for(let ne of R){if(_r(ne,"main field"),ne.indexOf(",")>=0)throw new Error(`Invalid main field: ${ne}`);le.push(ne)}o.push(`--main-fields=${le.join(",")}`)}if(O){let le=[];for(let ne of O){if(_r(ne,"condition"),ne.indexOf(",")>=0)throw new Error(`Invalid condition: ${ne}`);le.push(ne)}o.push(`--conditions=${le.join(",")}`)}if(z)for(let le of z)o.push(`--external:${_r(le,"external")}`);if(ee)for(let le in ee){if(le.indexOf("=")>=0)throw new Error(`Invalid package name in alias: ${le}`);o.push(`--alias:${le}=${_r(ee[le],"alias",le)}`)}if(ue)for(let le in ue){if(le.indexOf("=")>=0)throw new Error(`Invalid banner file type: ${le}`);o.push(`--banner:${le}=${_r(ue[le],"banner",le)}`)}if(ie)for(let le in ie){if(le.indexOf("=")>=0)throw new Error(`Invalid footer file type: ${le}`);o.push(`--footer:${le}=${_r(ie[le],"footer",le)}`)}if(fe)for(let le of fe)o.push(`--inject:${_r(le,"inject")}`);if(G)for(let le in G){if(le.indexOf("=")>=0)throw new Error(`Invalid loader extension: ${le}`);o.push(`--loader:${le}=${_r(G[le],"loader",le)}`)}if(ae)for(let le in ae){if(le.indexOf("=")>=0)throw new Error(`Invalid out extension: ${le}`);o.push(`--out-extension:${le}=${_r(ae[le],"out extension",le)}`)}if(pe)if(Array.isArray(pe))for(let le of pe)a.push(["",_r(le,"entry point")]);else for(let le in pe)a.push([le,_r(pe[le],"entry point",le)]);if(Ce){let le=Object.create(null),ne=K(Ce,le,"contents",pB),Le=K(Ce,le,"resolveDir",Oe),ot=K(Ce,le,"sourcefile",Oe),zt=K(Ce,le,"loader",Oe);ar(Ce,le,'in "stdin" object'),ot&&o.push(`--sourcefile=${ot}`),zt&&o.push(`--loader=${zt}`),Le&&(c=Le),typeof ne=="string"?l=ti(ne):ne instanceof Uint8Array&&(l=ne)}let de=[];if(C)for(let le of C)le+="",de.push(le);return{entries:a,flags:o,write:Qe,stdinContents:l,stdinResolveDir:c,absWorkingDir:ve,incremental:Ct,nodePaths:de,watch:f,mangleCache:hB(dt)}}function eSe(t,e,r,n){let i=[],s=Object.create(null);Xg(i,e,s,r,n),gB(i,e,s);let o=K(e,s,"sourcemap",dB),a=K(e,s,"tsconfigRaw",Y1e),u=K(e,s,"sourcefile",Oe),l=K(e,s,"loader",Oe),c=K(e,s,"banner",Oe),f=K(e,s,"footer",Oe),d=K(e,s,"mangleCache",ei);return ar(e,s,`in ${t}() call`),o&&i.push(`--sourcemap=${o===!0?"external":o}`),a&&i.push(`--tsconfig-raw=${typeof a=="string"?a:JSON.stringify(a)}`),u&&i.push(`--sourcefile=${u}`),l&&i.push(`--loader=${l}`),c&&i.push(`--banner=${c}`),f&&i.push(`--footer=${f}`),{flags:i,mangleCache:hB(d)}}function mB(t){let e={},r={didClose:!1,reason:""},n={},i=0,s=0,o=new Uint8Array(16*1024),a=0,u=w=>{let _=a+w.length;if(_>o.length){let q=new Uint8Array(_*2);q.set(o),o=q}o.set(w,a),a+=w.length;let S=0;for(;S+4<=a;){let q=fB(o,S);if(S+4+q>a)break;S+=4,h(o.subarray(S,S+q)),S+=q}S>0&&(o.copyWithin(0,S,a),a-=S)},l=w=>{r.didClose=!0,w&&(r.reason=": "+(w.message||w));let _="The service was stopped"+r.reason;for(let S in n)n[S](_,null);n={}},c=(w,_,S)=>{if(r.didClose)return S("The service is no longer running"+r.reason,null);let q=i++;n[q]=(C,R)=>{try{S(C,R)}finally{w&&w.unref()}},w&&w.ref(),t.writeToStdin(X$({id:q,isRequest:!0,value:_}))},f=(w,_)=>{if(r.didClose)throw new Error("The service is no longer running"+r.reason);t.writeToStdin(X$({id:w,isRequest:!1,value:_}))},d=async(w,_)=>{try{if(_.command==="ping"){f(w,{});return}if(typeof _.key=="number"){let S=e[_.key];if(S){let q=S[_.command];if(q){await q(w,_);return}}}throw new Error("Invalid command: "+_.command)}catch(S){f(w,{errors:[gu(S,t,null,void 0,"")]})}},p=!0,h=w=>{if(p){p=!1;let S=String.fromCharCode(...w);if(S!=="0.16.17")throw new Error(`Cannot start service: Host version "0.16.17" does not match binary version ${Tr(S)}`);return}let _=H1e(w);if(_.isRequest)d(_.id,_.value);else{let S=n[_.id];delete n[_.id],_.value.error?S(_.value.error,{}):S(null,_.value)}};return{readFromStdout:u,afterClose:l,service:{buildOrServe:({callName:w,refs:_,serveOptions:S,options:q,isTTY:C,defaultWD:R,callback:O})=>{let z=0,F=s++,ee={},G={ref(){++z===1&&_&&_.ref()},unref(){--z===0&&(delete e[F],_&&_.unref())}};e[F]=ee,G.ref(),tSe(w,F,c,f,G,t,ee,q,S,C,R,r,(ae,L)=>{try{O(ae,L)}finally{G.unref()}})},transform:({callName:w,refs:_,input:S,options:q,isTTY:C,fs:R,callback:O})=>{let z=yB(),F=ee=>{try{if(typeof S!="string"&&!(S instanceof Uint8Array))throw new Error('The input to "transform" must be a string or a Uint8Array');let{flags:G,mangleCache:ae}=eSe(w,q,C,eB),L={command:"transform",flags:G,inputFS:ee!==null,input:ee!==null?ti(ee):typeof S=="string"?ti(S):S};ae&&(L.mangleCache=ae),c(_,L,(M,oe)=>{if(M)return O(new Error(M),null);let re=Fs(oe.errors,z),fe=Fs(oe.warnings,z),ue=1,ie=()=>{if(--ue===0){let pe={warnings:fe,code:oe.code,map:oe.map};"legalComments"in oe&&(pe.legalComments=oe?.legalComments),oe.mangleCache&&(pe.mangleCache=oe?.mangleCache),O(null,pe)}};if(re.length>0)return O(du("Transform failed",re,fe),null);oe.codeFS&&(ue++,R.readFile(oe.code,(pe,ve)=>{pe!==null?O(pe,null):(oe.code=ve,ie())})),oe.mapFS&&(ue++,R.readFile(oe.map,(pe,ve)=>{pe!==null?O(pe,null):(oe.map=ve,ie())})),ie()})}catch(G){let ae=[];try{Xg(ae,q,{},C,eB)}catch{}let L=gu(G,t,z,void 0,"");c(_,{command:"error",flags:ae,error:L},()=>{L.detail=z.load(L.detail),O(du("Transform failed",[L],[]),null)})}};if((typeof S=="string"||S instanceof Uint8Array)&&S.length>1024*1024){let ee=F;F=()=>R.writeFile(S,ee)}F(null)},formatMessages:({callName:w,refs:_,messages:S,options:q,callback:C})=>{let R=To(S,"messages",null,"");if(!q)throw new Error(`Missing second argument in ${w}() call`);let O={},z=K(q,O,"kind",Oe),F=K(q,O,"color",xt),ee=K(q,O,"terminalWidth",hu);if(ar(q,O,`in ${w}() call`),z===void 0)throw new Error(`Missing "kind" in ${w}() call`);if(z!=="error"&&z!=="warning")throw new Error(`Expected "kind" to be "error" or "warning" in ${w}() call`);let G={command:"format-msgs",messages:R,isWarning:z==="warning"};F!==void 0&&(G.color=F),ee!==void 0&&(G.terminalWidth=ee),c(_,G,(ae,L)=>{if(ae)return C(new Error(ae),null);C(null,L.messages)})},analyzeMetafile:({callName:w,refs:_,metafile:S,options:q,callback:C})=>{q===void 0&&(q={});let R={},O=K(q,R,"color",xt),z=K(q,R,"verbose",xt);ar(q,R,`in ${w}() call`);let F={command:"analyze-metafile",metafile:S};O!==void 0&&(F.color=O),z!==void 0&&(F.verbose=z),c(_,F,(ee,G)=>{if(ee)return C(new Error(ee),null);C(null,G.result)})}}}}function tSe(t,e,r,n,i,s,o,a,u,l,c,f,d){let p=yB(),h=(b,w,_,S)=>{let q=[];try{Xg(q,a,{},l,Z$)}catch{}let C=gu(b,s,p,_,w);r(i,{command:"error",flags:q,error:C},()=>{C.detail=p.load(C.detail),S(C)})},y=(b,w)=>{h(b,w,void 0,_=>{d(du("Build failed",[_],[]),null)})},v;if(typeof a=="object"){let b=a.plugins;if(b!==void 0){if(!Array.isArray(b))throw new Error('"plugins" must be an array');v=b}}if(v&&v.length>0){if(s.isSync){y(new Error("Cannot use plugins in synchronous API calls"),"");return}nSe(e,r,n,i,s,o,a,v,p).then(b=>{if(!b.ok){y(b.error,b.pluginName);return}try{g(b.requestPlugins,b.runOnEndCallbacks)}catch(w){y(w,"")}},b=>y(b,""));return}try{g(null,(b,w,_)=>_())}catch(b){y(b,"")}function g(b,w){let _=!s.isWriteUnavailable,{entries:S,flags:q,write:C,stdinContents:R,stdinResolveDir:O,absWorkingDir:z,incremental:F,nodePaths:ee,watch:G,mangleCache:ae}=Z1e(t,a,l,Z$,_),L={command:"build",key:e,entries:S,flags:q,write:C,stdinContents:R,stdinResolveDir:O,absWorkingDir:z||c,incremental:F,nodePaths:ee};b&&(L.plugins=b),ae&&(L.mangleCache=ae);let M=u&&rSe(e,r,n,i,o,u,L),oe,re,fe=(ie,pe)=>{ie.outputFiles&&(pe.outputFiles=ie.outputFiles.map(iSe)),ie.metafile&&(pe.metafile=JSON.parse(ie.metafile)),ie.mangleCache&&(pe.mangleCache=ie.mangleCache),ie.writeToStdout!==void 0&&console.log(mu(ie.writeToStdout).replace(/\n$/,""))},ue=(ie,pe)=>{let ve={errors:Fs(ie.errors,p),warnings:Fs(ie.warnings,p)};fe(ie,ve),w(ve,h,()=>{if(ve.errors.length>0)return pe(du("Build failed",ve.errors,ve.warnings),null);if(ie.rebuild){if(!oe){let Ce=!1;oe=()=>new Promise((Qe,be)=>{if(Ce||f.didClose)throw new Error("Cannot rebuild");r(i,{command:"rebuild",key:e},(Ct,dt)=>{if(Ct)return pe(du("Build failed",[{id:"",pluginName:"",text:Ct,location:null,notes:[],detail:void 0}],[]),null);ue(dt,(de,le)=>{de?be(de):Qe(le)})})}),i.ref(),oe.dispose=()=>{Ce||(Ce=!0,r(i,{command:"rebuild-dispose",key:e},()=>{}),i.unref())}}ve.rebuild=oe}if(ie.watch){if(!re){let Ce=!1;i.ref(),re=()=>{Ce||(Ce=!0,delete o["watch-rebuild"],r(i,{command:"watch-stop",key:e},()=>{}),i.unref())},G&&(o["watch-rebuild"]=(Qe,be)=>{try{let Ct=be.args,dt={errors:Fs(Ct.errors,p),warnings:Fs(Ct.warnings,p)};fe(Ct,dt),w(dt,h,()=>{if(dt.errors.length>0){G.onRebuild&&G.onRebuild(du("Build failed",dt.errors,dt.warnings),null);return}dt.stop=re,G.onRebuild&&G.onRebuild(null,dt)})}catch(Ct){console.error(Ct)}n(Qe,{})})}ve.stop=re}pe(null,ve)})};if(C&&s.isWriteUnavailable)throw new Error('The "write" option is unavailable in this environment');if(F&&s.isSync)throw new Error('Cannot use "incremental" with a synchronous build');if(G&&s.isSync)throw new Error('Cannot use "watch" with a synchronous build');r(i,L,(ie,pe)=>{if(ie)return d(new Error(ie),null);if(M){let ve=pe,Ce=!1;i.ref();let Qe={port:ve.port,host:ve.host,wait:M.wait,stop(){Ce||(Ce=!0,M.stop(),i.unref())}};return i.ref(),M.wait.then(i.unref,i.unref),d(null,Qe)}return ue(pe,d)})}}var rSe=(t,e,r,n,i,s,o)=>{let a={},u=K(s,a,"port",hu),l=K(s,a,"host",Oe),c=K(s,a,"servedir",Oe),f=K(s,a,"onRequest",i2),d=new Promise((p,h)=>{i["serve-wait"]=(y,v)=>{v.error!==null?h(new Error(v.error)):p(),r(y,{})}});return o.serve={},ar(s,a,"in serve() call"),u!==void 0&&(o.serve.port=u),l!==void 0&&(o.serve.host=l),c!==void 0&&(o.serve.servedir=c),i["serve-request"]=(p,h)=>{f&&f(h.args),r(p,{})},{wait:d,stop(){e(n,{command:"serve-stop",key:t},()=>{})}}},nSe=async(t,e,r,n,i,s,o,a,u)=>{let l=[],c=[],f={},d={},p=0,h=0,y=[],v=!1;a=[...a];for(let b of a){let w={};if(typeof b!="object")throw new Error(`Plugin at index ${h} must be an object`);let _=K(b,w,"name",Oe);if(typeof _!="string"||_==="")throw new Error(`Plugin at index ${h} is missing a name`);try{let S=K(b,w,"setup",i2);if(typeof S!="function")throw new Error("Plugin is missing a setup function");ar(b,w,`on plugin ${Tr(_)}`);let q={name:_,onStart:!1,onEnd:!1,onResolve:[],onLoad:[]};h++;let R=S({initialOptions:o,resolve:(O,z={})=>{if(!v)throw new Error('Cannot call "resolve" before plugin setup has completed');if(typeof O!="string")throw new Error("The path to resolve must be a string");let F=Object.create(null),ee=K(z,F,"pluginName",Oe),G=K(z,F,"importer",Oe),ae=K(z,F,"namespace",Oe),L=K(z,F,"resolveDir",Oe),M=K(z,F,"kind",Oe),oe=K(z,F,"pluginData",Kg);return ar(z,F,"in resolve() call"),new Promise((re,fe)=>{let ue={command:"resolve",path:O,key:t,pluginName:_};if(ee!=null&&(ue.pluginName=ee),G!=null&&(ue.importer=G),ae!=null&&(ue.namespace=ae),L!=null&&(ue.resolveDir=L),M!=null)ue.kind=M;else throw new Error('Must specify "kind" when calling "resolve"');oe!=null&&(ue.pluginData=u.store(oe)),e(n,ue,(ie,pe)=>{ie!==null?fe(new Error(ie)):re({errors:Fs(pe.errors,u),warnings:Fs(pe.warnings,u),path:pe.path,external:pe.external,sideEffects:pe.sideEffects,namespace:pe.namespace,suffix:pe.suffix,pluginData:u.load(pe.pluginData)})})})},onStart(O){let z='This error came from the "onStart" callback registered here:',F=Hg(new Error(z),i,"onStart");l.push({name:_,callback:O,note:F}),q.onStart=!0},onEnd(O){let z='This error came from the "onEnd" callback registered here:',F=Hg(new Error(z),i,"onEnd");c.push({name:_,callback:O,note:F}),q.onEnd=!0},onResolve(O,z){let F='This error came from the "onResolve" callback registered here:',ee=Hg(new Error(F),i,"onResolve"),G={},ae=K(O,G,"filter",Yg),L=K(O,G,"namespace",Oe);if(ar(O,G,`in onResolve() call for plugin ${Tr(_)}`),ae==null)throw new Error("onResolve() call is missing a filter");let M=p++;f[M]={name:_,callback:z,note:ee},q.onResolve.push({id:M,filter:ae.source,namespace:L||""})},onLoad(O,z){let F='This error came from the "onLoad" callback registered here:',ee=Hg(new Error(F),i,"onLoad"),G={},ae=K(O,G,"filter",Yg),L=K(O,G,"namespace",Oe);if(ar(O,G,`in onLoad() call for plugin ${Tr(_)}`),ae==null)throw new Error("onLoad() call is missing a filter");let M=p++;d[M]={name:_,callback:z,note:ee},q.onLoad.push({id:M,filter:ae.source,namespace:L||""})},esbuild:i.esbuild});R&&await R,y.push(q)}catch(S){return{ok:!1,error:S,pluginName:_}}}s["on-start"]=async(b,w)=>{let _={errors:[],warnings:[]};await Promise.all(l.map(async({name:S,callback:q,note:C})=>{try{let R=await q();if(R!=null){if(typeof R!="object")throw new Error(`Expected onStart() callback in plugin ${Tr(S)} to return an object`);let O={},z=K(R,O,"errors",rr),F=K(R,O,"warnings",rr);ar(R,O,`from onStart() callback in plugin ${Tr(S)}`),z!=null&&_.errors.push(...To(z,"errors",u,S)),F!=null&&_.warnings.push(...To(F,"warnings",u,S))}}catch(R){_.errors.push(gu(R,i,u,C&&C(),S))}})),r(b,_)},s["on-resolve"]=async(b,w)=>{let _={},S="",q,C;for(let R of w.ids)try{({name:S,callback:q,note:C}=f[R]);let O=await q({path:w.path,importer:w.importer,namespace:w.namespace,resolveDir:w.resolveDir,kind:w.kind,pluginData:u.load(w.pluginData)});if(O!=null){if(typeof O!="object")throw new Error(`Expected onResolve() callback in plugin ${Tr(S)} to return an object`);let z={},F=K(O,z,"pluginName",Oe),ee=K(O,z,"path",Oe),G=K(O,z,"namespace",Oe),ae=K(O,z,"suffix",Oe),L=K(O,z,"external",xt),M=K(O,z,"sideEffects",xt),oe=K(O,z,"pluginData",Kg),re=K(O,z,"errors",rr),fe=K(O,z,"warnings",rr),ue=K(O,z,"watchFiles",rr),ie=K(O,z,"watchDirs",rr);ar(O,z,`from onResolve() callback in plugin ${Tr(S)}`),_.id=R,F!=null&&(_.pluginName=F),ee!=null&&(_.path=ee),G!=null&&(_.namespace=G),ae!=null&&(_.suffix=ae),L!=null&&(_.external=L),M!=null&&(_.sideEffects=M),oe!=null&&(_.pluginData=u.store(oe)),re!=null&&(_.errors=To(re,"errors",u,S)),fe!=null&&(_.warnings=To(fe,"warnings",u,S)),ue!=null&&(_.watchFiles=Vg(ue,"watchFiles")),ie!=null&&(_.watchDirs=Vg(ie,"watchDirs"));break}}catch(O){_={id:R,errors:[gu(O,i,u,C&&C(),S)]};break}r(b,_)},s["on-load"]=async(b,w)=>{let _={},S="",q,C;for(let R of w.ids)try{({name:S,callback:q,note:C}=d[R]);let O=await q({path:w.path,namespace:w.namespace,suffix:w.suffix,pluginData:u.load(w.pluginData)});if(O!=null){if(typeof O!="object")throw new Error(`Expected onLoad() callback in plugin ${Tr(S)} to return an object`);let z={},F=K(O,z,"pluginName",Oe),ee=K(O,z,"contents",pB),G=K(O,z,"resolveDir",Oe),ae=K(O,z,"pluginData",Kg),L=K(O,z,"loader",Oe),M=K(O,z,"errors",rr),oe=K(O,z,"warnings",rr),re=K(O,z,"watchFiles",rr),fe=K(O,z,"watchDirs",rr);ar(O,z,`from onLoad() callback in plugin ${Tr(S)}`),_.id=R,F!=null&&(_.pluginName=F),ee instanceof Uint8Array?_.contents=ee:ee!=null&&(_.contents=ti(ee)),G!=null&&(_.resolveDir=G),ae!=null&&(_.pluginData=u.store(ae)),L!=null&&(_.loader=L),M!=null&&(_.errors=To(M,"errors",u,S)),oe!=null&&(_.warnings=To(oe,"warnings",u,S)),re!=null&&(_.watchFiles=Vg(re,"watchFiles")),fe!=null&&(_.watchDirs=Vg(fe,"watchDirs"));break}}catch(O){_={id:R,errors:[gu(O,i,u,C&&C(),S)]};break}r(b,_)};let g=(b,w,_)=>_();return c.length>0&&(g=(b,w,_)=>{(async()=>{for(let{name:S,callback:q,note:C}of c)try{await q(b)}catch(R){b.errors.push(await new Promise(O=>w(R,S,C&&C(),O)))}})().then(_)}),v=!0,{ok:!0,requestPlugins:y,runOnEndCallbacks:g}};function yB(){let t=new Map,e=0;return{load(r){return t.get(r)},store(r){if(r===void 0)return-1;let n=e++;return t.set(n,r),n}}}function Hg(t,e,r){let n,i=!1;return()=>{if(i)return n;i=!0;try{let s=(t.stack+"").split(`
|
|
11
11
|
`);s.splice(1,1);let o=bB(e,s,r);if(o)return n={text:t.message,location:o},n}catch{}}}function gu(t,e,r,n,i){let s="Internal error",o=null;try{s=(t&&t.message||t)+""}catch{}try{o=bB(e,(t.stack+"").split(`
|
|
12
12
|
`),"")}catch{}return{id:"",pluginName:i,text:s,location:o,notes:n?[n]:[],detail:r?r.store(t):-1}}function bB(t,e,r){let n=" at ";if(t.readFileSync&&!e[0].startsWith(n)&&e[1].startsWith(n))for(let i=1;i<e.length;i++){let s=e[i];if(s.startsWith(n))for(s=s.slice(n.length);;){let o=/^(?:new |async )?\S+ \((.*)\)$/.exec(s);if(o){s=o[1];continue}if(o=/^eval at \S+ \((.*)\)(?:, \S+:\d+:\d+)?$/.exec(s),o){s=o[1];continue}if(o=/^(\S+):(\d+):(\d+)$/.exec(s),o){let a;try{a=t.readFileSync(o[1],"utf8")}catch{break}let u=a.split(/\r\n|\r|\n|\u2028|\u2029/)[+o[2]-1]||"",l=+o[3]-1,c=u.slice(l,l+r.length)===r?r.length:0;return{file:o[1],namespace:"file",line:+o[2],column:ti(u.slice(0,l)).length,length:ti(u.slice(l,l+c)).length,lineText:u+`
|
|
13
13
|
`+e.slice(1).join(`
|
|
14
14
|
`),suggestion:""}}break}}return null}function du(t,e,r){let n=5,i=e.length<1?"":` with ${e.length} error${e.length<2?"":"s"}:`+e.slice(0,n+1).map((o,a)=>{if(a===n)return`
|
|
15
15
|
...`;if(!o.location)return`
|
|
16
16
|
error: ${o.text}`;let{file:u,line:l,column:c}=o.location,f=o.pluginName?`[plugin: ${o.pluginName}] `:"";return`
|
|
17
|
-
${u}:${l}:${c}: ERROR: ${f}${o.text}`}).join(""),s=new Error(`${t}${i}`);return s.errors=e,s.warnings=r,s}function Fs(t,e){for(let r of t)r.detail=e.load(r.detail);return t}function nB(t,e){if(t==null)return null;let r={},n=K(t,r,"file",Oe),i=K(t,r,"namespace",Oe),s=K(t,r,"line",hu),o=K(t,r,"column",hu),a=K(t,r,"length",hu),u=K(t,r,"lineText",Oe),l=K(t,r,"suggestion",Oe);return
|
|
17
|
+
${u}:${l}:${c}: ERROR: ${f}${o.text}`}).join(""),s=new Error(`${t}${i}`);return s.errors=e,s.warnings=r,s}function Fs(t,e){for(let r of t)r.detail=e.load(r.detail);return t}function nB(t,e){if(t==null)return null;let r={},n=K(t,r,"file",Oe),i=K(t,r,"namespace",Oe),s=K(t,r,"line",hu),o=K(t,r,"column",hu),a=K(t,r,"length",hu),u=K(t,r,"lineText",Oe),l=K(t,r,"suggestion",Oe);return ar(t,r,e),{file:n||"",namespace:i||"",line:s||0,column:o||0,length:a||0,lineText:u||"",suggestion:l||""}}function To(t,e,r,n){let i=[],s=0;for(let o of t){let a={},u=K(o,a,"id",Oe),l=K(o,a,"pluginName",Oe),c=K(o,a,"text",Oe),f=K(o,a,"location",rB),d=K(o,a,"notes",rr),p=K(o,a,"detail",Kg),h=`in element ${s} of "${e}"`;ar(o,a,h);let y=[];if(d)for(let v of d){let g={},b=K(v,g,"text",Oe),w=K(v,g,"location",rB);ar(v,g,h),y.push({text:b||"",location:nB(w,h)})}i.push({id:u||"",pluginName:l||n,text:c||"",location:nB(f,h),notes:y,detail:r?r.store(p):-1}),s++}return i}function Vg(t,e){let r=[];for(let n of t){if(typeof n!="string")throw new Error(`${Tr(e)} must be an array of strings`);r.push(n)}return r}function iSe({path:t,contents:e}){let r=null;return{path:t,contents:e,get text(){let n=this.contents;return(r===null||n!==e)&&(e=n,r=mu(n)),r}}}var Ls=require("fs"),iB=require("os"),Mn=require("path"),pu=process.env.ESBUILD_BINARY_PATH||pu,sB="@esbuild/darwin-arm64",oB="@esbuild/darwin-x64",Qg={"win32 arm64 LE":"@esbuild/win32-arm64","win32 ia32 LE":"@esbuild/win32-ia32","win32 x64 LE":"@esbuild/win32-x64"},Jg={"android arm64 LE":"@esbuild/android-arm64","darwin arm64 LE":"@esbuild/darwin-arm64","darwin x64 LE":"@esbuild/darwin-x64","freebsd arm64 LE":"@esbuild/freebsd-arm64","freebsd x64 LE":"@esbuild/freebsd-x64","linux arm LE":"@esbuild/linux-arm","linux arm64 LE":"@esbuild/linux-arm64","linux ia32 LE":"@esbuild/linux-ia32","linux mips64el LE":"@esbuild/linux-mips64el","linux ppc64 LE":"@esbuild/linux-ppc64","linux riscv64 LE":"@esbuild/linux-riscv64","linux s390x BE":"@esbuild/linux-s390x","linux x64 LE":"@esbuild/linux-x64","linux loong64 LE":"@esbuild/linux-loong64","netbsd x64 LE":"@esbuild/netbsd-x64","openbsd x64 LE":"@esbuild/openbsd-x64","sunos x64 LE":"@esbuild/sunos-x64"},aB={"android arm LE":"@esbuild/android-arm","android x64 LE":"@esbuild/android-x64"};function sSe(){let t,e,r=!1,n=`${process.platform} ${iB.arch()} ${iB.endianness()}`;if(n in Qg)t=Qg[n],e="esbuild.exe";else if(n in Jg)t=Jg[n],e="bin/esbuild";else if(n in aB)t=aB[n],e="bin/esbuild",r=!0;else throw new Error(`Unsupported platform: ${n}`);return{pkg:t,subpath:e,isWASM:r}}function oSe(){let t=require.resolve("esbuild"),e=Mn.dirname(Mn.dirname(Mn.dirname(t)));if(Mn.basename(e)==="node_modules"){for(let r in Jg)try{let n=Jg[r];if(Ls.existsSync(Mn.join(e,n)))return n}catch{}for(let r in Qg)try{let n=Qg[r];if(Ls.existsSync(Mn.join(e,n)))return n}catch{}}return null}function aSe(t,e){let r=Mn.dirname(require.resolve("esbuild"));return Mn.join(r,`downloaded-${t.replace("/","-")}-${Mn.basename(e)}`)}function uSe(){if(pu)if(!Ls.existsSync(pu))console.warn(`[esbuild] Ignoring bad configuration: ESBUILD_BINARY_PATH=${pu}`);else return{binPath:pu,isWASM:!1};let{pkg:t,subpath:e,isWASM:r}=sSe(),n;try{n=require.resolve(`${t}/${e}`)}catch(i){if(n=aSe(t,e),!Ls.existsSync(n)){try{require.resolve(t)}catch{let s=oSe();if(s){let o=`
|
|
18
18
|
Specifically the "${s}" package is present but this platform
|
|
19
19
|
needs the "${t}" package instead. People often get into this
|
|
20
20
|
situation by installing esbuild on Windows or macOS and copying "node_modules"
|
|
@@ -75,7 +75,7 @@ error: ${l}`),f=[{id:"",pluginName:"",text:l,location:null,notes:[],detail:void
|
|
|
75
75
|
`&&(i.onlyOneChar||Bs(w)||!_u(w)))||e==="space"&&b===" "&&(i.onlyOneChar||Bs(w)||!_u(w))||(Fc(h),i.err(h(i.errTarget||v.charAt(g))))}function p(h=n.rejectedAfter){let y=i,v=y.source,g=y.index,b=v[g+1];!Bs(b)&&_u(b)&&(Fc(h),i.err(h(i.errTarget||v.charAt(g))))}return{before:s,beforeAllowingIndentation:a,after:o,afterOneOnly:f}}});var g9=m((R2t,h9)=>{"use strict";var CEe=E2(),DEe=$(),OEe=j(),qEe=je(),wm="at-rule-name-newline-after",p9=DEe(wm,{expectedAfter:t=>`Expected newline after at-rule name "${t}"`}),REe={url:"https://stylelint.io/user-guide/rules/at-rule-name-newline-after"},_m=t=>{let e=qEe("newline",t,p9);return(r,n)=>{OEe(n,wm,{actual:t,possible:["always","always-multi-line"]})&&CEe({root:r,result:n,locationChecker:e.afterOneOnly,checkedRuleName:wm})}};_m.ruleName=wm;_m.messages=p9;_m.meta=REe;h9.exports=_m});var rs=m((A2t,m9)=>{"use strict";m9.exports=function(e){let r="";return e.raws.before&&(r+=e.raws.before),r+=e.toString(),r}});var v9=m((P2t,b9)=>{"use strict";var AEe=nr(),PEe=Mr(),TEe=rs(),MEe=U(),LEe=$(),FEe=j(),IEe=je(),xm="at-rule-semicolon-space-before",y9=LEe(xm,{expectedBefore:()=>'Expected single space before ";"',rejectedBefore:()=>'Unexpected whitespace before ";"'}),NEe={url:"https://stylelint.io/user-guide/rules/at-rule-semicolon-space-before"},Sm=t=>{let e=IEe("space",t,y9);return(r,n)=>{FEe(n,xm,{actual:t,possible:["always","never"]})&&r.walkAtRules(s=>{if(AEe(s)||!PEe(s))return;let o=TEe(s);e.before({source:o,index:o.length,err:a=>{MEe({message:a,node:s,index:o.length-1,result:n,ruleName:xm})}})})}};Sm.ruleName=xm;Sm.messages=y9;Sm.meta=NEe;b9.exports=Sm});var x9=m((T2t,_9)=>{"use strict";var jEe=E2(),$Ee=$(),BEe=j(),WEe=je(),km="at-rule-name-space-after",w9=$Ee(km,{expectedAfter:t=>`Expected single space after at-rule name "${t}"`}),zEe={url:"https://stylelint.io/user-guide/rules/at-rule-name-space-after",fixable:!0},Em=(t,e,r)=>{let n=WEe("space",t,w9);return(i,s)=>{BEe(s,km,{actual:t,possible:["always","always-single-line"]})&&jEe({root:i,result:s,locationChecker:n.after,checkedRuleName:km,fix:r.fix?a=>{typeof a.raws.afterName=="string"&&(a.raws.afterName=a.raws.afterName.replace(/^\s*/," "))}:null})}};Em.ruleName=km;Em.messages=w9;Em.meta=zEe;_9.exports=Em});var xu=m((M2t,S9)=>{S9.exports=function(...e){return new Set([...e].reduce((r,n)=>[...r,...n],[]))}});var E9=m((L2t,k9)=>{"use strict";var UEe=xu(),HEe=new Set(["top-left-corner","top-left","top-center","top-right","top-right-corner","bottom-left-corner","bottom-left","bottom-center","bottom-right","bottom-right-corner","left-top","left-middle","left-bottom","right-top","right-middle","right-bottom"]),VEe=UEe(HEe,["annotation","apply","character-variant","charset","container","counter-style","custom-media","custom-selector","document","font-face","font-feature-values","import","keyframes","layer","media","namespace","nest","ornaments","page","property","styleset","stylistic","supports","swash","viewport"]);k9.exports={atKeywords:VEe}});var O9=m((F2t,D9)=>{"use strict";var GEe=Mr(),{atKeywords:KEe}=E9(),YEe=_e(),QEe=U(),JEe=$(),XEe=j(),ZEe=tt(),{isRegExp:eCe,isString:tCe}=te(),Cm="at-rule-no-unknown",C9=JEe(Cm,{rejected:t=>`Unexpected unknown at-rule "${t}"`}),rCe={url:"https://stylelint.io/user-guide/rules/at-rule-no-unknown"},Dm=(t,e)=>(r,n)=>{XEe(n,Cm,{actual:t},{actual:e,possible:{ignoreAtRules:[tCe,eCe]},optional:!0})&&r.walkAtRules(s=>{if(!GEe(s))return;let o=s.name;if(YEe(e,"ignoreAtRules",s.name)||ZEe.prefix(o)||KEe.has(o.toLowerCase()))return;let a=`@${o}`;QEe({message:C9.rejected(a),node:s,ruleName:Cm,result:n,word:a})})};Dm.ruleName=Cm;Dm.messages=C9;Dm.meta=rCe;D9.exports=Dm});var Su=m((I2t,R9)=>{"use strict";var q9=tt(),nCe=new Set(["@-khtml-keyframes","@-moz-keyframes","@-ms-keyframes","@-ms-viewport","@-o-keyframes","@-o-viewport","@-webkit-keyframes","@resolution"]),iCe=new Set([":-moz-any-link",":-moz-full-screen",":-moz-placeholder",":-moz-placeholder-shown",":-moz-read-only",":-moz-read-write",":-ms-fullscreen",":-ms-input-placeholder",":-webkit-any-link",":-webkit-full-screen","::-moz-placeholder","::-moz-selection","::-ms-input-placeholder","::-webkit-backdrop","::-webkit-input-placeholder"]),sCe=new Set(["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backdrop-filter","backface-visibility","background-clip","background-origin","background-size","border-block-end","border-block-start","border-bottom-left-radius","border-bottom-right-radius","border-image","border-inline-end","border-inline-start","border-radius","border-top-left-radius","border-top-right-radius","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","clip-path","color-adjust","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","flow-from","flow-into","font-feature-settings","font-kerning","font-language-override","font-variant-ligatures","grid-area","grid-column","grid-column-align","grid-column-end","grid-column-start","grid-row","grid-row-align","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hyphens","image-rendering","justify-content","margin-block-end","margin-block-start","margin-inline-end","margin-inline-start","mask","mask-border","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-origin","mask-position","mask-repeat","mask-size","object-fit","object-position","order","overscroll-behavior","padding-block-end","padding-block-start","padding-inline-end","padding-inline-start","perspective","perspective-origin","place-self","region-fragment","scroll-snap-coordinate","scroll-snap-destination","scroll-snap-points-x","scroll-snap-points-y","scroll-snap-type","shape-image-threshold","shape-margin","shape-outside","tab-size","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-orientation","text-overflow","text-size-adjust","text-spacing","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","user-select","writing-mode"]),oCe=new Set(["-moz-available","-moz-box","-moz-calc","-moz-crisp-edges","-moz-element","-moz-fit-content","-moz-grab","-moz-grabbing","-moz-inline-box","-moz-isolate","-moz-isolate-override","-moz-linear-gradient","-moz-max-content","-moz-min-content","-moz-plaintext","-moz-radial-gradient","-moz-repeating-linear-gradient","-moz-repeating-radial-gradient","-moz-zoom-in","-moz-zoom-out","-ms-flexbox","-ms-grid","-ms-inline-flexbox","-ms-inline-grid","-ms-linear-gradient","-ms-radial-gradient","-ms-repeating-linear-gradient","-ms-repeating-radial-gradient","-o-linear-gradient","-o-pixelated","-o-radial-gradient","-o-repeating-linear-gradient","-o-repeating-radial-gradient","-webkit-box","-webkit-calc","-webkit-cross-fade","-webkit-fill-available","-webkit-filter","-webkit-fit-content","-webkit-flex","-webkit-grab","-webkit-grabbing","-webkit-image-set","-webkit-inline-box","-webkit-inline-flex","-webkit-isolate","-webkit-linear-gradient","-webkit-max-content","-webkit-min-content","-webkit-optimize-contrast","-webkit-radial-gradient","-webkit-repeating-linear-gradient","-webkit-repeating-radial-gradient","-webkit-sticky","-webkit-zoom-in","-webkit-zoom-out"]);R9.exports={atRuleName(t){return nCe.has(`@${t.toLowerCase()}`)},selector(t){return iCe.has(t.toLowerCase())},mediaFeatureName(t){return t.toLowerCase().includes("device-pixel-ratio")},property(t){let e=t.toLowerCase();return e==="-ms-interpolation-mode"?!0:q9.prefix(e).length===0?!1:sCe.has(q9.unprefixed(e))},propertyValue(t){return oCe.has(t.toLowerCase())},unprefix(t){return t.replace(/-\w+-/,"")}}});var M9=m((N2t,T9)=>{"use strict";var A9=Su(),aCe=Mr(),uCe=U(),lCe=$(),cCe=j(),Om="at-rule-no-vendor-prefix",P9=lCe(Om,{rejected:t=>`Unexpected vendor-prefixed at-rule "@${t}"`}),fCe={url:"https://stylelint.io/user-guide/rules/at-rule-no-vendor-prefix",fixable:!0},qm=(t,e,r)=>(n,i)=>{cCe(i,Om,{actual:t})&&n.walkAtRules(o=>{if(!aCe(o))return;let a=o.name;if(a.startsWith("-")&&A9.atRuleName(a)){if(r.fix){o.name=A9.unprefix(o.name);return}uCe({message:P9.rejected(a),node:o,word:`@${a}`,result:i,ruleName:Om})}})};qm.ruleName=Om;qm.messages=P9;qm.meta=fCe;T9.exports=qm});var Rm=m((j2t,L9)=>{"use strict";L9.exports=function(e){if(e!=null)return Array.isArray(e)?e:[e]}});var Oi=m(($2t,F9)=>{"use strict";var{isPlainObject:dCe}=te();F9.exports=function(...e){return r=>dCe(r)?Object.values(r).flat().every(n=>e.some(i=>i(n))):!1}});var j9=m((B2t,N9)=>{"use strict";var pCe=Rm(),hCe=Mr(),gCe=U(),mCe=$(),yCe=Oi(),bCe=j(),{isString:vCe}=te(),Am="at-rule-property-required-list",I9=mCe(Am,{expected:(t,e)=>`Expected property "${t}" for at-rule "${e}"`}),wCe={url:"https://stylelint.io/user-guide/rules/at-rule-property-required-list"},Pm=t=>(e,r)=>{bCe(r,Am,{actual:t,possible:[yCe(vCe)]})&&e.walkAtRules(i=>{if(!hCe(i))return;let{name:s,nodes:o}=i,a=s.toLowerCase(),u=pCe(t[a]);if(u)for(let l of u){let c=l.toLowerCase();o.find(d=>d.type==="decl"&&d.prop.toLowerCase()===c)||gCe({message:I9.expected(c,a),node:i,word:`@${i.name}`,result:r,ruleName:Am})}})};Pm.ruleName=Am;Pm.messages=I9;Pm.meta=wCe;N9.exports=Pm});var C2=m((W2t,$9)=>{"use strict";$9.exports=function t(e){return!e||!e.next?null:e.type==="comment"?t(e.next()):e}});var z9=m((z2t,W9)=>{"use strict";var _Ce=nr(),xCe=Mr(),SCe=C2(),kCe=rs(),ECe=U(),CCe=$(),DCe=j(),OCe=je(),Tm="at-rule-semicolon-newline-after",B9=CCe(Tm,{expectedAfter:()=>'Expected newline after ";"'}),qCe={url:"https://stylelint.io/user-guide/rules/at-rule-semicolon-newline-after",fixable:!0},Mm=(t,e,r)=>{let n=OCe("newline",t,B9);return(i,s)=>{DCe(s,Tm,{actual:t,possible:["always"]})&&i.walkAtRules(a=>{let u=a.next();if(!u||_Ce(a)||!xCe(a))return;let l=SCe(u);l&&n.afterOneOnly({source:kCe(l),index:-1,err:c=>{r.fix?l.raws.before=r.newline+l.raws.before:ECe({message:c,node:a,index:a.toString().length+1,result:s,ruleName:Tm})}})})}};Mm.ruleName=Tm;Mm.messages=B9;Mm.meta=qCe;W9.exports=Mm});var H9=m((U2t,U9)=>{"use strict";U9.exports=function(e,r){let{raws:n}=e;if(typeof n.after!="string")return e;let i=n.after.split(";"),s=i[i.length-1]||"";return/\r?\n/.test(s)?n.after=n.after.replace(/(\r?\n)/,`${r}$1`):n.after+=r.repeat(2),e}});var Ws=m((H2t,V9)=>{"use strict";var{isAtRule:RCe,isRule:ACe}=Ye();V9.exports=function(e,{noRawBefore:r}={noRawBefore:!1}){let n="",i=e.raws.before||"";if(r||(n+=i),ACe(e))n+=e.selector;else if(RCe(e))n+=`@${e.name}${e.raws.afterName||""}${e.params}`;else return"";return n+=e.raws.between||"",n}});var xr=m((V2t,G9)=>{"use strict";var PCe=Ws(),TCe=nr(),MCe=rs();G9.exports=function(e){return TCe(e)?MCe(e).slice(PCe(e).length):""}});var zs=m((G2t,K9)=>{"use strict";var LCe=nr();K9.exports=function(e){return LCe(e)&&e.nodes.length===0}});var Q9=m((K2t,Y9)=>{"use strict";Y9.exports=function(e,r){return e.raws.after=e.raws.after?e.raws.after.replace(/(\r?\n\s*\n)+/g,r):"",e}});var X9=m((Y2t,J9)=>{"use strict";var FCe=H9(),ICe=xr(),NCe=nr(),jCe=zs(),$Ce=Io(),BCe=Di(),WCe=_e(),zCe=Q9(),UCe=U(),HCe=$(),VCe=j(),Lm="block-closing-brace-empty-line-before",D2=HCe(Lm,{expected:"Expected empty line before closing brace",rejected:"Unexpected empty line before closing brace"}),GCe={url:"https://stylelint.io/user-guide/rules/block-closing-brace-empty-line-before",fixable:!0},Fm=(t,e,r)=>(n,i)=>{if(!VCe(i,Lm,{actual:t,possible:["always-multi-line","never"]},{actual:e,possible:{except:["after-closing-brace"]},optional:!0}))return;n.walkRules(o),n.walkAtRules(o);function o(a){if(!NCe(a)||jCe(a))return;let u=(a.raws.after||"").replace(/;+/,""),l=a.toString(),c=l.length-1;l[c-1]==="\r"&&(c-=1);let f=(()=>{let h=a.nodes.map(y=>y.type);return WCe(e,"except","after-closing-brace")&&a.type==="atrule"&&!h.includes("decl")?t==="never":t==="always-multi-line"&&!BCe(ICe(a))})(),d=$Ce(u);if(f===d)return;if(r.fix){let{newline:h}=r;if(typeof h!="string")return;f?FCe(a,h):zCe(a,h);return}let p=f?D2.expected:D2.rejected;UCe({message:p,result:i,ruleName:Lm,node:a,index:c})}};Fm.ruleName=Lm;Fm.messages=D2;Fm.meta=GCe;J9.exports=Fm});var t4=m((Q2t,e4)=>{"use strict";var KCe=xr(),YCe=nr(),QCe=_e(),JCe=rs(),XCe=U(),ZCe=$(),eDe=j(),tDe=je(),{isString:rDe}=te(),Im="block-closing-brace-newline-after",Z9=ZCe(Im,{expectedAfter:()=>'Expected newline after "}"',expectedAfterSingleLine:()=>'Expected newline after "}" of a single-line block',rejectedAfterSingleLine:()=>'Unexpected whitespace after "}" of a single-line block',expectedAfterMultiLine:()=>'Expected newline after "}" of a multi-line block',rejectedAfterMultiLine:()=>'Unexpected whitespace after "}" of a multi-line block'}),nDe={url:"https://stylelint.io/user-guide/rules/block-closing-brace-newline-after",fixable:!0},Nm=(t,e,r)=>{let n=tDe("newline",t,Z9);return(i,s)=>{if(!eDe(s,Im,{actual:t,possible:["always","always-single-line","never-single-line","always-multi-line","never-multi-line"]},{actual:e,possible:{ignoreAtRules:[rDe]},optional:!0}))return;i.walkRules(a),i.walkAtRules(a);function a(u){if(!YCe(u)||u.type==="atrule"&&QCe(e,"ignoreAtRules",u.name))return;let l=u.next();if(!l)return;let f=l.type==="comment"&&!/[^ ]/.test(l.raws.before||"")&&!l.toString().includes(`
|
|
76
76
|
`)?l.next():l;if(!f)return;let d=u.toString().length,p=JCe(f);p&&p.startsWith(";")&&(p=p.slice(1),d++),n.afterOneOnly({source:p,index:-1,lineCheckStr:KCe(u),err:h=>{if(r.fix){let y=f.raws;if(typeof y.before!="string")return;if(t.startsWith("always")){let v=y.before.search(/\r?\n/);y.before=v>=0?y.before.slice(v):r.newline+y.before;return}if(t.startsWith("never")){y.before="";return}}XCe({message:h,node:u,index:d,result:s,ruleName:Im})}})}}};Nm.ruleName=Im;Nm.messages=Z9;Nm.meta=nDe;e4.exports=Nm});var n4=m((J2t,r4)=>{"use strict";var iDe=xr(),sDe=nr(),oDe=zs(),aDe=Di(),uDe=U(),lDe=$(),cDe=j(),$m="block-closing-brace-newline-before",jm=lDe($m,{expectedBefore:'Expected newline before "}"',expectedBeforeMultiLine:'Expected newline before "}" of a multi-line block',rejectedBeforeMultiLine:'Unexpected whitespace before "}" of a multi-line block'}),fDe={url:"https://stylelint.io/user-guide/rules/block-closing-brace-newline-before",fixable:!0},Bm=(t,e,r)=>(n,i)=>{if(!cDe(i,$m,{actual:t,possible:["always","always-multi-line","never-multi-line"]}))return;n.walkRules(o),n.walkAtRules(o);function o(a){if(!sDe(a)||oDe(a))return;let u=(a.raws.after||"").replace(/;+/,"");if(u===void 0)return;let l=!aDe(iDe(a)),c=a.toString(),f=c.length-2;c[f-1]==="\r"&&(f-=1),!u.startsWith(`
|
|
77
77
|
`)&&!u.startsWith(`\r
|
|
78
|
-
`)&&(t==="always"?d(jm.expectedBefore):l&&t==="always-multi-line"&&d(jm.expectedBeforeMultiLine)),u!==""&&l&&t==="never-multi-line"&&d(jm.rejectedBeforeMultiLine);function d(p){if(r.fix){let h=a.raws;if(typeof h.after!="string")return;if(t.startsWith("always")){let y=h.after.search(/\s/),v=y>=0?h.after.slice(0,y):h.after,g=y>=0?h.after.slice(y):"",b=g.search(/\r?\n/);h.after=b>=0?v+g.slice(b):v+r.newline+g;return}if(t==="never-multi-line"){h.after=h.after.replace(/\s/g,"");return}}uDe({message:p,result:i,ruleName:$m,node:a,index:f})}}};Bm.ruleName=$m;Bm.messages=jm;Bm.meta=fDe;r4.exports=Bm});var o4=m((X2t,s4)=>{"use strict";var dDe=xr(),pDe=nr(),hDe=rs(),gDe=U(),mDe=$(),yDe=j(),bDe=je(),Wm="block-closing-brace-space-after",i4=mDe(Wm,{expectedAfter:()=>'Expected single space after "}"',rejectedAfter:()=>'Unexpected whitespace after "}"',expectedAfterSingleLine:()=>'Expected single space after "}" of a single-line block',rejectedAfterSingleLine:()=>'Unexpected whitespace after "}" of a single-line block',expectedAfterMultiLine:()=>'Expected single space after "}" of a multi-line block',rejectedAfterMultiLine:()=>'Unexpected whitespace after "}" of a multi-line block'}),vDe={url:"https://stylelint.io/user-guide/rules/block-closing-brace-space-after"},zm=t=>{let e=bDe("space",t,i4);return(r,n)=>{if(!yDe(n,Wm,{actual:t,possible:["always","never","always-single-line","never-single-line","always-multi-line","never-multi-line"]}))return;r.walkRules(s),r.walkAtRules(s);function s(o){let a=o.next();if(!a||!pDe(o))return;let u=o.toString().length,l=hDe(a);l&&l.startsWith(";")&&(l=l.slice(1),u++),e.after({source:l,index:-1,lineCheckStr:dDe(o),err:c=>{gDe({message:c,node:o,index:u,result:n,ruleName:Wm})}})}}};zm.ruleName=Wm;zm.messages=i4;zm.meta=vDe;s4.exports=zm});var l4=m((Z2t,u4)=>{"use strict";var wDe=xr(),_De=nr(),xDe=zs(),SDe=U(),kDe=$(),EDe=j(),CDe=je(),Um="block-closing-brace-space-before",a4=kDe(Um,{expectedBefore:()=>'Expected single space before "}"',rejectedBefore:()=>'Unexpected whitespace before "}"',expectedBeforeSingleLine:()=>'Expected single space before "}" of a single-line block',rejectedBeforeSingleLine:()=>'Unexpected whitespace before "}" of a single-line block',expectedBeforeMultiLine:()=>'Expected single space before "}" of a multi-line block',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "}" of a multi-line block'}),DDe={url:"https://stylelint.io/user-guide/rules/block-closing-brace-space-before",fixable:!0},Hm=(t,e,r)=>{let n=CDe("space",t,a4);return(i,s)=>{if(!EDe(s,Um,{actual:t,possible:["always","never","always-single-line","never-single-line","always-multi-line","never-multi-line"]}))return;i.walkRules(a),i.walkAtRules(a);function a(u){if(!_De(u)||xDe(u))return;let l=wDe(u),c=u.toString(),f=c.length-2;c[f-1]==="\r"&&(f-=1),n.before({source:l,index:l.length-1,err:d=>{if(r.fix){let p=u.raws;if(typeof p.after!="string")return;if(t.startsWith("always")){p.after=p.after.replace(/\s*$/," ");return}if(t.startsWith("never")){p.after=p.after.replace(/\s*$/,"");return}}SDe({message:d,node:u,index:f,result:s,ruleName:Um})}})}}};Hm.ruleName=Um;Hm.messages=a4;Hm.meta=DDe;u4.exports=Hm});var O2=m((eRt,g4)=>{"use strict";var{assertString:ODe}=te(),c4="stylelint-disable",f4="stylelint-disable-line",d4="stylelint-disable-next-line",p4="stylelint-enable",qDe=new Set([c4,f4,d4,p4]);function h4(t){let[e]=t.text.split(/\s/,1);return ODe(e),e}function RDe(t){let e=h4(t);return e!==void 0&&qDe.has(e)}g4.exports={DISABLE_COMMAND:c4,DISABLE_LINE_COMMAND:f4,DISABLE_NEXT_LINE_COMMAND:d4,ENABLE_COMMAND:p4,extractStylelintCommand:h4,isStylelintCommand:RDe}});var b4=m((tRt,y4)=>{"use strict";var ADe=Ws(),PDe=nr(),TDe=_e(),MDe=U(),LDe=$(),{isStylelintCommand:FDe}=O2(),{isComment:IDe}=Ye(),NDe=j(),{isBoolean:jDe}=te(),Vm="block-no-empty",m4=LDe(Vm,{rejected:"Unexpected empty block"}),$De={url:"https://stylelint.io/user-guide/rules/block-no-empty"},Gm=(t,e)=>(r,n)=>{if(!NDe(n,Vm,{actual:t,possible:jDe},{actual:e,possible:{ignore:["comments"]},optional:!0}))return;let s=TDe(e,"ignore","comments");r.walkRules(o),r.walkAtRules(o);function o(u){if(!PDe(u)||a(u))return;let l=ADe(u,{noRawBefore:!0}).length;u.raws.between===void 0&&l--,MDe({message:m4.rejected,node:u,start:u.positionBy({index:l}),result:n,ruleName:Vm})}function a(u){return u.nodes.some(l=>!(IDe(l)&&(s||FDe(l))))}};Gm.ruleName=Vm;Gm.messages=m4;Gm.meta=$De;y4.exports=Gm});var _4=m((rRt,w4)=>{"use strict";var BDe=Ws(),WDe=xr(),zDe=nr(),UDe=zs(),HDe=_e(),VDe=rs(),GDe=U(),KDe=$(),YDe=j(),QDe=je(),Km="block-opening-brace-newline-after",v4=KDe(Km,{expectedAfter:()=>'Expected newline after "{"',expectedAfterMultiLine:()=>'Expected newline after "{" of a multi-line block',rejectedAfterMultiLine:()=>'Unexpected whitespace after "{" of a multi-line block'}),JDe={url:"https://stylelint.io/user-guide/rules/block-opening-brace-newline-after",fixable:!0},Ym=(t,e,r)=>{let n=QDe("newline",t,v4);return(i,s)=>{if(!YDe(s,Km,{actual:t,possible:["always","rules","always-multi-line","never-multi-line"]},{actual:e,possible:{ignore:["rules"]},optional:!0}))return;HDe(e,"ignore","rules")||i.walkRules(a),i.walkAtRules(a);function a(u){if(!zDe(u)||UDe(u))return;let l=new Map;function c(d){if(!(!d||!d.next)){if(d.type==="comment"){let p=/\r?\n/,h=p.test(d.raws.before||""),y=d.next();return y&&h&&!p.test(y.raws.before||"")&&(l.set(y,y.raws.before),y.raws.before=d.raws.before),c(y)}return d}}let f=c(u.first);if(f){n.afterOneOnly({source:VDe(f),index:-1,lineCheckStr:WDe(u),err:d=>{if(r.fix){let p=f.raws;if(typeof p.before!="string")return;if(t.startsWith("always")){let h=p.before.search(/\r?\n/);p.before=h>=0?p.before.slice(h):r.newline+p.before,l.delete(f);return}if(t==="never-multi-line"){for(let[v,g]of l.entries())v.raws.before=g;l.clear();let h=/\r?\n/,y=u.first;for(;y;){let v=y.raws;if(typeof v.before=="string"){if(h.test(v.before||"")&&(v.before=v.before.replace(/\r?\n/g,"")),y.type!=="comment")break;y=y.next()}}p.before="";return}}GDe({message:d,node:u,index:BDe(u,{noRawBefore:!0}).length+1,result:s,ruleName:Km})}});for(let[d,p]of l.entries())d.raws.before=p}}}};Ym.ruleName=Km;Ym.messages=v4;Ym.meta=JDe;w4.exports=Ym});var E4=m((nRt,k4)=>{"use strict";var x4=Ws(),XDe=xr(),ZDe=nr(),eOe=zs(),tOe=U(),rOe=$(),nOe=j(),iOe=je(),Qm="block-opening-brace-newline-before",S4=rOe(Qm,{expectedBefore:()=>'Expected newline before "{"',expectedBeforeSingleLine:()=>'Expected newline before "{" of a single-line block',rejectedBeforeSingleLine:()=>'Unexpected whitespace before "{" of a single-line block',expectedBeforeMultiLine:()=>'Expected newline before "{" of a multi-line block',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "{" of a multi-line block'}),sOe={url:"https://stylelint.io/user-guide/rules/block-opening-brace-newline-before",fixable:!0},Jm=(t,e,r)=>{let n=iOe("newline",t,S4);return(i,s)=>{if(!nOe(s,Qm,{actual:t,possible:["always","always-single-line","never-single-line","always-multi-line","never-multi-line"]}))return;i.walkRules(a),i.walkAtRules(a);function a(u){if(!ZDe(u)||eOe(u))return;let l=x4(u),c=x4(u,{noRawBefore:!0}),f=c.length-1;c[f-1]==="\r"&&(f-=1),n.beforeAllowingIndentation({lineCheckStr:XDe(u),source:l,index:l.length,err:d=>{if(r.fix){let p=u.raws;if(typeof p.between!="string")return;if(t.startsWith("always")){let h=p.between.search(/\s+$/);h>=0?u.raws.between=p.between.slice(0,h)+r.newline+p.between.slice(h):p.between+=r.newline;return}if(t.startsWith("never")){p.between=p.between.replace(/\s*$/,"");return}}tOe({message:d,node:u,index:f,result:s,ruleName:Qm})}})}}};Jm.ruleName=Qm;Jm.messages=S4;Jm.meta=sOe;k4.exports=Jm});var O4=m((iRt,D4)=>{"use strict";var oOe=Ws(),aOe=xr(),uOe=nr(),lOe=zs(),cOe=_e(),fOe=U(),dOe=$(),pOe=j(),hOe=je(),Xm="block-opening-brace-space-after",C4=dOe(Xm,{expectedAfter:()=>'Expected single space after "{"',rejectedAfter:()=>'Unexpected whitespace after "{"',expectedAfterSingleLine:()=>'Expected single space after "{" of a single-line block',rejectedAfterSingleLine:()=>'Unexpected whitespace after "{" of a single-line block',expectedAfterMultiLine:()=>'Expected single space after "{" of a multi-line block',rejectedAfterMultiLine:()=>'Unexpected whitespace after "{" of a multi-line block'}),gOe={url:"https://stylelint.io/user-guide/rules/block-opening-brace-space-after",fixable:!0},Zm=(t,e,r)=>{let n=hOe("space",t,C4);return(i,s)=>{if(!pOe(s,Xm,{actual:t,possible:["always","never","always-single-line","never-single-line","always-multi-line","never-multi-line"]},{actual:e,possible:{ignore:["at-rules"]},optional:!0}))return;i.walkRules(a),cOe(e,"ignore","at-rules")||i.walkAtRules(a);function a(u){!uOe(u)||lOe(u)||n.after({source:aOe(u),index:0,err:l=>{if(r.fix){let c=u.first;if(c==null)return;if(t.startsWith("always")){c.raws.before=" ";return}if(t.startsWith("never")){c.raws.before="";return}}fOe({message:l,node:u,index:oOe(u,{noRawBefore:!0}).length+1,result:s,ruleName:Xm})}})}}};Zm.ruleName=Xm;Zm.messages=C4;Zm.meta=gOe;D4.exports=Zm});var L4=m((sRt,M4)=>{"use strict";var q4=Ws(),mOe=xr(),yOe=nr(),bOe=zs(),R4=_e(),vOe=U(),wOe=$(),_Oe=j(),xOe=je(),{isRegExp:A4,isString:P4}=te(),ey="block-opening-brace-space-before",T4=wOe(ey,{expectedBefore:()=>'Expected single space before "{"',rejectedBefore:()=>'Unexpected whitespace before "{"',expectedBeforeSingleLine:()=>'Expected single space before "{" of a single-line block',rejectedBeforeSingleLine:()=>'Unexpected whitespace before "{" of a single-line block',expectedBeforeMultiLine:()=>'Expected single space before "{" of a multi-line block',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "{" of a multi-line block'}),SOe={url:"https://stylelint.io/user-guide/rules/block-opening-brace-space-before",fixable:!0},ty=(t,e,r)=>{let n=xOe("space",t,T4);return(i,s)=>{if(!_Oe(s,ey,{actual:t,possible:["always","never","always-single-line","never-single-line","always-multi-line","never-multi-line"]},{actual:e,possible:{ignoreAtRules:[P4,A4],ignoreSelectors:[P4,A4]},optional:!0}))return;i.walkRules(a),i.walkAtRules(a);function a(u){if(!yOe(u)||bOe(u)||u.type==="atrule"&&R4(e,"ignoreAtRules",u.name)||u.type==="rule"&&R4(e,"ignoreSelectors",u.selector))return;let l=q4(u),c=q4(u,{noRawBefore:!0}),f=c.length-1;c[f-1]==="\r"&&(f-=1),n.before({source:l,index:l.length,lineCheckStr:mOe(u),err:d=>{if(r.fix){if(t.startsWith("always")){u.raws.between=" ";return}if(t.startsWith("never")){u.raws.between="";return}}vOe({message:d,node:u,index:f,result:s,ruleName:ey})}})}}};ty.ruleName=ey;ty.messages=T4;ty.meta=SOe;M4.exports=ty});var qi=m((oRt,F4)=>{"use strict";F4.exports=function(e){return!(!e.value||e.value.startsWith("#{"))}});var N4=m((aRt,I4)=>{"use strict";var kOe=qi();I4.exports=function t(e){if(!kOe(e))return!1;for(let r of e.nodes){if(r.type==="function")return t(r);if(r.type==="word"&&(r.value.startsWith("#")||r.value.startsWith("$")))return!1}return!0}});var z4=m((uRt,W4)=>{"use strict";var EOe=Re(),COe=qe(),DOe=vt(),OOe=N4(),qOe=U(),ROe=$(),AOe=Bt(),{isValueFunction:POe}=Ye(),TOe=j(),ry="color-function-notation",$4=ROe(ry,{expected:t=>`Expected ${t} color-function notation`}),MOe={url:"https://stylelint.io/user-guide/rules/color-function-notation",fixable:!0},LOe=new Set(["rgba","hsla"]),FOe=new Set(["rgb","rgba","hsl","hsla"]),ny=(t,e,r)=>(n,i)=>{TOe(i,ry,{actual:t,possible:["modern","legacy"]})&&n.walkDecls(o=>{let a=!1,u=EOe(DOe(o));u.walk(l=>{if(!POe(l)||!OOe(l))return;let{value:c,sourceIndex:f,sourceEndIndex:d,nodes:p}=l;if(!FOe.has(c.toLowerCase())||t==="modern"&&!j4(l)||t==="legacy"&&j4(l))return;if(r.fix&&t==="modern"){let v=0;l.nodes=p.map(g=>(B4(g)&&(v<2?(g.type="space",g.value=q2(g.after),v++):(g.value="/",g.before=q2(g.before),g.after=q2(g.after))),g)),LOe.has(l.value.toLowerCase())&&(l.value=l.value.slice(0,-1)),a=!0;return}let h=COe(o)+f,y=h+(d-f);qOe({message:$4.expected(t),node:o,index:h,endIndex:y,result:i,ruleName:ry})}),a&&AOe(o,u.toString())})};function q2(t){return t!==""?t:" "}function B4(t){return t.type==="div"&&t.value===","}function j4(t){return t.nodes&&t.nodes.some(e=>B4(e))}ny.ruleName=ry;ny.messages=$4;ny.meta=MOe;W4.exports=ny});var V4=m((lRt,H4)=>{"use strict";var IOe=qe(),NOe=U(),jOe=$(),$Oe=j(),BOe=Re(),iy="color-hex-alpha",R2=jOe(iy,{expected:t=>`Expected alpha channel in "${t}"`,unexpected:t=>`Unexpected alpha channel in "${t}"`}),WOe={url:"https://stylelint.io/user-guide/rules/color-hex-alpha"},zOe=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/i,sy=t=>(e,r)=>{$Oe(r,iy,{actual:t,possible:["always","never"]})&&e.walkDecls(i=>{BOe(i.value).walk(o=>{if(UOe(o))return!1;if(!HOe(o))return;let{value:a}=o;if(t==="always"&&U4(a)||t==="never"&&!U4(a))return;let u=IOe(i)+o.sourceIndex,l=u+a.length;NOe({message:t==="never"?R2.unexpected(a):R2.expected(a),node:i,index:u,endIndex:l,result:r,ruleName:iy})})})};function UOe({type:t,value:e}){return t==="function"&&e==="url"}function HOe({type:t,value:e}){return t==="word"&&zOe.test(e)}function U4(t){return t.length===5||t.length===9}sy.ruleName=iy;sy.messages=R2;sy.meta=WOe;H4.exports=sy});var Y4=m((cRt,K4)=>{"use strict";var VOe=Re(),GOe=qe(),KOe=vt(),YOe=U(),QOe=$(),JOe=Bt(),XOe=j(),oy="color-hex-case",G4=QOe(oy,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),ZOe={url:"https://stylelint.io/user-guide/rules/color-hex-case",fixable:!0},eqe=/^#[0-9A-Za-z]+/,tqe=new Set(["url"]),ay=(t,e,r)=>(n,i)=>{XOe(i,oy,{actual:t,possible:["lower","upper"]})&&n.walkDecls(o=>{let a=VOe(KOe(o)),u=!1;a.walk(l=>{let{value:c}=l;if(rqe(l))return!1;if(!nqe(l))return;let f=t==="lower"?c.toLowerCase():c.toUpperCase();if(c!==f){if(r.fix){l.value=f,u=!0;return}YOe({message:G4.expected(c,f),node:o,index:GOe(o)+l.sourceIndex,result:i,ruleName:oy})}}),u&&JOe(o,a.toString())})};function rqe({type:t,value:e}){return t==="function"&&tqe.has(e.toLowerCase())}function nqe({type:t,value:e}){return t==="word"&&eqe.test(e)}ay.ruleName=oy;ay.messages=G4;ay.meta=ZOe;K4.exports=ay});var X4=m((fRt,J4)=>{"use strict";var iqe=Re(),sqe=qe(),oqe=vt(),aqe=U(),uqe=$(),lqe=Bt(),cqe=j(),uy="color-hex-length",Q4=uqe(uy,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),fqe={url:"https://stylelint.io/user-guide/rules/color-hex-length",fixable:!0},dqe=/^#[0-9A-Za-z]+/,pqe=new Set(["url"]),ly=(t,e,r)=>(n,i)=>{cqe(i,uy,{actual:t,possible:["short","long"]})&&n.walkDecls(o=>{let a=iqe(oqe(o)),u=!1;a.walk(l=>{let{value:c}=l;if(yqe(l))return!1;if(!bqe(l)||t==="long"&&c.length!==4&&c.length!==5||t==="short"&&(c.length<6||!hqe(c)))return;let d=(t==="long"?mqe:gqe)(c);if(r.fix){l.value=d,u=!0;return}let p=sqe(o)+l.sourceIndex,h=p+l.value.length;aqe({message:Q4.expected(c,d),node:o,index:p,endIndex:h,result:i,ruleName:uy})}),u&&lqe(o,a.toString())})};function hqe(t){return t=t.toLowerCase(),t[1]===t[2]&&t[3]===t[4]&&t[5]===t[6]&&(t.length===7||t.length===9&&t[7]===t[8])}function gqe(t){let e="#";for(let r=1;r<t.length;r+=2)e+=t[r];return e}function mqe(t){let e="#";for(let r=1;r<t.length;r++)e+=t.charAt(r).repeat(2);return e}function yqe({type:t,value:e}){return t==="function"&&pqe.has(e.toLowerCase())}function bqe({type:t,value:e}){return t==="word"&&dqe.test(e)}ly.ruleName=uy;ly.messages=Q4;ly.meta=fqe;J4.exports=ly});var ku=m((dRt,Z4)=>{"use strict";var vqe=new Set(["animation","animation-name","font","font-family","counter-increment","grid-row","grid-column","grid-area","list-style","list-style-type"]),wqe=new Map([["animation",new Set(["animation-name","animation-duration","animation-timing-function","animation-delay","animation-iteration-count","animation-direction","animation-fill-mode","animation-play-state"])],["background",new Set(["background-image","background-size","background-position","background-repeat","background-origin","background-clip","background-attachment","background-color"])],["border",new Set(["border-top-width","border-bottom-width","border-left-width","border-right-width","border-top-style","border-bottom-style","border-left-style","border-right-style","border-top-color","border-bottom-color","border-left-color","border-right-color"])],["border-block-end",new Set(["border-block-end-width","border-block-end-style","border-block-end-color"])],["border-block-start",new Set(["border-block-start-width","border-block-start-style","border-block-start-color"])],["border-bottom",new Set(["border-bottom-width","border-bottom-style","border-bottom-color"])],["border-color",new Set(["border-top-color","border-bottom-color","border-left-color","border-right-color"])],["border-image",new Set(["border-image-source","border-image-slice","border-image-width","border-image-outset","border-image-repeat"])],["border-inline-end",new Set(["border-inline-end-width","border-inline-end-style","border-inline-end-color"])],["border-inline-start",new Set(["border-inline-start-width","border-inline-start-style","border-inline-start-color"])],["border-left",new Set(["border-left-width","border-left-style","border-left-color"])],["border-radius",new Set(["border-top-right-radius","border-top-left-radius","border-bottom-right-radius","border-bottom-left-radius"])],["border-right",new Set(["border-right-width","border-right-style","border-right-color"])],["border-style",new Set(["border-top-style","border-bottom-style","border-left-style","border-right-style"])],["border-top",new Set(["border-top-width","border-top-style","border-top-color"])],["border-width",new Set(["border-top-width","border-bottom-width","border-left-width","border-right-width"])],["column-rule",new Set(["column-rule-width","column-rule-style","column-rule-color"])],["columns",new Set(["column-width","column-count"])],["flex",new Set(["flex-grow","flex-shrink","flex-basis"])],["flex-flow",new Set(["flex-direction","flex-wrap"])],["font",new Set(["font-style","font-variant","font-weight","font-stretch","font-size","font-family","line-height"])],["grid",new Set(["grid-template-rows","grid-template-columns","grid-template-areas","grid-auto-rows","grid-auto-columns","grid-auto-flow","grid-column-gap","grid-row-gap"])],["grid-area",new Set(["grid-row-start","grid-column-start","grid-row-end","grid-column-end"])],["grid-column",new Set(["grid-column-start","grid-column-end"])],["grid-gap",new Set(["grid-row-gap","grid-column-gap"])],["grid-row",new Set(["grid-row-start","grid-row-end"])],["grid-template",new Set(["grid-template-columns","grid-template-rows","grid-template-areas"])],["list-style",new Set(["list-style-type","list-style-position","list-style-image"])],["margin",new Set(["margin-top","margin-bottom","margin-left","margin-right"])],["mask",new Set(["mask-image","mask-mode","mask-position","mask-size","mask-repeat","mask-origin","mask-clip","mask-composite"])],["outline",new Set(["outline-color","outline-style","outline-width"])],["padding",new Set(["padding-top","padding-bottom","padding-left","padding-right"])],["text-decoration",new Set(["text-decoration-color","text-decoration-style","text-decoration-line"])],["text-emphasis",new Set(["text-emphasis-style","text-emphasis-color"])],["transition",new Set(["transition-delay","transition-duration","transition-property","transition-timing-function"])]]),_qe=new Set(["transition-duration","transition-delay","animation-duration","animation-delay"]),xqe=new Set(["transition","animation"]);Z4.exports={acceptCustomIdentsProperties:vqe,longhandSubPropertiesOfShorthandProperties:wqe,longhandTimeProperties:_qe,shorthandTimeProperties:xqe}});var f7=m(No=>{Object.defineProperty(No,"__esModule",{value:!0});var Sqe={grad:.9,turn:360,rad:360/(2*Math.PI)},ns=function(t){return typeof t=="string"?t.length>0:typeof t=="number"},ar=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=Math.pow(10,e)),Math.round(r*t)/r+0},Fn=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=1),t>r?r:t>e?t:e},a7=function(t){return(t=isFinite(t)?t%360:0)>0?t:t+360},e7=function(t){return{r:Fn(t.r,0,255),g:Fn(t.g,0,255),b:Fn(t.b,0,255),a:Fn(t.a)}},A2=function(t){return{r:ar(t.r),g:ar(t.g),b:ar(t.b),a:ar(t.a,3)}},kqe=/^#([0-9a-f]{3,8})$/i,cy=function(t){var e=t.toString(16);return e.length<2?"0"+e:e},u7=function(t){var e=t.r,r=t.g,n=t.b,i=t.a,s=Math.max(e,r,n),o=s-Math.min(e,r,n),a=o?s===e?(r-n)/o:s===r?2+(n-e)/o:4+(e-r)/o:0;return{h:60*(a<0?a+6:a),s:s?o/s*100:0,v:s/255*100,a:i}},l7=function(t){var e=t.h,r=t.s,n=t.v,i=t.a;e=e/360*6,r/=100,n/=100;var s=Math.floor(e),o=n*(1-r),a=n*(1-(e-s)*r),u=n*(1-(1-e+s)*r),l=s%6;return{r:255*[n,a,o,o,u,n][l],g:255*[u,n,n,a,o,o][l],b:255*[o,o,u,n,n,a][l],a:i}},t7=function(t){return{h:a7(t.h),s:Fn(t.s,0,100),l:Fn(t.l,0,100),a:Fn(t.a)}},r7=function(t){return{h:ar(t.h),s:ar(t.s),l:ar(t.l),a:ar(t.a,3)}},n7=function(t){return l7((r=(e=t).s,{h:e.h,s:(r*=((n=e.l)<50?n:100-n)/100)>0?2*r/(n+r)*100:0,v:n+r,a:e.a}));var e,r,n},Ic=function(t){return{h:(e=u7(t)).h,s:(i=(200-(r=e.s))*(n=e.v)/100)>0&&i<200?r*n/100/(i<=100?i:200-i)*100:0,l:i/2,a:e.a};var e,r,n,i},Eqe=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Cqe=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Dqe=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Oqe=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,M2={string:[[function(t){var e=kqe.exec(t);return e?(t=e[1]).length<=4?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:t.length===4?ar(parseInt(t[3]+t[3],16)/255,2):1}:t.length===6||t.length===8?{r:parseInt(t.substr(0,2),16),g:parseInt(t.substr(2,2),16),b:parseInt(t.substr(4,2),16),a:t.length===8?ar(parseInt(t.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(t){var e=Dqe.exec(t)||Oqe.exec(t);return e?e[2]!==e[4]||e[4]!==e[6]?null:e7({r:Number(e[1])/(e[2]?100/255:1),g:Number(e[3])/(e[4]?100/255:1),b:Number(e[5])/(e[6]?100/255:1),a:e[7]===void 0?1:Number(e[7])/(e[8]?100:1)}):null},"rgb"],[function(t){var e=Eqe.exec(t)||Cqe.exec(t);if(!e)return null;var r,n,i=t7({h:(r=e[1],n=e[2],n===void 0&&(n="deg"),Number(r)*(Sqe[n]||1)),s:Number(e[3]),l:Number(e[4]),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)});return n7(i)},"hsl"]],object:[[function(t){var e=t.r,r=t.g,n=t.b,i=t.a,s=i===void 0?1:i;return ns(e)&&ns(r)&&ns(n)?e7({r:Number(e),g:Number(r),b:Number(n),a:Number(s)}):null},"rgb"],[function(t){var e=t.h,r=t.s,n=t.l,i=t.a,s=i===void 0?1:i;if(!ns(e)||!ns(r)||!ns(n))return null;var o=t7({h:Number(e),s:Number(r),l:Number(n),a:Number(s)});return n7(o)},"hsl"],[function(t){var e=t.h,r=t.s,n=t.v,i=t.a,s=i===void 0?1:i;if(!ns(e)||!ns(r)||!ns(n))return null;var o=function(a){return{h:a7(a.h),s:Fn(a.s,0,100),v:Fn(a.v,0,100),a:Fn(a.a)}}({h:Number(e),s:Number(r),v:Number(n),a:Number(s)});return l7(o)},"hsv"]]},i7=function(t,e){for(var r=0;r<e.length;r++){var n=e[r][0](t);if(n)return[n,e[r][1]]}return[null,void 0]},c7=function(t){return typeof t=="string"?i7(t.trim(),M2.string):typeof t=="object"&&t!==null?i7(t,M2.object):[null,void 0]},P2=function(t,e){var r=Ic(t);return{h:r.h,s:Fn(r.s+100*e,0,100),l:r.l,a:r.a}},T2=function(t){return(299*t.r+587*t.g+114*t.b)/1e3/255},s7=function(t,e){var r=Ic(t);return{h:r.h,s:r.s,l:Fn(r.l+100*e,0,100),a:r.a}},Nc=function(){function t(e){this.parsed=c7(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return t.prototype.isValid=function(){return this.parsed!==null},t.prototype.brightness=function(){return ar(T2(this.rgba),2)},t.prototype.isDark=function(){return T2(this.rgba)<.5},t.prototype.isLight=function(){return T2(this.rgba)>=.5},t.prototype.toHex=function(){return e=A2(this.rgba),r=e.r,n=e.g,i=e.b,o=(s=e.a)<1?cy(ar(255*s)):"","#"+cy(r)+cy(n)+cy(i)+o;var e,r,n,i,s,o},t.prototype.toRgb=function(){return A2(this.rgba)},t.prototype.toRgbString=function(){return e=A2(this.rgba),r=e.r,n=e.g,i=e.b,(s=e.a)<1?"rgba("+r+", "+n+", "+i+", "+s+")":"rgb("+r+", "+n+", "+i+")";var e,r,n,i,s},t.prototype.toHsl=function(){return r7(Ic(this.rgba))},t.prototype.toHslString=function(){return e=r7(Ic(this.rgba)),r=e.h,n=e.s,i=e.l,(s=e.a)<1?"hsla("+r+", "+n+"%, "+i+"%, "+s+")":"hsl("+r+", "+n+"%, "+i+"%)";var e,r,n,i,s},t.prototype.toHsv=function(){return e=u7(this.rgba),{h:ar(e.h),s:ar(e.s),v:ar(e.v),a:ar(e.a,3)};var e},t.prototype.invert=function(){return Ri({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},t.prototype.saturate=function(e){return e===void 0&&(e=.1),Ri(P2(this.rgba,e))},t.prototype.desaturate=function(e){return e===void 0&&(e=.1),Ri(P2(this.rgba,-e))},t.prototype.grayscale=function(){return Ri(P2(this.rgba,-1))},t.prototype.lighten=function(e){return e===void 0&&(e=.1),Ri(s7(this.rgba,e))},t.prototype.darken=function(e){return e===void 0&&(e=.1),Ri(s7(this.rgba,-e))},t.prototype.rotate=function(e){return e===void 0&&(e=15),this.hue(this.hue()+e)},t.prototype.alpha=function(e){return typeof e=="number"?Ri({r:(r=this.rgba).r,g:r.g,b:r.b,a:e}):ar(this.rgba.a,3);var r},t.prototype.hue=function(e){var r=Ic(this.rgba);return typeof e=="number"?Ri({h:e,s:r.s,l:r.l,a:r.a}):ar(r.h)},t.prototype.isEqual=function(e){return this.toHex()===Ri(e).toHex()},t}(),Ri=function(t){return t instanceof Nc?t:new Nc(t)},o7=[];No.Colord=Nc,No.colord=Ri,No.extend=function(t){t.forEach(function(e){o7.indexOf(e)<0&&(e(Nc,M2),o7.push(e))})},No.getFormat=function(t){return c7(t)[1]},No.random=function(){return new Nc({r:255*Math.random(),g:255*Math.random(),b:255*Math.random()})}});var p7=m((hRt,d7)=>{d7.exports=function(t,e){var r={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},n={};for(var i in r)n[r[i]]=i;var s={};t.prototype.toName=function(o){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var a,u,l=n[this.toHex()];if(l)return l;if(o?.closest){var c=this.toRgb(),f=1/0,d="black";if(!s.length)for(var p in r)s[p]=new t(r[p]).toRgb();for(var h in r){var y=(a=c,u=s[h],Math.pow(a.r-u.r,2)+Math.pow(a.g-u.g,2)+Math.pow(a.b-u.b,2));y<f&&(f=y,d=h)}return d}},e.string.push([function(o){var a=o.toLowerCase(),u=a==="transparent"?"#0000":r[a];return u?new t(u).toRgb():null},"name"])}});var v7=m((gRt,b7)=>{var qqe={grad:.9,turn:360,rad:360/(2*Math.PI)},L2=function(t){return typeof t=="string"?t.length>0:typeof t=="number"},fy=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=Math.pow(10,e)),Math.round(r*t)/r+0},F2=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=1),t>r?r:t>e?t:e},m7=function(t){return{h:(e=t.h,(e=isFinite(e)?e%360:0)>0?e:e+360),w:F2(t.w,0,100),b:F2(t.b,0,100),a:F2(t.a)};var e},h7=function(t){return{h:fy(t.h),w:fy(t.w),b:fy(t.b),a:fy(t.a,3)}},g7=function(t){return{h:function(e){var r=e.r,n=e.g,i=e.b,s=e.a,o=Math.max(r,n,i),a=o-Math.min(r,n,i),u=a?o===r?(n-i)/a:o===n?2+(i-r)/a:4+(r-n)/a:0;return{h:60*(u<0?u+6:u),s:o?a/o*100:0,v:o/255*100,a:s}}(t).h,w:Math.min(t.r,t.g,t.b)/255*100,b:100-Math.max(t.r,t.g,t.b)/255*100,a:t.a}},y7=function(t){return function(e){var r=e.h,n=e.s,i=e.v,s=e.a;r=r/360*6,n/=100,i/=100;var o=Math.floor(r),a=i*(1-n),u=i*(1-(r-o)*n),l=i*(1-(1-r+o)*n),c=o%6;return{r:255*[i,u,a,a,l,i][c],g:255*[l,i,i,u,a,a][c],b:255*[a,a,l,i,i,u][c],a:s}}({h:t.h,s:t.b===100?0:100-t.w/(100-t.b)*100,v:100-t.b,a:t.a})},Rqe=function(t){var e=t.h,r=t.w,n=t.b,i=t.a,s=i===void 0?1:i;if(!L2(e)||!L2(r)||!L2(n))return null;var o=m7({h:Number(e),w:Number(r),b:Number(n),a:Number(s)});return y7(o)},Aqe=/^hwb\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Pqe=function(t){var e=Aqe.exec(t);if(!e)return null;var r,n,i=m7({h:(r=e[1],n=e[2],n===void 0&&(n="deg"),Number(r)*(qqe[n]||1)),w:Number(e[3]),b:Number(e[4]),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)});return y7(i)};b7.exports=function(t,e){t.prototype.toHwb=function(){return h7(g7(this.rgba))},t.prototype.toHwbString=function(){return r=h7(g7(this.rgba)),n=r.h,i=r.w,s=r.b,(o=r.a)<1?"hwb("+n+" "+i+"% "+s+"% / "+o+")":"hwb("+n+" "+i+"% "+s+"%)";var r,n,i,s,o},e.string.push([Pqe,"hwb"]),e.object.push([Rqe,"hwb"])}});var _7=m((mRt,w7)=>{var I2=function(t){return typeof t=="string"?t.length>0:typeof t=="number"},jc=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=Math.pow(10,e)),Math.round(r*t)/r+0},ni=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=1),t>r?r:t>e?t:e},N2=function(t){var e=t/255;return e<.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)},j2=function(t){return 255*(t>.0031308?1.055*Math.pow(t,.4166666666666667)-.055:12.92*t)},$2=96.422,B2=100,W2=82.521,Tqe=function(t){var e,r,n={x:.9555766*(e=t).x+-.0230393*e.y+.0631636*e.z,y:-.0282895*e.x+1.0099416*e.y+.0210077*e.z,z:.0122982*e.x+-.020483*e.y+1.3299098*e.z};return r={r:j2(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:j2(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:j2(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:t.a},{r:ni(r.r,0,255),g:ni(r.g,0,255),b:ni(r.b,0,255),a:ni(r.a)}},Mqe=function(t){var e=N2(t.r),r=N2(t.g),n=N2(t.b);return function(i){return{x:ni(i.x,0,$2),y:ni(i.y,0,B2),z:ni(i.z,0,W2),a:ni(i.a)}}(function(i){return{x:1.0478112*i.x+.0228866*i.y+-.050127*i.z,y:.0295424*i.x+.9904844*i.y+-.0170491*i.z,z:-.0092345*i.x+.0150436*i.y+.7521316*i.z,a:i.a}}({x:100*(.4124564*e+.3575761*r+.1804375*n),y:100*(.2126729*e+.7151522*r+.072175*n),z:100*(.0193339*e+.119192*r+.9503041*n),a:t.a}))},$c=216/24389,Eu=24389/27,Lqe=function(t){var e=t.l,r=t.a,n=t.b,i=t.alpha,s=i===void 0?1:i;if(!I2(e)||!I2(r)||!I2(n))return null;var o=function(a){return{l:ni(a.l,0,400),a:a.a,b:a.b,alpha:ni(a.alpha)}}({l:Number(e),a:Number(r),b:Number(n),alpha:Number(s)});return Fqe(o)},Fqe=function(t){var e=(t.l+16)/116,r=t.a/500+e,n=e-t.b/200;return Tqe({x:(Math.pow(r,3)>$c?Math.pow(r,3):(116*r-16)/Eu)*$2,y:(t.l>8?Math.pow((t.l+16)/116,3):t.l/Eu)*B2,z:(Math.pow(n,3)>$c?Math.pow(n,3):(116*n-16)/Eu)*W2,a:t.alpha})};w7.exports=function(t,e){t.prototype.toLab=function(){return n=Mqe(this.rgba),s=n.y/B2,o=n.z/W2,i=(i=n.x/$2)>$c?Math.cbrt(i):(Eu*i+16)/116,r={l:116*(s=s>$c?Math.cbrt(s):(Eu*s+16)/116)-16,a:500*(i-s),b:200*(s-(o=o>$c?Math.cbrt(o):(Eu*o+16)/116)),alpha:n.a},{l:jc(r.l,2),a:jc(r.a,2),b:jc(r.b,2),alpha:jc(r.alpha,3)};var r,n,i,s,o},t.prototype.delta=function(r){r===void 0&&(r="#FFF");var n=r instanceof t?r:new t(r),i=function(s,o){var a=s.l,u=s.a,l=s.b,c=o.l,f=o.a,d=o.b,p=180/Math.PI,h=Math.PI/180,y=Math.pow(Math.pow(u,2)+Math.pow(l,2),.5),v=Math.pow(Math.pow(f,2)+Math.pow(d,2),.5),g=(a+c)/2,b=Math.pow((y+v)/2,7),w=.5*(1-Math.pow(b/(b+Math.pow(25,7)),.5)),_=u*(1+w),S=f*(1+w),q=Math.pow(Math.pow(_,2)+Math.pow(l,2),.5),C=Math.pow(Math.pow(S,2)+Math.pow(d,2),.5),R=(q+C)/2,O=_===0&&l===0?0:Math.atan2(l,_)*p,z=S===0&&d===0?0:Math.atan2(d,S)*p;O<0&&(O+=360),z<0&&(z+=360);var F=z-O,ee=Math.abs(z-O);ee>180&&z<=O?F+=360:ee>180&&z>O&&(F-=360);var G=O+z;ee<=180?G/=2:G=(O+z<360?G+360:G-360)/2;var ae=1-.17*Math.cos(h*(G-30))+.24*Math.cos(2*h*G)+.32*Math.cos(h*(3*G+6))-.2*Math.cos(h*(4*G-63)),L=c-a,M=C-q,oe=2*Math.sin(h*F/2)*Math.pow(q*C,.5),re=1+.015*Math.pow(g-50,2)/Math.pow(20+Math.pow(g-50,2),.5),fe=1+.045*R,ue=1+.015*R*ae,ie=30*Math.exp(-1*Math.pow((G-275)/25,2)),pe=-2*Math.pow(b/(b+Math.pow(25,7)),.5)*Math.sin(2*h*ie);return Math.pow(Math.pow(L/1/re,2)+Math.pow(M/1/fe,2)+Math.pow(oe/1/ue,2)+pe*M*oe/(1*fe*1*ue),.5)}(this.toLab(),n.toLab())/100;return ni(jc(i,3))},e.object.push([Lqe,"lab"])}});var D7=m((yRt,C7)=>{var Iqe={grad:.9,turn:360,rad:360/(2*Math.PI)},z2=function(t){return typeof t=="string"?t.length>0:typeof t=="number"},Cu=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=Math.pow(10,e)),Math.round(r*t)/r+0},is=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=1),t>r?r:t>e?t:e},U2=function(t){var e=t/255;return e<.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)},H2=function(t){return 255*(t>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t)},V2=96.422,G2=100,K2=82.521,Nqe=function(t){var e,r,n={x:.9555766*(e=t).x+-.0230393*e.y+.0631636*e.z,y:-.0282895*e.x+1.0099416*e.y+.0210077*e.z,z:.0122982*e.x+-.020483*e.y+1.3299098*e.z};return r={r:H2(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:H2(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:H2(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:t.a},{r:is(r.r,0,255),g:is(r.g,0,255),b:is(r.b,0,255),a:is(r.a)}},jqe=function(t){var e=U2(t.r),r=U2(t.g),n=U2(t.b);return function(i){return{x:is(i.x,0,V2),y:is(i.y,0,G2),z:is(i.z,0,K2),a:is(i.a)}}(function(i){return{x:1.0478112*i.x+.0228866*i.y+-.050127*i.z,y:.0295424*i.x+.9904844*i.y+-.0170491*i.z,z:-.0092345*i.x+.0150436*i.y+.7521316*i.z,a:i.a}}({x:100*(.4124564*e+.3575761*r+.1804375*n),y:100*(.2126729*e+.7151522*r+.072175*n),z:100*(.0193339*e+.119192*r+.9503041*n),a:t.a}))},Bc=216/24389,Du=24389/27,k7=function(t){return{l:is(t.l,0,100),c:t.c,h:(e=t.h,(e=isFinite(e)?e%360:0)>0?e:e+360),a:t.a};var e},x7=function(t){return{l:Cu(t.l,2),c:Cu(t.c,2),h:Cu(t.h,2),a:Cu(t.a,3)}},$qe=function(t){var e=t.l,r=t.c,n=t.h,i=t.a,s=i===void 0?1:i;if(!z2(e)||!z2(r)||!z2(n))return null;var o=k7({l:Number(e),c:Number(r),h:Number(n),a:Number(s)});return E7(o)},S7=function(t){var e=function(s){var o=jqe(s),a=o.x/V2,u=o.y/G2,l=o.z/K2;return a=a>Bc?Math.cbrt(a):(Du*a+16)/116,{l:116*(u=u>Bc?Math.cbrt(u):(Du*u+16)/116)-16,a:500*(a-u),b:200*(u-(l=l>Bc?Math.cbrt(l):(Du*l+16)/116)),alpha:o.a}}(t),r=Cu(e.a,3),n=Cu(e.b,3),i=Math.atan2(n,r)/Math.PI*180;return{l:e.l,c:Math.sqrt(r*r+n*n),h:i<0?i+360:i,a:e.alpha}},E7=function(t){return e={l:t.l,a:t.c*Math.cos(t.h*Math.PI/180),b:t.c*Math.sin(t.h*Math.PI/180),alpha:t.a},n=e.a/500+(r=(e.l+16)/116),i=r-e.b/200,Nqe({x:(Math.pow(n,3)>Bc?Math.pow(n,3):(116*n-16)/Du)*V2,y:(e.l>8?Math.pow((e.l+16)/116,3):e.l/Du)*G2,z:(Math.pow(i,3)>Bc?Math.pow(i,3):(116*i-16)/Du)*K2,a:e.alpha});var e,r,n,i},Bqe=/^lch\(\s*([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)\s+([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Wqe=function(t){var e=Bqe.exec(t);if(!e)return null;var r,n,i=k7({l:Number(e[1]),c:Number(e[2]),h:(r=e[3],n=e[4],n===void 0&&(n="deg"),Number(r)*(Iqe[n]||1)),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)});return E7(i)};C7.exports=function(t,e){t.prototype.toLch=function(){return x7(S7(this.rgba))},t.prototype.toLchString=function(){return r=x7(S7(this.rgba)),n=r.l,i=r.c,s=r.h,(o=r.a)<1?"lch("+n+"% "+i+" "+s+" / "+o+")":"lch("+n+"% "+i+" "+s+")";var r,n,i,s,o},e.string.push([Wqe,"lch"]),e.object.push([$qe,"lch"])}});var R7=m((bRt,q7)=>{var{colord:Y2,extend:zqe}=f7(),O7=Re(),Uqe=p7(),Hqe=v7(),Vqe=_7(),Gqe=D7();zqe([Uqe,Hqe,Vqe,Gqe,(t,e)=>{e.string.push([Kqe,"hwb-with-comma"])},(t,e)=>{e.string.push([Yqe,"gray"])}]);q7.exports={colord:Y2};function Kqe(t){if(t=t.toLowerCase(),!t.startsWith("hwb(")||!t.endsWith(")")||t.includes("/"))return null;let[e,r="",n="",i,...s]=t.slice(4,-1).split(",");if(!e||!e.trim()||!r.trim()||!n.trim()||s.length>0)return null;let o=Y2(`hwb(${e} ${r} ${n}${i?` / ${i}`:""})`);return o.isValid()?o.rgba:null}function Yqe(t){if(t=t.toLowerCase(),!t.startsWith("gray(")||!t.endsWith(")"))return null;let[e,r,...n]=t.slice(5,-1).split(",");if(!e||n.length>0)return null;let i=O7.unit(e.trim());if(!i||!["","%"].includes(i.unit))return null;let s={l:Number(i.number),a:0,b:0};if(r){let o=O7.unit(r.trim());if(!o||!["","%"].includes(o.unit))return null;s={...s,alpha:Number(o.number)/(o.unit?100:1)}}return Y2(s).rgba}});var F7=m((vRt,L7)=>{"use strict";var A7=qe(),Qqe=qi(),Jqe=pn(),P7=_e(),{acceptCustomIdentsProperties:Xqe}=ku(),Zqe=U(),e2e=$(),t2e=j(),T7=Re(),{isRegExp:r2e,isString:n2e}=te(),{colord:M7}=R7(),dy="color-named",Q2=e2e(dy,{expected:(t,e)=>`Expected "${e}" to be "${t}"`,rejected:t=>`Unexpected named color "${t}"`}),i2e={url:"https://stylelint.io/user-guide/rules/color-named"},s2e=new Set(["word","function"]),py=(t,e)=>(r,n)=>{if(!t2e(n,dy,{actual:t,possible:["never","always-where-possible"]},{actual:e,possible:{ignoreProperties:[n2e,r2e],ignore:["inside-function"]},optional:!0}))return;r.walkDecls(o=>{Xqe.has(o.prop)||P7(e,"ignoreProperties",o.prop)||T7(o.value).walk(a=>{let u=a.value,l=a.type,c=a.sourceIndex;if(P7(e,"ignore","inside-function")&&l==="function"||!Qqe(a))return!1;if(!Jqe(u)||!s2e.has(l))return;if(t==="never"&&l==="word"&&/^[a-z]+$/iu.test(u)&&u.toLowerCase()!=="transparent"&&M7(u).isValid()){s(Q2.rejected(u),o,A7(o)+c,u.length);return}if(t!=="always-where-possible")return;let f=null,d=null;if(l==="function")f=T7.stringify(a),d=f.replace(/\s*([,/()])\s*/g,"$1").replace(/\s{2,}/g," ");else if(l==="word"&&u.startsWith("#"))f=d=u;else return;let p=M7(d);if(!p.isValid())return;let h=p.toName();h&&h.toLowerCase()!=="transparent"&&s(Q2.expected(h,d),o,A7(o)+c,f.length)})});function s(o,a,u,l){Zqe({result:n,ruleName:dy,message:o,node:a,index:u,endIndex:u+l})}};py.ruleName=dy;py.messages=Q2;py.meta=i2e;L7.exports=py});var j7=m((wRt,N7)=>{"use strict";var o2e=Re(),a2e=qe(),u2e=vt(),l2e=U(),c2e=$(),f2e=j(),hy="color-no-hex",I7=c2e(hy,{rejected:t=>`Unexpected hex color "${t}"`}),d2e={url:"https://stylelint.io/user-guide/rules/color-no-hex"},p2e=/^#[0-9A-Za-z]+/,h2e=new Set(["url"]),gy=t=>(e,r)=>{f2e(r,hy,{actual:t})&&e.walkDecls(i=>{o2e(u2e(i)).walk(o=>{if(g2e(o))return!1;if(!m2e(o))return;let a=a2e(i)+o.sourceIndex,u=a+o.value.length;l2e({message:I7.rejected,messageArgs:[o.value],node:i,index:a,endIndex:u,result:r,ruleName:hy})})})};function g2e({type:t,value:e}){return t==="function"&&h2e.has(e.toLowerCase())}function m2e({type:t,value:e}){return t==="word"&&p2e.test(e)}gy.ruleName=hy;gy.messages=I7;gy.meta=d2e;N7.exports=gy});var B7=m((_Rt,$7)=>{"use strict";$7.exports=function(e){return!e.includes("[")}});var z7=m((xRt,W7)=>{"use strict";W7.exports=function(e){return/^#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(e)}});var V7=m((SRt,H7)=>{"use strict";var y2e=qe(),b2e=B7(),v2e=z7(),w2e=U(),_2e=$(),x2e=j(),S2e=Re(),my="color-no-invalid-hex",U7=_2e(my,{rejected:t=>`Unexpected invalid hex color "${t}"`}),k2e={url:"https://stylelint.io/user-guide/rules/color-no-invalid-hex"},yy=t=>(e,r)=>{x2e(r,my,{actual:t})&&e.walkDecls(i=>{b2e(i.value)&&S2e(i.value).walk(({value:s,type:o,sourceIndex:a})=>{if(o==="function"&&s.endsWith("url"))return!1;if(o!=="word")return;let u=/^#[0-9A-Za-z]+/.exec(s);if(!u)return;let l=u[0];if(!l||v2e(l))return;let c=y2e(i)+a,f=c+l.length;w2e({message:U7.rejected(l),node:i,index:c,endIndex:f,result:r,ruleName:my})})})};yy.ruleName=my;yy.messages=U7;yy.meta=k2e;H7.exports=yy});var Ou=m((kRt,G7)=>{"use strict";G7.exports=function(e){return!("inline"in e||"inline"in e.raws)}});var Y7=m((ERt,K7)=>{"use strict";var E2e=bu(),C2e=Io(),D2e=Pc(),O2e=vu(),q2e=Tc(),R2e=gm(),A2e=Ou(),by=_e(),P2e=wu(),T2e=U(),M2e=$(),L2e=j(),{isRegExp:F2e,isString:I2e}=te(),vy="comment-empty-line-before",J2=M2e(vy,{expected:"Expected empty line before comment",rejected:"Unexpected empty line before comment"}),N2e={url:"https://stylelint.io/user-guide/rules/comment-empty-line-before",fixable:!0},j2e="stylelint-",wy=(t,e,r)=>(n,i)=>{L2e(i,vy,{actual:t,possible:["always","never"]},{actual:e,possible:{except:["first-nested"],ignore:["stylelint-commands","after-comment"],ignoreComments:[I2e,F2e]},optional:!0})&&n.walkComments(o=>{if(q2e(o)||o.text.startsWith(j2e)&&by(e,"ignore","stylelint-commands")||by(e,"ignore","after-comment")&&D2e(o)||by(e,"ignoreComments",o.text)||R2e(o)||!A2e(o))return;let a=(()=>by(e,"except","first-nested")&&O2e(o)?!1:t==="always")(),u=o.raws.before||"",l=C2e(u);if(a===l)return;if(r.fix){if(typeof r.newline!="string")return;a?E2e(o,r.newline):P2e(o,r.newline);return}let c=a?J2.expected:J2.rejected;T2e({message:c,node:o,result:i,ruleName:vy})})};wy.ruleName=vy;wy.messages=J2;wy.meta=N2e;K7.exports=wy});var X7=m((CRt,J7)=>{"use strict";var $2e=Ou(),B2e=U(),W2e=$(),z2e=j(),_y="comment-no-empty",Q7=W2e(_y,{rejected:"Unexpected empty comment"}),U2e={url:"https://stylelint.io/user-guide/rules/comment-no-empty"},xy=t=>(e,r)=>{z2e(r,_y,{actual:t})&&e.walkComments(i=>{$2e(i)&&(i.text&&i.text.length!==0||B2e({message:Q7.rejected,node:i,result:r,ruleName:_y}))})};xy.ruleName=_y;xy.messages=Q7;xy.meta=U2e;J7.exports=xy});var rW=m((DRt,tW)=>{"use strict";var H2e=U(),V2e=$(),G2e=j(),{isRegExp:K2e,isString:Z7}=te(),Sy="comment-pattern",eW=V2e(Sy,{expected:t=>`Expected comment to match pattern "${t}"`}),Y2e={url:"https://stylelint.io/user-guide/rules/comment-pattern"},ky=t=>(e,r)=>{if(!G2e(r,Sy,{actual:t,possible:[K2e,Z7]}))return;let i=Z7(t)?new RegExp(t):t;e.walkComments(s=>{let o=s.text;i.test(o)||H2e({message:eW.expected(t),node:s,result:r,ruleName:Sy})})};ky.ruleName=Sy;ky.messages=eW;ky.meta=Y2e;tW.exports=ky});var sW=m((ORt,iW)=>{"use strict";var Q2e=Ou(),nW=Lc(),J2e=U(),X2e=$(),Z2e=j(),Ey="comment-whitespace-inside",Wc=X2e(Ey,{expectedOpening:'Expected whitespace after "/*"',rejectedOpening:'Unexpected whitespace after "/*"',expectedClosing:'Expected whitespace before "*/"',rejectedClosing:'Unexpected whitespace before "*/"'}),eRe={url:"https://stylelint.io/user-guide/rules/comment-whitespace-inside",fixable:!0};function tRe(t){t.text.startsWith("*")?t.text=t.text.replace(/^(\*+)/,"$1 "):t.raws.left=" "}function rRe(t){t.text[t.text.length-1]==="*"?t.text=t.text.replace(/(\*+)$/," $1"):t.raws.right=" "}var Cy=(t,e,r)=>(n,i)=>{Z2e(i,Ey,{actual:t,possible:["always","never"]})&&n.walkComments(o=>{if(!Q2e(o))return;let a=o.toString(),u=a.slice(0,4);if(/^\/\*[#!]\s/.test(u))return;let l=a.match(/(^\/\*+)(\s)?/);if(l==null||l[1]==null)throw new Error(`Invalid comment: "${a}"`);let c=a.match(/(\s)?(\*+\/)$/);if(c==null||c[2]==null)throw new Error(`Invalid comment: "${a}"`);let f=l[1],d=l[2]||"",p=c[1]||"",h=c[2];t==="never"&&d!==""&&y(Wc.rejectedOpening,f.length),t==="always"&&!nW(d)&&y(Wc.expectedOpening,f.length),t==="never"&&p!==""&&y(Wc.rejectedClosing,o.toString().length-h.length-1),t==="always"&&!nW(p)&&y(Wc.expectedClosing,o.toString().length-h.length-1);function y(v,g){if(r.fix){t==="never"?(o.raws.left="",o.raws.right="",o.text=o.text.replace(/^(\*+)(\s+)?/,"$1").replace(/(\s+)?(\*+)$/,"$2")):(d||tRe(o),p||rRe(o));return}J2e({message:v,index:g,result:i,ruleName:Ey,node:o})}})};Cy.ruleName=Ey;Cy.messages=Wc;Cy.meta=eRe;iW.exports=Cy});var uW=m((qRt,aW)=>{"use strict";var{isString:nRe}=te();aW.exports=function(e,r){if(!Array.isArray(r))return oW(e,r);for(let n of r){let i=oW(e,n);if(i)return i}return!1};function oW(t,e){return!e||!nRe(e)||e.startsWith("/")&&e.endsWith("/")?!1:t.includes(e)?{match:t,pattern:e,substring:e}:!1}});var fW=m((RRt,cW)=>{"use strict";var iRe=uW(),sRe=qt(),oRe=U(),aRe=$(),uRe=j(),{isRegExp:lRe,isString:cRe}=te(),Dy="comment-word-disallowed-list",lW=aRe(Dy,{rejected:t=>`Unexpected word matching pattern "${t}"`}),fRe={url:"https://stylelint.io/user-guide/rules/comment-word-disallowed-list"},zc=t=>(e,r)=>{uRe(r,Dy,{actual:t,possible:[cRe,lRe]})&&e.walkComments(i=>{let s=i.text;if(i.toString().slice(0,4)==="/*# ")return;let u=sRe(s,t)||iRe(s,t);u&&oRe({message:lW.rejected(u.pattern),node:i,word:u.substring,result:r,ruleName:Dy})})};zc.primaryOptionArray=!0;zc.ruleName=Dy;zc.messages=lW;zc.meta=fRe;cW.exports=zc});var Ze=m((ARt,dW)=>{"use strict";dW.exports=function(e){let r=1+e.name.length;return e.raws.afterName&&(r+=e.raws.afterName.length),r}});var mW=m((PRt,gW)=>{"use strict";var dRe=Ze(),pRe=U(),hRe=$(),gRe=j(),{isRegExp:mRe,isString:pW}=te(),Oy="custom-media-pattern",hW=hRe(Oy,{expected:(t,e)=>`Expected "${t}" to match pattern "${e}"`}),yRe={url:"https://stylelint.io/user-guide/rules/custom-media-pattern"},qy=t=>(e,r)=>{if(!gRe(r,Oy,{actual:t,possible:[mRe,pW]}))return;let i=pW(t)?new RegExp(t):t;e.walkAtRules(s=>{if(s.name.toLowerCase()!=="custom-media")return;let[o,a]=s.params.match(/^--(\S+)\b/)||[];if(o===void 0||a===void 0)throw new Error(`Unexpected at-rule params: "${s.params}"`);if(i.test(a))return;let u=dRe(s);pRe({message:hW.expected,messageArgs:[o,t],node:s,index:u,endIndex:u+o.length,result:r,ruleName:Oy})})};qy.ruleName=Oy;qy.messages=hW;qy.meta=yRe;gW.exports=qy});var hn=m((TRt,yW)=>{"use strict";yW.exports=function(e){return e.startsWith("--")}});var X2=m((MRt,bW)=>{"use strict";bW.exports=function(e){return!!(e.startsWith("$")||e.includes(".$"))}});var ii=m((LRt,wW)=>{"use strict";var bRe=X2(),{isRoot:vRe,isRule:vW}=Ye();function wRe(t){return t&&(t==="css"||t==="custom-template"||t==="template-literal")}wW.exports=function(e){let r=e.prop,n=e.parent;return!(n&&vRe(n)&&n.source&&!wRe(n.source.lang)||bRe(r)||r[0]==="@"&&r[1]!=="{"||n&&n.type==="atrule"&&n.raws.afterName===":"||n&&vW(n)&&n.selector&&n.selector.startsWith("#")&&n.selector.endsWith("()")||n&&vW(n)&&n.selector&&n.selector[n.selector.length-1]===":"&&n.selector.substring(0,2)!=="--"||"extend"in e&&e.extend)}});var EW=m((FRt,kW)=>{"use strict";var _Re=bu(),xRe=xr(),SRe=Ns(),kRe=Io(),_W=Pc(),SW=hn(),xW=vu(),ERe=Di(),CRe=ii(),qu=_e(),DRe=wu(),ORe=U(),qRe=$(),RRe=j(),{isAtRule:ARe,isDeclaration:PRe,isRule:TRe}=Ye(),Ry="custom-property-empty-line-before",Z2=qRe(Ry,{expected:"Expected empty line before custom property",rejected:"Unexpected empty line before custom property"}),MRe={url:"https://stylelint.io/user-guide/rules/custom-property-empty-line-before",fixable:!0},Ay=(t,e,r)=>(n,i)=>{RRe(i,Ry,{actual:t,possible:["always","never"]},{actual:e,possible:{except:["first-nested","after-comment","after-custom-property"],ignore:["after-comment","first-nested","inside-single-line-block"]},optional:!0})&&n.walkDecls(o=>{let a=o.prop,u=o.parent;if(!CRe(o)||!SW(a)||qu(e,"ignore","after-comment")&&_W(o)||qu(e,"ignore","first-nested")&&xW(o)||qu(e,"ignore","inside-single-line-block")&&u!=null&&(ARe(u)||TRe(u))&&ERe(xRe(u)))return;let l=t==="always";(qu(e,"except","first-nested")&&xW(o)||qu(e,"except","after-comment")&&_W(o)||qu(e,"except","after-custom-property")&&LRe(o))&&(l=!l);let c=kRe(o.raws.before);if(l===c)return;if(r.fix){if(r.newline==null)return;l?_Re(o,r.newline):DRe(o,r.newline);return}let f=l?Z2.expected:Z2.rejected;ORe({message:f,node:o,result:i,ruleName:Ry})})};function LRe(t){let e=SRe(t);return e!=null&&PRe(e)&&SW(e.prop)}Ay.ruleName=Ry;Ay.messages=Z2;Ay.meta=MRe;kW.exports=Ay});var OW=m((IRt,DW)=>{"use strict";var FRe=Re(),IRe=qe(),NRe=hn(),jRe=U(),$Re=$(),BRe=j(),Py="custom-property-no-missing-var-function",CW=$Re(Py,{rejected:t=>`Unexpected missing var function for "${t}"`}),WRe={url:"https://stylelint.io/user-guide/rules/custom-property-no-missing-var-function"},Ty=t=>(e,r)=>{if(!BRe(r,Py,{actual:t}))return;let i=new Set;e.walkAtRules(/^property$/i,s=>{i.add(s.params)}),e.walkDecls(({prop:s})=>{NRe(s)&&i.add(s)}),e.walkDecls(s=>{let{value:o}=s;FRe(o).walk(u=>{if(URe(u))return!1;if(!zRe(u)||!i.has(u.value))return;let l=IRe(s)+u.sourceIndex,c=l+u.value.length;return jRe({message:CW.rejected(u.value),node:s,index:l,endIndex:c,result:r,ruleName:Py}),!1})})};function zRe({type:t,value:e}){return t==="word"&&e.startsWith("--")}function URe({type:t,value:e}){return t==="function"&&e==="var"}Ty.ruleName=Py;Ty.messages=CW;Ty.meta=WRe;DW.exports=Ty});var si=m((NRt,qW)=>{"use strict";var HRe=Oc(),VRe=X2();qW.exports=function(e){return!(VRe(e)||e.startsWith("@")||e.endsWith("+")||e.endsWith("+_")||HRe(e))}});var TW=m((jRt,PW)=>{"use strict";var GRe=Re(),KRe=hn(),YRe=U(),QRe=$(),JRe=j(),XRe=qe(),{isRegExp:ZRe,isString:RW}=te(),{isValueFunction:eAe}=Ye(),tAe=si(),My="custom-property-pattern",AW=QRe(My,{expected:(t,e)=>`Expected "${t}" to match pattern "${e}"`}),rAe={url:"https://stylelint.io/user-guide/rules/custom-property-pattern"},Ly=t=>(e,r)=>{if(!JRe(r,My,{actual:t,possible:[ZRe,RW]}))return;let i=RW(t)?new RegExp(t):t;function s(a){return!tAe(a)||!KRe(a)||i.test(a.slice(2))}e.walkDecls(a=>{let{prop:u,value:l}=a;GRe(l).walk(f=>{if(!eAe(f)||f.value.toLowerCase()!=="var")return;let{nodes:d}=f,p=d[0];!p||s(p.value)||o(XRe(a)+p.sourceIndex,p.value,a)}),!s(u)&&o(0,u,a)});function o(a,u,l){YRe({result:r,ruleName:My,message:AW.expected,messageArgs:[u,t],node:l,index:a,endIndex:a+u.length})}};Ly.ruleName=My;Ly.messages=AW;Ly.meta=rAe;PW.exports=Ly});var Lr=m(($Rt,MW)=>{var Uc="skip",Ru="only";MW.exports=function(t,e){var r=t.source,n=t.target,i=t.comments?t.comments===Uc:!0,s=t.strings?t.strings===Uc:!0,o=t.functionNames?t.functionNames===Uc:!0,a=t.functionArguments===Uc,u=t.parentheticals===Uc,l=!1;Object.keys(t).forEach(function(M){if(t[M]===Ru)if(!l)l=!0;else throw new Error('Only one syntax feature option can be the "only" one to check')});var c=t.comments===Ru,f=t.strings===Ru,d=t.functionNames===Ru,p=t.functionArguments===Ru,h=t.parentheticals===Ru,y=!1,v=!1,g=!1,b=!1,w=!1,_=0,S=0,q,C=Array.isArray(n),R=function(){return C?function(M){for(var oe=0,re=n.length;oe<re;oe++){var fe=O(n[oe],M);if(fe)return fe}return!1}:O.bind(null,n)}();function O(M,oe){var re=M.length;return re===1&&r[oe]!==M||r.substr(oe,re)!==M?!1:{insideParens:b,insideFunctionArguments:w,insideComment:v,insideString:y,startIndex:oe,endIndex:oe+re,target:M}}for(var z=0,F=r.length;z<F;z++){var ee=r[z];if(!y&&!v&&ee==="/"&&r[z-1]!=="\\"){if(r[z+1]==="*"){v=!0;continue}if(r[z+1]==="/"){v=!0,g=!0;continue}}if(v){if(!g&&ee==="*"&&r[z-1]!=="\\"&&r[z+1]==="/"&&r[z-1]!=="/"){v=!1;continue}if(g&&ee===`
|
|
78
|
+
`)&&(t==="always"?d(jm.expectedBefore):l&&t==="always-multi-line"&&d(jm.expectedBeforeMultiLine)),u!==""&&l&&t==="never-multi-line"&&d(jm.rejectedBeforeMultiLine);function d(p){if(r.fix){let h=a.raws;if(typeof h.after!="string")return;if(t.startsWith("always")){let y=h.after.search(/\s/),v=y>=0?h.after.slice(0,y):h.after,g=y>=0?h.after.slice(y):"",b=g.search(/\r?\n/);h.after=b>=0?v+g.slice(b):v+r.newline+g;return}if(t==="never-multi-line"){h.after=h.after.replace(/\s/g,"");return}}uDe({message:p,result:i,ruleName:$m,node:a,index:f})}}};Bm.ruleName=$m;Bm.messages=jm;Bm.meta=fDe;r4.exports=Bm});var o4=m((X2t,s4)=>{"use strict";var dDe=xr(),pDe=nr(),hDe=rs(),gDe=U(),mDe=$(),yDe=j(),bDe=je(),Wm="block-closing-brace-space-after",i4=mDe(Wm,{expectedAfter:()=>'Expected single space after "}"',rejectedAfter:()=>'Unexpected whitespace after "}"',expectedAfterSingleLine:()=>'Expected single space after "}" of a single-line block',rejectedAfterSingleLine:()=>'Unexpected whitespace after "}" of a single-line block',expectedAfterMultiLine:()=>'Expected single space after "}" of a multi-line block',rejectedAfterMultiLine:()=>'Unexpected whitespace after "}" of a multi-line block'}),vDe={url:"https://stylelint.io/user-guide/rules/block-closing-brace-space-after"},zm=t=>{let e=bDe("space",t,i4);return(r,n)=>{if(!yDe(n,Wm,{actual:t,possible:["always","never","always-single-line","never-single-line","always-multi-line","never-multi-line"]}))return;r.walkRules(s),r.walkAtRules(s);function s(o){let a=o.next();if(!a||!pDe(o))return;let u=o.toString().length,l=hDe(a);l&&l.startsWith(";")&&(l=l.slice(1),u++),e.after({source:l,index:-1,lineCheckStr:dDe(o),err:c=>{gDe({message:c,node:o,index:u,result:n,ruleName:Wm})}})}}};zm.ruleName=Wm;zm.messages=i4;zm.meta=vDe;s4.exports=zm});var l4=m((Z2t,u4)=>{"use strict";var wDe=xr(),_De=nr(),xDe=zs(),SDe=U(),kDe=$(),EDe=j(),CDe=je(),Um="block-closing-brace-space-before",a4=kDe(Um,{expectedBefore:()=>'Expected single space before "}"',rejectedBefore:()=>'Unexpected whitespace before "}"',expectedBeforeSingleLine:()=>'Expected single space before "}" of a single-line block',rejectedBeforeSingleLine:()=>'Unexpected whitespace before "}" of a single-line block',expectedBeforeMultiLine:()=>'Expected single space before "}" of a multi-line block',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "}" of a multi-line block'}),DDe={url:"https://stylelint.io/user-guide/rules/block-closing-brace-space-before",fixable:!0},Hm=(t,e,r)=>{let n=CDe("space",t,a4);return(i,s)=>{if(!EDe(s,Um,{actual:t,possible:["always","never","always-single-line","never-single-line","always-multi-line","never-multi-line"]}))return;i.walkRules(a),i.walkAtRules(a);function a(u){if(!_De(u)||xDe(u))return;let l=wDe(u),c=u.toString(),f=c.length-2;c[f-1]==="\r"&&(f-=1),n.before({source:l,index:l.length-1,err:d=>{if(r.fix){let p=u.raws;if(typeof p.after!="string")return;if(t.startsWith("always")){p.after=p.after.replace(/\s*$/," ");return}if(t.startsWith("never")){p.after=p.after.replace(/\s*$/,"");return}}SDe({message:d,node:u,index:f,result:s,ruleName:Um})}})}}};Hm.ruleName=Um;Hm.messages=a4;Hm.meta=DDe;u4.exports=Hm});var O2=m((eRt,g4)=>{"use strict";var{assertString:ODe}=te(),c4="stylelint-disable",f4="stylelint-disable-line",d4="stylelint-disable-next-line",p4="stylelint-enable",qDe=new Set([c4,f4,d4,p4]);function h4(t){let[e]=t.text.split(/\s/,1);return ODe(e),e}function RDe(t){let e=h4(t);return e!==void 0&&qDe.has(e)}g4.exports={DISABLE_COMMAND:c4,DISABLE_LINE_COMMAND:f4,DISABLE_NEXT_LINE_COMMAND:d4,ENABLE_COMMAND:p4,extractStylelintCommand:h4,isStylelintCommand:RDe}});var b4=m((tRt,y4)=>{"use strict";var ADe=Ws(),PDe=nr(),TDe=_e(),MDe=U(),LDe=$(),{isStylelintCommand:FDe}=O2(),{isComment:IDe}=Ye(),NDe=j(),{isBoolean:jDe}=te(),Vm="block-no-empty",m4=LDe(Vm,{rejected:"Unexpected empty block"}),$De={url:"https://stylelint.io/user-guide/rules/block-no-empty"},Gm=(t,e)=>(r,n)=>{if(!NDe(n,Vm,{actual:t,possible:jDe},{actual:e,possible:{ignore:["comments"]},optional:!0}))return;let s=TDe(e,"ignore","comments");r.walkRules(o),r.walkAtRules(o);function o(u){if(!PDe(u)||a(u))return;let l=ADe(u,{noRawBefore:!0}).length;u.raws.between===void 0&&l--,MDe({message:m4.rejected,node:u,start:u.positionBy({index:l}),result:n,ruleName:Vm})}function a(u){return u.nodes.some(l=>!(IDe(l)&&(s||FDe(l))))}};Gm.ruleName=Vm;Gm.messages=m4;Gm.meta=$De;y4.exports=Gm});var _4=m((rRt,w4)=>{"use strict";var BDe=Ws(),WDe=xr(),zDe=nr(),UDe=zs(),HDe=_e(),VDe=rs(),GDe=U(),KDe=$(),YDe=j(),QDe=je(),Km="block-opening-brace-newline-after",v4=KDe(Km,{expectedAfter:()=>'Expected newline after "{"',expectedAfterMultiLine:()=>'Expected newline after "{" of a multi-line block',rejectedAfterMultiLine:()=>'Unexpected whitespace after "{" of a multi-line block'}),JDe={url:"https://stylelint.io/user-guide/rules/block-opening-brace-newline-after",fixable:!0},Ym=(t,e,r)=>{let n=QDe("newline",t,v4);return(i,s)=>{if(!YDe(s,Km,{actual:t,possible:["always","rules","always-multi-line","never-multi-line"]},{actual:e,possible:{ignore:["rules"]},optional:!0}))return;HDe(e,"ignore","rules")||i.walkRules(a),i.walkAtRules(a);function a(u){if(!zDe(u)||UDe(u))return;let l=new Map;function c(d){if(!(!d||!d.next)){if(d.type==="comment"){let p=/\r?\n/,h=p.test(d.raws.before||""),y=d.next();return y&&h&&!p.test(y.raws.before||"")&&(l.set(y,y.raws.before),y.raws.before=d.raws.before),c(y)}return d}}let f=c(u.first);if(f){n.afterOneOnly({source:VDe(f),index:-1,lineCheckStr:WDe(u),err:d=>{if(r.fix){let p=f.raws;if(typeof p.before!="string")return;if(t.startsWith("always")){let h=p.before.search(/\r?\n/);p.before=h>=0?p.before.slice(h):r.newline+p.before,l.delete(f);return}if(t==="never-multi-line"){for(let[v,g]of l.entries())v.raws.before=g;l.clear();let h=/\r?\n/,y=u.first;for(;y;){let v=y.raws;if(typeof v.before=="string"){if(h.test(v.before||"")&&(v.before=v.before.replace(/\r?\n/g,"")),y.type!=="comment")break;y=y.next()}}p.before="";return}}GDe({message:d,node:u,index:BDe(u,{noRawBefore:!0}).length+1,result:s,ruleName:Km})}});for(let[d,p]of l.entries())d.raws.before=p}}}};Ym.ruleName=Km;Ym.messages=v4;Ym.meta=JDe;w4.exports=Ym});var E4=m((nRt,k4)=>{"use strict";var x4=Ws(),XDe=xr(),ZDe=nr(),eOe=zs(),tOe=U(),rOe=$(),nOe=j(),iOe=je(),Qm="block-opening-brace-newline-before",S4=rOe(Qm,{expectedBefore:()=>'Expected newline before "{"',expectedBeforeSingleLine:()=>'Expected newline before "{" of a single-line block',rejectedBeforeSingleLine:()=>'Unexpected whitespace before "{" of a single-line block',expectedBeforeMultiLine:()=>'Expected newline before "{" of a multi-line block',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "{" of a multi-line block'}),sOe={url:"https://stylelint.io/user-guide/rules/block-opening-brace-newline-before",fixable:!0},Jm=(t,e,r)=>{let n=iOe("newline",t,S4);return(i,s)=>{if(!nOe(s,Qm,{actual:t,possible:["always","always-single-line","never-single-line","always-multi-line","never-multi-line"]}))return;i.walkRules(a),i.walkAtRules(a);function a(u){if(!ZDe(u)||eOe(u))return;let l=x4(u),c=x4(u,{noRawBefore:!0}),f=c.length-1;c[f-1]==="\r"&&(f-=1),n.beforeAllowingIndentation({lineCheckStr:XDe(u),source:l,index:l.length,err:d=>{if(r.fix){let p=u.raws;if(typeof p.between!="string")return;if(t.startsWith("always")){let h=p.between.search(/\s+$/);h>=0?u.raws.between=p.between.slice(0,h)+r.newline+p.between.slice(h):p.between+=r.newline;return}if(t.startsWith("never")){p.between=p.between.replace(/\s*$/,"");return}}tOe({message:d,node:u,index:f,result:s,ruleName:Qm})}})}}};Jm.ruleName=Qm;Jm.messages=S4;Jm.meta=sOe;k4.exports=Jm});var O4=m((iRt,D4)=>{"use strict";var oOe=Ws(),aOe=xr(),uOe=nr(),lOe=zs(),cOe=_e(),fOe=U(),dOe=$(),pOe=j(),hOe=je(),Xm="block-opening-brace-space-after",C4=dOe(Xm,{expectedAfter:()=>'Expected single space after "{"',rejectedAfter:()=>'Unexpected whitespace after "{"',expectedAfterSingleLine:()=>'Expected single space after "{" of a single-line block',rejectedAfterSingleLine:()=>'Unexpected whitespace after "{" of a single-line block',expectedAfterMultiLine:()=>'Expected single space after "{" of a multi-line block',rejectedAfterMultiLine:()=>'Unexpected whitespace after "{" of a multi-line block'}),gOe={url:"https://stylelint.io/user-guide/rules/block-opening-brace-space-after",fixable:!0},Zm=(t,e,r)=>{let n=hOe("space",t,C4);return(i,s)=>{if(!pOe(s,Xm,{actual:t,possible:["always","never","always-single-line","never-single-line","always-multi-line","never-multi-line"]},{actual:e,possible:{ignore:["at-rules"]},optional:!0}))return;i.walkRules(a),cOe(e,"ignore","at-rules")||i.walkAtRules(a);function a(u){!uOe(u)||lOe(u)||n.after({source:aOe(u),index:0,err:l=>{if(r.fix){let c=u.first;if(c==null)return;if(t.startsWith("always")){c.raws.before=" ";return}if(t.startsWith("never")){c.raws.before="";return}}fOe({message:l,node:u,index:oOe(u,{noRawBefore:!0}).length+1,result:s,ruleName:Xm})}})}}};Zm.ruleName=Xm;Zm.messages=C4;Zm.meta=gOe;D4.exports=Zm});var L4=m((sRt,M4)=>{"use strict";var q4=Ws(),mOe=xr(),yOe=nr(),bOe=zs(),R4=_e(),vOe=U(),wOe=$(),_Oe=j(),xOe=je(),{isRegExp:A4,isString:P4}=te(),ey="block-opening-brace-space-before",T4=wOe(ey,{expectedBefore:()=>'Expected single space before "{"',rejectedBefore:()=>'Unexpected whitespace before "{"',expectedBeforeSingleLine:()=>'Expected single space before "{" of a single-line block',rejectedBeforeSingleLine:()=>'Unexpected whitespace before "{" of a single-line block',expectedBeforeMultiLine:()=>'Expected single space before "{" of a multi-line block',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "{" of a multi-line block'}),SOe={url:"https://stylelint.io/user-guide/rules/block-opening-brace-space-before",fixable:!0},ty=(t,e,r)=>{let n=xOe("space",t,T4);return(i,s)=>{if(!_Oe(s,ey,{actual:t,possible:["always","never","always-single-line","never-single-line","always-multi-line","never-multi-line"]},{actual:e,possible:{ignoreAtRules:[P4,A4],ignoreSelectors:[P4,A4]},optional:!0}))return;i.walkRules(a),i.walkAtRules(a);function a(u){if(!yOe(u)||bOe(u)||u.type==="atrule"&&R4(e,"ignoreAtRules",u.name)||u.type==="rule"&&R4(e,"ignoreSelectors",u.selector))return;let l=q4(u),c=q4(u,{noRawBefore:!0}),f=c.length-1;c[f-1]==="\r"&&(f-=1),n.before({source:l,index:l.length,lineCheckStr:mOe(u),err:d=>{if(r.fix){if(t.startsWith("always")){u.raws.between=" ";return}if(t.startsWith("never")){u.raws.between="";return}}vOe({message:d,node:u,index:f,result:s,ruleName:ey})}})}}};ty.ruleName=ey;ty.messages=T4;ty.meta=SOe;M4.exports=ty});var qi=m((oRt,F4)=>{"use strict";F4.exports=function(e){return!(!e.value||e.value.startsWith("#{"))}});var N4=m((aRt,I4)=>{"use strict";var kOe=qi();I4.exports=function t(e){if(!kOe(e))return!1;for(let r of e.nodes){if(r.type==="function")return t(r);if(r.type==="word"&&(r.value.startsWith("#")||r.value.startsWith("$")))return!1}return!0}});var z4=m((uRt,W4)=>{"use strict";var EOe=Re(),COe=qe(),DOe=vt(),OOe=N4(),qOe=U(),ROe=$(),AOe=Bt(),{isValueFunction:POe}=Ye(),TOe=j(),ry="color-function-notation",$4=ROe(ry,{expected:t=>`Expected ${t} color-function notation`}),MOe={url:"https://stylelint.io/user-guide/rules/color-function-notation",fixable:!0},LOe=new Set(["rgba","hsla"]),FOe=new Set(["rgb","rgba","hsl","hsla"]),ny=(t,e,r)=>(n,i)=>{TOe(i,ry,{actual:t,possible:["modern","legacy"]})&&n.walkDecls(o=>{let a=!1,u=EOe(DOe(o));u.walk(l=>{if(!POe(l)||!OOe(l))return;let{value:c,sourceIndex:f,sourceEndIndex:d,nodes:p}=l;if(!FOe.has(c.toLowerCase())||t==="modern"&&!j4(l)||t==="legacy"&&j4(l))return;if(r.fix&&t==="modern"){let v=0;l.nodes=p.map(g=>(B4(g)&&(v<2?(g.type="space",g.value=q2(g.after),v++):(g.value="/",g.before=q2(g.before),g.after=q2(g.after))),g)),LOe.has(l.value.toLowerCase())&&(l.value=l.value.slice(0,-1)),a=!0;return}let h=COe(o)+f,y=h+(d-f);qOe({message:$4.expected(t),node:o,index:h,endIndex:y,result:i,ruleName:ry})}),a&&AOe(o,u.toString())})};function q2(t){return t!==""?t:" "}function B4(t){return t.type==="div"&&t.value===","}function j4(t){return t.nodes&&t.nodes.some(e=>B4(e))}ny.ruleName=ry;ny.messages=$4;ny.meta=MOe;W4.exports=ny});var V4=m((lRt,H4)=>{"use strict";var IOe=qe(),NOe=U(),jOe=$(),$Oe=j(),BOe=Re(),iy="color-hex-alpha",R2=jOe(iy,{expected:t=>`Expected alpha channel in "${t}"`,unexpected:t=>`Unexpected alpha channel in "${t}"`}),WOe={url:"https://stylelint.io/user-guide/rules/color-hex-alpha"},zOe=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/i,sy=t=>(e,r)=>{$Oe(r,iy,{actual:t,possible:["always","never"]})&&e.walkDecls(i=>{BOe(i.value).walk(o=>{if(UOe(o))return!1;if(!HOe(o))return;let{value:a}=o;if(t==="always"&&U4(a)||t==="never"&&!U4(a))return;let u=IOe(i)+o.sourceIndex,l=u+a.length;NOe({message:t==="never"?R2.unexpected(a):R2.expected(a),node:i,index:u,endIndex:l,result:r,ruleName:iy})})})};function UOe({type:t,value:e}){return t==="function"&&e==="url"}function HOe({type:t,value:e}){return t==="word"&&zOe.test(e)}function U4(t){return t.length===5||t.length===9}sy.ruleName=iy;sy.messages=R2;sy.meta=WOe;H4.exports=sy});var Y4=m((cRt,K4)=>{"use strict";var VOe=Re(),GOe=qe(),KOe=vt(),YOe=U(),QOe=$(),JOe=Bt(),XOe=j(),oy="color-hex-case",G4=QOe(oy,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),ZOe={url:"https://stylelint.io/user-guide/rules/color-hex-case",fixable:!0},eqe=/^#[0-9A-Za-z]+/,tqe=new Set(["url"]),ay=(t,e,r)=>(n,i)=>{XOe(i,oy,{actual:t,possible:["lower","upper"]})&&n.walkDecls(o=>{let a=VOe(KOe(o)),u=!1;a.walk(l=>{let{value:c}=l;if(rqe(l))return!1;if(!nqe(l))return;let f=t==="lower"?c.toLowerCase():c.toUpperCase();if(c!==f){if(r.fix){l.value=f,u=!0;return}YOe({message:G4.expected(c,f),node:o,index:GOe(o)+l.sourceIndex,result:i,ruleName:oy})}}),u&&JOe(o,a.toString())})};function rqe({type:t,value:e}){return t==="function"&&tqe.has(e.toLowerCase())}function nqe({type:t,value:e}){return t==="word"&&eqe.test(e)}ay.ruleName=oy;ay.messages=G4;ay.meta=ZOe;K4.exports=ay});var X4=m((fRt,J4)=>{"use strict";var iqe=Re(),sqe=qe(),oqe=vt(),aqe=U(),uqe=$(),lqe=Bt(),cqe=j(),uy="color-hex-length",Q4=uqe(uy,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),fqe={url:"https://stylelint.io/user-guide/rules/color-hex-length",fixable:!0},dqe=/^#[0-9A-Za-z]+/,pqe=new Set(["url"]),ly=(t,e,r)=>(n,i)=>{cqe(i,uy,{actual:t,possible:["short","long"]})&&n.walkDecls(o=>{let a=iqe(oqe(o)),u=!1;a.walk(l=>{let{value:c}=l;if(yqe(l))return!1;if(!bqe(l)||t==="long"&&c.length!==4&&c.length!==5||t==="short"&&(c.length<6||!hqe(c)))return;let d=(t==="long"?mqe:gqe)(c);if(r.fix){l.value=d,u=!0;return}let p=sqe(o)+l.sourceIndex,h=p+l.value.length;aqe({message:Q4.expected(c,d),node:o,index:p,endIndex:h,result:i,ruleName:uy})}),u&&lqe(o,a.toString())})};function hqe(t){return t=t.toLowerCase(),t[1]===t[2]&&t[3]===t[4]&&t[5]===t[6]&&(t.length===7||t.length===9&&t[7]===t[8])}function gqe(t){let e="#";for(let r=1;r<t.length;r+=2)e+=t[r];return e}function mqe(t){let e="#";for(let r=1;r<t.length;r++)e+=t.charAt(r).repeat(2);return e}function yqe({type:t,value:e}){return t==="function"&&pqe.has(e.toLowerCase())}function bqe({type:t,value:e}){return t==="word"&&dqe.test(e)}ly.ruleName=uy;ly.messages=Q4;ly.meta=fqe;J4.exports=ly});var ku=m((dRt,Z4)=>{"use strict";var vqe=new Set(["animation","animation-name","font","font-family","counter-increment","grid-row","grid-column","grid-area","list-style","list-style-type"]),wqe=new Map([["animation",new Set(["animation-name","animation-duration","animation-timing-function","animation-delay","animation-iteration-count","animation-direction","animation-fill-mode","animation-play-state"])],["background",new Set(["background-image","background-size","background-position","background-repeat","background-origin","background-clip","background-attachment","background-color"])],["border",new Set(["border-top-width","border-bottom-width","border-left-width","border-right-width","border-top-style","border-bottom-style","border-left-style","border-right-style","border-top-color","border-bottom-color","border-left-color","border-right-color"])],["border-block-end",new Set(["border-block-end-width","border-block-end-style","border-block-end-color"])],["border-block-start",new Set(["border-block-start-width","border-block-start-style","border-block-start-color"])],["border-bottom",new Set(["border-bottom-width","border-bottom-style","border-bottom-color"])],["border-color",new Set(["border-top-color","border-bottom-color","border-left-color","border-right-color"])],["border-image",new Set(["border-image-source","border-image-slice","border-image-width","border-image-outset","border-image-repeat"])],["border-inline-end",new Set(["border-inline-end-width","border-inline-end-style","border-inline-end-color"])],["border-inline-start",new Set(["border-inline-start-width","border-inline-start-style","border-inline-start-color"])],["border-left",new Set(["border-left-width","border-left-style","border-left-color"])],["border-radius",new Set(["border-top-right-radius","border-top-left-radius","border-bottom-right-radius","border-bottom-left-radius"])],["border-right",new Set(["border-right-width","border-right-style","border-right-color"])],["border-style",new Set(["border-top-style","border-bottom-style","border-left-style","border-right-style"])],["border-top",new Set(["border-top-width","border-top-style","border-top-color"])],["border-width",new Set(["border-top-width","border-bottom-width","border-left-width","border-right-width"])],["column-rule",new Set(["column-rule-width","column-rule-style","column-rule-color"])],["columns",new Set(["column-width","column-count"])],["flex",new Set(["flex-grow","flex-shrink","flex-basis"])],["flex-flow",new Set(["flex-direction","flex-wrap"])],["font",new Set(["font-style","font-variant","font-weight","font-stretch","font-size","font-family","line-height"])],["grid",new Set(["grid-template-rows","grid-template-columns","grid-template-areas","grid-auto-rows","grid-auto-columns","grid-auto-flow","grid-column-gap","grid-row-gap"])],["grid-area",new Set(["grid-row-start","grid-column-start","grid-row-end","grid-column-end"])],["grid-column",new Set(["grid-column-start","grid-column-end"])],["grid-gap",new Set(["grid-row-gap","grid-column-gap"])],["grid-row",new Set(["grid-row-start","grid-row-end"])],["grid-template",new Set(["grid-template-columns","grid-template-rows","grid-template-areas"])],["list-style",new Set(["list-style-type","list-style-position","list-style-image"])],["margin",new Set(["margin-top","margin-bottom","margin-left","margin-right"])],["mask",new Set(["mask-image","mask-mode","mask-position","mask-size","mask-repeat","mask-origin","mask-clip","mask-composite"])],["outline",new Set(["outline-color","outline-style","outline-width"])],["padding",new Set(["padding-top","padding-bottom","padding-left","padding-right"])],["text-decoration",new Set(["text-decoration-color","text-decoration-style","text-decoration-line"])],["text-emphasis",new Set(["text-emphasis-style","text-emphasis-color"])],["transition",new Set(["transition-delay","transition-duration","transition-property","transition-timing-function"])]]),_qe=new Set(["transition-duration","transition-delay","animation-duration","animation-delay"]),xqe=new Set(["transition","animation"]);Z4.exports={acceptCustomIdentsProperties:vqe,longhandSubPropertiesOfShorthandProperties:wqe,longhandTimeProperties:_qe,shorthandTimeProperties:xqe}});var f7=m(No=>{Object.defineProperty(No,"__esModule",{value:!0});var Sqe={grad:.9,turn:360,rad:360/(2*Math.PI)},ns=function(t){return typeof t=="string"?t.length>0:typeof t=="number"},ur=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=Math.pow(10,e)),Math.round(r*t)/r+0},Fn=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=1),t>r?r:t>e?t:e},a7=function(t){return(t=isFinite(t)?t%360:0)>0?t:t+360},e7=function(t){return{r:Fn(t.r,0,255),g:Fn(t.g,0,255),b:Fn(t.b,0,255),a:Fn(t.a)}},A2=function(t){return{r:ur(t.r),g:ur(t.g),b:ur(t.b),a:ur(t.a,3)}},kqe=/^#([0-9a-f]{3,8})$/i,cy=function(t){var e=t.toString(16);return e.length<2?"0"+e:e},u7=function(t){var e=t.r,r=t.g,n=t.b,i=t.a,s=Math.max(e,r,n),o=s-Math.min(e,r,n),a=o?s===e?(r-n)/o:s===r?2+(n-e)/o:4+(e-r)/o:0;return{h:60*(a<0?a+6:a),s:s?o/s*100:0,v:s/255*100,a:i}},l7=function(t){var e=t.h,r=t.s,n=t.v,i=t.a;e=e/360*6,r/=100,n/=100;var s=Math.floor(e),o=n*(1-r),a=n*(1-(e-s)*r),u=n*(1-(1-e+s)*r),l=s%6;return{r:255*[n,a,o,o,u,n][l],g:255*[u,n,n,a,o,o][l],b:255*[o,o,u,n,n,a][l],a:i}},t7=function(t){return{h:a7(t.h),s:Fn(t.s,0,100),l:Fn(t.l,0,100),a:Fn(t.a)}},r7=function(t){return{h:ur(t.h),s:ur(t.s),l:ur(t.l),a:ur(t.a,3)}},n7=function(t){return l7((r=(e=t).s,{h:e.h,s:(r*=((n=e.l)<50?n:100-n)/100)>0?2*r/(n+r)*100:0,v:n+r,a:e.a}));var e,r,n},Ic=function(t){return{h:(e=u7(t)).h,s:(i=(200-(r=e.s))*(n=e.v)/100)>0&&i<200?r*n/100/(i<=100?i:200-i)*100:0,l:i/2,a:e.a};var e,r,n,i},Eqe=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Cqe=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Dqe=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Oqe=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,M2={string:[[function(t){var e=kqe.exec(t);return e?(t=e[1]).length<=4?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:t.length===4?ur(parseInt(t[3]+t[3],16)/255,2):1}:t.length===6||t.length===8?{r:parseInt(t.substr(0,2),16),g:parseInt(t.substr(2,2),16),b:parseInt(t.substr(4,2),16),a:t.length===8?ur(parseInt(t.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(t){var e=Dqe.exec(t)||Oqe.exec(t);return e?e[2]!==e[4]||e[4]!==e[6]?null:e7({r:Number(e[1])/(e[2]?100/255:1),g:Number(e[3])/(e[4]?100/255:1),b:Number(e[5])/(e[6]?100/255:1),a:e[7]===void 0?1:Number(e[7])/(e[8]?100:1)}):null},"rgb"],[function(t){var e=Eqe.exec(t)||Cqe.exec(t);if(!e)return null;var r,n,i=t7({h:(r=e[1],n=e[2],n===void 0&&(n="deg"),Number(r)*(Sqe[n]||1)),s:Number(e[3]),l:Number(e[4]),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)});return n7(i)},"hsl"]],object:[[function(t){var e=t.r,r=t.g,n=t.b,i=t.a,s=i===void 0?1:i;return ns(e)&&ns(r)&&ns(n)?e7({r:Number(e),g:Number(r),b:Number(n),a:Number(s)}):null},"rgb"],[function(t){var e=t.h,r=t.s,n=t.l,i=t.a,s=i===void 0?1:i;if(!ns(e)||!ns(r)||!ns(n))return null;var o=t7({h:Number(e),s:Number(r),l:Number(n),a:Number(s)});return n7(o)},"hsl"],[function(t){var e=t.h,r=t.s,n=t.v,i=t.a,s=i===void 0?1:i;if(!ns(e)||!ns(r)||!ns(n))return null;var o=function(a){return{h:a7(a.h),s:Fn(a.s,0,100),v:Fn(a.v,0,100),a:Fn(a.a)}}({h:Number(e),s:Number(r),v:Number(n),a:Number(s)});return l7(o)},"hsv"]]},i7=function(t,e){for(var r=0;r<e.length;r++){var n=e[r][0](t);if(n)return[n,e[r][1]]}return[null,void 0]},c7=function(t){return typeof t=="string"?i7(t.trim(),M2.string):typeof t=="object"&&t!==null?i7(t,M2.object):[null,void 0]},P2=function(t,e){var r=Ic(t);return{h:r.h,s:Fn(r.s+100*e,0,100),l:r.l,a:r.a}},T2=function(t){return(299*t.r+587*t.g+114*t.b)/1e3/255},s7=function(t,e){var r=Ic(t);return{h:r.h,s:r.s,l:Fn(r.l+100*e,0,100),a:r.a}},Nc=function(){function t(e){this.parsed=c7(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return t.prototype.isValid=function(){return this.parsed!==null},t.prototype.brightness=function(){return ur(T2(this.rgba),2)},t.prototype.isDark=function(){return T2(this.rgba)<.5},t.prototype.isLight=function(){return T2(this.rgba)>=.5},t.prototype.toHex=function(){return e=A2(this.rgba),r=e.r,n=e.g,i=e.b,o=(s=e.a)<1?cy(ur(255*s)):"","#"+cy(r)+cy(n)+cy(i)+o;var e,r,n,i,s,o},t.prototype.toRgb=function(){return A2(this.rgba)},t.prototype.toRgbString=function(){return e=A2(this.rgba),r=e.r,n=e.g,i=e.b,(s=e.a)<1?"rgba("+r+", "+n+", "+i+", "+s+")":"rgb("+r+", "+n+", "+i+")";var e,r,n,i,s},t.prototype.toHsl=function(){return r7(Ic(this.rgba))},t.prototype.toHslString=function(){return e=r7(Ic(this.rgba)),r=e.h,n=e.s,i=e.l,(s=e.a)<1?"hsla("+r+", "+n+"%, "+i+"%, "+s+")":"hsl("+r+", "+n+"%, "+i+"%)";var e,r,n,i,s},t.prototype.toHsv=function(){return e=u7(this.rgba),{h:ur(e.h),s:ur(e.s),v:ur(e.v),a:ur(e.a,3)};var e},t.prototype.invert=function(){return Ri({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},t.prototype.saturate=function(e){return e===void 0&&(e=.1),Ri(P2(this.rgba,e))},t.prototype.desaturate=function(e){return e===void 0&&(e=.1),Ri(P2(this.rgba,-e))},t.prototype.grayscale=function(){return Ri(P2(this.rgba,-1))},t.prototype.lighten=function(e){return e===void 0&&(e=.1),Ri(s7(this.rgba,e))},t.prototype.darken=function(e){return e===void 0&&(e=.1),Ri(s7(this.rgba,-e))},t.prototype.rotate=function(e){return e===void 0&&(e=15),this.hue(this.hue()+e)},t.prototype.alpha=function(e){return typeof e=="number"?Ri({r:(r=this.rgba).r,g:r.g,b:r.b,a:e}):ur(this.rgba.a,3);var r},t.prototype.hue=function(e){var r=Ic(this.rgba);return typeof e=="number"?Ri({h:e,s:r.s,l:r.l,a:r.a}):ur(r.h)},t.prototype.isEqual=function(e){return this.toHex()===Ri(e).toHex()},t}(),Ri=function(t){return t instanceof Nc?t:new Nc(t)},o7=[];No.Colord=Nc,No.colord=Ri,No.extend=function(t){t.forEach(function(e){o7.indexOf(e)<0&&(e(Nc,M2),o7.push(e))})},No.getFormat=function(t){return c7(t)[1]},No.random=function(){return new Nc({r:255*Math.random(),g:255*Math.random(),b:255*Math.random()})}});var p7=m((hRt,d7)=>{d7.exports=function(t,e){var r={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},n={};for(var i in r)n[r[i]]=i;var s={};t.prototype.toName=function(o){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var a,u,l=n[this.toHex()];if(l)return l;if(o?.closest){var c=this.toRgb(),f=1/0,d="black";if(!s.length)for(var p in r)s[p]=new t(r[p]).toRgb();for(var h in r){var y=(a=c,u=s[h],Math.pow(a.r-u.r,2)+Math.pow(a.g-u.g,2)+Math.pow(a.b-u.b,2));y<f&&(f=y,d=h)}return d}},e.string.push([function(o){var a=o.toLowerCase(),u=a==="transparent"?"#0000":r[a];return u?new t(u).toRgb():null},"name"])}});var v7=m((gRt,b7)=>{var qqe={grad:.9,turn:360,rad:360/(2*Math.PI)},L2=function(t){return typeof t=="string"?t.length>0:typeof t=="number"},fy=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=Math.pow(10,e)),Math.round(r*t)/r+0},F2=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=1),t>r?r:t>e?t:e},m7=function(t){return{h:(e=t.h,(e=isFinite(e)?e%360:0)>0?e:e+360),w:F2(t.w,0,100),b:F2(t.b,0,100),a:F2(t.a)};var e},h7=function(t){return{h:fy(t.h),w:fy(t.w),b:fy(t.b),a:fy(t.a,3)}},g7=function(t){return{h:function(e){var r=e.r,n=e.g,i=e.b,s=e.a,o=Math.max(r,n,i),a=o-Math.min(r,n,i),u=a?o===r?(n-i)/a:o===n?2+(i-r)/a:4+(r-n)/a:0;return{h:60*(u<0?u+6:u),s:o?a/o*100:0,v:o/255*100,a:s}}(t).h,w:Math.min(t.r,t.g,t.b)/255*100,b:100-Math.max(t.r,t.g,t.b)/255*100,a:t.a}},y7=function(t){return function(e){var r=e.h,n=e.s,i=e.v,s=e.a;r=r/360*6,n/=100,i/=100;var o=Math.floor(r),a=i*(1-n),u=i*(1-(r-o)*n),l=i*(1-(1-r+o)*n),c=o%6;return{r:255*[i,u,a,a,l,i][c],g:255*[l,i,i,u,a,a][c],b:255*[a,a,l,i,i,u][c],a:s}}({h:t.h,s:t.b===100?0:100-t.w/(100-t.b)*100,v:100-t.b,a:t.a})},Rqe=function(t){var e=t.h,r=t.w,n=t.b,i=t.a,s=i===void 0?1:i;if(!L2(e)||!L2(r)||!L2(n))return null;var o=m7({h:Number(e),w:Number(r),b:Number(n),a:Number(s)});return y7(o)},Aqe=/^hwb\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Pqe=function(t){var e=Aqe.exec(t);if(!e)return null;var r,n,i=m7({h:(r=e[1],n=e[2],n===void 0&&(n="deg"),Number(r)*(qqe[n]||1)),w:Number(e[3]),b:Number(e[4]),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)});return y7(i)};b7.exports=function(t,e){t.prototype.toHwb=function(){return h7(g7(this.rgba))},t.prototype.toHwbString=function(){return r=h7(g7(this.rgba)),n=r.h,i=r.w,s=r.b,(o=r.a)<1?"hwb("+n+" "+i+"% "+s+"% / "+o+")":"hwb("+n+" "+i+"% "+s+"%)";var r,n,i,s,o},e.string.push([Pqe,"hwb"]),e.object.push([Rqe,"hwb"])}});var _7=m((mRt,w7)=>{var I2=function(t){return typeof t=="string"?t.length>0:typeof t=="number"},jc=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=Math.pow(10,e)),Math.round(r*t)/r+0},ni=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=1),t>r?r:t>e?t:e},N2=function(t){var e=t/255;return e<.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)},j2=function(t){return 255*(t>.0031308?1.055*Math.pow(t,.4166666666666667)-.055:12.92*t)},$2=96.422,B2=100,W2=82.521,Tqe=function(t){var e,r,n={x:.9555766*(e=t).x+-.0230393*e.y+.0631636*e.z,y:-.0282895*e.x+1.0099416*e.y+.0210077*e.z,z:.0122982*e.x+-.020483*e.y+1.3299098*e.z};return r={r:j2(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:j2(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:j2(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:t.a},{r:ni(r.r,0,255),g:ni(r.g,0,255),b:ni(r.b,0,255),a:ni(r.a)}},Mqe=function(t){var e=N2(t.r),r=N2(t.g),n=N2(t.b);return function(i){return{x:ni(i.x,0,$2),y:ni(i.y,0,B2),z:ni(i.z,0,W2),a:ni(i.a)}}(function(i){return{x:1.0478112*i.x+.0228866*i.y+-.050127*i.z,y:.0295424*i.x+.9904844*i.y+-.0170491*i.z,z:-.0092345*i.x+.0150436*i.y+.7521316*i.z,a:i.a}}({x:100*(.4124564*e+.3575761*r+.1804375*n),y:100*(.2126729*e+.7151522*r+.072175*n),z:100*(.0193339*e+.119192*r+.9503041*n),a:t.a}))},$c=216/24389,Eu=24389/27,Lqe=function(t){var e=t.l,r=t.a,n=t.b,i=t.alpha,s=i===void 0?1:i;if(!I2(e)||!I2(r)||!I2(n))return null;var o=function(a){return{l:ni(a.l,0,400),a:a.a,b:a.b,alpha:ni(a.alpha)}}({l:Number(e),a:Number(r),b:Number(n),alpha:Number(s)});return Fqe(o)},Fqe=function(t){var e=(t.l+16)/116,r=t.a/500+e,n=e-t.b/200;return Tqe({x:(Math.pow(r,3)>$c?Math.pow(r,3):(116*r-16)/Eu)*$2,y:(t.l>8?Math.pow((t.l+16)/116,3):t.l/Eu)*B2,z:(Math.pow(n,3)>$c?Math.pow(n,3):(116*n-16)/Eu)*W2,a:t.alpha})};w7.exports=function(t,e){t.prototype.toLab=function(){return n=Mqe(this.rgba),s=n.y/B2,o=n.z/W2,i=(i=n.x/$2)>$c?Math.cbrt(i):(Eu*i+16)/116,r={l:116*(s=s>$c?Math.cbrt(s):(Eu*s+16)/116)-16,a:500*(i-s),b:200*(s-(o=o>$c?Math.cbrt(o):(Eu*o+16)/116)),alpha:n.a},{l:jc(r.l,2),a:jc(r.a,2),b:jc(r.b,2),alpha:jc(r.alpha,3)};var r,n,i,s,o},t.prototype.delta=function(r){r===void 0&&(r="#FFF");var n=r instanceof t?r:new t(r),i=function(s,o){var a=s.l,u=s.a,l=s.b,c=o.l,f=o.a,d=o.b,p=180/Math.PI,h=Math.PI/180,y=Math.pow(Math.pow(u,2)+Math.pow(l,2),.5),v=Math.pow(Math.pow(f,2)+Math.pow(d,2),.5),g=(a+c)/2,b=Math.pow((y+v)/2,7),w=.5*(1-Math.pow(b/(b+Math.pow(25,7)),.5)),_=u*(1+w),S=f*(1+w),q=Math.pow(Math.pow(_,2)+Math.pow(l,2),.5),C=Math.pow(Math.pow(S,2)+Math.pow(d,2),.5),R=(q+C)/2,O=_===0&&l===0?0:Math.atan2(l,_)*p,z=S===0&&d===0?0:Math.atan2(d,S)*p;O<0&&(O+=360),z<0&&(z+=360);var F=z-O,ee=Math.abs(z-O);ee>180&&z<=O?F+=360:ee>180&&z>O&&(F-=360);var G=O+z;ee<=180?G/=2:G=(O+z<360?G+360:G-360)/2;var ae=1-.17*Math.cos(h*(G-30))+.24*Math.cos(2*h*G)+.32*Math.cos(h*(3*G+6))-.2*Math.cos(h*(4*G-63)),L=c-a,M=C-q,oe=2*Math.sin(h*F/2)*Math.pow(q*C,.5),re=1+.015*Math.pow(g-50,2)/Math.pow(20+Math.pow(g-50,2),.5),fe=1+.045*R,ue=1+.015*R*ae,ie=30*Math.exp(-1*Math.pow((G-275)/25,2)),pe=-2*Math.pow(b/(b+Math.pow(25,7)),.5)*Math.sin(2*h*ie);return Math.pow(Math.pow(L/1/re,2)+Math.pow(M/1/fe,2)+Math.pow(oe/1/ue,2)+pe*M*oe/(1*fe*1*ue),.5)}(this.toLab(),n.toLab())/100;return ni(jc(i,3))},e.object.push([Lqe,"lab"])}});var D7=m((yRt,C7)=>{var Iqe={grad:.9,turn:360,rad:360/(2*Math.PI)},z2=function(t){return typeof t=="string"?t.length>0:typeof t=="number"},Cu=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=Math.pow(10,e)),Math.round(r*t)/r+0},is=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=1),t>r?r:t>e?t:e},U2=function(t){var e=t/255;return e<.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)},H2=function(t){return 255*(t>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t)},V2=96.422,G2=100,K2=82.521,Nqe=function(t){var e,r,n={x:.9555766*(e=t).x+-.0230393*e.y+.0631636*e.z,y:-.0282895*e.x+1.0099416*e.y+.0210077*e.z,z:.0122982*e.x+-.020483*e.y+1.3299098*e.z};return r={r:H2(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:H2(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:H2(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:t.a},{r:is(r.r,0,255),g:is(r.g,0,255),b:is(r.b,0,255),a:is(r.a)}},jqe=function(t){var e=U2(t.r),r=U2(t.g),n=U2(t.b);return function(i){return{x:is(i.x,0,V2),y:is(i.y,0,G2),z:is(i.z,0,K2),a:is(i.a)}}(function(i){return{x:1.0478112*i.x+.0228866*i.y+-.050127*i.z,y:.0295424*i.x+.9904844*i.y+-.0170491*i.z,z:-.0092345*i.x+.0150436*i.y+.7521316*i.z,a:i.a}}({x:100*(.4124564*e+.3575761*r+.1804375*n),y:100*(.2126729*e+.7151522*r+.072175*n),z:100*(.0193339*e+.119192*r+.9503041*n),a:t.a}))},Bc=216/24389,Du=24389/27,k7=function(t){return{l:is(t.l,0,100),c:t.c,h:(e=t.h,(e=isFinite(e)?e%360:0)>0?e:e+360),a:t.a};var e},x7=function(t){return{l:Cu(t.l,2),c:Cu(t.c,2),h:Cu(t.h,2),a:Cu(t.a,3)}},$qe=function(t){var e=t.l,r=t.c,n=t.h,i=t.a,s=i===void 0?1:i;if(!z2(e)||!z2(r)||!z2(n))return null;var o=k7({l:Number(e),c:Number(r),h:Number(n),a:Number(s)});return E7(o)},S7=function(t){var e=function(s){var o=jqe(s),a=o.x/V2,u=o.y/G2,l=o.z/K2;return a=a>Bc?Math.cbrt(a):(Du*a+16)/116,{l:116*(u=u>Bc?Math.cbrt(u):(Du*u+16)/116)-16,a:500*(a-u),b:200*(u-(l=l>Bc?Math.cbrt(l):(Du*l+16)/116)),alpha:o.a}}(t),r=Cu(e.a,3),n=Cu(e.b,3),i=Math.atan2(n,r)/Math.PI*180;return{l:e.l,c:Math.sqrt(r*r+n*n),h:i<0?i+360:i,a:e.alpha}},E7=function(t){return e={l:t.l,a:t.c*Math.cos(t.h*Math.PI/180),b:t.c*Math.sin(t.h*Math.PI/180),alpha:t.a},n=e.a/500+(r=(e.l+16)/116),i=r-e.b/200,Nqe({x:(Math.pow(n,3)>Bc?Math.pow(n,3):(116*n-16)/Du)*V2,y:(e.l>8?Math.pow((e.l+16)/116,3):e.l/Du)*G2,z:(Math.pow(i,3)>Bc?Math.pow(i,3):(116*i-16)/Du)*K2,a:e.alpha});var e,r,n,i},Bqe=/^lch\(\s*([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)\s+([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Wqe=function(t){var e=Bqe.exec(t);if(!e)return null;var r,n,i=k7({l:Number(e[1]),c:Number(e[2]),h:(r=e[3],n=e[4],n===void 0&&(n="deg"),Number(r)*(Iqe[n]||1)),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)});return E7(i)};C7.exports=function(t,e){t.prototype.toLch=function(){return x7(S7(this.rgba))},t.prototype.toLchString=function(){return r=x7(S7(this.rgba)),n=r.l,i=r.c,s=r.h,(o=r.a)<1?"lch("+n+"% "+i+" "+s+" / "+o+")":"lch("+n+"% "+i+" "+s+")";var r,n,i,s,o},e.string.push([Wqe,"lch"]),e.object.push([$qe,"lch"])}});var R7=m((bRt,q7)=>{var{colord:Y2,extend:zqe}=f7(),O7=Re(),Uqe=p7(),Hqe=v7(),Vqe=_7(),Gqe=D7();zqe([Uqe,Hqe,Vqe,Gqe,(t,e)=>{e.string.push([Kqe,"hwb-with-comma"])},(t,e)=>{e.string.push([Yqe,"gray"])}]);q7.exports={colord:Y2};function Kqe(t){if(t=t.toLowerCase(),!t.startsWith("hwb(")||!t.endsWith(")")||t.includes("/"))return null;let[e,r="",n="",i,...s]=t.slice(4,-1).split(",");if(!e||!e.trim()||!r.trim()||!n.trim()||s.length>0)return null;let o=Y2(`hwb(${e} ${r} ${n}${i?` / ${i}`:""})`);return o.isValid()?o.rgba:null}function Yqe(t){if(t=t.toLowerCase(),!t.startsWith("gray(")||!t.endsWith(")"))return null;let[e,r,...n]=t.slice(5,-1).split(",");if(!e||n.length>0)return null;let i=O7.unit(e.trim());if(!i||!["","%"].includes(i.unit))return null;let s={l:Number(i.number),a:0,b:0};if(r){let o=O7.unit(r.trim());if(!o||!["","%"].includes(o.unit))return null;s={...s,alpha:Number(o.number)/(o.unit?100:1)}}return Y2(s).rgba}});var F7=m((vRt,L7)=>{"use strict";var A7=qe(),Qqe=qi(),Jqe=pn(),P7=_e(),{acceptCustomIdentsProperties:Xqe}=ku(),Zqe=U(),e2e=$(),t2e=j(),T7=Re(),{isRegExp:r2e,isString:n2e}=te(),{colord:M7}=R7(),dy="color-named",Q2=e2e(dy,{expected:(t,e)=>`Expected "${e}" to be "${t}"`,rejected:t=>`Unexpected named color "${t}"`}),i2e={url:"https://stylelint.io/user-guide/rules/color-named"},s2e=new Set(["word","function"]),py=(t,e)=>(r,n)=>{if(!t2e(n,dy,{actual:t,possible:["never","always-where-possible"]},{actual:e,possible:{ignoreProperties:[n2e,r2e],ignore:["inside-function"]},optional:!0}))return;r.walkDecls(o=>{Xqe.has(o.prop)||P7(e,"ignoreProperties",o.prop)||T7(o.value).walk(a=>{let u=a.value,l=a.type,c=a.sourceIndex;if(P7(e,"ignore","inside-function")&&l==="function"||!Qqe(a))return!1;if(!Jqe(u)||!s2e.has(l))return;if(t==="never"&&l==="word"&&/^[a-z]+$/iu.test(u)&&u.toLowerCase()!=="transparent"&&M7(u).isValid()){s(Q2.rejected(u),o,A7(o)+c,u.length);return}if(t!=="always-where-possible")return;let f=null,d=null;if(l==="function")f=T7.stringify(a),d=f.replace(/\s*([,/()])\s*/g,"$1").replace(/\s{2,}/g," ");else if(l==="word"&&u.startsWith("#"))f=d=u;else return;let p=M7(d);if(!p.isValid())return;let h=p.toName();h&&h.toLowerCase()!=="transparent"&&s(Q2.expected(h,d),o,A7(o)+c,f.length)})});function s(o,a,u,l){Zqe({result:n,ruleName:dy,message:o,node:a,index:u,endIndex:u+l})}};py.ruleName=dy;py.messages=Q2;py.meta=i2e;L7.exports=py});var j7=m((wRt,N7)=>{"use strict";var o2e=Re(),a2e=qe(),u2e=vt(),l2e=U(),c2e=$(),f2e=j(),hy="color-no-hex",I7=c2e(hy,{rejected:t=>`Unexpected hex color "${t}"`}),d2e={url:"https://stylelint.io/user-guide/rules/color-no-hex"},p2e=/^#[0-9A-Za-z]+/,h2e=new Set(["url"]),gy=t=>(e,r)=>{f2e(r,hy,{actual:t})&&e.walkDecls(i=>{o2e(u2e(i)).walk(o=>{if(g2e(o))return!1;if(!m2e(o))return;let a=a2e(i)+o.sourceIndex,u=a+o.value.length;l2e({message:I7.rejected,messageArgs:[o.value],node:i,index:a,endIndex:u,result:r,ruleName:hy})})})};function g2e({type:t,value:e}){return t==="function"&&h2e.has(e.toLowerCase())}function m2e({type:t,value:e}){return t==="word"&&p2e.test(e)}gy.ruleName=hy;gy.messages=I7;gy.meta=d2e;N7.exports=gy});var B7=m((_Rt,$7)=>{"use strict";$7.exports=function(e){return!e.includes("[")}});var z7=m((xRt,W7)=>{"use strict";W7.exports=function(e){return/^#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(e)}});var V7=m((SRt,H7)=>{"use strict";var y2e=qe(),b2e=B7(),v2e=z7(),w2e=U(),_2e=$(),x2e=j(),S2e=Re(),my="color-no-invalid-hex",U7=_2e(my,{rejected:t=>`Unexpected invalid hex color "${t}"`}),k2e={url:"https://stylelint.io/user-guide/rules/color-no-invalid-hex"},yy=t=>(e,r)=>{x2e(r,my,{actual:t})&&e.walkDecls(i=>{b2e(i.value)&&S2e(i.value).walk(({value:s,type:o,sourceIndex:a})=>{if(o==="function"&&s.endsWith("url"))return!1;if(o!=="word")return;let u=/^#[0-9A-Za-z]+/.exec(s);if(!u)return;let l=u[0];if(!l||v2e(l))return;let c=y2e(i)+a,f=c+l.length;w2e({message:U7.rejected(l),node:i,index:c,endIndex:f,result:r,ruleName:my})})})};yy.ruleName=my;yy.messages=U7;yy.meta=k2e;H7.exports=yy});var Ou=m((kRt,G7)=>{"use strict";G7.exports=function(e){return!("inline"in e||"inline"in e.raws)}});var Y7=m((ERt,K7)=>{"use strict";var E2e=bu(),C2e=Io(),D2e=Pc(),O2e=vu(),q2e=Tc(),R2e=gm(),A2e=Ou(),by=_e(),P2e=wu(),T2e=U(),M2e=$(),L2e=j(),{isRegExp:F2e,isString:I2e}=te(),vy="comment-empty-line-before",J2=M2e(vy,{expected:"Expected empty line before comment",rejected:"Unexpected empty line before comment"}),N2e={url:"https://stylelint.io/user-guide/rules/comment-empty-line-before",fixable:!0},j2e="stylelint-",wy=(t,e,r)=>(n,i)=>{L2e(i,vy,{actual:t,possible:["always","never"]},{actual:e,possible:{except:["first-nested"],ignore:["stylelint-commands","after-comment"],ignoreComments:[I2e,F2e]},optional:!0})&&n.walkComments(o=>{if(q2e(o)||o.text.startsWith(j2e)&&by(e,"ignore","stylelint-commands")||by(e,"ignore","after-comment")&&D2e(o)||by(e,"ignoreComments",o.text)||R2e(o)||!A2e(o))return;let a=(()=>by(e,"except","first-nested")&&O2e(o)?!1:t==="always")(),u=o.raws.before||"",l=C2e(u);if(a===l)return;if(r.fix){if(typeof r.newline!="string")return;a?E2e(o,r.newline):P2e(o,r.newline);return}let c=a?J2.expected:J2.rejected;T2e({message:c,node:o,result:i,ruleName:vy})})};wy.ruleName=vy;wy.messages=J2;wy.meta=N2e;K7.exports=wy});var X7=m((CRt,J7)=>{"use strict";var $2e=Ou(),B2e=U(),W2e=$(),z2e=j(),_y="comment-no-empty",Q7=W2e(_y,{rejected:"Unexpected empty comment"}),U2e={url:"https://stylelint.io/user-guide/rules/comment-no-empty"},xy=t=>(e,r)=>{z2e(r,_y,{actual:t})&&e.walkComments(i=>{$2e(i)&&(i.text&&i.text.length!==0||B2e({message:Q7.rejected,node:i,result:r,ruleName:_y}))})};xy.ruleName=_y;xy.messages=Q7;xy.meta=U2e;J7.exports=xy});var rW=m((DRt,tW)=>{"use strict";var H2e=U(),V2e=$(),G2e=j(),{isRegExp:K2e,isString:Z7}=te(),Sy="comment-pattern",eW=V2e(Sy,{expected:t=>`Expected comment to match pattern "${t}"`}),Y2e={url:"https://stylelint.io/user-guide/rules/comment-pattern"},ky=t=>(e,r)=>{if(!G2e(r,Sy,{actual:t,possible:[K2e,Z7]}))return;let i=Z7(t)?new RegExp(t):t;e.walkComments(s=>{let o=s.text;i.test(o)||H2e({message:eW.expected(t),node:s,result:r,ruleName:Sy})})};ky.ruleName=Sy;ky.messages=eW;ky.meta=Y2e;tW.exports=ky});var sW=m((ORt,iW)=>{"use strict";var Q2e=Ou(),nW=Lc(),J2e=U(),X2e=$(),Z2e=j(),Ey="comment-whitespace-inside",Wc=X2e(Ey,{expectedOpening:'Expected whitespace after "/*"',rejectedOpening:'Unexpected whitespace after "/*"',expectedClosing:'Expected whitespace before "*/"',rejectedClosing:'Unexpected whitespace before "*/"'}),eRe={url:"https://stylelint.io/user-guide/rules/comment-whitespace-inside",fixable:!0};function tRe(t){t.text.startsWith("*")?t.text=t.text.replace(/^(\*+)/,"$1 "):t.raws.left=" "}function rRe(t){t.text[t.text.length-1]==="*"?t.text=t.text.replace(/(\*+)$/," $1"):t.raws.right=" "}var Cy=(t,e,r)=>(n,i)=>{Z2e(i,Ey,{actual:t,possible:["always","never"]})&&n.walkComments(o=>{if(!Q2e(o))return;let a=o.toString(),u=a.slice(0,4);if(/^\/\*[#!]\s/.test(u))return;let l=a.match(/(^\/\*+)(\s)?/);if(l==null||l[1]==null)throw new Error(`Invalid comment: "${a}"`);let c=a.match(/(\s)?(\*+\/)$/);if(c==null||c[2]==null)throw new Error(`Invalid comment: "${a}"`);let f=l[1],d=l[2]||"",p=c[1]||"",h=c[2];t==="never"&&d!==""&&y(Wc.rejectedOpening,f.length),t==="always"&&!nW(d)&&y(Wc.expectedOpening,f.length),t==="never"&&p!==""&&y(Wc.rejectedClosing,o.toString().length-h.length-1),t==="always"&&!nW(p)&&y(Wc.expectedClosing,o.toString().length-h.length-1);function y(v,g){if(r.fix){t==="never"?(o.raws.left="",o.raws.right="",o.text=o.text.replace(/^(\*+)(\s+)?/,"$1").replace(/(\s+)?(\*+)$/,"$2")):(d||tRe(o),p||rRe(o));return}J2e({message:v,index:g,result:i,ruleName:Ey,node:o})}})};Cy.ruleName=Ey;Cy.messages=Wc;Cy.meta=eRe;iW.exports=Cy});var uW=m((qRt,aW)=>{"use strict";var{isString:nRe}=te();aW.exports=function(e,r){if(!Array.isArray(r))return oW(e,r);for(let n of r){let i=oW(e,n);if(i)return i}return!1};function oW(t,e){return!e||!nRe(e)||e.startsWith("/")&&e.endsWith("/")?!1:t.includes(e)?{match:t,pattern:e,substring:e}:!1}});var fW=m((RRt,cW)=>{"use strict";var iRe=uW(),sRe=qt(),oRe=U(),aRe=$(),uRe=j(),{isRegExp:lRe,isString:cRe}=te(),Dy="comment-word-disallowed-list",lW=aRe(Dy,{rejected:t=>`Unexpected word matching pattern "${t}"`}),fRe={url:"https://stylelint.io/user-guide/rules/comment-word-disallowed-list"},zc=t=>(e,r)=>{uRe(r,Dy,{actual:t,possible:[cRe,lRe]})&&e.walkComments(i=>{let s=i.text;if(i.toString().slice(0,4)==="/*# ")return;let u=sRe(s,t)||iRe(s,t);u&&oRe({message:lW.rejected(u.pattern),node:i,word:u.substring,result:r,ruleName:Dy})})};zc.primaryOptionArray=!0;zc.ruleName=Dy;zc.messages=lW;zc.meta=fRe;cW.exports=zc});var Ze=m((ARt,dW)=>{"use strict";dW.exports=function(e){let r=1+e.name.length;return e.raws.afterName&&(r+=e.raws.afterName.length),r}});var mW=m((PRt,gW)=>{"use strict";var dRe=Ze(),pRe=U(),hRe=$(),gRe=j(),{isRegExp:mRe,isString:pW}=te(),Oy="custom-media-pattern",hW=hRe(Oy,{expected:(t,e)=>`Expected "${t}" to match pattern "${e}"`}),yRe={url:"https://stylelint.io/user-guide/rules/custom-media-pattern"},qy=t=>(e,r)=>{if(!gRe(r,Oy,{actual:t,possible:[mRe,pW]}))return;let i=pW(t)?new RegExp(t):t;e.walkAtRules(s=>{if(s.name.toLowerCase()!=="custom-media")return;let[o,a]=s.params.match(/^--(\S+)\b/)||[];if(o===void 0||a===void 0)throw new Error(`Unexpected at-rule params: "${s.params}"`);if(i.test(a))return;let u=dRe(s);pRe({message:hW.expected,messageArgs:[o,t],node:s,index:u,endIndex:u+o.length,result:r,ruleName:Oy})})};qy.ruleName=Oy;qy.messages=hW;qy.meta=yRe;gW.exports=qy});var hn=m((TRt,yW)=>{"use strict";yW.exports=function(e){return e.startsWith("--")}});var X2=m((MRt,bW)=>{"use strict";bW.exports=function(e){return!!(e.startsWith("$")||e.includes(".$"))}});var ii=m((LRt,wW)=>{"use strict";var bRe=X2(),{isRoot:vRe,isRule:vW}=Ye();function wRe(t){return t&&(t==="css"||t==="custom-template"||t==="template-literal")}wW.exports=function(e){let r=e.prop,n=e.parent;return!(n&&vRe(n)&&n.source&&!wRe(n.source.lang)||bRe(r)||r[0]==="@"&&r[1]!=="{"||n&&n.type==="atrule"&&n.raws.afterName===":"||n&&vW(n)&&n.selector&&n.selector.startsWith("#")&&n.selector.endsWith("()")||n&&vW(n)&&n.selector&&n.selector[n.selector.length-1]===":"&&n.selector.substring(0,2)!=="--"||"extend"in e&&e.extend)}});var EW=m((FRt,kW)=>{"use strict";var _Re=bu(),xRe=xr(),SRe=Ns(),kRe=Io(),_W=Pc(),SW=hn(),xW=vu(),ERe=Di(),CRe=ii(),qu=_e(),DRe=wu(),ORe=U(),qRe=$(),RRe=j(),{isAtRule:ARe,isDeclaration:PRe,isRule:TRe}=Ye(),Ry="custom-property-empty-line-before",Z2=qRe(Ry,{expected:"Expected empty line before custom property",rejected:"Unexpected empty line before custom property"}),MRe={url:"https://stylelint.io/user-guide/rules/custom-property-empty-line-before",fixable:!0},Ay=(t,e,r)=>(n,i)=>{RRe(i,Ry,{actual:t,possible:["always","never"]},{actual:e,possible:{except:["first-nested","after-comment","after-custom-property"],ignore:["after-comment","first-nested","inside-single-line-block"]},optional:!0})&&n.walkDecls(o=>{let a=o.prop,u=o.parent;if(!CRe(o)||!SW(a)||qu(e,"ignore","after-comment")&&_W(o)||qu(e,"ignore","first-nested")&&xW(o)||qu(e,"ignore","inside-single-line-block")&&u!=null&&(ARe(u)||TRe(u))&&ERe(xRe(u)))return;let l=t==="always";(qu(e,"except","first-nested")&&xW(o)||qu(e,"except","after-comment")&&_W(o)||qu(e,"except","after-custom-property")&&LRe(o))&&(l=!l);let c=kRe(o.raws.before);if(l===c)return;if(r.fix){if(r.newline==null)return;l?_Re(o,r.newline):DRe(o,r.newline);return}let f=l?Z2.expected:Z2.rejected;ORe({message:f,node:o,result:i,ruleName:Ry})})};function LRe(t){let e=SRe(t);return e!=null&&PRe(e)&&SW(e.prop)}Ay.ruleName=Ry;Ay.messages=Z2;Ay.meta=MRe;kW.exports=Ay});var OW=m((IRt,DW)=>{"use strict";var FRe=Re(),IRe=qe(),NRe=hn(),jRe=U(),$Re=$(),BRe=j(),Py="custom-property-no-missing-var-function",CW=$Re(Py,{rejected:t=>`Unexpected missing var function for "${t}"`}),WRe={url:"https://stylelint.io/user-guide/rules/custom-property-no-missing-var-function"},Ty=t=>(e,r)=>{if(!BRe(r,Py,{actual:t}))return;let i=new Set;e.walkAtRules(/^property$/i,s=>{i.add(s.params)}),e.walkDecls(({prop:s})=>{NRe(s)&&i.add(s)}),e.walkDecls(s=>{let{value:o}=s;FRe(o).walk(u=>{if(URe(u))return!1;if(!zRe(u)||!i.has(u.value))return;let l=IRe(s)+u.sourceIndex,c=l+u.value.length;return jRe({message:CW.rejected(u.value),node:s,index:l,endIndex:c,result:r,ruleName:Py}),!1})})};function zRe({type:t,value:e}){return t==="word"&&e.startsWith("--")}function URe({type:t,value:e}){return t==="function"&&e==="var"}Ty.ruleName=Py;Ty.messages=CW;Ty.meta=WRe;DW.exports=Ty});var si=m((NRt,qW)=>{"use strict";var HRe=Oc(),VRe=X2();qW.exports=function(e){return!(VRe(e)||e.startsWith("@")||e.endsWith("+")||e.endsWith("+_")||HRe(e))}});var TW=m((jRt,PW)=>{"use strict";var GRe=Re(),KRe=hn(),YRe=U(),QRe=$(),JRe=j(),XRe=qe(),{isRegExp:ZRe,isString:RW}=te(),{isValueFunction:eAe}=Ye(),tAe=si(),My="custom-property-pattern",AW=QRe(My,{expected:(t,e)=>`Expected "${t}" to match pattern "${e}"`}),rAe={url:"https://stylelint.io/user-guide/rules/custom-property-pattern"},Ly=t=>(e,r)=>{if(!JRe(r,My,{actual:t,possible:[ZRe,RW]}))return;let i=RW(t)?new RegExp(t):t;function s(a){return!tAe(a)||!KRe(a)||i.test(a.slice(2))}e.walkDecls(a=>{let{prop:u,value:l}=a;GRe(l).walk(f=>{if(!eAe(f)||f.value.toLowerCase()!=="var")return;let{nodes:d}=f,p=d[0];!p||s(p.value)||o(XRe(a)+p.sourceIndex,p.value,a)}),!s(u)&&o(0,u,a)});function o(a,u,l){YRe({result:r,ruleName:My,message:AW.expected,messageArgs:[u,t],node:l,index:a,endIndex:a+u.length})}};Ly.ruleName=My;Ly.messages=AW;Ly.meta=rAe;PW.exports=Ly});var Lr=m(($Rt,MW)=>{var Uc="skip",Ru="only";MW.exports=function(t,e){var r=t.source,n=t.target,i=t.comments?t.comments===Uc:!0,s=t.strings?t.strings===Uc:!0,o=t.functionNames?t.functionNames===Uc:!0,a=t.functionArguments===Uc,u=t.parentheticals===Uc,l=!1;Object.keys(t).forEach(function(M){if(t[M]===Ru)if(!l)l=!0;else throw new Error('Only one syntax feature option can be the "only" one to check')});var c=t.comments===Ru,f=t.strings===Ru,d=t.functionNames===Ru,p=t.functionArguments===Ru,h=t.parentheticals===Ru,y=!1,v=!1,g=!1,b=!1,w=!1,_=0,S=0,q,C=Array.isArray(n),R=function(){return C?function(M){for(var oe=0,re=n.length;oe<re;oe++){var fe=O(n[oe],M);if(fe)return fe}return!1}:O.bind(null,n)}();function O(M,oe){var re=M.length;return re===1&&r[oe]!==M||r.substr(oe,re)!==M?!1:{insideParens:b,insideFunctionArguments:w,insideComment:v,insideString:y,startIndex:oe,endIndex:oe+re,target:M}}for(var z=0,F=r.length;z<F;z++){var ee=r[z];if(!y&&!v&&ee==="/"&&r[z-1]!=="\\"){if(r[z+1]==="*"){v=!0;continue}if(r[z+1]==="/"){v=!0,g=!0;continue}}if(v){if(!g&&ee==="*"&&r[z-1]!=="\\"&&r[z+1]==="/"&&r[z-1]!=="/"){v=!1;continue}if(g&&ee===`
|
|
79
79
|
`&&(v=!1,g=!1),i)continue}if(!v&&!y&&(ee==='"'||ee==="'")){if(r[z-1]==="\\")continue;q=ee,y=!0,n===ee&&L(R(z));continue}if(y){if(ee===q){if(r[z-1]==="\\")continue;y=!1;continue}if(s)continue}if(!y&&!v&&ee==="("){_++,b=!0,/[a-zA-Z]/.test(r[z-1])&&(w=!0),n==="("&&L(R(z));continue}if(b&&ee===")"){_--,n===")"&&L(R(z)),_===0&&(b=!1,w=!1);continue}var G=/^[a-zA-Z]*\(/.test(r.slice(z));if(!(o&&G)&&!(d&&!G)){var ae=R(z);if(ae&&(L(ae),t.once))return}}function L(M){h&&!b||u&&b||p&&!w||a&&w||f&&!y||c&&!v||(S++,e(M,S))}}});var eR=m((BRt,LW)=>{"use strict";var nAe=qe(),iAe=U(),sAe=Lr();LW.exports=function(e){e.root.walkDecls(n=>{let i=nAe(n),s=n.toString(),o=n.toString().slice(i);o.includes("!")&&sAe({source:o,target:"!"},a=>{r(s,a.startIndex+i,n)})});function r(n,i,s){e.locationChecker({source:n,index:i,err:o=>{e.fix&&e.fix(s,i)||iAe({message:o,node:s,index:i,result:e.result,ruleName:e.checkedRuleName})}})}}});var NW=m((WRt,IW)=>{"use strict";var oAe=eR(),aAe=qe(),uAe=vt(),lAe=$(),cAe=Bt(),fAe=j(),dAe=je(),Fy="declaration-bang-space-after",FW=lAe(Fy,{expectedAfter:()=>'Expected single space after "!"',rejectedAfter:()=>'Unexpected whitespace after "!"'}),pAe={url:"https://stylelint.io/user-guide/rules/declaration-bang-space-after",fixable:!0},Iy=(t,e,r)=>{let n=dAe("space",t,FW);return(i,s)=>{fAe(s,Fy,{actual:t,possible:["always","never"]})&&oAe({root:i,result:s,locationChecker:n.after,checkedRuleName:Fy,fix:r.fix?(a,u)=>{let l=u-aAe(a),c=uAe(a),f,d;if(l<c.length)f=c,d=y=>{cAe(a,y)};else if(a.important)f=a.raws.important||" !important",l-=c.length,d=y=>{a.raws.important=y};else return!1;let p=f.slice(0,l+1),h=f.slice(l+1);return t==="always"?(d(p+h.replace(/^\s*/," ")),!0):t==="never"?(d(p+h.replace(/^\s*/,"")),!0):!1}:null})}};Iy.ruleName=Fy;Iy.messages=FW;Iy.meta=pAe;IW.exports=Iy});var BW=m((zRt,$W)=>{"use strict";var hAe=eR(),gAe=qe(),mAe=vt(),yAe=$(),bAe=Bt(),vAe=j(),wAe=je(),Ny="declaration-bang-space-before",jW=yAe(Ny,{expectedBefore:()=>'Expected single space before "!"',rejectedBefore:()=>'Unexpected whitespace before "!"'}),_Ae={url:"https://stylelint.io/user-guide/rules/declaration-bang-space-before",fixable:!0},jy=(t,e,r)=>{let n=wAe("space",t,jW);return(i,s)=>{vAe(s,Ny,{actual:t,possible:["always","never"]})&&hAe({root:i,result:s,locationChecker:n.before,checkedRuleName:Ny,fix:r.fix?(a,u)=>{let l=u-gAe(a),c=mAe(a),f,d;if(l<c.length)f=c,d=y=>{bAe(a,y)};else if(a.important)f=a.raws.important||" !important",l-=c.length,d=y=>{a.raws.important=y};else return!1;let p=f.slice(0,l),h=f.slice(l);return t==="always"?(d(p.replace(/\s*$/,"")+" "+h),!0):t==="never"?(d(p.replace(/\s*$/,"")+h),!0):!1}:null})}};jy.ruleName=Ny;jy.messages=jW;jy.meta=_Ae;$W.exports=jy});var Hc=m((URt,WW)=>{"use strict";var{isRoot:xAe,isAtRule:SAe,isRule:kAe}=Ye();function EAe(t){return kAe(t)||SAe(t)||xAe(t)}WW.exports=function(e,r){function n(i){if(EAe(i)&&i.nodes&&i.nodes.length){let s=[];for(let o of i.nodes)o.type==="decl"&&s.push(o),n(o);s.length&&r(s.forEach.bind(s))}}n(e)}});var HW=m((HRt,UW)=>{"use strict";var CAe=Hc(),DAe=hn(),OAe=si(),qAe=U(),RAe=$(),AAe=j(),$y="declaration-block-no-duplicate-custom-properties",zW=RAe($y,{rejected:t=>`Unexpected duplicate "${t}"`}),PAe={url:"https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-custom-properties"},By=t=>(e,r)=>{AAe(r,$y,{actual:t})&&CAe(e,i=>{let s=new Set;i(o=>{let a=o.prop;if(!OAe(a)||!DAe(a))return;if(s.has(a)){qAe({message:zW.rejected(a),node:o,result:r,ruleName:$y,word:a});return}s.add(a)})})};By.ruleName=$y;By.messages=zW;By.meta=PAe;UW.exports=By});var YW=m((VRt,KW)=>{"use strict";var TAe=Hc(),MAe=hn(),LAe=si(),Wy=_e(),VW=U(),FAe=$(),IAe=j(),{isString:NAe}=te(),GW=tt(),Vc="declaration-block-no-duplicate-properties",tR=FAe(Vc,{rejected:t=>`Unexpected duplicate "${t}"`}),jAe={url:"https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-properties",fixable:!0},zy=(t,e,r)=>(n,i)=>{if(!IAe(i,Vc,{actual:t},{actual:e,possible:{ignore:["consecutive-duplicates","consecutive-duplicates-with-different-values","consecutive-duplicates-with-same-prefixless-values"],ignoreProperties:[NAe]},optional:!0}))return;let o=Wy(e,"ignore","consecutive-duplicates"),a=Wy(e,"ignore","consecutive-duplicates-with-different-values"),u=Wy(e,"ignore","consecutive-duplicates-with-same-prefixless-values");TAe(n,l=>{let c=[];l(f=>{let d=f.prop,p=f.prop.toLowerCase(),h=f.value,y=f.important;if(!LAe(d)||MAe(d)||Wy(e,"ignoreProperties",d)||p==="src")return;let v=c.findIndex(R=>R.prop.toLowerCase()===p);v===-1&&c.push(f);let g=c[v];if(!g)return;let b=g.value||"",w=g.important||!1,_=!y&&w,S=v===c.length-1,q=GW.unprefixed(h)===GW.unprefixed(b),C=()=>r.fix?_?f.remove():g.remove():VW({message:tR.rejected(d),node:f,result:i,ruleName:Vc,word:d});if(a||u)return(!S||u&&!q)&&C(),h!==b?void 0:r.fix?g.remove():VW({message:tR.rejected(d),node:f,result:i,ruleName:Vc,word:d});o&&S||C()})})};zy.ruleName=Vc;zy.messages=tR;zy.meta=jAe;KW.exports=zy});var ez=m((GRt,ZW)=>{"use strict";var $Ae=sm(),BAe=Hc(),WAe=_e(),zAe=U(),UAe=$(),{longhandSubPropertiesOfShorthandProperties:QW}=ku(),HAe=j(),JW=tt(),{isRegExp:VAe,isString:GAe}=te(),Uy="declaration-block-no-redundant-longhand-properties",XW=UAe(Uy,{expected:t=>`Expected shorthand property "${t}"`}),KAe={url:"https://stylelint.io/user-guide/rules/declaration-block-no-redundant-longhand-properties"},YAe=new Set(["inherit"]),Hy=(t,e)=>(r,n)=>{if(!HAe(n,Uy,{actual:t},{actual:e,possible:{ignoreShorthands:[GAe,VAe]},optional:!0}))return;let s=new Map;for(let[o,a]of QW.entries())if(!WAe(e,"ignoreShorthands",o))for(let u of a){let l=s.get(u)||[];l.push(o),s.set(u,l)}BAe(r,o=>{let a=new Map;o(u=>{if(YAe.has(u.value))return;let l=u.prop.toLowerCase(),c=JW.unprefixed(l),f=JW.prefix(l),d=s.get(c);if(d)for(let p of d){let h=f+p,y=a.get(h)||[];y.push(l),a.set(h,y);let v=QW.get(p),g=Array.from(v||[]).map(b=>f+b);$Ae(g.sort(),y.sort())&&zAe({ruleName:Uy,result:n,node:u,word:u.prop,message:XW.expected(h)})}})})};Hy.ruleName=Uy;Hy.messages=XW;Hy.meta=KAe;ZW.exports=Hy});var iz=m((KRt,nz)=>{"use strict";var QAe=Hc(),JAe=U(),XAe=$(),{longhandSubPropertiesOfShorthandProperties:ZAe}=ku(),ePe=j(),tz=tt(),Vy="declaration-block-no-shorthand-property-overrides",rz=XAe(Vy,{rejected:(t,e)=>`Unexpected shorthand "${t}" after "${e}"`}),tPe={url:"https://stylelint.io/user-guide/rules/declaration-block-no-shorthand-property-overrides"},Gy=t=>(e,r)=>{ePe(r,Vy,{actual:t})&&QAe(e,i=>{let s=new Map;i(o=>{let a=o.prop,u=tz.unprefixed(a).toLowerCase(),l=tz.prefix(a).toLowerCase(),c=ZAe.get(u);if(!c){s.set(a.toLowerCase(),a);return}for(let f of c){let d=s.get(l+f);d&&JAe({ruleName:Vy,result:r,node:o,message:rz.rejected(a,d||""),word:a})}})})};Gy.ruleName=Vy;Gy.messages=rz;Gy.meta=tPe;nz.exports=Gy});var az=m((YRt,oz)=>{"use strict";var rPe=xr(),nPe=C2(),iPe=rs(),sPe=U(),oPe=$(),aPe=j(),uPe=je(),{isAtRule:lPe,isRule:cPe}=Ye(),Ky="declaration-block-semicolon-newline-after",sz=oPe(Ky,{expectedAfter:()=>'Expected newline after ";"',expectedAfterMultiLine:()=>'Expected newline after ";" in a multi-line declaration block',rejectedAfterMultiLine:()=>'Unexpected newline after ";" in a multi-line declaration block'}),fPe={url:"https://stylelint.io/user-guide/rules/declaration-block-semicolon-newline-after",fixable:!0},Yy=(t,e,r)=>{let n=uPe("newline",t,sz);return(i,s)=>{aPe(s,Ky,{actual:t,possible:["always","always-multi-line","never-multi-line"]})&&i.walkDecls(a=>{let u=a.parent;if(!u)throw new Error("A parent node must be present");if(!lPe(u)&&!cPe(u)||!u.raws.semicolon&&u.last===a)return;let l=a.next();if(!l)return;let c=nPe(l);c&&n.afterOneOnly({source:iPe(c),index:-1,lineCheckStr:rPe(u),err:f=>{if(r.fix){if(t.startsWith("always")){let d=c.raws.before.search(/\r?\n/);c.raws.before=d>=0?c.raws.before.slice(d):r.newline+c.raws.before;return}if(t==="never-multi-line"){c.raws.before="";return}}sPe({message:f,node:a,index:a.toString().length+1,result:s,ruleName:Ky})}})})}};Yy.ruleName=Ky;Yy.messages=sz;Yy.meta=fPe;oz.exports=Yy});var cz=m((QRt,lz)=>{"use strict";var dPe=xr(),pPe=U(),hPe=$(),gPe=j(),mPe=je(),{isAtRule:yPe,isRule:bPe}=Ye(),Qy="declaration-block-semicolon-newline-before",uz=hPe(Qy,{expectedBefore:()=>'Expected newline before ";"',expectedBeforeMultiLine:()=>'Expected newline before ";" in a multi-line declaration block',rejectedBeforeMultiLine:()=>'Unexpected whitespace before ";" in a multi-line declaration block'}),vPe={url:"https://stylelint.io/user-guide/rules/declaration-block-semicolon-newline-before"},Jy=t=>{let e=mPe("newline",t,uz);return(r,n)=>{gPe(n,Qy,{actual:t,possible:["always","always-multi-line","never-multi-line"]})&&r.walkDecls(s=>{let o=s.parent;if(!o)throw new Error("A parent node must be present");if(!yPe(o)&&!bPe(o)||!o.raws.semicolon&&o.last===s)return;let a=s.toString();e.beforeAllowingIndentation({source:a,index:a.length,lineCheckStr:dPe(o),err:u=>{pPe({message:u,node:s,index:s.toString().length-1,result:n,ruleName:Qy})}})})}};Jy.ruleName=Qy;Jy.messages=uz;Jy.meta=vPe;lz.exports=Jy});var pz=m((JRt,dz)=>{"use strict";var wPe=xr(),_Pe=rs(),xPe=U(),SPe=$(),kPe=j(),EPe=je(),{isAtRule:CPe,isRule:DPe}=Ye(),Xy="declaration-block-semicolon-space-after",fz=SPe(Xy,{expectedAfter:()=>'Expected single space after ";"',rejectedAfter:()=>'Unexpected whitespace after ";"',expectedAfterSingleLine:()=>'Expected single space after ";" in a single-line declaration block',rejectedAfterSingleLine:()=>'Unexpected whitespace after ";" in a single-line declaration block'}),OPe={url:"https://stylelint.io/user-guide/rules/declaration-block-semicolon-space-after",fixable:!0},Zy=(t,e,r)=>{let n=EPe("space",t,fz);return(i,s)=>{kPe(s,Xy,{actual:t,possible:["always","never","always-single-line","never-single-line"]})&&i.walkDecls(a=>{let u=a.parent;if(!u)throw new Error("A parent node must be present");if(!CPe(u)&&!DPe(u)||!u.raws.semicolon&&u.last===a)return;let l=a.next();l&&n.after({source:_Pe(l),index:-1,lineCheckStr:wPe(u),err:c=>{if(r.fix){if(t.startsWith("always")){l.raws.before=" ";return}if(t.startsWith("never")){l.raws.before="";return}}xPe({message:c,node:a,index:a.toString().length+1,result:s,ruleName:Xy})}})})}};Zy.ruleName=Xy;Zy.messages=fz;Zy.meta=OPe;dz.exports=Zy});var yz=m((XRt,mz)=>{"use strict";var qPe=xr(),RPe=vt(),APe=U(),PPe=$(),hz=Bt(),TPe=j(),MPe=je(),{isAtRule:LPe,isRule:FPe}=Ye(),eb="declaration-block-semicolon-space-before",gz=PPe(eb,{expectedBefore:()=>'Expected single space before ";"',rejectedBefore:()=>'Unexpected whitespace before ";"',expectedBeforeSingleLine:()=>'Expected single space before ";" in a single-line declaration block',rejectedBeforeSingleLine:()=>'Unexpected whitespace before ";" in a single-line declaration block'}),IPe={url:"https://stylelint.io/user-guide/rules/declaration-block-semicolon-space-before",fixable:!0},tb=(t,e,r)=>{let n=MPe("space",t,gz);return(i,s)=>{TPe(s,eb,{actual:t,possible:["always","never","always-single-line","never-single-line"]})&&i.walkDecls(a=>{let u=a.parent;if(!u)throw new Error("A parent node must be present");if(!LPe(u)&&!FPe(u)||!u.raws.semicolon&&u.last===a)return;let l=a.toString();n.before({source:l,index:l.length,lineCheckStr:qPe(u),err:c=>{if(r.fix){let f=RPe(a);if(t.startsWith("always")){a.important?a.raws.important=" !important ":hz(a,f.replace(/\s*$/," "));return}if(t.startsWith("never")){a.raws.important?a.raws.important=a.raws.important.replace(/\s*$/,""):hz(a,f.replace(/\s*$/,""));return}}APe({message:c,node:a,index:a.toString().length-1,result:s,ruleName:eb})}})})}};tb.ruleName=eb;tb.messages=gz;tb.meta=IPe;mz.exports=tb});var wz=m((ZRt,vz)=>{"use strict";var NPe=xr(),jPe=Di(),$Pe=U(),BPe=$(),WPe=j(),{isNumber:zPe}=te(),rb="declaration-block-single-line-max-declarations",bz=BPe(rb,{expected:t=>`Expected no more than ${t} ${t===1?"declaration":"declarations"}`}),UPe={url:"https://stylelint.io/user-guide/rules/declaration-block-single-line-max-declarations"},nb=t=>(e,r)=>{WPe(r,rb,{actual:t,possible:[zPe]})&&e.walkRules(i=>{let s=NPe(i);!jPe(s)||!i.nodes||i.nodes.filter(a=>a.type==="decl").length<=t||$Pe({message:bz.expected(t),node:i,word:s,result:r,ruleName:rb})})};nb.ruleName=rb;nb.messages=bz;nb.meta=UPe;vz.exports=nb});var xz=m((eAt,_z)=>{"use strict";var HPe=nr(),VPe=_e(),GPe=U(),KPe=$(),{isAtRule:YPe}=Ye(),QPe=j(),ib="declaration-block-trailing-semicolon",rR=KPe(ib,{expected:"Expected a trailing semicolon",rejected:"Unexpected trailing semicolon"}),JPe={url:"https://stylelint.io/user-guide/rules/declaration-block-trailing-semicolon",fixable:!0},sb=(t,e,r)=>(n,i)=>{if(!QPe(i,ib,{actual:t,possible:["always","never"]},{actual:e,possible:{ignore:["single-declaration"]},optional:!0}))return;n.walkAtRules(a=>{if(!a.parent)throw new Error("A parent node must be present");a.parent!==n&&a===a.parent.last&&(HPe(a)||o(a))}),n.walkDecls(a=>{if(!a.parent)throw new Error("A parent node must be present");a.parent.type!=="object"&&a===a.parent.last&&o(a)});function o(a){if(!a.parent)throw new Error("A parent node must be present");let u=a.parent.raws.semicolon;if(VPe(e,"ignore","single-declaration")&&a.parent.first===a)return;let c;if(t==="always"){if(u)return;if(r.fix){a.parent.raws.semicolon=!0,YPe(a)&&(a.raws.between="",a.parent.raws.after=" ");return}c=rR.expected}else if(t==="never"){if(!u)return;if(r.fix){a.parent.raws.semicolon=!1;return}c=rR.rejected}else throw new Error(`Unexpected primary option: "${t}"`);GPe({message:c,node:a,index:a.toString().trim().length-1,result:i,ruleName:ib})}};sb.ruleName=ib;sb.messages=rR;sb.meta=JPe;_z.exports=sb});var Cz=m((tAt,Ez)=>{"use strict";var Sz=qe(),XPe=ii(),ZPe=U(),eTe=$(),tTe=j(),rTe=je(),ob="declaration-colon-newline-after",kz=eTe(ob,{expectedAfter:()=>'Expected newline after ":"',expectedAfterMultiLine:()=>'Expected newline after ":" with a multi-line declaration'}),nTe={url:"https://stylelint.io/user-guide/rules/declaration-colon-newline-after",fixable:!0},ab=(t,e,r)=>{let n=rTe("newline",t,kz);return(i,s)=>{tTe(s,ob,{actual:t,possible:["always","always-multi-line"]})&&i.walkDecls(a=>{if(!XPe(a))return;let u=Sz(a)+(a.raws.between||"").length-1,l=`${a.toString().slice(0,u)}xxx`;for(let c=0,f=l.length;c<f;c++){if(l[c]!==":")continue;let d=/^[^\S\r\n]*\/\*/.test(l.slice(c+1))?l.indexOf("*/",c)+1:c;n.afterOneOnly({source:l,index:d,lineCheckStr:a.value,err:p=>{if(r.fix){let h=a.raws.between;if(h==null)throw new Error("`between` must be present");let y=Sz(a)-h.length,v=d-y+1,g=h.slice(0,v),b=h.slice(v);a.raws.between=/^\s*\n/.test(b)?g+b.replace(/^[^\S\r\n]*/,""):g+r.newline+b;return}ZPe({message:p,node:a,index:d,result:s,ruleName:ob})}})}})}};ab.ruleName=ob;ab.messages=kz;ab.meta=nTe;Ez.exports=ab});var nR=m((rAt,Dz)=>{"use strict";var iTe=qe(),sTe=ii(),oTe=U();Dz.exports=function(e){e.root.walkDecls(r=>{if(!sTe(r))return;let n=iTe(r)+(r.raws.between||"").length-1,i=`${r.toString().slice(0,n)}xxx`;for(let s=0,o=i.length;s<o;s++)if(i[s]===":"){e.locationChecker({source:i,index:s,lineCheckStr:r.value,err:a=>{e.fix&&e.fix(r,s)||oTe({message:a,node:r,index:r.prop.toString().length+1,result:e.result,ruleName:e.checkedRuleName})}});break}})}});var Rz=m((nAt,qz)=>{"use strict";var aTe=nR(),uTe=qe(),lTe=$(),cTe=j(),fTe=je(),ub="declaration-colon-space-after",Oz=lTe(ub,{expectedAfter:()=>'Expected single space after ":"',rejectedAfter:()=>'Unexpected whitespace after ":"',expectedAfterSingleLine:()=>'Expected single space after ":" with a single-line declaration'}),dTe={url:"https://stylelint.io/user-guide/rules/declaration-colon-space-after",fixable:!0},lb=(t,e,r)=>{let n=fTe("space",t,Oz);return(i,s)=>{cTe(s,ub,{actual:t,possible:["always","never","always-single-line"]})&&aTe({root:i,result:s,locationChecker:n.after,checkedRuleName:ub,fix:r.fix?(a,u)=>{let l=u-uTe(a),c=a.raws.between;if(c==null)throw new Error("`between` must be present");return t.startsWith("always")?(a.raws.between=c.slice(0,l)+c.slice(l).replace(/^:\s*/,": "),!0):t==="never"?(a.raws.between=c.slice(0,l)+c.slice(l).replace(/^:\s*/,":"),!0):!1}:null})}};lb.ruleName=ub;lb.messages=Oz;lb.meta=dTe;qz.exports=lb});var Tz=m((iAt,Pz)=>{"use strict";var pTe=nR(),hTe=qe(),gTe=$(),mTe=j(),yTe=je(),cb="declaration-colon-space-before",Az=gTe(cb,{expectedBefore:()=>'Expected single space before ":"',rejectedBefore:()=>'Unexpected whitespace before ":"'}),bTe={url:"https://stylelint.io/user-guide/rules/declaration-colon-space-before",fixable:!0},fb=(t,e,r)=>{let n=yTe("space",t,Az);return(i,s)=>{mTe(s,cb,{actual:t,possible:["always","never"]})&&pTe({root:i,result:s,locationChecker:n.before,checkedRuleName:cb,fix:r.fix?(a,u)=>{let l=u-hTe(a),c=a.raws.between;if(c==null)throw new Error("`between` must be present");return t==="always"?(a.raws.between=c.slice(0,l).replace(/\s*$/," ")+c.slice(l),!0):t==="never"?(a.raws.between=c.slice(0,l).replace(/\s*$/,"")+c.slice(l),!0):!1}:null})}};fb.ruleName=cb;fb.messages=Az;fb.meta=bTe;Pz.exports=fb});var Lz=m((sAt,Mz)=>{"use strict";var vTe=Ns(),wTe=hn(),_Te=ii(),{isDeclaration:xTe}=Ye();Mz.exports=function(e){let r=vTe(e);return r!==void 0&&xTe(r)&&_Te(r)&&!wTe(r.prop||"")}});var $z=m((oAt,jz)=>{"use strict";var STe=bu(),kTe=xr(),ETe=Io(),Fz=Pc(),Iz=Lz(),CTe=hn(),Nz=vu(),DTe=Tc(),OTe=Di(),qTe=ii(),jo=_e(),RTe=wu(),ATe=U(),PTe=$(),TTe=j(),{isAtRule:MTe,isRule:LTe,isRoot:FTe}=Ye(),db="declaration-empty-line-before",iR=PTe(db,{expected:"Expected empty line before declaration",rejected:"Unexpected empty line before declaration"}),ITe={url:"https://stylelint.io/user-guide/rules/declaration-empty-line-before",fixable:!0},pb=(t,e,r)=>(n,i)=>{TTe(i,db,{actual:t,possible:["always","never"]},{actual:e,possible:{except:["first-nested","after-comment","after-declaration"],ignore:["after-comment","after-declaration","first-nested","inside-single-line-block"]},optional:!0})&&n.walkDecls(o=>{let a=o.prop,u=o.parent;if(u==null||DTe(o)||!MTe(u)&&!LTe(u)&&!FTe(u)||!qTe(o)||CTe(a)||jo(e,"ignore","after-comment")&&Fz(o)||jo(e,"ignore","after-declaration")&&Iz(o)||jo(e,"ignore","first-nested")&&Nz(o)||jo(e,"ignore","inside-single-line-block")&&OTe(kTe(u)))return;let l=t==="always";(jo(e,"except","first-nested")&&Nz(o)||jo(e,"except","after-comment")&&Fz(o)||jo(e,"except","after-declaration")&&Iz(o))&&(l=!l);let c=ETe(o.raws.before);if(l===c)return;if(r.fix){if(r.newline==null)return;l?STe(o,r.newline):RTe(o,r.newline);return}let f=l?iR.expected:iR.rejected;ATe({message:f,node:o,result:i,ruleName:db})})};pb.ruleName=db;pb.messages=iR;pb.meta=ITe;jz.exports=pb});var sR=m((aAt,Bz)=>{"use strict";Bz.exports=function(e){let r=/!\s*important\b/gi,n=r.exec(e);if(n)return{index:n.index,endIndex:r.lastIndex}}});var Uz=m((uAt,zz)=>{"use strict";var NTe=sR(),jTe=U(),$Te=$(),BTe=j(),{assert:WTe}=te(),hb="declaration-no-important",Wz=$Te(hb,{rejected:"Unexpected !important"}),zTe={url:"https://stylelint.io/user-guide/rules/declaration-no-important"},gb=t=>(e,r)=>{BTe(r,hb,{actual:t})&&e.walkDecls(i=>{if(!i.important)return;let s=NTe(i.toString());WTe(s),jTe({message:Wz.rejected,node:i,index:s.index,endIndex:s.endIndex,result:r,ruleName:hb})})};gb.ruleName=hb;gb.messages=Wz;gb.meta=zTe;zz.exports=gb});var Vz=m((lAt,Hz)=>{"use strict";var{isPlainObject:UTe}=te();Hz.exports=t=>e=>UTe(e)?Object.values(e).every(r=>t(r)):!1});var Yz=m((cAt,Kz)=>{"use strict";var HTe=Re(),VTe=qt(),GTe=U(),KTe=$(),YTe=tt(),QTe=j(),{isNumber:JTe,assertNumber:XTe}=te(),ZTe=Vz(),mb="declaration-property-max-values",Gz=KTe(mb,{rejected:(t,e)=>`Expected "${t}" to have no more than ${e} ${e===1?"value":"values"}`}),eMe={url:"https://stylelint.io/user-guide/rules/declaration-property-max-values"},tMe=t=>t.type==="word"||t.type==="function"||t.type==="string",yb=t=>(e,r)=>{QTe(r,mb,{actual:t,possible:[ZTe(JTe)]})&&e.walkDecls(i=>{let{prop:s,value:o}=i,a=HTe(o).nodes.filter(tMe).length,u=YTe.unprefixed(s),l=Object.keys(t).find(f=>VTe(u,f));if(!l)return;let c=t[l];XTe(c),!(a<=c)&>e({message:Gz.rejected(s,c),node:i,result:r,ruleName:mb})})};yb.ruleName=mb;yb.messages=Gz;yb.meta=eMe;Kz.exports=yb});var Jz=m((fAt,Qz)=>{"use strict";Qz.exports=function(e,r=" "){return e.replace(/[#@{}]+/g,r)}});var oi=m((dAt,Xz)=>{"use strict";var rMe=Jz(),nMe=pn(),iMe=Re();Xz.exports=function(e){if(!e||!e.value)return{unit:null,number:null};if(e.type!=="word")return{unit:null,number:null};if(!nMe(e.value))return{unit:null,number:null};if(e.value.startsWith("#"))return{unit:null,number:null};let r=rMe(e.value,"").replace("\\0","").replace("\\9",""),n=iMe.unit(r);return n||{unit:null,number:null}}});var tU=m((pAt,eU)=>{"use strict";var sMe=Re(),oMe=qe(),aMe=Rm(),uMe=oi(),lMe=qt(),cMe=_e(),fMe=U(),dMe=$(),pMe=Oi(),hMe=j(),{isString:gMe}=te(),mMe=tt(),bb="declaration-property-unit-allowed-list",Zz=dMe(bb,{rejected:(t,e)=>`Unexpected unit "${e}" for property "${t}"`}),yMe={url:"https://stylelint.io/user-guide/rules/declaration-property-unit-allowed-list"},vb=(t,e)=>(r,n)=>{hMe(n,bb,{actual:t,possible:[pMe(gMe)]},{actual:e,possible:{ignore:["inside-function"]},optional:!0})&&r.walkDecls(s=>{let o=s.prop,a=s.value,u=mMe.unprefixed(o),l=Object.keys(t).find(f=>lMe(u,f));if(!l)return;let c=aMe(t[l]);c&&sMe(a).walk(f=>{if(f.type==="function"&&(f.value.toLowerCase()==="url"||cMe(e,"ignore","inside-function")))return!1;if(f.type==="string")return;let{unit:d}=uMe(f);if(!d||d&&c.includes(d.toLowerCase()))return;let p=oMe(s)+f.sourceIndex,h=p+f.value.length;fMe({message:Zz.rejected(o,d),node:s,index:p,endIndex:h,result:n,ruleName:bb})})})};vb.ruleName=bb;vb.messages=Zz;vb.meta=yMe;eU.exports=vb});var iU=m((hAt,nU)=>{"use strict";var bMe=Re(),vMe=qe(),wMe=Rm(),_Me=oi(),xMe=qt(),SMe=U(),kMe=$(),EMe=Oi(),CMe=j(),{isString:DMe}=te(),OMe=tt(),wb="declaration-property-unit-disallowed-list",rU=kMe(wb,{rejected:(t,e)=>`Unexpected unit "${e}" for property "${t}"`}),qMe={url:"https://stylelint.io/user-guide/rules/declaration-property-unit-disallowed-list"},_b=t=>(e,r)=>{CMe(r,wb,{actual:t,possible:[EMe(DMe)]})&&e.walkDecls(i=>{let s=i.prop,o=i.value,a=OMe.unprefixed(s),u=Object.keys(t).find(c=>xMe(a,c));if(!u)return;let l=wMe(t[u]);l&&bMe(o).walk(c=>{if(c.type==="function"&&c.value.toLowerCase()==="url")return!1;if(c.type==="string")return;let{unit:f}=_Me(c);if(!f||f&&!l.includes(f.toLowerCase()))return;let d=vMe(i)+c.sourceIndex,p=d+c.value.length;SMe({message:rU.rejected,messageArgs:[s,f],node:i,index:d,endIndex:p,result:r,ruleName:wb})})})};_b.ruleName=wb;_b.messages=rU;_b.meta=qMe;nU.exports=_b});var aU=m((gAt,oU)=>{"use strict";var RMe=qe(),AMe=qt(),PMe=_e(),TMe=U(),MMe=$(),LMe=Oi(),FMe=j(),{isString:IMe,isRegExp:NMe}=te(),jMe=tt(),xb="declaration-property-value-allowed-list",sU=MMe(xb,{rejected:(t,e)=>`Unexpected value "${e}" for property "${t}"`}),$Me={url:"https://stylelint.io/user-guide/rules/declaration-property-value-allowed-list"},Sb=t=>(e,r)=>{if(!FMe(r,xb,{actual:t,possible:[LMe(IMe,NMe)]}))return;let i=Object.keys(t);e.walkDecls(s=>{let{prop:o,value:a}=s,u=jMe.unprefixed(o),l=i.filter(d=>AMe(u,d));if(l.length===0||l.some(d=>PMe(t,d,a)))return;let c=RMe(s),f=c+s.value.length;TMe({message:sU.rejected(o,a),node:s,index:c,endIndex:f,result:r,ruleName:xb})})};Sb.ruleName=xb;Sb.messages=sU;Sb.meta=$Me;oU.exports=Sb});var cU=m((mAt,lU)=>{"use strict";var BMe=qe(),WMe=qt(),zMe=_e(),UMe=U(),HMe=$(),VMe=Oi(),GMe=j(),{isString:KMe,isRegExp:YMe}=te(),QMe=tt(),kb="declaration-property-value-disallowed-list",uU=HMe(kb,{rejected:(t,e)=>`Unexpected value "${e}" for property "${t}"`}),JMe={url:"https://stylelint.io/user-guide/rules/declaration-property-value-disallowed-list"},Eb=t=>(e,r)=>{if(!GMe(r,kb,{actual:t,possible:[VMe(KMe,YMe)]}))return;let i=Object.keys(t);e.walkDecls(s=>{let{prop:o,value:a}=s,u=QMe.unprefixed(o),l=i.filter(d=>WMe(u,d));if(l.length===0||l.every(d=>!zMe(t,d,a)))return;let c=BMe(s),f=c+s.value.length;UMe({message:uU.rejected,messageArgs:[o,a],node:s,index:c,endIndex:f,result:r,ruleName:kb})})};Eb.ruleName=kb;Eb.messages=uU;Eb.meta=JMe;lU.exports=Eb});var oR=m((yAt,fU)=>{"use strict";fU.exports=function(e){return e.toString().trim().length!==0&&Number(e)==e}});var gn=m((bAt,xU)=>{"use strict";var Rt=xu(),At=new Set(["initial","inherit","revert","revert-layer","unset"]),XMe=Rt(At,["caption","icon","menu","message-box","small-caption","status-bar"]),dU=Rt(At,["serif","sans-serif","cursive","fantasy","monospace","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded"]),pU=new Set(["bolder","lighter"]),hU=new Set(["normal","bold"]),gU=Rt(pU,hU),ZMe=new Set(["100","200","300","400","500","600","700","800","900"]),mU=Rt(At,gU,ZMe),eLe=Rt(At,["normal","italic","oblique"]),tLe=Rt(At,["normal","none","historical-forms","none","common-ligatures","no-common-ligatures","discretionary-ligatures","no-discretionary-ligatures","historical-ligatures","no-historical-ligatures","contextual","no-contextual","small-caps","small-caps","all-small-caps","petite-caps","all-petite-caps","unicase","titling-caps","lining-nums","oldstyle-nums","proportional-nums","tabular-nums","diagonal-fractions","stacked-fractions","ordinal","slashed-zero","jis78","jis83","jis90","jis04","simplified","traditional","full-width","proportional-width","ruby"]),rLe=Rt(At,["semi-condensed","condensed","extra-condensed","ultra-condensed","semi-expanded","expanded","extra-expanded","ultra-expanded"]),yU=Rt(At,["xx-small","x-small","small","medium","large","x-large","xx-large","larger","smaller"]),nLe=Rt(At,["normal"]),iLe=Rt(At,eLe,tLe,mU,rLe,yU,nLe,dU),bU=Rt(At,["none"]),sLe=Rt(At,["linear","ease","ease-in","ease-in-out","ease-out","step-start","step-end","steps","cubic-bezier"]),oLe=new Set(["infinite"]),aLe=Rt(At,["normal","reverse","alternate","alternate-reverse"]),uLe=new Set(["none","forwards","backwards","both"]),lLe=Rt(At,["running","paused"]),cLe=Rt(At,bU,sLe,oLe,aLe,uLe,lLe),fLe=Rt(At,["auto","span"]),dLe=Rt(At,["auto","span"]),pLe=Rt(At,["auto","span"]),hLe=Rt(At,["none"]),gLe=Rt(At,["none"]),vU=Rt(At,["none","disc","circle","square","decimal","cjk-decimal","decimal-leading-zero","lower-roman","upper-roman","lower-greek","lower-alpha","lower-latin","upper-alpha","upper-latin","arabic-indic","armenian","bengali","cambodian","cjk-earthly-branch","cjk-ideographic","devanagari","ethiopic-numeric","georgian","gujarati","gurmukhi","hebrew","hiragana","hiragana-iroha","japanese-formal","japanese-informal","kannada","katakana","katakana-iroha","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","lao","lower-armenian","malayalam","mongolian","myanmar","oriya","persian","simp-chinese-formal","simp-chinese-informal","tamil","telugu","thai","tibetan","trad-chinese-formal","trad-chinese-informal","upper-armenian","disclosure-open","disclosure-closed","ethiopic-halehame","ethiopic-halehame-am","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","hangul","hangul-consonant","urdu"]),wU=Rt(At,["inside","outside"]),_U=Rt(At,["none"]),mLe=Rt(At,vU,wU,_U),yLe=new Set(["optimizeSpeed","optimizeQuality","optimizeLegibility","geometricPrecision","currentColor","crispEdges","visiblePainted","visibleFill","visibleStroke","sRGB","linearRGB"]),bLe=new Set(["from","to"]),vLe=new Set(["activeborder","activecaption","appworkspace","background","buttonface","buttonhighlight","buttonshadow","buttontext","captiontext","graytext","highlight","highlighttext","inactiveborder","inactivecaption","inactivecaptiontext","infobackground","infotext","menu","menutext","scrollbar","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","window","windowframe","windowtext"]);xU.exports={animationNameKeywords:bU,animationShorthandKeywords:cLe,basicKeywords:At,camelCaseKeywords:yLe,counterIncrementKeywords:hLe,counterResetKeywords:gLe,fontFamilyKeywords:dU,fontShorthandKeywords:iLe,fontSizeKeywords:yU,fontWeightAbsoluteKeywords:hU,fontWeightKeywords:mU,fontWeightNonNumericKeywords:gU,fontWeightRelativeKeywords:pU,gridAreaKeywords:pLe,gridColumnKeywords:dLe,gridRowKeywords:fLe,keyframeSelectorKeywords:bLe,listStyleImageKeywords:_U,listStylePositionKeywords:wU,listStyleShorthandKeywords:mLe,listStyleTypeKeywords:vU,systemColorsKeywords:vLe,systemFontKeywords:XMe}});var Cb=m((vAt,kU)=>{"use strict";var wLe=xu(),SU=new Set(["cap","ch","em","ex","ic","lh","rcap","rch","rem","rex","ric","rlh","dvb","dvh","dvi","dvmax","dvmin","dvw","lvb","lvh","lvi","lvmax","lvmin","lvw","svb","svh","svi","svmax","svmin","svw","vb","vh","vi","vw","vmin","vmax","vm","px","mm","cm","in","pt","pc","q","mozmm","fr","cqw","cqh","cqi","cqb","cqmin","cqmax"]),_Le=wLe(SU,["%","s","ms","deg","grad","turn","rad","Hz","kHz","dpi","dpcm","dppx"]);kU.exports={lengthUnits:SU,units:_Le}});var CU=m((wAt,EU)=>{"use strict";var{fontSizeKeywords:xLe}=gn(),{lengthUnits:SLe}=Cb(),kLe=Re();EU.exports=function(e){if(!e)return!1;if(xLe.has(e))return!0;let r=kLe.unit(e);if(!r)return!1;let n=r.unit;return!!(n==="%"||SLe.has(n.toLowerCase()))}});var Au=m((_At,DU)=>{"use strict";DU.exports=function(e){return e.toLowerCase().startsWith("var(")}});var Db=m((xAt,qU)=>{"use strict";var ELe=Re(),CLe=oR(),DLe=pn(),OU=CU(),OLe=Au(),{assert:qLe}=te(),{basicKeywords:RLe,fontFamilyKeywords:ALe,fontShorthandKeywords:PLe}=gn(),TLe=new Set(["word","string","space","div"]);function MLe(t,e,r){return t.value=t.value+r+e.value,t}qU.exports=function(e){let r=[],n=ELe(e),{nodes:i}=n;if(i.length===1&&i[0]&&RLe.has(i[0].value.toLowerCase()))return[i[0]];let s=!1,o=null;return n.walk((a,u,l)=>{if(a.type==="function")return!1;if(!TLe.has(a.type))return;let c=a.value.toLowerCase();if(!DLe(c)||OLe(c)||PLe.has(c)&&!ALe.has(c)||OU(a.value))return;let f=l[u-1],d=l[u-2];if(f&&f.value==="/"&&d&&OU(d.value)||CLe(c))return;if((a.type==="space"||a.type==="div"&&a.value!==",")&&r.length!==0){s=!0,o=a.value;return}if(a.type==="space"||a.type==="div")return;let p=a;if(s){let h=r[r.length-1];qLe(h),MLe(h,p,o),s=!1,o=null}else r.push(p)}),r}});var $o=m((SAt,aR)=>{var LLe=require("tty"),FLe=!("NO_COLOR"in process.env||process.argv.includes("--no-color"))&&("FORCE_COLOR"in process.env||process.argv.includes("--color")||process.platform==="win32"||LLe.isatty(1)&&process.env.TERM!=="dumb"||"CI"in process.env),Pt=(t,e,r=t)=>n=>{let i=""+n,s=i.indexOf(e,t.length);return~s?t+RU(i,e,r,s)+e:t+i+e},RU=(t,e,r,n)=>{let i=t.substring(0,n)+r,s=t.substring(n+e.length),o=s.indexOf(e);return~o?i+RU(s,e,r,o):i+s},AU=(t=FLe)=>({isColorSupported:t,reset:t?e=>`\x1B[0m${e}\x1B[0m`:String,bold:t?Pt("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"):String,dim:t?Pt("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"):String,italic:t?Pt("\x1B[3m","\x1B[23m"):String,underline:t?Pt("\x1B[4m","\x1B[24m"):String,inverse:t?Pt("\x1B[7m","\x1B[27m"):String,hidden:t?Pt("\x1B[8m","\x1B[28m"):String,strikethrough:t?Pt("\x1B[9m","\x1B[29m"):String,black:t?Pt("\x1B[30m","\x1B[39m"):String,red:t?Pt("\x1B[31m","\x1B[39m"):String,green:t?Pt("\x1B[32m","\x1B[39m"):String,yellow:t?Pt("\x1B[33m","\x1B[39m"):String,blue:t?Pt("\x1B[34m","\x1B[39m"):String,magenta:t?Pt("\x1B[35m","\x1B[39m"):String,cyan:t?Pt("\x1B[36m","\x1B[39m"):String,white:t?Pt("\x1B[37m","\x1B[39m"):String,gray:t?Pt("\x1B[90m","\x1B[39m"):String,bgBlack:t?Pt("\x1B[40m","\x1B[49m"):String,bgRed:t?Pt("\x1B[41m","\x1B[49m"):String,bgGreen:t?Pt("\x1B[42m","\x1B[49m"):String,bgYellow:t?Pt("\x1B[43m","\x1B[49m"):String,bgBlue:t?Pt("\x1B[44m","\x1B[49m"):String,bgMagenta:t?Pt("\x1B[45m","\x1B[49m"):String,bgCyan:t?Pt("\x1B[46m","\x1B[49m"):String,bgWhite:t?Pt("\x1B[47m","\x1B[49m"):String});aR.exports=AU();aR.exports.createColors=AU});var lR=m((kAt,LU)=>{"use strict";var uR="'".charCodeAt(0),PU='"'.charCodeAt(0),Ob="\\".charCodeAt(0),TU="/".charCodeAt(0),qb=`
|
|
80
80
|
`.charCodeAt(0),Gc=" ".charCodeAt(0),Rb="\f".charCodeAt(0),Ab=" ".charCodeAt(0),Pb="\r".charCodeAt(0),ILe="[".charCodeAt(0),NLe="]".charCodeAt(0),jLe="(".charCodeAt(0),$Le=")".charCodeAt(0),BLe="{".charCodeAt(0),WLe="}".charCodeAt(0),zLe=";".charCodeAt(0),ULe="*".charCodeAt(0),HLe=":".charCodeAt(0),VLe="@".charCodeAt(0),Tb=/[\t\n\f\r "#'()/;[\\\]{}]/g,Mb=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,GLe=/.[\n"'(/\\]/,MU=/[\da-f]/i;LU.exports=function(e,r={}){let n=e.css.valueOf(),i=r.ignoreErrors,s,o,a,u,l,c,f,d,p,h,y=n.length,v=0,g=[],b=[];function w(){return v}function _(R){throw e.error("Unclosed "+R,v)}function S(){return b.length===0&&v>=y}function q(R){if(b.length)return b.pop();if(v>=y)return;let O=R?R.ignoreUnclosed:!1;switch(s=n.charCodeAt(v),s){case qb:case Gc:case Ab:case Pb:case Rb:{o=v;do o+=1,s=n.charCodeAt(o);while(s===Gc||s===qb||s===Ab||s===Pb||s===Rb);h=["space",n.slice(v,o)],v=o-1;break}case ILe:case NLe:case BLe:case WLe:case HLe:case zLe:case $Le:{let z=String.fromCharCode(s);h=[z,z,v];break}case jLe:{if(d=g.length?g.pop()[1]:"",p=n.charCodeAt(v+1),d==="url"&&p!==uR&&p!==PU&&p!==Gc&&p!==qb&&p!==Ab&&p!==Rb&&p!==Pb){o=v;do{if(c=!1,o=n.indexOf(")",o+1),o===-1)if(i||O){o=v;break}else _("bracket");for(f=o;n.charCodeAt(f-1)===Ob;)f-=1,c=!c}while(c);h=["brackets",n.slice(v,o+1),v,o],v=o}else o=n.indexOf(")",v+1),u=n.slice(v,o+1),o===-1||GLe.test(u)?h=["(","(",v]:(h=["brackets",u,v,o],v=o);break}case uR:case PU:{a=s===uR?"'":'"',o=v;do{if(c=!1,o=n.indexOf(a,o+1),o===-1)if(i||O){o=v+1;break}else _("string");for(f=o;n.charCodeAt(f-1)===Ob;)f-=1,c=!c}while(c);h=["string",n.slice(v,o+1),v,o],v=o;break}case VLe:{Tb.lastIndex=v+1,Tb.test(n),Tb.lastIndex===0?o=n.length-1:o=Tb.lastIndex-2,h=["at-word",n.slice(v,o+1),v,o],v=o;break}case Ob:{for(o=v,l=!0;n.charCodeAt(o+1)===Ob;)o+=1,l=!l;if(s=n.charCodeAt(o+1),l&&s!==TU&&s!==Gc&&s!==qb&&s!==Ab&&s!==Pb&&s!==Rb&&(o+=1,MU.test(n.charAt(o)))){for(;MU.test(n.charAt(o+1));)o+=1;n.charCodeAt(o+1)===Gc&&(o+=1)}h=["word",n.slice(v,o+1),v,o],v=o;break}default:{s===TU&&n.charCodeAt(v+1)===ULe?(o=n.indexOf("*/",v+2)+1,o===0&&(i||O?o=n.length:_("comment")),h=["comment",n.slice(v,o+1),v,o],v=o):(Mb.lastIndex=v+1,Mb.test(n),Mb.lastIndex===0?o=n.length-1:o=Mb.lastIndex-2,h=["word",n.slice(v,o+1),v,o],g.push(h),v=o);break}}return v++,h}function C(R){b.push(R)}return{back:C,nextToken:q,endOfFile:S,position:w}}});var cR=m((EAt,NU)=>{"use strict";var zr=$o(),KLe=lR(),FU;function YLe(t){FU=t}var QLe={brackets:zr.cyan,"at-word":zr.cyan,comment:zr.gray,string:zr.green,class:zr.yellow,hash:zr.magenta,call:zr.cyan,"(":zr.cyan,")":zr.cyan,"{":zr.yellow,"}":zr.yellow,"[":zr.yellow,"]":zr.yellow,":":zr.yellow,";":zr.yellow};function JLe([t,e],r){if(t==="word"){if(e[0]===".")return"class";if(e[0]==="#")return"hash"}if(!r.endOfFile()){let n=r.nextToken();if(r.back(n),n[0]==="brackets"||n[0]==="(")return"call"}return t}function IU(t){let e=KLe(new FU(t),{ignoreErrors:!0}),r="";for(;!e.endOfFile();){let n=e.nextToken(),i=QLe[JLe(n,e)];i?r+=n[1].split(/\r?\n/).map(s=>i(s)).join(`
|
|
81
81
|
`):r+=n[1]}return r}IU.registerInput=YLe;NU.exports=IU});var Lb=m((CAt,BU)=>{"use strict";var jU=$o(),$U=cR(),Bo=class extends Error{constructor(e,r,n,i,s,o){super(e),this.name="CssSyntaxError",this.reason=e,s&&(this.file=s),i&&(this.source=i),o&&(this.plugin=o),typeof r<"u"&&typeof n<"u"&&(typeof r=="number"?(this.line=r,this.column=n):(this.line=r.line,this.column=r.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,Bo)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let r=this.source;e==null&&(e=jU.isColorSupported),$U&&e&&(r=$U(r));let n=r.split(/\r?\n/),i=Math.max(this.line-3,0),s=Math.min(this.line+2,n.length),o=String(s).length,a,u;if(e){let{bold:l,red:c,gray:f}=jU.createColors(!0);a=d=>l(c(d)),u=d=>f(d)}else a=u=l=>l;return n.slice(i,s).map((l,c)=>{let f=i+1+c,d=" "+(" "+f).slice(-o)+" | ";if(f===this.line){let p=u(d.replace(/\d/g," "))+l.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+u(d)+l+`
|
|
@@ -95,7 +95,7 @@ error: ${l}`),f=[{id:"",pluginName:"",text:l,location:null,notes:[],detail:void
|
|
|
95
95
|
`)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r}rawBeforeClose(e){let r;return e.walk(n=>{if(n.nodes&&n.nodes.length>0&&typeof n.raws.after<"u")return r=n.raws.after,r.includes(`
|
|
96
96
|
`)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){let r;return e.walk(n=>{if(n.type!=="decl"&&(r=n.raws.between,typeof r<"u"))return!1}),r}rawColon(e){let r;return e.walkDecls(n=>{if(typeof n.raws.between<"u")return r=n.raws.between.replace(/[^\s:]/g,""),!1}),r}beforeAfter(e,r){let n;e.type==="decl"?n=this.raw(e,null,"beforeDecl"):e.type==="comment"?n=this.raw(e,null,"beforeComment"):r==="before"?n=this.raw(e,null,"beforeRule"):n=this.raw(e,null,"beforeClose");let i=e.parent,s=0;for(;i&&i.type!=="root";)s+=1,i=i.parent;if(n.includes(`
|
|
97
97
|
`)){let o=this.raw(e,null,"indent");if(o.length)for(let a=0;a<s;a++)n+=o}return n}rawValue(e,r){let n=e[r],i=e.raws[r];return i&&i.value===n?i.raw:n}};zU.exports=Kc;Kc.default=Kc});var Yc=m((qAt,UU)=>{"use strict";var ZLe=dR();function pR(t,e){new ZLe(e).stringify(t)}UU.exports=pR;pR.default=pR});var Jc=m((RAt,HU)=>{"use strict";var{isClean:Ib,my:eFe}=Fb(),tFe=Lb(),rFe=dR(),nFe=Yc();function hR(t,e){let r=new t.constructor;for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n)||n==="proxyCache")continue;let i=t[n],s=typeof i;n==="parent"&&s==="object"?e&&(r[n]=e):n==="source"?r[n]=i:Array.isArray(i)?r[n]=i.map(o=>hR(o,r)):(s==="object"&&i!==null&&(i=hR(i)),r[n]=i)}return r}var Qc=class{constructor(e={}){this.raws={},this[Ib]=!1,this[eFe]=!0;for(let r in e)if(r==="nodes"){this.nodes=[];for(let n of e[r])typeof n.clone=="function"?this.append(n.clone()):this.append(n)}else this[r]=e[r]}error(e,r={}){if(this.source){let{start:n,end:i}=this.rangeBy(r);return this.source.input.error(e,{line:n.line,column:n.column},{line:i.line,column:i.column},r)}return new tFe(e)}warn(e,r,n){let i={node:this};for(let s in n)i[s]=n[s];return e.warn(r,i)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=nFe){e.stringify&&(e=e.stringify);let r="";return e(this,n=>{r+=n}),r}assign(e={}){for(let r in e)this[r]=e[r];return this}clone(e={}){let r=hR(this);for(let n in e)r[n]=e[n];return r}cloneBefore(e={}){let r=this.clone(e);return this.parent.insertBefore(this,r),r}cloneAfter(e={}){let r=this.clone(e);return this.parent.insertAfter(this,r),r}replaceWith(...e){if(this.parent){let r=this,n=!1;for(let i of e)i===this?n=!0:n?(this.parent.insertAfter(r,i),r=i):this.parent.insertBefore(r,i);n||this.remove()}return this}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){return this.parent.insertBefore(this,e),this}after(e){return this.parent.insertAfter(this,e),this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}raw(e,r){return new rFe().raw(this,e,r)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(e,r){let n={},i=r==null;r=r||new Map;let s=0;for(let o in this){if(!Object.prototype.hasOwnProperty.call(this,o)||o==="parent"||o==="proxyCache")continue;let a=this[o];if(Array.isArray(a))n[o]=a.map(u=>typeof u=="object"&&u.toJSON?u.toJSON(null,r):u);else if(typeof a=="object"&&a.toJSON)n[o]=a.toJSON(null,r);else if(o==="source"){let u=r.get(a.input);u==null&&(u=s,r.set(a.input,s),s++),n[o]={inputId:u,start:a.start,end:a.end}}else n[o]=a}return i&&(n.inputs=[...r.keys()].map(o=>o.toJSON())),n}positionInside(e){let r=this.toString(),n=this.source.start.column,i=this.source.start.line;for(let s=0;s<e;s++)r[s]===`
|
|
98
|
-
`?(n=1,i+=1):n+=1;return{line:i,column:n}}positionBy(e){let r=this.source.start;if(e.index)r=this.positionInside(e.index);else if(e.word){let n=this.toString().indexOf(e.word);n!==-1&&(r=this.positionInside(n))}return r}rangeBy(e){let r={line:this.source.start.line,column:this.source.start.column},n=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:r.line,column:r.column+1};if(e.word){let i=this.toString().indexOf(e.word);i!==-1&&(r=this.positionInside(i),n=this.positionInside(i+e.word.length))}else e.start?r={line:e.start.line,column:e.start.column}:e.index&&(r=this.positionInside(e.index)),e.end?n={line:e.end.line,column:e.end.column}:e.endIndex?n=this.positionInside(e.endIndex):e.index&&(n=this.positionInside(e.index+1));return(n.line<r.line||n.line===r.line&&n.column<=r.column)&&(n={line:r.line,column:r.column+1}),{start:r,end:n}}getProxyProcessor(){return{set(e,r,n){return e[r]===n||(e[r]=n,(r==="prop"||r==="value"||r==="name"||r==="params"||r==="important"||r==="text")&&e.markDirty()),!0},get(e,r){return r==="proxyOf"?e:r==="root"?()=>e.root().toProxy():e[r]}}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let r=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${r.input.from}:${r.start.line}:${r.start.column}$&`)}return e}markDirty(){if(this[Ib]){this[Ib]=!1;let e=this;for(;e=e.parent;)e[Ib]=!1}}get proxyOf(){return this}};HU.exports=Qc;Qc.default=Qc});var Zc=m((AAt,VU)=>{"use strict";var iFe=Jc(),Xc=class extends iFe{constructor(e){e&&typeof e.value<"u"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};VU.exports=Xc;Xc.default=Xc});var KU=m(gR=>{var GU="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");gR.encode=function(t){if(0<=t&&t<GU.length)return GU[t];throw new TypeError("Must be between 0 and 63: "+t)};gR.decode=function(t){var e=65,r=90,n=97,i=122,s=48,o=57,a=43,u=47,l=26,c=52;return e<=t&&t<=r?t-e:n<=t&&t<=i?t-n+l:s<=t&&t<=o?t-s+c:t==a?62:t==u?63:-1}});var bR=m(yR=>{var YU=KU(),mR=5,QU=1<<mR,JU=QU-1,XU=QU;function sFe(t){return t<0?(-t<<1)+1:(t<<1)+0}function oFe(t){var e=(t&1)===1,r=t>>1;return e?-r:r}yR.encode=function(e){var r="",n,i=sFe(e);do n=i&JU,i>>>=mR,i>0&&(n|=XU),r+=YU.encode(n);while(i>0);return r};yR.decode=function(e,r,n){var i=e.length,s=0,o=0,a,u;do{if(r>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(u=YU.decode(e.charCodeAt(r++)),u===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));a=!!(u&XU),u&=JU,s=s+(u<<o),o+=mR}while(a);n.value=oFe(s),n.rest=r}});var Tu=m(ur=>{function aFe(t,e,r){if(e in t)return t[e];if(arguments.length===3)return r;throw new Error('"'+e+'" is a required argument.')}ur.getArg=aFe;var ZU=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,uFe=/^data:.+\,.+$/;function ef(t){var e=t.match(ZU);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}ur.urlParse=ef;function Pu(t){var e="";return t.scheme&&(e+=t.scheme+":"),e+="//",t.auth&&(e+=t.auth+"@"),t.host&&(e+=t.host),t.port&&(e+=":"+t.port),t.path&&(e+=t.path),e}ur.urlGenerate=Pu;var lFe=32;function cFe(t){var e=[];return function(r){for(var n=0;n<e.length;n++)if(e[n].input===r){var i=e[0];return e[0]=e[n],e[n]=i,e[0].result}var s=t(r);return e.unshift({input:r,result:s}),e.length>lFe&&e.pop(),s}}var vR=cFe(function(e){var r=e,n=ef(e);if(n){if(!n.path)return e;r=n.path}for(var i=ur.isAbsolute(r),s=[],o=0,a=0;;)if(o=a,a=r.indexOf("/",o),a===-1){s.push(r.slice(o));break}else for(s.push(r.slice(o,a));a<r.length&&r[a]==="/";)a++;for(var u,l=0,a=s.length-1;a>=0;a--)u=s[a],u==="."?s.splice(a,1):u===".."?l++:l>0&&(u===""?(s.splice(a+1,l),l=0):(s.splice(a,2),l--));return r=s.join("/"),r===""&&(r=i?"/":"."),n?(n.path=r,Pu(n)):r});ur.normalize=vR;function eH(t,e){t===""&&(t="."),e===""&&(e=".");var r=ef(e),n=ef(t);if(n&&(t=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),Pu(r);if(r||e.match(uFe))return e;if(n&&!n.host&&!n.path)return n.host=e,Pu(n);var i=e.charAt(0)==="/"?e:vR(t.replace(/\/+$/,"")+"/"+e);return n?(n.path=i,Pu(n)):i}ur.join=eH;ur.isAbsolute=function(t){return t.charAt(0)==="/"||ZU.test(t)};function fFe(t,e){t===""&&(t="."),t=t.replace(/\/$/,"");for(var r=0;e.indexOf(t+"/")!==0;){var n=t.lastIndexOf("/");if(n<0||(t=t.slice(0,n),t.match(/^([^\/]+:\/)?\/*$/)))return e;++r}return Array(r+1).join("../")+e.substr(t.length+1)}ur.relative=fFe;var tH=function(){var t=Object.create(null);return!("__proto__"in t)}();function rH(t){return t}function dFe(t){return nH(t)?"$"+t:t}ur.toSetString=tH?rH:dFe;function pFe(t){return nH(t)?t.slice(1):t}ur.fromSetString=tH?rH:pFe;function nH(t){if(!t)return!1;var e=t.length;if(e<9||t.charCodeAt(e-1)!==95||t.charCodeAt(e-2)!==95||t.charCodeAt(e-3)!==111||t.charCodeAt(e-4)!==116||t.charCodeAt(e-5)!==111||t.charCodeAt(e-6)!==114||t.charCodeAt(e-7)!==112||t.charCodeAt(e-8)!==95||t.charCodeAt(e-9)!==95)return!1;for(var r=e-10;r>=0;r--)if(t.charCodeAt(r)!==36)return!1;return!0}function hFe(t,e,r){var n=ss(t.source,e.source);return n!==0||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0||r)||(n=t.generatedColumn-e.generatedColumn,n!==0)||(n=t.generatedLine-e.generatedLine,n!==0)?n:ss(t.name,e.name)}ur.compareByOriginalPositions=hFe;function gFe(t,e,r){var n;return n=t.originalLine-e.originalLine,n!==0||(n=t.originalColumn-e.originalColumn,n!==0||r)||(n=t.generatedColumn-e.generatedColumn,n!==0)||(n=t.generatedLine-e.generatedLine,n!==0)?n:ss(t.name,e.name)}ur.compareByOriginalPositionsNoSource=gFe;function mFe(t,e,r){var n=t.generatedLine-e.generatedLine;return n!==0||(n=t.generatedColumn-e.generatedColumn,n!==0||r)||(n=ss(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:ss(t.name,e.name)}ur.compareByGeneratedPositionsDeflated=mFe;function yFe(t,e,r){var n=t.generatedColumn-e.generatedColumn;return n!==0||r||(n=ss(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:ss(t.name,e.name)}ur.compareByGeneratedPositionsDeflatedNoLine=yFe;function ss(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}function bFe(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=ss(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:ss(t.name,e.name)}ur.compareByGeneratedPositionsInflated=bFe;function vFe(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}ur.parseSourceMapInput=vFe;function wFe(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var n=ef(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var i=n.path.lastIndexOf("/");i>=0&&(n.path=n.path.substring(0,i+1))}e=eH(Pu(n),e)}return vR(e)}ur.computeSourceURL=wFe});var xR=m(iH=>{var wR=Tu(),_R=Object.prototype.hasOwnProperty,Wo=typeof Map<"u";function os(){this._array=[],this._set=Wo?new Map:Object.create(null)}os.fromArray=function(e,r){for(var n=new os,i=0,s=e.length;i<s;i++)n.add(e[i],r);return n};os.prototype.size=function(){return Wo?this._set.size:Object.getOwnPropertyNames(this._set).length};os.prototype.add=function(e,r){var n=Wo?e:wR.toSetString(e),i=Wo?this.has(e):_R.call(this._set,n),s=this._array.length;(!i||r)&&this._array.push(e),i||(Wo?this._set.set(e,s):this._set[n]=s)};os.prototype.has=function(e){if(Wo)return this._set.has(e);var r=wR.toSetString(e);return _R.call(this._set,r)};os.prototype.indexOf=function(e){if(Wo){var r=this._set.get(e);if(r>=0)return r}else{var n=wR.toSetString(e);if(_R.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')};os.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};os.prototype.toArray=function(){return this._array.slice()};iH.ArraySet=os});var aH=m(oH=>{var sH=Tu();function _Fe(t,e){var r=t.generatedLine,n=e.generatedLine,i=t.generatedColumn,s=e.generatedColumn;return n>r||n==r&&s>=i||sH.compareByGeneratedPositionsInflated(t,e)<=0}function Nb(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Nb.prototype.unsortedForEach=function(e,r){this._array.forEach(e,r)};Nb.prototype.add=function(e){_Fe(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};Nb.prototype.toArray=function(){return this._sorted||(this._array.sort(sH.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};oH.MappingList=Nb});var SR=m(uH=>{var tf=bR(),Yt=Tu(),jb=xR().ArraySet,xFe=aH().MappingList;function In(t){t||(t={}),this._file=Yt.getArg(t,"file",null),this._sourceRoot=Yt.getArg(t,"sourceRoot",null),this._skipValidation=Yt.getArg(t,"skipValidation",!1),this._sources=new jb,this._names=new jb,this._mappings=new xFe,this._sourcesContents=null}In.prototype._version=3;In.fromSourceMap=function(e){var r=e.sourceRoot,n=new In({file:e.file,sourceRoot:r});return e.eachMapping(function(i){var s={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(s.source=i.source,r!=null&&(s.source=Yt.relative(r,s.source)),s.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(s.name=i.name)),n.addMapping(s)}),e.sources.forEach(function(i){var s=i;r!==null&&(s=Yt.relative(r,i)),n._sources.has(s)||n._sources.add(s);var o=e.sourceContentFor(i);o!=null&&n.setSourceContent(i,o)}),n};In.prototype.addMapping=function(e){var r=Yt.getArg(e,"generated"),n=Yt.getArg(e,"original",null),i=Yt.getArg(e,"source",null),s=Yt.getArg(e,"name",null);this._skipValidation||this._validateMapping(r,n,i,s),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),s!=null&&(s=String(s),this._names.has(s)||this._names.add(s)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:i,name:s})};In.prototype.setSourceContent=function(e,r){var n=e;this._sourceRoot!=null&&(n=Yt.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Yt.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[Yt.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};In.prototype.applySourceMap=function(e,r,n){var i=r;if(r==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);i=e.file}var s=this._sourceRoot;s!=null&&(i=Yt.relative(s,i));var o=new jb,a=new jb;this._mappings.unsortedForEach(function(u){if(u.source===i&&u.originalLine!=null){var l=e.originalPositionFor({line:u.originalLine,column:u.originalColumn});l.source!=null&&(u.source=l.source,n!=null&&(u.source=Yt.join(n,u.source)),s!=null&&(u.source=Yt.relative(s,u.source)),u.originalLine=l.line,u.originalColumn=l.column,l.name!=null&&(u.name=l.name))}var c=u.source;c!=null&&!o.has(c)&&o.add(c);var f=u.name;f!=null&&!a.has(f)&&a.add(f)},this),this._sources=o,this._names=a,e.sources.forEach(function(u){var l=e.sourceContentFor(u);l!=null&&(n!=null&&(u=Yt.join(n,u)),s!=null&&(u=Yt.relative(s,u)),this.setSourceContent(u,l))},this)};In.prototype._validateMapping=function(e,r,n,i){if(r&&typeof r.line!="number"&&typeof r.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!n&&!i)){if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&n)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:r,name:i}))}};In.prototype._serializeMappings=function(){for(var e=0,r=1,n=0,i=0,s=0,o=0,a="",u,l,c,f,d=this._mappings.toArray(),p=0,h=d.length;p<h;p++){if(l=d[p],u="",l.generatedLine!==r)for(e=0;l.generatedLine!==r;)u+=";",r++;else if(p>0){if(!Yt.compareByGeneratedPositionsInflated(l,d[p-1]))continue;u+=","}u+=tf.encode(l.generatedColumn-e),e=l.generatedColumn,l.source!=null&&(f=this._sources.indexOf(l.source),u+=tf.encode(f-o),o=f,u+=tf.encode(l.originalLine-1-i),i=l.originalLine-1,u+=tf.encode(l.originalColumn-n),n=l.originalColumn,l.name!=null&&(c=this._names.indexOf(l.name),u+=tf.encode(c-s),s=c)),a+=u}return a};In.prototype._generateSourcesContent=function(e,r){return e.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=Yt.relative(r,n));var i=Yt.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};In.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e};In.prototype.toString=function(){return JSON.stringify(this.toJSON())};uH.SourceMapGenerator=In});var lH=m(zo=>{zo.GREATEST_LOWER_BOUND=1;zo.LEAST_UPPER_BOUND=2;function kR(t,e,r,n,i,s){var o=Math.floor((e-t)/2)+t,a=i(r,n[o],!0);return a===0?o:a>0?e-o>1?kR(o,e,r,n,i,s):s==zo.LEAST_UPPER_BOUND?e<n.length?e:-1:o:o-t>1?kR(t,o,r,n,i,s):s==zo.LEAST_UPPER_BOUND?o:t<0?-1:t}zo.search=function(e,r,n,i){if(r.length===0)return-1;var s=kR(-1,r.length,e,r,n,i||zo.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&n(r[s],r[s-1],!0)===0;)--s;return s}});var dH=m(fH=>{function SFe(t){function e(i,s,o){var a=i[s];i[s]=i[o],i[o]=a}function r(i,s){return Math.round(i+Math.random()*(s-i))}function n(i,s,o,a){if(o<a){var u=r(o,a),l=o-1;e(i,u,a);for(var c=i[a],f=o;f<a;f++)s(i[f],c,!1)<=0&&(l+=1,e(i,l,f));e(i,l+1,f);var d=l+1;n(i,s,o,d-1),n(i,s,d+1,a)}}return n}function kFe(t){let e=SFe.toString();return new Function(`return ${e}`)()(t)}var cH=new WeakMap;fH.quickSort=function(t,e,r=0){let n=cH.get(e);n===void 0&&(n=kFe(e),cH.set(e,n)),n(t,e,r,t.length-1)}});var gH=m($b=>{var xe=Tu(),CR=lH(),Mu=xR().ArraySet,EFe=bR(),rf=dH().quickSort;function St(t,e){var r=t;return typeof t=="string"&&(r=xe.parseSourceMapInput(t)),r.sections!=null?new ai(r,e):new Sr(r,e)}St.fromSourceMap=function(t,e){return Sr.fromSourceMap(t,e)};St.prototype._version=3;St.prototype.__generatedMappings=null;Object.defineProperty(St.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});St.prototype.__originalMappings=null;Object.defineProperty(St.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});St.prototype._charIsMappingSeparator=function(e,r){var n=e.charAt(r);return n===";"||n===","};St.prototype._parseMappings=function(e,r){throw new Error("Subclasses must implement _parseMappings")};St.GENERATED_ORDER=1;St.ORIGINAL_ORDER=2;St.GREATEST_LOWER_BOUND=1;St.LEAST_UPPER_BOUND=2;St.prototype.eachMapping=function(e,r,n){var i=r||null,s=n||St.GENERATED_ORDER,o;switch(s){case St.GENERATED_ORDER:o=this._generatedMappings;break;case St.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var a=this.sourceRoot,u=e.bind(i),l=this._names,c=this._sources,f=this._sourceMapURL,d=0,p=o.length;d<p;d++){var h=o[d],y=h.source===null?null:c.at(h.source);y=xe.computeSourceURL(a,y,f),u({source:y,generatedLine:h.generatedLine,generatedColumn:h.generatedColumn,originalLine:h.originalLine,originalColumn:h.originalColumn,name:h.name===null?null:l.at(h.name)})}};St.prototype.allGeneratedPositionsFor=function(e){var r=xe.getArg(e,"line"),n={source:xe.getArg(e,"source"),originalLine:r,originalColumn:xe.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var i=[],s=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",xe.compareByOriginalPositions,CR.LEAST_UPPER_BOUND);if(s>=0){var o=this._originalMappings[s];if(e.column===void 0)for(var a=o.originalLine;o&&o.originalLine===a;)i.push({line:xe.getArg(o,"generatedLine",null),column:xe.getArg(o,"generatedColumn",null),lastColumn:xe.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s];else for(var u=o.originalColumn;o&&o.originalLine===r&&o.originalColumn==u;)i.push({line:xe.getArg(o,"generatedLine",null),column:xe.getArg(o,"generatedColumn",null),lastColumn:xe.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s]}return i};$b.SourceMapConsumer=St;function Sr(t,e){var r=t;typeof t=="string"&&(r=xe.parseSourceMapInput(t));var n=xe.getArg(r,"version"),i=xe.getArg(r,"sources"),s=xe.getArg(r,"names",[]),o=xe.getArg(r,"sourceRoot",null),a=xe.getArg(r,"sourcesContent",null),u=xe.getArg(r,"mappings"),l=xe.getArg(r,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);o&&(o=xe.normalize(o)),i=i.map(String).map(xe.normalize).map(function(c){return o&&xe.isAbsolute(o)&&xe.isAbsolute(c)?xe.relative(o,c):c}),this._names=Mu.fromArray(s.map(String),!0),this._sources=Mu.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(c){return xe.computeSourceURL(o,c,e)}),this.sourceRoot=o,this.sourcesContent=a,this._mappings=u,this._sourceMapURL=e,this.file=l}Sr.prototype=Object.create(St.prototype);Sr.prototype.consumer=St;Sr.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=xe.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var r;for(r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==t)return r;return-1};Sr.fromSourceMap=function(e,r){var n=Object.create(Sr.prototype),i=n._names=Mu.fromArray(e._names.toArray(),!0),s=n._sources=Mu.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file,n._sourceMapURL=r,n._absoluteSources=n._sources.toArray().map(function(p){return xe.computeSourceURL(n.sourceRoot,p,r)});for(var o=e._mappings.toArray().slice(),a=n.__generatedMappings=[],u=n.__originalMappings=[],l=0,c=o.length;l<c;l++){var f=o[l],d=new hH;d.generatedLine=f.generatedLine,d.generatedColumn=f.generatedColumn,f.source&&(d.source=s.indexOf(f.source),d.originalLine=f.originalLine,d.originalColumn=f.originalColumn,f.name&&(d.name=i.indexOf(f.name)),u.push(d)),a.push(d)}return rf(n.__originalMappings,xe.compareByOriginalPositions),n};Sr.prototype._version=3;Object.defineProperty(Sr.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function hH(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}var ER=xe.compareByGeneratedPositionsDeflatedNoLine;function pH(t,e){let r=t.length,n=t.length-e;if(!(n<=1))if(n==2){let i=t[e],s=t[e+1];ER(i,s)>0&&(t[e]=s,t[e+1]=i)}else if(n<20)for(let i=e;i<r;i++)for(let s=i;s>e;s--){let o=t[s-1],a=t[s];if(ER(o,a)<=0)break;t[s-1]=a,t[s]=o}else rf(t,ER,e)}Sr.prototype._parseMappings=function(e,r){var n=1,i=0,s=0,o=0,a=0,u=0,l=e.length,c=0,f={},d={},p=[],h=[],y,v,g,b,w;let _=0;for(;c<l;)if(e.charAt(c)===";")n++,c++,i=0,pH(h,_),_=h.length;else if(e.charAt(c)===",")c++;else{for(y=new hH,y.generatedLine=n,b=c;b<l&&!this._charIsMappingSeparator(e,b);b++);for(v=e.slice(c,b),g=[];c<b;)EFe.decode(e,c,d),w=d.value,c=d.rest,g.push(w);if(g.length===2)throw new Error("Found a source, but no line and column");if(g.length===3)throw new Error("Found a source and line, but no column");if(y.generatedColumn=i+g[0],i=y.generatedColumn,g.length>1&&(y.source=a+g[1],a+=g[1],y.originalLine=s+g[2],s=y.originalLine,y.originalLine+=1,y.originalColumn=o+g[3],o=y.originalColumn,g.length>4&&(y.name=u+g[4],u+=g[4])),h.push(y),typeof y.originalLine=="number"){let q=y.source;for(;p.length<=q;)p.push(null);p[q]===null&&(p[q]=[]),p[q].push(y)}}pH(h,_),this.__generatedMappings=h;for(var S=0;S<p.length;S++)p[S]!=null&&rf(p[S],xe.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...p)};Sr.prototype._findMapping=function(e,r,n,i,s,o){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[i]);return CR.search(e,r,s,o)};Sr.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var r=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(r.generatedLine===n.generatedLine){r.lastGeneratedColumn=n.generatedColumn-1;continue}}r.lastGeneratedColumn=1/0}};Sr.prototype.originalPositionFor=function(e){var r={generatedLine:xe.getArg(e,"line"),generatedColumn:xe.getArg(e,"column")},n=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",xe.compareByGeneratedPositionsDeflated,xe.getArg(e,"bias",St.GREATEST_LOWER_BOUND));if(n>=0){var i=this._generatedMappings[n];if(i.generatedLine===r.generatedLine){var s=xe.getArg(i,"source",null);s!==null&&(s=this._sources.at(s),s=xe.computeSourceURL(this.sourceRoot,s,this._sourceMapURL));var o=xe.getArg(i,"name",null);return o!==null&&(o=this._names.at(o)),{source:s,line:xe.getArg(i,"originalLine",null),column:xe.getArg(i,"originalColumn",null),name:o}}}return{source:null,line:null,column:null,name:null}};Sr.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};Sr.prototype.sourceContentFor=function(e,r){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var i=e;this.sourceRoot!=null&&(i=xe.relative(this.sourceRoot,i));var s;if(this.sourceRoot!=null&&(s=xe.urlParse(this.sourceRoot))){var o=i.replace(/^file:\/\//,"");if(s.scheme=="file"&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!s.path||s.path=="/")&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(r)return null;throw new Error('"'+i+'" is not in the SourceMap.')};Sr.prototype.generatedPositionFor=function(e){var r=xe.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var n={source:r,originalLine:xe.getArg(e,"line"),originalColumn:xe.getArg(e,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",xe.compareByOriginalPositions,xe.getArg(e,"bias",St.GREATEST_LOWER_BOUND));if(i>=0){var s=this._originalMappings[i];if(s.source===n.source)return{line:xe.getArg(s,"generatedLine",null),column:xe.getArg(s,"generatedColumn",null),lastColumn:xe.getArg(s,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};$b.BasicSourceMapConsumer=Sr;function ai(t,e){var r=t;typeof t=="string"&&(r=xe.parseSourceMapInput(t));var n=xe.getArg(r,"version"),i=xe.getArg(r,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new Mu,this._names=new Mu;var s={line:-1,column:0};this._sections=i.map(function(o){if(o.url)throw new Error("Support for url field in sections not implemented.");var a=xe.getArg(o,"offset"),u=xe.getArg(a,"line"),l=xe.getArg(a,"column");if(u<s.line||u===s.line&&l<s.column)throw new Error("Section offsets must be ordered and non-overlapping.");return s=a,{generatedOffset:{generatedLine:u+1,generatedColumn:l+1},consumer:new St(xe.getArg(o,"map"),e)}})}ai.prototype=Object.create(St.prototype);ai.prototype.constructor=St;ai.prototype._version=3;Object.defineProperty(ai.prototype,"sources",{get:function(){for(var t=[],e=0;e<this._sections.length;e++)for(var r=0;r<this._sections[e].consumer.sources.length;r++)t.push(this._sections[e].consumer.sources[r]);return t}});ai.prototype.originalPositionFor=function(e){var r={generatedLine:xe.getArg(e,"line"),generatedColumn:xe.getArg(e,"column")},n=CR.search(r,this._sections,function(s,o){var a=s.generatedLine-o.generatedOffset.generatedLine;return a||s.generatedColumn-o.generatedOffset.generatedColumn}),i=this._sections[n];return i?i.consumer.originalPositionFor({line:r.generatedLine-(i.generatedOffset.generatedLine-1),column:r.generatedColumn-(i.generatedOffset.generatedLine===r.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};ai.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};ai.prototype.sourceContentFor=function(e,r){for(var n=0;n<this._sections.length;n++){var i=this._sections[n],s=i.consumer.sourceContentFor(e,!0);if(s)return s}if(r)return null;throw new Error('"'+e+'" is not in the SourceMap.')};ai.prototype.generatedPositionFor=function(e){for(var r=0;r<this._sections.length;r++){var n=this._sections[r];if(n.consumer._findSourceIndex(xe.getArg(e,"source"))!==-1){var i=n.consumer.generatedPositionFor(e);if(i){var s={line:i.line+(n.generatedOffset.generatedLine-1),column:i.column+(n.generatedOffset.generatedLine===i.line?n.generatedOffset.generatedColumn-1:0)};return s}}}return{line:null,column:null}};ai.prototype._parseMappings=function(e,r){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var i=this._sections[n],s=i.consumer._generatedMappings,o=0;o<s.length;o++){var a=s[o],u=i.consumer._sources.at(a.source);u=xe.computeSourceURL(i.consumer.sourceRoot,u,this._sourceMapURL),this._sources.add(u),u=this._sources.indexOf(u);var l=null;a.name&&(l=i.consumer._names.at(a.name),this._names.add(l),l=this._names.indexOf(l));var c={source:u,generatedLine:a.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(i.generatedOffset.generatedLine===a.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:l};this.__generatedMappings.push(c),typeof c.originalLine=="number"&&this.__originalMappings.push(c)}rf(this.__generatedMappings,xe.compareByGeneratedPositionsDeflated),rf(this.__originalMappings,xe.compareByOriginalPositions)};$b.IndexedSourceMapConsumer=ai});var yH=m(mH=>{var CFe=SR().SourceMapGenerator,Bb=Tu(),DFe=/(\r?\n)/,OFe=10,Lu="$$$isSourceNode$$$";function mn(t,e,r,n,i){this.children=[],this.sourceContents={},this.line=t??null,this.column=e??null,this.source=r??null,this.name=i??null,this[Lu]=!0,n!=null&&this.add(n)}mn.fromStringWithSourceMap=function(e,r,n){var i=new mn,s=e.split(DFe),o=0,a=function(){var d=h(),p=h()||"";return d+p;function h(){return o<s.length?s[o++]:void 0}},u=1,l=0,c=null;return r.eachMapping(function(d){if(c!==null)if(u<d.generatedLine)f(c,a()),u++,l=0;else{var p=s[o]||"",h=p.substr(0,d.generatedColumn-l);s[o]=p.substr(d.generatedColumn-l),l=d.generatedColumn,f(c,h),c=d;return}for(;u<d.generatedLine;)i.add(a()),u++;if(l<d.generatedColumn){var p=s[o]||"";i.add(p.substr(0,d.generatedColumn)),s[o]=p.substr(d.generatedColumn),l=d.generatedColumn}c=d},this),o<s.length&&(c&&f(c,a()),i.add(s.splice(o).join(""))),r.sources.forEach(function(d){var p=r.sourceContentFor(d);p!=null&&(n!=null&&(d=Bb.join(n,d)),i.setSourceContent(d,p))}),i;function f(d,p){if(d===null||d.source===void 0)i.add(p);else{var h=n?Bb.join(n,d.source):d.source;i.add(new mn(d.originalLine,d.originalColumn,h,p,d.name))}}};mn.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(r){this.add(r)},this);else if(e[Lu]||typeof e=="string")e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};mn.prototype.prepend=function(e){if(Array.isArray(e))for(var r=e.length-1;r>=0;r--)this.prepend(e[r]);else if(e[Lu]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};mn.prototype.walk=function(e){for(var r,n=0,i=this.children.length;n<i;n++)r=this.children[n],r[Lu]?r.walk(e):r!==""&&e(r,{source:this.source,line:this.line,column:this.column,name:this.name})};mn.prototype.join=function(e){var r,n,i=this.children.length;if(i>0){for(r=[],n=0;n<i-1;n++)r.push(this.children[n]),r.push(e);r.push(this.children[n]),this.children=r}return this};mn.prototype.replaceRight=function(e,r){var n=this.children[this.children.length-1];return n[Lu]?n.replaceRight(e,r):typeof n=="string"?this.children[this.children.length-1]=n.replace(e,r):this.children.push("".replace(e,r)),this};mn.prototype.setSourceContent=function(e,r){this.sourceContents[Bb.toSetString(e)]=r};mn.prototype.walkSourceContents=function(e){for(var r=0,n=this.children.length;r<n;r++)this.children[r][Lu]&&this.children[r].walkSourceContents(e);for(var i=Object.keys(this.sourceContents),r=0,n=i.length;r<n;r++)e(Bb.fromSetString(i[r]),this.sourceContents[i[r]])};mn.prototype.toString=function(){var e="";return this.walk(function(r){e+=r}),e};mn.prototype.toStringWithSourceMap=function(e){var r={code:"",line:1,column:0},n=new CFe(e),i=!1,s=null,o=null,a=null,u=null;return this.walk(function(l,c){r.code+=l,c.source!==null&&c.line!==null&&c.column!==null?((s!==c.source||o!==c.line||a!==c.column||u!==c.name)&&n.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:r.line,column:r.column},name:c.name}),s=c.source,o=c.line,a=c.column,u=c.name,i=!0):i&&(n.addMapping({generated:{line:r.line,column:r.column}}),s=null,i=!1);for(var f=0,d=l.length;f<d;f++)l.charCodeAt(f)===OFe?(r.line++,r.column=0,f+1===d?(s=null,i=!1):i&&n.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:r.line,column:r.column},name:c.name})):r.column++}),this.walkSourceContents(function(l,c){n.setSourceContent(l,c)}),{code:r.code,map:n}};mH.SourceNode=mn});var Uo=m(Wb=>{Wb.SourceMapGenerator=SR().SourceMapGenerator;Wb.SourceMapConsumer=gH().SourceMapConsumer;Wb.SourceNode=yH().SourceNode});var DR=m((zAt,bH)=>{var qFe="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",RFe=(t,e=21)=>(r=e)=>{let n="",i=r;for(;i--;)n+=t[Math.random()*t.length|0];return n},AFe=(t=21)=>{let e="",r=t;for(;r--;)e+=qFe[Math.random()*64|0];return e};bH.exports={nanoid:AFe,customAlphabet:RFe}});var qR=m((UAt,_H)=>{"use strict";var{SourceMapConsumer:vH,SourceMapGenerator:wH}=Uo(),{existsSync:PFe,readFileSync:TFe}=require("fs"),{dirname:OR,join:MFe}=require("path");function LFe(t){return Buffer?Buffer.from(t,"base64").toString():window.atob(t)}var nf=class{constructor(e,r){if(r.map===!1)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let n=r.map?r.map.prev:void 0,i=this.loadMap(r.from,n);!this.mapFile&&r.from&&(this.mapFile=r.from),this.mapFile&&(this.root=OR(this.mapFile)),i&&(this.text=i)}consumer(){return this.consumerCache||(this.consumerCache=new vH(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,r){return e?e.substr(0,r.length)===r:!1}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(e){let r=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!r)return;let n=e.lastIndexOf(r.pop()),i=e.indexOf("*/",n);n>-1&&i>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,i)))}decodeInline(e){let r=/^data:application\/json;charset=utf-?8;base64,/,n=/^data:application\/json;base64,/,i=/^data:application\/json;charset=utf-?8,/,s=/^data:application\/json,/;if(i.test(e)||s.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(r.test(e)||n.test(e))return LFe(e.substr(RegExp.lastMatch.length));let o=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+o)}loadFile(e){if(this.root=OR(e),PFe(e))return this.mapFile=e,TFe(e,"utf-8").toString().trim()}loadMap(e,r){if(r===!1)return!1;if(r){if(typeof r=="string")return r;if(typeof r=="function"){let n=r(e);if(n){let i=this.loadFile(n);if(!i)throw new Error("Unable to load previous source map: "+n.toString());return i}}else{if(r instanceof vH)return wH.fromSourceMap(r).toString();if(r instanceof wH)return r.toString();if(this.isMap(r))return JSON.stringify(r);throw new Error("Unsupported previous source map format: "+r.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let n=this.annotation;return e&&(n=MFe(OR(e),n)),this.loadFile(n)}}}isMap(e){return typeof e!="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)}};_H.exports=nf;nf.default=nf});var sf=m((HAt,EH)=>{"use strict";var{SourceMapConsumer:FFe,SourceMapGenerator:IFe}=Uo(),{fileURLToPath:xH,pathToFileURL:zb}=require("url"),{resolve:PR,isAbsolute:TR}=require("path"),{nanoid:NFe}=DR(),RR=cR(),SH=Lb(),jFe=qR(),AR=Symbol("fromOffsetCache"),$Fe=Boolean(FFe&&IFe),kH=Boolean(PR&&TR),Fu=class{constructor(e,r={}){if(e===null||typeof e>"u"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,r.from&&(!kH||/^\w+:\/\//.test(r.from)||TR(r.from)?this.file=r.from:this.file=PR(r.from)),kH&&$Fe){let n=new jFe(this.css,r);if(n.text){this.map=n;let i=n.consumer().file;!this.file&&i&&(this.file=this.mapResolve(i))}}this.file||(this.id="<input css "+NFe(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let r,n;if(this[AR])n=this[AR];else{let s=this.css.split(`
|
|
98
|
+
`?(n=1,i+=1):n+=1;return{line:i,column:n}}positionBy(e){let r=this.source.start;if(e.index)r=this.positionInside(e.index);else if(e.word){let n=this.toString().indexOf(e.word);n!==-1&&(r=this.positionInside(n))}return r}rangeBy(e){let r={line:this.source.start.line,column:this.source.start.column},n=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:r.line,column:r.column+1};if(e.word){let i=this.toString().indexOf(e.word);i!==-1&&(r=this.positionInside(i),n=this.positionInside(i+e.word.length))}else e.start?r={line:e.start.line,column:e.start.column}:e.index&&(r=this.positionInside(e.index)),e.end?n={line:e.end.line,column:e.end.column}:e.endIndex?n=this.positionInside(e.endIndex):e.index&&(n=this.positionInside(e.index+1));return(n.line<r.line||n.line===r.line&&n.column<=r.column)&&(n={line:r.line,column:r.column+1}),{start:r,end:n}}getProxyProcessor(){return{set(e,r,n){return e[r]===n||(e[r]=n,(r==="prop"||r==="value"||r==="name"||r==="params"||r==="important"||r==="text")&&e.markDirty()),!0},get(e,r){return r==="proxyOf"?e:r==="root"?()=>e.root().toProxy():e[r]}}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let r=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${r.input.from}:${r.start.line}:${r.start.column}$&`)}return e}markDirty(){if(this[Ib]){this[Ib]=!1;let e=this;for(;e=e.parent;)e[Ib]=!1}}get proxyOf(){return this}};HU.exports=Qc;Qc.default=Qc});var Zc=m((AAt,VU)=>{"use strict";var iFe=Jc(),Xc=class extends iFe{constructor(e){e&&typeof e.value<"u"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};VU.exports=Xc;Xc.default=Xc});var KU=m(gR=>{var GU="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");gR.encode=function(t){if(0<=t&&t<GU.length)return GU[t];throw new TypeError("Must be between 0 and 63: "+t)};gR.decode=function(t){var e=65,r=90,n=97,i=122,s=48,o=57,a=43,u=47,l=26,c=52;return e<=t&&t<=r?t-e:n<=t&&t<=i?t-n+l:s<=t&&t<=o?t-s+c:t==a?62:t==u?63:-1}});var bR=m(yR=>{var YU=KU(),mR=5,QU=1<<mR,JU=QU-1,XU=QU;function sFe(t){return t<0?(-t<<1)+1:(t<<1)+0}function oFe(t){var e=(t&1)===1,r=t>>1;return e?-r:r}yR.encode=function(e){var r="",n,i=sFe(e);do n=i&JU,i>>>=mR,i>0&&(n|=XU),r+=YU.encode(n);while(i>0);return r};yR.decode=function(e,r,n){var i=e.length,s=0,o=0,a,u;do{if(r>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(u=YU.decode(e.charCodeAt(r++)),u===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));a=!!(u&XU),u&=JU,s=s+(u<<o),o+=mR}while(a);n.value=oFe(s),n.rest=r}});var Tu=m(lr=>{function aFe(t,e,r){if(e in t)return t[e];if(arguments.length===3)return r;throw new Error('"'+e+'" is a required argument.')}lr.getArg=aFe;var ZU=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,uFe=/^data:.+\,.+$/;function ef(t){var e=t.match(ZU);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}lr.urlParse=ef;function Pu(t){var e="";return t.scheme&&(e+=t.scheme+":"),e+="//",t.auth&&(e+=t.auth+"@"),t.host&&(e+=t.host),t.port&&(e+=":"+t.port),t.path&&(e+=t.path),e}lr.urlGenerate=Pu;var lFe=32;function cFe(t){var e=[];return function(r){for(var n=0;n<e.length;n++)if(e[n].input===r){var i=e[0];return e[0]=e[n],e[n]=i,e[0].result}var s=t(r);return e.unshift({input:r,result:s}),e.length>lFe&&e.pop(),s}}var vR=cFe(function(e){var r=e,n=ef(e);if(n){if(!n.path)return e;r=n.path}for(var i=lr.isAbsolute(r),s=[],o=0,a=0;;)if(o=a,a=r.indexOf("/",o),a===-1){s.push(r.slice(o));break}else for(s.push(r.slice(o,a));a<r.length&&r[a]==="/";)a++;for(var u,l=0,a=s.length-1;a>=0;a--)u=s[a],u==="."?s.splice(a,1):u===".."?l++:l>0&&(u===""?(s.splice(a+1,l),l=0):(s.splice(a,2),l--));return r=s.join("/"),r===""&&(r=i?"/":"."),n?(n.path=r,Pu(n)):r});lr.normalize=vR;function eH(t,e){t===""&&(t="."),e===""&&(e=".");var r=ef(e),n=ef(t);if(n&&(t=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),Pu(r);if(r||e.match(uFe))return e;if(n&&!n.host&&!n.path)return n.host=e,Pu(n);var i=e.charAt(0)==="/"?e:vR(t.replace(/\/+$/,"")+"/"+e);return n?(n.path=i,Pu(n)):i}lr.join=eH;lr.isAbsolute=function(t){return t.charAt(0)==="/"||ZU.test(t)};function fFe(t,e){t===""&&(t="."),t=t.replace(/\/$/,"");for(var r=0;e.indexOf(t+"/")!==0;){var n=t.lastIndexOf("/");if(n<0||(t=t.slice(0,n),t.match(/^([^\/]+:\/)?\/*$/)))return e;++r}return Array(r+1).join("../")+e.substr(t.length+1)}lr.relative=fFe;var tH=function(){var t=Object.create(null);return!("__proto__"in t)}();function rH(t){return t}function dFe(t){return nH(t)?"$"+t:t}lr.toSetString=tH?rH:dFe;function pFe(t){return nH(t)?t.slice(1):t}lr.fromSetString=tH?rH:pFe;function nH(t){if(!t)return!1;var e=t.length;if(e<9||t.charCodeAt(e-1)!==95||t.charCodeAt(e-2)!==95||t.charCodeAt(e-3)!==111||t.charCodeAt(e-4)!==116||t.charCodeAt(e-5)!==111||t.charCodeAt(e-6)!==114||t.charCodeAt(e-7)!==112||t.charCodeAt(e-8)!==95||t.charCodeAt(e-9)!==95)return!1;for(var r=e-10;r>=0;r--)if(t.charCodeAt(r)!==36)return!1;return!0}function hFe(t,e,r){var n=ss(t.source,e.source);return n!==0||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0||r)||(n=t.generatedColumn-e.generatedColumn,n!==0)||(n=t.generatedLine-e.generatedLine,n!==0)?n:ss(t.name,e.name)}lr.compareByOriginalPositions=hFe;function gFe(t,e,r){var n;return n=t.originalLine-e.originalLine,n!==0||(n=t.originalColumn-e.originalColumn,n!==0||r)||(n=t.generatedColumn-e.generatedColumn,n!==0)||(n=t.generatedLine-e.generatedLine,n!==0)?n:ss(t.name,e.name)}lr.compareByOriginalPositionsNoSource=gFe;function mFe(t,e,r){var n=t.generatedLine-e.generatedLine;return n!==0||(n=t.generatedColumn-e.generatedColumn,n!==0||r)||(n=ss(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:ss(t.name,e.name)}lr.compareByGeneratedPositionsDeflated=mFe;function yFe(t,e,r){var n=t.generatedColumn-e.generatedColumn;return n!==0||r||(n=ss(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:ss(t.name,e.name)}lr.compareByGeneratedPositionsDeflatedNoLine=yFe;function ss(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}function bFe(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=ss(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:ss(t.name,e.name)}lr.compareByGeneratedPositionsInflated=bFe;function vFe(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}lr.parseSourceMapInput=vFe;function wFe(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var n=ef(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var i=n.path.lastIndexOf("/");i>=0&&(n.path=n.path.substring(0,i+1))}e=eH(Pu(n),e)}return vR(e)}lr.computeSourceURL=wFe});var xR=m(iH=>{var wR=Tu(),_R=Object.prototype.hasOwnProperty,Wo=typeof Map<"u";function os(){this._array=[],this._set=Wo?new Map:Object.create(null)}os.fromArray=function(e,r){for(var n=new os,i=0,s=e.length;i<s;i++)n.add(e[i],r);return n};os.prototype.size=function(){return Wo?this._set.size:Object.getOwnPropertyNames(this._set).length};os.prototype.add=function(e,r){var n=Wo?e:wR.toSetString(e),i=Wo?this.has(e):_R.call(this._set,n),s=this._array.length;(!i||r)&&this._array.push(e),i||(Wo?this._set.set(e,s):this._set[n]=s)};os.prototype.has=function(e){if(Wo)return this._set.has(e);var r=wR.toSetString(e);return _R.call(this._set,r)};os.prototype.indexOf=function(e){if(Wo){var r=this._set.get(e);if(r>=0)return r}else{var n=wR.toSetString(e);if(_R.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')};os.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};os.prototype.toArray=function(){return this._array.slice()};iH.ArraySet=os});var aH=m(oH=>{var sH=Tu();function _Fe(t,e){var r=t.generatedLine,n=e.generatedLine,i=t.generatedColumn,s=e.generatedColumn;return n>r||n==r&&s>=i||sH.compareByGeneratedPositionsInflated(t,e)<=0}function Nb(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Nb.prototype.unsortedForEach=function(e,r){this._array.forEach(e,r)};Nb.prototype.add=function(e){_Fe(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};Nb.prototype.toArray=function(){return this._sorted||(this._array.sort(sH.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};oH.MappingList=Nb});var SR=m(uH=>{var tf=bR(),Yt=Tu(),jb=xR().ArraySet,xFe=aH().MappingList;function In(t){t||(t={}),this._file=Yt.getArg(t,"file",null),this._sourceRoot=Yt.getArg(t,"sourceRoot",null),this._skipValidation=Yt.getArg(t,"skipValidation",!1),this._sources=new jb,this._names=new jb,this._mappings=new xFe,this._sourcesContents=null}In.prototype._version=3;In.fromSourceMap=function(e){var r=e.sourceRoot,n=new In({file:e.file,sourceRoot:r});return e.eachMapping(function(i){var s={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(s.source=i.source,r!=null&&(s.source=Yt.relative(r,s.source)),s.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(s.name=i.name)),n.addMapping(s)}),e.sources.forEach(function(i){var s=i;r!==null&&(s=Yt.relative(r,i)),n._sources.has(s)||n._sources.add(s);var o=e.sourceContentFor(i);o!=null&&n.setSourceContent(i,o)}),n};In.prototype.addMapping=function(e){var r=Yt.getArg(e,"generated"),n=Yt.getArg(e,"original",null),i=Yt.getArg(e,"source",null),s=Yt.getArg(e,"name",null);this._skipValidation||this._validateMapping(r,n,i,s),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),s!=null&&(s=String(s),this._names.has(s)||this._names.add(s)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:i,name:s})};In.prototype.setSourceContent=function(e,r){var n=e;this._sourceRoot!=null&&(n=Yt.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Yt.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[Yt.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};In.prototype.applySourceMap=function(e,r,n){var i=r;if(r==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);i=e.file}var s=this._sourceRoot;s!=null&&(i=Yt.relative(s,i));var o=new jb,a=new jb;this._mappings.unsortedForEach(function(u){if(u.source===i&&u.originalLine!=null){var l=e.originalPositionFor({line:u.originalLine,column:u.originalColumn});l.source!=null&&(u.source=l.source,n!=null&&(u.source=Yt.join(n,u.source)),s!=null&&(u.source=Yt.relative(s,u.source)),u.originalLine=l.line,u.originalColumn=l.column,l.name!=null&&(u.name=l.name))}var c=u.source;c!=null&&!o.has(c)&&o.add(c);var f=u.name;f!=null&&!a.has(f)&&a.add(f)},this),this._sources=o,this._names=a,e.sources.forEach(function(u){var l=e.sourceContentFor(u);l!=null&&(n!=null&&(u=Yt.join(n,u)),s!=null&&(u=Yt.relative(s,u)),this.setSourceContent(u,l))},this)};In.prototype._validateMapping=function(e,r,n,i){if(r&&typeof r.line!="number"&&typeof r.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!n&&!i)){if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&n)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:r,name:i}))}};In.prototype._serializeMappings=function(){for(var e=0,r=1,n=0,i=0,s=0,o=0,a="",u,l,c,f,d=this._mappings.toArray(),p=0,h=d.length;p<h;p++){if(l=d[p],u="",l.generatedLine!==r)for(e=0;l.generatedLine!==r;)u+=";",r++;else if(p>0){if(!Yt.compareByGeneratedPositionsInflated(l,d[p-1]))continue;u+=","}u+=tf.encode(l.generatedColumn-e),e=l.generatedColumn,l.source!=null&&(f=this._sources.indexOf(l.source),u+=tf.encode(f-o),o=f,u+=tf.encode(l.originalLine-1-i),i=l.originalLine-1,u+=tf.encode(l.originalColumn-n),n=l.originalColumn,l.name!=null&&(c=this._names.indexOf(l.name),u+=tf.encode(c-s),s=c)),a+=u}return a};In.prototype._generateSourcesContent=function(e,r){return e.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=Yt.relative(r,n));var i=Yt.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};In.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e};In.prototype.toString=function(){return JSON.stringify(this.toJSON())};uH.SourceMapGenerator=In});var lH=m(zo=>{zo.GREATEST_LOWER_BOUND=1;zo.LEAST_UPPER_BOUND=2;function kR(t,e,r,n,i,s){var o=Math.floor((e-t)/2)+t,a=i(r,n[o],!0);return a===0?o:a>0?e-o>1?kR(o,e,r,n,i,s):s==zo.LEAST_UPPER_BOUND?e<n.length?e:-1:o:o-t>1?kR(t,o,r,n,i,s):s==zo.LEAST_UPPER_BOUND?o:t<0?-1:t}zo.search=function(e,r,n,i){if(r.length===0)return-1;var s=kR(-1,r.length,e,r,n,i||zo.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&n(r[s],r[s-1],!0)===0;)--s;return s}});var dH=m(fH=>{function SFe(t){function e(i,s,o){var a=i[s];i[s]=i[o],i[o]=a}function r(i,s){return Math.round(i+Math.random()*(s-i))}function n(i,s,o,a){if(o<a){var u=r(o,a),l=o-1;e(i,u,a);for(var c=i[a],f=o;f<a;f++)s(i[f],c,!1)<=0&&(l+=1,e(i,l,f));e(i,l+1,f);var d=l+1;n(i,s,o,d-1),n(i,s,d+1,a)}}return n}function kFe(t){let e=SFe.toString();return new Function(`return ${e}`)()(t)}var cH=new WeakMap;fH.quickSort=function(t,e,r=0){let n=cH.get(e);n===void 0&&(n=kFe(e),cH.set(e,n)),n(t,e,r,t.length-1)}});var gH=m($b=>{var xe=Tu(),CR=lH(),Mu=xR().ArraySet,EFe=bR(),rf=dH().quickSort;function St(t,e){var r=t;return typeof t=="string"&&(r=xe.parseSourceMapInput(t)),r.sections!=null?new ai(r,e):new Sr(r,e)}St.fromSourceMap=function(t,e){return Sr.fromSourceMap(t,e)};St.prototype._version=3;St.prototype.__generatedMappings=null;Object.defineProperty(St.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});St.prototype.__originalMappings=null;Object.defineProperty(St.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});St.prototype._charIsMappingSeparator=function(e,r){var n=e.charAt(r);return n===";"||n===","};St.prototype._parseMappings=function(e,r){throw new Error("Subclasses must implement _parseMappings")};St.GENERATED_ORDER=1;St.ORIGINAL_ORDER=2;St.GREATEST_LOWER_BOUND=1;St.LEAST_UPPER_BOUND=2;St.prototype.eachMapping=function(e,r,n){var i=r||null,s=n||St.GENERATED_ORDER,o;switch(s){case St.GENERATED_ORDER:o=this._generatedMappings;break;case St.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var a=this.sourceRoot,u=e.bind(i),l=this._names,c=this._sources,f=this._sourceMapURL,d=0,p=o.length;d<p;d++){var h=o[d],y=h.source===null?null:c.at(h.source);y=xe.computeSourceURL(a,y,f),u({source:y,generatedLine:h.generatedLine,generatedColumn:h.generatedColumn,originalLine:h.originalLine,originalColumn:h.originalColumn,name:h.name===null?null:l.at(h.name)})}};St.prototype.allGeneratedPositionsFor=function(e){var r=xe.getArg(e,"line"),n={source:xe.getArg(e,"source"),originalLine:r,originalColumn:xe.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var i=[],s=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",xe.compareByOriginalPositions,CR.LEAST_UPPER_BOUND);if(s>=0){var o=this._originalMappings[s];if(e.column===void 0)for(var a=o.originalLine;o&&o.originalLine===a;)i.push({line:xe.getArg(o,"generatedLine",null),column:xe.getArg(o,"generatedColumn",null),lastColumn:xe.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s];else for(var u=o.originalColumn;o&&o.originalLine===r&&o.originalColumn==u;)i.push({line:xe.getArg(o,"generatedLine",null),column:xe.getArg(o,"generatedColumn",null),lastColumn:xe.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s]}return i};$b.SourceMapConsumer=St;function Sr(t,e){var r=t;typeof t=="string"&&(r=xe.parseSourceMapInput(t));var n=xe.getArg(r,"version"),i=xe.getArg(r,"sources"),s=xe.getArg(r,"names",[]),o=xe.getArg(r,"sourceRoot",null),a=xe.getArg(r,"sourcesContent",null),u=xe.getArg(r,"mappings"),l=xe.getArg(r,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);o&&(o=xe.normalize(o)),i=i.map(String).map(xe.normalize).map(function(c){return o&&xe.isAbsolute(o)&&xe.isAbsolute(c)?xe.relative(o,c):c}),this._names=Mu.fromArray(s.map(String),!0),this._sources=Mu.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(c){return xe.computeSourceURL(o,c,e)}),this.sourceRoot=o,this.sourcesContent=a,this._mappings=u,this._sourceMapURL=e,this.file=l}Sr.prototype=Object.create(St.prototype);Sr.prototype.consumer=St;Sr.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=xe.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var r;for(r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==t)return r;return-1};Sr.fromSourceMap=function(e,r){var n=Object.create(Sr.prototype),i=n._names=Mu.fromArray(e._names.toArray(),!0),s=n._sources=Mu.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file,n._sourceMapURL=r,n._absoluteSources=n._sources.toArray().map(function(p){return xe.computeSourceURL(n.sourceRoot,p,r)});for(var o=e._mappings.toArray().slice(),a=n.__generatedMappings=[],u=n.__originalMappings=[],l=0,c=o.length;l<c;l++){var f=o[l],d=new hH;d.generatedLine=f.generatedLine,d.generatedColumn=f.generatedColumn,f.source&&(d.source=s.indexOf(f.source),d.originalLine=f.originalLine,d.originalColumn=f.originalColumn,f.name&&(d.name=i.indexOf(f.name)),u.push(d)),a.push(d)}return rf(n.__originalMappings,xe.compareByOriginalPositions),n};Sr.prototype._version=3;Object.defineProperty(Sr.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function hH(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}var ER=xe.compareByGeneratedPositionsDeflatedNoLine;function pH(t,e){let r=t.length,n=t.length-e;if(!(n<=1))if(n==2){let i=t[e],s=t[e+1];ER(i,s)>0&&(t[e]=s,t[e+1]=i)}else if(n<20)for(let i=e;i<r;i++)for(let s=i;s>e;s--){let o=t[s-1],a=t[s];if(ER(o,a)<=0)break;t[s-1]=a,t[s]=o}else rf(t,ER,e)}Sr.prototype._parseMappings=function(e,r){var n=1,i=0,s=0,o=0,a=0,u=0,l=e.length,c=0,f={},d={},p=[],h=[],y,v,g,b,w;let _=0;for(;c<l;)if(e.charAt(c)===";")n++,c++,i=0,pH(h,_),_=h.length;else if(e.charAt(c)===",")c++;else{for(y=new hH,y.generatedLine=n,b=c;b<l&&!this._charIsMappingSeparator(e,b);b++);for(v=e.slice(c,b),g=[];c<b;)EFe.decode(e,c,d),w=d.value,c=d.rest,g.push(w);if(g.length===2)throw new Error("Found a source, but no line and column");if(g.length===3)throw new Error("Found a source and line, but no column");if(y.generatedColumn=i+g[0],i=y.generatedColumn,g.length>1&&(y.source=a+g[1],a+=g[1],y.originalLine=s+g[2],s=y.originalLine,y.originalLine+=1,y.originalColumn=o+g[3],o=y.originalColumn,g.length>4&&(y.name=u+g[4],u+=g[4])),h.push(y),typeof y.originalLine=="number"){let q=y.source;for(;p.length<=q;)p.push(null);p[q]===null&&(p[q]=[]),p[q].push(y)}}pH(h,_),this.__generatedMappings=h;for(var S=0;S<p.length;S++)p[S]!=null&&rf(p[S],xe.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...p)};Sr.prototype._findMapping=function(e,r,n,i,s,o){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[i]);return CR.search(e,r,s,o)};Sr.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var r=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(r.generatedLine===n.generatedLine){r.lastGeneratedColumn=n.generatedColumn-1;continue}}r.lastGeneratedColumn=1/0}};Sr.prototype.originalPositionFor=function(e){var r={generatedLine:xe.getArg(e,"line"),generatedColumn:xe.getArg(e,"column")},n=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",xe.compareByGeneratedPositionsDeflated,xe.getArg(e,"bias",St.GREATEST_LOWER_BOUND));if(n>=0){var i=this._generatedMappings[n];if(i.generatedLine===r.generatedLine){var s=xe.getArg(i,"source",null);s!==null&&(s=this._sources.at(s),s=xe.computeSourceURL(this.sourceRoot,s,this._sourceMapURL));var o=xe.getArg(i,"name",null);return o!==null&&(o=this._names.at(o)),{source:s,line:xe.getArg(i,"originalLine",null),column:xe.getArg(i,"originalColumn",null),name:o}}}return{source:null,line:null,column:null,name:null}};Sr.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};Sr.prototype.sourceContentFor=function(e,r){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var i=e;this.sourceRoot!=null&&(i=xe.relative(this.sourceRoot,i));var s;if(this.sourceRoot!=null&&(s=xe.urlParse(this.sourceRoot))){var o=i.replace(/^file:\/\//,"");if(s.scheme=="file"&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!s.path||s.path=="/")&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(r)return null;throw new Error('"'+i+'" is not in the SourceMap.')};Sr.prototype.generatedPositionFor=function(e){var r=xe.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var n={source:r,originalLine:xe.getArg(e,"line"),originalColumn:xe.getArg(e,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",xe.compareByOriginalPositions,xe.getArg(e,"bias",St.GREATEST_LOWER_BOUND));if(i>=0){var s=this._originalMappings[i];if(s.source===n.source)return{line:xe.getArg(s,"generatedLine",null),column:xe.getArg(s,"generatedColumn",null),lastColumn:xe.getArg(s,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};$b.BasicSourceMapConsumer=Sr;function ai(t,e){var r=t;typeof t=="string"&&(r=xe.parseSourceMapInput(t));var n=xe.getArg(r,"version"),i=xe.getArg(r,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new Mu,this._names=new Mu;var s={line:-1,column:0};this._sections=i.map(function(o){if(o.url)throw new Error("Support for url field in sections not implemented.");var a=xe.getArg(o,"offset"),u=xe.getArg(a,"line"),l=xe.getArg(a,"column");if(u<s.line||u===s.line&&l<s.column)throw new Error("Section offsets must be ordered and non-overlapping.");return s=a,{generatedOffset:{generatedLine:u+1,generatedColumn:l+1},consumer:new St(xe.getArg(o,"map"),e)}})}ai.prototype=Object.create(St.prototype);ai.prototype.constructor=St;ai.prototype._version=3;Object.defineProperty(ai.prototype,"sources",{get:function(){for(var t=[],e=0;e<this._sections.length;e++)for(var r=0;r<this._sections[e].consumer.sources.length;r++)t.push(this._sections[e].consumer.sources[r]);return t}});ai.prototype.originalPositionFor=function(e){var r={generatedLine:xe.getArg(e,"line"),generatedColumn:xe.getArg(e,"column")},n=CR.search(r,this._sections,function(s,o){var a=s.generatedLine-o.generatedOffset.generatedLine;return a||s.generatedColumn-o.generatedOffset.generatedColumn}),i=this._sections[n];return i?i.consumer.originalPositionFor({line:r.generatedLine-(i.generatedOffset.generatedLine-1),column:r.generatedColumn-(i.generatedOffset.generatedLine===r.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};ai.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};ai.prototype.sourceContentFor=function(e,r){for(var n=0;n<this._sections.length;n++){var i=this._sections[n],s=i.consumer.sourceContentFor(e,!0);if(s)return s}if(r)return null;throw new Error('"'+e+'" is not in the SourceMap.')};ai.prototype.generatedPositionFor=function(e){for(var r=0;r<this._sections.length;r++){var n=this._sections[r];if(n.consumer._findSourceIndex(xe.getArg(e,"source"))!==-1){var i=n.consumer.generatedPositionFor(e);if(i){var s={line:i.line+(n.generatedOffset.generatedLine-1),column:i.column+(n.generatedOffset.generatedLine===i.line?n.generatedOffset.generatedColumn-1:0)};return s}}}return{line:null,column:null}};ai.prototype._parseMappings=function(e,r){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var i=this._sections[n],s=i.consumer._generatedMappings,o=0;o<s.length;o++){var a=s[o],u=i.consumer._sources.at(a.source);u=xe.computeSourceURL(i.consumer.sourceRoot,u,this._sourceMapURL),this._sources.add(u),u=this._sources.indexOf(u);var l=null;a.name&&(l=i.consumer._names.at(a.name),this._names.add(l),l=this._names.indexOf(l));var c={source:u,generatedLine:a.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(i.generatedOffset.generatedLine===a.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:l};this.__generatedMappings.push(c),typeof c.originalLine=="number"&&this.__originalMappings.push(c)}rf(this.__generatedMappings,xe.compareByGeneratedPositionsDeflated),rf(this.__originalMappings,xe.compareByOriginalPositions)};$b.IndexedSourceMapConsumer=ai});var yH=m(mH=>{var CFe=SR().SourceMapGenerator,Bb=Tu(),DFe=/(\r?\n)/,OFe=10,Lu="$$$isSourceNode$$$";function mn(t,e,r,n,i){this.children=[],this.sourceContents={},this.line=t??null,this.column=e??null,this.source=r??null,this.name=i??null,this[Lu]=!0,n!=null&&this.add(n)}mn.fromStringWithSourceMap=function(e,r,n){var i=new mn,s=e.split(DFe),o=0,a=function(){var d=h(),p=h()||"";return d+p;function h(){return o<s.length?s[o++]:void 0}},u=1,l=0,c=null;return r.eachMapping(function(d){if(c!==null)if(u<d.generatedLine)f(c,a()),u++,l=0;else{var p=s[o]||"",h=p.substr(0,d.generatedColumn-l);s[o]=p.substr(d.generatedColumn-l),l=d.generatedColumn,f(c,h),c=d;return}for(;u<d.generatedLine;)i.add(a()),u++;if(l<d.generatedColumn){var p=s[o]||"";i.add(p.substr(0,d.generatedColumn)),s[o]=p.substr(d.generatedColumn),l=d.generatedColumn}c=d},this),o<s.length&&(c&&f(c,a()),i.add(s.splice(o).join(""))),r.sources.forEach(function(d){var p=r.sourceContentFor(d);p!=null&&(n!=null&&(d=Bb.join(n,d)),i.setSourceContent(d,p))}),i;function f(d,p){if(d===null||d.source===void 0)i.add(p);else{var h=n?Bb.join(n,d.source):d.source;i.add(new mn(d.originalLine,d.originalColumn,h,p,d.name))}}};mn.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(r){this.add(r)},this);else if(e[Lu]||typeof e=="string")e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};mn.prototype.prepend=function(e){if(Array.isArray(e))for(var r=e.length-1;r>=0;r--)this.prepend(e[r]);else if(e[Lu]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};mn.prototype.walk=function(e){for(var r,n=0,i=this.children.length;n<i;n++)r=this.children[n],r[Lu]?r.walk(e):r!==""&&e(r,{source:this.source,line:this.line,column:this.column,name:this.name})};mn.prototype.join=function(e){var r,n,i=this.children.length;if(i>0){for(r=[],n=0;n<i-1;n++)r.push(this.children[n]),r.push(e);r.push(this.children[n]),this.children=r}return this};mn.prototype.replaceRight=function(e,r){var n=this.children[this.children.length-1];return n[Lu]?n.replaceRight(e,r):typeof n=="string"?this.children[this.children.length-1]=n.replace(e,r):this.children.push("".replace(e,r)),this};mn.prototype.setSourceContent=function(e,r){this.sourceContents[Bb.toSetString(e)]=r};mn.prototype.walkSourceContents=function(e){for(var r=0,n=this.children.length;r<n;r++)this.children[r][Lu]&&this.children[r].walkSourceContents(e);for(var i=Object.keys(this.sourceContents),r=0,n=i.length;r<n;r++)e(Bb.fromSetString(i[r]),this.sourceContents[i[r]])};mn.prototype.toString=function(){var e="";return this.walk(function(r){e+=r}),e};mn.prototype.toStringWithSourceMap=function(e){var r={code:"",line:1,column:0},n=new CFe(e),i=!1,s=null,o=null,a=null,u=null;return this.walk(function(l,c){r.code+=l,c.source!==null&&c.line!==null&&c.column!==null?((s!==c.source||o!==c.line||a!==c.column||u!==c.name)&&n.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:r.line,column:r.column},name:c.name}),s=c.source,o=c.line,a=c.column,u=c.name,i=!0):i&&(n.addMapping({generated:{line:r.line,column:r.column}}),s=null,i=!1);for(var f=0,d=l.length;f<d;f++)l.charCodeAt(f)===OFe?(r.line++,r.column=0,f+1===d?(s=null,i=!1):i&&n.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:r.line,column:r.column},name:c.name})):r.column++}),this.walkSourceContents(function(l,c){n.setSourceContent(l,c)}),{code:r.code,map:n}};mH.SourceNode=mn});var Uo=m(Wb=>{Wb.SourceMapGenerator=SR().SourceMapGenerator;Wb.SourceMapConsumer=gH().SourceMapConsumer;Wb.SourceNode=yH().SourceNode});var DR=m((zAt,bH)=>{var qFe="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",RFe=(t,e=21)=>(r=e)=>{let n="",i=r;for(;i--;)n+=t[Math.random()*t.length|0];return n},AFe=(t=21)=>{let e="",r=t;for(;r--;)e+=qFe[Math.random()*64|0];return e};bH.exports={nanoid:AFe,customAlphabet:RFe}});var qR=m((UAt,_H)=>{"use strict";var{SourceMapConsumer:vH,SourceMapGenerator:wH}=Uo(),{existsSync:PFe,readFileSync:TFe}=require("fs"),{dirname:OR,join:MFe}=require("path");function LFe(t){return Buffer?Buffer.from(t,"base64").toString():window.atob(t)}var nf=class{constructor(e,r){if(r.map===!1)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let n=r.map?r.map.prev:void 0,i=this.loadMap(r.from,n);!this.mapFile&&r.from&&(this.mapFile=r.from),this.mapFile&&(this.root=OR(this.mapFile)),i&&(this.text=i)}consumer(){return this.consumerCache||(this.consumerCache=new vH(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,r){return e?e.substr(0,r.length)===r:!1}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(e){let r=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!r)return;let n=e.lastIndexOf(r.pop()),i=e.indexOf("*/",n);n>-1&&i>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,i)))}decodeInline(e){let r=/^data:application\/json;charset=utf-?8;base64,/,n=/^data:application\/json;base64,/,i=/^data:application\/json;charset=utf-?8,/,s=/^data:application\/json,/;if(i.test(e)||s.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(r.test(e)||n.test(e))return LFe(e.substr(RegExp.lastMatch.length));let o=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+o)}loadFile(e){if(this.root=OR(e),PFe(e))return this.mapFile=e,TFe(e,"utf-8").toString().trim()}loadMap(e,r){if(r===!1)return!1;if(r){if(typeof r=="string")return r;if(typeof r=="function"){let n=r(e);if(n){let i=this.loadFile(n);if(!i)throw new Error("Unable to load previous source map: "+n.toString());return i}}else{if(r instanceof vH)return wH.fromSourceMap(r).toString();if(r instanceof wH)return r.toString();if(this.isMap(r))return JSON.stringify(r);throw new Error("Unsupported previous source map format: "+r.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let n=this.annotation;return e&&(n=MFe(OR(e),n)),this.loadFile(n)}}}isMap(e){return typeof e!="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)}};_H.exports=nf;nf.default=nf});var sf=m((HAt,EH)=>{"use strict";var{SourceMapConsumer:FFe,SourceMapGenerator:IFe}=Uo(),{fileURLToPath:xH,pathToFileURL:zb}=require("url"),{resolve:PR,isAbsolute:TR}=require("path"),{nanoid:NFe}=DR(),RR=cR(),SH=Lb(),jFe=qR(),AR=Symbol("fromOffsetCache"),$Fe=Boolean(FFe&&IFe),kH=Boolean(PR&&TR),Fu=class{constructor(e,r={}){if(e===null||typeof e>"u"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,r.from&&(!kH||/^\w+:\/\//.test(r.from)||TR(r.from)?this.file=r.from:this.file=PR(r.from)),kH&&$Fe){let n=new jFe(this.css,r);if(n.text){this.map=n;let i=n.consumer().file;!this.file&&i&&(this.file=this.mapResolve(i))}}this.file||(this.id="<input css "+NFe(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let r,n;if(this[AR])n=this[AR];else{let s=this.css.split(`
|
|
99
99
|
`);n=new Array(s.length);let o=0;for(let a=0,u=s.length;a<u;a++)n[a]=o,o+=s[a].length+1;this[AR]=n}r=n[n.length-1];let i=0;if(e>=r)i=n.length-1;else{let s=n.length-2,o;for(;i<s;)if(o=i+(s-i>>1),e<n[o])s=o-1;else if(e>=n[o+1])i=o+1;else{i=o;break}}return{line:i+1,col:e-n[i]+1}}error(e,r,n,i={}){let s,o,a;if(r&&typeof r=="object"){let l=r,c=n;if(typeof l.offset=="number"){let f=this.fromOffset(l.offset);r=f.line,n=f.col}else r=l.line,n=l.column;if(typeof c.offset=="number"){let f=this.fromOffset(c.offset);o=f.line,a=f.col}else o=c.line,a=c.column}else if(!n){let l=this.fromOffset(r);r=l.line,n=l.col}let u=this.origin(r,n,o,a);return u?s=new SH(e,u.endLine===void 0?u.line:{line:u.line,column:u.column},u.endLine===void 0?u.column:{line:u.endLine,column:u.endColumn},u.source,u.file,i.plugin):s=new SH(e,o===void 0?r:{line:r,column:n},o===void 0?n:{line:o,column:a},this.css,this.file,i.plugin),s.input={line:r,column:n,endLine:o,endColumn:a,source:this.css},this.file&&(zb&&(s.input.url=zb(this.file).toString()),s.input.file=this.file),s}origin(e,r,n,i){if(!this.map)return!1;let s=this.map.consumer(),o=s.originalPositionFor({line:e,column:r});if(!o.source)return!1;let a;typeof n=="number"&&(a=s.originalPositionFor({line:n,column:i}));let u;TR(o.source)?u=zb(o.source):u=new URL(o.source,this.map.consumer().sourceRoot||zb(this.map.mapFile));let l={url:u.toString(),line:o.line,column:o.column,endLine:a&&a.line,endColumn:a&&a.column};if(u.protocol==="file:")if(xH)l.file=xH(u);else throw new Error("file: protocol is not available in this PostCSS build");let c=s.sourceContentFor(o.source);return c&&(l.source=c),l}mapResolve(e){return/^\w+:\/\//.test(e)?e:PR(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}toJSON(){let e={};for(let r of["hasBOM","css","file","id"])this[r]!=null&&(e[r]=this[r]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}};EH.exports=Fu;Fu.default=Fu;RR&&RR.registerInput&&RR.registerInput(Fu)});var LR=m((VAt,AH)=>{"use strict";var{SourceMapConsumer:DH,SourceMapGenerator:Ub}=Uo(),{dirname:Hb,resolve:OH,relative:qH,sep:RH}=require("path"),{pathToFileURL:CH}=require("url"),BFe=sf(),WFe=Boolean(DH&&Ub),zFe=Boolean(Hb&&OH&&qH&&RH),MR=class{constructor(e,r,n,i){this.stringify=e,this.mapOpts=n.map||{},this.root=r,this.opts=n,this.css=i,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let r=e.source.input.map;this.previousMaps.includes(r)||this.previousMaps.push(r)}});else{let e=new BFe(this.css,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let e=this.mapOpts.annotation;return typeof e<"u"&&e!==!0?!1:this.previous().length?this.previous().some(r=>r.inline):!0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(e=>e.withContent()):!0}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let e;for(let r=this.root.nodes.length-1;r>=0;r--)e=this.root.nodes[r],e.type==="comment"&&e.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(r)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}setSourcesContent(){let e={};if(this.root)this.root.walk(r=>{if(r.source){let n=r.source.input.from;if(n&&!e[n]){e[n]=!0;let i=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(i,r.source.input.css)}}});else if(this.css){let r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}}applyPrevMaps(){for(let e of this.previous()){let r=this.toUrl(this.path(e.file)),n=e.root||Hb(e.file),i;this.mapOpts.sourcesContent===!1?(i=new DH(e.text),i.sourcesContent&&(i.sourcesContent=i.sourcesContent.map(()=>null))):i=e.consumer(),this.map.applySourceMap(i,r,this.toUrl(this.path(n)))}}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(e=>e.annotation):!0}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}addAnnotation(){let e;this.isInline()?e="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?e=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?e=this.mapOpts.annotation(this.opts.to,this.root):e=this.outputFile()+".map";let r=`
|
|
100
100
|
`;this.css.includes(`\r
|
|
101
101
|
`)&&(r=`\r
|
|
@@ -163,8 +163,8 @@ ${h}`),n?i.reset(h):h}function dot(t,e,r,n={}){if(!yse){yse=!0;let s="Passing li
|
|
|
163
163
|
`);for(;r!==-1;)r+=1,e.push(r),r=t.indexOf(`
|
|
164
164
|
`,r);return e}function Cse(t){let e,r;return typeof t=="string"?(e=Ese(t),r=t):(Array.isArray(t)&&(t=t[0]),t&&t.context&&(t.lineStarts||(t.lineStarts=Ese(t.context.src)),e=t.lineStarts,r=t.context.src)),{lineStarts:e,src:r}}function gT(t,e){if(typeof t!="number"||t<0)return null;let{lineStarts:r,src:n}=Cse(e);if(!r||!n||t>n.length)return null;for(let s=0;s<r.length;++s){let o=r[s];if(t<o)return{line:s,col:t-r[s-1]+1};if(t===o)return{line:s+1,col:1}}let i=r.length;return{line:i,col:t-r[i-1]+1}}function bot(t,e){let{lineStarts:r,src:n}=Cse(e);if(!r||!(t>=1)||t>r.length)return null;let i=r[t-1],s=r[t];for(;s&&s>i&&n[s-1]===`
|
|
165
165
|
`;)--s;return n.slice(i,s)}function vot({start:t,end:e},r,n=80){let i=bot(t.line,r);if(!i)return null;let{col:s}=t;if(i.length>n)if(s<=n-10)i=i.substr(0,n-1)+"\u2026";else{let c=Math.round(n/2);i.length>s+c&&(i=i.substr(0,s+c-1)+"\u2026"),s-=i.length-n,i="\u2026"+i.substr(1-n)}let o=1,a="";e&&(e.line===t.line&&s+(e.col-t.col)<=n+1?o=e.col-t.col:(o=Math.min(i.length+1,n)-s,a="\u2026"));let u=s>1?" ".repeat(s-1):"",l="^".repeat(o);return`${i}
|
|
166
|
-
${u}${l}${a}`}var Ks=class{static copy(e){return new Ks(e.start,e.end)}constructor(e,r){this.start=e,this.end=r||e}isEmpty(){return typeof this.start!="number"||!this.end||this.end<=this.start}setOrigRange(e,r){let{start:n,end:i}=this;if(e.length===0||i<=e[0])return this.origStart=n,this.origEnd=i,r;let s=r;for(;s<e.length&&!(e[s]>n);)++s;this.origStart=n+s;let o=s;for(;s<e.length&&!(e[s]>=i);)++s;return this.origEnd=i+s,o}},
|
|
167
|
-
`)return n;let i=
|
|
166
|
+
${u}${l}${a}`}var Ks=class{static copy(e){return new Ks(e.start,e.end)}constructor(e,r){this.start=e,this.end=r||e}isEmpty(){return typeof this.start!="number"||!this.end||this.end<=this.start}setOrigRange(e,r){let{start:n,end:i}=this;if(e.length===0||i<=e[0])return this.origStart=n,this.origEnd=i,r;let s=r;for(;s<e.length&&!(e[s]>n);)++s;this.origStart=n+s;let o=s;for(;s<e.length&&!(e[s]>=i);)++s;return this.origEnd=i+s,o}},cr=class{static addStringTerminator(e,r,n){if(n[n.length-1]===`
|
|
167
|
+
`)return n;let i=cr.endOfWhiteSpace(e,r);return i>=e.length||e[i]===`
|
|
168
168
|
`?n+`
|
|
169
169
|
`:n}static atDocumentBoundary(e,r,n){let i=e[r];if(!i)return!0;let s=e[r-1];if(s&&s!==`
|
|
170
170
|
`)return!1;if(n){if(i!==n)return!1}else if(i!==fs.DIRECTIVES_END&&i!==fs.DOCUMENT_END)return!1;let o=e[r+1],a=e[r+2];if(o!==i||a!==i)return!1;let u=e[r+3];return!u||u===`
|
|
@@ -173,27 +173,27 @@ ${u}${l}${a}`}var Ks=class{static copy(e){return new Ks(e.start,e.end)}construct
|
|
|
173
173
|
`," "," ","[","]","{","}",","];for(;n&&s.indexOf(n)===-1;)n=e[r+=1];return i&&n===">"&&(r+=1),r}static endOfIndent(e,r){let n=e[r];for(;n===" ";)n=e[r+=1];return r}static endOfLine(e,r){let n=e[r];for(;n&&n!==`
|
|
174
174
|
`;)n=e[r+=1];return r}static endOfWhiteSpace(e,r){let n=e[r];for(;n===" "||n===" ";)n=e[r+=1];return r}static startOfLine(e,r){let n=e[r-1];if(n===`
|
|
175
175
|
`)return r;for(;n&&n!==`
|
|
176
|
-
`;)n=e[r-=1];return r+1}static endOfBlockIndent(e,r,n){let i=
|
|
176
|
+
`;)n=e[r-=1];return r+1}static endOfBlockIndent(e,r,n){let i=cr.endOfIndent(e,n);if(i>n+r)return i;{let s=cr.endOfWhiteSpace(e,i),o=e[s];if(!o||o===`
|
|
177
177
|
`)return s}return null}static atBlank(e,r,n){let i=e[r];return i===`
|
|
178
178
|
`||i===" "||i===" "||n&&!i}static nextNodeIsIndented(e,r,n){return!e||r<0?!1:r>0?!0:n&&e==="-"}static normalizeOffset(e,r){let n=e[r];return n?n!==`
|
|
179
179
|
`&&e[r-1]===`
|
|
180
|
-
`?r-1:
|
|
180
|
+
`?r-1:cr.endOfWhiteSpace(e,r):r}static foldNewline(e,r,n){let i=0,s=!1,o="",a=e[r+1];for(;a===" "||a===" "||a===`
|
|
181
181
|
`;){switch(a){case`
|
|
182
182
|
`:i=0,r+=1,o+=`
|
|
183
|
-
`;break;case" ":i<=n&&(s=!0),r=
|
|
184
|
-
`):null}commentHasRequiredWhitespace(e){let{src:r}=this.context;if(this.header&&e===this.header.end||!this.valueRange)return!1;let{end:n}=this.valueRange;return e!==n||
|
|
185
|
-
`)return!0;return!1}parseComment(e){let{src:r}=this.context;if(r[e]===fs.COMMENT){let n=
|
|
183
|
+
`;break;case" ":i<=n&&(s=!0),r=cr.endOfWhiteSpace(e,r+2)-1;break;case" ":i+=1,r+=1;break}a=e[r+1]}return o||(o=" "),a&&i<=n&&(s=!0),{fold:o,offset:r,error:s}}constructor(e,r,n){Object.defineProperty(this,"context",{value:n||null,writable:!0}),this.error=null,this.range=null,this.valueRange=null,this.props=r||[],this.type=e,this.value=null}getPropValue(e,r,n){if(!this.context)return null;let{src:i}=this.context,s=this.props[e];return s&&i[s.start]===r?i.slice(s.start+(n?1:0),s.end):null}get anchor(){for(let e=0;e<this.props.length;++e){let r=this.getPropValue(e,fs.ANCHOR,!0);if(r!=null)return r}return null}get comment(){let e=[];for(let r=0;r<this.props.length;++r){let n=this.getPropValue(r,fs.COMMENT,!0);n!=null&&e.push(n)}return e.length>0?e.join(`
|
|
184
|
+
`):null}commentHasRequiredWhitespace(e){let{src:r}=this.context;if(this.header&&e===this.header.end||!this.valueRange)return!1;let{end:n}=this.valueRange;return e!==n||cr.atBlank(r,n-1)}get hasComment(){if(this.context){let{src:e}=this.context;for(let r=0;r<this.props.length;++r)if(e[this.props[r].start]===fs.COMMENT)return!0}return!1}get hasProps(){if(this.context){let{src:e}=this.context;for(let r=0;r<this.props.length;++r)if(e[this.props[r].start]!==fs.COMMENT)return!0}return!1}get includesTrailingLines(){return!1}get jsonLike(){return[Pd.FLOW_MAP,Pd.FLOW_SEQ,Pd.QUOTE_DOUBLE,Pd.QUOTE_SINGLE].indexOf(this.type)!==-1}get rangeAsLinePos(){if(!this.range||!this.context)return;let e=gT(this.range.start,this.context.root);if(!e)return;let r=gT(this.range.end,this.context.root);return{start:e,end:r}}get rawValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:r}=this.valueRange;return this.context.src.slice(e,r)}get tag(){for(let e=0;e<this.props.length;++e){let r=this.getPropValue(e,fs.TAG,!1);if(r!=null){if(r[1]==="<")return{verbatim:r.slice(2,-1)};{let[n,i,s]=r.match(/^(.*!)([^!]*)$/);return{handle:i,suffix:s}}}}return null}get valueRangeContainsNewline(){if(!this.valueRange||!this.context)return!1;let{start:e,end:r}=this.valueRange,{src:n}=this.context;for(let i=e;i<r;++i)if(n[i]===`
|
|
185
|
+
`)return!0;return!1}parseComment(e){let{src:r}=this.context;if(r[e]===fs.COMMENT){let n=cr.endOfLine(r,e+1),i=new Ks(e,n);return this.props.push(i),n}return e}setOrigRanges(e,r){return this.range&&(r=this.range.setOrigRange(e,r)),this.valueRange&&this.valueRange.setOrigRange(e,r),this.props.forEach(n=>n.setOrigRange(e,r)),r}toString(){let{context:{src:e},range:r,value:n}=this;if(n!=null)return n;let i=e.slice(r.start,r.end);return cr.addStringTerminator(e,r.end,i)}},ia=class extends Error{constructor(e,r,n){if(!n||!(r instanceof cr))throw new Error(`Invalid arguments for new ${e}`);super(),this.name=e,this.message=n,this.source=r}makePretty(){if(!this.source)return;this.nodeType=this.source.type;let e=this.source.context&&this.source.context.root;if(typeof this.offset=="number"){this.range=new Ks(this.offset,this.offset+1);let r=e&&gT(this.offset,e);if(r){let n={line:r.line,col:r.col+1};this.linePos={start:r,end:n}}delete this.offset}else this.range=this.source.range,this.linePos=this.source.rangeAsLinePos;if(this.linePos){let{line:r,col:n}=this.linePos.start;this.message+=` at line ${r}, column ${n}`;let i=e&&vot(this.linePos,e);i&&(this.message+=`:
|
|
186
186
|
|
|
187
187
|
${i}
|
|
188
|
-
`)}delete this.source}},mT=class extends ia{constructor(e,r){super("YAMLReferenceError",e,r)}},Td=class extends ia{constructor(e,r){super("YAMLSemanticError",e,r)}},yT=class extends ia{constructor(e,r){super("YAMLSyntaxError",e,r)}},bT=class extends ia{constructor(e,r){super("YAMLWarning",e,r)}};function wot(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var rl=class extends
|
|
188
|
+
`)}delete this.source}},mT=class extends ia{constructor(e,r){super("YAMLReferenceError",e,r)}},Td=class extends ia{constructor(e,r){super("YAMLSemanticError",e,r)}},yT=class extends ia{constructor(e,r){super("YAMLSyntaxError",e,r)}},bT=class extends ia{constructor(e,r){super("YAMLWarning",e,r)}};function wot(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var rl=class extends cr{static endOfLine(e,r,n){let i=e[r],s=r;for(;i&&i!==`
|
|
189
189
|
`&&!(n&&(i==="["||i==="]"||i==="{"||i==="}"||i===","));){let o=e[s+1];if(i===":"&&(!o||o===`
|
|
190
190
|
`||o===" "||o===" "||n&&o===",")||(i===" "||i===" ")&&o==="#")break;s+=1,i=o}return s}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:r}=this.valueRange,{src:n}=this.context,i=n[r-1];for(;e<r&&(i===`
|
|
191
191
|
`||i===" "||i===" ");)i=n[--r-1];let s="";for(let a=e;a<r;++a){let u=n[a];if(u===`
|
|
192
|
-
`){let{fold:l,offset:c}=
|
|
192
|
+
`){let{fold:l,offset:c}=cr.foldNewline(n,a,-1);s+=l,a=c}else if(u===" "||u===" "){let l=a,c=n[a+1];for(;a<r&&(c===" "||c===" ");)a+=1,c=n[a+1];c!==`
|
|
193
193
|
`&&(s+=a>l?n.slice(l,a+1):u)}else s+=u}let o=n[e];switch(o){case" ":{let a="Plain value cannot start with a tab character";return{errors:[new Td(this,a)],str:s}}case"@":case"`":{let a=`Plain value cannot start with reserved character ${o}`;return{errors:[new Td(this,a)],str:s}}default:return s}}parseBlockValue(e){let{indent:r,inFlow:n,src:i}=this.context,s=e,o=e;for(let a=i[s];a===`
|
|
194
|
-
`&&!
|
|
194
|
+
`&&!cr.atDocumentBoundary(i,s+1);a=i[s]){let u=cr.endOfBlockIndent(i,r,s+1);if(u===null||i[u]==="#")break;i[u]===`
|
|
195
195
|
`?s=u:(o=rl.endOfLine(i,u,n),s=o)}return this.valueRange.isEmpty()&&(this.valueRange.start=e),this.valueRange.end=o,o}parse(e,r){this.context=e;let{inFlow:n,src:i}=e,s=r,o=i[s];return o&&o!=="#"&&o!==`
|
|
196
|
-
`&&(s=rl.endOfLine(i,r,n)),this.valueRange=new Ks(r,s),s=
|
|
196
|
+
`&&(s=rl.endOfLine(i,r,n)),this.valueRange=new Ks(r,s),s=cr.endOfWhiteSpace(i,s),s=this.parseComment(s),(!this.hasComment||this.valueRange.isEmpty())&&(s=this.parseBlockValue(s)),s}};nn.Char=fs;nn.Node=cr;nn.PlainValue=rl;nn.Range=Ks;nn.Type=Pd;nn.YAMLError=ia;nn.YAMLReferenceError=mT;nn.YAMLSemanticError=Td;nn.YAMLSyntaxError=yT;nn.YAMLWarning=bT;nn._defineProperty=wot;nn.defaultTagPrefix=mot;nn.defaultTags=yot});var Ose=m(Dse=>{"use strict";var V=sa(),ua=class extends V.Node{constructor(){super(V.Type.BLANK_LINE)}get includesTrailingLines(){return!0}parse(e,r){return this.context=e,this.range=new V.Range(r,r+1),r+1}},Md=class extends V.Node{constructor(e,r){super(e,r),this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(e,r){this.context=e;let{parseNode:n,src:i}=e,{atLineStart:s,lineStart:o}=e;!s&&this.type===V.Type.SEQ_ITEM&&(this.error=new V.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line"));let a=s?r-o:e.indent,u=V.Node.endOfWhiteSpace(i,r+1),l=i[u],c=l==="#",f=[],d=null;for(;l===`
|
|
197
197
|
`||l==="#";){if(l==="#"){let h=V.Node.endOfLine(i,u+1);f.push(new V.Range(u,h)),u=h}else{s=!0,o=u+1;let h=V.Node.endOfWhiteSpace(i,o);i[h]===`
|
|
198
198
|
`&&f.length===0&&(d=new ua,o=d.parse({src:i},o)),u=V.Node.endOfIndent(i,o)}l=i[u]}if(V.Node.nextNodeIsIndented(l,u-(o+a),this.type!==V.Type.SEQ_ITEM)?this.node=n({atLineStart:s,inCollection:!1,indent:a,lineStart:o,parent:this},u):l&&o>r+1&&(u=o-1),this.node){if(d){let h=e.parent.items||e.parent.contents;h&&h.push(d)}f.length&&Array.prototype.push.apply(this.props,f),u=this.node.range.end}else if(c){let h=f[0];this.props.push(h),u=h.end}else u=V.Node.endOfLine(i,r+1);let p=this.node?this.node.valueRange.end:u;return this.valueRange=new V.Range(r,p),u}setOrigRanges(e,r){return r=super.setOrigRanges(e,r),this.node?this.node.setOrigRanges(e,r):r}toString(){let{context:{src:e},node:r,range:n,value:i}=this;if(i!=null)return i;let s=r?e.slice(n.start,r.range.start)+String(r):e.slice(n.start,n.end);return V.Node.addStringTerminator(e,n.end,s)}},oa=class extends V.Node{constructor(){super(V.Type.COMMENT)}parse(e,r){this.context=e;let n=this.parseComment(r);return this.range=new V.Range(r,n),n}};function vT(t){let e=t;for(;e instanceof Md;)e=e.node;if(!(e instanceof la))return null;let r=e.items.length,n=-1;for(let o=r-1;o>=0;--o){let a=e.items[o];if(a.type===V.Type.COMMENT){let{indent:u,lineStart:l}=a.context;if(u>0&&a.range.start>=l+u)break;n=o}else if(a.type===V.Type.BLANK_LINE)n=o;else break}if(n===-1)return null;let i=e.items.splice(n,r-n),s=i[0].range.start;for(;e.range.end=s,e.valueRange&&e.valueRange.end>s&&(e.valueRange.end=s),e!==t;)e=e.context.parent;return i}var la=class extends V.Node{static nextContentHasIndent(e,r,n){let i=V.Node.endOfLine(e,r)+1;r=V.Node.endOfWhiteSpace(e,i);let s=e[r];return s?r>=i+n?!0:s!=="#"&&s!==`
|
|
199
199
|
`?!1:la.nextContentHasIndent(e,r,n):!1}constructor(e){super(e.type===V.Type.SEQ_ITEM?V.Type.SEQ:V.Type.MAP);for(let n=e.props.length-1;n>=0;--n)if(e.props[n].start<e.context.lineStart){this.props=e.props.slice(0,n+1),e.props=e.props.slice(n+1);let i=e.props[0]||e.valueRange;e.range.start=i.start;break}this.items=[e];let r=vT(e);r&&Array.prototype.push.apply(this.items,r)}get includesTrailingLines(){return this.items.length>0}parse(e,r){this.context=e;let{parseNode:n,src:i}=e,s=V.Node.startOfLine(i,r),o=this.items[0];o.context.parent=this,this.valueRange=V.Range.copy(o.valueRange);let a=o.range.start-o.context.lineStart,u=r;u=V.Node.normalizeOffset(i,u);let l=i[u],c=V.Node.endOfWhiteSpace(i,s)===u,f=!1;for(;l;){for(;l===`
|
|
@@ -310,7 +310,7 @@ ${n.message}`,n}},jT,Iat=function(e,r){jT===void 0&&(jT=foe());try{return jT.par
|
|
|
310
310
|
${n.message}`,n}},Nat={loadJs:Lat,loadJson:Fat,loadYaml:Iat};q1.loaders=Nat});var doe=m(BT=>{"use strict";Object.defineProperty(BT,"__esModule",{value:!0});BT.getPropertyByPath=jat;function jat(t,e){return typeof e=="string"&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:(typeof e=="string"?e.split("."):e).reduce((n,i)=>n===void 0?n:n[i],t)}});var zT=m(Ud=>{"use strict";Object.defineProperty(Ud,"__esModule",{value:!0});Ud.ExplorerBase=void 0;Ud.getExtensionDescription=R1;var zd=Wat(require("path")),$at=$T(),Bat=doe();function Wat(t){return t&&t.__esModule?t:{default:t}}var WT=class{constructor(e){e.cache===!0&&(this.loadCache=new Map,this.searchCache=new Map),this.config=e,this.validateConfig()}clearLoadCache(){this.loadCache&&this.loadCache.clear()}clearSearchCache(){this.searchCache&&this.searchCache.clear()}clearCaches(){this.clearLoadCache(),this.clearSearchCache()}validateConfig(){let e=this.config;e.searchPlaces.forEach(r=>{let n=zd.default.extname(r)||"noExt",i=e.loaders[n];if(!i)throw new Error(`No loader specified for ${R1(r)}, so searchPlaces item "${r}" is invalid`);if(typeof i!="function")throw new Error(`loader for ${R1(r)} is not a function (type provided: "${typeof i}"), so searchPlaces item "${r}" is invalid`)})}shouldSearchStopWithResult(e){return!(e===null||e.isEmpty&&this.config.ignoreEmptySearchPlaces)}nextDirectoryToSearch(e,r){if(this.shouldSearchStopWithResult(r))return null;let n=zat(e);return n===e||e===this.config.stopDir?null:n}loadPackageProp(e,r){let n=$at.loaders.loadJson(e,r);return(0,Bat.getPropertyByPath)(n,this.config.packageProp)||null}getLoaderEntryForFile(e){if(zd.default.basename(e)==="package.json")return this.loadPackageProp.bind(this);let r=zd.default.extname(e)||"noExt",n=this.config.loaders[r];if(!n)throw new Error(`No loader specified for ${R1(e)}`);return n}loadedContentToCosmiconfigResult(e,r){return r===null?null:r===void 0?{filepath:e,config:void 0,isEmpty:!0}:{config:r,filepath:e}}validateFilePath(e){if(!e)throw new Error("load must pass a non-empty string")}};Ud.ExplorerBase=WT;function zat(t){return zd.default.dirname(t)}function R1(t){let e=zd.default.extname(t);return e?`extension "${e}"`:"files without extensions"}});var UT=m(A1=>{"use strict";Object.defineProperty(A1,"__esModule",{value:!0});A1.readFile=Vat;A1.readFileSync=Gat;var poe=Uat(require("fs"));function Uat(t){return t&&t.__esModule?t:{default:t}}async function Hat(t,e){return new Promise((r,n)=>{poe.default.readFile(t,e,(i,s)=>{if(i){n(i);return}r(s)})})}async function Vat(t,e={}){let r=e.throwNotFound===!0;try{return await Hat(t,"utf8")}catch(n){if(r===!1&&(n.code==="ENOENT"||n.code==="EISDIR"))return null;throw n}}function Gat(t,e={}){let r=e.throwNotFound===!0;try{return poe.default.readFileSync(t,"utf8")}catch(n){if(r===!1&&(n.code==="ENOENT"||n.code==="EISDIR"))return null;throw n}}});var HT=m(P1=>{"use strict";Object.defineProperty(P1,"__esModule",{value:!0});P1.cacheWrapper=Kat;P1.cacheWrapperSync=Yat;async function Kat(t,e,r){let n=t.get(e);if(n!==void 0)return n;let i=await r();return t.set(e,i),i}function Yat(t,e,r){let n=t.get(e);if(n!==void 0)return n;let i=r();return t.set(e,i),i}});var KT=m(ga=>{"use strict";var{promisify:Qat}=require("util"),hoe=require("fs");async function VT(t,e,r){if(typeof r!="string")throw new TypeError(`Expected a string, got ${typeof r}`);try{return(await Qat(hoe[t])(r))[e]()}catch(n){if(n.code==="ENOENT")return!1;throw n}}function GT(t,e,r){if(typeof r!="string")throw new TypeError(`Expected a string, got ${typeof r}`);try{return hoe[t](r)[e]()}catch(n){if(n.code==="ENOENT")return!1;throw n}}ga.isFile=VT.bind(null,"stat","isFile");ga.isDirectory=VT.bind(null,"stat","isDirectory");ga.isSymlink=VT.bind(null,"lstat","isSymbolicLink");ga.isFileSync=GT.bind(null,"statSync","isFile");ga.isDirectorySync=GT.bind(null,"statSync","isDirectory");ga.isSymlinkSync=GT.bind(null,"lstatSync","isSymbolicLink")});var YT=m(T1=>{"use strict";Object.defineProperty(T1,"__esModule",{value:!0});T1.getDirectory=Xat;T1.getDirectorySync=Zat;var goe=Jat(require("path")),moe=KT();function Jat(t){return t&&t.__esModule?t:{default:t}}async function Xat(t){return await(0,moe.isDirectory)(t)===!0?t:goe.default.dirname(t)}function Zat(t){return(0,moe.isDirectorySync)(t)===!0?t:goe.default.dirname(t)}});var voe=m(M1=>{"use strict";Object.defineProperty(M1,"__esModule",{value:!0});M1.Explorer=void 0;var QT=rut(require("path")),eut=zT(),yoe=UT(),boe=HT(),tut=YT();function rut(t){return t&&t.__esModule?t:{default:t}}var JT=class extends eut.ExplorerBase{constructor(e){super(e)}async search(e=process.cwd()){let r=await(0,tut.getDirectory)(e);return await this.searchFromDirectory(r)}async searchFromDirectory(e){let r=QT.default.resolve(process.cwd(),e),n=async()=>{let i=await this.searchDirectory(r),s=this.nextDirectoryToSearch(r,i);return s?this.searchFromDirectory(s):await this.config.transform(i)};return this.searchCache?(0,boe.cacheWrapper)(this.searchCache,r,n):n()}async searchDirectory(e){for await(let r of this.config.searchPlaces){let n=await this.loadSearchPlace(e,r);if(this.shouldSearchStopWithResult(n)===!0)return n}return null}async loadSearchPlace(e,r){let n=QT.default.join(e,r),i=await(0,yoe.readFile)(n);return await this.createCosmiconfigResult(n,i)}async loadFileContent(e,r){return r===null?null:r.trim()===""?void 0:await this.getLoaderEntryForFile(e)(e,r)}async createCosmiconfigResult(e,r){let n=await this.loadFileContent(e,r);return this.loadedContentToCosmiconfigResult(e,n)}async load(e){this.validateFilePath(e);let r=QT.default.resolve(process.cwd(),e),n=async()=>{let i=await(0,yoe.readFile)(r,{throwNotFound:!0}),s=await this.createCosmiconfigResult(r,i);return await this.config.transform(s)};return this.loadCache?(0,boe.cacheWrapper)(this.loadCache,r,n):n()}};M1.Explorer=JT});var xoe=m(L1=>{"use strict";Object.defineProperty(L1,"__esModule",{value:!0});L1.ExplorerSync=void 0;var XT=sut(require("path")),nut=zT(),woe=UT(),_oe=HT(),iut=YT();function sut(t){return t&&t.__esModule?t:{default:t}}var ZT=class extends nut.ExplorerBase{constructor(e){super(e)}searchSync(e=process.cwd()){let r=(0,iut.getDirectorySync)(e);return this.searchFromDirectorySync(r)}searchFromDirectorySync(e){let r=XT.default.resolve(process.cwd(),e),n=()=>{let i=this.searchDirectorySync(r),s=this.nextDirectoryToSearch(r,i);return s?this.searchFromDirectorySync(s):this.config.transform(i)};return this.searchCache?(0,_oe.cacheWrapperSync)(this.searchCache,r,n):n()}searchDirectorySync(e){for(let r of this.config.searchPlaces){let n=this.loadSearchPlaceSync(e,r);if(this.shouldSearchStopWithResult(n)===!0)return n}return null}loadSearchPlaceSync(e,r){let n=XT.default.join(e,r),i=(0,woe.readFileSync)(n);return this.createCosmiconfigResultSync(n,i)}loadFileContentSync(e,r){return r===null?null:r.trim()===""?void 0:this.getLoaderEntryForFile(e)(e,r)}createCosmiconfigResultSync(e,r){let n=this.loadFileContentSync(e,r);return this.loadedContentToCosmiconfigResult(e,n)}loadSync(e){this.validateFilePath(e);let r=XT.default.resolve(process.cwd(),e),n=()=>{let i=(0,woe.readFileSync)(r,{throwNotFound:!0}),s=this.createCosmiconfigResultSync(r,i);return this.config.transform(s)};return this.loadCache?(0,_oe.cacheWrapperSync)(this.loadCache,r,n):n()}};L1.ExplorerSync=ZT});var koe=m(Soe=>{"use strict";Object.defineProperty(Soe,"__esModule",{value:!0})});var eM=m(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});ul.cosmiconfig=cut;ul.cosmiconfigSync=fut;ul.defaultLoaders=void 0;var out=lut(require("os")),aut=voe(),uut=xoe(),al=$T(),zFt=koe();function lut(t){return t&&t.__esModule?t:{default:t}}function cut(t,e={}){let r=Coe(t,e),n=new aut.Explorer(r);return{search:n.search.bind(n),load:n.load.bind(n),clearLoadCache:n.clearLoadCache.bind(n),clearSearchCache:n.clearSearchCache.bind(n),clearCaches:n.clearCaches.bind(n)}}function fut(t,e={}){let r=Coe(t,e),n=new uut.ExplorerSync(r);return{search:n.searchSync.bind(n),load:n.loadSync.bind(n),clearLoadCache:n.clearLoadCache.bind(n),clearSearchCache:n.clearSearchCache.bind(n),clearCaches:n.clearCaches.bind(n)}}var Eoe=Object.freeze({".cjs":al.loaders.loadJs,".js":al.loaders.loadJs,".json":al.loaders.loadJson,".yaml":al.loaders.loadYaml,".yml":al.loaders.loadYaml,noExt:al.loaders.loadYaml});ul.defaultLoaders=Eoe;var dut=function(e){return e};function Coe(t,e){let r={packageProp:t,searchPlaces:["package.json",`.${t}rc`,`.${t}rc.json`,`.${t}rc.yaml`,`.${t}rc.yml`,`.${t}rc.js`,`.${t}rc.cjs`,`.config/${t}rc`,`.config/${t}rc.json`,`.config/${t}rc.yaml`,`.config/${t}rc.yml`,`.config/${t}rc.js`,`.config/${t}rc.cjs`,`${t}.config.js`,`${t}.config.cjs`],ignoreEmptySearchPlaces:!0,stopDir:out.default.homedir(),cache:!0,transform:dut,loaders:Eoe};return{...r,...e,loaders:{...r.loaders,...e.loaders}}}});var Roe=m(ma=>{ma.parse=ma.decode=put;ma.stringify=ma.encode=Doe;ma.safe=ll;ma.unsafe=F1;var tM=typeof process<"u"&&process.platform==="win32"?`\r
|
|
311
311
|
`:`
|
|
312
312
|
`;function Doe(t,e){var r=[],n="";typeof e=="string"?e={section:e,whitespace:!1}:(e=e||{},e.whitespace=e.whitespace===!0);var i=e.whitespace?" = ":"=";return Object.keys(t).forEach(function(s,o,a){var u=t[s];u&&Array.isArray(u)?u.forEach(function(l){n+=ll(s+"[]")+i+ll(l)+`
|
|
313
|
-
`}):u&&typeof u=="object"?r.push(s):n+=ll(s)+i+ll(u)+tM}),e.section&&n.length&&(n="["+ll(e.section)+"]"+tM+n),r.forEach(function(s,o,a){var u=Ooe(s).join("\\."),l=(e.section?e.section+".":"")+u,c=Doe(t[s],{section:l,whitespace:e.whitespace});n.length&&c.length&&(n+=tM),n+=c}),n}function Ooe(t){return t.replace(/\1/g,"LITERAL\\1LITERAL").replace(/\\\./g,"").split(/\./).map(function(e){return e.replace(/\1/g,"\\.").replace(/\2LITERAL\\1LITERAL\2/g,"")})}function put(t){var e={},r=e,n=null,i=/^\[([^\]]*)\]$|^([^=]+)(=(.*))?$/i,s=t.split(/[\r\n]+/g);return s.forEach(function(o,a,u){if(!(!o||o.match(/^\s*[;#]/))){var l=o.match(i);if(l){if(l[1]!==void 0){if(n=F1(l[1]),n==="__proto__"){r={};return}r=e[n]=e[n]||{};return}var c=F1(l[2]);if(c!=="__proto__"){var f=l[3]?F1(l[4]):!0;switch(f){case"true":case"false":case"null":f=JSON.parse(f)}if(c.length>2&&c.slice(-2)==="[]"){if(c=c.substring(0,c.length-2),c==="__proto__")return;r[c]?Array.isArray(r[c])||(r[c]=[r[c]]):r[c]=[]}Array.isArray(r[c])?r[c].push(f):r[c]=f}}}}),Object.keys(e).filter(function(o,a,u){if(!e[o]||typeof e[o]!="object"||Array.isArray(e[o]))return!1;var l=Ooe(o),c=e,f=l.pop(),d=f.replace(/\\\./g,".");return l.forEach(function(p,h,y){p!=="__proto__"&&((!c[p]||typeof c[p]!="object")&&(c[p]={}),c=c[p])}),c===e&&d===f?!1:(c[d]=e[o],!0)}).forEach(function(o,a,u){delete e[o]}),e}function qoe(t){return t.charAt(0)==='"'&&t.slice(-1)==='"'||t.charAt(0)==="'"&&t.slice(-1)==="'"}function ll(t){return typeof t!="string"||t.match(/[=\r\n]/)||t.match(/^\[/)||t.length>1&&qoe(t)||t!==t.trim()?JSON.stringify(t):t.replace(/;/g,"\\;").replace(/#/g,"\\#")}function F1(t,e){if(t=(t||"").trim(),qoe(t)){t.charAt(0)==="'"&&(t=t.substr(1,t.length-2));try{t=JSON.parse(t)}catch{}}else{for(var r=!1,n="",i=0,s=t.length;i<s;i++){var o=t.charAt(i);if(r)"\\;#".indexOf(o)!==-1?n+=o:n+="\\"+o,r=!1;else{if(";#".indexOf(o)!==-1)break;o==="\\"?r=!0:n+=o}}return r&&(n+="\\"),n.trim()}return t}});var Loe=m((VFt,Moe)=>{Moe.exports=Toe;Toe.sync=gut;var Aoe=require("fs");function hut(t,e){var r=e.pathExt!==void 0?e.pathExt:process.env.PATHEXT;if(!r||(r=r.split(";"),r.indexOf("")!==-1))return!0;for(var n=0;n<r.length;n++){var i=r[n].toLowerCase();if(i&&t.substr(-i.length).toLowerCase()===i)return!0}return!1}function Poe(t,e,r){return!t.isSymbolicLink()&&!t.isFile()?!1:hut(e,r)}function Toe(t,e,r){Aoe.stat(t,function(n,i){r(n,n?!1:Poe(i,t,e))})}function gut(t,e){return Poe(Aoe.statSync(t),t,e)}});var $oe=m((GFt,joe)=>{joe.exports=Ioe;Ioe.sync=mut;var Foe=require("fs");function Ioe(t,e,r){Foe.stat(t,function(n,i){r(n,n?!1:Noe(i,e))})}function mut(t,e){return Noe(Foe.statSync(t),e)}function Noe(t,e){return t.isFile()&&yut(t,e)}function yut(t,e){var r=t.mode,n=t.uid,i=t.gid,s=e.uid!==void 0?e.uid:process.getuid&&process.getuid(),o=e.gid!==void 0?e.gid:process.getgid&&process.getgid(),a=parseInt("100",8),u=parseInt("010",8),l=parseInt("001",8),c=a|u,f=r&l||r&u&&i===o||r&a&&n===s||r&c&&s===0;return f}});var Woe=m((YFt,Boe)=>{var KFt=require("fs"),I1;process.platform==="win32"||global.TESTING_WINDOWS?I1=Loe():I1=$oe();Boe.exports=rM;rM.sync=but;function rM(t,e,r){if(typeof e=="function"&&(r=e,e={}),!r){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(n,i){rM(t,e||{},function(s,o){s?i(s):n(o)})})}I1(t,e||{},function(n,i){n&&(n.code==="EACCES"||e&&e.ignoreErrors)&&(n=null,i=!1),r(n,i)})}function but(t,e){try{return I1.sync(t,e||{})}catch(r){if(e&&e.ignoreErrors||r.code==="EACCES")return!1;throw r}}});var Yoe=m((QFt,Koe)=>{Koe.exports=Goe;Goe.sync=wut;var nM=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",zoe=require("path"),vut=nM?";":":",Uoe=Woe();function Hoe(t){var e=new Error("not found: "+t);return e.code="ENOENT",e}function Voe(t,e){var r=e.colon||vut,n=e.path||process.env.PATH||"",i=[""];n=n.split(r);var s="";return nM&&(n.unshift(process.cwd()),s=e.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM",i=s.split(r),t.indexOf(".")!==-1&&i[0]!==""&&i.unshift("")),(t.match(/\//)||nM&&t.match(/\\/))&&(n=[""]),{env:n,ext:i,extExe:s}}function Goe(t,e,r){typeof e=="function"&&(r=e,e={});var n=Voe(t,e),i=n.env,s=n.ext,o=n.extExe,a=[];(function u(l,c){if(l===c)return e.all&&a.length?r(null,a):r(Hoe(t));var f=i[l];f.charAt(0)==='"'&&f.slice(-1)==='"'&&(f=f.slice(1,-1));var d=zoe.join(f,t);!f&&/^\.[\\\/]/.test(t)&&(d=t.slice(0,2)+d),function p(h,y){if(h===y)return u(l+1,c);var v=s[h];Uoe(d+v,{pathExt:o},function(g,b){if(!g&&b)if(e.all)a.push(d+v);else return r(null,d+v);return p(h+1,y)})}(0,s.length)})(0,i.length)}function wut(t,e){e=e||{};for(var r=Voe(t,e),n=r.env,i=r.ext,s=r.extExe,o=[],a=0,u=n.length;a<u;a++){var l=n[a];l.charAt(0)==='"'&&l.slice(-1)==='"'&&(l=l.slice(1,-1));var c=zoe.join(l,t);!l&&/^\.[\\\/]/.test(t)&&(c=t.slice(0,2)+c);for(var f=0,d=i.length;f<d;f++){var p=c+i[f],h;try{if(h=Uoe.sync(p,{pathExt:s}),h)if(e.all)o.push(p);else return p}catch{}}}if(e.all&&o.length)return o;if(e.nothrow)return null;throw Hoe(t)}});var Xoe=m((JFt,Joe)=>{"use strict";var Qoe=require("fs"),_ut=require("os"),to=require("path"),xut=Roe(),Er,Sut=()=>{if(process.env.PREFIX)return process.env.PREFIX;if(Er)return Er;let t=_ut.homedir();if(t&&(Er=iM(to.resolve(t,".npmrc"))),Er)return Er;let e=kut();if(e&&(Er=iM(to.resolve(e,"..","..","npmrc")),Er&&(Er=iM(to.resolve(Er,"etc","npmrc"))||Er)),!Er){let{APPDATA:r,DESTDIR:n,OSTYPE:i}=process.env;if(process.platform==="win32"||i==="msys"||i==="cygwin")return Er=r?to.join(r,"npm"):to.dirname(process.execPath),Er;Er=to.dirname(to.dirname(process.execPath)),n&&(Er=to.join(n,Er))}return Er};function kut(){try{return Qoe.realpathSync(Yoe().sync("npm"))}catch{}}function iM(t){try{return xut.parse(Qoe.readFileSync(t,"utf-8")).prefix}catch{}}Reflect.defineProperty(Joe,"exports",{get(){return Sut()}})});var nae=m((XFt,rae)=>{"use strict";var Zoe=require("path"),eae=Xoe(),tae;function Eut(){return process.platform==="win32"||process.env.OSTYPE==="msys"||process.env.OSTYPE==="cygwin"?Zoe.resolve(eae,"node_modules"):Zoe.resolve(eae,"lib/node_modules")}Reflect.defineProperty(rae,"exports",{get(){return tae||(tae=Eut())}})});var aae=m((ZFt,sM)=>{"use strict";var iae=require("path"),sae=require("module"),Cut=require("fs"),oae=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof t}\``);if(typeof e!="string")throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof e}\``);try{t=Cut.realpathSync(t)}catch(s){if(s.code==="ENOENT")t=iae.resolve(t);else{if(r)return;throw s}}let n=iae.join(t,"noop.js"),i=()=>sae._resolveFilename(e,{id:n,filename:n,paths:sae._nodeModulePaths(t)});if(r)try{return i()}catch{return}return i()};sM.exports=(t,e)=>oae(t,e);sM.exports.silent=(t,e)=>oae(t,e,!0)});var aM=m((eIt,uae)=>{"use strict";var Dut=Mc(),Out=nae(),oM=aae();uae.exports=function(e,r,n=process.cwd()){let i=oM.silent(e,r);if(i||(i=oM.silent(n,r)),i||(i=oM.silent(Out,r)),!i)throw Dut(`Could not find "${r}". Do you need the "configBasedir" or "--config-basedir" option?`);return i}});var dae=m((tIt,fae)=>{"use strict";var lae=require("path"),qut=Array.prototype.slice;function Rut(){var t;return t=qut.call(arguments,0),t.reduce(function(e,r){return cae(e,function(n){return cae(r,function(i){return Aut(n,i)})})},"")}function cae(t,e){return Array.isArray(t)?t.reduce(function(r,n){return r.concat(e(n))},[]):e(t)}function Aut(t,e){var r,n;return e[0]==="!"?(n=e.substr(1),t[0]==="!"?r="":r="!",r+lae.join(t,n)):lae.join(t,e)}fae.exports=Rut});var hae=m((rIt,pae)=>{"use strict";var Put=u2(),Tut=r1();function Mut(t){if(!t.rules)return t;let e={};for(let[r,n]of Object.entries(t.rules)){let i=Tut(r,t);i?e[r]=Put(n,i):e[r]=[]}return t.rules=e,t}pae.exports=Mut});var N1=m((nIt,gae)=>{gae.exports=function(t,e){if(typeof t!="string")throw new TypeError("expected path to be a string");if(t==="\\"||t==="/")return"/";var r=t.length;if(r<=1)return t;var n="";if(r>4&&t[3]==="\\"){var i=t[2];(i==="?"||i===".")&&t.slice(0,2)==="\\\\"&&(t=t.slice(2),n="//")}var s=t.split(/[/\\]+/);return e!==!1&&s[s.length-1]===""&&s.pop(),n+s.join("/")}});var fM=m((iIt,wae)=>{"use strict";var lM=Mc(),j1=aM(),mae=dae(),Lut=vg(),Fut=hae(),Iut=N1(),Hd=require("path");async function yae(t,e,r,n,i,s){let o=e;n&&(o=Hut(t,o)),s&&(o=vae(o,i,s)),o=await But(t,o,r,i,s);let a=t._options.cwd;return bae(o,r,a)}function Nut(t){return async e=>{if(!e)return null;let r=Hd.dirname(e.filepath||""),{config:n}=e;return{config:bae(n,r,t),filepath:e.filepath}}}async function jut(t,e,r){if(!r)return null;let n=r.config,i=r.filepath,s=t._options.configBasedir||Hd.dirname(i||""),o=await yae(t,n,s,!0,s,e);if(o=zut(o),o=Uut(o),!o.rules)throw lM('No rules found within configuration. Have you provided a "rules" property?');return o=Fut(o),{config:o,filepath:r.filepath}}function bae(t,e,r){return t.ignoreFiles&&(t.ignoreFiles=[t.ignoreFiles].flat().map(n=>Hd.isAbsolute(n.replace(/^!/,""))?n:mae(e,n))),t.plugins&&(t.plugins=[t.plugins].flat().map(n=>typeof n=="string"?j1(e,n,r):n)),t.processors&&(t.processors=$ut(t.processors,e)),t}function $ut(t,e){return(Array.isArray(t)?t:[t]).map(n=>typeof n=="string"?j1(e,n):[j1(e,n[0]),n[1]])}async function But(t,e,r,n,i){if(e.extends===void 0)return e;let{extends:s,...o}=e,a=[s].flat(),u=o;for(let l of a){let c=await Wut(t,r,l);if(c){let f=c.config,d=Hd.dirname(c.filepath||"");f=await yae(t,f,d,!1,n,i),u=cM(u,f)}}return cM(u,o)}function Wut(t,e,r){let n=j1(e,r,t._options.cwd);return t._extendExplorer.load(n)}function cM(t,e){let r={};(t.plugins||e.plugins)&&(r.plugins=[],t.plugins&&(r.plugins=r.plugins.concat(t.plugins)),e.plugins&&(r.plugins=[...new Set(r.plugins.concat(e.plugins))]));let n={};(t.processors||e.processors)&&(n.processors=[],t.processors&&(n.processors=n.processors.concat(t.processors)),e.processors&&(n.processors=[...new Set(n.processors.concat(e.processors))]));let i={};(t.overrides||e.overrides)&&(i.overrides=[],t.overrides&&(i.overrides=i.overrides.concat(t.overrides)),e.overrides&&(i.overrides=[...new Set(i.overrides.concat(e.overrides))]));let s={};return(t.rules||e.rules)&&(s.rules={...t.rules,...e.rules}),{...t,...e,...n,...r,...i,...s}}function zut(t){if(!t.plugins)return t;let e=[t.plugins].flat(),r={};for(let n of e){let i;typeof n=="string"?i=require(n):i=n,i=i.default||i;let s=[i].flat();for(let o of s){if(!o.ruleName)throw lM(`stylelint requires plugins to expose a ruleName. The plugin "${n}" is not doing this, so will not work with stylelint. Please file an issue with the plugin.`);if(!o.ruleName.includes("/"))throw lM(`stylelint requires plugin rules to be namespaced, i.e. only \`plugin-namespace/plugin-rule-name\` plugin rule names are supported. The plugin rule "${o.ruleName}" does not do this, so will not work. Please file an issue with the plugin.`);r[o.ruleName]=o.rule}}return t.pluginFunctions=r,t}var uM=new Map;function Uut(t){if(!t.processors)return t;let e=[],r=[];for(let n of[t.processors].flat()){let i=JSON.stringify(n),s;if(uM.has(i))s=uM.get(i);else{let o=typeof n=="string"?n:n[0],a=typeof n=="string"?void 0:n[1],u=require(o);u=u.default||u,s=u(a),uM.set(i,s)}s&&s.code&&e.push(s.code),s&&s.result&&r.push(s.result)}return t.codeProcessors=e,t.resultProcessors=r,t}function vae(t,e,r){let{overrides:n,...i}=t;if(!n)return i;if(!Array.isArray(n))throw new TypeError('The `overrides` configuration property should be an array, e.g. { "overrides": [{ "files": "*.css", "rules": {} }] }.');for(let s of n){let{files:o,...a}=s;if(!o)throw new Error('Every object in the `overrides` configuration property should have a `files` property with globs, e.g. { "overrides": [{ "files": "*.css", "rules": {} }] }.');let u=[o].flat().map(l=>Hd.isAbsolute(l.replace(/^!/,""))?l:mae(e,l)).map(l=>Iut(l));Lut.isMatch(r,u,{dot:!0})&&(i=cM(i,a))}return i}function Hut(t,e){let r={...e};return t._options.ignoreDisables&&(r.ignoreDisables=t._options.ignoreDisables),t._options.quiet&&(r.quiet=t._options.quiet),t._options.reportNeedlessDisables&&(r.reportNeedlessDisables=t._options.reportNeedlessDisables),t._options.reportInvalidScopeDisables&&(r.reportInvalidScopeDisables=t._options.reportInvalidScopeDisables),t._options.reportDescriptionlessDisables&&(r.reportDescriptionlessDisables=t._options.reportDescriptionlessDisables),t._options.customSyntax&&(r.customSyntax=t._options.customSyntax),r}wae.exports={augmentConfigExtended:Nut,augmentConfigFull:jut,applyOverrides:vae}});var xae=m((sIt,_ae)=>{var cl=1e3,fl=cl*60,dl=fl*60,ya=dl*24,Vut=ya*7,Gut=ya*365.25;_ae.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return Kut(t);if(r==="number"&&isFinite(t))return e.long?Qut(t):Yut(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function Kut(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var r=parseFloat(e[1]),n=(e[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*Gut;case"weeks":case"week":case"w":return r*Vut;case"days":case"day":case"d":return r*ya;case"hours":case"hour":case"hrs":case"hr":case"h":return r*dl;case"minutes":case"minute":case"mins":case"min":case"m":return r*fl;case"seconds":case"second":case"secs":case"sec":case"s":return r*cl;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function Yut(t){var e=Math.abs(t);return e>=ya?Math.round(t/ya)+"d":e>=dl?Math.round(t/dl)+"h":e>=fl?Math.round(t/fl)+"m":e>=cl?Math.round(t/cl)+"s":t+"ms"}function Qut(t){var e=Math.abs(t);return e>=ya?$1(t,e,ya,"day"):e>=dl?$1(t,e,dl,"hour"):e>=fl?$1(t,e,fl,"minute"):e>=cl?$1(t,e,cl,"second"):t+" ms"}function $1(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}});var dM=m((oIt,Sae)=>{function Jut(t){r.debug=r,r.default=r,r.coerce=u,r.disable=s,r.enable=i,r.enabled=o,r.humanize=xae(),r.destroy=l,Object.keys(t).forEach(c=>{r[c]=t[c]}),r.names=[],r.skips=[],r.formatters={};function e(c){let f=0;for(let d=0;d<c.length;d++)f=(f<<5)-f+c.charCodeAt(d),f|=0;return r.colors[Math.abs(f)%r.colors.length]}r.selectColor=e;function r(c){let f,d=null,p,h;function y(...v){if(!y.enabled)return;let g=y,b=Number(new Date),w=b-(f||b);g.diff=w,g.prev=f,g.curr=b,f=b,v[0]=r.coerce(v[0]),typeof v[0]!="string"&&v.unshift("%O");let _=0;v[0]=v[0].replace(/%([a-zA-Z%])/g,(q,C)=>{if(q==="%%")return"%";_++;let R=r.formatters[C];if(typeof R=="function"){let O=v[_];q=R.call(g,O),v.splice(_,1),_--}return q}),r.formatArgs.call(g,v),(g.log||r.log).apply(g,v)}return y.namespace=c,y.useColors=r.useColors(),y.color=r.selectColor(c),y.extend=n,y.destroy=r.destroy,Object.defineProperty(y,"enabled",{enumerable:!0,configurable:!1,get:()=>d!==null?d:(p!==r.namespaces&&(p=r.namespaces,h=r.enabled(c)),h),set:v=>{d=v}}),typeof r.init=="function"&&r.init(y),y}function n(c,f){let d=r(this.namespace+(typeof f>"u"?":":f)+c);return d.log=this.log,d}function i(c){r.save(c),r.namespaces=c,r.names=[],r.skips=[];let f,d=(typeof c=="string"?c:"").split(/[\s,]+/),p=d.length;for(f=0;f<p;f++)d[f]&&(c=d[f].replace(/\*/g,".*?"),c[0]==="-"?r.skips.push(new RegExp("^"+c.slice(1)+"$")):r.names.push(new RegExp("^"+c+"$")))}function s(){let c=[...r.names.map(a),...r.skips.map(a).map(f=>"-"+f)].join(",");return r.enable(""),c}function o(c){if(c[c.length-1]==="*")return!0;let f,d;for(f=0,d=r.skips.length;f<d;f++)if(r.skips[f].test(c))return!1;for(f=0,d=r.names.length;f<d;f++)if(r.names[f].test(c))return!0;return!1}function a(c){return c.toString().substring(2,c.toString().length-2).replace(/\.\*\?$/,"*")}function u(c){return c instanceof Error?c.stack||c.message:c}function l(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}Sae.exports=Jut});var kae=m((wn,B1)=>{wn.formatArgs=Zut;wn.save=elt;wn.load=tlt;wn.useColors=Xut;wn.storage=rlt();wn.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();wn.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function Xut(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function Zut(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+B1.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,n=0;t[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(r++,i==="%c"&&(n=r))}),t.splice(n,0,e)}wn.log=console.debug||console.log||(()=>{});function elt(t){try{t?wn.storage.setItem("debug",t):wn.storage.removeItem("debug")}catch{}}function tlt(){let t;try{t=wn.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}function rlt(){try{return localStorage}catch{}}B1.exports=dM()(wn);var{formatters:nlt}=B1.exports;nlt.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var pM=m((aIt,Eae)=>{"use strict";Eae.exports=(t,e=process.argv)=>{let r=t.startsWith("-")?"":t.length===1?"-":"--",n=e.indexOf(r+t),i=e.indexOf("--");return n!==-1&&(i===-1||n<i)}});var mM=m((uIt,Dae)=>{"use strict";var ilt=require("os"),Cae=require("tty"),Bn=pM(),{env:cr}=process,ro;Bn("no-color")||Bn("no-colors")||Bn("color=false")||Bn("color=never")?ro=0:(Bn("color")||Bn("colors")||Bn("color=true")||Bn("color=always"))&&(ro=1);"FORCE_COLOR"in cr&&(cr.FORCE_COLOR==="true"?ro=1:cr.FORCE_COLOR==="false"?ro=0:ro=cr.FORCE_COLOR.length===0?1:Math.min(parseInt(cr.FORCE_COLOR,10),3));function hM(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function gM(t,e){if(ro===0)return 0;if(Bn("color=16m")||Bn("color=full")||Bn("color=truecolor"))return 3;if(Bn("color=256"))return 2;if(t&&!e&&ro===void 0)return 0;let r=ro||0;if(cr.TERM==="dumb")return r;if(process.platform==="win32"){let n=ilt.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in cr)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in cr)||cr.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in cr)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(cr.TEAMCITY_VERSION)?1:0;if(cr.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in cr){let n=parseInt((cr.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(cr.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(cr.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(cr.TERM)||"COLORTERM"in cr?1:r}function slt(t){let e=gM(t,t&&t.isTTY);return hM(e)}Dae.exports={supportsColor:slt,stdout:hM(gM(!0,Cae.isatty(1))),stderr:hM(gM(!0,Cae.isatty(2)))}});var qae=m((Cr,z1)=>{var olt=require("tty"),W1=require("util");Cr.init=plt;Cr.log=clt;Cr.formatArgs=ult;Cr.save=flt;Cr.load=dlt;Cr.useColors=alt;Cr.destroy=W1.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Cr.colors=[6,2,3,4,5,1];try{let t=mM();t&&(t.stderr||t).level>=2&&(Cr.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}Cr.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(i,s)=>s.toUpperCase()),n=process.env[e];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),t[r]=n,t},{});function alt(){return"colors"in Cr.inspectOpts?Boolean(Cr.inspectOpts.colors):olt.isatty(process.stderr.fd)}function ult(t){let{namespace:e,useColors:r}=this;if(r){let n=this.color,i="\x1B[3"+(n<8?n:"8;5;"+n),s=` ${i};1m${e} \x1B[0m`;t[0]=s+t[0].split(`
|
|
313
|
+
`}):u&&typeof u=="object"?r.push(s):n+=ll(s)+i+ll(u)+tM}),e.section&&n.length&&(n="["+ll(e.section)+"]"+tM+n),r.forEach(function(s,o,a){var u=Ooe(s).join("\\."),l=(e.section?e.section+".":"")+u,c=Doe(t[s],{section:l,whitespace:e.whitespace});n.length&&c.length&&(n+=tM),n+=c}),n}function Ooe(t){return t.replace(/\1/g,"LITERAL\\1LITERAL").replace(/\\\./g,"").split(/\./).map(function(e){return e.replace(/\1/g,"\\.").replace(/\2LITERAL\\1LITERAL\2/g,"")})}function put(t){var e={},r=e,n=null,i=/^\[([^\]]*)\]$|^([^=]+)(=(.*))?$/i,s=t.split(/[\r\n]+/g);return s.forEach(function(o,a,u){if(!(!o||o.match(/^\s*[;#]/))){var l=o.match(i);if(l){if(l[1]!==void 0){if(n=F1(l[1]),n==="__proto__"){r={};return}r=e[n]=e[n]||{};return}var c=F1(l[2]);if(c!=="__proto__"){var f=l[3]?F1(l[4]):!0;switch(f){case"true":case"false":case"null":f=JSON.parse(f)}if(c.length>2&&c.slice(-2)==="[]"){if(c=c.substring(0,c.length-2),c==="__proto__")return;r[c]?Array.isArray(r[c])||(r[c]=[r[c]]):r[c]=[]}Array.isArray(r[c])?r[c].push(f):r[c]=f}}}}),Object.keys(e).filter(function(o,a,u){if(!e[o]||typeof e[o]!="object"||Array.isArray(e[o]))return!1;var l=Ooe(o),c=e,f=l.pop(),d=f.replace(/\\\./g,".");return l.forEach(function(p,h,y){p!=="__proto__"&&((!c[p]||typeof c[p]!="object")&&(c[p]={}),c=c[p])}),c===e&&d===f?!1:(c[d]=e[o],!0)}).forEach(function(o,a,u){delete e[o]}),e}function qoe(t){return t.charAt(0)==='"'&&t.slice(-1)==='"'||t.charAt(0)==="'"&&t.slice(-1)==="'"}function ll(t){return typeof t!="string"||t.match(/[=\r\n]/)||t.match(/^\[/)||t.length>1&&qoe(t)||t!==t.trim()?JSON.stringify(t):t.replace(/;/g,"\\;").replace(/#/g,"\\#")}function F1(t,e){if(t=(t||"").trim(),qoe(t)){t.charAt(0)==="'"&&(t=t.substr(1,t.length-2));try{t=JSON.parse(t)}catch{}}else{for(var r=!1,n="",i=0,s=t.length;i<s;i++){var o=t.charAt(i);if(r)"\\;#".indexOf(o)!==-1?n+=o:n+="\\"+o,r=!1;else{if(";#".indexOf(o)!==-1)break;o==="\\"?r=!0:n+=o}}return r&&(n+="\\"),n.trim()}return t}});var Loe=m((VFt,Moe)=>{Moe.exports=Toe;Toe.sync=gut;var Aoe=require("fs");function hut(t,e){var r=e.pathExt!==void 0?e.pathExt:process.env.PATHEXT;if(!r||(r=r.split(";"),r.indexOf("")!==-1))return!0;for(var n=0;n<r.length;n++){var i=r[n].toLowerCase();if(i&&t.substr(-i.length).toLowerCase()===i)return!0}return!1}function Poe(t,e,r){return!t.isSymbolicLink()&&!t.isFile()?!1:hut(e,r)}function Toe(t,e,r){Aoe.stat(t,function(n,i){r(n,n?!1:Poe(i,t,e))})}function gut(t,e){return Poe(Aoe.statSync(t),t,e)}});var $oe=m((GFt,joe)=>{joe.exports=Ioe;Ioe.sync=mut;var Foe=require("fs");function Ioe(t,e,r){Foe.stat(t,function(n,i){r(n,n?!1:Noe(i,e))})}function mut(t,e){return Noe(Foe.statSync(t),e)}function Noe(t,e){return t.isFile()&&yut(t,e)}function yut(t,e){var r=t.mode,n=t.uid,i=t.gid,s=e.uid!==void 0?e.uid:process.getuid&&process.getuid(),o=e.gid!==void 0?e.gid:process.getgid&&process.getgid(),a=parseInt("100",8),u=parseInt("010",8),l=parseInt("001",8),c=a|u,f=r&l||r&u&&i===o||r&a&&n===s||r&c&&s===0;return f}});var Woe=m((YFt,Boe)=>{var KFt=require("fs"),I1;process.platform==="win32"||global.TESTING_WINDOWS?I1=Loe():I1=$oe();Boe.exports=rM;rM.sync=but;function rM(t,e,r){if(typeof e=="function"&&(r=e,e={}),!r){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(n,i){rM(t,e||{},function(s,o){s?i(s):n(o)})})}I1(t,e||{},function(n,i){n&&(n.code==="EACCES"||e&&e.ignoreErrors)&&(n=null,i=!1),r(n,i)})}function but(t,e){try{return I1.sync(t,e||{})}catch(r){if(e&&e.ignoreErrors||r.code==="EACCES")return!1;throw r}}});var Yoe=m((QFt,Koe)=>{Koe.exports=Goe;Goe.sync=wut;var nM=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",zoe=require("path"),vut=nM?";":":",Uoe=Woe();function Hoe(t){var e=new Error("not found: "+t);return e.code="ENOENT",e}function Voe(t,e){var r=e.colon||vut,n=e.path||process.env.PATH||"",i=[""];n=n.split(r);var s="";return nM&&(n.unshift(process.cwd()),s=e.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM",i=s.split(r),t.indexOf(".")!==-1&&i[0]!==""&&i.unshift("")),(t.match(/\//)||nM&&t.match(/\\/))&&(n=[""]),{env:n,ext:i,extExe:s}}function Goe(t,e,r){typeof e=="function"&&(r=e,e={});var n=Voe(t,e),i=n.env,s=n.ext,o=n.extExe,a=[];(function u(l,c){if(l===c)return e.all&&a.length?r(null,a):r(Hoe(t));var f=i[l];f.charAt(0)==='"'&&f.slice(-1)==='"'&&(f=f.slice(1,-1));var d=zoe.join(f,t);!f&&/^\.[\\\/]/.test(t)&&(d=t.slice(0,2)+d),function p(h,y){if(h===y)return u(l+1,c);var v=s[h];Uoe(d+v,{pathExt:o},function(g,b){if(!g&&b)if(e.all)a.push(d+v);else return r(null,d+v);return p(h+1,y)})}(0,s.length)})(0,i.length)}function wut(t,e){e=e||{};for(var r=Voe(t,e),n=r.env,i=r.ext,s=r.extExe,o=[],a=0,u=n.length;a<u;a++){var l=n[a];l.charAt(0)==='"'&&l.slice(-1)==='"'&&(l=l.slice(1,-1));var c=zoe.join(l,t);!l&&/^\.[\\\/]/.test(t)&&(c=t.slice(0,2)+c);for(var f=0,d=i.length;f<d;f++){var p=c+i[f],h;try{if(h=Uoe.sync(p,{pathExt:s}),h)if(e.all)o.push(p);else return p}catch{}}}if(e.all&&o.length)return o;if(e.nothrow)return null;throw Hoe(t)}});var Xoe=m((JFt,Joe)=>{"use strict";var Qoe=require("fs"),_ut=require("os"),to=require("path"),xut=Roe(),Er,Sut=()=>{if(process.env.PREFIX)return process.env.PREFIX;if(Er)return Er;let t=_ut.homedir();if(t&&(Er=iM(to.resolve(t,".npmrc"))),Er)return Er;let e=kut();if(e&&(Er=iM(to.resolve(e,"..","..","npmrc")),Er&&(Er=iM(to.resolve(Er,"etc","npmrc"))||Er)),!Er){let{APPDATA:r,DESTDIR:n,OSTYPE:i}=process.env;if(process.platform==="win32"||i==="msys"||i==="cygwin")return Er=r?to.join(r,"npm"):to.dirname(process.execPath),Er;Er=to.dirname(to.dirname(process.execPath)),n&&(Er=to.join(n,Er))}return Er};function kut(){try{return Qoe.realpathSync(Yoe().sync("npm"))}catch{}}function iM(t){try{return xut.parse(Qoe.readFileSync(t,"utf-8")).prefix}catch{}}Reflect.defineProperty(Joe,"exports",{get(){return Sut()}})});var nae=m((XFt,rae)=>{"use strict";var Zoe=require("path"),eae=Xoe(),tae;function Eut(){return process.platform==="win32"||process.env.OSTYPE==="msys"||process.env.OSTYPE==="cygwin"?Zoe.resolve(eae,"node_modules"):Zoe.resolve(eae,"lib/node_modules")}Reflect.defineProperty(rae,"exports",{get(){return tae||(tae=Eut())}})});var aae=m((ZFt,sM)=>{"use strict";var iae=require("path"),sae=require("module"),Cut=require("fs"),oae=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof t}\``);if(typeof e!="string")throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof e}\``);try{t=Cut.realpathSync(t)}catch(s){if(s.code==="ENOENT")t=iae.resolve(t);else{if(r)return;throw s}}let n=iae.join(t,"noop.js"),i=()=>sae._resolveFilename(e,{id:n,filename:n,paths:sae._nodeModulePaths(t)});if(r)try{return i()}catch{return}return i()};sM.exports=(t,e)=>oae(t,e);sM.exports.silent=(t,e)=>oae(t,e,!0)});var aM=m((eIt,uae)=>{"use strict";var Dut=Mc(),Out=nae(),oM=aae();uae.exports=function(e,r,n=process.cwd()){let i=oM.silent(e,r);if(i||(i=oM.silent(n,r)),i||(i=oM.silent(Out,r)),!i)throw Dut(`Could not find "${r}". Do you need the "configBasedir" or "--config-basedir" option?`);return i}});var dae=m((tIt,fae)=>{"use strict";var lae=require("path"),qut=Array.prototype.slice;function Rut(){var t;return t=qut.call(arguments,0),t.reduce(function(e,r){return cae(e,function(n){return cae(r,function(i){return Aut(n,i)})})},"")}function cae(t,e){return Array.isArray(t)?t.reduce(function(r,n){return r.concat(e(n))},[]):e(t)}function Aut(t,e){var r,n;return e[0]==="!"?(n=e.substr(1),t[0]==="!"?r="":r="!",r+lae.join(t,n)):lae.join(t,e)}fae.exports=Rut});var hae=m((rIt,pae)=>{"use strict";var Put=u2(),Tut=r1();function Mut(t){if(!t.rules)return t;let e={};for(let[r,n]of Object.entries(t.rules)){let i=Tut(r,t);i?e[r]=Put(n,i):e[r]=[]}return t.rules=e,t}pae.exports=Mut});var N1=m((nIt,gae)=>{gae.exports=function(t,e){if(typeof t!="string")throw new TypeError("expected path to be a string");if(t==="\\"||t==="/")return"/";var r=t.length;if(r<=1)return t;var n="";if(r>4&&t[3]==="\\"){var i=t[2];(i==="?"||i===".")&&t.slice(0,2)==="\\\\"&&(t=t.slice(2),n="//")}var s=t.split(/[/\\]+/);return e!==!1&&s[s.length-1]===""&&s.pop(),n+s.join("/")}});var fM=m((iIt,wae)=>{"use strict";var lM=Mc(),j1=aM(),mae=dae(),Lut=vg(),Fut=hae(),Iut=N1(),Hd=require("path");async function yae(t,e,r,n,i,s){let o=e;n&&(o=Hut(t,o)),s&&(o=vae(o,i,s)),o=await But(t,o,r,i,s);let a=t._options.cwd;return bae(o,r,a)}function Nut(t){return async e=>{if(!e)return null;let r=Hd.dirname(e.filepath||""),{config:n}=e;return{config:bae(n,r,t),filepath:e.filepath}}}async function jut(t,e,r){if(!r)return null;let n=r.config,i=r.filepath,s=t._options.configBasedir||Hd.dirname(i||""),o=await yae(t,n,s,!0,s,e);if(o=zut(o),o=Uut(o),!o.rules)throw lM('No rules found within configuration. Have you provided a "rules" property?');return o=Fut(o),{config:o,filepath:r.filepath}}function bae(t,e,r){return t.ignoreFiles&&(t.ignoreFiles=[t.ignoreFiles].flat().map(n=>Hd.isAbsolute(n.replace(/^!/,""))?n:mae(e,n))),t.plugins&&(t.plugins=[t.plugins].flat().map(n=>typeof n=="string"?j1(e,n,r):n)),t.processors&&(t.processors=$ut(t.processors,e)),t}function $ut(t,e){return(Array.isArray(t)?t:[t]).map(n=>typeof n=="string"?j1(e,n):[j1(e,n[0]),n[1]])}async function But(t,e,r,n,i){if(e.extends===void 0)return e;let{extends:s,...o}=e,a=[s].flat(),u=o;for(let l of a){let c=await Wut(t,r,l);if(c){let f=c.config,d=Hd.dirname(c.filepath||"");f=await yae(t,f,d,!1,n,i),u=cM(u,f)}}return cM(u,o)}function Wut(t,e,r){let n=j1(e,r,t._options.cwd);return t._extendExplorer.load(n)}function cM(t,e){let r={};(t.plugins||e.plugins)&&(r.plugins=[],t.plugins&&(r.plugins=r.plugins.concat(t.plugins)),e.plugins&&(r.plugins=[...new Set(r.plugins.concat(e.plugins))]));let n={};(t.processors||e.processors)&&(n.processors=[],t.processors&&(n.processors=n.processors.concat(t.processors)),e.processors&&(n.processors=[...new Set(n.processors.concat(e.processors))]));let i={};(t.overrides||e.overrides)&&(i.overrides=[],t.overrides&&(i.overrides=i.overrides.concat(t.overrides)),e.overrides&&(i.overrides=[...new Set(i.overrides.concat(e.overrides))]));let s={};return(t.rules||e.rules)&&(s.rules={...t.rules,...e.rules}),{...t,...e,...n,...r,...i,...s}}function zut(t){if(!t.plugins)return t;let e=[t.plugins].flat(),r={};for(let n of e){let i;typeof n=="string"?i=require(n):i=n,i=i.default||i;let s=[i].flat();for(let o of s){if(!o.ruleName)throw lM(`stylelint requires plugins to expose a ruleName. The plugin "${n}" is not doing this, so will not work with stylelint. Please file an issue with the plugin.`);if(!o.ruleName.includes("/"))throw lM(`stylelint requires plugin rules to be namespaced, i.e. only \`plugin-namespace/plugin-rule-name\` plugin rule names are supported. The plugin rule "${o.ruleName}" does not do this, so will not work. Please file an issue with the plugin.`);r[o.ruleName]=o.rule}}return t.pluginFunctions=r,t}var uM=new Map;function Uut(t){if(!t.processors)return t;let e=[],r=[];for(let n of[t.processors].flat()){let i=JSON.stringify(n),s;if(uM.has(i))s=uM.get(i);else{let o=typeof n=="string"?n:n[0],a=typeof n=="string"?void 0:n[1],u=require(o);u=u.default||u,s=u(a),uM.set(i,s)}s&&s.code&&e.push(s.code),s&&s.result&&r.push(s.result)}return t.codeProcessors=e,t.resultProcessors=r,t}function vae(t,e,r){let{overrides:n,...i}=t;if(!n)return i;if(!Array.isArray(n))throw new TypeError('The `overrides` configuration property should be an array, e.g. { "overrides": [{ "files": "*.css", "rules": {} }] }.');for(let s of n){let{files:o,...a}=s;if(!o)throw new Error('Every object in the `overrides` configuration property should have a `files` property with globs, e.g. { "overrides": [{ "files": "*.css", "rules": {} }] }.');let u=[o].flat().map(l=>Hd.isAbsolute(l.replace(/^!/,""))?l:mae(e,l)).map(l=>Iut(l));Lut.isMatch(r,u,{dot:!0})&&(i=cM(i,a))}return i}function Hut(t,e){let r={...e};return t._options.ignoreDisables&&(r.ignoreDisables=t._options.ignoreDisables),t._options.quiet&&(r.quiet=t._options.quiet),t._options.reportNeedlessDisables&&(r.reportNeedlessDisables=t._options.reportNeedlessDisables),t._options.reportInvalidScopeDisables&&(r.reportInvalidScopeDisables=t._options.reportInvalidScopeDisables),t._options.reportDescriptionlessDisables&&(r.reportDescriptionlessDisables=t._options.reportDescriptionlessDisables),t._options.customSyntax&&(r.customSyntax=t._options.customSyntax),r}wae.exports={augmentConfigExtended:Nut,augmentConfigFull:jut,applyOverrides:vae}});var xae=m((sIt,_ae)=>{var cl=1e3,fl=cl*60,dl=fl*60,ya=dl*24,Vut=ya*7,Gut=ya*365.25;_ae.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return Kut(t);if(r==="number"&&isFinite(t))return e.long?Qut(t):Yut(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function Kut(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var r=parseFloat(e[1]),n=(e[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*Gut;case"weeks":case"week":case"w":return r*Vut;case"days":case"day":case"d":return r*ya;case"hours":case"hour":case"hrs":case"hr":case"h":return r*dl;case"minutes":case"minute":case"mins":case"min":case"m":return r*fl;case"seconds":case"second":case"secs":case"sec":case"s":return r*cl;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function Yut(t){var e=Math.abs(t);return e>=ya?Math.round(t/ya)+"d":e>=dl?Math.round(t/dl)+"h":e>=fl?Math.round(t/fl)+"m":e>=cl?Math.round(t/cl)+"s":t+"ms"}function Qut(t){var e=Math.abs(t);return e>=ya?$1(t,e,ya,"day"):e>=dl?$1(t,e,dl,"hour"):e>=fl?$1(t,e,fl,"minute"):e>=cl?$1(t,e,cl,"second"):t+" ms"}function $1(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}});var dM=m((oIt,Sae)=>{function Jut(t){r.debug=r,r.default=r,r.coerce=u,r.disable=s,r.enable=i,r.enabled=o,r.humanize=xae(),r.destroy=l,Object.keys(t).forEach(c=>{r[c]=t[c]}),r.names=[],r.skips=[],r.formatters={};function e(c){let f=0;for(let d=0;d<c.length;d++)f=(f<<5)-f+c.charCodeAt(d),f|=0;return r.colors[Math.abs(f)%r.colors.length]}r.selectColor=e;function r(c){let f,d=null,p,h;function y(...v){if(!y.enabled)return;let g=y,b=Number(new Date),w=b-(f||b);g.diff=w,g.prev=f,g.curr=b,f=b,v[0]=r.coerce(v[0]),typeof v[0]!="string"&&v.unshift("%O");let _=0;v[0]=v[0].replace(/%([a-zA-Z%])/g,(q,C)=>{if(q==="%%")return"%";_++;let R=r.formatters[C];if(typeof R=="function"){let O=v[_];q=R.call(g,O),v.splice(_,1),_--}return q}),r.formatArgs.call(g,v),(g.log||r.log).apply(g,v)}return y.namespace=c,y.useColors=r.useColors(),y.color=r.selectColor(c),y.extend=n,y.destroy=r.destroy,Object.defineProperty(y,"enabled",{enumerable:!0,configurable:!1,get:()=>d!==null?d:(p!==r.namespaces&&(p=r.namespaces,h=r.enabled(c)),h),set:v=>{d=v}}),typeof r.init=="function"&&r.init(y),y}function n(c,f){let d=r(this.namespace+(typeof f>"u"?":":f)+c);return d.log=this.log,d}function i(c){r.save(c),r.namespaces=c,r.names=[],r.skips=[];let f,d=(typeof c=="string"?c:"").split(/[\s,]+/),p=d.length;for(f=0;f<p;f++)d[f]&&(c=d[f].replace(/\*/g,".*?"),c[0]==="-"?r.skips.push(new RegExp("^"+c.slice(1)+"$")):r.names.push(new RegExp("^"+c+"$")))}function s(){let c=[...r.names.map(a),...r.skips.map(a).map(f=>"-"+f)].join(",");return r.enable(""),c}function o(c){if(c[c.length-1]==="*")return!0;let f,d;for(f=0,d=r.skips.length;f<d;f++)if(r.skips[f].test(c))return!1;for(f=0,d=r.names.length;f<d;f++)if(r.names[f].test(c))return!0;return!1}function a(c){return c.toString().substring(2,c.toString().length-2).replace(/\.\*\?$/,"*")}function u(c){return c instanceof Error?c.stack||c.message:c}function l(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}Sae.exports=Jut});var kae=m((wn,B1)=>{wn.formatArgs=Zut;wn.save=elt;wn.load=tlt;wn.useColors=Xut;wn.storage=rlt();wn.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();wn.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function Xut(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function Zut(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+B1.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,n=0;t[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(r++,i==="%c"&&(n=r))}),t.splice(n,0,e)}wn.log=console.debug||console.log||(()=>{});function elt(t){try{t?wn.storage.setItem("debug",t):wn.storage.removeItem("debug")}catch{}}function tlt(){let t;try{t=wn.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}function rlt(){try{return localStorage}catch{}}B1.exports=dM()(wn);var{formatters:nlt}=B1.exports;nlt.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var pM=m((aIt,Eae)=>{"use strict";Eae.exports=(t,e=process.argv)=>{let r=t.startsWith("-")?"":t.length===1?"-":"--",n=e.indexOf(r+t),i=e.indexOf("--");return n!==-1&&(i===-1||n<i)}});var mM=m((uIt,Dae)=>{"use strict";var ilt=require("os"),Cae=require("tty"),Bn=pM(),{env:fr}=process,ro;Bn("no-color")||Bn("no-colors")||Bn("color=false")||Bn("color=never")?ro=0:(Bn("color")||Bn("colors")||Bn("color=true")||Bn("color=always"))&&(ro=1);"FORCE_COLOR"in fr&&(fr.FORCE_COLOR==="true"?ro=1:fr.FORCE_COLOR==="false"?ro=0:ro=fr.FORCE_COLOR.length===0?1:Math.min(parseInt(fr.FORCE_COLOR,10),3));function hM(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function gM(t,e){if(ro===0)return 0;if(Bn("color=16m")||Bn("color=full")||Bn("color=truecolor"))return 3;if(Bn("color=256"))return 2;if(t&&!e&&ro===void 0)return 0;let r=ro||0;if(fr.TERM==="dumb")return r;if(process.platform==="win32"){let n=ilt.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in fr)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in fr)||fr.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in fr)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(fr.TEAMCITY_VERSION)?1:0;if(fr.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in fr){let n=parseInt((fr.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(fr.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(fr.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(fr.TERM)||"COLORTERM"in fr?1:r}function slt(t){let e=gM(t,t&&t.isTTY);return hM(e)}Dae.exports={supportsColor:slt,stdout:hM(gM(!0,Cae.isatty(1))),stderr:hM(gM(!0,Cae.isatty(2)))}});var qae=m((Cr,z1)=>{var olt=require("tty"),W1=require("util");Cr.init=plt;Cr.log=clt;Cr.formatArgs=ult;Cr.save=flt;Cr.load=dlt;Cr.useColors=alt;Cr.destroy=W1.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Cr.colors=[6,2,3,4,5,1];try{let t=mM();t&&(t.stderr||t).level>=2&&(Cr.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}Cr.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(i,s)=>s.toUpperCase()),n=process.env[e];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),t[r]=n,t},{});function alt(){return"colors"in Cr.inspectOpts?Boolean(Cr.inspectOpts.colors):olt.isatty(process.stderr.fd)}function ult(t){let{namespace:e,useColors:r}=this;if(r){let n=this.color,i="\x1B[3"+(n<8?n:"8;5;"+n),s=` ${i};1m${e} \x1B[0m`;t[0]=s+t[0].split(`
|
|
314
314
|
`).join(`
|
|
315
315
|
`+s),t.push(i+"m+"+z1.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=llt()+e+" "+t[0]}function llt(){return Cr.inspectOpts.hideDate?"":new Date().toISOString()+" "}function clt(...t){return process.stderr.write(W1.format(...t)+`
|
|
316
316
|
`)}function flt(t){t?process.env.DEBUG=t:delete process.env.DEBUG}function dlt(){return process.env.DEBUG}function plt(t){t.inspectOpts={};let e=Object.keys(Cr.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=Cr.inspectOpts[e[r]]}z1.exports=dM()(Cr);var{formatters:Oae}=z1.exports;Oae.o=function(t){return this.inspectOpts.colors=this.useColors,W1.inspect(t,this.inspectOpts).split(`
|
|
@@ -321,14 +321,14 @@ globstar while`,t,c,e,f,d),this.matchOne(t.slice(c),e.slice(f),r))return this.de
|
|
|
321
321
|
See: https://github.com/isaacs/node-glob/issues/167`);return new ir(t,e).found}function ir(t,e){if(!t)throw new Error("must provide pattern");if(typeof e=="function"||arguments.length===3)throw new TypeError(`callback provided to sync glob
|
|
322
322
|
See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof ir))return new ir(t,e);if(rct(this,t,e),this.noprocess)return this;var r=this.minimatch.set.length;this.matches=new Array(r);for(var n=0;n<r;n++)this._process(this.minimatch.set[n],n,!1);this._finish()}ir.prototype._finish=function(){if(yue(this instanceof ir),this.realpath){var t=this;this.matches.forEach(function(e,r){var n=t.matches[r]=Object.create(null);for(var i in e)try{i=t._makeAbs(i);var s=tct.realpathSync(i,t.realpathCache);n[s]=!0}catch(o){if(o.syscall==="stat")n[t._makeAbs(i)]=!0;else throw o}})}va.finish(this)};ir.prototype._process=function(t,e,r){yue(this instanceof ir);for(var n=0;typeof t[n]=="string";)n++;var i;switch(n){case t.length:this._processSimple(t.join("/"),e);return;case 0:i=null;break;default:i=t.slice(0,n).join("/");break}var s=t.slice(n),o;i===null?o=".":((Q1(i)||Q1(t.join("/")))&&(!i||!Q1(i))&&(i="/"+i),o=i);var a=this._makeAbs(o);if(!nct(this,o)){var u=s[0]===mue.GLOBSTAR;u?this._processGlobStar(i,o,a,s,e,r):this._processReaddir(i,o,a,s,e,r)}};ir.prototype._processReaddir=function(t,e,r,n,i,s){var o=this._readdir(r,s);if(o){for(var a=n[0],u=!!this.minimatch.negate,l=a._glob,c=this.dot||l.charAt(0)===".",f=[],d=0;d<o.length;d++){var p=o[d];if(p.charAt(0)!=="."||c){var h;u&&!t?h=!p.match(a):h=p.match(a),h&&f.push(p)}}var y=f.length;if(y!==0){if(n.length===1&&!this.mark&&!this.stat){this.matches[i]||(this.matches[i]=Object.create(null));for(var d=0;d<y;d++){var p=f[d];t&&(t.slice(-1)!=="/"?p=t+"/"+p:p=t+p),p.charAt(0)==="/"&&!this.nomount&&(p=LM.join(this.root,p)),this._emitMatch(i,p)}return}n.shift();for(var d=0;d<y;d++){var p=f[d],v;t?v=[t,p]:v=[p],this._process(v.concat(n),i,s)}}}};ir.prototype._emitMatch=function(t,e){if(!ict(this,e)){var r=this._makeAbs(e);if(this.mark&&(e=this._mark(e)),this.absolute&&(e=r),!this.matches[t][e]){if(this.nodir){var n=this.cache[r];if(n==="DIR"||Array.isArray(n))return}this.matches[t][e]=!0,this.stat&&this._stat(e)}}};ir.prototype._readdirInGlobStar=function(t){if(this.follow)return this._readdir(t,!1);var e,r,n;try{r=J1.lstatSync(t)}catch(s){if(s.code==="ENOENT")return null}var i=r&&r.isSymbolicLink();return this.symlinks[t]=i,!i&&r&&!r.isDirectory()?this.cache[t]="FILE":e=this._readdir(t,!1),e};ir.prototype._readdir=function(t,e){var r;if(e&&!FM(this.symlinks,t))return this._readdirInGlobStar(t);if(FM(this.cache,t)){var n=this.cache[t];if(!n||n==="FILE")return null;if(Array.isArray(n))return n}try{return this._readdirEntries(t,J1.readdirSync(t))}catch(i){return this._readdirError(t,i),null}};ir.prototype._readdirEntries=function(t,e){if(!this.mark&&!this.stat)for(var r=0;r<e.length;r++){var n=e[r];t==="/"?n=t+n:n=t+"/"+n,this.cache[n]=!0}return this.cache[t]=e,e};ir.prototype._readdirError=function(t,e){switch(e.code){case"ENOTSUP":case"ENOTDIR":var r=this._makeAbs(t);if(this.cache[r]="FILE",r===this.cwdAbs){var n=new Error(e.code+" invalid cwd "+this.cwd);throw n.path=this.cwd,n.code=e.code,n}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=!1;break;default:if(this.cache[this._makeAbs(t)]=!1,this.strict)throw e;this.silent||console.error("glob error",e);break}};ir.prototype._processGlobStar=function(t,e,r,n,i,s){var o=this._readdir(r,s);if(o){var a=n.slice(1),u=t?[t]:[],l=u.concat(a);this._process(l,i,!1);var c=o.length,f=this.symlinks[r];if(!(f&&s))for(var d=0;d<c;d++){var p=o[d];if(!(p.charAt(0)==="."&&!this.dot)){var h=u.concat(o[d],a);this._process(h,i,!0);var y=u.concat(o[d],n);this._process(y,i,!0)}}}};ir.prototype._processSimple=function(t,e){var r=this._stat(t);if(this.matches[e]||(this.matches[e]=Object.create(null)),!!r){if(t&&Q1(t)&&!this.nomount){var n=/[\/\\]$/.test(t);t.charAt(0)==="/"?t=LM.join(this.root,t):(t=LM.resolve(this.root,t),n&&(t+="/"))}process.platform==="win32"&&(t=t.replace(/\\/g,"/")),this._emitMatch(e,t)}};ir.prototype._stat=function(t){var e=this._makeAbs(t),r=t.slice(-1)==="/";if(t.length>this.maxLength)return!1;if(!this.stat&&FM(this.cache,e)){var o=this.cache[e];if(Array.isArray(o)&&(o="DIR"),!r||o==="DIR")return o;if(r&&o==="FILE")return!1}var n,i=this.statCache[e];if(!i){var s;try{s=J1.lstatSync(e)}catch(a){if(a&&(a.code==="ENOENT"||a.code==="ENOTDIR"))return this.statCache[e]=!1,!1}if(s&&s.isSymbolicLink())try{i=J1.statSync(e)}catch{i=s}else i=s}this.statCache[e]=i;var o=!0;return i&&(o=i.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||o,r&&o==="FILE"?!1:o};ir.prototype._mark=function(t){return va.mark(this,t)};ir.prototype._makeAbs=function(t){return va.makeAbs(this,t)}});var NM=m((CIt,xue)=>{xue.exports=_ue;function _ue(t,e){if(t&&e)return _ue(t)(e);if(typeof t!="function")throw new TypeError("need wrapper function");return Object.keys(t).forEach(function(n){r[n]=t[n]}),r;function r(){for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];var s=t.apply(this,n),o=n[n.length-1];return typeof s=="function"&&s!==o&&Object.keys(o).forEach(function(a){s[a]=o[a]}),s}}});var $M=m((DIt,jM)=>{var Sue=NM();jM.exports=Sue(X1);jM.exports.strict=Sue(kue);X1.proto=X1(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return X1(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return kue(this)},configurable:!0})});function X1(t){var e=function(){return e.called?e.value:(e.called=!0,e.value=t.apply(this,arguments))};return e.called=!1,e}function kue(t){var e=function(){if(e.called)throw new Error(e.onceError);return e.called=!0,e.value=t.apply(this,arguments)},r=t.name||"Function wrapped with `once`";return e.onceError=r+" shouldn't be called more than once",e.called=!1,e}});var Cue=m((OIt,Eue)=>{var sct=NM(),Jd=Object.create(null),oct=$M();Eue.exports=sct(act);function act(t,e){return Jd[t]?(Jd[t].push(e),null):(Jd[t]=[e],uct(t))}function uct(t){return oct(function e(){var r=Jd[t],n=r.length,i=lct(arguments);try{for(var s=0;s<n;s++)r[s].apply(null,i)}finally{r.length>n?(r.splice(0,n),process.nextTick(function(){e.apply(null,i)})):delete Jd[t]}})}function lct(t){for(var e=t.length,r=[],n=0;n<e;n++)r[n]=t[n];return r}});var IM=m((AIt,Oue)=>{Oue.exports=wa;var Z1=require("fs"),cct=kM(),Due=G1(),qIt=Due.Minimatch,fct=cue(),dct=require("events").EventEmitter,BM=require("path"),WM=require("assert"),Xd=Y1(),UM=wue(),_a=MM(),pct=_a.setopts,zM=_a.ownProp,HM=Cue(),RIt=require("util"),hct=_a.childrenIgnored,gct=_a.isIgnored,mct=$M();function wa(t,e,r){if(typeof e=="function"&&(r=e,e={}),e||(e={}),e.sync){if(r)throw new TypeError("callback provided to sync glob");return UM(t,e)}return new at(t,e,r)}wa.sync=UM;var yct=wa.GlobSync=UM.GlobSync;wa.glob=wa;function bct(t,e){if(e===null||typeof e!="object")return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t}wa.hasMagic=function(t,e){var r=bct({},e);r.noprocess=!0;var n=new at(t,r),i=n.minimatch.set;if(!t)return!1;if(i.length>1)return!0;for(var s=0;s<i[0].length;s++)if(typeof i[0][s]!="string")return!0;return!1};wa.Glob=at;fct(at,dct);function at(t,e,r){if(typeof e=="function"&&(r=e,e=null),e&&e.sync){if(r)throw new TypeError("callback provided to sync glob");return new yct(t,e)}if(!(this instanceof at))return new at(t,e,r);pct(this,t,e),this._didRealPath=!1;var n=this.minimatch.set.length;this.matches=new Array(n),typeof r=="function"&&(r=mct(r),this.on("error",r),this.on("end",function(u){r(null,u)}));var i=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(n===0)return a();for(var s=!0,o=0;o<n;o++)this._process(this.minimatch.set[o],o,!1,a);s=!1;function a(){--i._processing,i._processing<=0&&(s?process.nextTick(function(){i._finish()}):i._finish())}}at.prototype._finish=function(){if(WM(this instanceof at),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();_a.finish(this),this.emit("end",this.found)}};at.prototype._realpath=function(){if(this._didRealpath)return;this._didRealpath=!0;var t=this.matches.length;if(t===0)return this._finish();for(var e=this,r=0;r<this.matches.length;r++)this._realpathSet(r,n);function n(){--t===0&&e._finish()}};at.prototype._realpathSet=function(t,e){var r=this.matches[t];if(!r)return e();var n=Object.keys(r),i=this,s=n.length;if(s===0)return e();var o=this.matches[t]=Object.create(null);n.forEach(function(a,u){a=i._makeAbs(a),cct.realpath(a,i.realpathCache,function(l,c){l?l.syscall==="stat"?o[a]=!0:i.emit("error",l):o[c]=!0,--s===0&&(i.matches[t]=o,e())})})};at.prototype._mark=function(t){return _a.mark(this,t)};at.prototype._makeAbs=function(t){return _a.makeAbs(this,t)};at.prototype.abort=function(){this.aborted=!0,this.emit("abort")};at.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))};at.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var t=this._emitQueue.slice(0);this._emitQueue.length=0;for(var e=0;e<t.length;e++){var r=t[e];this._emitMatch(r[0],r[1])}}if(this._processQueue.length){var n=this._processQueue.slice(0);this._processQueue.length=0;for(var e=0;e<n.length;e++){var i=n[e];this._processing--,this._process(i[0],i[1],i[2],i[3])}}}};at.prototype._process=function(t,e,r,n){if(WM(this instanceof at),WM(typeof n=="function"),!this.aborted){if(this._processing++,this.paused){this._processQueue.push([t,e,r,n]);return}for(var i=0;typeof t[i]=="string";)i++;var s;switch(i){case t.length:this._processSimple(t.join("/"),e,n);return;case 0:s=null;break;default:s=t.slice(0,i).join("/");break}var o=t.slice(i),a;s===null?a=".":((Xd(s)||Xd(t.join("/")))&&(!s||!Xd(s))&&(s="/"+s),a=s);var u=this._makeAbs(a);if(hct(this,a))return n();var l=o[0]===Due.GLOBSTAR;l?this._processGlobStar(s,a,u,o,e,r,n):this._processReaddir(s,a,u,o,e,r,n)}};at.prototype._processReaddir=function(t,e,r,n,i,s,o){var a=this;this._readdir(r,s,function(u,l){return a._processReaddir2(t,e,r,n,i,s,l,o)})};at.prototype._processReaddir2=function(t,e,r,n,i,s,o,a){if(!o)return a();for(var u=n[0],l=!!this.minimatch.negate,c=u._glob,f=this.dot||c.charAt(0)===".",d=[],p=0;p<o.length;p++){var h=o[p];if(h.charAt(0)!=="."||f){var y;l&&!t?y=!h.match(u):y=h.match(u),y&&d.push(h)}}var v=d.length;if(v===0)return a();if(n.length===1&&!this.mark&&!this.stat){this.matches[i]||(this.matches[i]=Object.create(null));for(var p=0;p<v;p++){var h=d[p];t&&(t!=="/"?h=t+"/"+h:h=t+h),h.charAt(0)==="/"&&!this.nomount&&(h=BM.join(this.root,h)),this._emitMatch(i,h)}return a()}n.shift();for(var p=0;p<v;p++){var h=d[p],g;t&&(t!=="/"?h=t+"/"+h:h=t+h),this._process([h].concat(n),i,s,a)}a()};at.prototype._emitMatch=function(t,e){if(!this.aborted&&!gct(this,e)){if(this.paused){this._emitQueue.push([t,e]);return}var r=Xd(e)?e:this._makeAbs(e);if(this.mark&&(e=this._mark(e)),this.absolute&&(e=r),!this.matches[t][e]){if(this.nodir){var n=this.cache[r];if(n==="DIR"||Array.isArray(n))return}this.matches[t][e]=!0;var i=this.statCache[r];i&&this.emit("stat",e,i),this.emit("match",e)}}};at.prototype._readdirInGlobStar=function(t,e){if(this.aborted)return;if(this.follow)return this._readdir(t,!1,e);var r="lstat\0"+t,n=this,i=HM(r,s);i&&Z1.lstat(t,i);function s(o,a){if(o&&o.code==="ENOENT")return e();var u=a&&a.isSymbolicLink();n.symlinks[t]=u,!u&&a&&!a.isDirectory()?(n.cache[t]="FILE",e()):n._readdir(t,!1,e)}};at.prototype._readdir=function(t,e,r){if(!this.aborted&&(r=HM("readdir\0"+t+"\0"+e,r),!!r)){if(e&&!zM(this.symlinks,t))return this._readdirInGlobStar(t,r);if(zM(this.cache,t)){var n=this.cache[t];if(!n||n==="FILE")return r();if(Array.isArray(n))return r(null,n)}var i=this;Z1.readdir(t,vct(this,t,r))}};function vct(t,e,r){return function(n,i){n?t._readdirError(e,n,r):t._readdirEntries(e,i,r)}}at.prototype._readdirEntries=function(t,e,r){if(!this.aborted){if(!this.mark&&!this.stat)for(var n=0;n<e.length;n++){var i=e[n];t==="/"?i=t+i:i=t+"/"+i,this.cache[i]=!0}return this.cache[t]=e,r(null,e)}};at.prototype._readdirError=function(t,e,r){if(!this.aborted){switch(e.code){case"ENOTSUP":case"ENOTDIR":var n=this._makeAbs(t);if(this.cache[n]="FILE",n===this.cwdAbs){var i=new Error(e.code+" invalid cwd "+this.cwd);i.path=this.cwd,i.code=e.code,this.emit("error",i),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=!1;break;default:this.cache[this._makeAbs(t)]=!1,this.strict&&(this.emit("error",e),this.abort()),this.silent||console.error("glob error",e);break}return r()}};at.prototype._processGlobStar=function(t,e,r,n,i,s,o){var a=this;this._readdir(r,s,function(u,l){a._processGlobStar2(t,e,r,n,i,s,l,o)})};at.prototype._processGlobStar2=function(t,e,r,n,i,s,o,a){if(!o)return a();var u=n.slice(1),l=t?[t]:[],c=l.concat(u);this._process(c,i,!1,a);var f=this.symlinks[r],d=o.length;if(f&&s)return a();for(var p=0;p<d;p++){var h=o[p];if(!(h.charAt(0)==="."&&!this.dot)){var y=l.concat(o[p],u);this._process(y,i,!0,a);var v=l.concat(o[p],n);this._process(v,i,!0,a)}}a()};at.prototype._processSimple=function(t,e,r){var n=this;this._stat(t,function(i,s){n._processSimple2(t,e,i,s,r)})};at.prototype._processSimple2=function(t,e,r,n,i){if(this.matches[e]||(this.matches[e]=Object.create(null)),!n)return i();if(t&&Xd(t)&&!this.nomount){var s=/[\/\\]$/.test(t);t.charAt(0)==="/"?t=BM.join(this.root,t):(t=BM.resolve(this.root,t),s&&(t+="/"))}process.platform==="win32"&&(t=t.replace(/\\/g,"/")),this._emitMatch(e,t),i()};at.prototype._stat=function(t,e){var r=this._makeAbs(t),n=t.slice(-1)==="/";if(t.length>this.maxLength)return e();if(!this.stat&&zM(this.cache,r)){var i=this.cache[r];if(Array.isArray(i)&&(i="DIR"),!n||i==="DIR")return e(null,i);if(n&&i==="FILE")return e()}var s,o=this.statCache[r];if(o!==void 0){if(o===!1)return e(null,o);var a=o.isDirectory()?"DIR":"FILE";return n&&a==="FILE"?e():e(null,a,o)}var u=this,l=HM("stat\0"+r,c);l&&Z1.lstat(r,l);function c(f,d){if(d&&d.isSymbolicLink())return Z1.stat(r,function(p,h){p?u._stat2(t,r,null,d,e):u._stat2(t,r,p,h,e)});u._stat2(t,r,f,d,e)}};at.prototype._stat2=function(t,e,r,n,i){if(r&&(r.code==="ENOENT"||r.code==="ENOTDIR"))return this.statCache[e]=!1,i();var s=t.slice(-1)==="/";if(this.statCache[e]=n,e.slice(-1)==="/"&&n&&!n.isDirectory())return i(null,!1,n);var o=!0;return n&&(o=n.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||o,s&&o==="FILE"?i():i(null,o,n)}});var Fue=m((PIt,Lue)=>{var mt=require("assert"),Pue=require("path"),que=require("fs"),ml;try{ml=IM()}catch{}var wct={nosort:!0,silent:!0},VM=0,Zd=process.platform==="win32",Tue=t=>{if(["unlink","chmod","stat","lstat","rmdir","readdir"].forEach(r=>{t[r]=t[r]||que[r],r=r+"Sync",t[r]=t[r]||que[r]}),t.maxBusyTries=t.maxBusyTries||3,t.emfileWait=t.emfileWait||1e3,t.glob===!1&&(t.disableGlob=!0),t.disableGlob!==!0&&ml===void 0)throw Error("glob dependency not found, set `options.disableGlob = true` if intentional");t.disableGlob=t.disableGlob||!1,t.glob=t.glob||wct},KM=(t,e,r)=>{typeof e=="function"&&(r=e,e={}),mt(t,"rimraf: missing path"),mt.equal(typeof t,"string","rimraf: path should be a string"),mt.equal(typeof r,"function","rimraf: callback function required"),mt(e,"rimraf: invalid options argument provided"),mt.equal(typeof e,"object","rimraf: options should be object"),Tue(e);let n=0,i=null,s=0,o=u=>{i=i||u,--s===0&&r(i)},a=(u,l)=>{if(u)return r(u);if(s=l.length,s===0)return r();l.forEach(c=>{let f=d=>{if(d){if((d.code==="EBUSY"||d.code==="ENOTEMPTY"||d.code==="EPERM")&&n<e.maxBusyTries)return n++,setTimeout(()=>GM(c,e,f),n*100);if(d.code==="EMFILE"&&VM<e.emfileWait)return setTimeout(()=>GM(c,e,f),VM++);d.code==="ENOENT"&&(d=null)}VM=0,o(d)};GM(c,e,f)})};if(e.disableGlob||!ml.hasMagic(t))return a(null,[t]);e.lstat(t,(u,l)=>{if(!u)return a(null,[t]);ml(t,e.glob,a)})},GM=(t,e,r)=>{mt(t),mt(e),mt(typeof r=="function"),e.lstat(t,(n,i)=>{if(n&&n.code==="ENOENT")return r(null);if(n&&n.code==="EPERM"&&Zd&&Rue(t,e,n,r),i&&i.isDirectory())return eS(t,e,n,r);e.unlink(t,s=>{if(s){if(s.code==="ENOENT")return r(null);if(s.code==="EPERM")return Zd?Rue(t,e,s,r):eS(t,e,s,r);if(s.code==="EISDIR")return eS(t,e,s,r)}return r(s)})})},Rue=(t,e,r,n)=>{mt(t),mt(e),mt(typeof n=="function"),e.chmod(t,438,i=>{i?n(i.code==="ENOENT"?null:r):e.stat(t,(s,o)=>{s?n(s.code==="ENOENT"?null:r):o.isDirectory()?eS(t,e,r,n):e.unlink(t,n)})})},Aue=(t,e,r)=>{mt(t),mt(e);try{e.chmodSync(t,438)}catch(i){if(i.code==="ENOENT")return;throw r}let n;try{n=e.statSync(t)}catch(i){if(i.code==="ENOENT")return;throw r}n.isDirectory()?tS(t,e,r):e.unlinkSync(t)},eS=(t,e,r,n)=>{mt(t),mt(e),mt(typeof n=="function"),e.rmdir(t,i=>{i&&(i.code==="ENOTEMPTY"||i.code==="EEXIST"||i.code==="EPERM")?_ct(t,e,n):i&&i.code==="ENOTDIR"?n(r):n(i)})},_ct=(t,e,r)=>{mt(t),mt(e),mt(typeof r=="function"),e.readdir(t,(n,i)=>{if(n)return r(n);let s=i.length;if(s===0)return e.rmdir(t,r);let o;i.forEach(a=>{KM(Pue.join(t,a),e,u=>{if(!o){if(u)return r(o=u);--s===0&&e.rmdir(t,r)}})})})},Mue=(t,e)=>{e=e||{},Tue(e),mt(t,"rimraf: missing path"),mt.equal(typeof t,"string","rimraf: path should be a string"),mt(e,"rimraf: missing options"),mt.equal(typeof e,"object","rimraf: options should be object");let r;if(e.disableGlob||!ml.hasMagic(t))r=[t];else try{e.lstatSync(t),r=[t]}catch{r=ml.sync(t,e.glob)}if(r.length)for(let n=0;n<r.length;n++){let i=r[n],s;try{s=e.lstatSync(i)}catch(o){if(o.code==="ENOENT")return;o.code==="EPERM"&&Zd&&Aue(i,e,o)}try{s&&s.isDirectory()?tS(i,e,null):e.unlinkSync(i)}catch(o){if(o.code==="ENOENT")return;if(o.code==="EPERM")return Zd?Aue(i,e,o):tS(i,e,o);if(o.code!=="EISDIR")throw o;tS(i,e,o)}}},tS=(t,e,r)=>{mt(t),mt(e);try{e.rmdirSync(t)}catch(n){if(n.code==="ENOENT")return;if(n.code==="ENOTDIR")throw r;(n.code==="ENOTEMPTY"||n.code==="EEXIST"||n.code==="EPERM")&&xct(t,e)}},xct=(t,e)=>{mt(t),mt(e),e.readdirSync(t).forEach(i=>Mue(Pue.join(t,i),e));let r=Zd?100:1,n=0;do{let i=!0;try{let s=e.rmdirSync(t,e);return i=!1,s}finally{if(++n<r&&i)continue}}while(!0)};Lue.exports=KM;KM.sync=Mue});var Nue=m((TIt,Iue)=>{var Sct=Fue().sync,kct=require("fs");Iue.exports=function(e){return kct.existsSync(e)?(Sct(e,{glob:!1}),!0):!1}});var Wue=m((MIt,Bue)=>{var uo=require("path"),Ect=require("fs"),$ue=Wae(),YM=Nue(),Cct=$ue.writeJSON,jue={load:function(t,e){var r=this;r._visited={},r._persisted={},r._pathToFile=e?uo.resolve(e,t):uo.resolve(__dirname,"../.cache/",t),Ect.existsSync(r._pathToFile)&&(r._persisted=$ue.tryParse(r._pathToFile,{}))},loadFile:function(t){var e=this,r=uo.dirname(t),n=uo.basename(t);e.load(n,r)},all:function(){return this._persisted},keys:function(){return Object.keys(this._persisted)},setKey:function(t,e){this._visited[t]=!0,this._persisted[t]=e},removeKey:function(t){delete this._visited[t],delete this._persisted[t]},getKey:function(t){return this._visited[t]=!0,this._persisted[t]},_prune:function(){var t=this,e={},r=Object.keys(t._visited);r.length!==0&&(r.forEach(function(n){e[n]=t._persisted[n]}),t._visited={},t._persisted=e)},save:function(t){var e=this;!t&&e._prune(),Cct(e._pathToFile,e._persisted)},removeCacheFile:function(){return YM(this._pathToFile)},destroy:function(){var t=this;t._visited={},t._persisted={},t.removeCacheFile()}};Bue.exports={load:function(t,e){return this.create(t,e)},create:function(t,e){var r=Object.create(jue);return r.load(t,e),r},createFromFile:function(t){var e=Object.create(jue);return e.loadFile(t),e},clearCacheById:function(t,e){var r=e?uo.resolve(e,t):uo.resolve(__dirname,"../.cache/",t);return YM(r)},clearAll:function(t){var e=t?uo.resolve(t):uo.resolve(__dirname,"../.cache/");return YM(e)}}});var Hue=m((LIt,Uue)=>{var zue=require("path"),Dct=require("crypto");Uue.exports={createFromFile:function(t,e){var r=zue.basename(t),n=zue.dirname(t);return this.create(r,n,e)},create:function(t,e,r){var n=require("fs"),i=Wue(),s=i.load(t,e),o={},a=function(){s.keys().forEach(function(f){try{n.statSync(f)}catch(d){d.code==="ENOENT"&&s.removeKey(f)}})};return a(),{cache:s,getHash:function(u){return Dct.createHash("md5").update(u).digest("hex")},hasFileChanged:function(u){return this.getFileDescriptor(u).changed},analyzeFiles:function(u){var l=this;u=u||[];var c={changedFiles:[],notFoundFiles:[],notChangedFiles:[]};return l.normalizeEntries(u).forEach(function(f){if(f.changed){c.changedFiles.push(f.key);return}if(f.notFound){c.notFoundFiles.push(f.key);return}c.notChangedFiles.push(f.key)}),c},getFileDescriptor:function(u){var l;try{l=n.statSync(u)}catch(c){return this.removeEntry(u),{key:u,notFound:!0,err:c}}return r?this._getFileDescriptorUsingChecksum(u):this._getFileDescriptorUsingMtimeAndSize(u,l)},_getFileDescriptorUsingMtimeAndSize:function(u,l){var c=s.getKey(u),f=!!c,d=l.size,p=l.mtime.getTime(),h,y;c?(h=p!==c.mtime,y=d!==c.size):c={size:d,mtime:p};var v=o[u]={key:u,changed:!f||h||y,meta:c};return v},_getFileDescriptorUsingChecksum:function(u){var l=s.getKey(u),c=!!l,f;try{f=n.readFileSync(u)}catch{f=""}var d=!0,p=this.getHash(f);l?d=p!==l.hash:l={hash:p};var h=o[u]={key:u,changed:!c||d,meta:l};return h},getUpdatedFiles:function(u){var l=this;return u=u||[],l.normalizeEntries(u).filter(function(c){return c.changed}).map(function(c){return c.key})},normalizeEntries:function(u){u=u||[];var l=this,c=u.map(function(f){return l.getFileDescriptor(f)});return c},removeEntry:function(u){delete o[u],s.removeKey(u)},deleteCacheFile:function(){s.removeCacheFile()},destroy:function(){o={},s.destroy()},_getMetaForFileUsingCheckSum:function(u){var l=n.readFileSync(u.key),c=this.getHash(l),f=Object.assign(u.meta,{hash:c});return delete f.size,delete f.mtime,f},_getMetaForFileUsingMtimeAndSize:function(u){var l=n.statSync(u.key),c=Object.assign(u.meta,{size:l.size,mtime:l.mtime.getTime()});return delete c.hash,c},reconcile:function(u){a(),u=typeof u>"u"?!0:u;var l=o,c=Object.keys(l);if(c.length!==0){var f=this;c.forEach(function(d){var p=l[d];try{var h=r?f._getMetaForFileUsingCheckSum(p):f._getMetaForFileUsingMtimeAndSize(p);s.setKey(d,h)}catch(y){if(y.code!=="ENOENT")throw y}}),s.save(u)}}}}}});var JM=m((FIt,QM)=>{(function(){var t;function e(r,n){var i=this instanceof e?this:t;if(i.reset(n),typeof r=="string"&&r.length>0&&i.hash(r),i!==this)return i}e.prototype.hash=function(r){var n,i,s,o,a;switch(a=r.length,this.len+=a,i=this.k1,s=0,this.rem){case 0:i^=a>s?r.charCodeAt(s++)&65535:0;case 1:i^=a>s?(r.charCodeAt(s++)&65535)<<8:0;case 2:i^=a>s?(r.charCodeAt(s++)&65535)<<16:0;case 3:i^=a>s?(r.charCodeAt(s)&255)<<24:0,i^=a>s?(r.charCodeAt(s++)&65280)>>8:0}if(this.rem=a+this.rem&3,a-=this.rem,a>0){for(n=this.h1;i=i*11601+(i&65535)*3432906752&4294967295,i=i<<15|i>>>17,i=i*13715+(i&65535)*461832192&4294967295,n^=i,n=n<<13|n>>>19,n=n*5+3864292196&4294967295,!(s>=a);)i=r.charCodeAt(s++)&65535^(r.charCodeAt(s++)&65535)<<8^(r.charCodeAt(s++)&65535)<<16,o=r.charCodeAt(s++),i^=(o&255)<<24^(o&65280)>>8;switch(i=0,this.rem){case 3:i^=(r.charCodeAt(s+2)&65535)<<16;case 2:i^=(r.charCodeAt(s+1)&65535)<<8;case 1:i^=r.charCodeAt(s)&65535}this.h1=n}return this.k1=i,this},e.prototype.result=function(){var r,n;return r=this.k1,n=this.h1,r>0&&(r=r*11601+(r&65535)*3432906752&4294967295,r=r<<15|r>>>17,r=r*13715+(r&65535)*461832192&4294967295,n^=r),n^=this.len,n^=n>>>16,n=n*51819+(n&65535)*2246770688&4294967295,n^=n>>>13,n=n*44597+(n&65535)*3266445312&4294967295,n^=n>>>16,n>>>0},e.prototype.reset=function(r){return this.h1=typeof r=="number"?r:0,this.rem=this.k1=this.len=0,this},t=new e,typeof QM<"u"?QM.exports=e:this.MurmurHash3=e})()});var XM=m((IIt,Vue)=>{"use strict";var Oct=JM();Vue.exports=function(e){return Oct(e).result().toString(36)}});var Kue=m((NIt,Gue)=>{"use strict";var qct=require("fs"),Rct=XM(),rS=require("path");Gue.exports=function(e,r){e=rS.normalize(e);let n=rS.resolve(r,e),i=e[e.length-1]===rS.sep;function s(){return rS.join(n,`.stylelintcache_${Rct(r)}`)}let o;try{o=qct.lstatSync(n)}catch{o=null}return i||o&&o.isDirectory()?s():n}});var Yue=m((jIt,Act)=>{Act.exports={name:"stylelint",version:"14.16.1",description:"A mighty, modern CSS linter.",keywords:["css-in-js","css","less","lint","linter","markdown","sass","scss","stylelint","sugarss"],homepage:"https://stylelint.io",repository:"stylelint/stylelint",funding:{type:"opencollective",url:"https://opencollective.com/stylelint"},license:"MIT",author:"stylelint",main:"lib/index.js",types:"types/stylelint/index.d.ts",bin:{stylelint:"bin/stylelint.js"},files:["bin/**/*.js","lib/**/*.js","!**/__tests__/**","!lib/testUtils/**","types/stylelint/index.d.ts"],scripts:{"benchmark-rule":"node scripts/benchmark-rule.mjs",format:"prettier . --write --cache",jest:"jest",lint:"npm-run-all --parallel --continue-on-error lint:*","lint:formatting":"prettier . --check --cache","lint:js":"eslint . --cache --max-warnings=0 --ext .js,.mjs","lint:md":"remark . --quiet --frail","lint:types":"tsc",prepare:"husky install && patch-package",release:"np --no-release-draft",pretest:"npm run lint",test:"jest --coverage",version:"changeset version",postversion:"git restore package.json",watch:"jest --watch","changelog-to-github-release":"remark --quiet --use ./scripts/remark-changelog-to-github-release.mjs CHANGELOG.md"},"lint-staged":{"*.{js,mjs}":"eslint --cache --fix","*.{js,json,md,mjs,ts,yml}":"prettier --write"},prettier:"@stylelint/prettier-config",eslintConfig:{extends:["stylelint"],globals:{__dirname:!0,module:!0,require:!0,testRule:!0},root:!0},remarkConfig:{plugins:["@stylelint/remark-preset"]},jest:{clearMocks:!0,collectCoverage:!1,collectCoverageFrom:["lib/**/*.js","!lib/**/{__tests__,testUtils}/**/*.js"],coverageDirectory:"./.coverage/",coverageReporters:["lcov","text-summary"],coverageThreshold:{global:{branches:75,functions:75,lines:75,statements:75}},moduleNameMapper:{"^stylelint$":"<rootDir>/lib/index.js","stylelint/lib/utils/getOsEol":"<rootDir>/lib/utils/getOsEol.js"},preset:"jest-preset-stylelint",roots:["lib","system-tests"],testEnvironment:"node",testRegex:".*\\.test\\.js$|rules/.*/__tests__/.*\\.js$",watchPlugins:["jest-watch-typeahead/filename","jest-watch-typeahead/testname"]},dependencies:{"@csstools/selector-specificity":"^2.0.2","balanced-match":"^2.0.0",colord:"^2.9.3",cosmiconfig:"^7.1.0","css-functions-list":"^3.1.0",debug:"^4.3.4","fast-glob":"^3.2.12","fastest-levenshtein":"^1.0.16","file-entry-cache":"^6.0.1","global-modules":"^2.0.0",globby:"^11.1.0",globjoin:"^0.1.4","html-tags":"^3.2.0",ignore:"^5.2.1","import-lazy":"^4.0.0",imurmurhash:"^0.1.4","is-plain-object":"^5.0.0","known-css-properties":"^0.26.0","mathml-tag-names":"^2.1.3",meow:"^9.0.0",micromatch:"^4.0.5","normalize-path":"^3.0.0",picocolors:"^1.0.0",postcss:"^8.4.19","postcss-media-query-parser":"^0.2.3","postcss-resolve-nested-selector":"^0.1.1","postcss-safe-parser":"^6.0.0","postcss-selector-parser":"^6.0.11","postcss-value-parser":"^4.2.0","resolve-from":"^5.0.0","string-width":"^4.2.3","strip-ansi":"^6.0.1","style-search":"^0.1.0","supports-hyperlinks":"^2.3.0","svg-tags":"^1.0.0",table:"^6.8.1","v8-compile-cache":"^2.3.0","write-file-atomic":"^4.0.2"},devDependencies:{"@changesets/cli":"^2.25.2","@changesets/get-github-info":"^0.5.1","@stylelint/prettier-config":"^2.0.0","@stylelint/remark-preset":"^4.0.0","@types/balanced-match":"^1.0.2","@types/debug":"^4.1.7","@types/file-entry-cache":"^5.0.2","@types/global-modules":"^2.0.0","@types/globjoin":"^0.1.0","@types/imurmurhash":"^0.1.1","@types/micromatch":"^4.0.2","@types/normalize-path":"^3.0.0","@types/postcss-less":"^4.0.2","@types/postcss-safe-parser":"^5.0.1","@types/style-search":"^0.1.3","@types/svg-tags":"^1.0.0","@types/write-file-atomic":"^4.0.0",benchmark:"^2.1.4","common-tags":"^1.8.2",deepmerge:"^4.2.2",eslint:"^8.28.0","eslint-config-stylelint":"^17.1.0",husky:"^8.0.2",jest:"^28.1.3","jest-preset-stylelint":"^5.0.4","jest-watch-typeahead":"^2.2.0","lint-staged":"^13.0.4","node-fetch":"^3.3.0",np:"^7.6.2","npm-run-all":"^4.1.5","patch-package":"^6.5.0","postcss-html":"^1.5.0","postcss-import":"^14.1.0","postcss-less":"^6.0.0","postcss-sass":"^0.5.0","postcss-scss":"^4.0.6","remark-cli":"^11.0.0",sugarss:"^4.0.1",typescript:"^4.9.3"},engines:{node:"^12.20.0 || ^14.13.1 || >=16.0.0"}}});var Xue=m(($It,Jue)=>{"use strict";var Que=bM()("stylelint:file-cache"),Pct=Hue(),Tct=Kue(),Mct=XM(),Lct=Yue(),Fct=require("path"),eL="metadata",ZM="content",Ict="./.stylelintcache",Nct=eL,tL=class{constructor(e=Ict,r=Nct,n=process.cwd()){if(![eL,ZM].includes(r))throw new Error(`"${r}" cache strategy is unsupported. Specify either "${eL}" or "${ZM}"`);let i=Fct.resolve(Tct(e,n)),s=r===ZM;Que(`Cache file is created at ${i}`),this._fileCache=Pct.create(i,void 0,s),this._hashOfConfig=""}calcHashOfConfig(e){if(this._hashOfConfig)return;let r=Lct.version,n=JSON.stringify(e||{});this._hashOfConfig=Mct(`${r}_${n}`)}hasFileChanged(e){let r=this._fileCache.getFileDescriptor(e),n=r.meta||{},i=r.changed||n.hashOfConfig!==this._hashOfConfig;return i||Que(`Skip linting ${e}. File hasn't changed.`),n.hashOfConfig!==this._hashOfConfig&&(n.hashOfConfig=this._hashOfConfig),i}reconcile(){this._fileCache.reconcile()}destroy(){this._fileCache.destroy()}removeEntry(e){this._fileCache.removeEntry(e)}};Jue.exports=tL});var ep=m((BIt,Zue)=>{"use strict";var{cosmiconfig:jct}=eM(),$ct=fM(),Bct=Xue(),Wct=process.env.NODE_ENV==="test",zct=Wct?process.cwd():void 0;Zue.exports=function(e={}){let r=e.cwd||process.cwd();return{_options:{...e,cwd:r},_extendExplorer:jct("",{transform:$ct.augmentConfigExtended(r),stopDir:zct}),_specifiedConfigCache:new Map,_postcssResultCache:new Map,_fileCache:new Bct(e.cacheLocation,e.cacheStrategy,r)}}});var yl=m((WIt,ele)=>{"use strict";ele.exports=function(e){for(let r of e.parseErrors||[])e.warnings.push(Uct(r));for(let r of e.warnings)r.severity=Hct(r);return e.warnings.sort(Vct),e};function Uct(t){return{line:t.line,column:t.column,rule:t.stylelintType,severity:"error",text:`${t.text} (${t.stylelintType})`}}function Hct(t){return t.severity||"error"}function Vct(t,e){return!t.line&&e.line?-1:t.line&&!e.line?1:t.line<e.line?-1:t.line>e.line?1:t.column<e.column?-1:t.column>e.column?1:0}});var rle=m((zIt,tle)=>{"use strict";var Gct=yl();tle.exports=function(e){return e.flatMap(r=>{let{warnings:n}=Gct(r);return n.map(i=>`${r.source}: line ${i.line}, col ${i.column}, ${i.severity} - ${i.text}`)}).join(`
|
|
323
323
|
`)}});var ile=m((UIt,nle)=>{"use strict";var Kct=yl();nle.exports=function(e,r){let n="Stylelint problem",i=r.ruleMetadata;return e.flatMap(s=>{let{source:o,warnings:a}=Kct(s);return a.map(({line:u,column:l,endLine:c,endColumn:f,text:d,severity:p,rule:h})=>{let y=Yct(d,i[h]);return c===void 0?`::${p} file=${o},line=${u},col=${l},title=${n}::${y}`:`::${p} file=${o},line=${u},col=${l},endLine=${c},endColumn=${f},title=${n}::${y}`})}).join(`
|
|
324
|
-
`)};function Yct(t,e){if(!e)return t;let r=e.url?` - ${e.url}`:"",n=e.fixable?" [maybe fixable]":"";return`${t}${n}${r}`}});var ole=m((HIt,sle)=>{"use strict";sle.exports=function(e){let r=e.map(n=>Object.entries(n).filter(([i])=>!i.startsWith("_")).reduce((i,[s,o])=>(i[s]=o,i),{}));return JSON.stringify(r)}});var ule=m((VIt,ale)=>{"use strict";ale.exports=({onlyFirst:t=!1}={})=>{let e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(e,t?void 0:"g")}});var nS=m((GIt,lle)=>{"use strict";var Qct=ule();lle.exports=t=>typeof t=="string"?t.replace(Qct(),""):t});var nL=m((KIt,rL)=>{"use strict";var cle=t=>Number.isNaN(t)?!1:t>=4352&&(t<=4447||t===9001||t===9002||11904<=t&&t<=12871&&t!==12351||12880<=t&&t<=19903||19968<=t&&t<=42182||43360<=t&&t<=43388||44032<=t&&t<=55203||63744<=t&&t<=64255||65040<=t&&t<=65049||65072<=t&&t<=65131||65281<=t&&t<=65376||65504<=t&&t<=65510||110592<=t&&t<=110593||127488<=t&&t<=127569||131072<=t&&t<=262141);rL.exports=cle;rL.exports.default=cle});var dle=m((YIt,fle)=>{"use strict";fle.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}});var xa=m((QIt,iL)=>{"use strict";var Jct=nS(),Xct=nL(),Zct=dle(),ple=t=>{if(typeof t!="string"||t.length===0||(t=Jct(t),t.length===0))return 0;t=t.replace(Zct()," ");let e=0;for(let r=0;r<t.length;r++){let n=t.codePointAt(r);n<=31||n>=127&&n<=159||n>=768&&n<=879||(n>65535&&r++,e+=Xct(n)?2:1)}return e};iL.exports=ple;iL.exports.default=ple});var mle=m((JIt,gle)=>{"use strict";var hle="[\uD800-\uDBFF][\uDC00-\uDFFF]",eft=t=>t&&t.exact?new RegExp(`^${hle}$`):new RegExp(hle,"g");gle.exports=eft});var ble=m((XIt,yle)=>{"use strict";yle.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var sL=m((ZIt,wle)=>{var tp=ble(),vle={};for(let t of Object.keys(tp))vle[tp[t]]=t;var ke={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};wle.exports=ke;for(let t of Object.keys(ke)){if(!("channels"in ke[t]))throw new Error("missing channels property: "+t);if(!("labels"in ke[t]))throw new Error("missing channel labels property: "+t);if(ke[t].labels.length!==ke[t].channels)throw new Error("channel and label counts mismatch: "+t);let{channels:e,labels:r}=ke[t];delete ke[t].channels,delete ke[t].labels,Object.defineProperty(ke[t],"channels",{value:e}),Object.defineProperty(ke[t],"labels",{value:r})}ke.rgb.hsl=function(t){let e=t[0]/255,r=t[1]/255,n=t[2]/255,i=Math.min(e,r,n),s=Math.max(e,r,n),o=s-i,a,u;s===i?a=0:e===s?a=(r-n)/o:r===s?a=2+(n-e)/o:n===s&&(a=4+(e-r)/o),a=Math.min(a*60,360),a<0&&(a+=360);let l=(i+s)/2;return s===i?u=0:l<=.5?u=o/(s+i):u=o/(2-s-i),[a,u*100,l*100]};ke.rgb.hsv=function(t){let e,r,n,i,s,o=t[0]/255,a=t[1]/255,u=t[2]/255,l=Math.max(o,a,u),c=l-Math.min(o,a,u),f=function(d){return(l-d)/6/c+1/2};return c===0?(i=0,s=0):(s=c/l,e=f(o),r=f(a),n=f(u),o===l?i=n-r:a===l?i=1/3+e-n:u===l&&(i=2/3+r-e),i<0?i+=1:i>1&&(i-=1)),[i*360,s*100,l*100]};ke.rgb.hwb=function(t){let e=t[0],r=t[1],n=t[2],i=ke.rgb.hsl(t)[0],s=1/255*Math.min(e,Math.min(r,n));return n=1-1/255*Math.max(e,Math.max(r,n)),[i,s*100,n*100]};ke.rgb.cmyk=function(t){let e=t[0]/255,r=t[1]/255,n=t[2]/255,i=Math.min(1-e,1-r,1-n),s=(1-e-i)/(1-i)||0,o=(1-r-i)/(1-i)||0,a=(1-n-i)/(1-i)||0;return[s*100,o*100,a*100,i*100]};function tft(t,e){return(t[0]-e[0])**2+(t[1]-e[1])**2+(t[2]-e[2])**2}ke.rgb.keyword=function(t){let e=vle[t];if(e)return e;let r=1/0,n;for(let i of Object.keys(tp)){let s=tp[i],o=tft(t,s);o<r&&(r=o,n=i)}return n};ke.keyword.rgb=function(t){return tp[t]};ke.rgb.xyz=function(t){let e=t[0]/255,r=t[1]/255,n=t[2]/255;e=e>.04045?((e+.055)/1.055)**2.4:e/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;let i=e*.4124+r*.3576+n*.1805,s=e*.2126+r*.7152+n*.0722,o=e*.0193+r*.1192+n*.9505;return[i*100,s*100,o*100]};ke.rgb.lab=function(t){let e=ke.rgb.xyz(t),r=e[0],n=e[1],i=e[2];r/=95.047,n/=100,i/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;let s=116*n-16,o=500*(r-n),a=200*(n-i);return[s,o,a]};ke.hsl.rgb=function(t){let e=t[0]/360,r=t[1]/100,n=t[2]/100,i,s,o;if(r===0)return o=n*255,[o,o,o];n<.5?i=n*(1+r):i=n+r-n*r;let a=2*n-i,u=[0,0,0];for(let l=0;l<3;l++)s=e+1/3*-(l-1),s<0&&s++,s>1&&s--,6*s<1?o=a+(i-a)*6*s:2*s<1?o=i:3*s<2?o=a+(i-a)*(2/3-s)*6:o=a,u[l]=o*255;return u};ke.hsl.hsv=function(t){let e=t[0],r=t[1]/100,n=t[2]/100,i=r,s=Math.max(n,.01);n*=2,r*=n<=1?n:2-n,i*=s<=1?s:2-s;let o=(n+r)/2,a=n===0?2*i/(s+i):2*r/(n+r);return[e,a*100,o*100]};ke.hsv.rgb=function(t){let e=t[0]/60,r=t[1]/100,n=t[2]/100,i=Math.floor(e)%6,s=e-Math.floor(e),o=255*n*(1-r),a=255*n*(1-r*s),u=255*n*(1-r*(1-s));switch(n*=255,i){case 0:return[n,u,o];case 1:return[a,n,o];case 2:return[o,n,u];case 3:return[o,a,n];case 4:return[u,o,n];case 5:return[n,o,a]}};ke.hsv.hsl=function(t){let e=t[0],r=t[1]/100,n=t[2]/100,i=Math.max(n,.01),s,o;o=(2-r)*n;let a=(2-r)*i;return s=r*i,s/=a<=1?a:2-a,s=s||0,o/=2,[e,s*100,o*100]};ke.hwb.rgb=function(t){let e=t[0]/360,r=t[1]/100,n=t[2]/100,i=r+n,s;i>1&&(r/=i,n/=i);let o=Math.floor(6*e),a=1-n;s=6*e-o,o&1&&(s=1-s);let u=r+s*(a-r),l,c,f;switch(o){default:case 6:case 0:l=a,c=u,f=r;break;case 1:l=u,c=a,f=r;break;case 2:l=r,c=a,f=u;break;case 3:l=r,c=u,f=a;break;case 4:l=u,c=r,f=a;break;case 5:l=a,c=r,f=u;break}return[l*255,c*255,f*255]};ke.cmyk.rgb=function(t){let e=t[0]/100,r=t[1]/100,n=t[2]/100,i=t[3]/100,s=1-Math.min(1,e*(1-i)+i),o=1-Math.min(1,r*(1-i)+i),a=1-Math.min(1,n*(1-i)+i);return[s*255,o*255,a*255]};ke.xyz.rgb=function(t){let e=t[0]/100,r=t[1]/100,n=t[2]/100,i,s,o;return i=e*3.2406+r*-1.5372+n*-.4986,s=e*-.9689+r*1.8758+n*.0415,o=e*.0557+r*-.204+n*1.057,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),o=Math.min(Math.max(0,o),1),[i*255,s*255,o*255]};ke.xyz.lab=function(t){let e=t[0],r=t[1],n=t[2];e/=95.047,r/=100,n/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;let i=116*r-16,s=500*(e-r),o=200*(r-n);return[i,s,o]};ke.lab.xyz=function(t){let e=t[0],r=t[1],n=t[2],i,s,o;s=(e+16)/116,i=r/500+s,o=s-n/200;let a=s**3,u=i**3,l=o**3;return s=a>.008856?a:(s-16/116)/7.787,i=u>.008856?u:(i-16/116)/7.787,o=l>.008856?l:(o-16/116)/7.787,i*=95.047,s*=100,o*=108.883,[i,s,o]};ke.lab.lch=function(t){let e=t[0],r=t[1],n=t[2],i;i=Math.atan2(n,r)*360/2/Math.PI,i<0&&(i+=360);let o=Math.sqrt(r*r+n*n);return[e,o,i]};ke.lch.lab=function(t){let e=t[0],r=t[1],i=t[2]/360*2*Math.PI,s=r*Math.cos(i),o=r*Math.sin(i);return[e,s,o]};ke.rgb.ansi16=function(t,e=null){let[r,n,i]=t,s=e===null?ke.rgb.hsv(t)[2]:e;if(s=Math.round(s/50),s===0)return 30;let o=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return s===2&&(o+=60),o};ke.hsv.ansi16=function(t){return ke.rgb.ansi16(ke.hsv.rgb(t),t[2])};ke.rgb.ansi256=function(t){let e=t[0],r=t[1],n=t[2];return e===r&&r===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)};ke.ansi16.rgb=function(t){let e=t%10;if(e===0||e===7)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];let r=(~~(t>50)+1)*.5,n=(e&1)*r*255,i=(e>>1&1)*r*255,s=(e>>2&1)*r*255;return[n,i,s]};ke.ansi256.rgb=function(t){if(t>=232){let s=(t-232)*10+8;return[s,s,s]}t-=16;let e,r=Math.floor(t/36)/5*255,n=Math.floor((e=t%36)/6)/5*255,i=e%6/5*255;return[r,n,i]};ke.rgb.hex=function(t){let r=(((Math.round(t[0])&255)<<16)+((Math.round(t[1])&255)<<8)+(Math.round(t[2])&255)).toString(16).toUpperCase();return"000000".substring(r.length)+r};ke.hex.rgb=function(t){let e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];let r=e[0];e[0].length===3&&(r=r.split("").map(a=>a+a).join(""));let n=parseInt(r,16),i=n>>16&255,s=n>>8&255,o=n&255;return[i,s,o]};ke.rgb.hcg=function(t){let e=t[0]/255,r=t[1]/255,n=t[2]/255,i=Math.max(Math.max(e,r),n),s=Math.min(Math.min(e,r),n),o=i-s,a,u;return o<1?a=s/(1-o):a=0,o<=0?u=0:i===e?u=(r-n)/o%6:i===r?u=2+(n-e)/o:u=4+(e-r)/o,u/=6,u%=1,[u*360,o*100,a*100]};ke.hsl.hcg=function(t){let e=t[1]/100,r=t[2]/100,n=r<.5?2*e*r:2*e*(1-r),i=0;return n<1&&(i=(r-.5*n)/(1-n)),[t[0],n*100,i*100]};ke.hsv.hcg=function(t){let e=t[1]/100,r=t[2]/100,n=e*r,i=0;return n<1&&(i=(r-n)/(1-n)),[t[0],n*100,i*100]};ke.hcg.rgb=function(t){let e=t[0]/360,r=t[1]/100,n=t[2]/100;if(r===0)return[n*255,n*255,n*255];let i=[0,0,0],s=e%1*6,o=s%1,a=1-o,u=0;switch(Math.floor(s)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return u=(1-r)*n,[(r*i[0]+u)*255,(r*i[1]+u)*255,(r*i[2]+u)*255]};ke.hcg.hsv=function(t){let e=t[1]/100,r=t[2]/100,n=e+r*(1-e),i=0;return n>0&&(i=e/n),[t[0],i*100,n*100]};ke.hcg.hsl=function(t){let e=t[1]/100,n=t[2]/100*(1-e)+.5*e,i=0;return n>0&&n<.5?i=e/(2*n):n>=.5&&n<1&&(i=e/(2*(1-n))),[t[0],i*100,n*100]};ke.hcg.hwb=function(t){let e=t[1]/100,r=t[2]/100,n=e+r*(1-e);return[t[0],(n-e)*100,(1-n)*100]};ke.hwb.hcg=function(t){let e=t[1]/100,n=1-t[2]/100,i=n-e,s=0;return i<1&&(s=(n-i)/(1-i)),[t[0],i*100,s*100]};ke.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};ke.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};ke.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};ke.gray.hsl=function(t){return[0,0,t[0]]};ke.gray.hsv=ke.gray.hsl;ke.gray.hwb=function(t){return[0,100,t[0]]};ke.gray.cmyk=function(t){return[0,0,0,t[0]]};ke.gray.lab=function(t){return[t[0],0,0]};ke.gray.hex=function(t){let e=Math.round(t[0]/100*255)&255,n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n};ke.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}});var xle=m((e3t,_le)=>{var iS=sL();function rft(){let t={},e=Object.keys(iS);for(let r=e.length,n=0;n<r;n++)t[e[n]]={distance:-1,parent:null};return t}function nft(t){let e=rft(),r=[t];for(e[t].distance=0;r.length;){let n=r.pop(),i=Object.keys(iS[n]);for(let s=i.length,o=0;o<s;o++){let a=i[o],u=e[a];u.distance===-1&&(u.distance=e[n].distance+1,u.parent=n,r.unshift(a))}}return e}function ift(t,e){return function(r){return e(t(r))}}function sft(t,e){let r=[e[t].parent,t],n=iS[e[t].parent][t],i=e[t].parent;for(;e[i].parent;)r.unshift(e[i].parent),n=ift(iS[e[i].parent][i],n),i=e[i].parent;return n.conversion=r,n}_le.exports=function(t){let e=nft(t),r={},n=Object.keys(e);for(let i=n.length,s=0;s<i;s++){let o=n[s];e[o].parent!==null&&(r[o]=sft(o,e))}return r}});var kle=m((t3t,Sle)=>{var oL=sL(),oft=xle(),bl={},aft=Object.keys(oL);function uft(t){let e=function(...r){let n=r[0];return n==null?n:(n.length>1&&(r=n),t(r))};return"conversion"in t&&(e.conversion=t.conversion),e}function lft(t){let e=function(...r){let n=r[0];if(n==null)return n;n.length>1&&(r=n);let i=t(r);if(typeof i=="object")for(let s=i.length,o=0;o<s;o++)i[o]=Math.round(i[o]);return i};return"conversion"in t&&(e.conversion=t.conversion),e}aft.forEach(t=>{bl[t]={},Object.defineProperty(bl[t],"channels",{value:oL[t].channels}),Object.defineProperty(bl[t],"labels",{value:oL[t].labels});let e=oft(t);Object.keys(e).forEach(n=>{let i=e[n];bl[t][n]=lft(i),bl[t][n].raw=uft(i)})});Sle.exports=bl});var Rle=m((r3t,qle)=>{"use strict";var Ele=(t,e)=>(...r)=>`\x1B[${t(...r)+e}m`,Cle=(t,e)=>(...r)=>{let n=t(...r);return`\x1B[${38+e};5;${n}m`},Dle=(t,e)=>(...r)=>{let n=t(...r);return`\x1B[${38+e};2;${n[0]};${n[1]};${n[2]}m`},sS=t=>t,Ole=(t,e,r)=>[t,e,r],vl=(t,e,r)=>{Object.defineProperty(t,e,{get:()=>{let n=r();return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0}),n},enumerable:!0,configurable:!0})},aL,wl=(t,e,r,n)=>{aL===void 0&&(aL=kle());let i=n?10:0,s={};for(let[o,a]of Object.entries(aL)){let u=o==="ansi16"?"ansi":o;o===e?s[u]=t(r,i):typeof a=="object"&&(s[u]=t(a[e],i))}return s};function cft(){let t=new Map,e={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};e.color.gray=e.color.blackBright,e.bgColor.bgGray=e.bgColor.bgBlackBright,e.color.grey=e.color.blackBright,e.bgColor.bgGrey=e.bgColor.bgBlackBright;for(let[r,n]of Object.entries(e)){for(let[i,s]of Object.entries(n))e[i]={open:`\x1B[${s[0]}m`,close:`\x1B[${s[1]}m`},n[i]=e[i],t.set(s[0],s[1]);Object.defineProperty(e,r,{value:n,enumerable:!1})}return Object.defineProperty(e,"codes",{value:t,enumerable:!1}),e.color.close="\x1B[39m",e.bgColor.close="\x1B[49m",vl(e.color,"ansi",()=>wl(Ele,"ansi16",sS,!1)),vl(e.color,"ansi256",()=>wl(Cle,"ansi256",sS,!1)),vl(e.color,"ansi16m",()=>wl(Dle,"rgb",Ole,!1)),vl(e.bgColor,"ansi",()=>wl(Ele,"ansi16",sS,!0)),vl(e.bgColor,"ansi256",()=>wl(Cle,"ansi256",sS,!0)),vl(e.bgColor,"ansi16m",()=>wl(Dle,"rgb",Ole,!0)),e}Object.defineProperty(qle,"exports",{enumerable:!0,get:cft})});var aS=m((n3t,Mle)=>{"use strict";var fft=nL(),dft=mle(),Ale=Rle(),Tle=["\x1B","\x9B"],oS=t=>`${Tle[0]}[${t}m`,Ple=(t,e,r)=>{let n=[];t=[...t];for(let i of t){let s=i;i.includes(";")&&(i=i.split(";")[0][0]+"0");let o=Ale.codes.get(Number.parseInt(i,10));if(o){let a=t.indexOf(o.toString());a===-1?n.push(oS(e?o:s)):t.splice(a,1)}else if(e){n.push(oS(0));break}else n.push(oS(s))}if(e&&(n=n.filter((i,s)=>n.indexOf(i)===s),r!==void 0)){let i=oS(Ale.codes.get(Number.parseInt(r,10)));n=n.reduce((s,o)=>o===i?[o,...s]:[...s,o],[])}return n.join("")};Mle.exports=(t,e,r)=>{let n=[...t],i=[],s=typeof r=="number"?r:n.length,o=!1,a,u=0,l="";for(let[c,f]of n.entries()){let d=!1;if(Tle.includes(f)){let p=/\d[^m]*/.exec(t.slice(c,c+18));a=p&&p.length>0?p[0]:void 0,u<s&&(o=!0,a!==void 0&&i.push(a))}else o&&f==="m"&&(o=!1,d=!0);if(!o&&!d&&u++,!dft({exact:!0}).test(f)&&fft(f.codePointAt())&&(u++,typeof r!="number"&&s++),u>e&&u<=s)l+=f;else if(u===e&&!o&&a!==void 0)l=Ple(i);else if(u>=s){l+=Ple(i,!0,a);break}}return l}});var uL=m(uS=>{"use strict";Object.defineProperty(uS,"__esModule",{value:!0});uS.getBorderCharacters=void 0;var pft=t=>{if(t==="honeywell")return{topBody:"\u2550",topJoin:"\u2564",topLeft:"\u2554",topRight:"\u2557",bottomBody:"\u2550",bottomJoin:"\u2567",bottomLeft:"\u255A",bottomRight:"\u255D",bodyLeft:"\u2551",bodyRight:"\u2551",bodyJoin:"\u2502",headerJoin:"\u252C",joinBody:"\u2500",joinLeft:"\u255F",joinRight:"\u2562",joinJoin:"\u253C",joinMiddleDown:"\u252C",joinMiddleUp:"\u2534",joinMiddleLeft:"\u2524",joinMiddleRight:"\u251C"};if(t==="norc")return{topBody:"\u2500",topJoin:"\u252C",topLeft:"\u250C",topRight:"\u2510",bottomBody:"\u2500",bottomJoin:"\u2534",bottomLeft:"\u2514",bottomRight:"\u2518",bodyLeft:"\u2502",bodyRight:"\u2502",bodyJoin:"\u2502",headerJoin:"\u252C",joinBody:"\u2500",joinLeft:"\u251C",joinRight:"\u2524",joinJoin:"\u253C",joinMiddleDown:"\u252C",joinMiddleUp:"\u2534",joinMiddleLeft:"\u2524",joinMiddleRight:"\u251C"};if(t==="ramac")return{topBody:"-",topJoin:"+",topLeft:"+",topRight:"+",bottomBody:"-",bottomJoin:"+",bottomLeft:"+",bottomRight:"+",bodyLeft:"|",bodyRight:"|",bodyJoin:"|",headerJoin:"+",joinBody:"-",joinLeft:"|",joinRight:"|",joinJoin:"|",joinMiddleDown:"+",joinMiddleUp:"+",joinMiddleLeft:"+",joinMiddleRight:"+"};if(t==="void")return{topBody:"",topJoin:"",topLeft:"",topRight:"",bottomBody:"",bottomJoin:"",bottomLeft:"",bottomRight:"",bodyLeft:"",bodyRight:"",bodyJoin:"",headerJoin:"",joinBody:"",joinLeft:"",joinRight:"",joinJoin:"",joinMiddleDown:"",joinMiddleUp:"",joinMiddleLeft:"",joinMiddleRight:""};throw new Error('Unknown border template "'+t+'".')};uS.getBorderCharacters=pft});var fr=m(et=>{"use strict";var lL=et&&et.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(et,"__esModule",{value:!0});et.isCellInRange=et.areCellEqual=et.calculateRangeCoordinate=et.findOriginalRowIndex=et.flatten=et.extractTruncates=et.sumArray=et.sequence=et.distributeUnevenly=et.countSpaceSequence=et.groupBySizes=et.makeBorderConfig=et.splitAnsi=et.normalizeString=void 0;var hft=lL(aS()),gft=lL(xa()),mft=lL(nS()),yft=uL(),bft=t=>t.replace(/\r\n/g,`
|
|
324
|
+
`)};function Yct(t,e){if(!e)return t;let r=e.url?` - ${e.url}`:"",n=e.fixable?" [maybe fixable]":"";return`${t}${n}${r}`}});var ole=m((HIt,sle)=>{"use strict";sle.exports=function(e){let r=e.map(n=>Object.entries(n).filter(([i])=>!i.startsWith("_")).reduce((i,[s,o])=>(i[s]=o,i),{}));return JSON.stringify(r)}});var ule=m((VIt,ale)=>{"use strict";ale.exports=({onlyFirst:t=!1}={})=>{let e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(e,t?void 0:"g")}});var nS=m((GIt,lle)=>{"use strict";var Qct=ule();lle.exports=t=>typeof t=="string"?t.replace(Qct(),""):t});var nL=m((KIt,rL)=>{"use strict";var cle=t=>Number.isNaN(t)?!1:t>=4352&&(t<=4447||t===9001||t===9002||11904<=t&&t<=12871&&t!==12351||12880<=t&&t<=19903||19968<=t&&t<=42182||43360<=t&&t<=43388||44032<=t&&t<=55203||63744<=t&&t<=64255||65040<=t&&t<=65049||65072<=t&&t<=65131||65281<=t&&t<=65376||65504<=t&&t<=65510||110592<=t&&t<=110593||127488<=t&&t<=127569||131072<=t&&t<=262141);rL.exports=cle;rL.exports.default=cle});var dle=m((YIt,fle)=>{"use strict";fle.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}});var xa=m((QIt,iL)=>{"use strict";var Jct=nS(),Xct=nL(),Zct=dle(),ple=t=>{if(typeof t!="string"||t.length===0||(t=Jct(t),t.length===0))return 0;t=t.replace(Zct()," ");let e=0;for(let r=0;r<t.length;r++){let n=t.codePointAt(r);n<=31||n>=127&&n<=159||n>=768&&n<=879||(n>65535&&r++,e+=Xct(n)?2:1)}return e};iL.exports=ple;iL.exports.default=ple});var mle=m((JIt,gle)=>{"use strict";var hle="[\uD800-\uDBFF][\uDC00-\uDFFF]",eft=t=>t&&t.exact?new RegExp(`^${hle}$`):new RegExp(hle,"g");gle.exports=eft});var ble=m((XIt,yle)=>{"use strict";yle.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var sL=m((ZIt,wle)=>{var tp=ble(),vle={};for(let t of Object.keys(tp))vle[tp[t]]=t;var ke={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};wle.exports=ke;for(let t of Object.keys(ke)){if(!("channels"in ke[t]))throw new Error("missing channels property: "+t);if(!("labels"in ke[t]))throw new Error("missing channel labels property: "+t);if(ke[t].labels.length!==ke[t].channels)throw new Error("channel and label counts mismatch: "+t);let{channels:e,labels:r}=ke[t];delete ke[t].channels,delete ke[t].labels,Object.defineProperty(ke[t],"channels",{value:e}),Object.defineProperty(ke[t],"labels",{value:r})}ke.rgb.hsl=function(t){let e=t[0]/255,r=t[1]/255,n=t[2]/255,i=Math.min(e,r,n),s=Math.max(e,r,n),o=s-i,a,u;s===i?a=0:e===s?a=(r-n)/o:r===s?a=2+(n-e)/o:n===s&&(a=4+(e-r)/o),a=Math.min(a*60,360),a<0&&(a+=360);let l=(i+s)/2;return s===i?u=0:l<=.5?u=o/(s+i):u=o/(2-s-i),[a,u*100,l*100]};ke.rgb.hsv=function(t){let e,r,n,i,s,o=t[0]/255,a=t[1]/255,u=t[2]/255,l=Math.max(o,a,u),c=l-Math.min(o,a,u),f=function(d){return(l-d)/6/c+1/2};return c===0?(i=0,s=0):(s=c/l,e=f(o),r=f(a),n=f(u),o===l?i=n-r:a===l?i=1/3+e-n:u===l&&(i=2/3+r-e),i<0?i+=1:i>1&&(i-=1)),[i*360,s*100,l*100]};ke.rgb.hwb=function(t){let e=t[0],r=t[1],n=t[2],i=ke.rgb.hsl(t)[0],s=1/255*Math.min(e,Math.min(r,n));return n=1-1/255*Math.max(e,Math.max(r,n)),[i,s*100,n*100]};ke.rgb.cmyk=function(t){let e=t[0]/255,r=t[1]/255,n=t[2]/255,i=Math.min(1-e,1-r,1-n),s=(1-e-i)/(1-i)||0,o=(1-r-i)/(1-i)||0,a=(1-n-i)/(1-i)||0;return[s*100,o*100,a*100,i*100]};function tft(t,e){return(t[0]-e[0])**2+(t[1]-e[1])**2+(t[2]-e[2])**2}ke.rgb.keyword=function(t){let e=vle[t];if(e)return e;let r=1/0,n;for(let i of Object.keys(tp)){let s=tp[i],o=tft(t,s);o<r&&(r=o,n=i)}return n};ke.keyword.rgb=function(t){return tp[t]};ke.rgb.xyz=function(t){let e=t[0]/255,r=t[1]/255,n=t[2]/255;e=e>.04045?((e+.055)/1.055)**2.4:e/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;let i=e*.4124+r*.3576+n*.1805,s=e*.2126+r*.7152+n*.0722,o=e*.0193+r*.1192+n*.9505;return[i*100,s*100,o*100]};ke.rgb.lab=function(t){let e=ke.rgb.xyz(t),r=e[0],n=e[1],i=e[2];r/=95.047,n/=100,i/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;let s=116*n-16,o=500*(r-n),a=200*(n-i);return[s,o,a]};ke.hsl.rgb=function(t){let e=t[0]/360,r=t[1]/100,n=t[2]/100,i,s,o;if(r===0)return o=n*255,[o,o,o];n<.5?i=n*(1+r):i=n+r-n*r;let a=2*n-i,u=[0,0,0];for(let l=0;l<3;l++)s=e+1/3*-(l-1),s<0&&s++,s>1&&s--,6*s<1?o=a+(i-a)*6*s:2*s<1?o=i:3*s<2?o=a+(i-a)*(2/3-s)*6:o=a,u[l]=o*255;return u};ke.hsl.hsv=function(t){let e=t[0],r=t[1]/100,n=t[2]/100,i=r,s=Math.max(n,.01);n*=2,r*=n<=1?n:2-n,i*=s<=1?s:2-s;let o=(n+r)/2,a=n===0?2*i/(s+i):2*r/(n+r);return[e,a*100,o*100]};ke.hsv.rgb=function(t){let e=t[0]/60,r=t[1]/100,n=t[2]/100,i=Math.floor(e)%6,s=e-Math.floor(e),o=255*n*(1-r),a=255*n*(1-r*s),u=255*n*(1-r*(1-s));switch(n*=255,i){case 0:return[n,u,o];case 1:return[a,n,o];case 2:return[o,n,u];case 3:return[o,a,n];case 4:return[u,o,n];case 5:return[n,o,a]}};ke.hsv.hsl=function(t){let e=t[0],r=t[1]/100,n=t[2]/100,i=Math.max(n,.01),s,o;o=(2-r)*n;let a=(2-r)*i;return s=r*i,s/=a<=1?a:2-a,s=s||0,o/=2,[e,s*100,o*100]};ke.hwb.rgb=function(t){let e=t[0]/360,r=t[1]/100,n=t[2]/100,i=r+n,s;i>1&&(r/=i,n/=i);let o=Math.floor(6*e),a=1-n;s=6*e-o,o&1&&(s=1-s);let u=r+s*(a-r),l,c,f;switch(o){default:case 6:case 0:l=a,c=u,f=r;break;case 1:l=u,c=a,f=r;break;case 2:l=r,c=a,f=u;break;case 3:l=r,c=u,f=a;break;case 4:l=u,c=r,f=a;break;case 5:l=a,c=r,f=u;break}return[l*255,c*255,f*255]};ke.cmyk.rgb=function(t){let e=t[0]/100,r=t[1]/100,n=t[2]/100,i=t[3]/100,s=1-Math.min(1,e*(1-i)+i),o=1-Math.min(1,r*(1-i)+i),a=1-Math.min(1,n*(1-i)+i);return[s*255,o*255,a*255]};ke.xyz.rgb=function(t){let e=t[0]/100,r=t[1]/100,n=t[2]/100,i,s,o;return i=e*3.2406+r*-1.5372+n*-.4986,s=e*-.9689+r*1.8758+n*.0415,o=e*.0557+r*-.204+n*1.057,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),o=Math.min(Math.max(0,o),1),[i*255,s*255,o*255]};ke.xyz.lab=function(t){let e=t[0],r=t[1],n=t[2];e/=95.047,r/=100,n/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;let i=116*r-16,s=500*(e-r),o=200*(r-n);return[i,s,o]};ke.lab.xyz=function(t){let e=t[0],r=t[1],n=t[2],i,s,o;s=(e+16)/116,i=r/500+s,o=s-n/200;let a=s**3,u=i**3,l=o**3;return s=a>.008856?a:(s-16/116)/7.787,i=u>.008856?u:(i-16/116)/7.787,o=l>.008856?l:(o-16/116)/7.787,i*=95.047,s*=100,o*=108.883,[i,s,o]};ke.lab.lch=function(t){let e=t[0],r=t[1],n=t[2],i;i=Math.atan2(n,r)*360/2/Math.PI,i<0&&(i+=360);let o=Math.sqrt(r*r+n*n);return[e,o,i]};ke.lch.lab=function(t){let e=t[0],r=t[1],i=t[2]/360*2*Math.PI,s=r*Math.cos(i),o=r*Math.sin(i);return[e,s,o]};ke.rgb.ansi16=function(t,e=null){let[r,n,i]=t,s=e===null?ke.rgb.hsv(t)[2]:e;if(s=Math.round(s/50),s===0)return 30;let o=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return s===2&&(o+=60),o};ke.hsv.ansi16=function(t){return ke.rgb.ansi16(ke.hsv.rgb(t),t[2])};ke.rgb.ansi256=function(t){let e=t[0],r=t[1],n=t[2];return e===r&&r===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)};ke.ansi16.rgb=function(t){let e=t%10;if(e===0||e===7)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];let r=(~~(t>50)+1)*.5,n=(e&1)*r*255,i=(e>>1&1)*r*255,s=(e>>2&1)*r*255;return[n,i,s]};ke.ansi256.rgb=function(t){if(t>=232){let s=(t-232)*10+8;return[s,s,s]}t-=16;let e,r=Math.floor(t/36)/5*255,n=Math.floor((e=t%36)/6)/5*255,i=e%6/5*255;return[r,n,i]};ke.rgb.hex=function(t){let r=(((Math.round(t[0])&255)<<16)+((Math.round(t[1])&255)<<8)+(Math.round(t[2])&255)).toString(16).toUpperCase();return"000000".substring(r.length)+r};ke.hex.rgb=function(t){let e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];let r=e[0];e[0].length===3&&(r=r.split("").map(a=>a+a).join(""));let n=parseInt(r,16),i=n>>16&255,s=n>>8&255,o=n&255;return[i,s,o]};ke.rgb.hcg=function(t){let e=t[0]/255,r=t[1]/255,n=t[2]/255,i=Math.max(Math.max(e,r),n),s=Math.min(Math.min(e,r),n),o=i-s,a,u;return o<1?a=s/(1-o):a=0,o<=0?u=0:i===e?u=(r-n)/o%6:i===r?u=2+(n-e)/o:u=4+(e-r)/o,u/=6,u%=1,[u*360,o*100,a*100]};ke.hsl.hcg=function(t){let e=t[1]/100,r=t[2]/100,n=r<.5?2*e*r:2*e*(1-r),i=0;return n<1&&(i=(r-.5*n)/(1-n)),[t[0],n*100,i*100]};ke.hsv.hcg=function(t){let e=t[1]/100,r=t[2]/100,n=e*r,i=0;return n<1&&(i=(r-n)/(1-n)),[t[0],n*100,i*100]};ke.hcg.rgb=function(t){let e=t[0]/360,r=t[1]/100,n=t[2]/100;if(r===0)return[n*255,n*255,n*255];let i=[0,0,0],s=e%1*6,o=s%1,a=1-o,u=0;switch(Math.floor(s)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return u=(1-r)*n,[(r*i[0]+u)*255,(r*i[1]+u)*255,(r*i[2]+u)*255]};ke.hcg.hsv=function(t){let e=t[1]/100,r=t[2]/100,n=e+r*(1-e),i=0;return n>0&&(i=e/n),[t[0],i*100,n*100]};ke.hcg.hsl=function(t){let e=t[1]/100,n=t[2]/100*(1-e)+.5*e,i=0;return n>0&&n<.5?i=e/(2*n):n>=.5&&n<1&&(i=e/(2*(1-n))),[t[0],i*100,n*100]};ke.hcg.hwb=function(t){let e=t[1]/100,r=t[2]/100,n=e+r*(1-e);return[t[0],(n-e)*100,(1-n)*100]};ke.hwb.hcg=function(t){let e=t[1]/100,n=1-t[2]/100,i=n-e,s=0;return i<1&&(s=(n-i)/(1-i)),[t[0],i*100,s*100]};ke.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};ke.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};ke.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};ke.gray.hsl=function(t){return[0,0,t[0]]};ke.gray.hsv=ke.gray.hsl;ke.gray.hwb=function(t){return[0,100,t[0]]};ke.gray.cmyk=function(t){return[0,0,0,t[0]]};ke.gray.lab=function(t){return[t[0],0,0]};ke.gray.hex=function(t){let e=Math.round(t[0]/100*255)&255,n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n};ke.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}});var xle=m((e3t,_le)=>{var iS=sL();function rft(){let t={},e=Object.keys(iS);for(let r=e.length,n=0;n<r;n++)t[e[n]]={distance:-1,parent:null};return t}function nft(t){let e=rft(),r=[t];for(e[t].distance=0;r.length;){let n=r.pop(),i=Object.keys(iS[n]);for(let s=i.length,o=0;o<s;o++){let a=i[o],u=e[a];u.distance===-1&&(u.distance=e[n].distance+1,u.parent=n,r.unshift(a))}}return e}function ift(t,e){return function(r){return e(t(r))}}function sft(t,e){let r=[e[t].parent,t],n=iS[e[t].parent][t],i=e[t].parent;for(;e[i].parent;)r.unshift(e[i].parent),n=ift(iS[e[i].parent][i],n),i=e[i].parent;return n.conversion=r,n}_le.exports=function(t){let e=nft(t),r={},n=Object.keys(e);for(let i=n.length,s=0;s<i;s++){let o=n[s];e[o].parent!==null&&(r[o]=sft(o,e))}return r}});var kle=m((t3t,Sle)=>{var oL=sL(),oft=xle(),bl={},aft=Object.keys(oL);function uft(t){let e=function(...r){let n=r[0];return n==null?n:(n.length>1&&(r=n),t(r))};return"conversion"in t&&(e.conversion=t.conversion),e}function lft(t){let e=function(...r){let n=r[0];if(n==null)return n;n.length>1&&(r=n);let i=t(r);if(typeof i=="object")for(let s=i.length,o=0;o<s;o++)i[o]=Math.round(i[o]);return i};return"conversion"in t&&(e.conversion=t.conversion),e}aft.forEach(t=>{bl[t]={},Object.defineProperty(bl[t],"channels",{value:oL[t].channels}),Object.defineProperty(bl[t],"labels",{value:oL[t].labels});let e=oft(t);Object.keys(e).forEach(n=>{let i=e[n];bl[t][n]=lft(i),bl[t][n].raw=uft(i)})});Sle.exports=bl});var Rle=m((r3t,qle)=>{"use strict";var Ele=(t,e)=>(...r)=>`\x1B[${t(...r)+e}m`,Cle=(t,e)=>(...r)=>{let n=t(...r);return`\x1B[${38+e};5;${n}m`},Dle=(t,e)=>(...r)=>{let n=t(...r);return`\x1B[${38+e};2;${n[0]};${n[1]};${n[2]}m`},sS=t=>t,Ole=(t,e,r)=>[t,e,r],vl=(t,e,r)=>{Object.defineProperty(t,e,{get:()=>{let n=r();return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0}),n},enumerable:!0,configurable:!0})},aL,wl=(t,e,r,n)=>{aL===void 0&&(aL=kle());let i=n?10:0,s={};for(let[o,a]of Object.entries(aL)){let u=o==="ansi16"?"ansi":o;o===e?s[u]=t(r,i):typeof a=="object"&&(s[u]=t(a[e],i))}return s};function cft(){let t=new Map,e={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};e.color.gray=e.color.blackBright,e.bgColor.bgGray=e.bgColor.bgBlackBright,e.color.grey=e.color.blackBright,e.bgColor.bgGrey=e.bgColor.bgBlackBright;for(let[r,n]of Object.entries(e)){for(let[i,s]of Object.entries(n))e[i]={open:`\x1B[${s[0]}m`,close:`\x1B[${s[1]}m`},n[i]=e[i],t.set(s[0],s[1]);Object.defineProperty(e,r,{value:n,enumerable:!1})}return Object.defineProperty(e,"codes",{value:t,enumerable:!1}),e.color.close="\x1B[39m",e.bgColor.close="\x1B[49m",vl(e.color,"ansi",()=>wl(Ele,"ansi16",sS,!1)),vl(e.color,"ansi256",()=>wl(Cle,"ansi256",sS,!1)),vl(e.color,"ansi16m",()=>wl(Dle,"rgb",Ole,!1)),vl(e.bgColor,"ansi",()=>wl(Ele,"ansi16",sS,!0)),vl(e.bgColor,"ansi256",()=>wl(Cle,"ansi256",sS,!0)),vl(e.bgColor,"ansi16m",()=>wl(Dle,"rgb",Ole,!0)),e}Object.defineProperty(qle,"exports",{enumerable:!0,get:cft})});var aS=m((n3t,Mle)=>{"use strict";var fft=nL(),dft=mle(),Ale=Rle(),Tle=["\x1B","\x9B"],oS=t=>`${Tle[0]}[${t}m`,Ple=(t,e,r)=>{let n=[];t=[...t];for(let i of t){let s=i;i.includes(";")&&(i=i.split(";")[0][0]+"0");let o=Ale.codes.get(Number.parseInt(i,10));if(o){let a=t.indexOf(o.toString());a===-1?n.push(oS(e?o:s)):t.splice(a,1)}else if(e){n.push(oS(0));break}else n.push(oS(s))}if(e&&(n=n.filter((i,s)=>n.indexOf(i)===s),r!==void 0)){let i=oS(Ale.codes.get(Number.parseInt(r,10)));n=n.reduce((s,o)=>o===i?[o,...s]:[...s,o],[])}return n.join("")};Mle.exports=(t,e,r)=>{let n=[...t],i=[],s=typeof r=="number"?r:n.length,o=!1,a,u=0,l="";for(let[c,f]of n.entries()){let d=!1;if(Tle.includes(f)){let p=/\d[^m]*/.exec(t.slice(c,c+18));a=p&&p.length>0?p[0]:void 0,u<s&&(o=!0,a!==void 0&&i.push(a))}else o&&f==="m"&&(o=!1,d=!0);if(!o&&!d&&u++,!dft({exact:!0}).test(f)&&fft(f.codePointAt())&&(u++,typeof r!="number"&&s++),u>e&&u<=s)l+=f;else if(u===e&&!o&&a!==void 0)l=Ple(i);else if(u>=s){l+=Ple(i,!0,a);break}}return l}});var uL=m(uS=>{"use strict";Object.defineProperty(uS,"__esModule",{value:!0});uS.getBorderCharacters=void 0;var pft=t=>{if(t==="honeywell")return{topBody:"\u2550",topJoin:"\u2564",topLeft:"\u2554",topRight:"\u2557",bottomBody:"\u2550",bottomJoin:"\u2567",bottomLeft:"\u255A",bottomRight:"\u255D",bodyLeft:"\u2551",bodyRight:"\u2551",bodyJoin:"\u2502",headerJoin:"\u252C",joinBody:"\u2500",joinLeft:"\u255F",joinRight:"\u2562",joinJoin:"\u253C",joinMiddleDown:"\u252C",joinMiddleUp:"\u2534",joinMiddleLeft:"\u2524",joinMiddleRight:"\u251C"};if(t==="norc")return{topBody:"\u2500",topJoin:"\u252C",topLeft:"\u250C",topRight:"\u2510",bottomBody:"\u2500",bottomJoin:"\u2534",bottomLeft:"\u2514",bottomRight:"\u2518",bodyLeft:"\u2502",bodyRight:"\u2502",bodyJoin:"\u2502",headerJoin:"\u252C",joinBody:"\u2500",joinLeft:"\u251C",joinRight:"\u2524",joinJoin:"\u253C",joinMiddleDown:"\u252C",joinMiddleUp:"\u2534",joinMiddleLeft:"\u2524",joinMiddleRight:"\u251C"};if(t==="ramac")return{topBody:"-",topJoin:"+",topLeft:"+",topRight:"+",bottomBody:"-",bottomJoin:"+",bottomLeft:"+",bottomRight:"+",bodyLeft:"|",bodyRight:"|",bodyJoin:"|",headerJoin:"+",joinBody:"-",joinLeft:"|",joinRight:"|",joinJoin:"|",joinMiddleDown:"+",joinMiddleUp:"+",joinMiddleLeft:"+",joinMiddleRight:"+"};if(t==="void")return{topBody:"",topJoin:"",topLeft:"",topRight:"",bottomBody:"",bottomJoin:"",bottomLeft:"",bottomRight:"",bodyLeft:"",bodyRight:"",bodyJoin:"",headerJoin:"",joinBody:"",joinLeft:"",joinRight:"",joinJoin:"",joinMiddleDown:"",joinMiddleUp:"",joinMiddleLeft:"",joinMiddleRight:""};throw new Error('Unknown border template "'+t+'".')};uS.getBorderCharacters=pft});var dr=m(et=>{"use strict";var lL=et&&et.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(et,"__esModule",{value:!0});et.isCellInRange=et.areCellEqual=et.calculateRangeCoordinate=et.findOriginalRowIndex=et.flatten=et.extractTruncates=et.sumArray=et.sequence=et.distributeUnevenly=et.countSpaceSequence=et.groupBySizes=et.makeBorderConfig=et.splitAnsi=et.normalizeString=void 0;var hft=lL(aS()),gft=lL(xa()),mft=lL(nS()),yft=uL(),bft=t=>t.replace(/\r\n/g,`
|
|
325
325
|
`);et.normalizeString=bft;var vft=t=>{let e=(0,mft.default)(t).split(`
|
|
326
|
-
`).map(gft.default),r=[],n=0;return e.forEach(i=>{r.push(i===0?"":(0,hft.default)(t,n,n+i)),n+=i+1}),r};et.splitAnsi=vft;var wft=t=>({...(0,yft.getBorderCharacters)("honeywell"),...t});et.makeBorderConfig=wft;var _ft=(t,e)=>{let r=0;return e.map(n=>{let i=t.slice(r,r+n);return r+=n,i})};et.groupBySizes=_ft;var xft=t=>{var e,r;return(r=(e=t.match(/\s+/g))===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:0};et.countSpaceSequence=xft;var Sft=(t,e)=>Array.from({length:e}).fill(Math.floor(t/e)).map((n,i)=>n+(i<t%e?1:0));et.distributeUnevenly=Sft;var kft=(t,e)=>Array.from({length:e-t+1},(r,n)=>n+t);et.sequence=kft;var Eft=t=>t.reduce((e,r)=>e+r,0);et.sumArray=Eft;var Cft=t=>t.columns.map(({truncate:e})=>e);et.extractTruncates=Cft;var Dft=t=>[].concat(...t);et.flatten=Dft;var Oft=(t,e)=>(0,et.flatten)(t.map((n,i)=>Array.from({length:n},()=>i)))[e];et.findOriginalRowIndex=Oft;var qft=t=>{let{row:e,col:r,colSpan:n=1,rowSpan:i=1}=t;return{bottomRight:{col:r+n-1,row:e+i-1},topLeft:{col:r,row:e}}};et.calculateRangeCoordinate=qft;var Rft=(t,e)=>t.row===e.row&&t.col===e.col;et.areCellEqual=Rft;var Aft=(t,{topLeft:e,bottomRight:r})=>e.row<=t.row&&t.row<=r.row&&e.col<=t.col&&t.col<=r.col;et.isCellInRange=Aft});var fL=m(_l=>{"use strict";var Pft=_l&&_l.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(_l,"__esModule",{value:!0});_l.alignString=void 0;var Tft=Pft(xa()),Lle=
|
|
326
|
+
`).map(gft.default),r=[],n=0;return e.forEach(i=>{r.push(i===0?"":(0,hft.default)(t,n,n+i)),n+=i+1}),r};et.splitAnsi=vft;var wft=t=>({...(0,yft.getBorderCharacters)("honeywell"),...t});et.makeBorderConfig=wft;var _ft=(t,e)=>{let r=0;return e.map(n=>{let i=t.slice(r,r+n);return r+=n,i})};et.groupBySizes=_ft;var xft=t=>{var e,r;return(r=(e=t.match(/\s+/g))===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:0};et.countSpaceSequence=xft;var Sft=(t,e)=>Array.from({length:e}).fill(Math.floor(t/e)).map((n,i)=>n+(i<t%e?1:0));et.distributeUnevenly=Sft;var kft=(t,e)=>Array.from({length:e-t+1},(r,n)=>n+t);et.sequence=kft;var Eft=t=>t.reduce((e,r)=>e+r,0);et.sumArray=Eft;var Cft=t=>t.columns.map(({truncate:e})=>e);et.extractTruncates=Cft;var Dft=t=>[].concat(...t);et.flatten=Dft;var Oft=(t,e)=>(0,et.flatten)(t.map((n,i)=>Array.from({length:n},()=>i)))[e];et.findOriginalRowIndex=Oft;var qft=t=>{let{row:e,col:r,colSpan:n=1,rowSpan:i=1}=t;return{bottomRight:{col:r+n-1,row:e+i-1},topLeft:{col:r,row:e}}};et.calculateRangeCoordinate=qft;var Rft=(t,e)=>t.row===e.row&&t.col===e.col;et.areCellEqual=Rft;var Aft=(t,{topLeft:e,bottomRight:r})=>e.row<=t.row&&t.row<=r.row&&e.col<=t.col&&t.col<=r.col;et.isCellInRange=Aft});var fL=m(_l=>{"use strict";var Pft=_l&&_l.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(_l,"__esModule",{value:!0});_l.alignString=void 0;var Tft=Pft(xa()),Lle=dr(),cL=(t,e)=>t+" ".repeat(e),Mft=(t,e)=>" ".repeat(e)+t,Lft=(t,e)=>" ".repeat(Math.floor(e/2))+t+" ".repeat(Math.ceil(e/2)),Fft=(t,e)=>{let r=(0,Lle.countSpaceSequence)(t);if(r===0)return cL(t,e);let n=(0,Lle.distributeUnevenly)(e,r);if(Math.max(...n)>3)return cL(t,e);let i=0;return t.replace(/\s+/g,s=>s+" ".repeat(n[i++]))},Ift=(t,e,r)=>{let n=(0,Tft.default)(t);if(n===e)return t;if(n>e)throw new Error("Subject parameter value width cannot be greater than the container width.");if(n===0)return" ".repeat(e);let i=e-n;return r==="left"?cL(t,i):r==="right"?Mft(t,i):r==="justify"?Fft(t,i):Lft(t,i)};_l.alignString=Ift});var dL=m(lS=>{"use strict";Object.defineProperty(lS,"__esModule",{value:!0});lS.alignTableData=void 0;var Nft=fL(),jft=(t,e)=>t.map((r,n)=>r.map((i,s)=>{var o;let{width:a,alignment:u}=e.columns[s];return((o=e.spanningCellManager)===null||o===void 0?void 0:o.getContainingRange({col:s,row:n},{mapped:!0}))?i:(0,Nft.alignString)(i,a,u)}));lS.alignTableData=jft});var Nle=m(xl=>{"use strict";var Ile=xl&&xl.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(xl,"__esModule",{value:!0});xl.wrapString=void 0;var Fle=Ile(aS()),$ft=Ile(xa()),Bft=(t,e)=>{let r=t,n=[];do n.push((0,Fle.default)(r,0,e)),r=(0,Fle.default)(r,e).trim();while((0,$ft.default)(r));return n};xl.wrapString=Bft});var $le=m(Sl=>{"use strict";var jle=Sl&&Sl.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Sl,"__esModule",{value:!0});Sl.wrapWord=void 0;var Wft=jle(aS()),zft=jle(nS()),Uft=(t,e)=>{let r=(0,zft.default)(t),n=[],i=new RegExp("(^.{1,"+String(Math.max(e,1))+"}(\\s+|$))|(^.{1,"+String(Math.max(e-1,1))+"}(\\\\|/|_|\\.|,|;|-))");do{let s,o=i.exec(r);if(o){s=o[0],r=r.slice(s.length);let a=s.trim().length,u=s.length-a;n.push([a,u])}else s=r.slice(0,e),r=r.slice(e),n.push([s.length,0])}while(r.length);return n},Hft=(t,e)=>{let r=[],n=0;return Uft(t,e).forEach(([i,s])=>{r.push((0,Wft.default)(t,n,n+i)),n+=i+s}),r};Sl.wrapWord=Hft});var fS=m(cS=>{"use strict";Object.defineProperty(cS,"__esModule",{value:!0});cS.wrapCell=void 0;var Vft=dr(),Gft=Nle(),Kft=$le(),Yft=(t,e,r)=>{let n=(0,Vft.splitAnsi)(t);for(let i=0;i<n.length;){let s;r?s=(0,Kft.wrapWord)(n[i],e):s=(0,Gft.wrapString)(n[i],e),n.splice(i,1,...s),i+=s.length}return n};cS.wrapCell=Yft});var Ble=m(dS=>{"use strict";Object.defineProperty(dS,"__esModule",{value:!0});dS.calculateCellHeight=void 0;var Qft=fS(),Jft=(t,e,r=!1)=>(0,Qft.wrapCell)(t,e,r).length;dS.calculateCellHeight=Jft});var pL=m(pS=>{"use strict";Object.defineProperty(pS,"__esModule",{value:!0});pS.calculateRowHeights=void 0;var Xft=Ble(),Wle=dr(),Zft=(t,e)=>{let r=[];for(let[n,i]of t.entries()){let s=1;i.forEach((o,a)=>{var u;let l=(u=e.spanningCellManager)===null||u===void 0?void 0:u.getContainingRange({col:a,row:n});if(!l){let p=(0,Xft.calculateCellHeight)(o,e.columns[a].width,e.columns[a].wrapWord);s=Math.max(s,p);return}let{topLeft:c,bottomRight:f,height:d}=l;if(n===f.row){let p=(0,Wle.sumArray)(r.slice(c.row)),h=f.row-c.row,y=(0,Wle.sequence)(c.row+1,f.row).filter(g=>{var b;return!(!((b=e.drawHorizontalLine)===null||b===void 0)&&b.call(e,g,t.length))}).length,v=d-p-h+y;s=Math.max(s,v)}}),r.push(s)}return r};pS.calculateRowHeights=Zft});var gS=m(hS=>{"use strict";Object.defineProperty(hS,"__esModule",{value:!0});hS.drawContent=void 0;var edt=t=>{let{contents:e,separatorGetter:r,drawSeparator:n,spanningCellManager:i,rowIndex:s,elementType:o}=t,a=e.length,u=[];return n(0,a)&&u.push(r(0,a)),e.forEach((l,c)=>{if((!o||o==="border"||o==="row")&&u.push(l),o==="cell"&&s===void 0&&u.push(l),o==="cell"&&s!==void 0){let f=i?.getContainingRange({col:c,row:s});(!f||c===f.topLeft.col)&&u.push(l)}if(c+1<a&&n(c+1,a)){let f=r(c+1,a);if(o==="cell"&&s!==void 0){let d={col:c+1,row:s},p=i?.getContainingRange(d);(!p||p.topLeft.col===d.col)&&u.push(f)}else u.push(f)}}),n(a,a)&&u.push(r(a,a)),u.join("")};hS.drawContent=edt});var hL=m(Ft=>{"use strict";Object.defineProperty(Ft,"__esModule",{value:!0});Ft.createTableBorderGetter=Ft.drawBorderBottom=Ft.drawBorderJoin=Ft.drawBorderTop=Ft.drawBorder=Ft.createSeparatorGetter=Ft.drawBorderSegments=void 0;var tdt=gS(),rdt=(t,e)=>{let{separator:r,horizontalBorderIndex:n,spanningCellManager:i}=e;return t.map((s,o)=>{let a=r.body.repeat(s);if(n===void 0)return a;let u=i?.getContainingRange({col:o,row:n});if(!u)return a;let{topLeft:l}=u;return n===l.row?a:o!==l.col?"":u.extractBorderContent(n)})};Ft.drawBorderSegments=rdt;var ndt=t=>{let{separator:e,spanningCellManager:r,horizontalBorderIndex:n,rowCount:i}=t;return(s,o)=>{let a=r?.inSameRange;if(n!==void 0&&a){let u={col:s,row:n-1},l={col:s-1,row:n},c={col:s-1,row:n-1},f={col:s,row:n},d=[[c,u],[u,f],[f,l],[l,c]];if(s===0)return a(f,u)&&e.bodyJoinOuter?e.bodyJoinOuter:e.left;if(s===o)return a(c,l)&&e.bodyJoinOuter?e.bodyJoinOuter:e.right;if(n===0)return a(f,l)?e.body:e.join;if(n===i)return a(u,c)?e.body:e.join;let p=d.map(h=>a(...h)).filter(Boolean).length;if(p===0)return e.join;if(p===4)return"";if(p===2)return a(...d[1])&&a(...d[3])&&e.bodyJoinInner?e.bodyJoinInner:e.body;if(p===1){if(!e.joinRight||!e.joinLeft||!e.joinUp||!e.joinDown)throw new Error(`Can not get border separator for position [${n}, ${s}]`);return a(...d[0])?e.joinDown:a(...d[1])?e.joinLeft:a(...d[2])?e.joinUp:e.joinRight}throw new Error("Invalid case")}return s===0?e.left:s===o?e.right:e.join}};Ft.createSeparatorGetter=ndt;var idt=(t,e)=>{let r=(0,Ft.drawBorderSegments)(t,e),{drawVerticalLine:n,horizontalBorderIndex:i,spanningCellManager:s}=e;return(0,tdt.drawContent)({contents:r,drawSeparator:n,elementType:"border",rowIndex:i,separatorGetter:(0,Ft.createSeparatorGetter)(e),spanningCellManager:s})+`
|
|
327
327
|
`};Ft.drawBorder=idt;var sdt=(t,e)=>{let{border:r}=e,n=(0,Ft.drawBorder)(t,{...e,separator:{body:r.topBody,join:r.topJoin,left:r.topLeft,right:r.topRight}});return n===`
|
|
328
328
|
`?"":n};Ft.drawBorderTop=sdt;var odt=(t,e)=>{let{border:r}=e;return(0,Ft.drawBorder)(t,{...e,separator:{body:r.joinBody,bodyJoinInner:r.bodyJoin,bodyJoinOuter:r.bodyLeft,join:r.joinJoin,joinDown:r.joinMiddleDown,joinLeft:r.joinMiddleLeft,joinRight:r.joinMiddleRight,joinUp:r.joinMiddleUp,left:r.joinLeft,right:r.joinRight}})};Ft.drawBorderJoin=odt;var adt=(t,e)=>{let{border:r}=e;return(0,Ft.drawBorder)(t,{...e,separator:{body:r.bottomBody,join:r.bottomJoin,left:r.bottomLeft,right:r.bottomRight}})};Ft.drawBorderBottom=adt;var udt=(t,e)=>(r,n)=>{let i={...e,horizontalBorderIndex:r};return r===0?(0,Ft.drawBorderTop)(t,i):r===n?(0,Ft.drawBorderBottom)(t,i):(0,Ft.drawBorderJoin)(t,i)};Ft.createTableBorderGetter=udt});var gL=m(mS=>{"use strict";Object.defineProperty(mS,"__esModule",{value:!0});mS.drawRow=void 0;var ldt=gS(),cdt=(t,e)=>{let{border:r,drawVerticalLine:n,rowIndex:i,spanningCellManager:s}=e;return(0,ldt.drawContent)({contents:t,drawSeparator:n,elementType:"cell",rowIndex:i,separatorGetter:(o,a)=>o===0?r.bodyLeft:o===a?r.bodyRight:r.bodyJoin,spanningCellManager:s})+`
|
|
329
|
-
`};mS.drawRow=cdt});var Ule=m((m3t,zle)=>{"use strict";zle.exports=function t(e,r){if(e===r)return!0;if(e&&r&&typeof e=="object"&&typeof r=="object"){if(e.constructor!==r.constructor)return!1;var n,i,s;if(Array.isArray(e)){if(n=e.length,n!=r.length)return!1;for(i=n;i--!==0;)if(!t(e[i],r[i]))return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===r.toString();if(s=Object.keys(e),n=s.length,n!==Object.keys(r).length)return!1;for(i=n;i--!==0;)if(!Object.prototype.hasOwnProperty.call(r,s[i]))return!1;for(i=n;i--!==0;){var o=s[i];if(!t(e[o],r[o]))return!1}return!0}return e!==e&&r!==r}});var Vle=m(mL=>{"use strict";Object.defineProperty(mL,"__esModule",{value:!0});var Hle=Ule();Hle.code='require("ajv/dist/runtime/equal").default';mL.default=Hle});var Xle=m(bL=>{"use strict";bL["config.json"]=Qle;var fdt={$id:"config.json",$schema:"http://json-schema.org/draft-07/schema#",type:"object",properties:{border:{$ref:"shared.json#/definitions/borders"},header:{type:"object",properties:{content:{type:"string"},alignment:{$ref:"shared.json#/definitions/alignment"},wrapWord:{type:"boolean"},truncate:{type:"integer"},paddingLeft:{type:"integer"},paddingRight:{type:"integer"}},required:["content"],additionalProperties:!1},columns:{$ref:"shared.json#/definitions/columns"},columnDefault:{$ref:"shared.json#/definitions/column"},drawVerticalLine:{typeof:"function"},drawHorizontalLine:{typeof:"function"},singleLine:{typeof:"boolean"},spanningCells:{type:"array",items:{type:"object",properties:{col:{type:"integer",minimum:0},row:{type:"integer",minimum:0},colSpan:{type:"integer",minimum:1},rowSpan:{type:"integer",minimum:1},alignment:{$ref:"shared.json#/definitions/alignment"},verticalAlignment:{$ref:"shared.json#/definitions/verticalAlignment"},wrapWord:{type:"boolean"},truncate:{type:"integer"},paddingLeft:{type:"integer"},paddingRight:{type:"integer"}},required:["row","col"],additionalProperties:!1}}},additionalProperties:!1},Gle={type:"object",properties:{topBody:{$ref:"#/definitions/border"},topJoin:{$ref:"#/definitions/border"},topLeft:{$ref:"#/definitions/border"},topRight:{$ref:"#/definitions/border"},bottomBody:{$ref:"#/definitions/border"},bottomJoin:{$ref:"#/definitions/border"},bottomLeft:{$ref:"#/definitions/border"},bottomRight:{$ref:"#/definitions/border"},bodyLeft:{$ref:"#/definitions/border"},bodyRight:{$ref:"#/definitions/border"},bodyJoin:{$ref:"#/definitions/border"},headerJoin:{$ref:"#/definitions/border"},joinBody:{$ref:"#/definitions/border"},joinLeft:{$ref:"#/definitions/border"},joinRight:{$ref:"#/definitions/border"},joinJoin:{$ref:"#/definitions/border"},joinMiddleUp:{$ref:"#/definitions/border"},joinMiddleDown:{$ref:"#/definitions/border"},joinMiddleLeft:{$ref:"#/definitions/border"},joinMiddleRight:{$ref:"#/definitions/border"}},additionalProperties:!1},yL=Object.prototype.hasOwnProperty;function Z(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(typeof t!="string"){let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"string"},message:"must be string"};s===null?s=[a]:s.push(a),o++}return Z.errors=s,o===0}function yS(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(t&&typeof t=="object"&&!Array.isArray(t)){for(let a in t)if(!yL.call(Gle.properties,a)){let u={instancePath:e,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"};s===null?s=[u]:s.push(u),o++}t.topBody!==void 0&&(Z(t.topBody,{instancePath:e+"/topBody",parentData:t,parentDataProperty:"topBody",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.topJoin!==void 0&&(Z(t.topJoin,{instancePath:e+"/topJoin",parentData:t,parentDataProperty:"topJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.topLeft!==void 0&&(Z(t.topLeft,{instancePath:e+"/topLeft",parentData:t,parentDataProperty:"topLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.topRight!==void 0&&(Z(t.topRight,{instancePath:e+"/topRight",parentData:t,parentDataProperty:"topRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bottomBody!==void 0&&(Z(t.bottomBody,{instancePath:e+"/bottomBody",parentData:t,parentDataProperty:"bottomBody",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bottomJoin!==void 0&&(Z(t.bottomJoin,{instancePath:e+"/bottomJoin",parentData:t,parentDataProperty:"bottomJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bottomLeft!==void 0&&(Z(t.bottomLeft,{instancePath:e+"/bottomLeft",parentData:t,parentDataProperty:"bottomLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bottomRight!==void 0&&(Z(t.bottomRight,{instancePath:e+"/bottomRight",parentData:t,parentDataProperty:"bottomRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bodyLeft!==void 0&&(Z(t.bodyLeft,{instancePath:e+"/bodyLeft",parentData:t,parentDataProperty:"bodyLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bodyRight!==void 0&&(Z(t.bodyRight,{instancePath:e+"/bodyRight",parentData:t,parentDataProperty:"bodyRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bodyJoin!==void 0&&(Z(t.bodyJoin,{instancePath:e+"/bodyJoin",parentData:t,parentDataProperty:"bodyJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.headerJoin!==void 0&&(Z(t.headerJoin,{instancePath:e+"/headerJoin",parentData:t,parentDataProperty:"headerJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinBody!==void 0&&(Z(t.joinBody,{instancePath:e+"/joinBody",parentData:t,parentDataProperty:"joinBody",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinLeft!==void 0&&(Z(t.joinLeft,{instancePath:e+"/joinLeft",parentData:t,parentDataProperty:"joinLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinRight!==void 0&&(Z(t.joinRight,{instancePath:e+"/joinRight",parentData:t,parentDataProperty:"joinRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinJoin!==void 0&&(Z(t.joinJoin,{instancePath:e+"/joinJoin",parentData:t,parentDataProperty:"joinJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinMiddleUp!==void 0&&(Z(t.joinMiddleUp,{instancePath:e+"/joinMiddleUp",parentData:t,parentDataProperty:"joinMiddleUp",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinMiddleDown!==void 0&&(Z(t.joinMiddleDown,{instancePath:e+"/joinMiddleDown",parentData:t,parentDataProperty:"joinMiddleDown",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinMiddleLeft!==void 0&&(Z(t.joinMiddleLeft,{instancePath:e+"/joinMiddleLeft",parentData:t,parentDataProperty:"joinMiddleLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinMiddleRight!==void 0&&(Z(t.joinMiddleRight,{instancePath:e+"/joinMiddleRight",parentData:t,parentDataProperty:"joinMiddleRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length))}else{let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[a]:s.push(a),o++}return yS.errors=s,o===0}var Kle={type:"string",enum:["left","right","center","justify"]},b3t=Vle().default;function Sa(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(typeof t!="string"){let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"string"},message:"must be string"};s===null?s=[a]:s.push(a),o++}if(!(t==="left"||t==="right"||t==="center"||t==="justify")){let a={instancePath:e,schemaPath:"#/enum",keyword:"enum",params:{allowedValues:Kle.enum},message:"must be equal to one of the allowed values"};s===null?s=[a]:s.push(a),o++}return Sa.errors=s,o===0}var kS=new RegExp("^[0-9]+$","u");function Fi(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(typeof t!="string"){let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"string"},message:"must be string"};s===null?s=[a]:s.push(a),o++}if(!(t==="left"||t==="right"||t==="center"||t==="justify")){let a={instancePath:e,schemaPath:"#/enum",keyword:"enum",params:{allowedValues:Kle.enum},message:"must be equal to one of the allowed values"};s===null?s=[a]:s.push(a),o++}return Fi.errors=s,o===0}var Yle={type:"string",enum:["top","middle","bottom"]};function Ii(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(typeof t!="string"){let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"string"},message:"must be string"};s===null?s=[a]:s.push(a),o++}if(!(t==="top"||t==="middle"||t==="bottom")){let a={instancePath:e,schemaPath:"#/enum",keyword:"enum",params:{allowedValues:Yle.enum},message:"must be equal to one of the allowed values"};s===null?s=[a]:s.push(a),o++}return Ii.errors=s,o===0}function xn(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(t&&typeof t=="object"&&!Array.isArray(t)){for(let a in t)if(!(a==="alignment"||a==="verticalAlignment"||a==="width"||a==="wrapWord"||a==="truncate"||a==="paddingLeft"||a==="paddingRight")){let u={instancePath:e,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"};s===null?s=[u]:s.push(u),o++}if(t.alignment!==void 0&&(Fi(t.alignment,{instancePath:e+"/alignment",parentData:t,parentDataProperty:"alignment",rootData:i})||(s=s===null?Fi.errors:s.concat(Fi.errors),o=s.length)),t.verticalAlignment!==void 0&&(Ii(t.verticalAlignment,{instancePath:e+"/verticalAlignment",parentData:t,parentDataProperty:"verticalAlignment",rootData:i})||(s=s===null?Ii.errors:s.concat(Ii.errors),o=s.length)),t.width!==void 0){let a=t.width;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/width",schemaPath:"#/properties/width/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}if(typeof a=="number"&&isFinite(a)&&(a<1||isNaN(a))){let u={instancePath:e+"/width",schemaPath:"#/properties/width/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"};s===null?s=[u]:s.push(u),o++}}if(t.wrapWord!==void 0&&typeof t.wrapWord!="boolean"){let a={instancePath:e+"/wrapWord",schemaPath:"#/properties/wrapWord/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};s===null?s=[a]:s.push(a),o++}if(t.truncate!==void 0){let a=t.truncate;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/truncate",schemaPath:"#/properties/truncate/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}}if(t.paddingLeft!==void 0){let a=t.paddingLeft;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/paddingLeft",schemaPath:"#/properties/paddingLeft/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}}if(t.paddingRight!==void 0){let a=t.paddingRight;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/paddingRight",schemaPath:"#/properties/paddingRight/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}}}else{let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[a]:s.push(a),o++}return xn.errors=s,o===0}function bS(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0,a=o,u=!1,l=null,c=o;if(t&&typeof t=="object"&&!Array.isArray(t)){for(let p in t)if(!kS.test(p)){let h={instancePath:e,schemaPath:"#/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:p},message:"must NOT have additional properties"};s===null?s=[h]:s.push(h),o++}for(let p in t)kS.test(p)&&(xn(t[p],{instancePath:e+"/"+p.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:t,parentDataProperty:p,rootData:i})||(s=s===null?xn.errors:s.concat(xn.errors),o=s.length))}else{let p={instancePath:e,schemaPath:"#/oneOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[p]:s.push(p),o++}var d=c===o;d&&(u=!0,l=0);let f=o;if(Array.isArray(t)){let p=t.length;for(let h=0;h<p;h++)xn(t[h],{instancePath:e+"/"+h,parentData:t,parentDataProperty:h,rootData:i})||(s=s===null?xn.errors:s.concat(xn.errors),o=s.length)}else{let p={instancePath:e,schemaPath:"#/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};s===null?s=[p]:s.push(p),o++}var d=f===o;if(d&&u?(u=!1,l=[l,1]):d&&(u=!0,l=1),u)o=a,s!==null&&(a?s.length=a:s=null);else{let p={instancePath:e,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};s===null?s=[p]:s.push(p),o++}return bS.errors=s,o===0}function vS(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(t&&typeof t=="object"&&!Array.isArray(t)){for(let a in t)if(!(a==="alignment"||a==="verticalAlignment"||a==="width"||a==="wrapWord"||a==="truncate"||a==="paddingLeft"||a==="paddingRight")){let u={instancePath:e,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"};s===null?s=[u]:s.push(u),o++}if(t.alignment!==void 0&&(Fi(t.alignment,{instancePath:e+"/alignment",parentData:t,parentDataProperty:"alignment",rootData:i})||(s=s===null?Fi.errors:s.concat(Fi.errors),o=s.length)),t.verticalAlignment!==void 0&&(Ii(t.verticalAlignment,{instancePath:e+"/verticalAlignment",parentData:t,parentDataProperty:"verticalAlignment",rootData:i})||(s=s===null?Ii.errors:s.concat(Ii.errors),o=s.length)),t.width!==void 0){let a=t.width;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/width",schemaPath:"#/properties/width/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}if(typeof a=="number"&&isFinite(a)&&(a<1||isNaN(a))){let u={instancePath:e+"/width",schemaPath:"#/properties/width/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"};s===null?s=[u]:s.push(u),o++}}if(t.wrapWord!==void 0&&typeof t.wrapWord!="boolean"){let a={instancePath:e+"/wrapWord",schemaPath:"#/properties/wrapWord/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};s===null?s=[a]:s.push(a),o++}if(t.truncate!==void 0){let a=t.truncate;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/truncate",schemaPath:"#/properties/truncate/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}}if(t.paddingLeft!==void 0){let a=t.paddingLeft;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/paddingLeft",schemaPath:"#/properties/paddingLeft/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}}if(t.paddingRight!==void 0){let a=t.paddingRight;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/paddingRight",schemaPath:"#/properties/paddingRight/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}}}else{let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[a]:s.push(a),o++}return vS.errors=s,o===0}function wS(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(typeof t!="string"){let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"string"},message:"must be string"};s===null?s=[a]:s.push(a),o++}if(!(t==="top"||t==="middle"||t==="bottom")){let a={instancePath:e,schemaPath:"#/enum",keyword:"enum",params:{allowedValues:Yle.enum},message:"must be equal to one of the allowed values"};s===null?s=[a]:s.push(a),o++}return wS.errors=s,o===0}function Qle(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(t&&typeof t=="object"&&!Array.isArray(t)){for(let a in t)if(!(a==="border"||a==="header"||a==="columns"||a==="columnDefault"||a==="drawVerticalLine"||a==="drawHorizontalLine"||a==="singleLine"||a==="spanningCells")){let u={instancePath:e,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"};s===null?s=[u]:s.push(u),o++}if(t.border!==void 0&&(yS(t.border,{instancePath:e+"/border",parentData:t,parentDataProperty:"border",rootData:i})||(s=s===null?yS.errors:s.concat(yS.errors),o=s.length)),t.header!==void 0){let a=t.header;if(a&&typeof a=="object"&&!Array.isArray(a)){if(a.content===void 0){let u={instancePath:e+"/header",schemaPath:"#/properties/header/required",keyword:"required",params:{missingProperty:"content"},message:"must have required property 'content'"};s===null?s=[u]:s.push(u),o++}for(let u in a)if(!(u==="content"||u==="alignment"||u==="wrapWord"||u==="truncate"||u==="paddingLeft"||u==="paddingRight")){let l={instancePath:e+"/header",schemaPath:"#/properties/header/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:u},message:"must NOT have additional properties"};s===null?s=[l]:s.push(l),o++}if(a.content!==void 0&&typeof a.content!="string"){let u={instancePath:e+"/header/content",schemaPath:"#/properties/header/properties/content/type",keyword:"type",params:{type:"string"},message:"must be string"};s===null?s=[u]:s.push(u),o++}if(a.alignment!==void 0&&(Sa(a.alignment,{instancePath:e+"/header/alignment",parentData:a,parentDataProperty:"alignment",rootData:i})||(s=s===null?Sa.errors:s.concat(Sa.errors),o=s.length)),a.wrapWord!==void 0&&typeof a.wrapWord!="boolean"){let u={instancePath:e+"/header/wrapWord",schemaPath:"#/properties/header/properties/wrapWord/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};s===null?s=[u]:s.push(u),o++}if(a.truncate!==void 0){let u=a.truncate;if(!(typeof u=="number"&&!(u%1)&&!isNaN(u)&&isFinite(u))){let l={instancePath:e+"/header/truncate",schemaPath:"#/properties/header/properties/truncate/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[l]:s.push(l),o++}}if(a.paddingLeft!==void 0){let u=a.paddingLeft;if(!(typeof u=="number"&&!(u%1)&&!isNaN(u)&&isFinite(u))){let l={instancePath:e+"/header/paddingLeft",schemaPath:"#/properties/header/properties/paddingLeft/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[l]:s.push(l),o++}}if(a.paddingRight!==void 0){let u=a.paddingRight;if(!(typeof u=="number"&&!(u%1)&&!isNaN(u)&&isFinite(u))){let l={instancePath:e+"/header/paddingRight",schemaPath:"#/properties/header/properties/paddingRight/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[l]:s.push(l),o++}}}else{let u={instancePath:e+"/header",schemaPath:"#/properties/header/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[u]:s.push(u),o++}}if(t.columns!==void 0&&(bS(t.columns,{instancePath:e+"/columns",parentData:t,parentDataProperty:"columns",rootData:i})||(s=s===null?bS.errors:s.concat(bS.errors),o=s.length)),t.columnDefault!==void 0&&(vS(t.columnDefault,{instancePath:e+"/columnDefault",parentData:t,parentDataProperty:"columnDefault",rootData:i})||(s=s===null?vS.errors:s.concat(vS.errors),o=s.length)),t.drawVerticalLine!==void 0&&typeof t.drawVerticalLine!="function"){let a={instancePath:e+"/drawVerticalLine",schemaPath:"#/properties/drawVerticalLine/typeof",keyword:"typeof",params:{},message:'must pass "typeof" keyword validation'};s===null?s=[a]:s.push(a),o++}if(t.drawHorizontalLine!==void 0&&typeof t.drawHorizontalLine!="function"){let a={instancePath:e+"/drawHorizontalLine",schemaPath:"#/properties/drawHorizontalLine/typeof",keyword:"typeof",params:{},message:'must pass "typeof" keyword validation'};s===null?s=[a]:s.push(a),o++}if(t.singleLine!==void 0&&typeof t.singleLine!="boolean"){let a={instancePath:e+"/singleLine",schemaPath:"#/properties/singleLine/typeof",keyword:"typeof",params:{},message:'must pass "typeof" keyword validation'};s===null?s=[a]:s.push(a),o++}if(t.spanningCells!==void 0){let a=t.spanningCells;if(Array.isArray(a)){let u=a.length;for(let l=0;l<u;l++){let c=a[l];if(c&&typeof c=="object"&&!Array.isArray(c)){if(c.row===void 0){let f={instancePath:e+"/spanningCells/"+l,schemaPath:"#/properties/spanningCells/items/required",keyword:"required",params:{missingProperty:"row"},message:"must have required property 'row'"};s===null?s=[f]:s.push(f),o++}if(c.col===void 0){let f={instancePath:e+"/spanningCells/"+l,schemaPath:"#/properties/spanningCells/items/required",keyword:"required",params:{missingProperty:"col"},message:"must have required property 'col'"};s===null?s=[f]:s.push(f),o++}for(let f in c)if(!yL.call(fdt.properties.spanningCells.items.properties,f)){let d={instancePath:e+"/spanningCells/"+l,schemaPath:"#/properties/spanningCells/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:f},message:"must NOT have additional properties"};s===null?s=[d]:s.push(d),o++}if(c.col!==void 0){let f=c.col;if(!(typeof f=="number"&&!(f%1)&&!isNaN(f)&&isFinite(f))){let d={instancePath:e+"/spanningCells/"+l+"/col",schemaPath:"#/properties/spanningCells/items/properties/col/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[d]:s.push(d),o++}if(typeof f=="number"&&isFinite(f)&&(f<0||isNaN(f))){let d={instancePath:e+"/spanningCells/"+l+"/col",schemaPath:"#/properties/spanningCells/items/properties/col/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"};s===null?s=[d]:s.push(d),o++}}if(c.row!==void 0){let f=c.row;if(!(typeof f=="number"&&!(f%1)&&!isNaN(f)&&isFinite(f))){let d={instancePath:e+"/spanningCells/"+l+"/row",schemaPath:"#/properties/spanningCells/items/properties/row/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[d]:s.push(d),o++}if(typeof f=="number"&&isFinite(f)&&(f<0||isNaN(f))){let d={instancePath:e+"/spanningCells/"+l+"/row",schemaPath:"#/properties/spanningCells/items/properties/row/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"};s===null?s=[d]:s.push(d),o++}}if(c.colSpan!==void 0){let f=c.colSpan;if(!(typeof f=="number"&&!(f%1)&&!isNaN(f)&&isFinite(f))){let d={instancePath:e+"/spanningCells/"+l+"/colSpan",schemaPath:"#/properties/spanningCells/items/properties/colSpan/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[d]:s.push(d),o++}if(typeof f=="number"&&isFinite(f)&&(f<1||isNaN(f))){let d={instancePath:e+"/spanningCells/"+l+"/colSpan",schemaPath:"#/properties/spanningCells/items/properties/colSpan/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"};s===null?s=[d]:s.push(d),o++}}if(c.rowSpan!==void 0){let f=c.rowSpan;if(!(typeof f=="number"&&!(f%1)&&!isNaN(f)&&isFinite(f))){let d={instancePath:e+"/spanningCells/"+l+"/rowSpan",schemaPath:"#/properties/spanningCells/items/properties/rowSpan/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[d]:s.push(d),o++}if(typeof f=="number"&&isFinite(f)&&(f<1||isNaN(f))){let d={instancePath:e+"/spanningCells/"+l+"/rowSpan",schemaPath:"#/properties/spanningCells/items/properties/rowSpan/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"};s===null?s=[d]:s.push(d),o++}}if(c.alignment!==void 0&&(Sa(c.alignment,{instancePath:e+"/spanningCells/"+l+"/alignment",parentData:c,parentDataProperty:"alignment",rootData:i})||(s=s===null?Sa.errors:s.concat(Sa.errors),o=s.length)),c.verticalAlignment!==void 0&&(wS(c.verticalAlignment,{instancePath:e+"/spanningCells/"+l+"/verticalAlignment",parentData:c,parentDataProperty:"verticalAlignment",rootData:i})||(s=s===null?wS.errors:s.concat(wS.errors),o=s.length)),c.wrapWord!==void 0&&typeof c.wrapWord!="boolean"){let f={instancePath:e+"/spanningCells/"+l+"/wrapWord",schemaPath:"#/properties/spanningCells/items/properties/wrapWord/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};s===null?s=[f]:s.push(f),o++}if(c.truncate!==void 0){let f=c.truncate;if(!(typeof f=="number"&&!(f%1)&&!isNaN(f)&&isFinite(f))){let d={instancePath:e+"/spanningCells/"+l+"/truncate",schemaPath:"#/properties/spanningCells/items/properties/truncate/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[d]:s.push(d),o++}}if(c.paddingLeft!==void 0){let f=c.paddingLeft;if(!(typeof f=="number"&&!(f%1)&&!isNaN(f)&&isFinite(f))){let d={instancePath:e+"/spanningCells/"+l+"/paddingLeft",schemaPath:"#/properties/spanningCells/items/properties/paddingLeft/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[d]:s.push(d),o++}}if(c.paddingRight!==void 0){let f=c.paddingRight;if(!(typeof f=="number"&&!(f%1)&&!isNaN(f)&&isFinite(f))){let d={instancePath:e+"/spanningCells/"+l+"/paddingRight",schemaPath:"#/properties/spanningCells/items/properties/paddingRight/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[d]:s.push(d),o++}}}else{let f={instancePath:e+"/spanningCells/"+l,schemaPath:"#/properties/spanningCells/items/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[f]:s.push(f),o++}}}else{let u={instancePath:e+"/spanningCells",schemaPath:"#/properties/spanningCells/type",keyword:"type",params:{type:"array"},message:"must be array"};s===null?s=[u]:s.push(u),o++}}}else{let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[a]:s.push(a),o++}return Qle.errors=s,o===0}bL["streamConfig.json"]=Jle;function _S(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(t&&typeof t=="object"&&!Array.isArray(t)){for(let a in t)if(!yL.call(Gle.properties,a)){let u={instancePath:e,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"};s===null?s=[u]:s.push(u),o++}t.topBody!==void 0&&(Z(t.topBody,{instancePath:e+"/topBody",parentData:t,parentDataProperty:"topBody",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.topJoin!==void 0&&(Z(t.topJoin,{instancePath:e+"/topJoin",parentData:t,parentDataProperty:"topJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.topLeft!==void 0&&(Z(t.topLeft,{instancePath:e+"/topLeft",parentData:t,parentDataProperty:"topLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.topRight!==void 0&&(Z(t.topRight,{instancePath:e+"/topRight",parentData:t,parentDataProperty:"topRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bottomBody!==void 0&&(Z(t.bottomBody,{instancePath:e+"/bottomBody",parentData:t,parentDataProperty:"bottomBody",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bottomJoin!==void 0&&(Z(t.bottomJoin,{instancePath:e+"/bottomJoin",parentData:t,parentDataProperty:"bottomJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bottomLeft!==void 0&&(Z(t.bottomLeft,{instancePath:e+"/bottomLeft",parentData:t,parentDataProperty:"bottomLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bottomRight!==void 0&&(Z(t.bottomRight,{instancePath:e+"/bottomRight",parentData:t,parentDataProperty:"bottomRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bodyLeft!==void 0&&(Z(t.bodyLeft,{instancePath:e+"/bodyLeft",parentData:t,parentDataProperty:"bodyLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bodyRight!==void 0&&(Z(t.bodyRight,{instancePath:e+"/bodyRight",parentData:t,parentDataProperty:"bodyRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bodyJoin!==void 0&&(Z(t.bodyJoin,{instancePath:e+"/bodyJoin",parentData:t,parentDataProperty:"bodyJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.headerJoin!==void 0&&(Z(t.headerJoin,{instancePath:e+"/headerJoin",parentData:t,parentDataProperty:"headerJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinBody!==void 0&&(Z(t.joinBody,{instancePath:e+"/joinBody",parentData:t,parentDataProperty:"joinBody",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinLeft!==void 0&&(Z(t.joinLeft,{instancePath:e+"/joinLeft",parentData:t,parentDataProperty:"joinLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinRight!==void 0&&(Z(t.joinRight,{instancePath:e+"/joinRight",parentData:t,parentDataProperty:"joinRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinJoin!==void 0&&(Z(t.joinJoin,{instancePath:e+"/joinJoin",parentData:t,parentDataProperty:"joinJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinMiddleUp!==void 0&&(Z(t.joinMiddleUp,{instancePath:e+"/joinMiddleUp",parentData:t,parentDataProperty:"joinMiddleUp",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinMiddleDown!==void 0&&(Z(t.joinMiddleDown,{instancePath:e+"/joinMiddleDown",parentData:t,parentDataProperty:"joinMiddleDown",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinMiddleLeft!==void 0&&(Z(t.joinMiddleLeft,{instancePath:e+"/joinMiddleLeft",parentData:t,parentDataProperty:"joinMiddleLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinMiddleRight!==void 0&&(Z(t.joinMiddleRight,{instancePath:e+"/joinMiddleRight",parentData:t,parentDataProperty:"joinMiddleRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length))}else{let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[a]:s.push(a),o++}return _S.errors=s,o===0}function xS(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0,a=o,u=!1,l=null,c=o;if(t&&typeof t=="object"&&!Array.isArray(t)){for(let p in t)if(!kS.test(p)){let h={instancePath:e,schemaPath:"#/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:p},message:"must NOT have additional properties"};s===null?s=[h]:s.push(h),o++}for(let p in t)kS.test(p)&&(xn(t[p],{instancePath:e+"/"+p.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:t,parentDataProperty:p,rootData:i})||(s=s===null?xn.errors:s.concat(xn.errors),o=s.length))}else{let p={instancePath:e,schemaPath:"#/oneOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[p]:s.push(p),o++}var d=c===o;d&&(u=!0,l=0);let f=o;if(Array.isArray(t)){let p=t.length;for(let h=0;h<p;h++)xn(t[h],{instancePath:e+"/"+h,parentData:t,parentDataProperty:h,rootData:i})||(s=s===null?xn.errors:s.concat(xn.errors),o=s.length)}else{let p={instancePath:e,schemaPath:"#/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};s===null?s=[p]:s.push(p),o++}var d=f===o;if(d&&u?(u=!1,l=[l,1]):d&&(u=!0,l=1),u)o=a,s!==null&&(a?s.length=a:s=null);else{let p={instancePath:e,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};s===null?s=[p]:s.push(p),o++}return xS.errors=s,o===0}function SS(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(t&&typeof t=="object"&&!Array.isArray(t)){for(let a in t)if(!(a==="alignment"||a==="verticalAlignment"||a==="width"||a==="wrapWord"||a==="truncate"||a==="paddingLeft"||a==="paddingRight")){let u={instancePath:e,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"};s===null?s=[u]:s.push(u),o++}if(t.alignment!==void 0&&(Fi(t.alignment,{instancePath:e+"/alignment",parentData:t,parentDataProperty:"alignment",rootData:i})||(s=s===null?Fi.errors:s.concat(Fi.errors),o=s.length)),t.verticalAlignment!==void 0&&(Ii(t.verticalAlignment,{instancePath:e+"/verticalAlignment",parentData:t,parentDataProperty:"verticalAlignment",rootData:i})||(s=s===null?Ii.errors:s.concat(Ii.errors),o=s.length)),t.width!==void 0){let a=t.width;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/width",schemaPath:"#/properties/width/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}if(typeof a=="number"&&isFinite(a)&&(a<1||isNaN(a))){let u={instancePath:e+"/width",schemaPath:"#/properties/width/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"};s===null?s=[u]:s.push(u),o++}}if(t.wrapWord!==void 0&&typeof t.wrapWord!="boolean"){let a={instancePath:e+"/wrapWord",schemaPath:"#/properties/wrapWord/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};s===null?s=[a]:s.push(a),o++}if(t.truncate!==void 0){let a=t.truncate;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/truncate",schemaPath:"#/properties/truncate/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}}if(t.paddingLeft!==void 0){let a=t.paddingLeft;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/paddingLeft",schemaPath:"#/properties/paddingLeft/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}}if(t.paddingRight!==void 0){let a=t.paddingRight;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/paddingRight",schemaPath:"#/properties/paddingRight/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}}}else{let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[a]:s.push(a),o++}return SS.errors=s,o===0}function Jle(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(t&&typeof t=="object"&&!Array.isArray(t)){if(t.columnDefault===void 0){let a={instancePath:e,schemaPath:"#/required",keyword:"required",params:{missingProperty:"columnDefault"},message:"must have required property 'columnDefault'"};s===null?s=[a]:s.push(a),o++}if(t.columnCount===void 0){let a={instancePath:e,schemaPath:"#/required",keyword:"required",params:{missingProperty:"columnCount"},message:"must have required property 'columnCount'"};s===null?s=[a]:s.push(a),o++}for(let a in t)if(!(a==="border"||a==="columns"||a==="columnDefault"||a==="columnCount"||a==="drawVerticalLine")){let u={instancePath:e,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"};s===null?s=[u]:s.push(u),o++}if(t.border!==void 0&&(_S(t.border,{instancePath:e+"/border",parentData:t,parentDataProperty:"border",rootData:i})||(s=s===null?_S.errors:s.concat(_S.errors),o=s.length)),t.columns!==void 0&&(xS(t.columns,{instancePath:e+"/columns",parentData:t,parentDataProperty:"columns",rootData:i})||(s=s===null?xS.errors:s.concat(xS.errors),o=s.length)),t.columnDefault!==void 0&&(SS(t.columnDefault,{instancePath:e+"/columnDefault",parentData:t,parentDataProperty:"columnDefault",rootData:i})||(s=s===null?SS.errors:s.concat(SS.errors),o=s.length)),t.columnCount!==void 0){let a=t.columnCount;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/columnCount",schemaPath:"#/properties/columnCount/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}if(typeof a=="number"&&isFinite(a)&&(a<1||isNaN(a))){let u={instancePath:e+"/columnCount",schemaPath:"#/properties/columnCount/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"};s===null?s=[u]:s.push(u),o++}}if(t.drawVerticalLine!==void 0&&typeof t.drawVerticalLine!="function"){let a={instancePath:e+"/drawVerticalLine",schemaPath:"#/properties/drawVerticalLine/typeof",keyword:"typeof",params:{},message:'must pass "typeof" keyword validation'};s===null?s=[a]:s.push(a),o++}}else{let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[a]:s.push(a),o++}return Jle.errors=s,o===0}});var vL=m(kl=>{"use strict";var ddt=kl&&kl.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(kl,"__esModule",{value:!0});kl.validateConfig=void 0;var pdt=ddt(Xle()),hdt=(t,e)=>{let r=pdt.default[t];if(!r(e)&&r.errors){let n=r.errors.map(i=>({message:i.message,params:i.params,schemaPath:i.schemaPath}));throw console.log("config",e),console.log("errors",n),new Error("Invalid config.")}};kl.validateConfig=hdt});var Zle=m(ES=>{"use strict";Object.defineProperty(ES,"__esModule",{value:!0});ES.makeStreamConfig=void 0;var gdt=fr(),mdt=vL(),ydt=(t,e={},r)=>Array.from({length:t}).map((n,i)=>({alignment:"left",paddingLeft:1,paddingRight:1,truncate:Number.POSITIVE_INFINITY,verticalAlignment:"top",wrapWord:!1,...r,...e[i]})),bdt=t=>{if((0,mdt.validateConfig)("streamConfig.json",t),t.columnDefault.width===void 0)throw new Error("Must provide config.columnDefault.width when creating a stream.");return{drawVerticalLine:()=>!0,...t,border:(0,gdt.makeBorderConfig)(t.border),columns:ydt(t.columnCount,t.columns,t.columnDefault)}};ES.makeStreamConfig=bdt});var DS=m(ka=>{"use strict";Object.defineProperty(ka,"__esModule",{value:!0});ka.mapDataUsingRowHeights=ka.padCellVertically=void 0;var vdt=fr(),wdt=fS(),CS=t=>new Array(t).fill(""),_dt=(t,e,r)=>{let n=e-t.length;return r==="top"?[...t,...CS(n)]:r==="bottom"?[...CS(n),...t]:[...CS(Math.floor(n/2)),...t,...CS(Math.ceil(n/2))]};ka.padCellVertically=_dt;var xdt=(t,e,r)=>{let n=t[0].length,i=t.map((s,o)=>{let a=e[o],u=Array.from({length:a},()=>new Array(n).fill(""));return s.forEach((l,c)=>{var f;let d=(f=r.spanningCellManager)===null||f===void 0?void 0:f.getContainingRange({col:c,row:o});if(d){d.extractCellContent(o).forEach((y,v)=>{u[v][c]=y});return}let p=(0,wdt.wrapCell)(l,r.columns[c].width,r.columns[c].wrapWord);(0,ka.padCellVertically)(p,a,r.columns[c].verticalAlignment).forEach((y,v)=>{u[v][c]=y})}),u});return(0,vdt.flatten)(i)};ka.mapDataUsingRowHeights=xdt});var OS=m(Ea=>{"use strict";Object.defineProperty(Ea,"__esModule",{value:!0});Ea.padTableData=Ea.padString=void 0;var Sdt=(t,e,r)=>" ".repeat(e)+t+" ".repeat(r);Ea.padString=Sdt;var kdt=(t,e)=>t.map((r,n)=>r.map((i,s)=>{var o;if((o=e.spanningCellManager)===null||o===void 0?void 0:o.getContainingRange({col:s,row:n},{mapped:!0}))return i;let{paddingLeft:u,paddingRight:l}=e.columns[s];return(0,Ea.padString)(i,u,l)}));Ea.padTableData=kdt});var wL=m(qS=>{"use strict";Object.defineProperty(qS,"__esModule",{value:!0});qS.stringifyTableData=void 0;var Edt=fr(),Cdt=t=>t.map(e=>e.map(r=>(0,Edt.normalizeString)(String(r))));qS.stringifyTableData=Cdt});var xce=m((rp,El)=>{var Ddt=30,Odt="...",_L=1/0,qdt=17976931348623157e292,ece=0/0,Rdt="[object RegExp]",Adt="[object Symbol]",Pdt=/^\s+|\s+$/g,Tdt=/\w*$/,Mdt=/^[-+]0x[0-9a-f]+$/i,Ldt=/^0b[01]+$/i,Fdt=/^0o[0-7]+$/i,CL="\\ud800-\\udfff",lce="\\u0300-\\u036f\\ufe20-\\ufe23",cce="\\u20d0-\\u20f0",fce="\\ufe0e\\ufe0f",Idt="["+CL+"]",xL="["+lce+cce+"]",SL="\\ud83c[\\udffb-\\udfff]",Ndt="(?:"+xL+"|"+SL+")",dce="[^"+CL+"]",pce="(?:\\ud83c[\\udde6-\\uddff]){2}",hce="[\\ud800-\\udbff][\\udc00-\\udfff]",gce="\\u200d",mce=Ndt+"?",yce="["+fce+"]?",jdt="(?:"+gce+"(?:"+[dce,pce,hce].join("|")+")"+yce+mce+")*",$dt=yce+mce+jdt,Bdt="(?:"+[dce+xL+"?",xL,pce,hce,Idt].join("|")+")",kL=RegExp(SL+"(?="+SL+")|"+Bdt+$dt,"g"),Wdt=RegExp("["+gce+CL+lce+cce+fce+"]"),zdt=parseInt,bce=typeof global=="object"&&global&&global.Object===Object&&global,Udt=typeof self=="object"&&self&&self.Object===Object&&self,Hdt=bce||Udt||Function("return this")(),vce=typeof rp=="object"&&rp&&!rp.nodeType&&rp,tce=vce&&typeof El=="object"&&El&&!El.nodeType&&El,Vdt=tce&&tce.exports===vce,rce=Vdt&&bce.process,nce=function(){try{return rce&&rce.binding("util")}catch{}}(),ice=nce&&nce.isRegExp,Gdt=Ydt("length");function Kdt(t){return t.split("")}function Ydt(t){return function(e){return e?.[t]}}function Qdt(t){return function(e){return t(e)}}function DL(t){return Wdt.test(t)}function Jdt(t){return DL(t)?Zdt(t):Gdt(t)}function Xdt(t){return DL(t)?ept(t):Kdt(t)}function Zdt(t){for(var e=kL.lastIndex=0;kL.test(t);)e++;return e}function ept(t){return t.match(kL)||[]}var tpt=Object.prototype,wce=tpt.toString,sce=Hdt.Symbol,oce=sce?sce.prototype:void 0,ace=oce?oce.toString:void 0;function rpt(t){return RS(t)&&wce.call(t)==Rdt}function npt(t,e,r){var n=-1,i=t.length;e<0&&(e=-e>i?0:i+e),r=r>i?i:r,r<0&&(r+=i),i=e>r?0:r-e>>>0,e>>>=0;for(var s=Array(i);++n<i;)s[n]=t[n+e];return s}function EL(t){if(typeof t=="string")return t;if(_ce(t))return ace?ace.call(t):"";var e=t+"";return e=="0"&&1/t==-_L?"-0":e}function ipt(t,e,r){var n=t.length;return r=r===void 0?n:r,!e&&r>=n?t:npt(t,e,r)}function RS(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function spt(t){return!!t&&typeof t=="object"}var opt=ice?Qdt(ice):rpt;function _ce(t){return typeof t=="symbol"||spt(t)&&wce.call(t)==Adt}function apt(t){if(!t)return t===0?t:0;if(t=lpt(t),t===_L||t===-_L){var e=t<0?-1:1;return e*qdt}return t===t?t:0}function upt(t){var e=apt(t),r=e%1;return e===e?r?e-r:e:0}function lpt(t){if(typeof t=="number")return t;if(_ce(t))return ece;if(RS(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=RS(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=t.replace(Pdt,"");var r=Ldt.test(t);return r||Fdt.test(t)?zdt(t.slice(2),r?2:8):Mdt.test(t)?ece:+t}function uce(t){return t==null?"":EL(t)}function cpt(t,e){var r=Ddt,n=Odt;if(RS(e)){var i="separator"in e?e.separator:i;r="length"in e?upt(e.length):r,n="omission"in e?EL(e.omission):n}t=uce(t);var s=t.length;if(DL(t)){var o=Xdt(t);s=o.length}if(r>=s)return t;var a=r-Jdt(n);if(a<1)return n;var u=o?ipt(o,0,a).join(""):t.slice(0,a);if(i===void 0)return u+n;if(o&&(a+=u.length-a),opt(i)){if(t.slice(a).search(i)){var l,c=u;for(i.global||(i=RegExp(i.source,uce(Tdt.exec(i))+"g")),i.lastIndex=0;l=i.exec(c);)var f=l.index;u=u.slice(0,f===void 0?a:f)}}else if(t.indexOf(EL(i),a)!=a){var d=u.lastIndexOf(i);d>-1&&(u=u.slice(0,d))}return u+n}El.exports=cpt});var AS=m(hs=>{"use strict";var fpt=hs&&hs.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(hs,"__esModule",{value:!0});hs.truncateTableData=hs.truncateString=void 0;var dpt=fpt(xce()),ppt=(t,e)=>(0,dpt.default)(t,{length:e,omission:"\u2026"});hs.truncateString=ppt;var hpt=(t,e)=>t.map(r=>r.map((n,i)=>(0,hs.truncateString)(n,e[i])));hs.truncateTableData=hpt});var Ece=m(TS=>{"use strict";Object.defineProperty(TS,"__esModule",{value:!0});TS.createStream=void 0;var gpt=dL(),mpt=pL(),PS=hL(),Sce=gL(),ypt=Zle(),bpt=DS(),vpt=OS(),wpt=wL(),_pt=AS(),xpt=fr(),kce=(t,e)=>{let r=(0,wpt.stringifyTableData)(t);r=(0,_pt.truncateTableData)(r,(0,xpt.extractTruncates)(e));let n=(0,mpt.calculateRowHeights)(r,e);return r=(0,bpt.mapDataUsingRowHeights)(r,n,e),r=(0,gpt.alignTableData)(r,e),r=(0,vpt.padTableData)(r,e),r},Spt=(t,e,r)=>{let i=kce([t],r).map(o=>(0,Sce.drawRow)(o,r)).join(""),s;s="",s+=(0,PS.drawBorderTop)(e,r),s+=i,s+=(0,PS.drawBorderBottom)(e,r),s=s.trimEnd(),process.stdout.write(s)},kpt=(t,e,r)=>{let i=kce([t],r).map(a=>(0,Sce.drawRow)(a,r)).join(""),s="",o=(0,PS.drawBorderBottom)(e,r);o!==`
|
|
330
|
-
`&&(s="\r\x1B[K"),s+=(0,PS.drawBorderJoin)(e,r),s+=i,s+=o,s=s.trimEnd(),process.stdout.write(s)},Ept=t=>{let e=(0,ypt.makeStreamConfig)(t),r=Object.values(e.columns).map(i=>i.width+i.paddingLeft+i.paddingRight),n=!0;return{write:i=>{if(i.length!==e.columnCount)throw new Error("Row cell count does not match the config.columnCount.");n?(n=!1,Spt(i,r,e)):kpt(i,r,e)}}};TS.createStream=Ept});var Cce=m(MS=>{"use strict";Object.defineProperty(MS,"__esModule",{value:!0});MS.calculateOutputColumnWidths=void 0;var Cpt=t=>t.columns.map(e=>e.paddingLeft+e.width+e.paddingRight);MS.calculateOutputColumnWidths=Cpt});var Dce=m(LS=>{"use strict";Object.defineProperty(LS,"__esModule",{value:!0});LS.drawTable=void 0;var Dpt=hL(),Opt=gS(),qpt=gL(),Rpt=
|
|
331
|
-
`).map(Mpt.default));gs.calculateMaximumCellWidth=Lpt;var Fpt=(t,e=[])=>{let r=new Array(t[0].length).fill(0),n=e.map(qce.calculateRangeCoordinate),i=(s,o)=>n.some(a=>(0,qce.isCellInRange)({col:o,row:s},a));return t.forEach((s,o)=>{s.forEach((a,u)=>{i(o,u)||(r[u]=Math.max(r[u],(0,gs.calculateMaximumCellWidth)(a)))})}),r};gs.calculateMaximumColumnWidths=Fpt});var Pce=m(lo=>{"use strict";var Ipt=lo&&lo.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(lo,"__esModule",{value:!0});lo.alignVerticalRangeContent=lo.wrapRangeContent=void 0;var Npt=Ipt(xa()),jpt=fL(),$pt=DS(),Bpt=OS(),Wpt=AS(),Ace=fr(),zpt=fS(),Upt=(t,e,r)=>{let{topLeft:n,paddingRight:i,paddingLeft:s,truncate:o,wrapWord:a,alignment:u}=t,l=r.rows[n.row][n.col],c=e-s-i;return(0,zpt.wrapCell)((0,Wpt.truncateString)(l,o),c,a).map(f=>{let d=(0,jpt.alignString)(f,c,u);return(0,Bpt.padString)(d,s,i)})};lo.wrapRangeContent=Upt;var Hpt=(t,e,r)=>{let{rows:n,drawHorizontalLine:i,rowHeights:s}=r,{topLeft:o,bottomRight:a,verticalAlignment:u}=t;if(s.length===0)return[];let l=(0,Ace.sumArray)(s.slice(o.row,a.row+1)),c=a.row-o.row,f=(0,Ace.sequence)(o.row+1,a.row).filter(p=>!i(p,n.length)).length,d=l+c-f;return(0,$pt.padCellVertically)(e,d,u).map(p=>p.length===0?" ".repeat((0,Npt.default)(e[0])):p)};lo.alignVerticalRangeContent=Hpt});var Tce=m(IS=>{"use strict";Object.defineProperty(IS,"__esModule",{value:!0});IS.calculateSpanningCellWidth=void 0;var OL=fr(),Vpt=(t,e)=>{let{columnsConfig:r,drawVerticalLine:n}=e,{topLeft:i,bottomRight:s}=t,o=(0,OL.sumArray)(r.slice(i.col,s.col+1).map(({width:c})=>c)),a=i.col===s.col?r[i.col].paddingRight+r[s.col].paddingLeft:(0,OL.sumArray)(r.slice(i.col,s.col+1).map(({paddingLeft:c,paddingRight:f})=>c+f)),u=s.col-i.col,l=(0,OL.sequence)(i.col+1,s.col).filter(c=>!n(c,r.length)).length;return o+a+u-l};IS.calculateSpanningCellWidth=Vpt});var Mce=m(NS=>{"use strict";Object.defineProperty(NS,"__esModule",{value:!0});NS.makeRangeConfig=void 0;var Gpt=fr(),Kpt=(t,e)=>{var r;let{topLeft:n,bottomRight:i}=(0,Gpt.calculateRangeCoordinate)(t);return{...{...e[n.col],...t,paddingRight:(r=t.paddingRight)!==null&&r!==void 0?r:e[i.col].paddingRight},bottomRight:i,topLeft:n}};NS.makeRangeConfig=Kpt});var Ice=m(jS=>{"use strict";Object.defineProperty(jS,"__esModule",{value:!0});jS.createSpanningCellManager=void 0;var Lce=Pce(),Ypt=Tce(),Qpt=Mce(),Cl=fr(),qL=(t,e)=>e.find(r=>(0,Cl.isCellInRange)(t,r)),Fce=(t,e)=>{let r=(0,Ypt.calculateSpanningCellWidth)(t,e),n=(0,Lce.wrapRangeContent)(t,r,e),i=(0,Lce.alignVerticalRangeContent)(t,n,e);return{...t,extractBorderContent:a=>{let{topLeft:u}=t,l=(0,Cl.sumArray)(e.rowHeights.slice(u.row,a))+(a-u.row-1);return i[l]},extractCellContent:a=>{let{topLeft:u}=t,{drawHorizontalLine:l,rowHeights:c}=e,f=a-u.row,d=(0,Cl.sequence)(u.row+1,a).filter(h=>!l?.(h,c.length)).length,p=(0,Cl.sumArray)(c.slice(u.row,a))+f-d;return i.slice(p,p+c[a])},height:n.length,width:r}},Jpt=(t,e,r)=>{let n=qL(t,r),i=qL(e,r);return n&&i?(0,Cl.areCellEqual)(n.topLeft,i.topLeft):!1},Xpt=t=>{let{row:e,col:r}=t.topLeft;return`${e}/${r}`},Zpt=t=>{let{spanningCellConfigs:e,columnsConfig:r}=t,n=e.map(o=>(0,Qpt.makeRangeConfig)(o,r)),i={},s=[];return{getContainingRange:(o,a)=>{var u;let l=a?.mapped?(0,Cl.findOriginalRowIndex)(s,o.row):o.row,c=qL({...o,row:l},n);if(!c)return;if(s.length===0)return Fce(c,{...t,rowHeights:s});let f=Xpt(c);return(u=i[f])!==null&&u!==void 0||(i[f]=Fce(c,{...t,rowHeights:s})),i[f]},inSameRange:(o,a)=>Jpt(o,a,n),rowHeights:s,setRowHeights:o=>{s=o}}};jS.createSpanningCellManager=Zpt});var Nce=m(BS=>{"use strict";Object.defineProperty(BS,"__esModule",{value:!0});BS.validateSpanningCellConfig=void 0;var RL=fr(),$S=(t,e,r)=>t<=r&&r<=e,eht=(t,e)=>{let[r,n]=[t.length,t[0].length];e.forEach((o,a)=>{let{colSpan:u,rowSpan:l}=o;if(u===void 0&&l===void 0)throw new Error(`Expect at least colSpan or rowSpan is provided in config.spanningCells[${a}]`);if(u!==void 0&&u<1)throw new Error(`Expect colSpan is not equal zero, instead got: ${u} in config.spanningCells[${a}]`);if(l!==void 0&&l<1)throw new Error(`Expect rowSpan is not equal zero, instead got: ${l} in config.spanningCells[${a}]`)});let i=e.map(RL.calculateRangeCoordinate);i.forEach(({topLeft:o,bottomRight:a},u)=>{if(!$S(0,n-1,o.col)||!$S(0,r-1,o.row)||!$S(0,n-1,a.col)||!$S(0,r-1,a.row))throw new Error(`Some cells in config.spanningCells[${u}] are out of the table`)});let s=Array.from({length:r},()=>Array.from({length:n}));i.forEach(({topLeft:o,bottomRight:a},u)=>{(0,RL.sequence)(o.row,a.row).forEach(l=>{(0,RL.sequence)(o.col,a.col).forEach(c=>{if(s[l][c]!==void 0)throw new Error(`Spanning cells in config.spanningCells[${s[l][c]}] and config.spanningCells[${u}] are overlap each other`);s[l][c]=u})})})};BS.validateSpanningCellConfig=eht});var jce=m(WS=>{"use strict";Object.defineProperty(WS,"__esModule",{value:!0});WS.makeTableConfig=void 0;var tht=Rce(),rht=Ice(),nht=fr(),iht=vL(),sht=Nce(),oht=(t,e,r,n)=>{let i=(0,tht.calculateMaximumColumnWidths)(t,n);return t[0].map((s,o)=>({alignment:"left",paddingLeft:1,paddingRight:1,truncate:Number.POSITIVE_INFINITY,verticalAlignment:"top",width:i[o],wrapWord:!1,...r,...e?.[o]}))},aht=(t,e={},r)=>{var n,i,s,o,a;(0,iht.validateConfig)("config.json",e),(0,sht.validateSpanningCellConfig)(t,(n=e.spanningCells)!==null&&n!==void 0?n:[]);let u=(i=r??e.spanningCells)!==null&&i!==void 0?i:[],l=oht(t,e.columns,e.columnDefault,u),c=(s=e.drawVerticalLine)!==null&&s!==void 0?s:()=>!0,f=(o=e.drawHorizontalLine)!==null&&o!==void 0?o:()=>!0;return{...e,border:(0,nht.makeBorderConfig)(e.border),columns:l,drawHorizontalLine:f,drawVerticalLine:c,singleLine:(a=e.singleLine)!==null&&a!==void 0?a:!1,spanningCellManager:(0,rht.createSpanningCellManager)({columnsConfig:l,drawHorizontalLine:f,drawVerticalLine:c,rows:t,spanningCellConfigs:u})}};WS.makeTableConfig=aht});var $ce=m(zS=>{"use strict";Object.defineProperty(zS,"__esModule",{value:!0});zS.validateTableData=void 0;var uht=fr(),lht=t=>{if(!Array.isArray(t))throw new TypeError("Table data must be an array.");if(t.length===0)throw new Error("Table must define at least one row.");if(t[0].length===0)throw new Error("Table must define at least one column.");let e=t[0].length;for(let r of t){if(!Array.isArray(r))throw new TypeError("Table row data must be an array.");if(r.length!==e)throw new Error("Table must have a consistent number of cells.");for(let n of r)if(/[\u0001-\u0006\u0008\u0009\u000B-\u001A]/.test((0,uht.normalizeString)(String(n))))throw new Error("Table data must not contain control characters.")}};zS.validateTableData=lht});var Bce=m(US=>{"use strict";Object.defineProperty(US,"__esModule",{value:!0});US.table=void 0;var cht=dL(),fht=Cce(),dht=pL(),pht=Dce(),hht=Oce(),ght=jce(),mht=DS(),yht=OS(),bht=wL(),vht=AS(),wht=fr(),_ht=$ce(),xht=(t,e={})=>{(0,_ht.validateTableData)(t);let r=(0,bht.stringifyTableData)(t),[n,i]=(0,hht.injectHeaderConfig)(r,e),s=(0,ght.makeTableConfig)(n,e,i);r=(0,vht.truncateTableData)(n,(0,wht.extractTruncates)(s));let o=(0,dht.calculateRowHeights)(r,s);s.spanningCellManager.setRowHeights(o),r=(0,mht.mapDataUsingRowHeights)(r,o,s),r=(0,cht.alignTableData)(r,s),r=(0,yht.padTableData)(r,s);let a=(0,fht.calculateOutputColumnWidths)(s);return(0,pht.drawTable)(r,a,o,s)};US.table=xht});var zce=m(Wce=>{"use strict";Object.defineProperty(Wce,"__esModule",{value:!0})});var Uce=m(Sn=>{"use strict";var Sht=Sn&&Sn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),kht=Sn&&Sn.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Sht(e,t,r)};Object.defineProperty(Sn,"__esModule",{value:!0});Sn.getBorderCharacters=Sn.createStream=Sn.table=void 0;var Eht=Ece();Object.defineProperty(Sn,"createStream",{enumerable:!0,get:function(){return Eht.createStream}});var Cht=uL();Object.defineProperty(Sn,"getBorderCharacters",{enumerable:!0,get:function(){return Cht.getBorderCharacters}});var Dht=Bce();Object.defineProperty(Sn,"table",{enumerable:!0,get:function(){return Dht.table}});kht(zce(),Sn)});var AL=m((B3t,Hce)=>{"use strict";Hce.exports=function(e,r){switch(e){case"error":r.error+=1;break;case"warning":r.warning+=1;break;default:throw new Error(`Unknown severity: "${e}"`)}}});var HS=m((W3t,Vce)=>{"use strict";Vce.exports=function(e,r){return r===1?e:`${e}s`}});var Yce=m((z3t,Kce)=>{"use strict";var Oht=mM(),Dl=pM();function Gce(t){if(/^\d{3,4}$/.test(t)){let r=/(\d{1,2})(\d{2})/.exec(t);return{major:0,minor:parseInt(r[1],10),patch:parseInt(r[2],10)}}let e=(t||"").split(".").map(r=>parseInt(r,10));return{major:e[0],minor:e[1],patch:e[2]}}function PL(t){let{env:e}=process;if("FORCE_HYPERLINK"in e)return!(e.FORCE_HYPERLINK.length>0&&parseInt(e.FORCE_HYPERLINK,10)===0);if(Dl("no-hyperlink")||Dl("no-hyperlinks")||Dl("hyperlink=false")||Dl("hyperlink=never"))return!1;if(Dl("hyperlink=true")||Dl("hyperlink=always")||"NETLIFY"in e)return!0;if(!Oht.supportsColor(t)||t&&!t.isTTY||process.platform==="win32"||"CI"in e||"TEAMCITY_VERSION"in e)return!1;if("TERM_PROGRAM"in e){let r=Gce(e.TERM_PROGRAM_VERSION);switch(e.TERM_PROGRAM){case"iTerm.app":return r.major===3?r.minor>=1:r.major>3;case"WezTerm":return r.major>=20200620;case"vscode":return r.major>1||r.major===1&&r.minor>=72}}if("VTE_VERSION"in e){if(e.VTE_VERSION==="0.50.0")return!1;let r=Gce(e.VTE_VERSION);return r.major>0||r.minor>=50}return!1}Kce.exports={supportsHyperlink:PL,stdout:PL(process.stdout),stderr:PL(process.stderr)}});var TL=m((U3t,Xce)=>{"use strict";var qht=Yce(),Qce="\x1B]",Jce="\x07",VS=";";Xce.exports=function(e,r){return qht.stdout?[Qce,"8",VS,VS,r,Jce,e,Qce,"8",VS,VS,Jce].join(""):e}});var LL=m((H3t,afe)=>{"use strict";var Zce=require("path"),Rht=xa(),efe=Uce(),{yellow:KS,dim:GS,underline:ife,blue:sfe,red:YS,green:Aht}=$o(),Pht=AL(),ML=HS(),{assertNumber:ofe}=te(),Tht=yl(),Mht=TL(),tfe=9;function Lht(t){return t}var Fht={info:sfe,warning:KS,error:YS,success:Lht},rfe={info:sfe("\u2139"),warning:KS("\u26A0"),error:YS("\u2716"),success:Aht("\u2714")};function Iht(t){let e=t.flatMap(n=>n.deprecations||[]);if(e.length===0)return"";let r=new Set;return e.reduce((n,i)=>r.has(i.text)?n:(r.add(i.text),n+=KS("Deprecation Warning: "),n+=i.text,i.reference&&(n+=GS(" See: "),n+=GS(ife(i.reference))),`${n}
|
|
329
|
+
`};mS.drawRow=cdt});var Ule=m((m3t,zle)=>{"use strict";zle.exports=function t(e,r){if(e===r)return!0;if(e&&r&&typeof e=="object"&&typeof r=="object"){if(e.constructor!==r.constructor)return!1;var n,i,s;if(Array.isArray(e)){if(n=e.length,n!=r.length)return!1;for(i=n;i--!==0;)if(!t(e[i],r[i]))return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===r.toString();if(s=Object.keys(e),n=s.length,n!==Object.keys(r).length)return!1;for(i=n;i--!==0;)if(!Object.prototype.hasOwnProperty.call(r,s[i]))return!1;for(i=n;i--!==0;){var o=s[i];if(!t(e[o],r[o]))return!1}return!0}return e!==e&&r!==r}});var Vle=m(mL=>{"use strict";Object.defineProperty(mL,"__esModule",{value:!0});var Hle=Ule();Hle.code='require("ajv/dist/runtime/equal").default';mL.default=Hle});var Xle=m(bL=>{"use strict";bL["config.json"]=Qle;var fdt={$id:"config.json",$schema:"http://json-schema.org/draft-07/schema#",type:"object",properties:{border:{$ref:"shared.json#/definitions/borders"},header:{type:"object",properties:{content:{type:"string"},alignment:{$ref:"shared.json#/definitions/alignment"},wrapWord:{type:"boolean"},truncate:{type:"integer"},paddingLeft:{type:"integer"},paddingRight:{type:"integer"}},required:["content"],additionalProperties:!1},columns:{$ref:"shared.json#/definitions/columns"},columnDefault:{$ref:"shared.json#/definitions/column"},drawVerticalLine:{typeof:"function"},drawHorizontalLine:{typeof:"function"},singleLine:{typeof:"boolean"},spanningCells:{type:"array",items:{type:"object",properties:{col:{type:"integer",minimum:0},row:{type:"integer",minimum:0},colSpan:{type:"integer",minimum:1},rowSpan:{type:"integer",minimum:1},alignment:{$ref:"shared.json#/definitions/alignment"},verticalAlignment:{$ref:"shared.json#/definitions/verticalAlignment"},wrapWord:{type:"boolean"},truncate:{type:"integer"},paddingLeft:{type:"integer"},paddingRight:{type:"integer"}},required:["row","col"],additionalProperties:!1}}},additionalProperties:!1},Gle={type:"object",properties:{topBody:{$ref:"#/definitions/border"},topJoin:{$ref:"#/definitions/border"},topLeft:{$ref:"#/definitions/border"},topRight:{$ref:"#/definitions/border"},bottomBody:{$ref:"#/definitions/border"},bottomJoin:{$ref:"#/definitions/border"},bottomLeft:{$ref:"#/definitions/border"},bottomRight:{$ref:"#/definitions/border"},bodyLeft:{$ref:"#/definitions/border"},bodyRight:{$ref:"#/definitions/border"},bodyJoin:{$ref:"#/definitions/border"},headerJoin:{$ref:"#/definitions/border"},joinBody:{$ref:"#/definitions/border"},joinLeft:{$ref:"#/definitions/border"},joinRight:{$ref:"#/definitions/border"},joinJoin:{$ref:"#/definitions/border"},joinMiddleUp:{$ref:"#/definitions/border"},joinMiddleDown:{$ref:"#/definitions/border"},joinMiddleLeft:{$ref:"#/definitions/border"},joinMiddleRight:{$ref:"#/definitions/border"}},additionalProperties:!1},yL=Object.prototype.hasOwnProperty;function Z(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(typeof t!="string"){let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"string"},message:"must be string"};s===null?s=[a]:s.push(a),o++}return Z.errors=s,o===0}function yS(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(t&&typeof t=="object"&&!Array.isArray(t)){for(let a in t)if(!yL.call(Gle.properties,a)){let u={instancePath:e,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"};s===null?s=[u]:s.push(u),o++}t.topBody!==void 0&&(Z(t.topBody,{instancePath:e+"/topBody",parentData:t,parentDataProperty:"topBody",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.topJoin!==void 0&&(Z(t.topJoin,{instancePath:e+"/topJoin",parentData:t,parentDataProperty:"topJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.topLeft!==void 0&&(Z(t.topLeft,{instancePath:e+"/topLeft",parentData:t,parentDataProperty:"topLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.topRight!==void 0&&(Z(t.topRight,{instancePath:e+"/topRight",parentData:t,parentDataProperty:"topRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bottomBody!==void 0&&(Z(t.bottomBody,{instancePath:e+"/bottomBody",parentData:t,parentDataProperty:"bottomBody",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bottomJoin!==void 0&&(Z(t.bottomJoin,{instancePath:e+"/bottomJoin",parentData:t,parentDataProperty:"bottomJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bottomLeft!==void 0&&(Z(t.bottomLeft,{instancePath:e+"/bottomLeft",parentData:t,parentDataProperty:"bottomLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bottomRight!==void 0&&(Z(t.bottomRight,{instancePath:e+"/bottomRight",parentData:t,parentDataProperty:"bottomRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bodyLeft!==void 0&&(Z(t.bodyLeft,{instancePath:e+"/bodyLeft",parentData:t,parentDataProperty:"bodyLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bodyRight!==void 0&&(Z(t.bodyRight,{instancePath:e+"/bodyRight",parentData:t,parentDataProperty:"bodyRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bodyJoin!==void 0&&(Z(t.bodyJoin,{instancePath:e+"/bodyJoin",parentData:t,parentDataProperty:"bodyJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.headerJoin!==void 0&&(Z(t.headerJoin,{instancePath:e+"/headerJoin",parentData:t,parentDataProperty:"headerJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinBody!==void 0&&(Z(t.joinBody,{instancePath:e+"/joinBody",parentData:t,parentDataProperty:"joinBody",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinLeft!==void 0&&(Z(t.joinLeft,{instancePath:e+"/joinLeft",parentData:t,parentDataProperty:"joinLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinRight!==void 0&&(Z(t.joinRight,{instancePath:e+"/joinRight",parentData:t,parentDataProperty:"joinRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinJoin!==void 0&&(Z(t.joinJoin,{instancePath:e+"/joinJoin",parentData:t,parentDataProperty:"joinJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinMiddleUp!==void 0&&(Z(t.joinMiddleUp,{instancePath:e+"/joinMiddleUp",parentData:t,parentDataProperty:"joinMiddleUp",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinMiddleDown!==void 0&&(Z(t.joinMiddleDown,{instancePath:e+"/joinMiddleDown",parentData:t,parentDataProperty:"joinMiddleDown",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinMiddleLeft!==void 0&&(Z(t.joinMiddleLeft,{instancePath:e+"/joinMiddleLeft",parentData:t,parentDataProperty:"joinMiddleLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinMiddleRight!==void 0&&(Z(t.joinMiddleRight,{instancePath:e+"/joinMiddleRight",parentData:t,parentDataProperty:"joinMiddleRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length))}else{let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[a]:s.push(a),o++}return yS.errors=s,o===0}var Kle={type:"string",enum:["left","right","center","justify"]},b3t=Vle().default;function Sa(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(typeof t!="string"){let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"string"},message:"must be string"};s===null?s=[a]:s.push(a),o++}if(!(t==="left"||t==="right"||t==="center"||t==="justify")){let a={instancePath:e,schemaPath:"#/enum",keyword:"enum",params:{allowedValues:Kle.enum},message:"must be equal to one of the allowed values"};s===null?s=[a]:s.push(a),o++}return Sa.errors=s,o===0}var kS=new RegExp("^[0-9]+$","u");function Fi(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(typeof t!="string"){let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"string"},message:"must be string"};s===null?s=[a]:s.push(a),o++}if(!(t==="left"||t==="right"||t==="center"||t==="justify")){let a={instancePath:e,schemaPath:"#/enum",keyword:"enum",params:{allowedValues:Kle.enum},message:"must be equal to one of the allowed values"};s===null?s=[a]:s.push(a),o++}return Fi.errors=s,o===0}var Yle={type:"string",enum:["top","middle","bottom"]};function Ii(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(typeof t!="string"){let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"string"},message:"must be string"};s===null?s=[a]:s.push(a),o++}if(!(t==="top"||t==="middle"||t==="bottom")){let a={instancePath:e,schemaPath:"#/enum",keyword:"enum",params:{allowedValues:Yle.enum},message:"must be equal to one of the allowed values"};s===null?s=[a]:s.push(a),o++}return Ii.errors=s,o===0}function xn(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(t&&typeof t=="object"&&!Array.isArray(t)){for(let a in t)if(!(a==="alignment"||a==="verticalAlignment"||a==="width"||a==="wrapWord"||a==="truncate"||a==="paddingLeft"||a==="paddingRight")){let u={instancePath:e,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"};s===null?s=[u]:s.push(u),o++}if(t.alignment!==void 0&&(Fi(t.alignment,{instancePath:e+"/alignment",parentData:t,parentDataProperty:"alignment",rootData:i})||(s=s===null?Fi.errors:s.concat(Fi.errors),o=s.length)),t.verticalAlignment!==void 0&&(Ii(t.verticalAlignment,{instancePath:e+"/verticalAlignment",parentData:t,parentDataProperty:"verticalAlignment",rootData:i})||(s=s===null?Ii.errors:s.concat(Ii.errors),o=s.length)),t.width!==void 0){let a=t.width;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/width",schemaPath:"#/properties/width/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}if(typeof a=="number"&&isFinite(a)&&(a<1||isNaN(a))){let u={instancePath:e+"/width",schemaPath:"#/properties/width/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"};s===null?s=[u]:s.push(u),o++}}if(t.wrapWord!==void 0&&typeof t.wrapWord!="boolean"){let a={instancePath:e+"/wrapWord",schemaPath:"#/properties/wrapWord/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};s===null?s=[a]:s.push(a),o++}if(t.truncate!==void 0){let a=t.truncate;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/truncate",schemaPath:"#/properties/truncate/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}}if(t.paddingLeft!==void 0){let a=t.paddingLeft;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/paddingLeft",schemaPath:"#/properties/paddingLeft/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}}if(t.paddingRight!==void 0){let a=t.paddingRight;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/paddingRight",schemaPath:"#/properties/paddingRight/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}}}else{let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[a]:s.push(a),o++}return xn.errors=s,o===0}function bS(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0,a=o,u=!1,l=null,c=o;if(t&&typeof t=="object"&&!Array.isArray(t)){for(let p in t)if(!kS.test(p)){let h={instancePath:e,schemaPath:"#/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:p},message:"must NOT have additional properties"};s===null?s=[h]:s.push(h),o++}for(let p in t)kS.test(p)&&(xn(t[p],{instancePath:e+"/"+p.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:t,parentDataProperty:p,rootData:i})||(s=s===null?xn.errors:s.concat(xn.errors),o=s.length))}else{let p={instancePath:e,schemaPath:"#/oneOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[p]:s.push(p),o++}var d=c===o;d&&(u=!0,l=0);let f=o;if(Array.isArray(t)){let p=t.length;for(let h=0;h<p;h++)xn(t[h],{instancePath:e+"/"+h,parentData:t,parentDataProperty:h,rootData:i})||(s=s===null?xn.errors:s.concat(xn.errors),o=s.length)}else{let p={instancePath:e,schemaPath:"#/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};s===null?s=[p]:s.push(p),o++}var d=f===o;if(d&&u?(u=!1,l=[l,1]):d&&(u=!0,l=1),u)o=a,s!==null&&(a?s.length=a:s=null);else{let p={instancePath:e,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};s===null?s=[p]:s.push(p),o++}return bS.errors=s,o===0}function vS(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(t&&typeof t=="object"&&!Array.isArray(t)){for(let a in t)if(!(a==="alignment"||a==="verticalAlignment"||a==="width"||a==="wrapWord"||a==="truncate"||a==="paddingLeft"||a==="paddingRight")){let u={instancePath:e,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"};s===null?s=[u]:s.push(u),o++}if(t.alignment!==void 0&&(Fi(t.alignment,{instancePath:e+"/alignment",parentData:t,parentDataProperty:"alignment",rootData:i})||(s=s===null?Fi.errors:s.concat(Fi.errors),o=s.length)),t.verticalAlignment!==void 0&&(Ii(t.verticalAlignment,{instancePath:e+"/verticalAlignment",parentData:t,parentDataProperty:"verticalAlignment",rootData:i})||(s=s===null?Ii.errors:s.concat(Ii.errors),o=s.length)),t.width!==void 0){let a=t.width;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/width",schemaPath:"#/properties/width/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}if(typeof a=="number"&&isFinite(a)&&(a<1||isNaN(a))){let u={instancePath:e+"/width",schemaPath:"#/properties/width/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"};s===null?s=[u]:s.push(u),o++}}if(t.wrapWord!==void 0&&typeof t.wrapWord!="boolean"){let a={instancePath:e+"/wrapWord",schemaPath:"#/properties/wrapWord/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};s===null?s=[a]:s.push(a),o++}if(t.truncate!==void 0){let a=t.truncate;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/truncate",schemaPath:"#/properties/truncate/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}}if(t.paddingLeft!==void 0){let a=t.paddingLeft;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/paddingLeft",schemaPath:"#/properties/paddingLeft/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}}if(t.paddingRight!==void 0){let a=t.paddingRight;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/paddingRight",schemaPath:"#/properties/paddingRight/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}}}else{let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[a]:s.push(a),o++}return vS.errors=s,o===0}function wS(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(typeof t!="string"){let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"string"},message:"must be string"};s===null?s=[a]:s.push(a),o++}if(!(t==="top"||t==="middle"||t==="bottom")){let a={instancePath:e,schemaPath:"#/enum",keyword:"enum",params:{allowedValues:Yle.enum},message:"must be equal to one of the allowed values"};s===null?s=[a]:s.push(a),o++}return wS.errors=s,o===0}function Qle(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(t&&typeof t=="object"&&!Array.isArray(t)){for(let a in t)if(!(a==="border"||a==="header"||a==="columns"||a==="columnDefault"||a==="drawVerticalLine"||a==="drawHorizontalLine"||a==="singleLine"||a==="spanningCells")){let u={instancePath:e,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"};s===null?s=[u]:s.push(u),o++}if(t.border!==void 0&&(yS(t.border,{instancePath:e+"/border",parentData:t,parentDataProperty:"border",rootData:i})||(s=s===null?yS.errors:s.concat(yS.errors),o=s.length)),t.header!==void 0){let a=t.header;if(a&&typeof a=="object"&&!Array.isArray(a)){if(a.content===void 0){let u={instancePath:e+"/header",schemaPath:"#/properties/header/required",keyword:"required",params:{missingProperty:"content"},message:"must have required property 'content'"};s===null?s=[u]:s.push(u),o++}for(let u in a)if(!(u==="content"||u==="alignment"||u==="wrapWord"||u==="truncate"||u==="paddingLeft"||u==="paddingRight")){let l={instancePath:e+"/header",schemaPath:"#/properties/header/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:u},message:"must NOT have additional properties"};s===null?s=[l]:s.push(l),o++}if(a.content!==void 0&&typeof a.content!="string"){let u={instancePath:e+"/header/content",schemaPath:"#/properties/header/properties/content/type",keyword:"type",params:{type:"string"},message:"must be string"};s===null?s=[u]:s.push(u),o++}if(a.alignment!==void 0&&(Sa(a.alignment,{instancePath:e+"/header/alignment",parentData:a,parentDataProperty:"alignment",rootData:i})||(s=s===null?Sa.errors:s.concat(Sa.errors),o=s.length)),a.wrapWord!==void 0&&typeof a.wrapWord!="boolean"){let u={instancePath:e+"/header/wrapWord",schemaPath:"#/properties/header/properties/wrapWord/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};s===null?s=[u]:s.push(u),o++}if(a.truncate!==void 0){let u=a.truncate;if(!(typeof u=="number"&&!(u%1)&&!isNaN(u)&&isFinite(u))){let l={instancePath:e+"/header/truncate",schemaPath:"#/properties/header/properties/truncate/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[l]:s.push(l),o++}}if(a.paddingLeft!==void 0){let u=a.paddingLeft;if(!(typeof u=="number"&&!(u%1)&&!isNaN(u)&&isFinite(u))){let l={instancePath:e+"/header/paddingLeft",schemaPath:"#/properties/header/properties/paddingLeft/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[l]:s.push(l),o++}}if(a.paddingRight!==void 0){let u=a.paddingRight;if(!(typeof u=="number"&&!(u%1)&&!isNaN(u)&&isFinite(u))){let l={instancePath:e+"/header/paddingRight",schemaPath:"#/properties/header/properties/paddingRight/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[l]:s.push(l),o++}}}else{let u={instancePath:e+"/header",schemaPath:"#/properties/header/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[u]:s.push(u),o++}}if(t.columns!==void 0&&(bS(t.columns,{instancePath:e+"/columns",parentData:t,parentDataProperty:"columns",rootData:i})||(s=s===null?bS.errors:s.concat(bS.errors),o=s.length)),t.columnDefault!==void 0&&(vS(t.columnDefault,{instancePath:e+"/columnDefault",parentData:t,parentDataProperty:"columnDefault",rootData:i})||(s=s===null?vS.errors:s.concat(vS.errors),o=s.length)),t.drawVerticalLine!==void 0&&typeof t.drawVerticalLine!="function"){let a={instancePath:e+"/drawVerticalLine",schemaPath:"#/properties/drawVerticalLine/typeof",keyword:"typeof",params:{},message:'must pass "typeof" keyword validation'};s===null?s=[a]:s.push(a),o++}if(t.drawHorizontalLine!==void 0&&typeof t.drawHorizontalLine!="function"){let a={instancePath:e+"/drawHorizontalLine",schemaPath:"#/properties/drawHorizontalLine/typeof",keyword:"typeof",params:{},message:'must pass "typeof" keyword validation'};s===null?s=[a]:s.push(a),o++}if(t.singleLine!==void 0&&typeof t.singleLine!="boolean"){let a={instancePath:e+"/singleLine",schemaPath:"#/properties/singleLine/typeof",keyword:"typeof",params:{},message:'must pass "typeof" keyword validation'};s===null?s=[a]:s.push(a),o++}if(t.spanningCells!==void 0){let a=t.spanningCells;if(Array.isArray(a)){let u=a.length;for(let l=0;l<u;l++){let c=a[l];if(c&&typeof c=="object"&&!Array.isArray(c)){if(c.row===void 0){let f={instancePath:e+"/spanningCells/"+l,schemaPath:"#/properties/spanningCells/items/required",keyword:"required",params:{missingProperty:"row"},message:"must have required property 'row'"};s===null?s=[f]:s.push(f),o++}if(c.col===void 0){let f={instancePath:e+"/spanningCells/"+l,schemaPath:"#/properties/spanningCells/items/required",keyword:"required",params:{missingProperty:"col"},message:"must have required property 'col'"};s===null?s=[f]:s.push(f),o++}for(let f in c)if(!yL.call(fdt.properties.spanningCells.items.properties,f)){let d={instancePath:e+"/spanningCells/"+l,schemaPath:"#/properties/spanningCells/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:f},message:"must NOT have additional properties"};s===null?s=[d]:s.push(d),o++}if(c.col!==void 0){let f=c.col;if(!(typeof f=="number"&&!(f%1)&&!isNaN(f)&&isFinite(f))){let d={instancePath:e+"/spanningCells/"+l+"/col",schemaPath:"#/properties/spanningCells/items/properties/col/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[d]:s.push(d),o++}if(typeof f=="number"&&isFinite(f)&&(f<0||isNaN(f))){let d={instancePath:e+"/spanningCells/"+l+"/col",schemaPath:"#/properties/spanningCells/items/properties/col/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"};s===null?s=[d]:s.push(d),o++}}if(c.row!==void 0){let f=c.row;if(!(typeof f=="number"&&!(f%1)&&!isNaN(f)&&isFinite(f))){let d={instancePath:e+"/spanningCells/"+l+"/row",schemaPath:"#/properties/spanningCells/items/properties/row/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[d]:s.push(d),o++}if(typeof f=="number"&&isFinite(f)&&(f<0||isNaN(f))){let d={instancePath:e+"/spanningCells/"+l+"/row",schemaPath:"#/properties/spanningCells/items/properties/row/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"};s===null?s=[d]:s.push(d),o++}}if(c.colSpan!==void 0){let f=c.colSpan;if(!(typeof f=="number"&&!(f%1)&&!isNaN(f)&&isFinite(f))){let d={instancePath:e+"/spanningCells/"+l+"/colSpan",schemaPath:"#/properties/spanningCells/items/properties/colSpan/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[d]:s.push(d),o++}if(typeof f=="number"&&isFinite(f)&&(f<1||isNaN(f))){let d={instancePath:e+"/spanningCells/"+l+"/colSpan",schemaPath:"#/properties/spanningCells/items/properties/colSpan/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"};s===null?s=[d]:s.push(d),o++}}if(c.rowSpan!==void 0){let f=c.rowSpan;if(!(typeof f=="number"&&!(f%1)&&!isNaN(f)&&isFinite(f))){let d={instancePath:e+"/spanningCells/"+l+"/rowSpan",schemaPath:"#/properties/spanningCells/items/properties/rowSpan/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[d]:s.push(d),o++}if(typeof f=="number"&&isFinite(f)&&(f<1||isNaN(f))){let d={instancePath:e+"/spanningCells/"+l+"/rowSpan",schemaPath:"#/properties/spanningCells/items/properties/rowSpan/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"};s===null?s=[d]:s.push(d),o++}}if(c.alignment!==void 0&&(Sa(c.alignment,{instancePath:e+"/spanningCells/"+l+"/alignment",parentData:c,parentDataProperty:"alignment",rootData:i})||(s=s===null?Sa.errors:s.concat(Sa.errors),o=s.length)),c.verticalAlignment!==void 0&&(wS(c.verticalAlignment,{instancePath:e+"/spanningCells/"+l+"/verticalAlignment",parentData:c,parentDataProperty:"verticalAlignment",rootData:i})||(s=s===null?wS.errors:s.concat(wS.errors),o=s.length)),c.wrapWord!==void 0&&typeof c.wrapWord!="boolean"){let f={instancePath:e+"/spanningCells/"+l+"/wrapWord",schemaPath:"#/properties/spanningCells/items/properties/wrapWord/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};s===null?s=[f]:s.push(f),o++}if(c.truncate!==void 0){let f=c.truncate;if(!(typeof f=="number"&&!(f%1)&&!isNaN(f)&&isFinite(f))){let d={instancePath:e+"/spanningCells/"+l+"/truncate",schemaPath:"#/properties/spanningCells/items/properties/truncate/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[d]:s.push(d),o++}}if(c.paddingLeft!==void 0){let f=c.paddingLeft;if(!(typeof f=="number"&&!(f%1)&&!isNaN(f)&&isFinite(f))){let d={instancePath:e+"/spanningCells/"+l+"/paddingLeft",schemaPath:"#/properties/spanningCells/items/properties/paddingLeft/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[d]:s.push(d),o++}}if(c.paddingRight!==void 0){let f=c.paddingRight;if(!(typeof f=="number"&&!(f%1)&&!isNaN(f)&&isFinite(f))){let d={instancePath:e+"/spanningCells/"+l+"/paddingRight",schemaPath:"#/properties/spanningCells/items/properties/paddingRight/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[d]:s.push(d),o++}}}else{let f={instancePath:e+"/spanningCells/"+l,schemaPath:"#/properties/spanningCells/items/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[f]:s.push(f),o++}}}else{let u={instancePath:e+"/spanningCells",schemaPath:"#/properties/spanningCells/type",keyword:"type",params:{type:"array"},message:"must be array"};s===null?s=[u]:s.push(u),o++}}}else{let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[a]:s.push(a),o++}return Qle.errors=s,o===0}bL["streamConfig.json"]=Jle;function _S(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(t&&typeof t=="object"&&!Array.isArray(t)){for(let a in t)if(!yL.call(Gle.properties,a)){let u={instancePath:e,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"};s===null?s=[u]:s.push(u),o++}t.topBody!==void 0&&(Z(t.topBody,{instancePath:e+"/topBody",parentData:t,parentDataProperty:"topBody",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.topJoin!==void 0&&(Z(t.topJoin,{instancePath:e+"/topJoin",parentData:t,parentDataProperty:"topJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.topLeft!==void 0&&(Z(t.topLeft,{instancePath:e+"/topLeft",parentData:t,parentDataProperty:"topLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.topRight!==void 0&&(Z(t.topRight,{instancePath:e+"/topRight",parentData:t,parentDataProperty:"topRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bottomBody!==void 0&&(Z(t.bottomBody,{instancePath:e+"/bottomBody",parentData:t,parentDataProperty:"bottomBody",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bottomJoin!==void 0&&(Z(t.bottomJoin,{instancePath:e+"/bottomJoin",parentData:t,parentDataProperty:"bottomJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bottomLeft!==void 0&&(Z(t.bottomLeft,{instancePath:e+"/bottomLeft",parentData:t,parentDataProperty:"bottomLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bottomRight!==void 0&&(Z(t.bottomRight,{instancePath:e+"/bottomRight",parentData:t,parentDataProperty:"bottomRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bodyLeft!==void 0&&(Z(t.bodyLeft,{instancePath:e+"/bodyLeft",parentData:t,parentDataProperty:"bodyLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bodyRight!==void 0&&(Z(t.bodyRight,{instancePath:e+"/bodyRight",parentData:t,parentDataProperty:"bodyRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bodyJoin!==void 0&&(Z(t.bodyJoin,{instancePath:e+"/bodyJoin",parentData:t,parentDataProperty:"bodyJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.headerJoin!==void 0&&(Z(t.headerJoin,{instancePath:e+"/headerJoin",parentData:t,parentDataProperty:"headerJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinBody!==void 0&&(Z(t.joinBody,{instancePath:e+"/joinBody",parentData:t,parentDataProperty:"joinBody",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinLeft!==void 0&&(Z(t.joinLeft,{instancePath:e+"/joinLeft",parentData:t,parentDataProperty:"joinLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinRight!==void 0&&(Z(t.joinRight,{instancePath:e+"/joinRight",parentData:t,parentDataProperty:"joinRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinJoin!==void 0&&(Z(t.joinJoin,{instancePath:e+"/joinJoin",parentData:t,parentDataProperty:"joinJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinMiddleUp!==void 0&&(Z(t.joinMiddleUp,{instancePath:e+"/joinMiddleUp",parentData:t,parentDataProperty:"joinMiddleUp",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinMiddleDown!==void 0&&(Z(t.joinMiddleDown,{instancePath:e+"/joinMiddleDown",parentData:t,parentDataProperty:"joinMiddleDown",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinMiddleLeft!==void 0&&(Z(t.joinMiddleLeft,{instancePath:e+"/joinMiddleLeft",parentData:t,parentDataProperty:"joinMiddleLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinMiddleRight!==void 0&&(Z(t.joinMiddleRight,{instancePath:e+"/joinMiddleRight",parentData:t,parentDataProperty:"joinMiddleRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length))}else{let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[a]:s.push(a),o++}return _S.errors=s,o===0}function xS(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0,a=o,u=!1,l=null,c=o;if(t&&typeof t=="object"&&!Array.isArray(t)){for(let p in t)if(!kS.test(p)){let h={instancePath:e,schemaPath:"#/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:p},message:"must NOT have additional properties"};s===null?s=[h]:s.push(h),o++}for(let p in t)kS.test(p)&&(xn(t[p],{instancePath:e+"/"+p.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:t,parentDataProperty:p,rootData:i})||(s=s===null?xn.errors:s.concat(xn.errors),o=s.length))}else{let p={instancePath:e,schemaPath:"#/oneOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[p]:s.push(p),o++}var d=c===o;d&&(u=!0,l=0);let f=o;if(Array.isArray(t)){let p=t.length;for(let h=0;h<p;h++)xn(t[h],{instancePath:e+"/"+h,parentData:t,parentDataProperty:h,rootData:i})||(s=s===null?xn.errors:s.concat(xn.errors),o=s.length)}else{let p={instancePath:e,schemaPath:"#/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};s===null?s=[p]:s.push(p),o++}var d=f===o;if(d&&u?(u=!1,l=[l,1]):d&&(u=!0,l=1),u)o=a,s!==null&&(a?s.length=a:s=null);else{let p={instancePath:e,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};s===null?s=[p]:s.push(p),o++}return xS.errors=s,o===0}function SS(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(t&&typeof t=="object"&&!Array.isArray(t)){for(let a in t)if(!(a==="alignment"||a==="verticalAlignment"||a==="width"||a==="wrapWord"||a==="truncate"||a==="paddingLeft"||a==="paddingRight")){let u={instancePath:e,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"};s===null?s=[u]:s.push(u),o++}if(t.alignment!==void 0&&(Fi(t.alignment,{instancePath:e+"/alignment",parentData:t,parentDataProperty:"alignment",rootData:i})||(s=s===null?Fi.errors:s.concat(Fi.errors),o=s.length)),t.verticalAlignment!==void 0&&(Ii(t.verticalAlignment,{instancePath:e+"/verticalAlignment",parentData:t,parentDataProperty:"verticalAlignment",rootData:i})||(s=s===null?Ii.errors:s.concat(Ii.errors),o=s.length)),t.width!==void 0){let a=t.width;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/width",schemaPath:"#/properties/width/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}if(typeof a=="number"&&isFinite(a)&&(a<1||isNaN(a))){let u={instancePath:e+"/width",schemaPath:"#/properties/width/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"};s===null?s=[u]:s.push(u),o++}}if(t.wrapWord!==void 0&&typeof t.wrapWord!="boolean"){let a={instancePath:e+"/wrapWord",schemaPath:"#/properties/wrapWord/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};s===null?s=[a]:s.push(a),o++}if(t.truncate!==void 0){let a=t.truncate;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/truncate",schemaPath:"#/properties/truncate/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}}if(t.paddingLeft!==void 0){let a=t.paddingLeft;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/paddingLeft",schemaPath:"#/properties/paddingLeft/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}}if(t.paddingRight!==void 0){let a=t.paddingRight;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/paddingRight",schemaPath:"#/properties/paddingRight/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}}}else{let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[a]:s.push(a),o++}return SS.errors=s,o===0}function Jle(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(t&&typeof t=="object"&&!Array.isArray(t)){if(t.columnDefault===void 0){let a={instancePath:e,schemaPath:"#/required",keyword:"required",params:{missingProperty:"columnDefault"},message:"must have required property 'columnDefault'"};s===null?s=[a]:s.push(a),o++}if(t.columnCount===void 0){let a={instancePath:e,schemaPath:"#/required",keyword:"required",params:{missingProperty:"columnCount"},message:"must have required property 'columnCount'"};s===null?s=[a]:s.push(a),o++}for(let a in t)if(!(a==="border"||a==="columns"||a==="columnDefault"||a==="columnCount"||a==="drawVerticalLine")){let u={instancePath:e,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"};s===null?s=[u]:s.push(u),o++}if(t.border!==void 0&&(_S(t.border,{instancePath:e+"/border",parentData:t,parentDataProperty:"border",rootData:i})||(s=s===null?_S.errors:s.concat(_S.errors),o=s.length)),t.columns!==void 0&&(xS(t.columns,{instancePath:e+"/columns",parentData:t,parentDataProperty:"columns",rootData:i})||(s=s===null?xS.errors:s.concat(xS.errors),o=s.length)),t.columnDefault!==void 0&&(SS(t.columnDefault,{instancePath:e+"/columnDefault",parentData:t,parentDataProperty:"columnDefault",rootData:i})||(s=s===null?SS.errors:s.concat(SS.errors),o=s.length)),t.columnCount!==void 0){let a=t.columnCount;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/columnCount",schemaPath:"#/properties/columnCount/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}if(typeof a=="number"&&isFinite(a)&&(a<1||isNaN(a))){let u={instancePath:e+"/columnCount",schemaPath:"#/properties/columnCount/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"};s===null?s=[u]:s.push(u),o++}}if(t.drawVerticalLine!==void 0&&typeof t.drawVerticalLine!="function"){let a={instancePath:e+"/drawVerticalLine",schemaPath:"#/properties/drawVerticalLine/typeof",keyword:"typeof",params:{},message:'must pass "typeof" keyword validation'};s===null?s=[a]:s.push(a),o++}}else{let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[a]:s.push(a),o++}return Jle.errors=s,o===0}});var vL=m(kl=>{"use strict";var ddt=kl&&kl.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(kl,"__esModule",{value:!0});kl.validateConfig=void 0;var pdt=ddt(Xle()),hdt=(t,e)=>{let r=pdt.default[t];if(!r(e)&&r.errors){let n=r.errors.map(i=>({message:i.message,params:i.params,schemaPath:i.schemaPath}));throw console.log("config",e),console.log("errors",n),new Error("Invalid config.")}};kl.validateConfig=hdt});var Zle=m(ES=>{"use strict";Object.defineProperty(ES,"__esModule",{value:!0});ES.makeStreamConfig=void 0;var gdt=dr(),mdt=vL(),ydt=(t,e={},r)=>Array.from({length:t}).map((n,i)=>({alignment:"left",paddingLeft:1,paddingRight:1,truncate:Number.POSITIVE_INFINITY,verticalAlignment:"top",wrapWord:!1,...r,...e[i]})),bdt=t=>{if((0,mdt.validateConfig)("streamConfig.json",t),t.columnDefault.width===void 0)throw new Error("Must provide config.columnDefault.width when creating a stream.");return{drawVerticalLine:()=>!0,...t,border:(0,gdt.makeBorderConfig)(t.border),columns:ydt(t.columnCount,t.columns,t.columnDefault)}};ES.makeStreamConfig=bdt});var DS=m(ka=>{"use strict";Object.defineProperty(ka,"__esModule",{value:!0});ka.mapDataUsingRowHeights=ka.padCellVertically=void 0;var vdt=dr(),wdt=fS(),CS=t=>new Array(t).fill(""),_dt=(t,e,r)=>{let n=e-t.length;return r==="top"?[...t,...CS(n)]:r==="bottom"?[...CS(n),...t]:[...CS(Math.floor(n/2)),...t,...CS(Math.ceil(n/2))]};ka.padCellVertically=_dt;var xdt=(t,e,r)=>{let n=t[0].length,i=t.map((s,o)=>{let a=e[o],u=Array.from({length:a},()=>new Array(n).fill(""));return s.forEach((l,c)=>{var f;let d=(f=r.spanningCellManager)===null||f===void 0?void 0:f.getContainingRange({col:c,row:o});if(d){d.extractCellContent(o).forEach((y,v)=>{u[v][c]=y});return}let p=(0,wdt.wrapCell)(l,r.columns[c].width,r.columns[c].wrapWord);(0,ka.padCellVertically)(p,a,r.columns[c].verticalAlignment).forEach((y,v)=>{u[v][c]=y})}),u});return(0,vdt.flatten)(i)};ka.mapDataUsingRowHeights=xdt});var OS=m(Ea=>{"use strict";Object.defineProperty(Ea,"__esModule",{value:!0});Ea.padTableData=Ea.padString=void 0;var Sdt=(t,e,r)=>" ".repeat(e)+t+" ".repeat(r);Ea.padString=Sdt;var kdt=(t,e)=>t.map((r,n)=>r.map((i,s)=>{var o;if((o=e.spanningCellManager)===null||o===void 0?void 0:o.getContainingRange({col:s,row:n},{mapped:!0}))return i;let{paddingLeft:u,paddingRight:l}=e.columns[s];return(0,Ea.padString)(i,u,l)}));Ea.padTableData=kdt});var wL=m(qS=>{"use strict";Object.defineProperty(qS,"__esModule",{value:!0});qS.stringifyTableData=void 0;var Edt=dr(),Cdt=t=>t.map(e=>e.map(r=>(0,Edt.normalizeString)(String(r))));qS.stringifyTableData=Cdt});var xce=m((rp,El)=>{var Ddt=30,Odt="...",_L=1/0,qdt=17976931348623157e292,ece=0/0,Rdt="[object RegExp]",Adt="[object Symbol]",Pdt=/^\s+|\s+$/g,Tdt=/\w*$/,Mdt=/^[-+]0x[0-9a-f]+$/i,Ldt=/^0b[01]+$/i,Fdt=/^0o[0-7]+$/i,CL="\\ud800-\\udfff",lce="\\u0300-\\u036f\\ufe20-\\ufe23",cce="\\u20d0-\\u20f0",fce="\\ufe0e\\ufe0f",Idt="["+CL+"]",xL="["+lce+cce+"]",SL="\\ud83c[\\udffb-\\udfff]",Ndt="(?:"+xL+"|"+SL+")",dce="[^"+CL+"]",pce="(?:\\ud83c[\\udde6-\\uddff]){2}",hce="[\\ud800-\\udbff][\\udc00-\\udfff]",gce="\\u200d",mce=Ndt+"?",yce="["+fce+"]?",jdt="(?:"+gce+"(?:"+[dce,pce,hce].join("|")+")"+yce+mce+")*",$dt=yce+mce+jdt,Bdt="(?:"+[dce+xL+"?",xL,pce,hce,Idt].join("|")+")",kL=RegExp(SL+"(?="+SL+")|"+Bdt+$dt,"g"),Wdt=RegExp("["+gce+CL+lce+cce+fce+"]"),zdt=parseInt,bce=typeof global=="object"&&global&&global.Object===Object&&global,Udt=typeof self=="object"&&self&&self.Object===Object&&self,Hdt=bce||Udt||Function("return this")(),vce=typeof rp=="object"&&rp&&!rp.nodeType&&rp,tce=vce&&typeof El=="object"&&El&&!El.nodeType&&El,Vdt=tce&&tce.exports===vce,rce=Vdt&&bce.process,nce=function(){try{return rce&&rce.binding("util")}catch{}}(),ice=nce&&nce.isRegExp,Gdt=Ydt("length");function Kdt(t){return t.split("")}function Ydt(t){return function(e){return e?.[t]}}function Qdt(t){return function(e){return t(e)}}function DL(t){return Wdt.test(t)}function Jdt(t){return DL(t)?Zdt(t):Gdt(t)}function Xdt(t){return DL(t)?ept(t):Kdt(t)}function Zdt(t){for(var e=kL.lastIndex=0;kL.test(t);)e++;return e}function ept(t){return t.match(kL)||[]}var tpt=Object.prototype,wce=tpt.toString,sce=Hdt.Symbol,oce=sce?sce.prototype:void 0,ace=oce?oce.toString:void 0;function rpt(t){return RS(t)&&wce.call(t)==Rdt}function npt(t,e,r){var n=-1,i=t.length;e<0&&(e=-e>i?0:i+e),r=r>i?i:r,r<0&&(r+=i),i=e>r?0:r-e>>>0,e>>>=0;for(var s=Array(i);++n<i;)s[n]=t[n+e];return s}function EL(t){if(typeof t=="string")return t;if(_ce(t))return ace?ace.call(t):"";var e=t+"";return e=="0"&&1/t==-_L?"-0":e}function ipt(t,e,r){var n=t.length;return r=r===void 0?n:r,!e&&r>=n?t:npt(t,e,r)}function RS(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function spt(t){return!!t&&typeof t=="object"}var opt=ice?Qdt(ice):rpt;function _ce(t){return typeof t=="symbol"||spt(t)&&wce.call(t)==Adt}function apt(t){if(!t)return t===0?t:0;if(t=lpt(t),t===_L||t===-_L){var e=t<0?-1:1;return e*qdt}return t===t?t:0}function upt(t){var e=apt(t),r=e%1;return e===e?r?e-r:e:0}function lpt(t){if(typeof t=="number")return t;if(_ce(t))return ece;if(RS(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=RS(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=t.replace(Pdt,"");var r=Ldt.test(t);return r||Fdt.test(t)?zdt(t.slice(2),r?2:8):Mdt.test(t)?ece:+t}function uce(t){return t==null?"":EL(t)}function cpt(t,e){var r=Ddt,n=Odt;if(RS(e)){var i="separator"in e?e.separator:i;r="length"in e?upt(e.length):r,n="omission"in e?EL(e.omission):n}t=uce(t);var s=t.length;if(DL(t)){var o=Xdt(t);s=o.length}if(r>=s)return t;var a=r-Jdt(n);if(a<1)return n;var u=o?ipt(o,0,a).join(""):t.slice(0,a);if(i===void 0)return u+n;if(o&&(a+=u.length-a),opt(i)){if(t.slice(a).search(i)){var l,c=u;for(i.global||(i=RegExp(i.source,uce(Tdt.exec(i))+"g")),i.lastIndex=0;l=i.exec(c);)var f=l.index;u=u.slice(0,f===void 0?a:f)}}else if(t.indexOf(EL(i),a)!=a){var d=u.lastIndexOf(i);d>-1&&(u=u.slice(0,d))}return u+n}El.exports=cpt});var AS=m(hs=>{"use strict";var fpt=hs&&hs.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(hs,"__esModule",{value:!0});hs.truncateTableData=hs.truncateString=void 0;var dpt=fpt(xce()),ppt=(t,e)=>(0,dpt.default)(t,{length:e,omission:"\u2026"});hs.truncateString=ppt;var hpt=(t,e)=>t.map(r=>r.map((n,i)=>(0,hs.truncateString)(n,e[i])));hs.truncateTableData=hpt});var Ece=m(TS=>{"use strict";Object.defineProperty(TS,"__esModule",{value:!0});TS.createStream=void 0;var gpt=dL(),mpt=pL(),PS=hL(),Sce=gL(),ypt=Zle(),bpt=DS(),vpt=OS(),wpt=wL(),_pt=AS(),xpt=dr(),kce=(t,e)=>{let r=(0,wpt.stringifyTableData)(t);r=(0,_pt.truncateTableData)(r,(0,xpt.extractTruncates)(e));let n=(0,mpt.calculateRowHeights)(r,e);return r=(0,bpt.mapDataUsingRowHeights)(r,n,e),r=(0,gpt.alignTableData)(r,e),r=(0,vpt.padTableData)(r,e),r},Spt=(t,e,r)=>{let i=kce([t],r).map(o=>(0,Sce.drawRow)(o,r)).join(""),s;s="",s+=(0,PS.drawBorderTop)(e,r),s+=i,s+=(0,PS.drawBorderBottom)(e,r),s=s.trimEnd(),process.stdout.write(s)},kpt=(t,e,r)=>{let i=kce([t],r).map(a=>(0,Sce.drawRow)(a,r)).join(""),s="",o=(0,PS.drawBorderBottom)(e,r);o!==`
|
|
330
|
+
`&&(s="\r\x1B[K"),s+=(0,PS.drawBorderJoin)(e,r),s+=i,s+=o,s=s.trimEnd(),process.stdout.write(s)},Ept=t=>{let e=(0,ypt.makeStreamConfig)(t),r=Object.values(e.columns).map(i=>i.width+i.paddingLeft+i.paddingRight),n=!0;return{write:i=>{if(i.length!==e.columnCount)throw new Error("Row cell count does not match the config.columnCount.");n?(n=!1,Spt(i,r,e)):kpt(i,r,e)}}};TS.createStream=Ept});var Cce=m(MS=>{"use strict";Object.defineProperty(MS,"__esModule",{value:!0});MS.calculateOutputColumnWidths=void 0;var Cpt=t=>t.columns.map(e=>e.paddingLeft+e.width+e.paddingRight);MS.calculateOutputColumnWidths=Cpt});var Dce=m(LS=>{"use strict";Object.defineProperty(LS,"__esModule",{value:!0});LS.drawTable=void 0;var Dpt=hL(),Opt=gS(),qpt=gL(),Rpt=dr(),Apt=(t,e,r,n)=>{let{drawHorizontalLine:i,singleLine:s}=n,o=(0,Rpt.groupBySizes)(t,r).map((a,u)=>a.map(l=>(0,qpt.drawRow)(l,{...n,rowIndex:u})).join(""));return(0,Opt.drawContent)({contents:o,drawSeparator:(a,u)=>(a===0||a===u||!s)&&i(a,u),elementType:"row",rowIndex:-1,separatorGetter:(0,Dpt.createTableBorderGetter)(e,{...n,rowCount:o.length}),spanningCellManager:n.spanningCellManager})};LS.drawTable=Apt});var Oce=m(FS=>{"use strict";Object.defineProperty(FS,"__esModule",{value:!0});FS.injectHeaderConfig=void 0;var Ppt=(t,e)=>{var r;let n=(r=e.spanningCells)!==null&&r!==void 0?r:[],i=e.header,s=[...t];if(i){n=n.map(({row:u,...l})=>({...l,row:u+1}));let{content:o,...a}=i;n.unshift({alignment:"center",col:0,colSpan:t[0].length,paddingLeft:1,paddingRight:1,row:0,wrapWord:!1,...a}),s.unshift([o,...Array.from({length:t[0].length-1}).fill("")])}return[s,n]};FS.injectHeaderConfig=Ppt});var Rce=m(gs=>{"use strict";var Tpt=gs&&gs.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(gs,"__esModule",{value:!0});gs.calculateMaximumColumnWidths=gs.calculateMaximumCellWidth=void 0;var Mpt=Tpt(xa()),qce=dr(),Lpt=t=>Math.max(...t.split(`
|
|
331
|
+
`).map(Mpt.default));gs.calculateMaximumCellWidth=Lpt;var Fpt=(t,e=[])=>{let r=new Array(t[0].length).fill(0),n=e.map(qce.calculateRangeCoordinate),i=(s,o)=>n.some(a=>(0,qce.isCellInRange)({col:o,row:s},a));return t.forEach((s,o)=>{s.forEach((a,u)=>{i(o,u)||(r[u]=Math.max(r[u],(0,gs.calculateMaximumCellWidth)(a)))})}),r};gs.calculateMaximumColumnWidths=Fpt});var Pce=m(lo=>{"use strict";var Ipt=lo&&lo.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(lo,"__esModule",{value:!0});lo.alignVerticalRangeContent=lo.wrapRangeContent=void 0;var Npt=Ipt(xa()),jpt=fL(),$pt=DS(),Bpt=OS(),Wpt=AS(),Ace=dr(),zpt=fS(),Upt=(t,e,r)=>{let{topLeft:n,paddingRight:i,paddingLeft:s,truncate:o,wrapWord:a,alignment:u}=t,l=r.rows[n.row][n.col],c=e-s-i;return(0,zpt.wrapCell)((0,Wpt.truncateString)(l,o),c,a).map(f=>{let d=(0,jpt.alignString)(f,c,u);return(0,Bpt.padString)(d,s,i)})};lo.wrapRangeContent=Upt;var Hpt=(t,e,r)=>{let{rows:n,drawHorizontalLine:i,rowHeights:s}=r,{topLeft:o,bottomRight:a,verticalAlignment:u}=t;if(s.length===0)return[];let l=(0,Ace.sumArray)(s.slice(o.row,a.row+1)),c=a.row-o.row,f=(0,Ace.sequence)(o.row+1,a.row).filter(p=>!i(p,n.length)).length,d=l+c-f;return(0,$pt.padCellVertically)(e,d,u).map(p=>p.length===0?" ".repeat((0,Npt.default)(e[0])):p)};lo.alignVerticalRangeContent=Hpt});var Tce=m(IS=>{"use strict";Object.defineProperty(IS,"__esModule",{value:!0});IS.calculateSpanningCellWidth=void 0;var OL=dr(),Vpt=(t,e)=>{let{columnsConfig:r,drawVerticalLine:n}=e,{topLeft:i,bottomRight:s}=t,o=(0,OL.sumArray)(r.slice(i.col,s.col+1).map(({width:c})=>c)),a=i.col===s.col?r[i.col].paddingRight+r[s.col].paddingLeft:(0,OL.sumArray)(r.slice(i.col,s.col+1).map(({paddingLeft:c,paddingRight:f})=>c+f)),u=s.col-i.col,l=(0,OL.sequence)(i.col+1,s.col).filter(c=>!n(c,r.length)).length;return o+a+u-l};IS.calculateSpanningCellWidth=Vpt});var Mce=m(NS=>{"use strict";Object.defineProperty(NS,"__esModule",{value:!0});NS.makeRangeConfig=void 0;var Gpt=dr(),Kpt=(t,e)=>{var r;let{topLeft:n,bottomRight:i}=(0,Gpt.calculateRangeCoordinate)(t);return{...{...e[n.col],...t,paddingRight:(r=t.paddingRight)!==null&&r!==void 0?r:e[i.col].paddingRight},bottomRight:i,topLeft:n}};NS.makeRangeConfig=Kpt});var Ice=m(jS=>{"use strict";Object.defineProperty(jS,"__esModule",{value:!0});jS.createSpanningCellManager=void 0;var Lce=Pce(),Ypt=Tce(),Qpt=Mce(),Cl=dr(),qL=(t,e)=>e.find(r=>(0,Cl.isCellInRange)(t,r)),Fce=(t,e)=>{let r=(0,Ypt.calculateSpanningCellWidth)(t,e),n=(0,Lce.wrapRangeContent)(t,r,e),i=(0,Lce.alignVerticalRangeContent)(t,n,e);return{...t,extractBorderContent:a=>{let{topLeft:u}=t,l=(0,Cl.sumArray)(e.rowHeights.slice(u.row,a))+(a-u.row-1);return i[l]},extractCellContent:a=>{let{topLeft:u}=t,{drawHorizontalLine:l,rowHeights:c}=e,f=a-u.row,d=(0,Cl.sequence)(u.row+1,a).filter(h=>!l?.(h,c.length)).length,p=(0,Cl.sumArray)(c.slice(u.row,a))+f-d;return i.slice(p,p+c[a])},height:n.length,width:r}},Jpt=(t,e,r)=>{let n=qL(t,r),i=qL(e,r);return n&&i?(0,Cl.areCellEqual)(n.topLeft,i.topLeft):!1},Xpt=t=>{let{row:e,col:r}=t.topLeft;return`${e}/${r}`},Zpt=t=>{let{spanningCellConfigs:e,columnsConfig:r}=t,n=e.map(o=>(0,Qpt.makeRangeConfig)(o,r)),i={},s=[];return{getContainingRange:(o,a)=>{var u;let l=a?.mapped?(0,Cl.findOriginalRowIndex)(s,o.row):o.row,c=qL({...o,row:l},n);if(!c)return;if(s.length===0)return Fce(c,{...t,rowHeights:s});let f=Xpt(c);return(u=i[f])!==null&&u!==void 0||(i[f]=Fce(c,{...t,rowHeights:s})),i[f]},inSameRange:(o,a)=>Jpt(o,a,n),rowHeights:s,setRowHeights:o=>{s=o}}};jS.createSpanningCellManager=Zpt});var Nce=m(BS=>{"use strict";Object.defineProperty(BS,"__esModule",{value:!0});BS.validateSpanningCellConfig=void 0;var RL=dr(),$S=(t,e,r)=>t<=r&&r<=e,eht=(t,e)=>{let[r,n]=[t.length,t[0].length];e.forEach((o,a)=>{let{colSpan:u,rowSpan:l}=o;if(u===void 0&&l===void 0)throw new Error(`Expect at least colSpan or rowSpan is provided in config.spanningCells[${a}]`);if(u!==void 0&&u<1)throw new Error(`Expect colSpan is not equal zero, instead got: ${u} in config.spanningCells[${a}]`);if(l!==void 0&&l<1)throw new Error(`Expect rowSpan is not equal zero, instead got: ${l} in config.spanningCells[${a}]`)});let i=e.map(RL.calculateRangeCoordinate);i.forEach(({topLeft:o,bottomRight:a},u)=>{if(!$S(0,n-1,o.col)||!$S(0,r-1,o.row)||!$S(0,n-1,a.col)||!$S(0,r-1,a.row))throw new Error(`Some cells in config.spanningCells[${u}] are out of the table`)});let s=Array.from({length:r},()=>Array.from({length:n}));i.forEach(({topLeft:o,bottomRight:a},u)=>{(0,RL.sequence)(o.row,a.row).forEach(l=>{(0,RL.sequence)(o.col,a.col).forEach(c=>{if(s[l][c]!==void 0)throw new Error(`Spanning cells in config.spanningCells[${s[l][c]}] and config.spanningCells[${u}] are overlap each other`);s[l][c]=u})})})};BS.validateSpanningCellConfig=eht});var jce=m(WS=>{"use strict";Object.defineProperty(WS,"__esModule",{value:!0});WS.makeTableConfig=void 0;var tht=Rce(),rht=Ice(),nht=dr(),iht=vL(),sht=Nce(),oht=(t,e,r,n)=>{let i=(0,tht.calculateMaximumColumnWidths)(t,n);return t[0].map((s,o)=>({alignment:"left",paddingLeft:1,paddingRight:1,truncate:Number.POSITIVE_INFINITY,verticalAlignment:"top",width:i[o],wrapWord:!1,...r,...e?.[o]}))},aht=(t,e={},r)=>{var n,i,s,o,a;(0,iht.validateConfig)("config.json",e),(0,sht.validateSpanningCellConfig)(t,(n=e.spanningCells)!==null&&n!==void 0?n:[]);let u=(i=r??e.spanningCells)!==null&&i!==void 0?i:[],l=oht(t,e.columns,e.columnDefault,u),c=(s=e.drawVerticalLine)!==null&&s!==void 0?s:()=>!0,f=(o=e.drawHorizontalLine)!==null&&o!==void 0?o:()=>!0;return{...e,border:(0,nht.makeBorderConfig)(e.border),columns:l,drawHorizontalLine:f,drawVerticalLine:c,singleLine:(a=e.singleLine)!==null&&a!==void 0?a:!1,spanningCellManager:(0,rht.createSpanningCellManager)({columnsConfig:l,drawHorizontalLine:f,drawVerticalLine:c,rows:t,spanningCellConfigs:u})}};WS.makeTableConfig=aht});var $ce=m(zS=>{"use strict";Object.defineProperty(zS,"__esModule",{value:!0});zS.validateTableData=void 0;var uht=dr(),lht=t=>{if(!Array.isArray(t))throw new TypeError("Table data must be an array.");if(t.length===0)throw new Error("Table must define at least one row.");if(t[0].length===0)throw new Error("Table must define at least one column.");let e=t[0].length;for(let r of t){if(!Array.isArray(r))throw new TypeError("Table row data must be an array.");if(r.length!==e)throw new Error("Table must have a consistent number of cells.");for(let n of r)if(/[\u0001-\u0006\u0008\u0009\u000B-\u001A]/.test((0,uht.normalizeString)(String(n))))throw new Error("Table data must not contain control characters.")}};zS.validateTableData=lht});var Bce=m(US=>{"use strict";Object.defineProperty(US,"__esModule",{value:!0});US.table=void 0;var cht=dL(),fht=Cce(),dht=pL(),pht=Dce(),hht=Oce(),ght=jce(),mht=DS(),yht=OS(),bht=wL(),vht=AS(),wht=dr(),_ht=$ce(),xht=(t,e={})=>{(0,_ht.validateTableData)(t);let r=(0,bht.stringifyTableData)(t),[n,i]=(0,hht.injectHeaderConfig)(r,e),s=(0,ght.makeTableConfig)(n,e,i);r=(0,vht.truncateTableData)(n,(0,wht.extractTruncates)(s));let o=(0,dht.calculateRowHeights)(r,s);s.spanningCellManager.setRowHeights(o),r=(0,mht.mapDataUsingRowHeights)(r,o,s),r=(0,cht.alignTableData)(r,s),r=(0,yht.padTableData)(r,s);let a=(0,fht.calculateOutputColumnWidths)(s);return(0,pht.drawTable)(r,a,o,s)};US.table=xht});var zce=m(Wce=>{"use strict";Object.defineProperty(Wce,"__esModule",{value:!0})});var Uce=m(Sn=>{"use strict";var Sht=Sn&&Sn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),kht=Sn&&Sn.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Sht(e,t,r)};Object.defineProperty(Sn,"__esModule",{value:!0});Sn.getBorderCharacters=Sn.createStream=Sn.table=void 0;var Eht=Ece();Object.defineProperty(Sn,"createStream",{enumerable:!0,get:function(){return Eht.createStream}});var Cht=uL();Object.defineProperty(Sn,"getBorderCharacters",{enumerable:!0,get:function(){return Cht.getBorderCharacters}});var Dht=Bce();Object.defineProperty(Sn,"table",{enumerable:!0,get:function(){return Dht.table}});kht(zce(),Sn)});var AL=m((B3t,Hce)=>{"use strict";Hce.exports=function(e,r){switch(e){case"error":r.error+=1;break;case"warning":r.warning+=1;break;default:throw new Error(`Unknown severity: "${e}"`)}}});var HS=m((W3t,Vce)=>{"use strict";Vce.exports=function(e,r){return r===1?e:`${e}s`}});var Yce=m((z3t,Kce)=>{"use strict";var Oht=mM(),Dl=pM();function Gce(t){if(/^\d{3,4}$/.test(t)){let r=/(\d{1,2})(\d{2})/.exec(t);return{major:0,minor:parseInt(r[1],10),patch:parseInt(r[2],10)}}let e=(t||"").split(".").map(r=>parseInt(r,10));return{major:e[0],minor:e[1],patch:e[2]}}function PL(t){let{env:e}=process;if("FORCE_HYPERLINK"in e)return!(e.FORCE_HYPERLINK.length>0&&parseInt(e.FORCE_HYPERLINK,10)===0);if(Dl("no-hyperlink")||Dl("no-hyperlinks")||Dl("hyperlink=false")||Dl("hyperlink=never"))return!1;if(Dl("hyperlink=true")||Dl("hyperlink=always")||"NETLIFY"in e)return!0;if(!Oht.supportsColor(t)||t&&!t.isTTY||process.platform==="win32"||"CI"in e||"TEAMCITY_VERSION"in e)return!1;if("TERM_PROGRAM"in e){let r=Gce(e.TERM_PROGRAM_VERSION);switch(e.TERM_PROGRAM){case"iTerm.app":return r.major===3?r.minor>=1:r.major>3;case"WezTerm":return r.major>=20200620;case"vscode":return r.major>1||r.major===1&&r.minor>=72}}if("VTE_VERSION"in e){if(e.VTE_VERSION==="0.50.0")return!1;let r=Gce(e.VTE_VERSION);return r.major>0||r.minor>=50}return!1}Kce.exports={supportsHyperlink:PL,stdout:PL(process.stdout),stderr:PL(process.stderr)}});var TL=m((U3t,Xce)=>{"use strict";var qht=Yce(),Qce="\x1B]",Jce="\x07",VS=";";Xce.exports=function(e,r){return qht.stdout?[Qce,"8",VS,VS,r,Jce,e,Qce,"8",VS,VS,Jce].join(""):e}});var LL=m((H3t,afe)=>{"use strict";var Zce=require("path"),Rht=xa(),efe=Uce(),{yellow:KS,dim:GS,underline:ife,blue:sfe,red:YS,green:Aht}=$o(),Pht=AL(),ML=HS(),{assertNumber:ofe}=te(),Tht=yl(),Mht=TL(),tfe=9;function Lht(t){return t}var Fht={info:sfe,warning:KS,error:YS,success:Lht},rfe={info:sfe("\u2139"),warning:KS("\u26A0"),error:YS("\u2716"),success:Aht("\u2714")};function Iht(t){let e=t.flatMap(n=>n.deprecations||[]);if(e.length===0)return"";let r=new Set;return e.reduce((n,i)=>r.has(i.text)?n:(r.add(i.text),n+=KS("Deprecation Warning: "),n+=i.text,i.reference&&(n+=GS(" See: "),n+=GS(ife(i.reference))),`${n}
|
|
332
332
|
`),`
|
|
333
333
|
`)}function Nht(t){let e=t.flatMap(n=>(n.invalidOptionWarnings||[]).map(i=>i.text));return[...new Set(e)].reduce((n,i)=>(n+=YS("Invalid Option: "),n+=i,`${n}
|
|
334
334
|
`),`
|
|
@@ -391,11 +391,11 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LAN
|
|
|
391
391
|
https://www.w3ctech.com/topic/2226`));let a=r(...o);return a.postcssPlugin=e,a.postcssVersion=new aF().version,a}let s;return Object.defineProperty(i,"postcss",{get(){return s||(s=i()),s}}),i.process=function(o,a,u){return ct([i(u)]).process(o,a)},i};ct.stringify=Cmt;ct.parse=Amt;ct.fromJSON=Dmt;ct.list=Pmt;ct.comment=t=>new Ide(t);ct.atRule=t=>new Nde(t);ct.decl=t=>new Lde(t);ct.rule=t=>new jde(t);ct.root=t=>new $de(t);ct.document=t=>new Fde(t);ct.CssSyntaxError=Smt;ct.Declaration=Lde;ct.Container=Emt;ct.Processor=aF;ct.Document=Fde;ct.Comment=Ide;ct.Warning=Omt;ct.AtRule=Nde;ct.Result=qmt;ct.Input=Rmt;ct.Rule=jde;ct.Root=$de;ct.Node=Tmt;kmt.registerPostcss(ct);Bde.exports=ct;ct.default=ct});var Ude=m((ENt,zde)=>{var Mmt=ik(),Lmt=ql(),Fmt=nF(),uF=class extends Fmt{createTokenizer(){this.tokenizer=Mmt(this.input,{ignoreErrors:!0})}comment(e){let r=new Lmt;this.init(r,e[2]);let n=this.input.fromOffset(e[3])||this.input.fromOffset(this.input.css.length-1);r.source.end={offset:e[3],line:n.line,column:n.col};let i=e[1].slice(2);if(i.slice(-2)==="*/"&&(i=i.slice(0,-2)),/^\s*$/.test(i))r.text="",r.raws.left=i,r.raws.right="";else{let s=i.match(/^(\s*)([^]*\S)(\s*)$/);r.text=s[2],r.raws.left=s[1],r.raws.right=s[3]}}decl(e){e.length>1&&e.some(r=>r[0]==="word")&&super.decl(e)}unclosedBracket(){}unknownWord(e){this.spaces+=e.map(r=>r[1]).join("")}unexpectedClose(){this.current.raws.after+="}"}doubleColon(){}unnamedAtrule(e){e.name=""}precheckMissedSemicolon(e){let r=this.colon(e);if(r===!1)return;let n,i;for(n=r-1;n>=0&&e[n][0]!=="word";n--);if(n===0)return;for(i=n-1;i>=0;i--)if(e[i][0]!=="space"){i+=1;break}let s=e.slice(n),o=e.slice(i,n);e.splice(i,e.length-i),this.spaces=o.map(a=>a[1]).join(""),this.decl(s)}checkMissedSemicolon(){}endFile(){for(this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.current.parent;)this.current=this.current.parent,this.current.raws.after=""}};zde.exports=uF});var Vde=m((CNt,Hde)=>{var{Input:Imt}=Wde(),Nmt=Ude();Hde.exports=function(e,r){let n=new Imt(e,r),i=new Nmt(n);return i.parse(),i.root}});var Yde=m((DNt,Kde)=>{"use strict";var jmt=Jb().default,$mt=require("path"),{default:yk}=Xb(),{promises:Bmt}=require("fs"),Wmt=aM(),zmt=yk();Kde.exports=async function(e,r={}){let n=r.filePath?e._postcssResultCache.get(r.filePath):void 0;if(n)return n;if(e._options.syntax){let u='The "syntax" option is no longer available. ';return u+=e._options.syntax==="css"?'You can remove the "--syntax" CLI flag as stylelint will now parse files as CSS by default':'You should install an appropriate syntax, e.g. postcss-scss, and use the "customSyntax" option',Promise.reject(new Error(u))}let i=r.customSyntax?Umt(r.customSyntax,e._options.configBasedir):Hmt(e,r.filePath),s={from:r.filePath,syntax:i},o;if(r.code!==void 0?o=r.code:r.filePath&&(o=await Bmt.readFile(r.filePath,"utf8")),o===void 0)return Promise.reject(new Error("code or filePath required"));if(r.codeProcessors&&r.codeProcessors.length){e._options.fix&&(console.warn("Autofix is incompatible with processors and will be disabled. Are you sure you need a processor?"),e._options.fix=!1);let u=r.code?r.codeFilename:r.filePath;for(let l of r.codeProcessors)o=l(o,u)}let a=await new jmt(zmt,o,s);return r.filePath&&e._postcssResultCache.set(r.filePath,a),a};function Umt(t,e){if(typeof t=="string"){let r=e?Wmt(e,t):t,n;try{n=require(r)}catch(i){throw i&&typeof i=="object"&&"code"in i&&i.code==="MODULE_NOT_FOUND"&&"message"in i&&typeof i.message=="string"&&i.message.includes(t)?new Error(`Cannot resolve custom syntax module "${t}". Check that module "${t}" is available and spelled correctly.
|
|
392
392
|
|
|
393
393
|
Caused by: ${i}`):i}return n.parse||(n={parse:n,stringify:yk.stringify}),n}if(typeof t=="object"){if(typeof t.parse=="function")return{...t};throw new TypeError('An object provided to the "customSyntax" option must have a "parse" property. Ensure the "parse" property exists and its value is a function.')}throw new Error("Custom syntax must be a string or a Syntax object")}var Gde={html:"postcss-html",js:"@stylelint/postcss-css-in-js",jsx:"@stylelint/postcss-css-in-js",less:"postcss-less",md:"postcss-markdown",sass:"postcss-sass",sss:"sugarss",scss:"postcss-scss",svelte:"postcss-html",ts:"@stylelint/postcss-css-in-js",tsx:"@stylelint/postcss-css-in-js",vue:"postcss-html",xml:"postcss-html",xst:"postcss-html"};function Hmt(t,e){let r=e?$mt.extname(e).slice(1).toLowerCase():"",n=["css","pcss","postcss"];return Gde[r]&&console.warn(`${e}: When linting something other than CSS, you should install an appropriate syntax, e.g. "${Gde[r]}", and use the "customSyntax" option`),{parse:t._options.fix&&n.includes(r)?Vde():yk.parse,stringify:yk.stringify}}});var vk=m((ONt,ipe)=>{function Qde(t){return Array.isArray(t)?t:[t]}var epe="",Jde=" ",lF="\\",Vmt=/^\s+$/,Gmt=/(?:[^\\]|^)\\$/,Kmt=/^\\!/,Ymt=/^\\#/,Qmt=/\r?\n/g,Jmt=/^\.*\/|^\.+$/,cF="/",tpe="node-ignore";typeof Symbol<"u"&&(tpe=Symbol.for("node-ignore"));var Xde=tpe,Xmt=(t,e,r)=>Object.defineProperty(t,e,{value:r}),Zmt=/([0-z])-([0-z])/g,rpe=()=>!1,eyt=t=>t.replace(Zmt,(e,r,n)=>r.charCodeAt(0)<=n.charCodeAt(0)?e:epe),tyt=t=>{let{length:e}=t;return t.slice(0,e-e%2)},ryt=[[/\\?\s+$/,t=>t.indexOf("\\")===0?Jde:epe],[/\\\s/g,()=>Jde],[/[\\$.|*+(){^]/g,t=>`\\${t}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(t,e,r)=>e+6<r.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(t,e,r)=>{let n=r.replace(/\\\*/g,"[^\\/]*");return e+n}],[/\\\\\\(?=[$.|*+(){^])/g,()=>lF],[/\\\\/g,()=>lF],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(t,e,r,n,i)=>e===lF?`\\[${r}${tyt(n)}${i}`:i==="]"&&n.length%2===0?`[${eyt(r)}${n}]`:"[]"],[/(?:[^*])$/,t=>/\/$/.test(t)?`${t}$`:`${t}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(t,e)=>`${e?`${e}[^/]+`:"[^/]*"}(?=$|\\/$)`]],Zde=Object.create(null),nyt=(t,e)=>{let r=Zde[t];return r||(r=ryt.reduce((n,i)=>n.replace(i[0],i[1].bind(t)),t),Zde[t]=r),e?new RegExp(r,"i"):new RegExp(r)},pF=t=>typeof t=="string",iyt=t=>t&&pF(t)&&!Vmt.test(t)&&!Gmt.test(t)&&t.indexOf("#")!==0,syt=t=>t.split(Qmt),fF=class{constructor(e,r,n,i){this.origin=e,this.pattern=r,this.negative=n,this.regex=i}},oyt=(t,e)=>{let r=t,n=!1;t.indexOf("!")===0&&(n=!0,t=t.substr(1)),t=t.replace(Kmt,"!").replace(Ymt,"#");let i=nyt(t,e);return new fF(r,t,n,i)},ayt=(t,e)=>{throw new e(t)},ms=(t,e,r)=>pF(t)?t?ms.isNotRelative(t)?r(`path should be a \`path.relative()\`d string, but got "${e}"`,RangeError):!0:r("path must not be empty",TypeError):r(`path must be a string, but got \`${e}\``,TypeError),npe=t=>Jmt.test(t);ms.isNotRelative=npe;ms.convert=t=>t;var dF=class{constructor({ignorecase:e=!0,ignoreCase:r=e,allowRelativePaths:n=!1}={}){Xmt(this,Xde,!0),this._rules=[],this._ignoreCase=r,this._allowRelativePaths=n,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(e){if(e&&e[Xde]){this._rules=this._rules.concat(e._rules),this._added=!0;return}if(iyt(e)){let r=oyt(e,this._ignoreCase);this._added=!0,this._rules.push(r)}}add(e){return this._added=!1,Qde(pF(e)?syt(e):e).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(e){return this.add(e)}_testOne(e,r){let n=!1,i=!1;return this._rules.forEach(s=>{let{negative:o}=s;if(i===o&&n!==i||o&&!n&&!i&&!r)return;s.regex.test(e)&&(n=!o,i=o)}),{ignored:n,unignored:i}}_test(e,r,n,i){let s=e&&ms.convert(e);return ms(s,e,this._allowRelativePaths?rpe:ayt),this._t(s,r,n,i)}_t(e,r,n,i){if(e in r)return r[e];if(i||(i=e.split(cF)),i.pop(),!i.length)return r[e]=this._testOne(e,n);let s=this._t(i.join(cF)+cF,r,n,i);return r[e]=s.ignored?s:this._testOne(e,n)}ignores(e){return this._test(e,this._ignoreCache,!1).ignored}createFilter(){return e=>!this.ignores(e)}filter(e){return Qde(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}},bk=t=>new dF(t),uyt=t=>ms(t&&ms.convert(t),t,rpe);bk.isPathValid=uyt;bk.default=bk;ipe.exports=bk;if(typeof process<"u"&&(process.env&&process.env.IGNORE_TEST_WIN32||process.platform==="win32")){let t=r=>/^\\\\\?\\/.test(r)||/["<>|\u0000-\u001F]+/u.test(r)?r:r.replace(/\\/g,"/");ms.convert=t;let e=/^[a-z]:\//i;ms.isNotRelative=r=>e.test(r)||npe(r)}});var hF=m((qNt,spe)=>{"use strict";var{isPathValid:lyt}=vk().default;spe.exports=function(e,r){let n=r.filter(lyt),i=new Set(r.filter(o=>!n.includes(o))),s=new Set(e.filter(n));return r.filter(o=>i.has(o)||s.has(o))}});var gF=m((RNt,ope)=>{"use strict";var cyt=require("util");ope.exports=function(e){return cyt.types.isNativeError(e)&&e.code==="ENOENT"}});var mF=m((ANt,upe)=>{"use strict";var fyt=require("fs"),ape=require("path"),{default:dyt}=vk(),pyt=gF(),hyt=".stylelintignore";upe.exports=function(e){let r=dyt(),n=[e.ignorePath||[]].flat();n.length===0&&n.push(hyt);for(let i of n){let s=ape.isAbsolute(i)?i:ape.resolve(e.cwd,i);try{let o=fyt.readFileSync(s,"utf8");r.add(o)}catch(o){if(!pyt(o))throw o}}return r.add(e.ignorePattern||[]),r}});var cpe=m((PNt,lpe)=>{"use strict";var gyt=vg(),myt=N1(),yF=require("path"),yyt=hF(),byt=np(),vyt=mF();lpe.exports=async function(e,r){if(!r)return!1;let n=e._options.cwd,i=vyt(e._options),s=await byt(e,r,r);if(!s)return!0;let o=[s.config.ignoreFiles||[]].flat().map(u=>myt(u)),a=yF.isAbsolute(r)?r:yF.resolve(n,r);return!!(gyt([a],o).length||yyt(i,[yF.relative(n,a)]).length===0)}});var ype=m((TNt,mpe)=>{"use strict";var fpe=Ou(),{DISABLE_COMMAND:dpe,DISABLE_LINE_COMMAND:ppe,DISABLE_NEXT_LINE_COMMAND:hpe,ENABLE_COMMAND:gpe,extractStylelintCommand:wyt,isStylelintCommand:bF}=O2(),{assert:_yt,assertNumber:xyt,assertString:Syt}=te(),zn="all";function vF(t,e,r,n,i,s){return{comment:t,start:e,end:i||void 0,strictStart:r,strictEnd:typeof s=="boolean"?s:void 0,description:n}}mpe.exports=function(e,r){r.stylelint=r.stylelint||{disabledRanges:{},ruleSeverities:{},customMessages:{},ruleMetadata:{}};let n={[zn]:[]};r.stylelint.disabledRanges=n;let i;return e.walkComments(g=>{if(i){i===g&&(i=null);return}let b=g.next();if(!(!fpe(g)&&bF(g)&&b&&b.type==="comment"&&(g.text.includes("--")||b.text.startsWith("--")))){c(g);return}let w=g.source&&g.source.end&&g.source.end.line||0,_=g.clone(),S=b;for(;!fpe(S)&&!bF(S);){let q=S.source&&S.source.end&&S.source.end.line||0;if(w+1!==q)break;_.text+=`
|
|
394
|
-
${S.text}`,_.source&&S.source&&(_.source.end=S.source.end),i=S;let C=S.next();if(!C||C.type!=="comment")break;S=C,w=q}c(_)}),r;function s(g){if(g.source&&g.source.start){let b=g.source.start.line,w=d(g.text);for(let _ of f(ppe,g.text))a(g,b,_,w)}}function o(g){if(g.source&&g.source.end){let b=g.source.end.line,w=d(g.text);for(let _ of f(hpe,g.text))a(g,b+1,_,w)}}function a(g,b,w,_){if(v(zn))throw g.error("All rules have already been disabled",{plugin:"stylelint"});if(w===zn)for(let S of Object.keys(n)){if(v(S))continue;let q=S===zn;p(g,b,S,q,_),h(b,S,q)}else{if(v(w))throw g.error(`"${w}" has already been disabled`,{plugin:"stylelint"});p(g,b,w,!0,_),h(b,w,!0)}}function u(g){let b=d(g.text);for(let w of f(dpe,g.text)){let _=w===zn;if(v(w))throw g.error(_?"All rules have already been disabled":`"${w}" has already been disabled`,{plugin:"stylelint"});if(g.source&&g.source.start){let S=g.source.start.line;if(_)for(let q of Object.keys(n))p(g,S,q,q===zn,b);else p(g,S,w,!0,b)}}}function l(g){for(let b of f(gpe,g.text)){let w=g.source&&g.source.end&&g.source.end.line;if(xyt(w),b===zn){if(Object.values(n).every(_=>{if(_.length===0)return!0;let S=_[_.length-1];return S&&typeof S.end=="number"}))throw g.error("No rules have been disabled",{plugin:"stylelint"});for(let[_,S]of Object.entries(n)){let q=S[S.length-1];(!q||!q.end)&&h(w,_,_===zn)}continue}if(v(zn)&&n[b]===void 0){n[b]=n[zn].map(({start:_,end:S,description:q})=>vF(g,_,!1,q,S,!1)),h(w,b,!0);continue}if(v(b)){h(w,b,!0);continue}throw g.error(`"${b}" has not been disabled`,{plugin:"stylelint"})}}function c(g){if(bF(g))switch(wyt(g)){case ppe:s(g);break;case hpe:o(g);break;case dpe:u(g);break;case gpe:l(g);break}}function f(g,b){let w=b.slice(g.length).split(/\s-{2,}\s/u)[0];Syt(w);let _=w.trim().split(",").filter(Boolean).map(S=>S.trim());return _.length===0?[zn]:_}function d(g){let b=g.indexOf("--");if(b!==-1)return g.slice(b+2).trim()}function p(g,b,w,_,S){let q=vF(g,b,_,S);y(w);let C=n[w];_yt(C),C.push(q)}function h(g,b,w){let _=n[b],S=_?_[_.length-1]:null;S&&(S.end=g,S.strictEnd=w)}function y(g){n[g]||(n[g]=n[zn].map(({comment:b,start:w,end:_,description:S})=>vF(b,w,!1,S,_,!1)))}function v(g){let b=n[g];if(!b)return!1;let w=b[b.length-1];return w?!w.end:!1}}});var vpe=m((MNt,bpe)=>{"use strict";var kyt=require("os");function Eyt(){return kyt.EOL}bpe.exports=Eyt});var _pe=m(Ml=>{"use strict";Ml.__esModule=!0;Ml.distance=Ml.closest=void 0;var ys=new Uint32Array(65536),Cyt=function(t,e){for(var r=t.length,n=e.length,i=1<<r-1,s=-1,o=0,a=r,u=r;u--;)ys[t.charCodeAt(u)]|=1<<u;for(u=0;u<n;u++){var l=ys[e.charCodeAt(u)],c=l|o;l|=(l&s)+s^s,o|=~(l|s),s&=l,o&i&&a++,s&i&&a--,o=o<<1|1,s=s<<1|~(c|o),o&=c}for(u=r;u--;)ys[t.charCodeAt(u)]=0;return a},Dyt=function(t,e){for(var r=e.length,n=t.length,i=[],s=[],o=Math.ceil(r/32),a=Math.ceil(n/32),u=0;u<o;u++)s[u]=-1,i[u]=0;for(var l=0;l<a-1;l++){for(var c=0,f=-1,d=l*32,p=Math.min(32,n)+d,h=d;h<p;h++)ys[t.charCodeAt(h)]|=1<<h;for(var u=0;u<r;u++){var y=ys[e.charCodeAt(u)],v=s[u/32|0]>>>u&1,g=i[u/32|0]>>>u&1,b=y|c,w=((y|g)&f)+f^f|y|g,_=c|~(w|f),S=f&w;_>>>31^v&&(s[u/32|0]^=1<<u),S>>>31^g&&(i[u/32|0]^=1<<u),_=_<<1|v,S=S<<1|g,f=S|~(b|_),c=_&b}for(var h=d;h<p;h++)ys[t.charCodeAt(h)]=0}for(var q=0,C=-1,R=l*32,O=Math.min(32,n-R)+R,h=R;h<O;h++)ys[t.charCodeAt(h)]|=1<<h;for(var z=n,u=0;u<r;u++){var y=ys[e.charCodeAt(u)],v=s[u/32|0]>>>u&1,g=i[u/32|0]>>>u&1,b=y|q,w=((y|g)&C)+C^C|y|g,_=q|~(w|C),S=C&w;z+=_>>>n-1&1,z-=S>>>n-1&1,_>>>31^v&&(s[u/32|0]^=1<<u),S>>>31^g&&(i[u/32|0]^=1<<u),_=_<<1|v,S=S<<1|g,C=S|~(b|_),q=_&b}for(var h=R;h<O;h++)ys[t.charCodeAt(h)]=0;return z},wpe=function(t,e){if(t.length<e.length){var r=e;e=t,t=r}return e.length===0?t.length:t.length<=32?Cyt(t,e):Dyt(t,e)};Ml.distance=wpe;var Oyt=function(t,e){for(var r=1/0,n=0,i=0;i<e.length;i++){var s=wpe(t,e[i]);s<r&&(r=s,n=i)}return e[n]};Ml.closest=Oyt});var Epe=m((FNt,kpe)=>{"use strict";var qyt=_pe(),Ryt=Ed(),xpe=6,Spe=3;function Ayt(t){let e=Array.from({length:xpe});for(let n=0;n<e.length;n++)e[n]=[];for(let n of Object.keys(Ryt)){let i=qyt.distance(n,t);i<=xpe&&e[i-1].push(n)}let r=[];for(let[n,i]of e.entries())if(i.length>0){if(n<3)return i.slice(0,Spe);r=r.concat(i)}return r.slice(0,Spe)}function Pyt(t,e=[]){return`Unknown rule ${t}.${e.length>0?` Did you mean ${e.join(", ")}?`:""}`}var wF=new Map;kpe.exports=function(e,r,n){let i=wF.has(e)?wF.get(e):Ayt(e);wF.set(e,i),n.warn(Pyt(e,i),{severity:"error",rule:e,node:r,index:0})}});var Dpe=m((INt,Cpe)=>{"use strict";var Tyt=ype(),Myt=vpe(),Lyt=Epe(),Fyt=Ed(),Iyt=r1();function Nyt(t,e,r){e.stylelint.ruleSeverities={},e.stylelint.customMessages={},e.stylelint.ruleMetadata={},e.stylelint.stylelintError=!1,e.stylelint.stylelintWarning=!1,e.stylelint.quiet=r.quiet,e.stylelint.config=r;let n,i=e.root;if(i){if(!("type"in i))throw new Error("Unexpected Postcss root object!");let c=i.source&&i.source.input.css.match(/\r?\n/);n=c?c[0]:Myt(),Tyt(i,e)}let s=jyt(e);s||(e.stylelint.disableWritingFix=!0);let o=i&&i.constructor.name==="Document"?i.nodes:[i],a=[],u=Object.keys(Fyt),l=r.rules?Object.keys(r.rules).sort((c,f)=>u.indexOf(c)-u.indexOf(f)):[];for(let c of l){let f=Iyt(c,r);if(f===void 0){a.push(Promise.all(o.map(g=>Lyt(c,g,e))));continue}let d=r.rules&&r.rules[c];if(d===null||d[0]===null)continue;let p=d[0],h=d[1],y=r.defaultSeverity||"error",v=h&&h.disableFix===!0||!1;e.stylelint.ruleSeverities[c]=h&&h.severity||y,e.stylelint.customMessages[c]=h&&h.message,e.stylelint.ruleMetadata[c]=f.meta||{},a.push(Promise.all(o.map(g=>f(p,h,{fix:!v&&t.fix&&s&&!e.stylelint.disabledRanges[c],newline:n})(g,e))))}return Promise.all(a)}function jyt({stylelint:t}){return!(t.disabledRanges.all&&t.disabledRanges.all.length)}Cpe.exports=Nyt});var xF=m((NNt,Ape)=>{"use strict";var $yt=require("path"),Ope=np(),Byt=Yde(),Wyt=cpe(),qpe=gF(),zyt=Dpe();Ape.exports=async function(e,r={}){if(!r.filePath&&r.code===void 0&&!r.existingPostcssResult)return Promise.reject(new Error("You must provide filePath, code, or existingPostcssResult"));let n=r.code!==void 0,i=n?r.codeFilename:r.filePath;if(i!==void 0&&!$yt.isAbsolute(i))return n?Promise.reject(new Error("codeFilename must be an absolute path")):Promise.reject(new Error("filePath must be an absolute path"));if(await Wyt(e,i).catch(h=>{if(n&&qpe(h))return!1;throw h}))return r.existingPostcssResult?Object.assign(r.existingPostcssResult,{stylelint:_F()}):Rpe(i);let o=e._options.configFile||i,a=e._options.cwd,u;try{u=await Ope(e,o,i)}catch(h){if(n&&qpe(h))u=await Ope(e,a);else throw h}if(!u)return Promise.reject(new Error("Config file not found"));let l=u.config,c=r.existingPostcssResult;if(r.cache&&(e._fileCache.calcHashOfConfig(l),r.filePath&&!e._fileCache.hasFileChanged(r.filePath)))return c?Object.assign(c,{stylelint:_F()}):Rpe(i);let f={ruleSeverities:{},customMessages:{},ruleMetadata:{},disabledRanges:{}},d=c||await Byt(e,{code:r.code,codeFilename:r.codeFilename,filePath:i,codeProcessors:l.codeProcessors,customSyntax:l.customSyntax}),p=Object.assign(d,{stylelint:f});return await zyt(e._options,p,l),p};function _F(){return{ruleSeverities:{},customMessages:{},ruleMetadata:{},disabledRanges:{},ignored:!0,stylelintError:!1,stylelintWarning:!1}}function Rpe(t){return{root:{source:{input:{file:t}}},messages:[],opts:void 0,stylelint:_F(),warn:()=>{}}}});var Tpe=m((jNt,SF)=>{"use strict";var Ppe=require("path"),Uyt=ep(),Hyt=xF();SF.exports=(t={})=>{let[e,r]=Vyt(t)?[process.cwd(),{config:t}]:[t.cwd||process.cwd(),t],n=Uyt(r);return{postcssPlugin:"stylelint",Once(i,{result:s}){let o=i.source&&i.source.input.file;return o&&!Ppe.isAbsolute(o)&&(o=Ppe.join(e,o)),Hyt(n,{filePath:o,existingPostcssResult:s})}}};SF.exports.postcss=!0;function Vyt(t){return"rules"in t}});var Lpe=m(($Nt,Mpe)=>{"use strict";var kF=require("path"),Gyt=ep(),Kyt=np();Mpe.exports=async function(e,{cwd:r=process.cwd(),config:n,configBasedir:i,configFile:s}={}){if(!e)return;let o=Gyt({config:n,configFile:s,configBasedir:i,cwd:r}),a=kF.isAbsolute(e)?kF.normalize(e):kF.join(r,e),u=o._options.configFile||a,l=await Kyt(o,u,a);if(l)return l.config}});var Ipe=m((BNt,Fpe)=>{"use strict";Fpe.exports=(...t)=>[...new Set([].concat(...t))]});var Wpe=m((WNt,EF)=>{"use strict";var Aa=require("path"),Npe=KT(),jpe=t=>t.length>1?`{${t.join(",")}}`:t[0],$pe=(t,e)=>{let r=t[0]==="!"?t.slice(1):t;return Aa.isAbsolute(r)?r:Aa.join(e,r)},Yyt=(t,e)=>Aa.extname(t)?`**/${t}`:`**/${t}.${jpe(e)}`,Bpe=(t,e)=>{if(e.files&&!Array.isArray(e.files))throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof e.files}\``);if(e.extensions&&!Array.isArray(e.extensions))throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof e.extensions}\``);return e.files&&e.extensions?e.files.map(r=>Aa.posix.join(t,Yyt(r,e.extensions))):e.files?e.files.map(r=>Aa.posix.join(t,`**/${r}`)):e.extensions?[Aa.posix.join(t,`**/*.${jpe(e.extensions)}`)]:[Aa.posix.join(t,"**")]};EF.exports=async(t,e)=>{if(e={cwd:process.cwd(),...e},typeof e.cwd!="string")throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof e.cwd}\``);let r=await Promise.all([].concat(t).map(async n=>await Npe.isDirectory($pe(n,e.cwd))?Bpe(n,e):n));return[].concat.apply([],r)};EF.exports.sync=(t,e)=>{if(e={cwd:process.cwd(),...e},typeof e.cwd!="string")throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof e.cwd}\``);let r=[].concat(t).map(n=>Npe.isDirectorySync($pe(n,e.cwd))?Bpe(n,e):n);return[].concat.apply([],r)}});var Upe=m((zNt,zpe)=>{"use strict";zpe.exports=t=>{let e=/^\\\\\?\\/.test(t),r=/[^\u0000-\u0080]+/.test(t);return e||r?t:t.replace(/\\/g,"/")}});var Jpe=m((UNt,CF)=>{"use strict";var{promisify:Qyt}=require("util"),Hpe=require("fs"),bs=require("path"),Vpe=Po(),Jyt=vk(),wp=Upe(),Gpe=["**/node_modules/**","**/flow-typed/**","**/coverage/**","**/.git"],Xyt=Qyt(Hpe.readFile),Zyt=t=>e=>e.startsWith("!")?"!"+bs.posix.join(t,e.slice(1)):bs.posix.join(t,e),ebt=(t,e)=>{let r=wp(bs.relative(e.cwd,bs.dirname(e.fileName)));return t.split(/\r?\n/).filter(Boolean).filter(n=>!n.startsWith("#")).map(Zyt(r))},Kpe=t=>{let e=Jyt();for(let r of t)e.add(ebt(r.content,{cwd:r.cwd,fileName:r.filePath}));return e},tbt=(t,e)=>{if(t=wp(t),bs.isAbsolute(e)){if(wp(e).startsWith(t))return e;throw new Error(`Path ${e} is not in cwd ${t}`)}return bs.join(t,e)},Ype=(t,e)=>r=>t.ignores(wp(bs.relative(e,tbt(e,r.path||r)))),rbt=async(t,e)=>{let r=bs.join(e,t),n=await Xyt(r,"utf8");return{cwd:e,filePath:r,content:n}},nbt=(t,e)=>{let r=bs.join(e,t),n=Hpe.readFileSync(r,"utf8");return{cwd:e,filePath:r,content:n}},Qpe=({ignore:t=[],cwd:e=wp(process.cwd())}={})=>({ignore:t,cwd:e});CF.exports=async t=>{t=Qpe(t);let e=await Vpe("**/.gitignore",{ignore:Gpe.concat(t.ignore),cwd:t.cwd}),r=await Promise.all(e.map(i=>rbt(i,t.cwd))),n=Kpe(r);return Ype(n,t.cwd)};CF.exports.sync=t=>{t=Qpe(t);let r=Vpe.sync("**/.gitignore",{ignore:Gpe.concat(t.ignore),cwd:t.cwd}).map(i=>nbt(i,t.cwd)),n=Kpe(r);return Ype(n,t.cwd)}});var Zpe=m((HNt,Xpe)=>{"use strict";var{Transform:ibt}=require("stream"),wk=class extends ibt{constructor(){super({objectMode:!0})}},DF=class extends wk{constructor(e){super(),this._filter=e}_transform(e,r,n){this._filter(e)&&this.push(e),n()}},OF=class extends wk{constructor(){super(),this._pushed=new Set}_transform(e,r,n){this._pushed.has(e)||(this.push(e),this._pushed.add(e)),n()}};Xpe.exports={FilterStream:DF,UniqueStream:OF}});var ihe=m((VNt,Pa)=>{"use strict";var the=require("fs"),_k=Ipe(),sbt=SO(),xk=Po(),Sk=Wpe(),qF=Jpe(),{FilterStream:obt,UniqueStream:abt}=Zpe(),rhe=()=>!1,ehe=t=>t[0]==="!",ubt=t=>{if(!t.every(e=>typeof e=="string"))throw new TypeError("Patterns must be a string or an array of strings")},lbt=(t={})=>{if(!t.cwd)return;let e;try{e=the.statSync(t.cwd)}catch{return}if(!e.isDirectory())throw new Error("The `cwd` option must be a path to a directory")},cbt=t=>t.stats instanceof the.Stats?t.path:t,kk=(t,e)=>{t=_k([].concat(t)),ubt(t),lbt(e);let r=[];e={ignore:[],expandDirectories:!0,...e};for(let[n,i]of t.entries()){if(ehe(i))continue;let s=t.slice(n).filter(a=>ehe(a)).map(a=>a.slice(1)),o={...e,ignore:e.ignore.concat(s)};r.push({pattern:i,options:o})}return r},fbt=(t,e)=>{let r={};return t.options.cwd&&(r.cwd=t.options.cwd),Array.isArray(t.options.expandDirectories)?r={...r,files:t.options.expandDirectories}:typeof t.options.expandDirectories=="object"&&(r={...r,...t.options.expandDirectories}),e(t.pattern,r)},RF=(t,e)=>t.options.expandDirectories?fbt(t,e):[t.pattern],nhe=t=>t&&t.gitignore?qF.sync({cwd:t.cwd,ignore:t.ignore}):rhe,AF=t=>e=>{let{options:r}=t;return r.ignore&&Array.isArray(r.ignore)&&r.expandDirectories&&(r.ignore=Sk.sync(r.ignore)),{pattern:e,options:r}};Pa.exports=async(t,e)=>{let r=kk(t,e),n=async()=>e&&e.gitignore?qF({cwd:e.cwd,ignore:e.ignore}):rhe,i=async()=>{let u=await Promise.all(r.map(async l=>{let c=await RF(l,Sk);return Promise.all(c.map(AF(l)))}));return _k(...u)},[s,o]=await Promise.all([n(),i()]),a=await Promise.all(o.map(u=>xk(u.pattern,u.options)));return _k(...a).filter(u=>!s(cbt(u)))};Pa.exports.sync=(t,e)=>{let r=kk(t,e),n=[];for(let o of r){let a=RF(o,Sk.sync).map(AF(o));n.push(...a)}let i=nhe(e),s=[];for(let o of n)s=_k(s,xk.sync(o.pattern,o.options));return s.filter(o=>!i(o))};Pa.exports.stream=(t,e)=>{let r=kk(t,e),n=[];for(let a of r){let u=RF(a,Sk.sync).map(AF(a));n.push(...u)}let i=nhe(e),s=new obt(a=>!i(a)),o=new abt;return sbt(n.map(a=>xk.stream(a.pattern,a.options))).pipe(s).pipe(o)};Pa.exports.generateGlobTasks=kk;Pa.exports.hasMagic=(t,e)=>[].concat(t).some(r=>xk.isDynamicPattern(r,e));Pa.exports.gitignore=qF});var ohe=m((GNt,she)=>{"use strict";she.exports=function(e,r){let n,i;if(e&&e.root){e.root.source&&(i=e.root.source.input.file,!i&&"id"in e.root.source.input&&(i=e.root.source.input.id));let o=e.messages.filter(c=>c.stylelintType==="deprecation").map(c=>({text:c.text,reference:c.stylelintReference})),u=e.messages.filter(c=>c.stylelintType==="invalidOption").map(c=>({text:c.text})),l=e.messages.filter(c=>c.stylelintType==="parseError");e.messages=e.messages.filter(c=>c.stylelintType!=="deprecation"&&c.stylelintType!=="invalidOption"&&c.stylelintType!=="parseError"),n={source:i,deprecations:o,invalidOptionWarnings:u,parseErrors:l,errored:e.stylelint.stylelintError,warnings:e.messages.map(c=>({line:c.line,column:c.column,endLine:c.endLine,endColumn:c.endColumn,rule:c.rule,severity:c.severity,text:c.text})),ignored:e.stylelint.ignored,_postcssResult:e}}else if(r){if(r.name!=="CssSyntaxError")throw r;n={source:r.file||"<input css 1>",deprecations:[],invalidOptionWarnings:[],parseErrors:[],errored:!0,warnings:[{line:r.line,column:r.column,endLine:r.endLine,endColumn:r.endColumn,rule:r.name,severity:"error",text:`${r.reason} (${r.name})`}]}}else throw new Error("createPartialStylelintResult must be called with either postcssResult or CssSyntaxError");return n}});var uhe=m((KNt,ahe)=>{"use strict";var dbt=ohe(),pbt=np();ahe.exports=async function(e,r,n,i){let s=dbt(r,i),o=await pbt(e,n,n),a=o===null?{}:o.config,u=s.source||i&&i.file;if(a.resultProcessors)for(let l of a.resultProcessors){let c=l(s,u);c&&(s=c)}return s}});var che=m((YNt,lhe)=>{"use strict";var hbt=QS();lhe.exports=function(e={}){let r=Object.keys(hbt).map(n=>`"${n}"`).join(", ");return e.useOr&&(r=r.replace(/, ([a-z"]+)$/u," or $1")),r}});var dhe=m((QNt,fhe)=>{"use strict";var PF=class extends Error{constructor(e){super(),typeof e=="string"&&(e=[e]);let r=e.filter(n=>!n.startsWith("!")).join(", ");this.message=`No files matching the pattern "${r}" were found.`}};fhe.exports=PF});var hhe=m((JNt,phe)=>{"use strict";var TF=class extends Error{constructor(){super(),this.message='All input files were ignored because of the ignore pattern. Either change your input, ignore pattern or use "--allow-empty-input" to allow no inputs'}};phe.exports=TF});var Ek=m((XNt,ghe)=>{"use strict";var gbt=j(),{isRegExp:mbt,isString:ybt}=te();ghe.exports=function(e,r){if(!e)return null;let n=e.stylelint;if(!n.config)return null;let i=n.config[r],s,o;return Array.isArray(i)?(s=i[0],o=i[1]||{}):(s=i||!1,o={}),!gbt(e,r,{actual:s,possible:[!0,!1]},{actual:o,possible:{except:[ybt,mbt]}})||!s&&!o.except?null:[s,{except:o.except||[],severity:o.severity||n.config.defaultSeverity||"error"},n]}});var yhe=m((ZNt,mhe)=>{"use strict";var bbt=_e(),vbt=Ek();mhe.exports=function(e){for(let r of e){let n=vbt(r._postcssResult,"reportDescriptionlessDisables");if(!n)continue;let[i,s,o]=n,a=new Set;for(let[u,l]of Object.entries(o.disabledRanges))for(let c of l)if(!c.description&&!a.has(c.comment)){if(i===bbt(s,"except",u)){!i&&u==="all"&&a.add(c.comment);continue}a.add(c.comment),!(!c.comment.source||!c.comment.source.start)&&r.warnings.push({text:`Disable for "${u}" is missing a description`,rule:"--report-descriptionless-disables",line:c.comment.source.start.line,column:c.comment.source.start.column,endLine:c.comment.source.end&&c.comment.source.end.line,endColumn:c.comment.source.end&&c.comment.source.end.column,severity:s.severity})}}}});var vhe=m((e5t,bhe)=>{"use strict";var wbt=_e(),_bt=Ek();bhe.exports=function(e){for(let r of e){let n=_bt(r._postcssResult,"reportInvalidScopeDisables");if(!n)continue;let[i,s,o]=n,a=(o.config||{}).rules||{},u=new Set(Object.keys(a));u.add("all");for(let[l,c]of Object.entries(o.disabledRanges))if(!u.has(l)&&i!==wbt(s,"except",l))for(let f of c)!f.strictStart&&!f.strictEnd||!f.comment.source||!f.comment.source.start||r.warnings.push({text:`Rule "${l}" isn't enabled`,rule:"--report-invalid-scope-disables",line:f.comment.source.start.line,column:f.comment.source.start.column,endLine:f.comment.source.end&&f.comment.source.end.line,endColumn:f.comment.source.end&&f.comment.source.end.column,severity:s.severity})}}});var _he=m((t5t,whe)=>{"use strict";whe.exports=function(e,r,n){if(e.has(r))return e.get(r);let i=n();return e.set(r,i),i}});var Ehe=m((r5t,khe)=>{"use strict";var xbt=_e(),xhe=_he(),Sbt=Ek();khe.exports=function(e){for(let r of e){let n=Sbt(r._postcssResult,"reportNeedlessDisables");if(!n)continue;let[i,s,o]=n,a=o.disabledRanges;if(!a)continue;let u=o.disabledWarnings||[],l=new Map;for(let f of u){let d=f.rule,p=a[d];if(p)for(let h of p)She(f,h)&&xhe(l,h.comment,()=>new Set).add(d);for(let h of a.all||[])She(f,h)&&xhe(l,h.comment,()=>new Set).add(d)}let c=new Set((a.all||[]).map(f=>f.comment));for(let[f,d]of Object.entries(a))for(let p of d){if(f!=="all"&&c.has(p.comment)||i===xbt(s,"except",f))continue;let h=l.get(p.comment)||new Set;(f==="all"?h.size!==0:h.has(f))||!p.comment.source||!p.comment.source.start||r.warnings.push({text:`Needless disable for "${f}"`,rule:"--report-needless-disables",line:p.comment.source.start.line,column:p.comment.source.start.column,endLine:p.comment.source.end&&p.comment.source.end.line,endColumn:p.comment.source.end&&p.comment.source.end.column,severity:s.severity})}}};function She(t,e){let r=t.line;return e.start<=r&&(e.end!==void 0&&e.end>=r||e.end===void 0)}});var Ohe=m((n5t,Dhe)=>{"use strict";Dhe.exports=function(e){for(let r of e){if(!r._postcssResult)continue;let n=r._postcssResult.stylelint.disabledRanges;if(!n)continue;let i=r._postcssResult.stylelint.config;if(!(!i||!i.rules)&&Object.values(i.rules).some(s=>Che(s)))for(let[s,o]of Object.entries(n))for(let a of o)Che(i.rules[s]||[])&&(!a.comment.source||!a.comment.source.start||r.warnings.push({text:`Rule "${s}" may not be disabled`,rule:"reportDisables",line:a.comment.source.start.line,column:a.comment.source.start.column,endLine:a.comment.source.end&&a.comment.source.end.line,endColumn:a.comment.source.end&&a.comment.source.end.column,severity:"error"}))}};function Che(t){return!t||!t[1]?!1:Boolean(t[1].reportDisables)}});var Rhe=m((i5t,qhe)=>{"use strict";var kbt=yhe(),Ebt=vhe(),Cbt=Ehe(),Dbt=Ohe();qhe.exports=function(e,r,n,i){Dbt(e),Cbt(e),Ebt(e),kbt(e);let s=e.some(a=>a.errored||a.parseErrors.length>0||a.warnings.some(u=>u.severity==="error")),o={cwd:i,errored:s,results:[],output:"",reportedDisables:[],ruleMetadata:Obt(e)};if(r!==void 0){let a=e.reduce((u,l)=>u+l.warnings.length,0);a>r&&(o.maxWarningsExceeded={maxWarnings:r,foundWarnings:a})}return o.output=n(e,o),o.results=e,o};function Obt(t){let[e]=t;return e===void 0?{}:e._postcssResult===void 0?{}:e._postcssResult.stylelint.ruleMetadata}});var Ahe=m((s5t,Ck)=>{Ck.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&Ck.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&Ck.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var Fhe=m((o5t,Il)=>{var It=global.process,Ta=function(t){return t&&typeof t=="object"&&typeof t.removeListener=="function"&&typeof t.emit=="function"&&typeof t.reallyExit=="function"&&typeof t.listeners=="function"&&typeof t.kill=="function"&&typeof t.pid=="number"&&typeof t.on=="function"};Ta(It)?(Phe=require("assert"),Ll=Ahe(),The=/^win/i.test(It.platform),_p=require("events"),typeof _p!="function"&&(_p=_p.EventEmitter),It.__signal_exit_emitter__?dr=It.__signal_exit_emitter__:(dr=It.__signal_exit_emitter__=new _p,dr.count=0,dr.emitted={}),dr.infinite||(dr.setMaxListeners(1/0),dr.infinite=!0),Il.exports=function(t,e){if(!Ta(global.process))return function(){};Phe.equal(typeof t,"function","a callback must be provided for exit handler"),Fl===!1&&MF();var r="exit";e&&e.alwaysLast&&(r="afterexit");var n=function(){dr.removeListener(r,t),dr.listeners("exit").length===0&&dr.listeners("afterexit").length===0&&Dk()};return dr.on(r,t),n},Dk=function(){!Fl||!Ta(global.process)||(Fl=!1,Ll.forEach(function(e){try{It.removeListener(e,Ok[e])}catch{}}),It.emit=qk,It.reallyExit=LF,dr.count-=1)},Il.exports.unload=Dk,Ma=function(e,r,n){dr.emitted[e]||(dr.emitted[e]=!0,dr.emit(e,r,n))},Ok={},Ll.forEach(function(t){Ok[t]=function(){if(Ta(global.process)){var r=It.listeners(t);r.length===dr.count&&(Dk(),Ma("exit",null,t),Ma("afterexit",null,t),The&&t==="SIGHUP"&&(t="SIGINT"),It.kill(It.pid,t))}}}),Il.exports.signals=function(){return Ll},Fl=!1,MF=function(){Fl||!Ta(global.process)||(Fl=!0,dr.count+=1,Ll=Ll.filter(function(e){try{return It.on(e,Ok[e]),!0}catch{return!1}}),It.emit=Lhe,It.reallyExit=Mhe)},Il.exports.load=MF,LF=It.reallyExit,Mhe=function(e){Ta(global.process)&&(It.exitCode=e||0,Ma("exit",It.exitCode,null),Ma("afterexit",It.exitCode,null),LF.call(It,It.exitCode))},qk=It.emit,Lhe=function(e,r){if(e==="exit"&&Ta(global.process)){r!==void 0&&(It.exitCode=r);var n=qk.apply(this,arguments);return Ma("exit",It.exitCode,null),Ma("afterexit",It.exitCode,null),n}else return qk.apply(this,arguments)}):Il.exports=function(){return function(){}};var Phe,Ll,The,_p,dr,Dk,Ma,Ok,Fl,MF,LF,Mhe,qk,Lhe});var Nhe=m((a5t,xp)=>{"use strict";xp.exports=Lbt;xp.exports.sync=Fbt;xp.exports._getTmpname=FF;xp.exports._cleanupOnExit=IF;var Nt=require("fs"),qbt=JM(),Ihe=Fhe(),Rbt=require("path"),{promisify:Un}=require("util"),fo={},Abt=function(){try{return require("worker_threads").threadId}catch{return 0}}(),Pbt=0;function FF(t){return t+"."+qbt(__filename).hash(String(process.pid)).hash(String(Abt)).hash(String(++Pbt)).result()}function IF(t){return()=>{try{Nt.unlinkSync(typeof t=="function"?t():t)}catch{}}}function Tbt(t){return new Promise(e=>{fo[t]||(fo[t]=[]),fo[t].push(e),fo[t].length===1&&e()})}function Rk(t){return t.code==="ENOSYS"||(!process.getuid||process.getuid()!==0)&&(t.code==="EINVAL"||t.code==="EPERM")}async function Mbt(t,e,r={}){typeof r=="string"&&(r={encoding:r});let n,i,s=Ihe(IF(()=>i)),o=Rbt.resolve(t);try{await Tbt(o);let a=await Un(Nt.realpath)(t).catch(()=>t);if(i=FF(a),!r.mode||!r.chown){let u=await Un(Nt.stat)(a).catch(()=>{});u&&(r.mode==null&&(r.mode=u.mode),r.chown==null&&process.getuid&&(r.chown={uid:u.uid,gid:u.gid}))}n=await Un(Nt.open)(i,"w",r.mode),r.tmpfileCreated&&await r.tmpfileCreated(i),ArrayBuffer.isView(e)?await Un(Nt.write)(n,e,0,e.length,0):e!=null&&await Un(Nt.write)(n,String(e),0,String(r.encoding||"utf8")),r.fsync!==!1&&await Un(Nt.fsync)(n),await Un(Nt.close)(n),n=null,r.chown&&await Un(Nt.chown)(i,r.chown.uid,r.chown.gid).catch(u=>{if(!Rk(u))throw u}),r.mode&&await Un(Nt.chmod)(i,r.mode).catch(u=>{if(!Rk(u))throw u}),await Un(Nt.rename)(i,a)}finally{n&&await Un(Nt.close)(n).catch(()=>{}),s(),await Un(Nt.unlink)(i).catch(()=>{}),fo[o].shift(),fo[o].length>0?fo[o][0]():delete fo[o]}}async function Lbt(t,e,r,n){r instanceof Function&&(n=r,r={});let i=Mbt(t,e,r);if(n)try{let s=await i;return n(s)}catch(s){return n(s)}return i}function Fbt(t,e,r){typeof r=="string"?r={encoding:r}:r||(r={});try{t=Nt.realpathSync(t)}catch{}let n=FF(t);if(!r.mode||!r.chown)try{let u=Nt.statSync(t);r=Object.assign({},r),r.mode||(r.mode=u.mode),!r.chown&&process.getuid&&(r.chown={uid:u.uid,gid:u.gid})}catch{}let i,s=IF(n),o=Ihe(s),a=!0;try{if(i=Nt.openSync(n,"w",r.mode||438),r.tmpfileCreated&&r.tmpfileCreated(n),ArrayBuffer.isView(e)?Nt.writeSync(i,e,0,e.length,0):e!=null&&Nt.writeSync(i,String(e),0,String(r.encoding||"utf8")),r.fsync!==!1&&Nt.fsyncSync(i),Nt.closeSync(i),i=null,r.chown)try{Nt.chownSync(n,r.chown.uid,r.chown.gid)}catch(u){if(!Rk(u))throw u}if(r.mode)try{Nt.chmodSync(n,r.mode)}catch(u){if(!Rk(u))throw u}Nt.renameSync(n,t),a=!1}finally{if(i)try{Nt.closeSync(i)}catch{}o(),a&&s()}}});var zhe=m((u5t,Whe)=>{"use strict";var NF=bM()("stylelint:standalone"),Ibt=Po(),Nbt=require("fs"),jbt=ihe(),$bt=N1(),$i=require("path"),Bbt=ep(),BF=uhe(),jhe=hF(),jF=QS(),Wbt=mF(),zbt=che(),$he=xF(),Ubt=dhe(),Hbt=hhe(),{assert:Vbt}=te(),$F=Rhe(),Gbt=["**/node_modules/**"],Kbt=Nhe();async function Ybt({allowEmptyInput:t=!1,cache:e=!1,cacheLocation:r,cacheStrategy:n,code:i,codeFilename:s,config:o,configBasedir:a,configFile:u,customSyntax:l,cwd:c=process.cwd(),disableDefaultIgnores:f,files:d,fix:p,formatter:h,globbyOptions:y,ignoreDisables:v,ignorePath:g,ignorePattern:b,maxWarnings:w,quiet:_,reportDescriptionlessDisables:S,reportInvalidScopeDisables:q,reportNeedlessDisables:C,syntax:R}){let O=Date.now(),z=typeof i=="string";if(!d&&!z||d&&(i||z))return Promise.reject(new Error("You must pass stylelint a `files` glob or a `code` string, though not both"));let F;try{F=Wbt({cwd:c,ignorePath:g,ignorePattern:b})}catch(ie){return Promise.reject(ie)}let ee;try{ee=Qbt(h)}catch(ie){return Promise.reject(ie)}let G=Bbt({cacheLocation:r,cacheStrategy:n,config:o,configFile:u,configBasedir:a,cwd:c,ignoreDisables:v,ignorePath:g,reportNeedlessDisables:C,reportInvalidScopeDisables:q,reportDescriptionlessDisables:S,syntax:R,customSyntax:l,fix:p,quiet:_});if(!d){let ie=s!==void 0&&!$i.isAbsolute(s)?$i.join(c,s):s;if(ie&&!jhe(F,[$i.relative(c,ie)]).length)return $F([],w,ee,c);let pe;try{let Qe=await $he(G,{code:i,codeFilename:ie});pe=await BF(G,Qe,ie)}catch(Qe){pe=await Bhe(G,Qe)}let ve=pe._postcssResult,Ce=$F([pe],w,ee,c);return p&&ve&&!ve.stylelint.ignored&&(Ce.output=!ve.stylelint.disableWritingFix&&ve.opts?ve.root.toString(ve.opts.syntax):i),Ce}let ae=[d].flat().map(ie=>{let pe=y&&y.cwd||c,ve=$i.isAbsolute(ie)?$i.normalize(ie):$i.join(pe,ie);return Nbt.existsSync(ve)?Ibt.escapePath($bt(ie)):ie});f||(ae=ae.concat(Gbt.map(ie=>`!${ie}`))),e||G._fileCache.destroy();let L={cwd:c,...y||{},absolute:!0},M=L.cwd,oe=await jbt(ae,L),re=oe.length;oe=jhe(F,oe.map(ie=>$i.relative(M,ie)));let fe;if(oe.length){let pe=oe.map(ve=>$i.isAbsolute(ve)?$i.normalize(ve):$i.join(M,ve)).map(async ve=>{NF(`Processing ${ve}`);try{let Ce=await $he(G,{filePath:ve,cache:e});if((Ce.stylelint.stylelintError||Ce.stylelint.stylelintWarning)&&e&&(NF(`${ve} contains linting errors and will not be cached.`),G._fileCache.removeEntry(ve)),Ce.root&&Ce.opts&&!Ce.stylelint.ignored&&p&&!Ce.stylelint.disableWritingFix){let Qe=Ce.root.toString(Ce.opts.syntax);Ce.root&&Ce.root.source&&Ce.root.source.input.css!==Qe&&await Kbt(ve,Qe)}return BF(G,Ce,ve)}catch(Ce){return G._fileCache.removeEntry(ve),Bhe(G,Ce,ve)}});fe=await Promise.all(pe)}else t?fe=await Promise.all([]):re?fe=await Promise.reject(new Hbt):fe=await Promise.reject(new Ubt(ae));e&&G._fileCache.reconcile();let ue=$F(fe,w,ee,c);return NF(`Linting complete in ${Date.now()-O}ms`),ue}function Qbt(t){if(typeof t=="string"){let e=jF[t];if(e===void 0)throw new Error(`You must use a valid formatter option: ${zbt()} or a function`);return e}return typeof t=="function"?t:(Vbt(jF.json),jF.json)}function Bhe(t,e,r=void 0){if(e.name==="CssSyntaxError")return BF(t,void 0,r,e);throw e}Whe.exports=Ybt});var Hhe=m((l5t,Uhe)=>{"use strict";var Jbt=nie(),Xbt=sie(),Zbt=ep(),e0t=QS(),t0t=Tpe(),r0t=U(),n0t=Lpe(),i0t=$(),s0t=Ed(),{longhandSubPropertiesOfShorthandProperties:o0t}=ku(),a0t=zhe(),u0t=j(),l0t=Object.assign(t0t,{lint:a0t,rules:s0t,formatters:e0t,createPlugin:Xbt,resolveConfig:n0t,createLinter:Zbt,utils:{report:r0t,ruleMessages:i0t,validateOptions:u0t,checkAgainstRule:Jbt},reference:{longhandSubPropertiesOfShorthandProperties:o0t}});Uhe.exports=l0t});var Fk=m(Xt=>{"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});Xt.thenable=Xt.typedArray=Xt.stringArray=Xt.array=Xt.func=Xt.error=Xt.number=Xt.string=Xt.boolean=void 0;function X0t(t){return t===!0||t===!1}Xt.boolean=X0t;function mge(t){return typeof t=="string"||t instanceof String}Xt.string=mge;function Z0t(t){return typeof t=="number"||t instanceof Number}Xt.number=Z0t;function evt(t){return t instanceof Error}Xt.error=evt;function yge(t){return typeof t=="function"}Xt.func=yge;function bge(t){return Array.isArray(t)}Xt.array=bge;function tvt(t){return bge(t)&&t.every(e=>mge(e))}Xt.stringArray=tvt;function rvt(t,e){return Array.isArray(t)&&t.every(e)}Xt.typedArray=rvt;function nvt(t){return t&&yge(t.then)}Xt.thenable=nvt});var vs=m(eI=>{"use strict";Object.defineProperty(eI,"__esModule",{value:!0});var XF;function ZF(){if(XF===void 0)throw new Error("No runtime abstraction layer installed");return XF}(function(t){function e(r){if(r===void 0)throw new Error("No runtime abstraction layer provided");XF=r}t.install=e})(ZF||(ZF={}));eI.default=ZF});var tI=m(Cp=>{"use strict";Object.defineProperty(Cp,"__esModule",{value:!0});Cp.Disposable=void 0;var ivt;(function(t){function e(r){return{dispose:r}}t.create=e})(ivt=Cp.Disposable||(Cp.Disposable={}))});var vge=m(Ik=>{"use strict";Object.defineProperty(Ik,"__esModule",{value:!0});Ik.AbstractMessageBuffer=void 0;var svt=13,ovt=10,avt=`\r
|
|
395
|
-
`,rI=class{constructor(e="utf-8"){this._encoding=e,this._chunks=[],this._totalLength=0}get encoding(){return this._encoding}append(e){let r=typeof e=="string"?this.fromString(e,this._encoding):e;this._chunks.push(r),this._totalLength+=r.byteLength}tryReadHeaders(){if(this._chunks.length===0)return;let e=0,r=0,n=0,i=0;e:for(;r<this._chunks.length;){let u=this._chunks[r];n=0;t:for(;n<u.length;){switch(u[n]){case svt:switch(e){case 0:e=1;break;case 2:e=3;break;default:e=0}break;case ovt:switch(e){case 1:e=2;break;case 3:e=4,n++;break e;default:e=0}break;default:e=0}n++}i+=u.byteLength,r++}if(e!==4)return;let s=this._read(i+n),o=new Map,a=this.toString(s,"ascii").split(avt);if(a.length<2)return o;for(let u=0;u<a.length-2;u++){let l=a[u],c=l.indexOf(":");if(c===-1)throw new Error("Message header must separate key and value using :");let f=l.substr(0,c),d=l.substr(c+1).trim();o.set(f,d)}return o}tryReadBody(e){if(!(this._totalLength<e))return this._read(e)}get numberOfBytes(){return this._totalLength}_read(e){if(e===0)return this.emptyBuffer();if(e>this._totalLength)throw new Error("Cannot read so many bytes!");if(this._chunks[0].byteLength===e){let s=this._chunks[0];return this._chunks.shift(),this._totalLength-=e,this.asNative(s)}if(this._chunks[0].byteLength>e){let s=this._chunks[0],o=this.asNative(s,e);return this._chunks[0]=s.slice(e),this._totalLength-=e,o}let r=this.allocNative(e),n=0,i=0;for(;e>0;){let s=this._chunks[i];if(s.byteLength>e){let o=s.slice(0,e);r.set(o,n),n+=e,this._chunks[i]=s.slice(e),this._totalLength-=e,e-=e}else r.set(s,n),n+=s.byteLength,this._chunks.shift(),this._totalLength-=s.byteLength,e-=s.byteLength}return r}};Ik.AbstractMessageBuffer=rI});var xge=m(oI=>{"use strict";Object.defineProperty(oI,"__esModule",{value:!0});var uvt=vs(),wge=require("util"),La=tI(),lvt=vge(),$l=class extends lvt.AbstractMessageBuffer{constructor(e="utf-8"){super(e)}emptyBuffer(){return $l.emptyBuffer}fromString(e,r){return Buffer.from(e,r)}toString(e,r){return e instanceof Buffer?e.toString(r):new wge.TextDecoder(r).decode(e)}asNative(e,r){return r===void 0?e instanceof Buffer?e:Buffer.from(e):e instanceof Buffer?e.slice(0,r):Buffer.from(e,0,r)}allocNative(e){return Buffer.allocUnsafe(e)}};$l.emptyBuffer=Buffer.allocUnsafe(0);var nI=class{constructor(e){this.stream=e}onClose(e){return this.stream.on("close",e),La.Disposable.create(()=>this.stream.off("close",e))}onError(e){return this.stream.on("error",e),La.Disposable.create(()=>this.stream.off("error",e))}onEnd(e){return this.stream.on("end",e),La.Disposable.create(()=>this.stream.off("end",e))}onData(e){return this.stream.on("data",e),La.Disposable.create(()=>this.stream.off("data",e))}},iI=class{constructor(e){this.stream=e}onClose(e){return this.stream.on("close",e),La.Disposable.create(()=>this.stream.off("close",e))}onError(e){return this.stream.on("error",e),La.Disposable.create(()=>this.stream.off("error",e))}onEnd(e){return this.stream.on("end",e),La.Disposable.create(()=>this.stream.off("end",e))}write(e,r){return new Promise((n,i)=>{let s=o=>{o==null?n():i(o)};typeof e=="string"?this.stream.write(e,r,s):this.stream.write(e,s)})}end(){this.stream.end()}},_ge=Object.freeze({messageBuffer:Object.freeze({create:t=>new $l(t)}),applicationJson:Object.freeze({encoder:Object.freeze({name:"application/json",encode:(t,e)=>{try{return Promise.resolve(Buffer.from(JSON.stringify(t,void 0,0),e.charset))}catch(r){return Promise.reject(r)}}}),decoder:Object.freeze({name:"application/json",decode:(t,e)=>{try{return t instanceof Buffer?Promise.resolve(JSON.parse(t.toString(e.charset))):Promise.resolve(JSON.parse(new wge.TextDecoder(e.charset).decode(t)))}catch(r){return Promise.reject(r)}}})}),stream:Object.freeze({asReadableStream:t=>new nI(t),asWritableStream:t=>new iI(t)}),console,timer:Object.freeze({setTimeout(t,e,...r){return setTimeout(t,e,...r)},clearTimeout(t){clearTimeout(t)},setImmediate(t,...e){return setImmediate(t,...e)},clearImmediate(t){clearImmediate(t)}})});function sI(){return _ge}(function(t){function e(){uvt.default.install(_ge)}t.install=e})(sI||(sI={}));oI.default=sI});var Bl=m(jr=>{"use strict";Object.defineProperty(jr,"__esModule",{value:!0});jr.stringArray=jr.array=jr.func=jr.error=jr.number=jr.string=jr.boolean=void 0;function cvt(t){return t===!0||t===!1}jr.boolean=cvt;function Sge(t){return typeof t=="string"||t instanceof String}jr.string=Sge;function fvt(t){return typeof t=="number"||t instanceof Number}jr.number=fvt;function dvt(t){return t instanceof Error}jr.error=dvt;function pvt(t){return typeof t=="function"}jr.func=pvt;function kge(t){return Array.isArray(t)}jr.array=kge;function hvt(t){return kge(t)&&t.every(e=>Sge(e))}jr.stringArray=hvt});var qI=m(Ee=>{"use strict";Object.defineProperty(Ee,"__esModule",{value:!0});Ee.isResponseMessage=Ee.isNotificationMessage=Ee.isRequestMessage=Ee.NotificationType9=Ee.NotificationType8=Ee.NotificationType7=Ee.NotificationType6=Ee.NotificationType5=Ee.NotificationType4=Ee.NotificationType3=Ee.NotificationType2=Ee.NotificationType1=Ee.NotificationType0=Ee.NotificationType=Ee.RequestType9=Ee.RequestType8=Ee.RequestType7=Ee.RequestType6=Ee.RequestType5=Ee.RequestType4=Ee.RequestType3=Ee.RequestType2=Ee.RequestType1=Ee.RequestType=Ee.RequestType0=Ee.AbstractMessageSignature=Ee.ParameterStructures=Ee.ResponseError=Ee.ErrorCodes=void 0;var Fa=Bl(),Ege;(function(t){t.ParseError=-32700,t.InvalidRequest=-32600,t.MethodNotFound=-32601,t.InvalidParams=-32602,t.InternalError=-32603,t.jsonrpcReservedErrorRangeStart=-32099,t.serverErrorStart=t.jsonrpcReservedErrorRangeStart,t.MessageWriteError=-32099,t.MessageReadError=-32098,t.ServerNotInitialized=-32002,t.UnknownErrorCode=-32001,t.jsonrpcReservedErrorRangeEnd=-32e3,t.serverErrorEnd=t.jsonrpcReservedErrorRangeEnd})(Ege=Ee.ErrorCodes||(Ee.ErrorCodes={}));var Dp=class extends Error{constructor(e,r,n){super(r),this.code=Fa.number(e)?e:Ege.UnknownErrorCode,this.data=n,Object.setPrototypeOf(this,Dp.prototype)}toJson(){return{code:this.code,message:this.message,data:this.data}}};Ee.ResponseError=Dp;var pr=class{constructor(e){this.kind=e}static is(e){return e===pr.auto||e===pr.byName||e===pr.byPosition}toString(){return this.kind}};Ee.ParameterStructures=pr;pr.auto=new pr("auto");pr.byPosition=new pr("byPosition");pr.byName=new pr("byName");var kt=class{constructor(e,r){this.method=e,this.numberOfParams=r}get parameterStructures(){return pr.auto}};Ee.AbstractMessageSignature=kt;var aI=class extends kt{constructor(e){super(e,0)}};Ee.RequestType0=aI;var uI=class extends kt{constructor(e,r=pr.auto){super(e,1),this._parameterStructures=r}get parameterStructures(){return this._parameterStructures}};Ee.RequestType=uI;var lI=class extends kt{constructor(e,r=pr.auto){super(e,1),this._parameterStructures=r}get parameterStructures(){return this._parameterStructures}};Ee.RequestType1=lI;var cI=class extends kt{constructor(e){super(e,2)}};Ee.RequestType2=cI;var fI=class extends kt{constructor(e){super(e,3)}};Ee.RequestType3=fI;var dI=class extends kt{constructor(e){super(e,4)}};Ee.RequestType4=dI;var pI=class extends kt{constructor(e){super(e,5)}};Ee.RequestType5=pI;var hI=class extends kt{constructor(e){super(e,6)}};Ee.RequestType6=hI;var gI=class extends kt{constructor(e){super(e,7)}};Ee.RequestType7=gI;var mI=class extends kt{constructor(e){super(e,8)}};Ee.RequestType8=mI;var yI=class extends kt{constructor(e){super(e,9)}};Ee.RequestType9=yI;var bI=class extends kt{constructor(e,r=pr.auto){super(e,1),this._parameterStructures=r}get parameterStructures(){return this._parameterStructures}};Ee.NotificationType=bI;var vI=class extends kt{constructor(e){super(e,0)}};Ee.NotificationType0=vI;var wI=class extends kt{constructor(e,r=pr.auto){super(e,1),this._parameterStructures=r}get parameterStructures(){return this._parameterStructures}};Ee.NotificationType1=wI;var _I=class extends kt{constructor(e){super(e,2)}};Ee.NotificationType2=_I;var xI=class extends kt{constructor(e){super(e,3)}};Ee.NotificationType3=xI;var SI=class extends kt{constructor(e){super(e,4)}};Ee.NotificationType4=SI;var kI=class extends kt{constructor(e){super(e,5)}};Ee.NotificationType5=kI;var EI=class extends kt{constructor(e){super(e,6)}};Ee.NotificationType6=EI;var CI=class extends kt{constructor(e){super(e,7)}};Ee.NotificationType7=CI;var DI=class extends kt{constructor(e){super(e,8)}};Ee.NotificationType8=DI;var OI=class extends kt{constructor(e){super(e,9)}};Ee.NotificationType9=OI;function gvt(t){let e=t;return e&&Fa.string(e.method)&&(Fa.string(e.id)||Fa.number(e.id))}Ee.isRequestMessage=gvt;function mvt(t){let e=t;return e&&Fa.string(e.method)&&t.id===void 0}Ee.isNotificationMessage=mvt;function yvt(t){let e=t;return e&&(e.result!==void 0||!!e.error)&&(Fa.string(e.id)||Fa.number(e.id)||e.id===null)}Ee.isResponseMessage=yvt});var zl=m(Ia=>{"use strict";Object.defineProperty(Ia,"__esModule",{value:!0});Ia.Emitter=Ia.Event=void 0;var bvt=vs(),vvt;(function(t){let e={dispose(){}};t.None=function(){return e}})(vvt=Ia.Event||(Ia.Event={}));var RI=class{add(e,r=null,n){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(e),this._contexts.push(r),Array.isArray(n)&&n.push({dispose:()=>this.remove(e,r)})}remove(e,r=null){if(!this._callbacks)return;let n=!1;for(let i=0,s=this._callbacks.length;i<s;i++)if(this._callbacks[i]===e)if(this._contexts[i]===r){this._callbacks.splice(i,1),this._contexts.splice(i,1);return}else n=!0;if(n)throw new Error("When adding a listener with a context, you should remove it with the same context")}invoke(...e){if(!this._callbacks)return[];let r=[],n=this._callbacks.slice(0),i=this._contexts.slice(0);for(let s=0,o=n.length;s<o;s++)try{r.push(n[s].apply(i[s],e))}catch(a){bvt.default().console.error(a)}return r}isEmpty(){return!this._callbacks||this._callbacks.length===0}dispose(){this._callbacks=void 0,this._contexts=void 0}},Wl=class{constructor(e){this._options=e}get event(){return this._event||(this._event=(e,r,n)=>{this._callbacks||(this._callbacks=new RI),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(e,r);let i={dispose:()=>{this._callbacks&&(this._callbacks.remove(e,r),i.dispose=Wl._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))}};return Array.isArray(n)&&n.push(i),i}),this._event}fire(e){this._callbacks&&this._callbacks.invoke.call(this._callbacks,e)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}};Ia.Emitter=Wl;Wl._noop=function(){}});var MI=m(Na=>{"use strict";Object.defineProperty(Na,"__esModule",{value:!0});Na.CancellationTokenSource=Na.CancellationToken=void 0;var Cge=vs(),wvt=Bl(),AI=zl(),PI;(function(t){t.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:AI.Event.None}),t.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:AI.Event.None});function e(r){let n=r;return n&&(n===t.None||n===t.Cancelled||wvt.boolean(n.isCancellationRequested)&&!!n.onCancellationRequested)}t.is=e})(PI=Na.CancellationToken||(Na.CancellationToken={}));var _vt=Object.freeze(function(t,e){let r=Cge.default().timer.setTimeout(t.bind(e),0);return{dispose(){Cge.default().timer.clearTimeout(r)}}}),Nk=class{constructor(){this._isCancelled=!1}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?_vt:(this._emitter||(this._emitter=new AI.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}},TI=class{get token(){return this._token||(this._token=new Nk),this._token}cancel(){this._token?this._token.cancel():this._token=PI.Cancelled}dispose(){this._token?this._token instanceof Nk&&this._token.dispose():this._token=PI.None}};Na.CancellationTokenSource=TI});var Dge=m(ws=>{"use strict";Object.defineProperty(ws,"__esModule",{value:!0});ws.ReadableStreamMessageReader=ws.AbstractMessageReader=ws.MessageReader=void 0;var jk=vs(),Ul=Bl(),LI=zl(),xvt;(function(t){function e(r){let n=r;return n&&Ul.func(n.listen)&&Ul.func(n.dispose)&&Ul.func(n.onError)&&Ul.func(n.onClose)&&Ul.func(n.onPartialMessage)}t.is=e})(xvt=ws.MessageReader||(ws.MessageReader={}));var $k=class{constructor(){this.errorEmitter=new LI.Emitter,this.closeEmitter=new LI.Emitter,this.partialMessageEmitter=new LI.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(e){this.errorEmitter.fire(this.asError(e))}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}get onPartialMessage(){return this.partialMessageEmitter.event}firePartialMessage(e){this.partialMessageEmitter.fire(e)}asError(e){return e instanceof Error?e:new Error(`Reader received error. Reason: ${Ul.string(e.message)?e.message:"unknown"}`)}};ws.AbstractMessageReader=$k;var FI;(function(t){function e(r){var n;let i,s,o,a=new Map,u,l=new Map;if(r===void 0||typeof r=="string")i=r??"utf-8";else{if(i=(n=r.charset)!==null&&n!==void 0?n:"utf-8",r.contentDecoder!==void 0&&(o=r.contentDecoder,a.set(o.name,o)),r.contentDecoders!==void 0)for(let c of r.contentDecoders)a.set(c.name,c);if(r.contentTypeDecoder!==void 0&&(u=r.contentTypeDecoder,l.set(u.name,u)),r.contentTypeDecoders!==void 0)for(let c of r.contentTypeDecoders)l.set(c.name,c)}return u===void 0&&(u=jk.default().applicationJson.decoder,l.set(u.name,u)),{charset:i,contentDecoder:o,contentDecoders:a,contentTypeDecoder:u,contentTypeDecoders:l}}t.fromOptions=e})(FI||(FI={}));var II=class extends $k{constructor(e,r){super(),this.readable=e,this.options=FI.fromOptions(r),this.buffer=jk.default().messageBuffer.create(this.options.charset),this._partialMessageTimeout=1e4,this.nextMessageLength=-1,this.messageToken=0}set partialMessageTimeout(e){this._partialMessageTimeout=e}get partialMessageTimeout(){return this._partialMessageTimeout}listen(e){this.nextMessageLength=-1,this.messageToken=0,this.partialMessageTimer=void 0,this.callback=e;let r=this.readable.onData(n=>{this.onData(n)});return this.readable.onError(n=>this.fireError(n)),this.readable.onClose(()=>this.fireClose()),r}onData(e){for(this.buffer.append(e);;){if(this.nextMessageLength===-1){let i=this.buffer.tryReadHeaders();if(!i)return;let s=i.get("Content-Length");if(!s)throw new Error("Header must provide a Content-Length property.");let o=parseInt(s);if(isNaN(o))throw new Error("Content-Length value must be a number.");this.nextMessageLength=o}let r=this.buffer.tryReadBody(this.nextMessageLength);if(r===void 0){this.setPartialMessageTimer();return}this.clearPartialMessageTimer(),this.nextMessageLength=-1;let n;this.options.contentDecoder!==void 0?n=this.options.contentDecoder.decode(r):n=Promise.resolve(r),n.then(i=>{this.options.contentTypeDecoder.decode(i,this.options).then(s=>{this.callback(s)},s=>{this.fireError(s)})},i=>{this.fireError(i)})}}clearPartialMessageTimer(){this.partialMessageTimer&&(jk.default().timer.clearTimeout(this.partialMessageTimer),this.partialMessageTimer=void 0)}setPartialMessageTimer(){this.clearPartialMessageTimer(),!(this._partialMessageTimeout<=0)&&(this.partialMessageTimer=jk.default().timer.setTimeout((e,r)=>{this.partialMessageTimer=void 0,e===this.messageToken&&(this.firePartialMessage({messageToken:e,waitingTime:r}),this.setPartialMessageTimer())},this._partialMessageTimeout,this.messageToken,this._partialMessageTimeout))}};ws.ReadableStreamMessageReader=II});var Oge=m(Bk=>{"use strict";Object.defineProperty(Bk,"__esModule",{value:!0});Bk.Semaphore=void 0;var Svt=vs(),NI=class{constructor(e=1){if(e<=0)throw new Error("Capacity must be greater than 0");this._capacity=e,this._active=0,this._waiting=[]}lock(e){return new Promise((r,n)=>{this._waiting.push({thunk:e,resolve:r,reject:n}),this.runNext()})}get active(){return this._active}runNext(){this._waiting.length===0||this._active===this._capacity||Svt.default().timer.setImmediate(()=>this.doRunNext())}doRunNext(){if(this._waiting.length===0||this._active===this._capacity)return;let e=this._waiting.shift();if(this._active++,this._active>this._capacity)throw new Error("To many thunks active");try{let r=e.thunk();r instanceof Promise?r.then(n=>{this._active--,e.resolve(n),this.runNext()},n=>{this._active--,e.reject(n),this.runNext()}):(this._active--,e.resolve(r),this.runNext())}catch(r){this._active--,e.reject(r),this.runNext()}}};Bk.Semaphore=NI});var Pge=m(_s=>{"use strict";Object.defineProperty(_s,"__esModule",{value:!0});_s.WriteableStreamMessageWriter=_s.AbstractMessageWriter=_s.MessageWriter=void 0;var qge=vs(),Op=Bl(),kvt=Oge(),Rge=zl(),Evt="Content-Length: ",Age=`\r
|
|
396
|
-
`,Cvt;(function(t){function e(r){let n=r;return n&&Op.func(n.dispose)&&Op.func(n.onClose)&&Op.func(n.onError)&&Op.func(n.write)}t.is=e})(Cvt=_s.MessageWriter||(_s.MessageWriter={}));var Wk=class{constructor(){this.errorEmitter=new Rge.Emitter,this.closeEmitter=new Rge.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(e,r,n){this.errorEmitter.fire([this.asError(e),r,n])}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}asError(e){return e instanceof Error?e:new Error(`Writer received error. Reason: ${Op.string(e.message)?e.message:"unknown"}`)}};_s.AbstractMessageWriter=Wk;var jI;(function(t){function e(r){var n,i;return r===void 0||typeof r=="string"?{charset:r??"utf-8",contentTypeEncoder:qge.default().applicationJson.encoder}:{charset:(n=r.charset)!==null&&n!==void 0?n:"utf-8",contentEncoder:r.contentEncoder,contentTypeEncoder:(i=r.contentTypeEncoder)!==null&&i!==void 0?i:qge.default().applicationJson.encoder}}t.fromOptions=e})(jI||(jI={}));var $I=class extends Wk{constructor(e,r){super(),this.writable=e,this.options=jI.fromOptions(r),this.errorCount=0,this.writeSemaphore=new kvt.Semaphore(1),this.writable.onError(n=>this.fireError(n)),this.writable.onClose(()=>this.fireClose())}async write(e){return this.writeSemaphore.lock(async()=>this.options.contentTypeEncoder.encode(e,this.options).then(n=>this.options.contentEncoder!==void 0?this.options.contentEncoder.encode(n):n).then(n=>{let i=[];return i.push(Evt,n.byteLength.toString(),Age),i.push(Age),this.doWrite(e,i,n)},n=>{throw this.fireError(n),n}))}async doWrite(e,r,n){try{return await this.writable.write(r.join(""),"ascii"),this.writable.write(n)}catch(i){return this.handleError(i,e),Promise.reject(i)}}handleError(e,r){this.errorCount++,this.fireError(e,r,this.errorCount)}end(){this.writable.end()}};_s.WriteableStreamMessageWriter=$I});var Tge=m(xs=>{"use strict";Object.defineProperty(xs,"__esModule",{value:!0});xs.LRUCache=xs.LinkedMap=xs.Touch=void 0;var Yr;(function(t){t.None=0,t.First=1,t.AsOld=t.First,t.Last=2,t.AsNew=t.Last})(Yr=xs.Touch||(xs.Touch={}));var zk=class{constructor(){this[Symbol.toStringTag]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var e;return(e=this._head)===null||e===void 0?void 0:e.value}get last(){var e;return(e=this._tail)===null||e===void 0?void 0:e.value}has(e){return this._map.has(e)}get(e,r=Yr.None){let n=this._map.get(e);if(n)return r!==Yr.None&&this.touch(n,r),n.value}set(e,r,n=Yr.None){let i=this._map.get(e);if(i)i.value=r,n!==Yr.None&&this.touch(i,n);else{switch(i={key:e,value:r,next:void 0,previous:void 0},n){case Yr.None:this.addItemLast(i);break;case Yr.First:this.addItemFirst(i);break;case Yr.Last:this.addItemLast(i);break;default:this.addItemLast(i);break}this._map.set(e,i),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){let r=this._map.get(e);if(r)return this._map.delete(e),this.removeItem(r),this._size--,r.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");let e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,r){let n=this._state,i=this._head;for(;i;){if(r?e.bind(r)(i.value,i.key,this):e(i.value,i.key,this),this._state!==n)throw new Error("LinkedMap got modified during iteration.");i=i.next}}keys(){let e=this,r=this._state,n=this._head,i={[Symbol.iterator](){return i},next(){if(e._state!==r)throw new Error("LinkedMap got modified during iteration.");if(n){let s={value:n.key,done:!1};return n=n.next,s}else return{value:void 0,done:!0}}};return i}values(){let e=this,r=this._state,n=this._head,i={[Symbol.iterator](){return i},next(){if(e._state!==r)throw new Error("LinkedMap got modified during iteration.");if(n){let s={value:n.value,done:!1};return n=n.next,s}else return{value:void 0,done:!0}}};return i}entries(){let e=this,r=this._state,n=this._head,i={[Symbol.iterator](){return i},next(){if(e._state!==r)throw new Error("LinkedMap got modified during iteration.");if(n){let s={value:[n.key,n.value],done:!1};return n=n.next,s}else return{value:void 0,done:!0}}};return i}[Symbol.iterator](){return this.entries()}trimOld(e){if(e>=this.size)return;if(e===0){this.clear();return}let r=this._head,n=this.size;for(;r&&n>e;)this._map.delete(r.key),r=r.next,n--;this._head=r,this._size=n,r&&(r.previous=void 0),this._state++}addItemFirst(e){if(!this._head&&!this._tail)this._tail=e;else if(this._head)e.next=this._head,this._head.previous=e;else throw new Error("Invalid list");this._head=e,this._state++}addItemLast(e){if(!this._head&&!this._tail)this._head=e;else if(this._tail)e.previous=this._tail,this._tail.next=e;else throw new Error("Invalid list");this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{let r=e.next,n=e.previous;if(!r||!n)throw new Error("Invalid list");r.previous=n,n.next=r}e.next=void 0,e.previous=void 0,this._state++}touch(e,r){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(r!==Yr.First&&r!==Yr.Last)){if(r===Yr.First){if(e===this._head)return;let n=e.next,i=e.previous;e===this._tail?(i.next=void 0,this._tail=i):(n.previous=i,i.next=n),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(r===Yr.Last){if(e===this._tail)return;let n=e.next,i=e.previous;e===this._head?(n.previous=void 0,this._head=n):(n.previous=i,i.next=n),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}}toJSON(){let e=[];return this.forEach((r,n)=>{e.push([n,r])}),e}fromJSON(e){this.clear();for(let[r,n]of e)this.set(r,n)}};xs.LinkedMap=zk;var BI=class extends zk{constructor(e,r=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,r),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get ratio(){return this._ratio}set ratio(e){this._ratio=Math.min(Math.max(0,e),1),this.checkTrim()}get(e,r=Yr.AsNew){return super.get(e,r)}peek(e){return super.get(e,Yr.None)}set(e,r){return super.set(e,r,Yr.Last),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}};xs.LRUCache=BI});var Nge=m(Be=>{"use strict";Object.defineProperty(Be,"__esModule",{value:!0});Be.createMessageConnection=Be.ConnectionOptions=Be.CancellationStrategy=Be.CancellationSenderStrategy=Be.CancellationReceiverStrategy=Be.ConnectionStrategy=Be.ConnectionError=Be.ConnectionErrors=Be.LogTraceNotification=Be.SetTraceNotification=Be.TraceFormat=Be.Trace=Be.NullLogger=Be.ProgressType=void 0;var Mge=vs(),hr=Bl(),Ie=qI(),Lge=Tge(),qp=zl(),WI=MI(),Rp;(function(t){t.type=new Ie.NotificationType("$/cancelRequest")})(Rp||(Rp={}));var Hk;(function(t){t.type=new Ie.NotificationType("$/progress")})(Hk||(Hk={}));var zI=class{constructor(){}};Be.ProgressType=zI;var UI;(function(t){function e(r){return hr.func(r)}t.is=e})(UI||(UI={}));Be.NullLogger=Object.freeze({error:()=>{},warn:()=>{},info:()=>{},log:()=>{}});var Zt;(function(t){t[t.Off=0]="Off",t[t.Messages=1]="Messages",t[t.Verbose=2]="Verbose"})(Zt=Be.Trace||(Be.Trace={}));(function(t){function e(n){if(!hr.string(n))return t.Off;switch(n=n.toLowerCase(),n){case"off":return t.Off;case"messages":return t.Messages;case"verbose":return t.Verbose;default:return t.Off}}t.fromString=e;function r(n){switch(n){case t.Off:return"off";case t.Messages:return"messages";case t.Verbose:return"verbose";default:return"off"}}t.toString=r})(Zt=Be.Trace||(Be.Trace={}));var fi;(function(t){t.Text="text",t.JSON="json"})(fi=Be.TraceFormat||(Be.TraceFormat={}));(function(t){function e(r){return r=r.toLowerCase(),r==="json"?t.JSON:t.Text}t.fromString=e})(fi=Be.TraceFormat||(Be.TraceFormat={}));var Fge;(function(t){t.type=new Ie.NotificationType("$/setTrace")})(Fge=Be.SetTraceNotification||(Be.SetTraceNotification={}));var HI;(function(t){t.type=new Ie.NotificationType("$/logTrace")})(HI=Be.LogTraceNotification||(Be.LogTraceNotification={}));var Uk;(function(t){t[t.Closed=1]="Closed",t[t.Disposed=2]="Disposed",t[t.AlreadyListening=3]="AlreadyListening"})(Uk=Be.ConnectionErrors||(Be.ConnectionErrors={}));var po=class extends Error{constructor(e,r){super(r),this.code=e,Object.setPrototypeOf(this,po.prototype)}};Be.ConnectionError=po;var Ige;(function(t){function e(r){let n=r;return n&&hr.func(n.cancelUndispatched)}t.is=e})(Ige=Be.ConnectionStrategy||(Be.ConnectionStrategy={}));var VI;(function(t){t.Message=Object.freeze({createCancellationTokenSource(r){return new WI.CancellationTokenSource}});function e(r){let n=r;return n&&hr.func(n.createCancellationTokenSource)}t.is=e})(VI=Be.CancellationReceiverStrategy||(Be.CancellationReceiverStrategy={}));var GI;(function(t){t.Message=Object.freeze({sendCancellation(r,n){r.sendNotification(Rp.type,{id:n})},cleanup(r){}});function e(r){let n=r;return n&&hr.func(n.sendCancellation)&&hr.func(n.cleanup)}t.is=e})(GI=Be.CancellationSenderStrategy||(Be.CancellationSenderStrategy={}));var KI;(function(t){t.Message=Object.freeze({receiver:VI.Message,sender:GI.Message});function e(r){let n=r;return n&&VI.is(n.receiver)&&GI.is(n.sender)}t.is=e})(KI=Be.CancellationStrategy||(Be.CancellationStrategy={}));var Dvt;(function(t){function e(r){let n=r;return n&&(KI.is(n.cancellationStrategy)||Ige.is(n.connectionStrategy))}t.is=e})(Dvt=Be.ConnectionOptions||(Be.ConnectionOptions={}));var di;(function(t){t[t.New=1]="New",t[t.Listening=2]="Listening",t[t.Closed=3]="Closed",t[t.Disposed=4]="Disposed"})(di||(di={}));function Ovt(t,e,r,n){let i=r!==void 0?r:Be.NullLogger,s=0,o=0,a=0,u="2.0",l,c=Object.create(null),f,d=Object.create(null),p=new Map,h,y=new Lge.LinkedMap,v=Object.create(null),g=Object.create(null),b=Zt.Off,w=fi.Text,_,S=di.New,q=new qp.Emitter,C=new qp.Emitter,R=new qp.Emitter,O=new qp.Emitter,z=new qp.Emitter,F=n&&n.cancellationStrategy?n.cancellationStrategy:KI.Message;function ee(I){if(I===null)throw new Error("Can't send requests with id null since the response can't be correlated.");return"req-"+I.toString()}function G(I){return I===null?"res-unknown-"+(++a).toString():"res-"+I.toString()}function ae(){return"not-"+(++o).toString()}function L(I,P){Ie.isRequestMessage(P)?I.set(ee(P.id),P):Ie.isResponseMessage(P)?I.set(G(P.id),P):I.set(ae(),P)}function M(I){}function oe(){return S===di.Listening}function re(){return S===di.Closed}function fe(){return S===di.Disposed}function ue(){(S===di.New||S===di.Listening)&&(S=di.Closed,C.fire(void 0))}function ie(I){q.fire([I,void 0,void 0])}function pe(I){q.fire(I)}t.onClose(ue),t.onError(ie),e.onClose(ue),e.onError(pe);function ve(){h||y.size===0||(h=Mge.default().timer.setImmediate(()=>{h=void 0,Ce()}))}function Ce(){if(y.size===0)return;let I=y.shift();try{Ie.isRequestMessage(I)?be(I):Ie.isNotificationMessage(I)?dt(I):Ie.isResponseMessage(I)?Ct(I):de(I)}finally{ve()}}let Qe=I=>{try{if(Ie.isNotificationMessage(I)&&I.method===Rp.type.method){let P=ee(I.params.id),E=y.get(P);if(Ie.isRequestMessage(E)){let T=n?.connectionStrategy,W=T&&T.cancelUndispatched?T.cancelUndispatched(E,M):void 0;if(W&&(W.error!==void 0||W.result!==void 0)){y.delete(P),W.id=E.id,Le(W,I.method,Date.now()),e.write(W);return}}}L(y,I)}finally{ve()}};function be(I){if(fe())return;function P(Y,ye,De){let He={jsonrpc:u,id:I.id};Y instanceof Ie.ResponseError?He.error=Y.toJson():He.result=Y===void 0?null:Y,Le(He,ye,De),e.write(He)}function E(Y,ye,De){let He={jsonrpc:u,id:I.id,error:Y.toJson()};Le(He,ye,De),e.write(He)}function T(Y,ye,De){Y===void 0&&(Y=null);let He={jsonrpc:u,id:I.id,result:Y};Le(He,ye,De),e.write(He)}ot(I);let W=c[I.method],D,k;W&&(D=W.type,k=W.handler);let H=Date.now();if(k||l){let Y=String(I.id),ye=F.receiver.createCancellationTokenSource(Y);g[Y]=ye;try{let De;if(k)if(I.params===void 0){if(D!==void 0&&D.numberOfParams!==0){E(new Ie.ResponseError(Ie.ErrorCodes.InvalidParams,`Request ${I.method} defines ${D.numberOfParams} params but recevied none.`),I.method,H);return}De=k(ye.token)}else if(Array.isArray(I.params)){if(D!==void 0&&D.parameterStructures===Ie.ParameterStructures.byName){E(new Ie.ResponseError(Ie.ErrorCodes.InvalidParams,`Request ${I.method} defines parameters by name but received parameters by position`),I.method,H);return}De=k(...I.params,ye.token)}else{if(D!==void 0&&D.parameterStructures===Ie.ParameterStructures.byPosition){E(new Ie.ResponseError(Ie.ErrorCodes.InvalidParams,`Request ${I.method} defines parameters by position but received parameters by name`),I.method,H);return}De=k(I.params,ye.token)}else l&&(De=l(I.method,I.params,ye.token));let He=De;De?He.then?He.then(bt=>{delete g[Y],P(bt,I.method,H)},bt=>{delete g[Y],bt instanceof Ie.ResponseError?E(bt,I.method,H):bt&&hr.string(bt.message)?E(new Ie.ResponseError(Ie.ErrorCodes.InternalError,`Request ${I.method} failed with message: ${bt.message}`),I.method,H):E(new Ie.ResponseError(Ie.ErrorCodes.InternalError,`Request ${I.method} failed unexpectedly without providing any details.`),I.method,H)}):(delete g[Y],P(De,I.method,H)):(delete g[Y],T(De,I.method,H))}catch(De){delete g[Y],De instanceof Ie.ResponseError?P(De,I.method,H):De&&hr.string(De.message)?E(new Ie.ResponseError(Ie.ErrorCodes.InternalError,`Request ${I.method} failed with message: ${De.message}`),I.method,H):E(new Ie.ResponseError(Ie.ErrorCodes.InternalError,`Request ${I.method} failed unexpectedly without providing any details.`),I.method,H)}}else E(new Ie.ResponseError(Ie.ErrorCodes.MethodNotFound,`Unhandled method ${I.method}`),I.method,H)}function Ct(I){if(!fe())if(I.id===null)I.error?i.error(`Received response message without id: Error is:
|
|
394
|
+
${S.text}`,_.source&&S.source&&(_.source.end=S.source.end),i=S;let C=S.next();if(!C||C.type!=="comment")break;S=C,w=q}c(_)}),r;function s(g){if(g.source&&g.source.start){let b=g.source.start.line,w=d(g.text);for(let _ of f(ppe,g.text))a(g,b,_,w)}}function o(g){if(g.source&&g.source.end){let b=g.source.end.line,w=d(g.text);for(let _ of f(hpe,g.text))a(g,b+1,_,w)}}function a(g,b,w,_){if(v(zn))throw g.error("All rules have already been disabled",{plugin:"stylelint"});if(w===zn)for(let S of Object.keys(n)){if(v(S))continue;let q=S===zn;p(g,b,S,q,_),h(b,S,q)}else{if(v(w))throw g.error(`"${w}" has already been disabled`,{plugin:"stylelint"});p(g,b,w,!0,_),h(b,w,!0)}}function u(g){let b=d(g.text);for(let w of f(dpe,g.text)){let _=w===zn;if(v(w))throw g.error(_?"All rules have already been disabled":`"${w}" has already been disabled`,{plugin:"stylelint"});if(g.source&&g.source.start){let S=g.source.start.line;if(_)for(let q of Object.keys(n))p(g,S,q,q===zn,b);else p(g,S,w,!0,b)}}}function l(g){for(let b of f(gpe,g.text)){let w=g.source&&g.source.end&&g.source.end.line;if(xyt(w),b===zn){if(Object.values(n).every(_=>{if(_.length===0)return!0;let S=_[_.length-1];return S&&typeof S.end=="number"}))throw g.error("No rules have been disabled",{plugin:"stylelint"});for(let[_,S]of Object.entries(n)){let q=S[S.length-1];(!q||!q.end)&&h(w,_,_===zn)}continue}if(v(zn)&&n[b]===void 0){n[b]=n[zn].map(({start:_,end:S,description:q})=>vF(g,_,!1,q,S,!1)),h(w,b,!0);continue}if(v(b)){h(w,b,!0);continue}throw g.error(`"${b}" has not been disabled`,{plugin:"stylelint"})}}function c(g){if(bF(g))switch(wyt(g)){case ppe:s(g);break;case hpe:o(g);break;case dpe:u(g);break;case gpe:l(g);break}}function f(g,b){let w=b.slice(g.length).split(/\s-{2,}\s/u)[0];Syt(w);let _=w.trim().split(",").filter(Boolean).map(S=>S.trim());return _.length===0?[zn]:_}function d(g){let b=g.indexOf("--");if(b!==-1)return g.slice(b+2).trim()}function p(g,b,w,_,S){let q=vF(g,b,_,S);y(w);let C=n[w];_yt(C),C.push(q)}function h(g,b,w){let _=n[b],S=_?_[_.length-1]:null;S&&(S.end=g,S.strictEnd=w)}function y(g){n[g]||(n[g]=n[zn].map(({comment:b,start:w,end:_,description:S})=>vF(b,w,!1,S,_,!1)))}function v(g){let b=n[g];if(!b)return!1;let w=b[b.length-1];return w?!w.end:!1}}});var vpe=m((MNt,bpe)=>{"use strict";var kyt=require("os");function Eyt(){return kyt.EOL}bpe.exports=Eyt});var _pe=m(Ml=>{"use strict";Ml.__esModule=!0;Ml.distance=Ml.closest=void 0;var ys=new Uint32Array(65536),Cyt=function(t,e){for(var r=t.length,n=e.length,i=1<<r-1,s=-1,o=0,a=r,u=r;u--;)ys[t.charCodeAt(u)]|=1<<u;for(u=0;u<n;u++){var l=ys[e.charCodeAt(u)],c=l|o;l|=(l&s)+s^s,o|=~(l|s),s&=l,o&i&&a++,s&i&&a--,o=o<<1|1,s=s<<1|~(c|o),o&=c}for(u=r;u--;)ys[t.charCodeAt(u)]=0;return a},Dyt=function(t,e){for(var r=e.length,n=t.length,i=[],s=[],o=Math.ceil(r/32),a=Math.ceil(n/32),u=0;u<o;u++)s[u]=-1,i[u]=0;for(var l=0;l<a-1;l++){for(var c=0,f=-1,d=l*32,p=Math.min(32,n)+d,h=d;h<p;h++)ys[t.charCodeAt(h)]|=1<<h;for(var u=0;u<r;u++){var y=ys[e.charCodeAt(u)],v=s[u/32|0]>>>u&1,g=i[u/32|0]>>>u&1,b=y|c,w=((y|g)&f)+f^f|y|g,_=c|~(w|f),S=f&w;_>>>31^v&&(s[u/32|0]^=1<<u),S>>>31^g&&(i[u/32|0]^=1<<u),_=_<<1|v,S=S<<1|g,f=S|~(b|_),c=_&b}for(var h=d;h<p;h++)ys[t.charCodeAt(h)]=0}for(var q=0,C=-1,R=l*32,O=Math.min(32,n-R)+R,h=R;h<O;h++)ys[t.charCodeAt(h)]|=1<<h;for(var z=n,u=0;u<r;u++){var y=ys[e.charCodeAt(u)],v=s[u/32|0]>>>u&1,g=i[u/32|0]>>>u&1,b=y|q,w=((y|g)&C)+C^C|y|g,_=q|~(w|C),S=C&w;z+=_>>>n-1&1,z-=S>>>n-1&1,_>>>31^v&&(s[u/32|0]^=1<<u),S>>>31^g&&(i[u/32|0]^=1<<u),_=_<<1|v,S=S<<1|g,C=S|~(b|_),q=_&b}for(var h=R;h<O;h++)ys[t.charCodeAt(h)]=0;return z},wpe=function(t,e){if(t.length<e.length){var r=e;e=t,t=r}return e.length===0?t.length:t.length<=32?Cyt(t,e):Dyt(t,e)};Ml.distance=wpe;var Oyt=function(t,e){for(var r=1/0,n=0,i=0;i<e.length;i++){var s=wpe(t,e[i]);s<r&&(r=s,n=i)}return e[n]};Ml.closest=Oyt});var Epe=m((FNt,kpe)=>{"use strict";var qyt=_pe(),Ryt=Ed(),xpe=6,Spe=3;function Ayt(t){let e=Array.from({length:xpe});for(let n=0;n<e.length;n++)e[n]=[];for(let n of Object.keys(Ryt)){let i=qyt.distance(n,t);i<=xpe&&e[i-1].push(n)}let r=[];for(let[n,i]of e.entries())if(i.length>0){if(n<3)return i.slice(0,Spe);r=r.concat(i)}return r.slice(0,Spe)}function Pyt(t,e=[]){return`Unknown rule ${t}.${e.length>0?` Did you mean ${e.join(", ")}?`:""}`}var wF=new Map;kpe.exports=function(e,r,n){let i=wF.has(e)?wF.get(e):Ayt(e);wF.set(e,i),n.warn(Pyt(e,i),{severity:"error",rule:e,node:r,index:0})}});var Dpe=m((INt,Cpe)=>{"use strict";var Tyt=ype(),Myt=vpe(),Lyt=Epe(),Fyt=Ed(),Iyt=r1();function Nyt(t,e,r){e.stylelint.ruleSeverities={},e.stylelint.customMessages={},e.stylelint.ruleMetadata={},e.stylelint.stylelintError=!1,e.stylelint.stylelintWarning=!1,e.stylelint.quiet=r.quiet,e.stylelint.config=r;let n,i=e.root;if(i){if(!("type"in i))throw new Error("Unexpected Postcss root object!");let c=i.source&&i.source.input.css.match(/\r?\n/);n=c?c[0]:Myt(),Tyt(i,e)}let s=jyt(e);s||(e.stylelint.disableWritingFix=!0);let o=i&&i.constructor.name==="Document"?i.nodes:[i],a=[],u=Object.keys(Fyt),l=r.rules?Object.keys(r.rules).sort((c,f)=>u.indexOf(c)-u.indexOf(f)):[];for(let c of l){let f=Iyt(c,r);if(f===void 0){a.push(Promise.all(o.map(g=>Lyt(c,g,e))));continue}let d=r.rules&&r.rules[c];if(d===null||d[0]===null)continue;let p=d[0],h=d[1],y=r.defaultSeverity||"error",v=h&&h.disableFix===!0||!1;e.stylelint.ruleSeverities[c]=h&&h.severity||y,e.stylelint.customMessages[c]=h&&h.message,e.stylelint.ruleMetadata[c]=f.meta||{},a.push(Promise.all(o.map(g=>f(p,h,{fix:!v&&t.fix&&s&&!e.stylelint.disabledRanges[c],newline:n})(g,e))))}return Promise.all(a)}function jyt({stylelint:t}){return!(t.disabledRanges.all&&t.disabledRanges.all.length)}Cpe.exports=Nyt});var xF=m((NNt,Ape)=>{"use strict";var $yt=require("path"),Ope=np(),Byt=Yde(),Wyt=cpe(),qpe=gF(),zyt=Dpe();Ape.exports=async function(e,r={}){if(!r.filePath&&r.code===void 0&&!r.existingPostcssResult)return Promise.reject(new Error("You must provide filePath, code, or existingPostcssResult"));let n=r.code!==void 0,i=n?r.codeFilename:r.filePath;if(i!==void 0&&!$yt.isAbsolute(i))return n?Promise.reject(new Error("codeFilename must be an absolute path")):Promise.reject(new Error("filePath must be an absolute path"));if(await Wyt(e,i).catch(h=>{if(n&&qpe(h))return!1;throw h}))return r.existingPostcssResult?Object.assign(r.existingPostcssResult,{stylelint:_F()}):Rpe(i);let o=e._options.configFile||i,a=e._options.cwd,u;try{u=await Ope(e,o,i)}catch(h){if(n&&qpe(h))u=await Ope(e,a);else throw h}if(!u)return Promise.reject(new Error("Config file not found"));let l=u.config,c=r.existingPostcssResult;if(r.cache&&(e._fileCache.calcHashOfConfig(l),r.filePath&&!e._fileCache.hasFileChanged(r.filePath)))return c?Object.assign(c,{stylelint:_F()}):Rpe(i);let f={ruleSeverities:{},customMessages:{},ruleMetadata:{},disabledRanges:{}},d=c||await Byt(e,{code:r.code,codeFilename:r.codeFilename,filePath:i,codeProcessors:l.codeProcessors,customSyntax:l.customSyntax}),p=Object.assign(d,{stylelint:f});return await zyt(e._options,p,l),p};function _F(){return{ruleSeverities:{},customMessages:{},ruleMetadata:{},disabledRanges:{},ignored:!0,stylelintError:!1,stylelintWarning:!1}}function Rpe(t){return{root:{source:{input:{file:t}}},messages:[],opts:void 0,stylelint:_F(),warn:()=>{}}}});var Tpe=m((jNt,SF)=>{"use strict";var Ppe=require("path"),Uyt=ep(),Hyt=xF();SF.exports=(t={})=>{let[e,r]=Vyt(t)?[process.cwd(),{config:t}]:[t.cwd||process.cwd(),t],n=Uyt(r);return{postcssPlugin:"stylelint",Once(i,{result:s}){let o=i.source&&i.source.input.file;return o&&!Ppe.isAbsolute(o)&&(o=Ppe.join(e,o)),Hyt(n,{filePath:o,existingPostcssResult:s})}}};SF.exports.postcss=!0;function Vyt(t){return"rules"in t}});var Lpe=m(($Nt,Mpe)=>{"use strict";var kF=require("path"),Gyt=ep(),Kyt=np();Mpe.exports=async function(e,{cwd:r=process.cwd(),config:n,configBasedir:i,configFile:s}={}){if(!e)return;let o=Gyt({config:n,configFile:s,configBasedir:i,cwd:r}),a=kF.isAbsolute(e)?kF.normalize(e):kF.join(r,e),u=o._options.configFile||a,l=await Kyt(o,u,a);if(l)return l.config}});var Ipe=m((BNt,Fpe)=>{"use strict";Fpe.exports=(...t)=>[...new Set([].concat(...t))]});var Wpe=m((WNt,EF)=>{"use strict";var Aa=require("path"),Npe=KT(),jpe=t=>t.length>1?`{${t.join(",")}}`:t[0],$pe=(t,e)=>{let r=t[0]==="!"?t.slice(1):t;return Aa.isAbsolute(r)?r:Aa.join(e,r)},Yyt=(t,e)=>Aa.extname(t)?`**/${t}`:`**/${t}.${jpe(e)}`,Bpe=(t,e)=>{if(e.files&&!Array.isArray(e.files))throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof e.files}\``);if(e.extensions&&!Array.isArray(e.extensions))throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof e.extensions}\``);return e.files&&e.extensions?e.files.map(r=>Aa.posix.join(t,Yyt(r,e.extensions))):e.files?e.files.map(r=>Aa.posix.join(t,`**/${r}`)):e.extensions?[Aa.posix.join(t,`**/*.${jpe(e.extensions)}`)]:[Aa.posix.join(t,"**")]};EF.exports=async(t,e)=>{if(e={cwd:process.cwd(),...e},typeof e.cwd!="string")throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof e.cwd}\``);let r=await Promise.all([].concat(t).map(async n=>await Npe.isDirectory($pe(n,e.cwd))?Bpe(n,e):n));return[].concat.apply([],r)};EF.exports.sync=(t,e)=>{if(e={cwd:process.cwd(),...e},typeof e.cwd!="string")throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof e.cwd}\``);let r=[].concat(t).map(n=>Npe.isDirectorySync($pe(n,e.cwd))?Bpe(n,e):n);return[].concat.apply([],r)}});var Upe=m((zNt,zpe)=>{"use strict";zpe.exports=t=>{let e=/^\\\\\?\\/.test(t),r=/[^\u0000-\u0080]+/.test(t);return e||r?t:t.replace(/\\/g,"/")}});var Jpe=m((UNt,CF)=>{"use strict";var{promisify:Qyt}=require("util"),Hpe=require("fs"),bs=require("path"),Vpe=Po(),Jyt=vk(),wp=Upe(),Gpe=["**/node_modules/**","**/flow-typed/**","**/coverage/**","**/.git"],Xyt=Qyt(Hpe.readFile),Zyt=t=>e=>e.startsWith("!")?"!"+bs.posix.join(t,e.slice(1)):bs.posix.join(t,e),ebt=(t,e)=>{let r=wp(bs.relative(e.cwd,bs.dirname(e.fileName)));return t.split(/\r?\n/).filter(Boolean).filter(n=>!n.startsWith("#")).map(Zyt(r))},Kpe=t=>{let e=Jyt();for(let r of t)e.add(ebt(r.content,{cwd:r.cwd,fileName:r.filePath}));return e},tbt=(t,e)=>{if(t=wp(t),bs.isAbsolute(e)){if(wp(e).startsWith(t))return e;throw new Error(`Path ${e} is not in cwd ${t}`)}return bs.join(t,e)},Ype=(t,e)=>r=>t.ignores(wp(bs.relative(e,tbt(e,r.path||r)))),rbt=async(t,e)=>{let r=bs.join(e,t),n=await Xyt(r,"utf8");return{cwd:e,filePath:r,content:n}},nbt=(t,e)=>{let r=bs.join(e,t),n=Hpe.readFileSync(r,"utf8");return{cwd:e,filePath:r,content:n}},Qpe=({ignore:t=[],cwd:e=wp(process.cwd())}={})=>({ignore:t,cwd:e});CF.exports=async t=>{t=Qpe(t);let e=await Vpe("**/.gitignore",{ignore:Gpe.concat(t.ignore),cwd:t.cwd}),r=await Promise.all(e.map(i=>rbt(i,t.cwd))),n=Kpe(r);return Ype(n,t.cwd)};CF.exports.sync=t=>{t=Qpe(t);let r=Vpe.sync("**/.gitignore",{ignore:Gpe.concat(t.ignore),cwd:t.cwd}).map(i=>nbt(i,t.cwd)),n=Kpe(r);return Ype(n,t.cwd)}});var Zpe=m((HNt,Xpe)=>{"use strict";var{Transform:ibt}=require("stream"),wk=class extends ibt{constructor(){super({objectMode:!0})}},DF=class extends wk{constructor(e){super(),this._filter=e}_transform(e,r,n){this._filter(e)&&this.push(e),n()}},OF=class extends wk{constructor(){super(),this._pushed=new Set}_transform(e,r,n){this._pushed.has(e)||(this.push(e),this._pushed.add(e)),n()}};Xpe.exports={FilterStream:DF,UniqueStream:OF}});var ihe=m((VNt,Pa)=>{"use strict";var the=require("fs"),_k=Ipe(),sbt=SO(),xk=Po(),Sk=Wpe(),qF=Jpe(),{FilterStream:obt,UniqueStream:abt}=Zpe(),rhe=()=>!1,ehe=t=>t[0]==="!",ubt=t=>{if(!t.every(e=>typeof e=="string"))throw new TypeError("Patterns must be a string or an array of strings")},lbt=(t={})=>{if(!t.cwd)return;let e;try{e=the.statSync(t.cwd)}catch{return}if(!e.isDirectory())throw new Error("The `cwd` option must be a path to a directory")},cbt=t=>t.stats instanceof the.Stats?t.path:t,kk=(t,e)=>{t=_k([].concat(t)),ubt(t),lbt(e);let r=[];e={ignore:[],expandDirectories:!0,...e};for(let[n,i]of t.entries()){if(ehe(i))continue;let s=t.slice(n).filter(a=>ehe(a)).map(a=>a.slice(1)),o={...e,ignore:e.ignore.concat(s)};r.push({pattern:i,options:o})}return r},fbt=(t,e)=>{let r={};return t.options.cwd&&(r.cwd=t.options.cwd),Array.isArray(t.options.expandDirectories)?r={...r,files:t.options.expandDirectories}:typeof t.options.expandDirectories=="object"&&(r={...r,...t.options.expandDirectories}),e(t.pattern,r)},RF=(t,e)=>t.options.expandDirectories?fbt(t,e):[t.pattern],nhe=t=>t&&t.gitignore?qF.sync({cwd:t.cwd,ignore:t.ignore}):rhe,AF=t=>e=>{let{options:r}=t;return r.ignore&&Array.isArray(r.ignore)&&r.expandDirectories&&(r.ignore=Sk.sync(r.ignore)),{pattern:e,options:r}};Pa.exports=async(t,e)=>{let r=kk(t,e),n=async()=>e&&e.gitignore?qF({cwd:e.cwd,ignore:e.ignore}):rhe,i=async()=>{let u=await Promise.all(r.map(async l=>{let c=await RF(l,Sk);return Promise.all(c.map(AF(l)))}));return _k(...u)},[s,o]=await Promise.all([n(),i()]),a=await Promise.all(o.map(u=>xk(u.pattern,u.options)));return _k(...a).filter(u=>!s(cbt(u)))};Pa.exports.sync=(t,e)=>{let r=kk(t,e),n=[];for(let o of r){let a=RF(o,Sk.sync).map(AF(o));n.push(...a)}let i=nhe(e),s=[];for(let o of n)s=_k(s,xk.sync(o.pattern,o.options));return s.filter(o=>!i(o))};Pa.exports.stream=(t,e)=>{let r=kk(t,e),n=[];for(let a of r){let u=RF(a,Sk.sync).map(AF(a));n.push(...u)}let i=nhe(e),s=new obt(a=>!i(a)),o=new abt;return sbt(n.map(a=>xk.stream(a.pattern,a.options))).pipe(s).pipe(o)};Pa.exports.generateGlobTasks=kk;Pa.exports.hasMagic=(t,e)=>[].concat(t).some(r=>xk.isDynamicPattern(r,e));Pa.exports.gitignore=qF});var ohe=m((GNt,she)=>{"use strict";she.exports=function(e,r){let n,i;if(e&&e.root){e.root.source&&(i=e.root.source.input.file,!i&&"id"in e.root.source.input&&(i=e.root.source.input.id));let o=e.messages.filter(c=>c.stylelintType==="deprecation").map(c=>({text:c.text,reference:c.stylelintReference})),u=e.messages.filter(c=>c.stylelintType==="invalidOption").map(c=>({text:c.text})),l=e.messages.filter(c=>c.stylelintType==="parseError");e.messages=e.messages.filter(c=>c.stylelintType!=="deprecation"&&c.stylelintType!=="invalidOption"&&c.stylelintType!=="parseError"),n={source:i,deprecations:o,invalidOptionWarnings:u,parseErrors:l,errored:e.stylelint.stylelintError,warnings:e.messages.map(c=>({line:c.line,column:c.column,endLine:c.endLine,endColumn:c.endColumn,rule:c.rule,severity:c.severity,text:c.text})),ignored:e.stylelint.ignored,_postcssResult:e}}else if(r){if(r.name!=="CssSyntaxError")throw r;n={source:r.file||"<input css 1>",deprecations:[],invalidOptionWarnings:[],parseErrors:[],errored:!0,warnings:[{line:r.line,column:r.column,endLine:r.endLine,endColumn:r.endColumn,rule:r.name,severity:"error",text:`${r.reason} (${r.name})`}]}}else throw new Error("createPartialStylelintResult must be called with either postcssResult or CssSyntaxError");return n}});var uhe=m((KNt,ahe)=>{"use strict";var dbt=ohe(),pbt=np();ahe.exports=async function(e,r,n,i){let s=dbt(r,i),o=await pbt(e,n,n),a=o===null?{}:o.config,u=s.source||i&&i.file;if(a.resultProcessors)for(let l of a.resultProcessors){let c=l(s,u);c&&(s=c)}return s}});var che=m((YNt,lhe)=>{"use strict";var hbt=QS();lhe.exports=function(e={}){let r=Object.keys(hbt).map(n=>`"${n}"`).join(", ");return e.useOr&&(r=r.replace(/, ([a-z"]+)$/u," or $1")),r}});var dhe=m((QNt,fhe)=>{"use strict";var PF=class extends Error{constructor(e){super(),typeof e=="string"&&(e=[e]);let r=e.filter(n=>!n.startsWith("!")).join(", ");this.message=`No files matching the pattern "${r}" were found.`}};fhe.exports=PF});var hhe=m((JNt,phe)=>{"use strict";var TF=class extends Error{constructor(){super(),this.message='All input files were ignored because of the ignore pattern. Either change your input, ignore pattern or use "--allow-empty-input" to allow no inputs'}};phe.exports=TF});var Ek=m((XNt,ghe)=>{"use strict";var gbt=j(),{isRegExp:mbt,isString:ybt}=te();ghe.exports=function(e,r){if(!e)return null;let n=e.stylelint;if(!n.config)return null;let i=n.config[r],s,o;return Array.isArray(i)?(s=i[0],o=i[1]||{}):(s=i||!1,o={}),!gbt(e,r,{actual:s,possible:[!0,!1]},{actual:o,possible:{except:[ybt,mbt]}})||!s&&!o.except?null:[s,{except:o.except||[],severity:o.severity||n.config.defaultSeverity||"error"},n]}});var yhe=m((ZNt,mhe)=>{"use strict";var bbt=_e(),vbt=Ek();mhe.exports=function(e){for(let r of e){let n=vbt(r._postcssResult,"reportDescriptionlessDisables");if(!n)continue;let[i,s,o]=n,a=new Set;for(let[u,l]of Object.entries(o.disabledRanges))for(let c of l)if(!c.description&&!a.has(c.comment)){if(i===bbt(s,"except",u)){!i&&u==="all"&&a.add(c.comment);continue}a.add(c.comment),!(!c.comment.source||!c.comment.source.start)&&r.warnings.push({text:`Disable for "${u}" is missing a description`,rule:"--report-descriptionless-disables",line:c.comment.source.start.line,column:c.comment.source.start.column,endLine:c.comment.source.end&&c.comment.source.end.line,endColumn:c.comment.source.end&&c.comment.source.end.column,severity:s.severity})}}}});var vhe=m((e5t,bhe)=>{"use strict";var wbt=_e(),_bt=Ek();bhe.exports=function(e){for(let r of e){let n=_bt(r._postcssResult,"reportInvalidScopeDisables");if(!n)continue;let[i,s,o]=n,a=(o.config||{}).rules||{},u=new Set(Object.keys(a));u.add("all");for(let[l,c]of Object.entries(o.disabledRanges))if(!u.has(l)&&i!==wbt(s,"except",l))for(let f of c)!f.strictStart&&!f.strictEnd||!f.comment.source||!f.comment.source.start||r.warnings.push({text:`Rule "${l}" isn't enabled`,rule:"--report-invalid-scope-disables",line:f.comment.source.start.line,column:f.comment.source.start.column,endLine:f.comment.source.end&&f.comment.source.end.line,endColumn:f.comment.source.end&&f.comment.source.end.column,severity:s.severity})}}});var _he=m((t5t,whe)=>{"use strict";whe.exports=function(e,r,n){if(e.has(r))return e.get(r);let i=n();return e.set(r,i),i}});var Ehe=m((r5t,khe)=>{"use strict";var xbt=_e(),xhe=_he(),Sbt=Ek();khe.exports=function(e){for(let r of e){let n=Sbt(r._postcssResult,"reportNeedlessDisables");if(!n)continue;let[i,s,o]=n,a=o.disabledRanges;if(!a)continue;let u=o.disabledWarnings||[],l=new Map;for(let f of u){let d=f.rule,p=a[d];if(p)for(let h of p)She(f,h)&&xhe(l,h.comment,()=>new Set).add(d);for(let h of a.all||[])She(f,h)&&xhe(l,h.comment,()=>new Set).add(d)}let c=new Set((a.all||[]).map(f=>f.comment));for(let[f,d]of Object.entries(a))for(let p of d){if(f!=="all"&&c.has(p.comment)||i===xbt(s,"except",f))continue;let h=l.get(p.comment)||new Set;(f==="all"?h.size!==0:h.has(f))||!p.comment.source||!p.comment.source.start||r.warnings.push({text:`Needless disable for "${f}"`,rule:"--report-needless-disables",line:p.comment.source.start.line,column:p.comment.source.start.column,endLine:p.comment.source.end&&p.comment.source.end.line,endColumn:p.comment.source.end&&p.comment.source.end.column,severity:s.severity})}}};function She(t,e){let r=t.line;return e.start<=r&&(e.end!==void 0&&e.end>=r||e.end===void 0)}});var Ohe=m((n5t,Dhe)=>{"use strict";Dhe.exports=function(e){for(let r of e){if(!r._postcssResult)continue;let n=r._postcssResult.stylelint.disabledRanges;if(!n)continue;let i=r._postcssResult.stylelint.config;if(!(!i||!i.rules)&&Object.values(i.rules).some(s=>Che(s)))for(let[s,o]of Object.entries(n))for(let a of o)Che(i.rules[s]||[])&&(!a.comment.source||!a.comment.source.start||r.warnings.push({text:`Rule "${s}" may not be disabled`,rule:"reportDisables",line:a.comment.source.start.line,column:a.comment.source.start.column,endLine:a.comment.source.end&&a.comment.source.end.line,endColumn:a.comment.source.end&&a.comment.source.end.column,severity:"error"}))}};function Che(t){return!t||!t[1]?!1:Boolean(t[1].reportDisables)}});var Rhe=m((i5t,qhe)=>{"use strict";var kbt=yhe(),Ebt=vhe(),Cbt=Ehe(),Dbt=Ohe();qhe.exports=function(e,r,n,i){Dbt(e),Cbt(e),Ebt(e),kbt(e);let s=e.some(a=>a.errored||a.parseErrors.length>0||a.warnings.some(u=>u.severity==="error")),o={cwd:i,errored:s,results:[],output:"",reportedDisables:[],ruleMetadata:Obt(e)};if(r!==void 0){let a=e.reduce((u,l)=>u+l.warnings.length,0);a>r&&(o.maxWarningsExceeded={maxWarnings:r,foundWarnings:a})}return o.output=n(e,o),o.results=e,o};function Obt(t){let[e]=t;return e===void 0?{}:e._postcssResult===void 0?{}:e._postcssResult.stylelint.ruleMetadata}});var Ahe=m((s5t,Ck)=>{Ck.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&Ck.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&Ck.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var Fhe=m((o5t,Il)=>{var It=global.process,Ta=function(t){return t&&typeof t=="object"&&typeof t.removeListener=="function"&&typeof t.emit=="function"&&typeof t.reallyExit=="function"&&typeof t.listeners=="function"&&typeof t.kill=="function"&&typeof t.pid=="number"&&typeof t.on=="function"};Ta(It)?(Phe=require("assert"),Ll=Ahe(),The=/^win/i.test(It.platform),_p=require("events"),typeof _p!="function"&&(_p=_p.EventEmitter),It.__signal_exit_emitter__?pr=It.__signal_exit_emitter__:(pr=It.__signal_exit_emitter__=new _p,pr.count=0,pr.emitted={}),pr.infinite||(pr.setMaxListeners(1/0),pr.infinite=!0),Il.exports=function(t,e){if(!Ta(global.process))return function(){};Phe.equal(typeof t,"function","a callback must be provided for exit handler"),Fl===!1&&MF();var r="exit";e&&e.alwaysLast&&(r="afterexit");var n=function(){pr.removeListener(r,t),pr.listeners("exit").length===0&&pr.listeners("afterexit").length===0&&Dk()};return pr.on(r,t),n},Dk=function(){!Fl||!Ta(global.process)||(Fl=!1,Ll.forEach(function(e){try{It.removeListener(e,Ok[e])}catch{}}),It.emit=qk,It.reallyExit=LF,pr.count-=1)},Il.exports.unload=Dk,Ma=function(e,r,n){pr.emitted[e]||(pr.emitted[e]=!0,pr.emit(e,r,n))},Ok={},Ll.forEach(function(t){Ok[t]=function(){if(Ta(global.process)){var r=It.listeners(t);r.length===pr.count&&(Dk(),Ma("exit",null,t),Ma("afterexit",null,t),The&&t==="SIGHUP"&&(t="SIGINT"),It.kill(It.pid,t))}}}),Il.exports.signals=function(){return Ll},Fl=!1,MF=function(){Fl||!Ta(global.process)||(Fl=!0,pr.count+=1,Ll=Ll.filter(function(e){try{return It.on(e,Ok[e]),!0}catch{return!1}}),It.emit=Lhe,It.reallyExit=Mhe)},Il.exports.load=MF,LF=It.reallyExit,Mhe=function(e){Ta(global.process)&&(It.exitCode=e||0,Ma("exit",It.exitCode,null),Ma("afterexit",It.exitCode,null),LF.call(It,It.exitCode))},qk=It.emit,Lhe=function(e,r){if(e==="exit"&&Ta(global.process)){r!==void 0&&(It.exitCode=r);var n=qk.apply(this,arguments);return Ma("exit",It.exitCode,null),Ma("afterexit",It.exitCode,null),n}else return qk.apply(this,arguments)}):Il.exports=function(){return function(){}};var Phe,Ll,The,_p,pr,Dk,Ma,Ok,Fl,MF,LF,Mhe,qk,Lhe});var Nhe=m((a5t,xp)=>{"use strict";xp.exports=Lbt;xp.exports.sync=Fbt;xp.exports._getTmpname=FF;xp.exports._cleanupOnExit=IF;var Nt=require("fs"),qbt=JM(),Ihe=Fhe(),Rbt=require("path"),{promisify:Un}=require("util"),fo={},Abt=function(){try{return require("worker_threads").threadId}catch{return 0}}(),Pbt=0;function FF(t){return t+"."+qbt(__filename).hash(String(process.pid)).hash(String(Abt)).hash(String(++Pbt)).result()}function IF(t){return()=>{try{Nt.unlinkSync(typeof t=="function"?t():t)}catch{}}}function Tbt(t){return new Promise(e=>{fo[t]||(fo[t]=[]),fo[t].push(e),fo[t].length===1&&e()})}function Rk(t){return t.code==="ENOSYS"||(!process.getuid||process.getuid()!==0)&&(t.code==="EINVAL"||t.code==="EPERM")}async function Mbt(t,e,r={}){typeof r=="string"&&(r={encoding:r});let n,i,s=Ihe(IF(()=>i)),o=Rbt.resolve(t);try{await Tbt(o);let a=await Un(Nt.realpath)(t).catch(()=>t);if(i=FF(a),!r.mode||!r.chown){let u=await Un(Nt.stat)(a).catch(()=>{});u&&(r.mode==null&&(r.mode=u.mode),r.chown==null&&process.getuid&&(r.chown={uid:u.uid,gid:u.gid}))}n=await Un(Nt.open)(i,"w",r.mode),r.tmpfileCreated&&await r.tmpfileCreated(i),ArrayBuffer.isView(e)?await Un(Nt.write)(n,e,0,e.length,0):e!=null&&await Un(Nt.write)(n,String(e),0,String(r.encoding||"utf8")),r.fsync!==!1&&await Un(Nt.fsync)(n),await Un(Nt.close)(n),n=null,r.chown&&await Un(Nt.chown)(i,r.chown.uid,r.chown.gid).catch(u=>{if(!Rk(u))throw u}),r.mode&&await Un(Nt.chmod)(i,r.mode).catch(u=>{if(!Rk(u))throw u}),await Un(Nt.rename)(i,a)}finally{n&&await Un(Nt.close)(n).catch(()=>{}),s(),await Un(Nt.unlink)(i).catch(()=>{}),fo[o].shift(),fo[o].length>0?fo[o][0]():delete fo[o]}}async function Lbt(t,e,r,n){r instanceof Function&&(n=r,r={});let i=Mbt(t,e,r);if(n)try{let s=await i;return n(s)}catch(s){return n(s)}return i}function Fbt(t,e,r){typeof r=="string"?r={encoding:r}:r||(r={});try{t=Nt.realpathSync(t)}catch{}let n=FF(t);if(!r.mode||!r.chown)try{let u=Nt.statSync(t);r=Object.assign({},r),r.mode||(r.mode=u.mode),!r.chown&&process.getuid&&(r.chown={uid:u.uid,gid:u.gid})}catch{}let i,s=IF(n),o=Ihe(s),a=!0;try{if(i=Nt.openSync(n,"w",r.mode||438),r.tmpfileCreated&&r.tmpfileCreated(n),ArrayBuffer.isView(e)?Nt.writeSync(i,e,0,e.length,0):e!=null&&Nt.writeSync(i,String(e),0,String(r.encoding||"utf8")),r.fsync!==!1&&Nt.fsyncSync(i),Nt.closeSync(i),i=null,r.chown)try{Nt.chownSync(n,r.chown.uid,r.chown.gid)}catch(u){if(!Rk(u))throw u}if(r.mode)try{Nt.chmodSync(n,r.mode)}catch(u){if(!Rk(u))throw u}Nt.renameSync(n,t),a=!1}finally{if(i)try{Nt.closeSync(i)}catch{}o(),a&&s()}}});var zhe=m((u5t,Whe)=>{"use strict";var NF=bM()("stylelint:standalone"),Ibt=Po(),Nbt=require("fs"),jbt=ihe(),$bt=N1(),$i=require("path"),Bbt=ep(),BF=uhe(),jhe=hF(),jF=QS(),Wbt=mF(),zbt=che(),$he=xF(),Ubt=dhe(),Hbt=hhe(),{assert:Vbt}=te(),$F=Rhe(),Gbt=["**/node_modules/**"],Kbt=Nhe();async function Ybt({allowEmptyInput:t=!1,cache:e=!1,cacheLocation:r,cacheStrategy:n,code:i,codeFilename:s,config:o,configBasedir:a,configFile:u,customSyntax:l,cwd:c=process.cwd(),disableDefaultIgnores:f,files:d,fix:p,formatter:h,globbyOptions:y,ignoreDisables:v,ignorePath:g,ignorePattern:b,maxWarnings:w,quiet:_,reportDescriptionlessDisables:S,reportInvalidScopeDisables:q,reportNeedlessDisables:C,syntax:R}){let O=Date.now(),z=typeof i=="string";if(!d&&!z||d&&(i||z))return Promise.reject(new Error("You must pass stylelint a `files` glob or a `code` string, though not both"));let F;try{F=Wbt({cwd:c,ignorePath:g,ignorePattern:b})}catch(ie){return Promise.reject(ie)}let ee;try{ee=Qbt(h)}catch(ie){return Promise.reject(ie)}let G=Bbt({cacheLocation:r,cacheStrategy:n,config:o,configFile:u,configBasedir:a,cwd:c,ignoreDisables:v,ignorePath:g,reportNeedlessDisables:C,reportInvalidScopeDisables:q,reportDescriptionlessDisables:S,syntax:R,customSyntax:l,fix:p,quiet:_});if(!d){let ie=s!==void 0&&!$i.isAbsolute(s)?$i.join(c,s):s;if(ie&&!jhe(F,[$i.relative(c,ie)]).length)return $F([],w,ee,c);let pe;try{let Qe=await $he(G,{code:i,codeFilename:ie});pe=await BF(G,Qe,ie)}catch(Qe){pe=await Bhe(G,Qe)}let ve=pe._postcssResult,Ce=$F([pe],w,ee,c);return p&&ve&&!ve.stylelint.ignored&&(Ce.output=!ve.stylelint.disableWritingFix&&ve.opts?ve.root.toString(ve.opts.syntax):i),Ce}let ae=[d].flat().map(ie=>{let pe=y&&y.cwd||c,ve=$i.isAbsolute(ie)?$i.normalize(ie):$i.join(pe,ie);return Nbt.existsSync(ve)?Ibt.escapePath($bt(ie)):ie});f||(ae=ae.concat(Gbt.map(ie=>`!${ie}`))),e||G._fileCache.destroy();let L={cwd:c,...y||{},absolute:!0},M=L.cwd,oe=await jbt(ae,L),re=oe.length;oe=jhe(F,oe.map(ie=>$i.relative(M,ie)));let fe;if(oe.length){let pe=oe.map(ve=>$i.isAbsolute(ve)?$i.normalize(ve):$i.join(M,ve)).map(async ve=>{NF(`Processing ${ve}`);try{let Ce=await $he(G,{filePath:ve,cache:e});if((Ce.stylelint.stylelintError||Ce.stylelint.stylelintWarning)&&e&&(NF(`${ve} contains linting errors and will not be cached.`),G._fileCache.removeEntry(ve)),Ce.root&&Ce.opts&&!Ce.stylelint.ignored&&p&&!Ce.stylelint.disableWritingFix){let Qe=Ce.root.toString(Ce.opts.syntax);Ce.root&&Ce.root.source&&Ce.root.source.input.css!==Qe&&await Kbt(ve,Qe)}return BF(G,Ce,ve)}catch(Ce){return G._fileCache.removeEntry(ve),Bhe(G,Ce,ve)}});fe=await Promise.all(pe)}else t?fe=await Promise.all([]):re?fe=await Promise.reject(new Hbt):fe=await Promise.reject(new Ubt(ae));e&&G._fileCache.reconcile();let ue=$F(fe,w,ee,c);return NF(`Linting complete in ${Date.now()-O}ms`),ue}function Qbt(t){if(typeof t=="string"){let e=jF[t];if(e===void 0)throw new Error(`You must use a valid formatter option: ${zbt()} or a function`);return e}return typeof t=="function"?t:(Vbt(jF.json),jF.json)}function Bhe(t,e,r=void 0){if(e.name==="CssSyntaxError")return BF(t,void 0,r,e);throw e}Whe.exports=Ybt});var Hhe=m((l5t,Uhe)=>{"use strict";var Jbt=nie(),Xbt=sie(),Zbt=ep(),e0t=QS(),t0t=Tpe(),r0t=U(),n0t=Lpe(),i0t=$(),s0t=Ed(),{longhandSubPropertiesOfShorthandProperties:o0t}=ku(),a0t=zhe(),u0t=j(),l0t=Object.assign(t0t,{lint:a0t,rules:s0t,formatters:e0t,createPlugin:Xbt,resolveConfig:n0t,createLinter:Zbt,utils:{report:r0t,ruleMessages:i0t,validateOptions:u0t,checkAgainstRule:Jbt},reference:{longhandSubPropertiesOfShorthandProperties:o0t}});Uhe.exports=l0t});var Fk=m(Xt=>{"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});Xt.thenable=Xt.typedArray=Xt.stringArray=Xt.array=Xt.func=Xt.error=Xt.number=Xt.string=Xt.boolean=void 0;function X0t(t){return t===!0||t===!1}Xt.boolean=X0t;function mge(t){return typeof t=="string"||t instanceof String}Xt.string=mge;function Z0t(t){return typeof t=="number"||t instanceof Number}Xt.number=Z0t;function evt(t){return t instanceof Error}Xt.error=evt;function yge(t){return typeof t=="function"}Xt.func=yge;function bge(t){return Array.isArray(t)}Xt.array=bge;function tvt(t){return bge(t)&&t.every(e=>mge(e))}Xt.stringArray=tvt;function rvt(t,e){return Array.isArray(t)&&t.every(e)}Xt.typedArray=rvt;function nvt(t){return t&&yge(t.then)}Xt.thenable=nvt});var vs=m(eI=>{"use strict";Object.defineProperty(eI,"__esModule",{value:!0});var XF;function ZF(){if(XF===void 0)throw new Error("No runtime abstraction layer installed");return XF}(function(t){function e(r){if(r===void 0)throw new Error("No runtime abstraction layer provided");XF=r}t.install=e})(ZF||(ZF={}));eI.default=ZF});var tI=m(Cp=>{"use strict";Object.defineProperty(Cp,"__esModule",{value:!0});Cp.Disposable=void 0;var ivt;(function(t){function e(r){return{dispose:r}}t.create=e})(ivt=Cp.Disposable||(Cp.Disposable={}))});var vge=m(Ik=>{"use strict";Object.defineProperty(Ik,"__esModule",{value:!0});Ik.AbstractMessageBuffer=void 0;var svt=13,ovt=10,avt=`\r
|
|
395
|
+
`,rI=class{constructor(e="utf-8"){this._encoding=e,this._chunks=[],this._totalLength=0}get encoding(){return this._encoding}append(e){let r=typeof e=="string"?this.fromString(e,this._encoding):e;this._chunks.push(r),this._totalLength+=r.byteLength}tryReadHeaders(){if(this._chunks.length===0)return;let e=0,r=0,n=0,i=0;e:for(;r<this._chunks.length;){let u=this._chunks[r];n=0;t:for(;n<u.length;){switch(u[n]){case svt:switch(e){case 0:e=1;break;case 2:e=3;break;default:e=0}break;case ovt:switch(e){case 1:e=2;break;case 3:e=4,n++;break e;default:e=0}break;default:e=0}n++}i+=u.byteLength,r++}if(e!==4)return;let s=this._read(i+n),o=new Map,a=this.toString(s,"ascii").split(avt);if(a.length<2)return o;for(let u=0;u<a.length-2;u++){let l=a[u],c=l.indexOf(":");if(c===-1)throw new Error("Message header must separate key and value using :");let f=l.substr(0,c),d=l.substr(c+1).trim();o.set(f,d)}return o}tryReadBody(e){if(!(this._totalLength<e))return this._read(e)}get numberOfBytes(){return this._totalLength}_read(e){if(e===0)return this.emptyBuffer();if(e>this._totalLength)throw new Error("Cannot read so many bytes!");if(this._chunks[0].byteLength===e){let s=this._chunks[0];return this._chunks.shift(),this._totalLength-=e,this.asNative(s)}if(this._chunks[0].byteLength>e){let s=this._chunks[0],o=this.asNative(s,e);return this._chunks[0]=s.slice(e),this._totalLength-=e,o}let r=this.allocNative(e),n=0,i=0;for(;e>0;){let s=this._chunks[i];if(s.byteLength>e){let o=s.slice(0,e);r.set(o,n),n+=e,this._chunks[i]=s.slice(e),this._totalLength-=e,e-=e}else r.set(s,n),n+=s.byteLength,this._chunks.shift(),this._totalLength-=s.byteLength,e-=s.byteLength}return r}};Ik.AbstractMessageBuffer=rI});var xge=m(oI=>{"use strict";Object.defineProperty(oI,"__esModule",{value:!0});var uvt=vs(),wge=require("util"),La=tI(),lvt=vge(),$l=class extends lvt.AbstractMessageBuffer{constructor(e="utf-8"){super(e)}emptyBuffer(){return $l.emptyBuffer}fromString(e,r){return Buffer.from(e,r)}toString(e,r){return e instanceof Buffer?e.toString(r):new wge.TextDecoder(r).decode(e)}asNative(e,r){return r===void 0?e instanceof Buffer?e:Buffer.from(e):e instanceof Buffer?e.slice(0,r):Buffer.from(e,0,r)}allocNative(e){return Buffer.allocUnsafe(e)}};$l.emptyBuffer=Buffer.allocUnsafe(0);var nI=class{constructor(e){this.stream=e}onClose(e){return this.stream.on("close",e),La.Disposable.create(()=>this.stream.off("close",e))}onError(e){return this.stream.on("error",e),La.Disposable.create(()=>this.stream.off("error",e))}onEnd(e){return this.stream.on("end",e),La.Disposable.create(()=>this.stream.off("end",e))}onData(e){return this.stream.on("data",e),La.Disposable.create(()=>this.stream.off("data",e))}},iI=class{constructor(e){this.stream=e}onClose(e){return this.stream.on("close",e),La.Disposable.create(()=>this.stream.off("close",e))}onError(e){return this.stream.on("error",e),La.Disposable.create(()=>this.stream.off("error",e))}onEnd(e){return this.stream.on("end",e),La.Disposable.create(()=>this.stream.off("end",e))}write(e,r){return new Promise((n,i)=>{let s=o=>{o==null?n():i(o)};typeof e=="string"?this.stream.write(e,r,s):this.stream.write(e,s)})}end(){this.stream.end()}},_ge=Object.freeze({messageBuffer:Object.freeze({create:t=>new $l(t)}),applicationJson:Object.freeze({encoder:Object.freeze({name:"application/json",encode:(t,e)=>{try{return Promise.resolve(Buffer.from(JSON.stringify(t,void 0,0),e.charset))}catch(r){return Promise.reject(r)}}}),decoder:Object.freeze({name:"application/json",decode:(t,e)=>{try{return t instanceof Buffer?Promise.resolve(JSON.parse(t.toString(e.charset))):Promise.resolve(JSON.parse(new wge.TextDecoder(e.charset).decode(t)))}catch(r){return Promise.reject(r)}}})}),stream:Object.freeze({asReadableStream:t=>new nI(t),asWritableStream:t=>new iI(t)}),console,timer:Object.freeze({setTimeout(t,e,...r){return setTimeout(t,e,...r)},clearTimeout(t){clearTimeout(t)},setImmediate(t,...e){return setImmediate(t,...e)},clearImmediate(t){clearImmediate(t)}})});function sI(){return _ge}(function(t){function e(){uvt.default.install(_ge)}t.install=e})(sI||(sI={}));oI.default=sI});var Bl=m(jr=>{"use strict";Object.defineProperty(jr,"__esModule",{value:!0});jr.stringArray=jr.array=jr.func=jr.error=jr.number=jr.string=jr.boolean=void 0;function cvt(t){return t===!0||t===!1}jr.boolean=cvt;function Sge(t){return typeof t=="string"||t instanceof String}jr.string=Sge;function fvt(t){return typeof t=="number"||t instanceof Number}jr.number=fvt;function dvt(t){return t instanceof Error}jr.error=dvt;function pvt(t){return typeof t=="function"}jr.func=pvt;function kge(t){return Array.isArray(t)}jr.array=kge;function hvt(t){return kge(t)&&t.every(e=>Sge(e))}jr.stringArray=hvt});var qI=m(Ee=>{"use strict";Object.defineProperty(Ee,"__esModule",{value:!0});Ee.isResponseMessage=Ee.isNotificationMessage=Ee.isRequestMessage=Ee.NotificationType9=Ee.NotificationType8=Ee.NotificationType7=Ee.NotificationType6=Ee.NotificationType5=Ee.NotificationType4=Ee.NotificationType3=Ee.NotificationType2=Ee.NotificationType1=Ee.NotificationType0=Ee.NotificationType=Ee.RequestType9=Ee.RequestType8=Ee.RequestType7=Ee.RequestType6=Ee.RequestType5=Ee.RequestType4=Ee.RequestType3=Ee.RequestType2=Ee.RequestType1=Ee.RequestType=Ee.RequestType0=Ee.AbstractMessageSignature=Ee.ParameterStructures=Ee.ResponseError=Ee.ErrorCodes=void 0;var Fa=Bl(),Ege;(function(t){t.ParseError=-32700,t.InvalidRequest=-32600,t.MethodNotFound=-32601,t.InvalidParams=-32602,t.InternalError=-32603,t.jsonrpcReservedErrorRangeStart=-32099,t.serverErrorStart=t.jsonrpcReservedErrorRangeStart,t.MessageWriteError=-32099,t.MessageReadError=-32098,t.ServerNotInitialized=-32002,t.UnknownErrorCode=-32001,t.jsonrpcReservedErrorRangeEnd=-32e3,t.serverErrorEnd=t.jsonrpcReservedErrorRangeEnd})(Ege=Ee.ErrorCodes||(Ee.ErrorCodes={}));var Dp=class extends Error{constructor(e,r,n){super(r),this.code=Fa.number(e)?e:Ege.UnknownErrorCode,this.data=n,Object.setPrototypeOf(this,Dp.prototype)}toJson(){return{code:this.code,message:this.message,data:this.data}}};Ee.ResponseError=Dp;var hr=class{constructor(e){this.kind=e}static is(e){return e===hr.auto||e===hr.byName||e===hr.byPosition}toString(){return this.kind}};Ee.ParameterStructures=hr;hr.auto=new hr("auto");hr.byPosition=new hr("byPosition");hr.byName=new hr("byName");var kt=class{constructor(e,r){this.method=e,this.numberOfParams=r}get parameterStructures(){return hr.auto}};Ee.AbstractMessageSignature=kt;var aI=class extends kt{constructor(e){super(e,0)}};Ee.RequestType0=aI;var uI=class extends kt{constructor(e,r=hr.auto){super(e,1),this._parameterStructures=r}get parameterStructures(){return this._parameterStructures}};Ee.RequestType=uI;var lI=class extends kt{constructor(e,r=hr.auto){super(e,1),this._parameterStructures=r}get parameterStructures(){return this._parameterStructures}};Ee.RequestType1=lI;var cI=class extends kt{constructor(e){super(e,2)}};Ee.RequestType2=cI;var fI=class extends kt{constructor(e){super(e,3)}};Ee.RequestType3=fI;var dI=class extends kt{constructor(e){super(e,4)}};Ee.RequestType4=dI;var pI=class extends kt{constructor(e){super(e,5)}};Ee.RequestType5=pI;var hI=class extends kt{constructor(e){super(e,6)}};Ee.RequestType6=hI;var gI=class extends kt{constructor(e){super(e,7)}};Ee.RequestType7=gI;var mI=class extends kt{constructor(e){super(e,8)}};Ee.RequestType8=mI;var yI=class extends kt{constructor(e){super(e,9)}};Ee.RequestType9=yI;var bI=class extends kt{constructor(e,r=hr.auto){super(e,1),this._parameterStructures=r}get parameterStructures(){return this._parameterStructures}};Ee.NotificationType=bI;var vI=class extends kt{constructor(e){super(e,0)}};Ee.NotificationType0=vI;var wI=class extends kt{constructor(e,r=hr.auto){super(e,1),this._parameterStructures=r}get parameterStructures(){return this._parameterStructures}};Ee.NotificationType1=wI;var _I=class extends kt{constructor(e){super(e,2)}};Ee.NotificationType2=_I;var xI=class extends kt{constructor(e){super(e,3)}};Ee.NotificationType3=xI;var SI=class extends kt{constructor(e){super(e,4)}};Ee.NotificationType4=SI;var kI=class extends kt{constructor(e){super(e,5)}};Ee.NotificationType5=kI;var EI=class extends kt{constructor(e){super(e,6)}};Ee.NotificationType6=EI;var CI=class extends kt{constructor(e){super(e,7)}};Ee.NotificationType7=CI;var DI=class extends kt{constructor(e){super(e,8)}};Ee.NotificationType8=DI;var OI=class extends kt{constructor(e){super(e,9)}};Ee.NotificationType9=OI;function gvt(t){let e=t;return e&&Fa.string(e.method)&&(Fa.string(e.id)||Fa.number(e.id))}Ee.isRequestMessage=gvt;function mvt(t){let e=t;return e&&Fa.string(e.method)&&t.id===void 0}Ee.isNotificationMessage=mvt;function yvt(t){let e=t;return e&&(e.result!==void 0||!!e.error)&&(Fa.string(e.id)||Fa.number(e.id)||e.id===null)}Ee.isResponseMessage=yvt});var zl=m(Ia=>{"use strict";Object.defineProperty(Ia,"__esModule",{value:!0});Ia.Emitter=Ia.Event=void 0;var bvt=vs(),vvt;(function(t){let e={dispose(){}};t.None=function(){return e}})(vvt=Ia.Event||(Ia.Event={}));var RI=class{add(e,r=null,n){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(e),this._contexts.push(r),Array.isArray(n)&&n.push({dispose:()=>this.remove(e,r)})}remove(e,r=null){if(!this._callbacks)return;let n=!1;for(let i=0,s=this._callbacks.length;i<s;i++)if(this._callbacks[i]===e)if(this._contexts[i]===r){this._callbacks.splice(i,1),this._contexts.splice(i,1);return}else n=!0;if(n)throw new Error("When adding a listener with a context, you should remove it with the same context")}invoke(...e){if(!this._callbacks)return[];let r=[],n=this._callbacks.slice(0),i=this._contexts.slice(0);for(let s=0,o=n.length;s<o;s++)try{r.push(n[s].apply(i[s],e))}catch(a){bvt.default().console.error(a)}return r}isEmpty(){return!this._callbacks||this._callbacks.length===0}dispose(){this._callbacks=void 0,this._contexts=void 0}},Wl=class{constructor(e){this._options=e}get event(){return this._event||(this._event=(e,r,n)=>{this._callbacks||(this._callbacks=new RI),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(e,r);let i={dispose:()=>{this._callbacks&&(this._callbacks.remove(e,r),i.dispose=Wl._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))}};return Array.isArray(n)&&n.push(i),i}),this._event}fire(e){this._callbacks&&this._callbacks.invoke.call(this._callbacks,e)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}};Ia.Emitter=Wl;Wl._noop=function(){}});var MI=m(Na=>{"use strict";Object.defineProperty(Na,"__esModule",{value:!0});Na.CancellationTokenSource=Na.CancellationToken=void 0;var Cge=vs(),wvt=Bl(),AI=zl(),PI;(function(t){t.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:AI.Event.None}),t.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:AI.Event.None});function e(r){let n=r;return n&&(n===t.None||n===t.Cancelled||wvt.boolean(n.isCancellationRequested)&&!!n.onCancellationRequested)}t.is=e})(PI=Na.CancellationToken||(Na.CancellationToken={}));var _vt=Object.freeze(function(t,e){let r=Cge.default().timer.setTimeout(t.bind(e),0);return{dispose(){Cge.default().timer.clearTimeout(r)}}}),Nk=class{constructor(){this._isCancelled=!1}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?_vt:(this._emitter||(this._emitter=new AI.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}},TI=class{get token(){return this._token||(this._token=new Nk),this._token}cancel(){this._token?this._token.cancel():this._token=PI.Cancelled}dispose(){this._token?this._token instanceof Nk&&this._token.dispose():this._token=PI.None}};Na.CancellationTokenSource=TI});var Dge=m(ws=>{"use strict";Object.defineProperty(ws,"__esModule",{value:!0});ws.ReadableStreamMessageReader=ws.AbstractMessageReader=ws.MessageReader=void 0;var jk=vs(),Ul=Bl(),LI=zl(),xvt;(function(t){function e(r){let n=r;return n&&Ul.func(n.listen)&&Ul.func(n.dispose)&&Ul.func(n.onError)&&Ul.func(n.onClose)&&Ul.func(n.onPartialMessage)}t.is=e})(xvt=ws.MessageReader||(ws.MessageReader={}));var $k=class{constructor(){this.errorEmitter=new LI.Emitter,this.closeEmitter=new LI.Emitter,this.partialMessageEmitter=new LI.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(e){this.errorEmitter.fire(this.asError(e))}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}get onPartialMessage(){return this.partialMessageEmitter.event}firePartialMessage(e){this.partialMessageEmitter.fire(e)}asError(e){return e instanceof Error?e:new Error(`Reader received error. Reason: ${Ul.string(e.message)?e.message:"unknown"}`)}};ws.AbstractMessageReader=$k;var FI;(function(t){function e(r){var n;let i,s,o,a=new Map,u,l=new Map;if(r===void 0||typeof r=="string")i=r??"utf-8";else{if(i=(n=r.charset)!==null&&n!==void 0?n:"utf-8",r.contentDecoder!==void 0&&(o=r.contentDecoder,a.set(o.name,o)),r.contentDecoders!==void 0)for(let c of r.contentDecoders)a.set(c.name,c);if(r.contentTypeDecoder!==void 0&&(u=r.contentTypeDecoder,l.set(u.name,u)),r.contentTypeDecoders!==void 0)for(let c of r.contentTypeDecoders)l.set(c.name,c)}return u===void 0&&(u=jk.default().applicationJson.decoder,l.set(u.name,u)),{charset:i,contentDecoder:o,contentDecoders:a,contentTypeDecoder:u,contentTypeDecoders:l}}t.fromOptions=e})(FI||(FI={}));var II=class extends $k{constructor(e,r){super(),this.readable=e,this.options=FI.fromOptions(r),this.buffer=jk.default().messageBuffer.create(this.options.charset),this._partialMessageTimeout=1e4,this.nextMessageLength=-1,this.messageToken=0}set partialMessageTimeout(e){this._partialMessageTimeout=e}get partialMessageTimeout(){return this._partialMessageTimeout}listen(e){this.nextMessageLength=-1,this.messageToken=0,this.partialMessageTimer=void 0,this.callback=e;let r=this.readable.onData(n=>{this.onData(n)});return this.readable.onError(n=>this.fireError(n)),this.readable.onClose(()=>this.fireClose()),r}onData(e){for(this.buffer.append(e);;){if(this.nextMessageLength===-1){let i=this.buffer.tryReadHeaders();if(!i)return;let s=i.get("Content-Length");if(!s)throw new Error("Header must provide a Content-Length property.");let o=parseInt(s);if(isNaN(o))throw new Error("Content-Length value must be a number.");this.nextMessageLength=o}let r=this.buffer.tryReadBody(this.nextMessageLength);if(r===void 0){this.setPartialMessageTimer();return}this.clearPartialMessageTimer(),this.nextMessageLength=-1;let n;this.options.contentDecoder!==void 0?n=this.options.contentDecoder.decode(r):n=Promise.resolve(r),n.then(i=>{this.options.contentTypeDecoder.decode(i,this.options).then(s=>{this.callback(s)},s=>{this.fireError(s)})},i=>{this.fireError(i)})}}clearPartialMessageTimer(){this.partialMessageTimer&&(jk.default().timer.clearTimeout(this.partialMessageTimer),this.partialMessageTimer=void 0)}setPartialMessageTimer(){this.clearPartialMessageTimer(),!(this._partialMessageTimeout<=0)&&(this.partialMessageTimer=jk.default().timer.setTimeout((e,r)=>{this.partialMessageTimer=void 0,e===this.messageToken&&(this.firePartialMessage({messageToken:e,waitingTime:r}),this.setPartialMessageTimer())},this._partialMessageTimeout,this.messageToken,this._partialMessageTimeout))}};ws.ReadableStreamMessageReader=II});var Oge=m(Bk=>{"use strict";Object.defineProperty(Bk,"__esModule",{value:!0});Bk.Semaphore=void 0;var Svt=vs(),NI=class{constructor(e=1){if(e<=0)throw new Error("Capacity must be greater than 0");this._capacity=e,this._active=0,this._waiting=[]}lock(e){return new Promise((r,n)=>{this._waiting.push({thunk:e,resolve:r,reject:n}),this.runNext()})}get active(){return this._active}runNext(){this._waiting.length===0||this._active===this._capacity||Svt.default().timer.setImmediate(()=>this.doRunNext())}doRunNext(){if(this._waiting.length===0||this._active===this._capacity)return;let e=this._waiting.shift();if(this._active++,this._active>this._capacity)throw new Error("To many thunks active");try{let r=e.thunk();r instanceof Promise?r.then(n=>{this._active--,e.resolve(n),this.runNext()},n=>{this._active--,e.reject(n),this.runNext()}):(this._active--,e.resolve(r),this.runNext())}catch(r){this._active--,e.reject(r),this.runNext()}}};Bk.Semaphore=NI});var Pge=m(_s=>{"use strict";Object.defineProperty(_s,"__esModule",{value:!0});_s.WriteableStreamMessageWriter=_s.AbstractMessageWriter=_s.MessageWriter=void 0;var qge=vs(),Op=Bl(),kvt=Oge(),Rge=zl(),Evt="Content-Length: ",Age=`\r
|
|
396
|
+
`,Cvt;(function(t){function e(r){let n=r;return n&&Op.func(n.dispose)&&Op.func(n.onClose)&&Op.func(n.onError)&&Op.func(n.write)}t.is=e})(Cvt=_s.MessageWriter||(_s.MessageWriter={}));var Wk=class{constructor(){this.errorEmitter=new Rge.Emitter,this.closeEmitter=new Rge.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(e,r,n){this.errorEmitter.fire([this.asError(e),r,n])}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}asError(e){return e instanceof Error?e:new Error(`Writer received error. Reason: ${Op.string(e.message)?e.message:"unknown"}`)}};_s.AbstractMessageWriter=Wk;var jI;(function(t){function e(r){var n,i;return r===void 0||typeof r=="string"?{charset:r??"utf-8",contentTypeEncoder:qge.default().applicationJson.encoder}:{charset:(n=r.charset)!==null&&n!==void 0?n:"utf-8",contentEncoder:r.contentEncoder,contentTypeEncoder:(i=r.contentTypeEncoder)!==null&&i!==void 0?i:qge.default().applicationJson.encoder}}t.fromOptions=e})(jI||(jI={}));var $I=class extends Wk{constructor(e,r){super(),this.writable=e,this.options=jI.fromOptions(r),this.errorCount=0,this.writeSemaphore=new kvt.Semaphore(1),this.writable.onError(n=>this.fireError(n)),this.writable.onClose(()=>this.fireClose())}async write(e){return this.writeSemaphore.lock(async()=>this.options.contentTypeEncoder.encode(e,this.options).then(n=>this.options.contentEncoder!==void 0?this.options.contentEncoder.encode(n):n).then(n=>{let i=[];return i.push(Evt,n.byteLength.toString(),Age),i.push(Age),this.doWrite(e,i,n)},n=>{throw this.fireError(n),n}))}async doWrite(e,r,n){try{return await this.writable.write(r.join(""),"ascii"),this.writable.write(n)}catch(i){return this.handleError(i,e),Promise.reject(i)}}handleError(e,r){this.errorCount++,this.fireError(e,r,this.errorCount)}end(){this.writable.end()}};_s.WriteableStreamMessageWriter=$I});var Tge=m(xs=>{"use strict";Object.defineProperty(xs,"__esModule",{value:!0});xs.LRUCache=xs.LinkedMap=xs.Touch=void 0;var Yr;(function(t){t.None=0,t.First=1,t.AsOld=t.First,t.Last=2,t.AsNew=t.Last})(Yr=xs.Touch||(xs.Touch={}));var zk=class{constructor(){this[Symbol.toStringTag]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var e;return(e=this._head)===null||e===void 0?void 0:e.value}get last(){var e;return(e=this._tail)===null||e===void 0?void 0:e.value}has(e){return this._map.has(e)}get(e,r=Yr.None){let n=this._map.get(e);if(n)return r!==Yr.None&&this.touch(n,r),n.value}set(e,r,n=Yr.None){let i=this._map.get(e);if(i)i.value=r,n!==Yr.None&&this.touch(i,n);else{switch(i={key:e,value:r,next:void 0,previous:void 0},n){case Yr.None:this.addItemLast(i);break;case Yr.First:this.addItemFirst(i);break;case Yr.Last:this.addItemLast(i);break;default:this.addItemLast(i);break}this._map.set(e,i),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){let r=this._map.get(e);if(r)return this._map.delete(e),this.removeItem(r),this._size--,r.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");let e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,r){let n=this._state,i=this._head;for(;i;){if(r?e.bind(r)(i.value,i.key,this):e(i.value,i.key,this),this._state!==n)throw new Error("LinkedMap got modified during iteration.");i=i.next}}keys(){let e=this,r=this._state,n=this._head,i={[Symbol.iterator](){return i},next(){if(e._state!==r)throw new Error("LinkedMap got modified during iteration.");if(n){let s={value:n.key,done:!1};return n=n.next,s}else return{value:void 0,done:!0}}};return i}values(){let e=this,r=this._state,n=this._head,i={[Symbol.iterator](){return i},next(){if(e._state!==r)throw new Error("LinkedMap got modified during iteration.");if(n){let s={value:n.value,done:!1};return n=n.next,s}else return{value:void 0,done:!0}}};return i}entries(){let e=this,r=this._state,n=this._head,i={[Symbol.iterator](){return i},next(){if(e._state!==r)throw new Error("LinkedMap got modified during iteration.");if(n){let s={value:[n.key,n.value],done:!1};return n=n.next,s}else return{value:void 0,done:!0}}};return i}[Symbol.iterator](){return this.entries()}trimOld(e){if(e>=this.size)return;if(e===0){this.clear();return}let r=this._head,n=this.size;for(;r&&n>e;)this._map.delete(r.key),r=r.next,n--;this._head=r,this._size=n,r&&(r.previous=void 0),this._state++}addItemFirst(e){if(!this._head&&!this._tail)this._tail=e;else if(this._head)e.next=this._head,this._head.previous=e;else throw new Error("Invalid list");this._head=e,this._state++}addItemLast(e){if(!this._head&&!this._tail)this._head=e;else if(this._tail)e.previous=this._tail,this._tail.next=e;else throw new Error("Invalid list");this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{let r=e.next,n=e.previous;if(!r||!n)throw new Error("Invalid list");r.previous=n,n.next=r}e.next=void 0,e.previous=void 0,this._state++}touch(e,r){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(r!==Yr.First&&r!==Yr.Last)){if(r===Yr.First){if(e===this._head)return;let n=e.next,i=e.previous;e===this._tail?(i.next=void 0,this._tail=i):(n.previous=i,i.next=n),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(r===Yr.Last){if(e===this._tail)return;let n=e.next,i=e.previous;e===this._head?(n.previous=void 0,this._head=n):(n.previous=i,i.next=n),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}}toJSON(){let e=[];return this.forEach((r,n)=>{e.push([n,r])}),e}fromJSON(e){this.clear();for(let[r,n]of e)this.set(r,n)}};xs.LinkedMap=zk;var BI=class extends zk{constructor(e,r=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,r),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get ratio(){return this._ratio}set ratio(e){this._ratio=Math.min(Math.max(0,e),1),this.checkTrim()}get(e,r=Yr.AsNew){return super.get(e,r)}peek(e){return super.get(e,Yr.None)}set(e,r){return super.set(e,r,Yr.Last),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}};xs.LRUCache=BI});var Nge=m(Be=>{"use strict";Object.defineProperty(Be,"__esModule",{value:!0});Be.createMessageConnection=Be.ConnectionOptions=Be.CancellationStrategy=Be.CancellationSenderStrategy=Be.CancellationReceiverStrategy=Be.ConnectionStrategy=Be.ConnectionError=Be.ConnectionErrors=Be.LogTraceNotification=Be.SetTraceNotification=Be.TraceFormat=Be.Trace=Be.NullLogger=Be.ProgressType=void 0;var Mge=vs(),gr=Bl(),Ie=qI(),Lge=Tge(),qp=zl(),WI=MI(),Rp;(function(t){t.type=new Ie.NotificationType("$/cancelRequest")})(Rp||(Rp={}));var Hk;(function(t){t.type=new Ie.NotificationType("$/progress")})(Hk||(Hk={}));var zI=class{constructor(){}};Be.ProgressType=zI;var UI;(function(t){function e(r){return gr.func(r)}t.is=e})(UI||(UI={}));Be.NullLogger=Object.freeze({error:()=>{},warn:()=>{},info:()=>{},log:()=>{}});var Zt;(function(t){t[t.Off=0]="Off",t[t.Messages=1]="Messages",t[t.Verbose=2]="Verbose"})(Zt=Be.Trace||(Be.Trace={}));(function(t){function e(n){if(!gr.string(n))return t.Off;switch(n=n.toLowerCase(),n){case"off":return t.Off;case"messages":return t.Messages;case"verbose":return t.Verbose;default:return t.Off}}t.fromString=e;function r(n){switch(n){case t.Off:return"off";case t.Messages:return"messages";case t.Verbose:return"verbose";default:return"off"}}t.toString=r})(Zt=Be.Trace||(Be.Trace={}));var fi;(function(t){t.Text="text",t.JSON="json"})(fi=Be.TraceFormat||(Be.TraceFormat={}));(function(t){function e(r){return r=r.toLowerCase(),r==="json"?t.JSON:t.Text}t.fromString=e})(fi=Be.TraceFormat||(Be.TraceFormat={}));var Fge;(function(t){t.type=new Ie.NotificationType("$/setTrace")})(Fge=Be.SetTraceNotification||(Be.SetTraceNotification={}));var HI;(function(t){t.type=new Ie.NotificationType("$/logTrace")})(HI=Be.LogTraceNotification||(Be.LogTraceNotification={}));var Uk;(function(t){t[t.Closed=1]="Closed",t[t.Disposed=2]="Disposed",t[t.AlreadyListening=3]="AlreadyListening"})(Uk=Be.ConnectionErrors||(Be.ConnectionErrors={}));var po=class extends Error{constructor(e,r){super(r),this.code=e,Object.setPrototypeOf(this,po.prototype)}};Be.ConnectionError=po;var Ige;(function(t){function e(r){let n=r;return n&&gr.func(n.cancelUndispatched)}t.is=e})(Ige=Be.ConnectionStrategy||(Be.ConnectionStrategy={}));var VI;(function(t){t.Message=Object.freeze({createCancellationTokenSource(r){return new WI.CancellationTokenSource}});function e(r){let n=r;return n&&gr.func(n.createCancellationTokenSource)}t.is=e})(VI=Be.CancellationReceiverStrategy||(Be.CancellationReceiverStrategy={}));var GI;(function(t){t.Message=Object.freeze({sendCancellation(r,n){r.sendNotification(Rp.type,{id:n})},cleanup(r){}});function e(r){let n=r;return n&&gr.func(n.sendCancellation)&&gr.func(n.cleanup)}t.is=e})(GI=Be.CancellationSenderStrategy||(Be.CancellationSenderStrategy={}));var KI;(function(t){t.Message=Object.freeze({receiver:VI.Message,sender:GI.Message});function e(r){let n=r;return n&&VI.is(n.receiver)&&GI.is(n.sender)}t.is=e})(KI=Be.CancellationStrategy||(Be.CancellationStrategy={}));var Dvt;(function(t){function e(r){let n=r;return n&&(KI.is(n.cancellationStrategy)||Ige.is(n.connectionStrategy))}t.is=e})(Dvt=Be.ConnectionOptions||(Be.ConnectionOptions={}));var di;(function(t){t[t.New=1]="New",t[t.Listening=2]="Listening",t[t.Closed=3]="Closed",t[t.Disposed=4]="Disposed"})(di||(di={}));function Ovt(t,e,r,n){let i=r!==void 0?r:Be.NullLogger,s=0,o=0,a=0,u="2.0",l,c=Object.create(null),f,d=Object.create(null),p=new Map,h,y=new Lge.LinkedMap,v=Object.create(null),g=Object.create(null),b=Zt.Off,w=fi.Text,_,S=di.New,q=new qp.Emitter,C=new qp.Emitter,R=new qp.Emitter,O=new qp.Emitter,z=new qp.Emitter,F=n&&n.cancellationStrategy?n.cancellationStrategy:KI.Message;function ee(I){if(I===null)throw new Error("Can't send requests with id null since the response can't be correlated.");return"req-"+I.toString()}function G(I){return I===null?"res-unknown-"+(++a).toString():"res-"+I.toString()}function ae(){return"not-"+(++o).toString()}function L(I,P){Ie.isRequestMessage(P)?I.set(ee(P.id),P):Ie.isResponseMessage(P)?I.set(G(P.id),P):I.set(ae(),P)}function M(I){}function oe(){return S===di.Listening}function re(){return S===di.Closed}function fe(){return S===di.Disposed}function ue(){(S===di.New||S===di.Listening)&&(S=di.Closed,C.fire(void 0))}function ie(I){q.fire([I,void 0,void 0])}function pe(I){q.fire(I)}t.onClose(ue),t.onError(ie),e.onClose(ue),e.onError(pe);function ve(){h||y.size===0||(h=Mge.default().timer.setImmediate(()=>{h=void 0,Ce()}))}function Ce(){if(y.size===0)return;let I=y.shift();try{Ie.isRequestMessage(I)?be(I):Ie.isNotificationMessage(I)?dt(I):Ie.isResponseMessage(I)?Ct(I):de(I)}finally{ve()}}let Qe=I=>{try{if(Ie.isNotificationMessage(I)&&I.method===Rp.type.method){let P=ee(I.params.id),E=y.get(P);if(Ie.isRequestMessage(E)){let T=n?.connectionStrategy,W=T&&T.cancelUndispatched?T.cancelUndispatched(E,M):void 0;if(W&&(W.error!==void 0||W.result!==void 0)){y.delete(P),W.id=E.id,Le(W,I.method,Date.now()),e.write(W);return}}}L(y,I)}finally{ve()}};function be(I){if(fe())return;function P(Y,ye,De){let He={jsonrpc:u,id:I.id};Y instanceof Ie.ResponseError?He.error=Y.toJson():He.result=Y===void 0?null:Y,Le(He,ye,De),e.write(He)}function E(Y,ye,De){let He={jsonrpc:u,id:I.id,error:Y.toJson()};Le(He,ye,De),e.write(He)}function T(Y,ye,De){Y===void 0&&(Y=null);let He={jsonrpc:u,id:I.id,result:Y};Le(He,ye,De),e.write(He)}ot(I);let W=c[I.method],D,k;W&&(D=W.type,k=W.handler);let H=Date.now();if(k||l){let Y=String(I.id),ye=F.receiver.createCancellationTokenSource(Y);g[Y]=ye;try{let De;if(k)if(I.params===void 0){if(D!==void 0&&D.numberOfParams!==0){E(new Ie.ResponseError(Ie.ErrorCodes.InvalidParams,`Request ${I.method} defines ${D.numberOfParams} params but recevied none.`),I.method,H);return}De=k(ye.token)}else if(Array.isArray(I.params)){if(D!==void 0&&D.parameterStructures===Ie.ParameterStructures.byName){E(new Ie.ResponseError(Ie.ErrorCodes.InvalidParams,`Request ${I.method} defines parameters by name but received parameters by position`),I.method,H);return}De=k(...I.params,ye.token)}else{if(D!==void 0&&D.parameterStructures===Ie.ParameterStructures.byPosition){E(new Ie.ResponseError(Ie.ErrorCodes.InvalidParams,`Request ${I.method} defines parameters by position but received parameters by name`),I.method,H);return}De=k(I.params,ye.token)}else l&&(De=l(I.method,I.params,ye.token));let He=De;De?He.then?He.then(bt=>{delete g[Y],P(bt,I.method,H)},bt=>{delete g[Y],bt instanceof Ie.ResponseError?E(bt,I.method,H):bt&&gr.string(bt.message)?E(new Ie.ResponseError(Ie.ErrorCodes.InternalError,`Request ${I.method} failed with message: ${bt.message}`),I.method,H):E(new Ie.ResponseError(Ie.ErrorCodes.InternalError,`Request ${I.method} failed unexpectedly without providing any details.`),I.method,H)}):(delete g[Y],P(De,I.method,H)):(delete g[Y],T(De,I.method,H))}catch(De){delete g[Y],De instanceof Ie.ResponseError?P(De,I.method,H):De&&gr.string(De.message)?E(new Ie.ResponseError(Ie.ErrorCodes.InternalError,`Request ${I.method} failed with message: ${De.message}`),I.method,H):E(new Ie.ResponseError(Ie.ErrorCodes.InternalError,`Request ${I.method} failed unexpectedly without providing any details.`),I.method,H)}}else E(new Ie.ResponseError(Ie.ErrorCodes.MethodNotFound,`Unhandled method ${I.method}`),I.method,H)}function Ct(I){if(!fe())if(I.id===null)I.error?i.error(`Received response message without id: Error is:
|
|
397
397
|
${JSON.stringify(I.error,void 0,4)}`):i.error("Received response message without id. No further error information provided.");else{let P=String(I.id),E=v[P];if($t(I,E),E){delete v[P];try{if(I.error){let T=I.error;E.reject(new Ie.ResponseError(T.code,T.message,T.data))}else if(I.result!==void 0)E.resolve(I.result);else throw new Error("Should never happen.")}catch(T){T.message?i.error(`Response handler '${E.method}' failed with message: ${T.message}`):i.error(`Response handler '${E.method}' failed unexpectedly.`)}}}}function dt(I){if(fe())return;let P,E;if(I.method===Rp.type.method)E=T=>{let W=T.id,D=g[String(W)];D&&D.cancel()};else{let T=d[I.method];T&&(E=T.handler,P=T.type)}if(E||f)try{zt(I),E?I.params===void 0?(P!==void 0&&P.numberOfParams!==0&&P.parameterStructures!==Ie.ParameterStructures.byName&&i.error(`Notification ${I.method} defines ${P.numberOfParams} params but recevied none.`),E()):Array.isArray(I.params)?(P!==void 0&&(P.parameterStructures===Ie.ParameterStructures.byName&&i.error(`Notification ${I.method} defines parameters by name but received parameters by position`),P.numberOfParams!==I.params.length&&i.error(`Notification ${I.method} defines ${P.numberOfParams} params but received ${I.params.length} argumennts`)),E(...I.params)):(P!==void 0&&P.parameterStructures===Ie.ParameterStructures.byPosition&&i.error(`Notification ${I.method} defines parameters by position but received parameters by name`),E(I.params)):f&&f(I.method,I.params)}catch(T){T.message?i.error(`Notification handler '${I.method}' failed with message: ${T.message}`):i.error(`Notification handler '${I.method}' failed unexpectedly.`)}else R.fire(I)}function de(I){if(!I){i.error("Received empty message.");return}i.error(`Received message which is neither a response nor a notification message:
|
|
398
|
-
${JSON.stringify(I,null,4)}`);let P=I;if(
|
|
398
|
+
${JSON.stringify(I,null,4)}`);let P=I;if(gr.string(P.id)||gr.number(P.id)){let E=String(P.id),T=v[E];T&&T.reject(new Error("The received response has neither a result nor an error property."))}}function le(I){if(!(b===Zt.Off||!_))if(w===fi.Text){let P;b===Zt.Verbose&&I.params&&(P=`Params: ${JSON.stringify(I.params,null,4)}
|
|
399
399
|
|
|
400
400
|
`),_.log(`Sending request '${I.method} - (${I.id})'.`,P)}else qn("send-request",I)}function ne(I){if(!(b===Zt.Off||!_))if(w===fi.Text){let P;b===Zt.Verbose&&(I.params?P=`Params: ${JSON.stringify(I.params,null,4)}
|
|
401
401
|
|
|
@@ -419,18 +419,18 @@ ${JSON.stringify(I,null,4)}`);let P=I;if(hr.string(P.id)||hr.number(P.id)){let E
|
|
|
419
419
|
|
|
420
420
|
`:I.error===void 0&&(E=`No result returned.
|
|
421
421
|
|
|
422
|
-
`)),P){let T=I.error?` Request failed: ${I.error.message} (${I.error.code}).`:"";_.log(`Received response '${P.method} - (${I.id})' in ${Date.now()-P.timerStart}ms.${T}`,E)}else _.log(`Received response ${I.id} without active response promise.`,E)}else qn("receive-response",I)}function qn(I,P){if(!_||b===Zt.Off)return;let E={isLSPMessage:!0,type:I,message:P,timestamp:Date.now()};_.log(E)}function Rn(){if(re())throw new po(Uk.Closed,"Connection is closed.");if(fe())throw new po(Uk.Disposed,"Connection is disposed.")}function jE(){if(oe())throw new po(Uk.AlreadyListening,"Connection is already listening")}function $E(){if(!oe())throw new Error("Call listen() first.")}function Eo(I){return I===void 0?null:I}function oh(I){if(I!==null)return I}function ah(I){return I!=null&&!Array.isArray(I)&&typeof I=="object"}function ec(I,P){switch(I){case Ie.ParameterStructures.auto:return ah(P)?oh(P):[Eo(P)];case Ie.ParameterStructures.byName:if(!ah(P))throw new Error("Recevied parameters by name but param is not an object literal.");return oh(P);case Ie.ParameterStructures.byPosition:return[Eo(P)];default:throw new Error(`Unknown parameter structure ${I.toString()}`)}}function uh(I,P){let E,T=I.numberOfParams;switch(T){case 0:E=void 0;break;case 1:E=ec(I.parameterStructures,P[0]);break;default:E=[];for(let W=0;W<P.length&&W<T;W++)E.push(Eo(P[W]));if(P.length<T)for(let W=P.length;W<T;W++)E.push(null);break}return E}let Cs={sendNotification:(I,...P)=>{Rn();let E,T;if(hr.string(I)){E=I;let D=P[0],k=0,H=Ie.ParameterStructures.auto;Ie.ParameterStructures.is(D)&&(k=1,H=D);let Y=P.length,ye=Y-k;switch(ye){case 0:T=void 0;break;case 1:T=ec(H,P[k]);break;default:if(H===Ie.ParameterStructures.byName)throw new Error(`Recevied ${ye} parameters for 'by Name' notification parameter structure.`);T=P.slice(k,Y).map(De=>Eo(De));break}}else{let D=P;E=I.method,T=uh(I,D)}let W={jsonrpc:u,method:E,params:T};ne(W),e.write(W)},onNotification:(I,P)=>{Rn();let E;return hr.func(I)?f=I:P&&(hr.string(I)?(E=I,d[I]={type:void 0,handler:P}):(E=I.method,d[I.method]={type:I,handler:P})),{dispose:()=>{E!==void 0?delete d[E]:f=void 0}}},onProgress:(I,P,E)=>{if(p.has(P))throw new Error(`Progress handler for token ${P} already registered`);return p.set(P,E),{dispose:()=>{p.delete(P)}}},sendProgress:(I,P,E)=>{Cs.sendNotification(Hk.type,{token:P,value:E})},onUnhandledProgress:O.event,sendRequest:(I,...P)=>{Rn(),$E();let E,T,W;if(hr.string(I)){E=I;let Y=P[0],ye=P[P.length-1],De=0,He=Ie.ParameterStructures.auto;Ie.ParameterStructures.is(Y)&&(De=1,He=Y);let bt=P.length;WI.CancellationToken.is(ye)&&(bt=bt-1,W=ye);let tr=bt-De;switch(tr){case 0:T=void 0;break;case 1:T=ec(He,P[De]);break;default:if(He===Ie.ParameterStructures.byName)throw new Error(`Recevied ${tr} parameters for 'by Name' request parameter structure.`);T=P.slice(De,bt).map(sr=>Eo(sr));break}}else{let Y=P;E=I.method,T=uh(I,Y);let ye=I.numberOfParams;W=WI.CancellationToken.is(Y[ye])?Y[ye]:void 0}let D=s++,k;return W&&(k=W.onCancellationRequested(()=>{F.sender.sendCancellation(Cs,D)})),new Promise((Y,ye)=>{let De={jsonrpc:u,id:D,method:E,params:T},He=sr=>{Y(sr),F.sender.cleanup(D),k?.dispose()},bt=sr=>{ye(sr),F.sender.cleanup(D),k?.dispose()},tr={method:E,timerStart:Date.now(),resolve:He,reject:bt};le(De);try{e.write(De)}catch(sr){tr.reject(new Ie.ResponseError(Ie.ErrorCodes.MessageWriteError,sr.message?sr.message:"Unknown reason")),tr=null}tr&&(v[String(D)]=tr)})},onRequest:(I,P)=>{Rn();let E=null;return UI.is(I)?(E=void 0,l=I):hr.string(I)?(E=null,P!==void 0&&(E=I,c[I]={handler:P,type:void 0})):P!==void 0&&(E=I.method,c[I.method]={type:I,handler:P}),{dispose:()=>{E!==null&&(E!==void 0?delete c[E]:l=void 0)}}},trace:(I,P,E)=>{let T=!1,W=fi.Text;E!==void 0&&(hr.boolean(E)?T=E:(T=E.sendNotification||!1,W=E.traceFormat||fi.Text)),b=I,w=W,b===Zt.Off?_=void 0:_=P,T&&!re()&&!fe()&&Cs.sendNotification(Fge.type,{value:Zt.toString(I)})},onError:q.event,onClose:C.event,onUnhandledNotification:R.event,onDispose:z.event,end:()=>{e.end()},dispose:()=>{if(fe())return;S=di.Disposed,z.fire(void 0);let I=new Error("Connection got disposed.");Object.keys(v).forEach(P=>{v[P].reject(I)}),v=Object.create(null),g=Object.create(null),y=new Lge.LinkedMap,hr.func(e.dispose)&&e.dispose(),hr.func(t.dispose)&&t.dispose()},listen:()=>{Rn(),jE(),S=di.Listening,t.listen(Qe)},inspect:()=>{Mge.default().console.log("inspect")}};return Cs.onNotification(HI.type,I=>{b===Zt.Off||!_||_.log(I.message,b===Zt.Verbose?I.verbose:void 0)}),Cs.onNotification(Hk.type,I=>{let P=p.get(I.token);P?P(I.value):O.fire(I)}),Cs}Be.createMessageConnection=Ovt});var JI=m(se=>{"use strict";Object.defineProperty(se,"__esModule",{value:!0});se.CancellationSenderStrategy=se.CancellationReceiverStrategy=se.ConnectionError=se.ConnectionErrors=se.LogTraceNotification=se.SetTraceNotification=se.TraceFormat=se.Trace=se.ProgressType=se.createMessageConnection=se.NullLogger=se.ConnectionOptions=se.ConnectionStrategy=se.WriteableStreamMessageWriter=se.AbstractMessageWriter=se.MessageWriter=se.ReadableStreamMessageReader=se.AbstractMessageReader=se.MessageReader=se.CancellationToken=se.CancellationTokenSource=se.Emitter=se.Event=se.Disposable=se.ParameterStructures=se.NotificationType9=se.NotificationType8=se.NotificationType7=se.NotificationType6=se.NotificationType5=se.NotificationType4=se.NotificationType3=se.NotificationType2=se.NotificationType1=se.NotificationType0=se.NotificationType=se.ErrorCodes=se.ResponseError=se.RequestType9=se.RequestType8=se.RequestType7=se.RequestType6=se.RequestType5=se.RequestType4=se.RequestType3=se.RequestType2=se.RequestType1=se.RequestType0=se.RequestType=se.RAL=void 0;se.CancellationStrategy=void 0;var Et=qI();Object.defineProperty(se,"RequestType",{enumerable:!0,get:function(){return Et.RequestType}});Object.defineProperty(se,"RequestType0",{enumerable:!0,get:function(){return Et.RequestType0}});Object.defineProperty(se,"RequestType1",{enumerable:!0,get:function(){return Et.RequestType1}});Object.defineProperty(se,"RequestType2",{enumerable:!0,get:function(){return Et.RequestType2}});Object.defineProperty(se,"RequestType3",{enumerable:!0,get:function(){return Et.RequestType3}});Object.defineProperty(se,"RequestType4",{enumerable:!0,get:function(){return Et.RequestType4}});Object.defineProperty(se,"RequestType5",{enumerable:!0,get:function(){return Et.RequestType5}});Object.defineProperty(se,"RequestType6",{enumerable:!0,get:function(){return Et.RequestType6}});Object.defineProperty(se,"RequestType7",{enumerable:!0,get:function(){return Et.RequestType7}});Object.defineProperty(se,"RequestType8",{enumerable:!0,get:function(){return Et.RequestType8}});Object.defineProperty(se,"RequestType9",{enumerable:!0,get:function(){return Et.RequestType9}});Object.defineProperty(se,"ResponseError",{enumerable:!0,get:function(){return Et.ResponseError}});Object.defineProperty(se,"ErrorCodes",{enumerable:!0,get:function(){return Et.ErrorCodes}});Object.defineProperty(se,"NotificationType",{enumerable:!0,get:function(){return Et.NotificationType}});Object.defineProperty(se,"NotificationType0",{enumerable:!0,get:function(){return Et.NotificationType0}});Object.defineProperty(se,"NotificationType1",{enumerable:!0,get:function(){return Et.NotificationType1}});Object.defineProperty(se,"NotificationType2",{enumerable:!0,get:function(){return Et.NotificationType2}});Object.defineProperty(se,"NotificationType3",{enumerable:!0,get:function(){return Et.NotificationType3}});Object.defineProperty(se,"NotificationType4",{enumerable:!0,get:function(){return Et.NotificationType4}});Object.defineProperty(se,"NotificationType5",{enumerable:!0,get:function(){return Et.NotificationType5}});Object.defineProperty(se,"NotificationType6",{enumerable:!0,get:function(){return Et.NotificationType6}});Object.defineProperty(se,"NotificationType7",{enumerable:!0,get:function(){return Et.NotificationType7}});Object.defineProperty(se,"NotificationType8",{enumerable:!0,get:function(){return Et.NotificationType8}});Object.defineProperty(se,"NotificationType9",{enumerable:!0,get:function(){return Et.NotificationType9}});Object.defineProperty(se,"ParameterStructures",{enumerable:!0,get:function(){return Et.ParameterStructures}});var qvt=tI();Object.defineProperty(se,"Disposable",{enumerable:!0,get:function(){return qvt.Disposable}});var jge=zl();Object.defineProperty(se,"Event",{enumerable:!0,get:function(){return jge.Event}});Object.defineProperty(se,"Emitter",{enumerable:!0,get:function(){return jge.Emitter}});var $ge=MI();Object.defineProperty(se,"CancellationTokenSource",{enumerable:!0,get:function(){return $ge.CancellationTokenSource}});Object.defineProperty(se,"CancellationToken",{enumerable:!0,get:function(){return $ge.CancellationToken}});var YI=Dge();Object.defineProperty(se,"MessageReader",{enumerable:!0,get:function(){return YI.MessageReader}});Object.defineProperty(se,"AbstractMessageReader",{enumerable:!0,get:function(){return YI.AbstractMessageReader}});Object.defineProperty(se,"ReadableStreamMessageReader",{enumerable:!0,get:function(){return YI.ReadableStreamMessageReader}});var QI=Pge();Object.defineProperty(se,"MessageWriter",{enumerable:!0,get:function(){return QI.MessageWriter}});Object.defineProperty(se,"AbstractMessageWriter",{enumerable:!0,get:function(){return QI.AbstractMessageWriter}});Object.defineProperty(se,"WriteableStreamMessageWriter",{enumerable:!0,get:function(){return QI.WriteableStreamMessageWriter}});var sn=Nge();Object.defineProperty(se,"ConnectionStrategy",{enumerable:!0,get:function(){return sn.ConnectionStrategy}});Object.defineProperty(se,"ConnectionOptions",{enumerable:!0,get:function(){return sn.ConnectionOptions}});Object.defineProperty(se,"NullLogger",{enumerable:!0,get:function(){return sn.NullLogger}});Object.defineProperty(se,"createMessageConnection",{enumerable:!0,get:function(){return sn.createMessageConnection}});Object.defineProperty(se,"ProgressType",{enumerable:!0,get:function(){return sn.ProgressType}});Object.defineProperty(se,"Trace",{enumerable:!0,get:function(){return sn.Trace}});Object.defineProperty(se,"TraceFormat",{enumerable:!0,get:function(){return sn.TraceFormat}});Object.defineProperty(se,"SetTraceNotification",{enumerable:!0,get:function(){return sn.SetTraceNotification}});Object.defineProperty(se,"LogTraceNotification",{enumerable:!0,get:function(){return sn.LogTraceNotification}});Object.defineProperty(se,"ConnectionErrors",{enumerable:!0,get:function(){return sn.ConnectionErrors}});Object.defineProperty(se,"ConnectionError",{enumerable:!0,get:function(){return sn.ConnectionError}});Object.defineProperty(se,"CancellationReceiverStrategy",{enumerable:!0,get:function(){return sn.CancellationReceiverStrategy}});Object.defineProperty(se,"CancellationSenderStrategy",{enumerable:!0,get:function(){return sn.CancellationSenderStrategy}});Object.defineProperty(se,"CancellationStrategy",{enumerable:!0,get:function(){return sn.CancellationStrategy}});var Rvt=vs();se.RAL=Rvt.default});var Vl=m(st=>{"use strict";var Avt=st&&st.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Pvt=st&&st.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Avt(e,t,r)};Object.defineProperty(st,"__esModule",{value:!0});st.createMessageConnection=st.createServerSocketTransport=st.createClientSocketTransport=st.createServerPipeTransport=st.createClientPipeTransport=st.generateRandomPipeName=st.StreamMessageWriter=st.StreamMessageReader=st.SocketMessageWriter=st.SocketMessageReader=st.IPCMessageWriter=st.IPCMessageReader=void 0;var Hl=xge();Hl.default.install();var Ui=JI(),Bge=require("path"),Tvt=require("os"),Mvt=require("crypto"),Kk=require("net");Pvt(JI(),st);var XI=class extends Ui.AbstractMessageReader{constructor(e){super(),this.process=e;let r=this.process;r.on("error",n=>this.fireError(n)),r.on("close",()=>this.fireClose())}listen(e){return this.process.on("message",e),Ui.Disposable.create(()=>this.process.off("message",e))}};st.IPCMessageReader=XI;var ZI=class extends Ui.AbstractMessageWriter{constructor(e){super(),this.process=e,this.errorCount=0;let r=this.process;r.on("error",n=>this.fireError(n)),r.on("close",()=>this.fireClose)}write(e){try{return typeof this.process.send=="function"&&this.process.send(e,void 0,void 0,r=>{r?(this.errorCount++,this.handleError(r,e)):this.errorCount=0}),Promise.resolve()}catch(r){return this.handleError(r,e),Promise.reject(r)}}handleError(e,r){this.errorCount++,this.fireError(e,r,this.errorCount)}end(){}};st.IPCMessageWriter=ZI;var ja=class extends Ui.ReadableStreamMessageReader{constructor(e,r="utf-8"){super(Hl.default().stream.asReadableStream(e),r)}};st.SocketMessageReader=ja;var $a=class extends Ui.WriteableStreamMessageWriter{constructor(e,r){super(Hl.default().stream.asWritableStream(e),r),this.socket=e}dispose(){super.dispose(),this.socket.destroy()}};st.SocketMessageWriter=$a;var Vk=class extends Ui.ReadableStreamMessageReader{constructor(e,r){super(Hl.default().stream.asReadableStream(e),r)}};st.StreamMessageReader=Vk;var Gk=class extends Ui.WriteableStreamMessageWriter{constructor(e,r){super(Hl.default().stream.asWritableStream(e),r)}};st.StreamMessageWriter=Gk;var Wge=process.env.XDG_RUNTIME_DIR,Lvt=new Map([["linux",107],["darwin",103]]);function Fvt(){let t=Mvt.randomBytes(21).toString("hex");if(process.platform==="win32")return`\\\\.\\pipe\\vscode-jsonrpc-${t}-sock`;let e;Wge?e=Bge.join(Wge,`vscode-ipc-${t}.sock`):e=Bge.join(Tvt.tmpdir(),`vscode-${t}.sock`);let r=Lvt.get(process.platform);return r!==void 0&&e.length>=r&&Hl.default().console.warn(`WARNING: IPC handle "${e}" is longer than ${r} characters.`),e}st.generateRandomPipeName=Fvt;function Ivt(t,e="utf-8"){let r,n=new Promise((i,s)=>{r=i});return new Promise((i,s)=>{let o=Kk.createServer(a=>{o.close(),r([new ja(a,e),new $a(a,e)])});o.on("error",s),o.listen(t,()=>{o.removeListener("error",s),i({onConnected:()=>n})})})}st.createClientPipeTransport=Ivt;function Nvt(t,e="utf-8"){let r=Kk.createConnection(t);return[new ja(r,e),new $a(r,e)]}st.createServerPipeTransport=Nvt;function jvt(t,e="utf-8"){let r,n=new Promise((i,s)=>{r=i});return new Promise((i,s)=>{let o=Kk.createServer(a=>{o.close(),r([new ja(a,e),new $a(a,e)])});o.on("error",s),o.listen(t,"127.0.0.1",()=>{o.removeListener("error",s),i({onConnected:()=>n})})})}st.createClientSocketTransport=jvt;function $vt(t,e="utf-8"){let r=Kk.createConnection(t,"127.0.0.1");return[new ja(r,e),new $a(r,e)]}st.createServerSocketTransport=$vt;function Bvt(t){let e=t;return e.read!==void 0&&e.addListener!==void 0}function Wvt(t){let e=t;return e.write!==void 0&&e.addListener!==void 0}function zvt(t,e,r,n){r||(r=Ui.NullLogger);let i=Bvt(t)?new Vk(t):t,s=Wvt(e)?new Gk(e):e;return Ui.ConnectionStrategy.is(n)&&(n={connectionStrategy:n}),Ui.createMessageConnection(i,s,r,n)}st.createMessageConnection=zvt});var e3=m((L5t,zge)=>{"use strict";zge.exports=Vl()});var Hge=m((Uge,Yk)=>{(function(t){if(typeof Yk=="object"&&typeof Yk.exports=="object"){var e=t(require,Uge);e!==void 0&&(Yk.exports=e)}else typeof define=="function"&&define.amd&&define(["require","exports"],t)})(function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TextDocument=e.EOL=e.SelectionRange=e.DocumentLink=e.FormattingOptions=e.CodeLens=e.CodeAction=e.CodeActionContext=e.CodeActionKind=e.DocumentSymbol=e.SymbolInformation=e.SymbolTag=e.SymbolKind=e.DocumentHighlight=e.DocumentHighlightKind=e.SignatureInformation=e.ParameterInformation=e.Hover=e.MarkedString=e.CompletionList=e.CompletionItem=e.InsertTextMode=e.InsertReplaceEdit=e.CompletionItemTag=e.InsertTextFormat=e.CompletionItemKind=e.MarkupContent=e.MarkupKind=e.TextDocumentItem=e.OptionalVersionedTextDocumentIdentifier=e.VersionedTextDocumentIdentifier=e.TextDocumentIdentifier=e.WorkspaceChange=e.WorkspaceEdit=e.DeleteFile=e.RenameFile=e.CreateFile=e.TextDocumentEdit=e.AnnotatedTextEdit=e.ChangeAnnotationIdentifier=e.ChangeAnnotation=e.TextEdit=e.Command=e.Diagnostic=e.CodeDescription=e.DiagnosticTag=e.DiagnosticSeverity=e.DiagnosticRelatedInformation=e.FoldingRange=e.FoldingRangeKind=e.ColorPresentation=e.ColorInformation=e.Color=e.LocationLink=e.Location=e.Range=e.Position=e.uinteger=e.integer=void 0;var r;(function(E){E.MIN_VALUE=-2147483648,E.MAX_VALUE=2147483647})(r=e.integer||(e.integer={}));var n;(function(E){E.MIN_VALUE=0,E.MAX_VALUE=2147483647})(n=e.uinteger||(e.uinteger={}));var i;(function(E){function T(D,k){return D===Number.MAX_VALUE&&(D=n.MAX_VALUE),k===Number.MAX_VALUE&&(k=n.MAX_VALUE),{line:D,character:k}}E.create=T;function W(D){var k=D;return P.objectLiteral(k)&&P.uinteger(k.line)&&P.uinteger(k.character)}E.is=W})(i=e.Position||(e.Position={}));var s;(function(E){function T(D,k,H,Y){if(P.uinteger(D)&&P.uinteger(k)&&P.uinteger(H)&&P.uinteger(Y))return{start:i.create(D,k),end:i.create(H,Y)};if(i.is(D)&&i.is(k))return{start:D,end:k};throw new Error("Range#create called with invalid arguments["+D+", "+k+", "+H+", "+Y+"]")}E.create=T;function W(D){var k=D;return P.objectLiteral(k)&&i.is(k.start)&&i.is(k.end)}E.is=W})(s=e.Range||(e.Range={}));var o;(function(E){function T(D,k){return{uri:D,range:k}}E.create=T;function W(D){var k=D;return P.defined(k)&&s.is(k.range)&&(P.string(k.uri)||P.undefined(k.uri))}E.is=W})(o=e.Location||(e.Location={}));var a;(function(E){function T(D,k,H,Y){return{targetUri:D,targetRange:k,targetSelectionRange:H,originSelectionRange:Y}}E.create=T;function W(D){var k=D;return P.defined(k)&&s.is(k.targetRange)&&P.string(k.targetUri)&&(s.is(k.targetSelectionRange)||P.undefined(k.targetSelectionRange))&&(s.is(k.originSelectionRange)||P.undefined(k.originSelectionRange))}E.is=W})(a=e.LocationLink||(e.LocationLink={}));var u;(function(E){function T(D,k,H,Y){return{red:D,green:k,blue:H,alpha:Y}}E.create=T;function W(D){var k=D;return P.numberRange(k.red,0,1)&&P.numberRange(k.green,0,1)&&P.numberRange(k.blue,0,1)&&P.numberRange(k.alpha,0,1)}E.is=W})(u=e.Color||(e.Color={}));var l;(function(E){function T(D,k){return{range:D,color:k}}E.create=T;function W(D){var k=D;return s.is(k.range)&&u.is(k.color)}E.is=W})(l=e.ColorInformation||(e.ColorInformation={}));var c;(function(E){function T(D,k,H){return{label:D,textEdit:k,additionalTextEdits:H}}E.create=T;function W(D){var k=D;return P.string(k.label)&&(P.undefined(k.textEdit)||w.is(k))&&(P.undefined(k.additionalTextEdits)||P.typedArray(k.additionalTextEdits,w.is))}E.is=W})(c=e.ColorPresentation||(e.ColorPresentation={}));var f;(function(E){E.Comment="comment",E.Imports="imports",E.Region="region"})(f=e.FoldingRangeKind||(e.FoldingRangeKind={}));var d;(function(E){function T(D,k,H,Y,ye){var De={startLine:D,endLine:k};return P.defined(H)&&(De.startCharacter=H),P.defined(Y)&&(De.endCharacter=Y),P.defined(ye)&&(De.kind=ye),De}E.create=T;function W(D){var k=D;return P.uinteger(k.startLine)&&P.uinteger(k.startLine)&&(P.undefined(k.startCharacter)||P.uinteger(k.startCharacter))&&(P.undefined(k.endCharacter)||P.uinteger(k.endCharacter))&&(P.undefined(k.kind)||P.string(k.kind))}E.is=W})(d=e.FoldingRange||(e.FoldingRange={}));var p;(function(E){function T(D,k){return{location:D,message:k}}E.create=T;function W(D){var k=D;return P.defined(k)&&o.is(k.location)&&P.string(k.message)}E.is=W})(p=e.DiagnosticRelatedInformation||(e.DiagnosticRelatedInformation={}));var h;(function(E){E.Error=1,E.Warning=2,E.Information=3,E.Hint=4})(h=e.DiagnosticSeverity||(e.DiagnosticSeverity={}));var y;(function(E){E.Unnecessary=1,E.Deprecated=2})(y=e.DiagnosticTag||(e.DiagnosticTag={}));var v;(function(E){function T(W){var D=W;return D!=null&&P.string(D.href)}E.is=T})(v=e.CodeDescription||(e.CodeDescription={}));var g;(function(E){function T(D,k,H,Y,ye,De){var He={range:D,message:k};return P.defined(H)&&(He.severity=H),P.defined(Y)&&(He.code=Y),P.defined(ye)&&(He.source=ye),P.defined(De)&&(He.relatedInformation=De),He}E.create=T;function W(D){var k,H=D;return P.defined(H)&&s.is(H.range)&&P.string(H.message)&&(P.number(H.severity)||P.undefined(H.severity))&&(P.integer(H.code)||P.string(H.code)||P.undefined(H.code))&&(P.undefined(H.codeDescription)||P.string((k=H.codeDescription)===null||k===void 0?void 0:k.href))&&(P.string(H.source)||P.undefined(H.source))&&(P.undefined(H.relatedInformation)||P.typedArray(H.relatedInformation,p.is))}E.is=W})(g=e.Diagnostic||(e.Diagnostic={}));var b;(function(E){function T(D,k){for(var H=[],Y=2;Y<arguments.length;Y++)H[Y-2]=arguments[Y];var ye={title:D,command:k};return P.defined(H)&&H.length>0&&(ye.arguments=H),ye}E.create=T;function W(D){var k=D;return P.defined(k)&&P.string(k.title)&&P.string(k.command)}E.is=W})(b=e.Command||(e.Command={}));var w;(function(E){function T(H,Y){return{range:H,newText:Y}}E.replace=T;function W(H,Y){return{range:{start:H,end:H},newText:Y}}E.insert=W;function D(H){return{range:H,newText:""}}E.del=D;function k(H){var Y=H;return P.objectLiteral(Y)&&P.string(Y.newText)&&s.is(Y.range)}E.is=k})(w=e.TextEdit||(e.TextEdit={}));var _;(function(E){function T(D,k,H){var Y={label:D};return k!==void 0&&(Y.needsConfirmation=k),H!==void 0&&(Y.description=H),Y}E.create=T;function W(D){var k=D;return k!==void 0&&P.objectLiteral(k)&&P.string(k.label)&&(P.boolean(k.needsConfirmation)||k.needsConfirmation===void 0)&&(P.string(k.description)||k.description===void 0)}E.is=W})(_=e.ChangeAnnotation||(e.ChangeAnnotation={}));var S;(function(E){function T(W){var D=W;return typeof D=="string"}E.is=T})(S=e.ChangeAnnotationIdentifier||(e.ChangeAnnotationIdentifier={}));var q;(function(E){function T(H,Y,ye){return{range:H,newText:Y,annotationId:ye}}E.replace=T;function W(H,Y,ye){return{range:{start:H,end:H},newText:Y,annotationId:ye}}E.insert=W;function D(H,Y){return{range:H,newText:"",annotationId:Y}}E.del=D;function k(H){var Y=H;return w.is(Y)&&(_.is(Y.annotationId)||S.is(Y.annotationId))}E.is=k})(q=e.AnnotatedTextEdit||(e.AnnotatedTextEdit={}));var C;(function(E){function T(D,k){return{textDocument:D,edits:k}}E.create=T;function W(D){var k=D;return P.defined(k)&&oe.is(k.textDocument)&&Array.isArray(k.edits)}E.is=W})(C=e.TextDocumentEdit||(e.TextDocumentEdit={}));var R;(function(E){function T(D,k,H){var Y={kind:"create",uri:D};return k!==void 0&&(k.overwrite!==void 0||k.ignoreIfExists!==void 0)&&(Y.options=k),H!==void 0&&(Y.annotationId=H),Y}E.create=T;function W(D){var k=D;return k&&k.kind==="create"&&P.string(k.uri)&&(k.options===void 0||(k.options.overwrite===void 0||P.boolean(k.options.overwrite))&&(k.options.ignoreIfExists===void 0||P.boolean(k.options.ignoreIfExists)))&&(k.annotationId===void 0||S.is(k.annotationId))}E.is=W})(R=e.CreateFile||(e.CreateFile={}));var O;(function(E){function T(D,k,H,Y){var ye={kind:"rename",oldUri:D,newUri:k};return H!==void 0&&(H.overwrite!==void 0||H.ignoreIfExists!==void 0)&&(ye.options=H),Y!==void 0&&(ye.annotationId=Y),ye}E.create=T;function W(D){var k=D;return k&&k.kind==="rename"&&P.string(k.oldUri)&&P.string(k.newUri)&&(k.options===void 0||(k.options.overwrite===void 0||P.boolean(k.options.overwrite))&&(k.options.ignoreIfExists===void 0||P.boolean(k.options.ignoreIfExists)))&&(k.annotationId===void 0||S.is(k.annotationId))}E.is=W})(O=e.RenameFile||(e.RenameFile={}));var z;(function(E){function T(D,k,H){var Y={kind:"delete",uri:D};return k!==void 0&&(k.recursive!==void 0||k.ignoreIfNotExists!==void 0)&&(Y.options=k),H!==void 0&&(Y.annotationId=H),Y}E.create=T;function W(D){var k=D;return k&&k.kind==="delete"&&P.string(k.uri)&&(k.options===void 0||(k.options.recursive===void 0||P.boolean(k.options.recursive))&&(k.options.ignoreIfNotExists===void 0||P.boolean(k.options.ignoreIfNotExists)))&&(k.annotationId===void 0||S.is(k.annotationId))}E.is=W})(z=e.DeleteFile||(e.DeleteFile={}));var F;(function(E){function T(W){var D=W;return D&&(D.changes!==void 0||D.documentChanges!==void 0)&&(D.documentChanges===void 0||D.documentChanges.every(function(k){return P.string(k.kind)?R.is(k)||O.is(k)||z.is(k):C.is(k)}))}E.is=T})(F=e.WorkspaceEdit||(e.WorkspaceEdit={}));var ee=function(){function E(T,W){this.edits=T,this.changeAnnotations=W}return E.prototype.insert=function(T,W,D){var k,H;if(D===void 0?k=w.insert(T,W):S.is(D)?(H=D,k=q.insert(T,W,D)):(this.assertChangeAnnotations(this.changeAnnotations),H=this.changeAnnotations.manage(D),k=q.insert(T,W,H)),this.edits.push(k),H!==void 0)return H},E.prototype.replace=function(T,W,D){var k,H;if(D===void 0?k=w.replace(T,W):S.is(D)?(H=D,k=q.replace(T,W,D)):(this.assertChangeAnnotations(this.changeAnnotations),H=this.changeAnnotations.manage(D),k=q.replace(T,W,H)),this.edits.push(k),H!==void 0)return H},E.prototype.delete=function(T,W){var D,k;if(W===void 0?D=w.del(T):S.is(W)?(k=W,D=q.del(T,W)):(this.assertChangeAnnotations(this.changeAnnotations),k=this.changeAnnotations.manage(W),D=q.del(T,k)),this.edits.push(D),k!==void 0)return k},E.prototype.add=function(T){this.edits.push(T)},E.prototype.all=function(){return this.edits},E.prototype.clear=function(){this.edits.splice(0,this.edits.length)},E.prototype.assertChangeAnnotations=function(T){if(T===void 0)throw new Error("Text edit change is not configured to manage change annotations.")},E}(),G=function(){function E(T){this._annotations=T===void 0?Object.create(null):T,this._counter=0,this._size=0}return E.prototype.all=function(){return this._annotations},Object.defineProperty(E.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),E.prototype.manage=function(T,W){var D;if(S.is(T)?D=T:(D=this.nextId(),W=T),this._annotations[D]!==void 0)throw new Error("Id "+D+" is already in use.");if(W===void 0)throw new Error("No annotation provided for id "+D);return this._annotations[D]=W,this._size++,D},E.prototype.nextId=function(){return this._counter++,this._counter.toString()},E}(),ae=function(){function E(T){var W=this;this._textEditChanges=Object.create(null),T!==void 0?(this._workspaceEdit=T,T.documentChanges?(this._changeAnnotations=new G(T.changeAnnotations),T.changeAnnotations=this._changeAnnotations.all(),T.documentChanges.forEach(function(D){if(C.is(D)){var k=new ee(D.edits,W._changeAnnotations);W._textEditChanges[D.textDocument.uri]=k}})):T.changes&&Object.keys(T.changes).forEach(function(D){var k=new ee(T.changes[D]);W._textEditChanges[D]=k})):this._workspaceEdit={}}return Object.defineProperty(E.prototype,"edit",{get:function(){return this.initDocumentChanges(),this._changeAnnotations!==void 0&&(this._changeAnnotations.size===0?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),E.prototype.getTextEditChange=function(T){if(oe.is(T)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var W={uri:T.uri,version:T.version},D=this._textEditChanges[W.uri];if(!D){var k=[],H={textDocument:W,edits:k};this._workspaceEdit.documentChanges.push(H),D=new ee(k,this._changeAnnotations),this._textEditChanges[W.uri]=D}return D}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error("Workspace edit is not configured for normal text edit changes.");var D=this._textEditChanges[T];if(!D){var k=[];this._workspaceEdit.changes[T]=k,D=new ee(k),this._textEditChanges[T]=D}return D}},E.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new G,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},E.prototype.initChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._workspaceEdit.changes=Object.create(null))},E.prototype.createFile=function(T,W,D){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var k;_.is(W)||S.is(W)?k=W:D=W;var H,Y;if(k===void 0?H=R.create(T,D):(Y=S.is(k)?k:this._changeAnnotations.manage(k),H=R.create(T,D,Y)),this._workspaceEdit.documentChanges.push(H),Y!==void 0)return Y},E.prototype.renameFile=function(T,W,D,k){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var H;_.is(D)||S.is(D)?H=D:k=D;var Y,ye;if(H===void 0?Y=O.create(T,W,k):(ye=S.is(H)?H:this._changeAnnotations.manage(H),Y=O.create(T,W,k,ye)),this._workspaceEdit.documentChanges.push(Y),ye!==void 0)return ye},E.prototype.deleteFile=function(T,W,D){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var k;_.is(W)||S.is(W)?k=W:D=W;var H,Y;if(k===void 0?H=z.create(T,D):(Y=S.is(k)?k:this._changeAnnotations.manage(k),H=z.create(T,D,Y)),this._workspaceEdit.documentChanges.push(H),Y!==void 0)return Y},E}();e.WorkspaceChange=ae;var L;(function(E){function T(D){return{uri:D}}E.create=T;function W(D){var k=D;return P.defined(k)&&P.string(k.uri)}E.is=W})(L=e.TextDocumentIdentifier||(e.TextDocumentIdentifier={}));var M;(function(E){function T(D,k){return{uri:D,version:k}}E.create=T;function W(D){var k=D;return P.defined(k)&&P.string(k.uri)&&P.integer(k.version)}E.is=W})(M=e.VersionedTextDocumentIdentifier||(e.VersionedTextDocumentIdentifier={}));var oe;(function(E){function T(D,k){return{uri:D,version:k}}E.create=T;function W(D){var k=D;return P.defined(k)&&P.string(k.uri)&&(k.version===null||P.integer(k.version))}E.is=W})(oe=e.OptionalVersionedTextDocumentIdentifier||(e.OptionalVersionedTextDocumentIdentifier={}));var re;(function(E){function T(D,k,H,Y){return{uri:D,languageId:k,version:H,text:Y}}E.create=T;function W(D){var k=D;return P.defined(k)&&P.string(k.uri)&&P.string(k.languageId)&&P.integer(k.version)&&P.string(k.text)}E.is=W})(re=e.TextDocumentItem||(e.TextDocumentItem={}));var fe;(function(E){E.PlainText="plaintext",E.Markdown="markdown"})(fe=e.MarkupKind||(e.MarkupKind={})),function(E){function T(W){var D=W;return D===E.PlainText||D===E.Markdown}E.is=T}(fe=e.MarkupKind||(e.MarkupKind={}));var ue;(function(E){function T(W){var D=W;return P.objectLiteral(W)&&fe.is(D.kind)&&P.string(D.value)}E.is=T})(ue=e.MarkupContent||(e.MarkupContent={}));var ie;(function(E){E.Text=1,E.Method=2,E.Function=3,E.Constructor=4,E.Field=5,E.Variable=6,E.Class=7,E.Interface=8,E.Module=9,E.Property=10,E.Unit=11,E.Value=12,E.Enum=13,E.Keyword=14,E.Snippet=15,E.Color=16,E.File=17,E.Reference=18,E.Folder=19,E.EnumMember=20,E.Constant=21,E.Struct=22,E.Event=23,E.Operator=24,E.TypeParameter=25})(ie=e.CompletionItemKind||(e.CompletionItemKind={}));var pe;(function(E){E.PlainText=1,E.Snippet=2})(pe=e.InsertTextFormat||(e.InsertTextFormat={}));var ve;(function(E){E.Deprecated=1})(ve=e.CompletionItemTag||(e.CompletionItemTag={}));var Ce;(function(E){function T(D,k,H){return{newText:D,insert:k,replace:H}}E.create=T;function W(D){var k=D;return k&&P.string(k.newText)&&s.is(k.insert)&&s.is(k.replace)}E.is=W})(Ce=e.InsertReplaceEdit||(e.InsertReplaceEdit={}));var Qe;(function(E){E.asIs=1,E.adjustIndentation=2})(Qe=e.InsertTextMode||(e.InsertTextMode={}));var be;(function(E){function T(W){return{label:W}}E.create=T})(be=e.CompletionItem||(e.CompletionItem={}));var Ct;(function(E){function T(W,D){return{items:W||[],isIncomplete:!!D}}E.create=T})(Ct=e.CompletionList||(e.CompletionList={}));var dt;(function(E){function T(D){return D.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}E.fromPlainText=T;function W(D){var k=D;return P.string(k)||P.objectLiteral(k)&&P.string(k.language)&&P.string(k.value)}E.is=W})(dt=e.MarkedString||(e.MarkedString={}));var de;(function(E){function T(W){var D=W;return!!D&&P.objectLiteral(D)&&(ue.is(D.contents)||dt.is(D.contents)||P.typedArray(D.contents,dt.is))&&(W.range===void 0||s.is(W.range))}E.is=T})(de=e.Hover||(e.Hover={}));var le;(function(E){function T(W,D){return D?{label:W,documentation:D}:{label:W}}E.create=T})(le=e.ParameterInformation||(e.ParameterInformation={}));var ne;(function(E){function T(W,D){for(var k=[],H=2;H<arguments.length;H++)k[H-2]=arguments[H];var Y={label:W};return P.defined(D)&&(Y.documentation=D),P.defined(k)?Y.parameters=k:Y.parameters=[],Y}E.create=T})(ne=e.SignatureInformation||(e.SignatureInformation={}));var Le;(function(E){E.Text=1,E.Read=2,E.Write=3})(Le=e.DocumentHighlightKind||(e.DocumentHighlightKind={}));var ot;(function(E){function T(W,D){var k={range:W};return P.number(D)&&(k.kind=D),k}E.create=T})(ot=e.DocumentHighlight||(e.DocumentHighlight={}));var zt;(function(E){E.File=1,E.Module=2,E.Namespace=3,E.Package=4,E.Class=5,E.Method=6,E.Property=7,E.Field=8,E.Constructor=9,E.Enum=10,E.Interface=11,E.Function=12,E.Variable=13,E.Constant=14,E.String=15,E.Number=16,E.Boolean=17,E.Array=18,E.Object=19,E.Key=20,E.Null=21,E.EnumMember=22,E.Struct=23,E.Event=24,E.Operator=25,E.TypeParameter=26})(zt=e.SymbolKind||(e.SymbolKind={}));var $t;(function(E){E.Deprecated=1})($t=e.SymbolTag||(e.SymbolTag={}));var qn;(function(E){function T(W,D,k,H,Y){var ye={name:W,kind:D,location:{uri:H,range:k}};return Y&&(ye.containerName=Y),ye}E.create=T})(qn=e.SymbolInformation||(e.SymbolInformation={}));var Rn;(function(E){function T(D,k,H,Y,ye,De){var He={name:D,detail:k,kind:H,range:Y,selectionRange:ye};return De!==void 0&&(He.children=De),He}E.create=T;function W(D){var k=D;return k&&P.string(k.name)&&P.number(k.kind)&&s.is(k.range)&&s.is(k.selectionRange)&&(k.detail===void 0||P.string(k.detail))&&(k.deprecated===void 0||P.boolean(k.deprecated))&&(k.children===void 0||Array.isArray(k.children))&&(k.tags===void 0||Array.isArray(k.tags))}E.is=W})(Rn=e.DocumentSymbol||(e.DocumentSymbol={}));var jE;(function(E){E.Empty="",E.QuickFix="quickfix",E.Refactor="refactor",E.RefactorExtract="refactor.extract",E.RefactorInline="refactor.inline",E.RefactorRewrite="refactor.rewrite",E.Source="source",E.SourceOrganizeImports="source.organizeImports",E.SourceFixAll="source.fixAll"})(jE=e.CodeActionKind||(e.CodeActionKind={}));var $E;(function(E){function T(D,k){var H={diagnostics:D};return k!=null&&(H.only=k),H}E.create=T;function W(D){var k=D;return P.defined(k)&&P.typedArray(k.diagnostics,g.is)&&(k.only===void 0||P.typedArray(k.only,P.string))}E.is=W})($E=e.CodeActionContext||(e.CodeActionContext={}));var Eo;(function(E){function T(D,k,H){var Y={title:D},ye=!0;return typeof k=="string"?(ye=!1,Y.kind=k):b.is(k)?Y.command=k:Y.edit=k,ye&&H!==void 0&&(Y.kind=H),Y}E.create=T;function W(D){var k=D;return k&&P.string(k.title)&&(k.diagnostics===void 0||P.typedArray(k.diagnostics,g.is))&&(k.kind===void 0||P.string(k.kind))&&(k.edit!==void 0||k.command!==void 0)&&(k.command===void 0||b.is(k.command))&&(k.isPreferred===void 0||P.boolean(k.isPreferred))&&(k.edit===void 0||F.is(k.edit))}E.is=W})(Eo=e.CodeAction||(e.CodeAction={}));var oh;(function(E){function T(D,k){var H={range:D};return P.defined(k)&&(H.data=k),H}E.create=T;function W(D){var k=D;return P.defined(k)&&s.is(k.range)&&(P.undefined(k.command)||b.is(k.command))}E.is=W})(oh=e.CodeLens||(e.CodeLens={}));var ah;(function(E){function T(D,k){return{tabSize:D,insertSpaces:k}}E.create=T;function W(D){var k=D;return P.defined(k)&&P.uinteger(k.tabSize)&&P.boolean(k.insertSpaces)}E.is=W})(ah=e.FormattingOptions||(e.FormattingOptions={}));var ec;(function(E){function T(D,k,H){return{range:D,target:k,data:H}}E.create=T;function W(D){var k=D;return P.defined(k)&&s.is(k.range)&&(P.undefined(k.target)||P.string(k.target))}E.is=W})(ec=e.DocumentLink||(e.DocumentLink={}));var uh;(function(E){function T(D,k){return{range:D,parent:k}}E.create=T;function W(D){var k=D;return k!==void 0&&s.is(k.range)&&(k.parent===void 0||E.is(k.parent))}E.is=W})(uh=e.SelectionRange||(e.SelectionRange={})),e.EOL=[`
|
|
422
|
+
`)),P){let T=I.error?` Request failed: ${I.error.message} (${I.error.code}).`:"";_.log(`Received response '${P.method} - (${I.id})' in ${Date.now()-P.timerStart}ms.${T}`,E)}else _.log(`Received response ${I.id} without active response promise.`,E)}else qn("receive-response",I)}function qn(I,P){if(!_||b===Zt.Off)return;let E={isLSPMessage:!0,type:I,message:P,timestamp:Date.now()};_.log(E)}function Rn(){if(re())throw new po(Uk.Closed,"Connection is closed.");if(fe())throw new po(Uk.Disposed,"Connection is disposed.")}function jE(){if(oe())throw new po(Uk.AlreadyListening,"Connection is already listening")}function $E(){if(!oe())throw new Error("Call listen() first.")}function Eo(I){return I===void 0?null:I}function oh(I){if(I!==null)return I}function ah(I){return I!=null&&!Array.isArray(I)&&typeof I=="object"}function ec(I,P){switch(I){case Ie.ParameterStructures.auto:return ah(P)?oh(P):[Eo(P)];case Ie.ParameterStructures.byName:if(!ah(P))throw new Error("Recevied parameters by name but param is not an object literal.");return oh(P);case Ie.ParameterStructures.byPosition:return[Eo(P)];default:throw new Error(`Unknown parameter structure ${I.toString()}`)}}function uh(I,P){let E,T=I.numberOfParams;switch(T){case 0:E=void 0;break;case 1:E=ec(I.parameterStructures,P[0]);break;default:E=[];for(let W=0;W<P.length&&W<T;W++)E.push(Eo(P[W]));if(P.length<T)for(let W=P.length;W<T;W++)E.push(null);break}return E}let Cs={sendNotification:(I,...P)=>{Rn();let E,T;if(gr.string(I)){E=I;let D=P[0],k=0,H=Ie.ParameterStructures.auto;Ie.ParameterStructures.is(D)&&(k=1,H=D);let Y=P.length,ye=Y-k;switch(ye){case 0:T=void 0;break;case 1:T=ec(H,P[k]);break;default:if(H===Ie.ParameterStructures.byName)throw new Error(`Recevied ${ye} parameters for 'by Name' notification parameter structure.`);T=P.slice(k,Y).map(De=>Eo(De));break}}else{let D=P;E=I.method,T=uh(I,D)}let W={jsonrpc:u,method:E,params:T};ne(W),e.write(W)},onNotification:(I,P)=>{Rn();let E;return gr.func(I)?f=I:P&&(gr.string(I)?(E=I,d[I]={type:void 0,handler:P}):(E=I.method,d[I.method]={type:I,handler:P})),{dispose:()=>{E!==void 0?delete d[E]:f=void 0}}},onProgress:(I,P,E)=>{if(p.has(P))throw new Error(`Progress handler for token ${P} already registered`);return p.set(P,E),{dispose:()=>{p.delete(P)}}},sendProgress:(I,P,E)=>{Cs.sendNotification(Hk.type,{token:P,value:E})},onUnhandledProgress:O.event,sendRequest:(I,...P)=>{Rn(),$E();let E,T,W;if(gr.string(I)){E=I;let Y=P[0],ye=P[P.length-1],De=0,He=Ie.ParameterStructures.auto;Ie.ParameterStructures.is(Y)&&(De=1,He=Y);let bt=P.length;WI.CancellationToken.is(ye)&&(bt=bt-1,W=ye);let tr=bt-De;switch(tr){case 0:T=void 0;break;case 1:T=ec(He,P[De]);break;default:if(He===Ie.ParameterStructures.byName)throw new Error(`Recevied ${tr} parameters for 'by Name' request parameter structure.`);T=P.slice(De,bt).map(sr=>Eo(sr));break}}else{let Y=P;E=I.method,T=uh(I,Y);let ye=I.numberOfParams;W=WI.CancellationToken.is(Y[ye])?Y[ye]:void 0}let D=s++,k;return W&&(k=W.onCancellationRequested(()=>{F.sender.sendCancellation(Cs,D)})),new Promise((Y,ye)=>{let De={jsonrpc:u,id:D,method:E,params:T},He=sr=>{Y(sr),F.sender.cleanup(D),k?.dispose()},bt=sr=>{ye(sr),F.sender.cleanup(D),k?.dispose()},tr={method:E,timerStart:Date.now(),resolve:He,reject:bt};le(De);try{e.write(De)}catch(sr){tr.reject(new Ie.ResponseError(Ie.ErrorCodes.MessageWriteError,sr.message?sr.message:"Unknown reason")),tr=null}tr&&(v[String(D)]=tr)})},onRequest:(I,P)=>{Rn();let E=null;return UI.is(I)?(E=void 0,l=I):gr.string(I)?(E=null,P!==void 0&&(E=I,c[I]={handler:P,type:void 0})):P!==void 0&&(E=I.method,c[I.method]={type:I,handler:P}),{dispose:()=>{E!==null&&(E!==void 0?delete c[E]:l=void 0)}}},trace:(I,P,E)=>{let T=!1,W=fi.Text;E!==void 0&&(gr.boolean(E)?T=E:(T=E.sendNotification||!1,W=E.traceFormat||fi.Text)),b=I,w=W,b===Zt.Off?_=void 0:_=P,T&&!re()&&!fe()&&Cs.sendNotification(Fge.type,{value:Zt.toString(I)})},onError:q.event,onClose:C.event,onUnhandledNotification:R.event,onDispose:z.event,end:()=>{e.end()},dispose:()=>{if(fe())return;S=di.Disposed,z.fire(void 0);let I=new Error("Connection got disposed.");Object.keys(v).forEach(P=>{v[P].reject(I)}),v=Object.create(null),g=Object.create(null),y=new Lge.LinkedMap,gr.func(e.dispose)&&e.dispose(),gr.func(t.dispose)&&t.dispose()},listen:()=>{Rn(),jE(),S=di.Listening,t.listen(Qe)},inspect:()=>{Mge.default().console.log("inspect")}};return Cs.onNotification(HI.type,I=>{b===Zt.Off||!_||_.log(I.message,b===Zt.Verbose?I.verbose:void 0)}),Cs.onNotification(Hk.type,I=>{let P=p.get(I.token);P?P(I.value):O.fire(I)}),Cs}Be.createMessageConnection=Ovt});var JI=m(se=>{"use strict";Object.defineProperty(se,"__esModule",{value:!0});se.CancellationSenderStrategy=se.CancellationReceiverStrategy=se.ConnectionError=se.ConnectionErrors=se.LogTraceNotification=se.SetTraceNotification=se.TraceFormat=se.Trace=se.ProgressType=se.createMessageConnection=se.NullLogger=se.ConnectionOptions=se.ConnectionStrategy=se.WriteableStreamMessageWriter=se.AbstractMessageWriter=se.MessageWriter=se.ReadableStreamMessageReader=se.AbstractMessageReader=se.MessageReader=se.CancellationToken=se.CancellationTokenSource=se.Emitter=se.Event=se.Disposable=se.ParameterStructures=se.NotificationType9=se.NotificationType8=se.NotificationType7=se.NotificationType6=se.NotificationType5=se.NotificationType4=se.NotificationType3=se.NotificationType2=se.NotificationType1=se.NotificationType0=se.NotificationType=se.ErrorCodes=se.ResponseError=se.RequestType9=se.RequestType8=se.RequestType7=se.RequestType6=se.RequestType5=se.RequestType4=se.RequestType3=se.RequestType2=se.RequestType1=se.RequestType0=se.RequestType=se.RAL=void 0;se.CancellationStrategy=void 0;var Et=qI();Object.defineProperty(se,"RequestType",{enumerable:!0,get:function(){return Et.RequestType}});Object.defineProperty(se,"RequestType0",{enumerable:!0,get:function(){return Et.RequestType0}});Object.defineProperty(se,"RequestType1",{enumerable:!0,get:function(){return Et.RequestType1}});Object.defineProperty(se,"RequestType2",{enumerable:!0,get:function(){return Et.RequestType2}});Object.defineProperty(se,"RequestType3",{enumerable:!0,get:function(){return Et.RequestType3}});Object.defineProperty(se,"RequestType4",{enumerable:!0,get:function(){return Et.RequestType4}});Object.defineProperty(se,"RequestType5",{enumerable:!0,get:function(){return Et.RequestType5}});Object.defineProperty(se,"RequestType6",{enumerable:!0,get:function(){return Et.RequestType6}});Object.defineProperty(se,"RequestType7",{enumerable:!0,get:function(){return Et.RequestType7}});Object.defineProperty(se,"RequestType8",{enumerable:!0,get:function(){return Et.RequestType8}});Object.defineProperty(se,"RequestType9",{enumerable:!0,get:function(){return Et.RequestType9}});Object.defineProperty(se,"ResponseError",{enumerable:!0,get:function(){return Et.ResponseError}});Object.defineProperty(se,"ErrorCodes",{enumerable:!0,get:function(){return Et.ErrorCodes}});Object.defineProperty(se,"NotificationType",{enumerable:!0,get:function(){return Et.NotificationType}});Object.defineProperty(se,"NotificationType0",{enumerable:!0,get:function(){return Et.NotificationType0}});Object.defineProperty(se,"NotificationType1",{enumerable:!0,get:function(){return Et.NotificationType1}});Object.defineProperty(se,"NotificationType2",{enumerable:!0,get:function(){return Et.NotificationType2}});Object.defineProperty(se,"NotificationType3",{enumerable:!0,get:function(){return Et.NotificationType3}});Object.defineProperty(se,"NotificationType4",{enumerable:!0,get:function(){return Et.NotificationType4}});Object.defineProperty(se,"NotificationType5",{enumerable:!0,get:function(){return Et.NotificationType5}});Object.defineProperty(se,"NotificationType6",{enumerable:!0,get:function(){return Et.NotificationType6}});Object.defineProperty(se,"NotificationType7",{enumerable:!0,get:function(){return Et.NotificationType7}});Object.defineProperty(se,"NotificationType8",{enumerable:!0,get:function(){return Et.NotificationType8}});Object.defineProperty(se,"NotificationType9",{enumerable:!0,get:function(){return Et.NotificationType9}});Object.defineProperty(se,"ParameterStructures",{enumerable:!0,get:function(){return Et.ParameterStructures}});var qvt=tI();Object.defineProperty(se,"Disposable",{enumerable:!0,get:function(){return qvt.Disposable}});var jge=zl();Object.defineProperty(se,"Event",{enumerable:!0,get:function(){return jge.Event}});Object.defineProperty(se,"Emitter",{enumerable:!0,get:function(){return jge.Emitter}});var $ge=MI();Object.defineProperty(se,"CancellationTokenSource",{enumerable:!0,get:function(){return $ge.CancellationTokenSource}});Object.defineProperty(se,"CancellationToken",{enumerable:!0,get:function(){return $ge.CancellationToken}});var YI=Dge();Object.defineProperty(se,"MessageReader",{enumerable:!0,get:function(){return YI.MessageReader}});Object.defineProperty(se,"AbstractMessageReader",{enumerable:!0,get:function(){return YI.AbstractMessageReader}});Object.defineProperty(se,"ReadableStreamMessageReader",{enumerable:!0,get:function(){return YI.ReadableStreamMessageReader}});var QI=Pge();Object.defineProperty(se,"MessageWriter",{enumerable:!0,get:function(){return QI.MessageWriter}});Object.defineProperty(se,"AbstractMessageWriter",{enumerable:!0,get:function(){return QI.AbstractMessageWriter}});Object.defineProperty(se,"WriteableStreamMessageWriter",{enumerable:!0,get:function(){return QI.WriteableStreamMessageWriter}});var sn=Nge();Object.defineProperty(se,"ConnectionStrategy",{enumerable:!0,get:function(){return sn.ConnectionStrategy}});Object.defineProperty(se,"ConnectionOptions",{enumerable:!0,get:function(){return sn.ConnectionOptions}});Object.defineProperty(se,"NullLogger",{enumerable:!0,get:function(){return sn.NullLogger}});Object.defineProperty(se,"createMessageConnection",{enumerable:!0,get:function(){return sn.createMessageConnection}});Object.defineProperty(se,"ProgressType",{enumerable:!0,get:function(){return sn.ProgressType}});Object.defineProperty(se,"Trace",{enumerable:!0,get:function(){return sn.Trace}});Object.defineProperty(se,"TraceFormat",{enumerable:!0,get:function(){return sn.TraceFormat}});Object.defineProperty(se,"SetTraceNotification",{enumerable:!0,get:function(){return sn.SetTraceNotification}});Object.defineProperty(se,"LogTraceNotification",{enumerable:!0,get:function(){return sn.LogTraceNotification}});Object.defineProperty(se,"ConnectionErrors",{enumerable:!0,get:function(){return sn.ConnectionErrors}});Object.defineProperty(se,"ConnectionError",{enumerable:!0,get:function(){return sn.ConnectionError}});Object.defineProperty(se,"CancellationReceiverStrategy",{enumerable:!0,get:function(){return sn.CancellationReceiverStrategy}});Object.defineProperty(se,"CancellationSenderStrategy",{enumerable:!0,get:function(){return sn.CancellationSenderStrategy}});Object.defineProperty(se,"CancellationStrategy",{enumerable:!0,get:function(){return sn.CancellationStrategy}});var Rvt=vs();se.RAL=Rvt.default});var Vl=m(st=>{"use strict";var Avt=st&&st.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Pvt=st&&st.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Avt(e,t,r)};Object.defineProperty(st,"__esModule",{value:!0});st.createMessageConnection=st.createServerSocketTransport=st.createClientSocketTransport=st.createServerPipeTransport=st.createClientPipeTransport=st.generateRandomPipeName=st.StreamMessageWriter=st.StreamMessageReader=st.SocketMessageWriter=st.SocketMessageReader=st.IPCMessageWriter=st.IPCMessageReader=void 0;var Hl=xge();Hl.default.install();var Ui=JI(),Bge=require("path"),Tvt=require("os"),Mvt=require("crypto"),Kk=require("net");Pvt(JI(),st);var XI=class extends Ui.AbstractMessageReader{constructor(e){super(),this.process=e;let r=this.process;r.on("error",n=>this.fireError(n)),r.on("close",()=>this.fireClose())}listen(e){return this.process.on("message",e),Ui.Disposable.create(()=>this.process.off("message",e))}};st.IPCMessageReader=XI;var ZI=class extends Ui.AbstractMessageWriter{constructor(e){super(),this.process=e,this.errorCount=0;let r=this.process;r.on("error",n=>this.fireError(n)),r.on("close",()=>this.fireClose)}write(e){try{return typeof this.process.send=="function"&&this.process.send(e,void 0,void 0,r=>{r?(this.errorCount++,this.handleError(r,e)):this.errorCount=0}),Promise.resolve()}catch(r){return this.handleError(r,e),Promise.reject(r)}}handleError(e,r){this.errorCount++,this.fireError(e,r,this.errorCount)}end(){}};st.IPCMessageWriter=ZI;var ja=class extends Ui.ReadableStreamMessageReader{constructor(e,r="utf-8"){super(Hl.default().stream.asReadableStream(e),r)}};st.SocketMessageReader=ja;var $a=class extends Ui.WriteableStreamMessageWriter{constructor(e,r){super(Hl.default().stream.asWritableStream(e),r),this.socket=e}dispose(){super.dispose(),this.socket.destroy()}};st.SocketMessageWriter=$a;var Vk=class extends Ui.ReadableStreamMessageReader{constructor(e,r){super(Hl.default().stream.asReadableStream(e),r)}};st.StreamMessageReader=Vk;var Gk=class extends Ui.WriteableStreamMessageWriter{constructor(e,r){super(Hl.default().stream.asWritableStream(e),r)}};st.StreamMessageWriter=Gk;var Wge=process.env.XDG_RUNTIME_DIR,Lvt=new Map([["linux",107],["darwin",103]]);function Fvt(){let t=Mvt.randomBytes(21).toString("hex");if(process.platform==="win32")return`\\\\.\\pipe\\vscode-jsonrpc-${t}-sock`;let e;Wge?e=Bge.join(Wge,`vscode-ipc-${t}.sock`):e=Bge.join(Tvt.tmpdir(),`vscode-${t}.sock`);let r=Lvt.get(process.platform);return r!==void 0&&e.length>=r&&Hl.default().console.warn(`WARNING: IPC handle "${e}" is longer than ${r} characters.`),e}st.generateRandomPipeName=Fvt;function Ivt(t,e="utf-8"){let r,n=new Promise((i,s)=>{r=i});return new Promise((i,s)=>{let o=Kk.createServer(a=>{o.close(),r([new ja(a,e),new $a(a,e)])});o.on("error",s),o.listen(t,()=>{o.removeListener("error",s),i({onConnected:()=>n})})})}st.createClientPipeTransport=Ivt;function Nvt(t,e="utf-8"){let r=Kk.createConnection(t);return[new ja(r,e),new $a(r,e)]}st.createServerPipeTransport=Nvt;function jvt(t,e="utf-8"){let r,n=new Promise((i,s)=>{r=i});return new Promise((i,s)=>{let o=Kk.createServer(a=>{o.close(),r([new ja(a,e),new $a(a,e)])});o.on("error",s),o.listen(t,"127.0.0.1",()=>{o.removeListener("error",s),i({onConnected:()=>n})})})}st.createClientSocketTransport=jvt;function $vt(t,e="utf-8"){let r=Kk.createConnection(t,"127.0.0.1");return[new ja(r,e),new $a(r,e)]}st.createServerSocketTransport=$vt;function Bvt(t){let e=t;return e.read!==void 0&&e.addListener!==void 0}function Wvt(t){let e=t;return e.write!==void 0&&e.addListener!==void 0}function zvt(t,e,r,n){r||(r=Ui.NullLogger);let i=Bvt(t)?new Vk(t):t,s=Wvt(e)?new Gk(e):e;return Ui.ConnectionStrategy.is(n)&&(n={connectionStrategy:n}),Ui.createMessageConnection(i,s,r,n)}st.createMessageConnection=zvt});var e3=m((L5t,zge)=>{"use strict";zge.exports=Vl()});var Hge=m((Uge,Yk)=>{(function(t){if(typeof Yk=="object"&&typeof Yk.exports=="object"){var e=t(require,Uge);e!==void 0&&(Yk.exports=e)}else typeof define=="function"&&define.amd&&define(["require","exports"],t)})(function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TextDocument=e.EOL=e.SelectionRange=e.DocumentLink=e.FormattingOptions=e.CodeLens=e.CodeAction=e.CodeActionContext=e.CodeActionKind=e.DocumentSymbol=e.SymbolInformation=e.SymbolTag=e.SymbolKind=e.DocumentHighlight=e.DocumentHighlightKind=e.SignatureInformation=e.ParameterInformation=e.Hover=e.MarkedString=e.CompletionList=e.CompletionItem=e.InsertTextMode=e.InsertReplaceEdit=e.CompletionItemTag=e.InsertTextFormat=e.CompletionItemKind=e.MarkupContent=e.MarkupKind=e.TextDocumentItem=e.OptionalVersionedTextDocumentIdentifier=e.VersionedTextDocumentIdentifier=e.TextDocumentIdentifier=e.WorkspaceChange=e.WorkspaceEdit=e.DeleteFile=e.RenameFile=e.CreateFile=e.TextDocumentEdit=e.AnnotatedTextEdit=e.ChangeAnnotationIdentifier=e.ChangeAnnotation=e.TextEdit=e.Command=e.Diagnostic=e.CodeDescription=e.DiagnosticTag=e.DiagnosticSeverity=e.DiagnosticRelatedInformation=e.FoldingRange=e.FoldingRangeKind=e.ColorPresentation=e.ColorInformation=e.Color=e.LocationLink=e.Location=e.Range=e.Position=e.uinteger=e.integer=void 0;var r;(function(E){E.MIN_VALUE=-2147483648,E.MAX_VALUE=2147483647})(r=e.integer||(e.integer={}));var n;(function(E){E.MIN_VALUE=0,E.MAX_VALUE=2147483647})(n=e.uinteger||(e.uinteger={}));var i;(function(E){function T(D,k){return D===Number.MAX_VALUE&&(D=n.MAX_VALUE),k===Number.MAX_VALUE&&(k=n.MAX_VALUE),{line:D,character:k}}E.create=T;function W(D){var k=D;return P.objectLiteral(k)&&P.uinteger(k.line)&&P.uinteger(k.character)}E.is=W})(i=e.Position||(e.Position={}));var s;(function(E){function T(D,k,H,Y){if(P.uinteger(D)&&P.uinteger(k)&&P.uinteger(H)&&P.uinteger(Y))return{start:i.create(D,k),end:i.create(H,Y)};if(i.is(D)&&i.is(k))return{start:D,end:k};throw new Error("Range#create called with invalid arguments["+D+", "+k+", "+H+", "+Y+"]")}E.create=T;function W(D){var k=D;return P.objectLiteral(k)&&i.is(k.start)&&i.is(k.end)}E.is=W})(s=e.Range||(e.Range={}));var o;(function(E){function T(D,k){return{uri:D,range:k}}E.create=T;function W(D){var k=D;return P.defined(k)&&s.is(k.range)&&(P.string(k.uri)||P.undefined(k.uri))}E.is=W})(o=e.Location||(e.Location={}));var a;(function(E){function T(D,k,H,Y){return{targetUri:D,targetRange:k,targetSelectionRange:H,originSelectionRange:Y}}E.create=T;function W(D){var k=D;return P.defined(k)&&s.is(k.targetRange)&&P.string(k.targetUri)&&(s.is(k.targetSelectionRange)||P.undefined(k.targetSelectionRange))&&(s.is(k.originSelectionRange)||P.undefined(k.originSelectionRange))}E.is=W})(a=e.LocationLink||(e.LocationLink={}));var u;(function(E){function T(D,k,H,Y){return{red:D,green:k,blue:H,alpha:Y}}E.create=T;function W(D){var k=D;return P.numberRange(k.red,0,1)&&P.numberRange(k.green,0,1)&&P.numberRange(k.blue,0,1)&&P.numberRange(k.alpha,0,1)}E.is=W})(u=e.Color||(e.Color={}));var l;(function(E){function T(D,k){return{range:D,color:k}}E.create=T;function W(D){var k=D;return s.is(k.range)&&u.is(k.color)}E.is=W})(l=e.ColorInformation||(e.ColorInformation={}));var c;(function(E){function T(D,k,H){return{label:D,textEdit:k,additionalTextEdits:H}}E.create=T;function W(D){var k=D;return P.string(k.label)&&(P.undefined(k.textEdit)||w.is(k))&&(P.undefined(k.additionalTextEdits)||P.typedArray(k.additionalTextEdits,w.is))}E.is=W})(c=e.ColorPresentation||(e.ColorPresentation={}));var f;(function(E){E.Comment="comment",E.Imports="imports",E.Region="region"})(f=e.FoldingRangeKind||(e.FoldingRangeKind={}));var d;(function(E){function T(D,k,H,Y,ye){var De={startLine:D,endLine:k};return P.defined(H)&&(De.startCharacter=H),P.defined(Y)&&(De.endCharacter=Y),P.defined(ye)&&(De.kind=ye),De}E.create=T;function W(D){var k=D;return P.uinteger(k.startLine)&&P.uinteger(k.startLine)&&(P.undefined(k.startCharacter)||P.uinteger(k.startCharacter))&&(P.undefined(k.endCharacter)||P.uinteger(k.endCharacter))&&(P.undefined(k.kind)||P.string(k.kind))}E.is=W})(d=e.FoldingRange||(e.FoldingRange={}));var p;(function(E){function T(D,k){return{location:D,message:k}}E.create=T;function W(D){var k=D;return P.defined(k)&&o.is(k.location)&&P.string(k.message)}E.is=W})(p=e.DiagnosticRelatedInformation||(e.DiagnosticRelatedInformation={}));var h;(function(E){E.Error=1,E.Warning=2,E.Information=3,E.Hint=4})(h=e.DiagnosticSeverity||(e.DiagnosticSeverity={}));var y;(function(E){E.Unnecessary=1,E.Deprecated=2})(y=e.DiagnosticTag||(e.DiagnosticTag={}));var v;(function(E){function T(W){var D=W;return D!=null&&P.string(D.href)}E.is=T})(v=e.CodeDescription||(e.CodeDescription={}));var g;(function(E){function T(D,k,H,Y,ye,De){var He={range:D,message:k};return P.defined(H)&&(He.severity=H),P.defined(Y)&&(He.code=Y),P.defined(ye)&&(He.source=ye),P.defined(De)&&(He.relatedInformation=De),He}E.create=T;function W(D){var k,H=D;return P.defined(H)&&s.is(H.range)&&P.string(H.message)&&(P.number(H.severity)||P.undefined(H.severity))&&(P.integer(H.code)||P.string(H.code)||P.undefined(H.code))&&(P.undefined(H.codeDescription)||P.string((k=H.codeDescription)===null||k===void 0?void 0:k.href))&&(P.string(H.source)||P.undefined(H.source))&&(P.undefined(H.relatedInformation)||P.typedArray(H.relatedInformation,p.is))}E.is=W})(g=e.Diagnostic||(e.Diagnostic={}));var b;(function(E){function T(D,k){for(var H=[],Y=2;Y<arguments.length;Y++)H[Y-2]=arguments[Y];var ye={title:D,command:k};return P.defined(H)&&H.length>0&&(ye.arguments=H),ye}E.create=T;function W(D){var k=D;return P.defined(k)&&P.string(k.title)&&P.string(k.command)}E.is=W})(b=e.Command||(e.Command={}));var w;(function(E){function T(H,Y){return{range:H,newText:Y}}E.replace=T;function W(H,Y){return{range:{start:H,end:H},newText:Y}}E.insert=W;function D(H){return{range:H,newText:""}}E.del=D;function k(H){var Y=H;return P.objectLiteral(Y)&&P.string(Y.newText)&&s.is(Y.range)}E.is=k})(w=e.TextEdit||(e.TextEdit={}));var _;(function(E){function T(D,k,H){var Y={label:D};return k!==void 0&&(Y.needsConfirmation=k),H!==void 0&&(Y.description=H),Y}E.create=T;function W(D){var k=D;return k!==void 0&&P.objectLiteral(k)&&P.string(k.label)&&(P.boolean(k.needsConfirmation)||k.needsConfirmation===void 0)&&(P.string(k.description)||k.description===void 0)}E.is=W})(_=e.ChangeAnnotation||(e.ChangeAnnotation={}));var S;(function(E){function T(W){var D=W;return typeof D=="string"}E.is=T})(S=e.ChangeAnnotationIdentifier||(e.ChangeAnnotationIdentifier={}));var q;(function(E){function T(H,Y,ye){return{range:H,newText:Y,annotationId:ye}}E.replace=T;function W(H,Y,ye){return{range:{start:H,end:H},newText:Y,annotationId:ye}}E.insert=W;function D(H,Y){return{range:H,newText:"",annotationId:Y}}E.del=D;function k(H){var Y=H;return w.is(Y)&&(_.is(Y.annotationId)||S.is(Y.annotationId))}E.is=k})(q=e.AnnotatedTextEdit||(e.AnnotatedTextEdit={}));var C;(function(E){function T(D,k){return{textDocument:D,edits:k}}E.create=T;function W(D){var k=D;return P.defined(k)&&oe.is(k.textDocument)&&Array.isArray(k.edits)}E.is=W})(C=e.TextDocumentEdit||(e.TextDocumentEdit={}));var R;(function(E){function T(D,k,H){var Y={kind:"create",uri:D};return k!==void 0&&(k.overwrite!==void 0||k.ignoreIfExists!==void 0)&&(Y.options=k),H!==void 0&&(Y.annotationId=H),Y}E.create=T;function W(D){var k=D;return k&&k.kind==="create"&&P.string(k.uri)&&(k.options===void 0||(k.options.overwrite===void 0||P.boolean(k.options.overwrite))&&(k.options.ignoreIfExists===void 0||P.boolean(k.options.ignoreIfExists)))&&(k.annotationId===void 0||S.is(k.annotationId))}E.is=W})(R=e.CreateFile||(e.CreateFile={}));var O;(function(E){function T(D,k,H,Y){var ye={kind:"rename",oldUri:D,newUri:k};return H!==void 0&&(H.overwrite!==void 0||H.ignoreIfExists!==void 0)&&(ye.options=H),Y!==void 0&&(ye.annotationId=Y),ye}E.create=T;function W(D){var k=D;return k&&k.kind==="rename"&&P.string(k.oldUri)&&P.string(k.newUri)&&(k.options===void 0||(k.options.overwrite===void 0||P.boolean(k.options.overwrite))&&(k.options.ignoreIfExists===void 0||P.boolean(k.options.ignoreIfExists)))&&(k.annotationId===void 0||S.is(k.annotationId))}E.is=W})(O=e.RenameFile||(e.RenameFile={}));var z;(function(E){function T(D,k,H){var Y={kind:"delete",uri:D};return k!==void 0&&(k.recursive!==void 0||k.ignoreIfNotExists!==void 0)&&(Y.options=k),H!==void 0&&(Y.annotationId=H),Y}E.create=T;function W(D){var k=D;return k&&k.kind==="delete"&&P.string(k.uri)&&(k.options===void 0||(k.options.recursive===void 0||P.boolean(k.options.recursive))&&(k.options.ignoreIfNotExists===void 0||P.boolean(k.options.ignoreIfNotExists)))&&(k.annotationId===void 0||S.is(k.annotationId))}E.is=W})(z=e.DeleteFile||(e.DeleteFile={}));var F;(function(E){function T(W){var D=W;return D&&(D.changes!==void 0||D.documentChanges!==void 0)&&(D.documentChanges===void 0||D.documentChanges.every(function(k){return P.string(k.kind)?R.is(k)||O.is(k)||z.is(k):C.is(k)}))}E.is=T})(F=e.WorkspaceEdit||(e.WorkspaceEdit={}));var ee=function(){function E(T,W){this.edits=T,this.changeAnnotations=W}return E.prototype.insert=function(T,W,D){var k,H;if(D===void 0?k=w.insert(T,W):S.is(D)?(H=D,k=q.insert(T,W,D)):(this.assertChangeAnnotations(this.changeAnnotations),H=this.changeAnnotations.manage(D),k=q.insert(T,W,H)),this.edits.push(k),H!==void 0)return H},E.prototype.replace=function(T,W,D){var k,H;if(D===void 0?k=w.replace(T,W):S.is(D)?(H=D,k=q.replace(T,W,D)):(this.assertChangeAnnotations(this.changeAnnotations),H=this.changeAnnotations.manage(D),k=q.replace(T,W,H)),this.edits.push(k),H!==void 0)return H},E.prototype.delete=function(T,W){var D,k;if(W===void 0?D=w.del(T):S.is(W)?(k=W,D=q.del(T,W)):(this.assertChangeAnnotations(this.changeAnnotations),k=this.changeAnnotations.manage(W),D=q.del(T,k)),this.edits.push(D),k!==void 0)return k},E.prototype.add=function(T){this.edits.push(T)},E.prototype.all=function(){return this.edits},E.prototype.clear=function(){this.edits.splice(0,this.edits.length)},E.prototype.assertChangeAnnotations=function(T){if(T===void 0)throw new Error("Text edit change is not configured to manage change annotations.")},E}(),G=function(){function E(T){this._annotations=T===void 0?Object.create(null):T,this._counter=0,this._size=0}return E.prototype.all=function(){return this._annotations},Object.defineProperty(E.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),E.prototype.manage=function(T,W){var D;if(S.is(T)?D=T:(D=this.nextId(),W=T),this._annotations[D]!==void 0)throw new Error("Id "+D+" is already in use.");if(W===void 0)throw new Error("No annotation provided for id "+D);return this._annotations[D]=W,this._size++,D},E.prototype.nextId=function(){return this._counter++,this._counter.toString()},E}(),ae=function(){function E(T){var W=this;this._textEditChanges=Object.create(null),T!==void 0?(this._workspaceEdit=T,T.documentChanges?(this._changeAnnotations=new G(T.changeAnnotations),T.changeAnnotations=this._changeAnnotations.all(),T.documentChanges.forEach(function(D){if(C.is(D)){var k=new ee(D.edits,W._changeAnnotations);W._textEditChanges[D.textDocument.uri]=k}})):T.changes&&Object.keys(T.changes).forEach(function(D){var k=new ee(T.changes[D]);W._textEditChanges[D]=k})):this._workspaceEdit={}}return Object.defineProperty(E.prototype,"edit",{get:function(){return this.initDocumentChanges(),this._changeAnnotations!==void 0&&(this._changeAnnotations.size===0?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),E.prototype.getTextEditChange=function(T){if(oe.is(T)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var W={uri:T.uri,version:T.version},D=this._textEditChanges[W.uri];if(!D){var k=[],H={textDocument:W,edits:k};this._workspaceEdit.documentChanges.push(H),D=new ee(k,this._changeAnnotations),this._textEditChanges[W.uri]=D}return D}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error("Workspace edit is not configured for normal text edit changes.");var D=this._textEditChanges[T];if(!D){var k=[];this._workspaceEdit.changes[T]=k,D=new ee(k),this._textEditChanges[T]=D}return D}},E.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new G,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},E.prototype.initChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._workspaceEdit.changes=Object.create(null))},E.prototype.createFile=function(T,W,D){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var k;_.is(W)||S.is(W)?k=W:D=W;var H,Y;if(k===void 0?H=R.create(T,D):(Y=S.is(k)?k:this._changeAnnotations.manage(k),H=R.create(T,D,Y)),this._workspaceEdit.documentChanges.push(H),Y!==void 0)return Y},E.prototype.renameFile=function(T,W,D,k){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var H;_.is(D)||S.is(D)?H=D:k=D;var Y,ye;if(H===void 0?Y=O.create(T,W,k):(ye=S.is(H)?H:this._changeAnnotations.manage(H),Y=O.create(T,W,k,ye)),this._workspaceEdit.documentChanges.push(Y),ye!==void 0)return ye},E.prototype.deleteFile=function(T,W,D){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var k;_.is(W)||S.is(W)?k=W:D=W;var H,Y;if(k===void 0?H=z.create(T,D):(Y=S.is(k)?k:this._changeAnnotations.manage(k),H=z.create(T,D,Y)),this._workspaceEdit.documentChanges.push(H),Y!==void 0)return Y},E}();e.WorkspaceChange=ae;var L;(function(E){function T(D){return{uri:D}}E.create=T;function W(D){var k=D;return P.defined(k)&&P.string(k.uri)}E.is=W})(L=e.TextDocumentIdentifier||(e.TextDocumentIdentifier={}));var M;(function(E){function T(D,k){return{uri:D,version:k}}E.create=T;function W(D){var k=D;return P.defined(k)&&P.string(k.uri)&&P.integer(k.version)}E.is=W})(M=e.VersionedTextDocumentIdentifier||(e.VersionedTextDocumentIdentifier={}));var oe;(function(E){function T(D,k){return{uri:D,version:k}}E.create=T;function W(D){var k=D;return P.defined(k)&&P.string(k.uri)&&(k.version===null||P.integer(k.version))}E.is=W})(oe=e.OptionalVersionedTextDocumentIdentifier||(e.OptionalVersionedTextDocumentIdentifier={}));var re;(function(E){function T(D,k,H,Y){return{uri:D,languageId:k,version:H,text:Y}}E.create=T;function W(D){var k=D;return P.defined(k)&&P.string(k.uri)&&P.string(k.languageId)&&P.integer(k.version)&&P.string(k.text)}E.is=W})(re=e.TextDocumentItem||(e.TextDocumentItem={}));var fe;(function(E){E.PlainText="plaintext",E.Markdown="markdown"})(fe=e.MarkupKind||(e.MarkupKind={})),function(E){function T(W){var D=W;return D===E.PlainText||D===E.Markdown}E.is=T}(fe=e.MarkupKind||(e.MarkupKind={}));var ue;(function(E){function T(W){var D=W;return P.objectLiteral(W)&&fe.is(D.kind)&&P.string(D.value)}E.is=T})(ue=e.MarkupContent||(e.MarkupContent={}));var ie;(function(E){E.Text=1,E.Method=2,E.Function=3,E.Constructor=4,E.Field=5,E.Variable=6,E.Class=7,E.Interface=8,E.Module=9,E.Property=10,E.Unit=11,E.Value=12,E.Enum=13,E.Keyword=14,E.Snippet=15,E.Color=16,E.File=17,E.Reference=18,E.Folder=19,E.EnumMember=20,E.Constant=21,E.Struct=22,E.Event=23,E.Operator=24,E.TypeParameter=25})(ie=e.CompletionItemKind||(e.CompletionItemKind={}));var pe;(function(E){E.PlainText=1,E.Snippet=2})(pe=e.InsertTextFormat||(e.InsertTextFormat={}));var ve;(function(E){E.Deprecated=1})(ve=e.CompletionItemTag||(e.CompletionItemTag={}));var Ce;(function(E){function T(D,k,H){return{newText:D,insert:k,replace:H}}E.create=T;function W(D){var k=D;return k&&P.string(k.newText)&&s.is(k.insert)&&s.is(k.replace)}E.is=W})(Ce=e.InsertReplaceEdit||(e.InsertReplaceEdit={}));var Qe;(function(E){E.asIs=1,E.adjustIndentation=2})(Qe=e.InsertTextMode||(e.InsertTextMode={}));var be;(function(E){function T(W){return{label:W}}E.create=T})(be=e.CompletionItem||(e.CompletionItem={}));var Ct;(function(E){function T(W,D){return{items:W||[],isIncomplete:!!D}}E.create=T})(Ct=e.CompletionList||(e.CompletionList={}));var dt;(function(E){function T(D){return D.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}E.fromPlainText=T;function W(D){var k=D;return P.string(k)||P.objectLiteral(k)&&P.string(k.language)&&P.string(k.value)}E.is=W})(dt=e.MarkedString||(e.MarkedString={}));var de;(function(E){function T(W){var D=W;return!!D&&P.objectLiteral(D)&&(ue.is(D.contents)||dt.is(D.contents)||P.typedArray(D.contents,dt.is))&&(W.range===void 0||s.is(W.range))}E.is=T})(de=e.Hover||(e.Hover={}));var le;(function(E){function T(W,D){return D?{label:W,documentation:D}:{label:W}}E.create=T})(le=e.ParameterInformation||(e.ParameterInformation={}));var ne;(function(E){function T(W,D){for(var k=[],H=2;H<arguments.length;H++)k[H-2]=arguments[H];var Y={label:W};return P.defined(D)&&(Y.documentation=D),P.defined(k)?Y.parameters=k:Y.parameters=[],Y}E.create=T})(ne=e.SignatureInformation||(e.SignatureInformation={}));var Le;(function(E){E.Text=1,E.Read=2,E.Write=3})(Le=e.DocumentHighlightKind||(e.DocumentHighlightKind={}));var ot;(function(E){function T(W,D){var k={range:W};return P.number(D)&&(k.kind=D),k}E.create=T})(ot=e.DocumentHighlight||(e.DocumentHighlight={}));var zt;(function(E){E.File=1,E.Module=2,E.Namespace=3,E.Package=4,E.Class=5,E.Method=6,E.Property=7,E.Field=8,E.Constructor=9,E.Enum=10,E.Interface=11,E.Function=12,E.Variable=13,E.Constant=14,E.String=15,E.Number=16,E.Boolean=17,E.Array=18,E.Object=19,E.Key=20,E.Null=21,E.EnumMember=22,E.Struct=23,E.Event=24,E.Operator=25,E.TypeParameter=26})(zt=e.SymbolKind||(e.SymbolKind={}));var $t;(function(E){E.Deprecated=1})($t=e.SymbolTag||(e.SymbolTag={}));var qn;(function(E){function T(W,D,k,H,Y){var ye={name:W,kind:D,location:{uri:H,range:k}};return Y&&(ye.containerName=Y),ye}E.create=T})(qn=e.SymbolInformation||(e.SymbolInformation={}));var Rn;(function(E){function T(D,k,H,Y,ye,De){var He={name:D,detail:k,kind:H,range:Y,selectionRange:ye};return De!==void 0&&(He.children=De),He}E.create=T;function W(D){var k=D;return k&&P.string(k.name)&&P.number(k.kind)&&s.is(k.range)&&s.is(k.selectionRange)&&(k.detail===void 0||P.string(k.detail))&&(k.deprecated===void 0||P.boolean(k.deprecated))&&(k.children===void 0||Array.isArray(k.children))&&(k.tags===void 0||Array.isArray(k.tags))}E.is=W})(Rn=e.DocumentSymbol||(e.DocumentSymbol={}));var jE;(function(E){E.Empty="",E.QuickFix="quickfix",E.Refactor="refactor",E.RefactorExtract="refactor.extract",E.RefactorInline="refactor.inline",E.RefactorRewrite="refactor.rewrite",E.Source="source",E.SourceOrganizeImports="source.organizeImports",E.SourceFixAll="source.fixAll"})(jE=e.CodeActionKind||(e.CodeActionKind={}));var $E;(function(E){function T(D,k){var H={diagnostics:D};return k!=null&&(H.only=k),H}E.create=T;function W(D){var k=D;return P.defined(k)&&P.typedArray(k.diagnostics,g.is)&&(k.only===void 0||P.typedArray(k.only,P.string))}E.is=W})($E=e.CodeActionContext||(e.CodeActionContext={}));var Eo;(function(E){function T(D,k,H){var Y={title:D},ye=!0;return typeof k=="string"?(ye=!1,Y.kind=k):b.is(k)?Y.command=k:Y.edit=k,ye&&H!==void 0&&(Y.kind=H),Y}E.create=T;function W(D){var k=D;return k&&P.string(k.title)&&(k.diagnostics===void 0||P.typedArray(k.diagnostics,g.is))&&(k.kind===void 0||P.string(k.kind))&&(k.edit!==void 0||k.command!==void 0)&&(k.command===void 0||b.is(k.command))&&(k.isPreferred===void 0||P.boolean(k.isPreferred))&&(k.edit===void 0||F.is(k.edit))}E.is=W})(Eo=e.CodeAction||(e.CodeAction={}));var oh;(function(E){function T(D,k){var H={range:D};return P.defined(k)&&(H.data=k),H}E.create=T;function W(D){var k=D;return P.defined(k)&&s.is(k.range)&&(P.undefined(k.command)||b.is(k.command))}E.is=W})(oh=e.CodeLens||(e.CodeLens={}));var ah;(function(E){function T(D,k){return{tabSize:D,insertSpaces:k}}E.create=T;function W(D){var k=D;return P.defined(k)&&P.uinteger(k.tabSize)&&P.boolean(k.insertSpaces)}E.is=W})(ah=e.FormattingOptions||(e.FormattingOptions={}));var ec;(function(E){function T(D,k,H){return{range:D,target:k,data:H}}E.create=T;function W(D){var k=D;return P.defined(k)&&s.is(k.range)&&(P.undefined(k.target)||P.string(k.target))}E.is=W})(ec=e.DocumentLink||(e.DocumentLink={}));var uh;(function(E){function T(D,k){return{range:D,parent:k}}E.create=T;function W(D){var k=D;return k!==void 0&&s.is(k.range)&&(k.parent===void 0||E.is(k.parent))}E.is=W})(uh=e.SelectionRange||(e.SelectionRange={})),e.EOL=[`
|
|
423
423
|
`,`\r
|
|
424
424
|
`,"\r"];var Cs;(function(E){function T(H,Y,ye,De){return new I(H,Y,ye,De)}E.create=T;function W(H){var Y=H;return!!(P.defined(Y)&&P.string(Y.uri)&&(P.undefined(Y.languageId)||P.string(Y.languageId))&&P.uinteger(Y.lineCount)&&P.func(Y.getText)&&P.func(Y.positionAt)&&P.func(Y.offsetAt))}E.is=W;function D(H,Y){for(var ye=H.getText(),De=k(Y,function(Ya,lh){var fN=Ya.range.start.line-lh.range.start.line;return fN===0?Ya.range.start.character-lh.range.start.character:fN}),He=ye.length,bt=De.length-1;bt>=0;bt--){var tr=De[bt],sr=H.offsetAt(tr.range.start),Je=H.offsetAt(tr.range.end);if(Je<=He)ye=ye.substring(0,sr)+tr.newText+ye.substring(Je,ye.length);else throw new Error("Overlapping edit");He=sr}return ye}E.applyEdits=D;function k(H,Y){if(H.length<=1)return H;var ye=H.length/2|0,De=H.slice(0,ye),He=H.slice(ye);k(De,Y),k(He,Y);for(var bt=0,tr=0,sr=0;bt<De.length&&tr<He.length;){var Je=Y(De[bt],He[tr]);Je<=0?H[sr++]=De[bt++]:H[sr++]=He[tr++]}for(;bt<De.length;)H[sr++]=De[bt++];for(;tr<He.length;)H[sr++]=He[tr++];return H}})(Cs=e.TextDocument||(e.TextDocument={}));var I=function(){function E(T,W,D,k){this._uri=T,this._languageId=W,this._version=D,this._content=k,this._lineOffsets=void 0}return Object.defineProperty(E.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),E.prototype.getText=function(T){if(T){var W=this.offsetAt(T.start),D=this.offsetAt(T.end);return this._content.substring(W,D)}return this._content},E.prototype.update=function(T,W){this._content=T.text,this._version=W,this._lineOffsets=void 0},E.prototype.getLineOffsets=function(){if(this._lineOffsets===void 0){for(var T=[],W=this._content,D=!0,k=0;k<W.length;k++){D&&(T.push(k),D=!1);var H=W.charAt(k);D=H==="\r"||H===`
|
|
425
425
|
`,H==="\r"&&k+1<W.length&&W.charAt(k+1)===`
|
|
426
|
-
`&&k++}D&&W.length>0&&T.push(W.length),this._lineOffsets=T}return this._lineOffsets},E.prototype.positionAt=function(T){T=Math.max(Math.min(T,this._content.length),0);var W=this.getLineOffsets(),D=0,k=W.length;if(k===0)return i.create(0,T);for(;D<k;){var H=Math.floor((D+k)/2);W[H]>T?k=H:D=H+1}var Y=D-1;return i.create(Y,T-W[Y])},E.prototype.offsetAt=function(T){var W=this.getLineOffsets();if(T.line>=W.length)return this._content.length;if(T.line<0)return 0;var D=W[T.line],k=T.line+1<W.length?W[T.line+1]:this._content.length;return Math.max(Math.min(D+T.character,k),D)},Object.defineProperty(E.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),E}(),P;(function(E){var T=Object.prototype.toString;function W(Je){return typeof Je<"u"}E.defined=W;function D(Je){return typeof Je>"u"}E.undefined=D;function k(Je){return Je===!0||Je===!1}E.boolean=k;function H(Je){return T.call(Je)==="[object String]"}E.string=H;function Y(Je){return T.call(Je)==="[object Number]"}E.number=Y;function ye(Je,Ya,lh){return T.call(Je)==="[object Number]"&&Ya<=Je&&Je<=lh}E.numberRange=ye;function De(Je){return T.call(Je)==="[object Number]"&&-2147483648<=Je&&Je<=2147483647}E.integer=De;function He(Je){return T.call(Je)==="[object Number]"&&0<=Je&&Je<=2147483647}E.uinteger=He;function bt(Je){return T.call(Je)==="[object Function]"}E.func=bt;function tr(Je){return Je!==null&&typeof Je=="object"}E.objectLiteral=tr;function sr(Je,Ya){return Array.isArray(Je)&&Je.every(Ya)}E.typedArray=sr})(P||(P={}))})});var gr=m(Vn=>{"use strict";Object.defineProperty(Vn,"__esModule",{value:!0});Vn.ProtocolNotificationType=Vn.ProtocolNotificationType0=Vn.ProtocolRequestType=Vn.ProtocolRequestType0=Vn.RegistrationType=void 0;var Gl=Vl(),t3=class{constructor(e){this.method=e}};Vn.RegistrationType=t3;var r3=class extends Gl.RequestType0{constructor(e){super(e)}};Vn.ProtocolRequestType0=r3;var n3=class extends Gl.RequestType{constructor(e){super(e,Gl.ParameterStructures.byName)}};Vn.ProtocolRequestType=n3;var i3=class extends Gl.NotificationType0{constructor(e){super(e)}};Vn.ProtocolNotificationType0=i3;var s3=class extends Gl.NotificationType{constructor(e){super(e,Gl.ParameterStructures.byName)}};Vn.ProtocolNotificationType=s3});var Kge=m(er=>{"use strict";Object.defineProperty(er,"__esModule",{value:!0});er.objectLiteral=er.typedArray=er.stringArray=er.array=er.func=er.error=er.number=er.string=er.boolean=void 0;function Uvt(t){return t===!0||t===!1}er.boolean=Uvt;function Vge(t){return typeof t=="string"||t instanceof String}er.string=Vge;function Hvt(t){return typeof t=="number"||t instanceof Number}er.number=Hvt;function Vvt(t){return t instanceof Error}er.error=Vvt;function Gvt(t){return typeof t=="function"}er.func=Gvt;function Gge(t){return Array.isArray(t)}er.array=Gge;function Kvt(t){return Gge(t)&&t.every(e=>Vge(e))}er.stringArray=Kvt;function Yvt(t,e){return Array.isArray(t)&&t.every(e)}er.typedArray=Yvt;function Qvt(t){return t!==null&&typeof t=="object"}er.objectLiteral=Qvt});var Yge=m(Ap=>{"use strict";Object.defineProperty(Ap,"__esModule",{value:!0});Ap.ImplementationRequest=void 0;var Jvt=gr(),Xvt;(function(t){t.method="textDocument/implementation",t.type=new Jvt.ProtocolRequestType(t.method)})(Xvt=Ap.ImplementationRequest||(Ap.ImplementationRequest={}))});var Qge=m(Pp=>{"use strict";Object.defineProperty(Pp,"__esModule",{value:!0});Pp.TypeDefinitionRequest=void 0;var Zvt=gr(),ewt;(function(t){t.method="textDocument/typeDefinition",t.type=new Zvt.ProtocolRequestType(t.method)})(ewt=Pp.TypeDefinitionRequest||(Pp.TypeDefinitionRequest={}))});var Xge=m(ho=>{"use strict";Object.defineProperty(ho,"__esModule",{value:!0});ho.DidChangeWorkspaceFoldersNotification=ho.WorkspaceFoldersRequest=void 0;var Jge=gr(),twt;(function(t){t.type=new Jge.ProtocolRequestType0("workspace/workspaceFolders")})(twt=ho.WorkspaceFoldersRequest||(ho.WorkspaceFoldersRequest={}));var rwt;(function(t){t.type=new Jge.ProtocolNotificationType("workspace/didChangeWorkspaceFolders")})(rwt=ho.DidChangeWorkspaceFoldersNotification||(ho.DidChangeWorkspaceFoldersNotification={}))});var Zge=m(Tp=>{"use strict";Object.defineProperty(Tp,"__esModule",{value:!0});Tp.ConfigurationRequest=void 0;var nwt=gr(),iwt;(function(t){t.type=new nwt.ProtocolRequestType("workspace/configuration")})(iwt=Tp.ConfigurationRequest||(Tp.ConfigurationRequest={}))});var tme=m(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});go.ColorPresentationRequest=go.DocumentColorRequest=void 0;var eme=gr(),swt;(function(t){t.method="textDocument/documentColor",t.type=new eme.ProtocolRequestType(t.method)})(swt=go.DocumentColorRequest||(go.DocumentColorRequest={}));var owt;(function(t){t.type=new eme.ProtocolRequestType("textDocument/colorPresentation")})(owt=go.ColorPresentationRequest||(go.ColorPresentationRequest={}))});var rme=m(mo=>{"use strict";Object.defineProperty(mo,"__esModule",{value:!0});mo.FoldingRangeRequest=mo.FoldingRangeKind=void 0;var awt=gr(),uwt;(function(t){t.Comment="comment",t.Imports="imports",t.Region="region"})(uwt=mo.FoldingRangeKind||(mo.FoldingRangeKind={}));var lwt;(function(t){t.method="textDocument/foldingRange",t.type=new awt.ProtocolRequestType(t.method)})(lwt=mo.FoldingRangeRequest||(mo.FoldingRangeRequest={}))});var nme=m(Mp=>{"use strict";Object.defineProperty(Mp,"__esModule",{value:!0});Mp.DeclarationRequest=void 0;var cwt=gr(),fwt;(function(t){t.method="textDocument/declaration",t.type=new cwt.ProtocolRequestType(t.method)})(fwt=Mp.DeclarationRequest||(Mp.DeclarationRequest={}))});var ime=m(Lp=>{"use strict";Object.defineProperty(Lp,"__esModule",{value:!0});Lp.SelectionRangeRequest=void 0;var dwt=gr(),pwt;(function(t){t.method="textDocument/selectionRange",t.type=new dwt.ProtocolRequestType(t.method)})(pwt=Lp.SelectionRangeRequest||(Lp.SelectionRangeRequest={}))});var ome=m(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});pi.WorkDoneProgressCancelNotification=pi.WorkDoneProgressCreateRequest=pi.WorkDoneProgress=void 0;var hwt=Vl(),sme=gr(),gwt;(function(t){t.type=new hwt.ProgressType;function e(r){return r===t.type}t.is=e})(gwt=pi.WorkDoneProgress||(pi.WorkDoneProgress={}));var mwt;(function(t){t.type=new sme.ProtocolRequestType("window/workDoneProgress/create")})(mwt=pi.WorkDoneProgressCreateRequest||(pi.WorkDoneProgressCreateRequest={}));var ywt;(function(t){t.type=new sme.ProtocolNotificationType("window/workDoneProgress/cancel")})(ywt=pi.WorkDoneProgressCancelNotification||(pi.WorkDoneProgressCancelNotification={}))});var ame=m(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});hi.CallHierarchyOutgoingCallsRequest=hi.CallHierarchyIncomingCallsRequest=hi.CallHierarchyPrepareRequest=void 0;var o3=gr(),bwt;(function(t){t.method="textDocument/prepareCallHierarchy",t.type=new o3.ProtocolRequestType(t.method)})(bwt=hi.CallHierarchyPrepareRequest||(hi.CallHierarchyPrepareRequest={}));var vwt;(function(t){t.method="callHierarchy/incomingCalls",t.type=new o3.ProtocolRequestType(t.method)})(vwt=hi.CallHierarchyIncomingCallsRequest||(hi.CallHierarchyIncomingCallsRequest={}));var wwt;(function(t){t.method="callHierarchy/outgoingCalls",t.type=new o3.ProtocolRequestType(t.method)})(wwt=hi.CallHierarchyOutgoingCallsRequest||(hi.CallHierarchyOutgoingCallsRequest={}))});var ume=m(ft=>{"use strict";Object.defineProperty(ft,"__esModule",{value:!0});ft.SemanticTokensRefreshRequest=ft.SemanticTokensRangeRequest=ft.SemanticTokensDeltaRequest=ft.SemanticTokensRequest=ft.SemanticTokensRegistrationType=ft.TokenFormat=ft.SemanticTokens=ft.SemanticTokenModifiers=ft.SemanticTokenTypes=void 0;var Fp=gr(),_wt;(function(t){t.namespace="namespace",t.type="type",t.class="class",t.enum="enum",t.interface="interface",t.struct="struct",t.typeParameter="typeParameter",t.parameter="parameter",t.variable="variable",t.property="property",t.enumMember="enumMember",t.event="event",t.function="function",t.method="method",t.macro="macro",t.keyword="keyword",t.modifier="modifier",t.comment="comment",t.string="string",t.number="number",t.regexp="regexp",t.operator="operator"})(_wt=ft.SemanticTokenTypes||(ft.SemanticTokenTypes={}));var xwt;(function(t){t.declaration="declaration",t.definition="definition",t.readonly="readonly",t.static="static",t.deprecated="deprecated",t.abstract="abstract",t.async="async",t.modification="modification",t.documentation="documentation",t.defaultLibrary="defaultLibrary"})(xwt=ft.SemanticTokenModifiers||(ft.SemanticTokenModifiers={}));var Swt;(function(t){function e(r){let n=r;return n!==void 0&&(n.resultId===void 0||typeof n.resultId=="string")&&Array.isArray(n.data)&&(n.data.length===0||typeof n.data[0]=="number")}t.is=e})(Swt=ft.SemanticTokens||(ft.SemanticTokens={}));var kwt;(function(t){t.Relative="relative"})(kwt=ft.TokenFormat||(ft.TokenFormat={}));var Ewt;(function(t){t.method="textDocument/semanticTokens",t.type=new Fp.RegistrationType(t.method)})(Ewt=ft.SemanticTokensRegistrationType||(ft.SemanticTokensRegistrationType={}));var Cwt;(function(t){t.method="textDocument/semanticTokens/full",t.type=new Fp.ProtocolRequestType(t.method)})(Cwt=ft.SemanticTokensRequest||(ft.SemanticTokensRequest={}));var Dwt;(function(t){t.method="textDocument/semanticTokens/full/delta",t.type=new Fp.ProtocolRequestType(t.method)})(Dwt=ft.SemanticTokensDeltaRequest||(ft.SemanticTokensDeltaRequest={}));var Owt;(function(t){t.method="textDocument/semanticTokens/range",t.type=new Fp.ProtocolRequestType(t.method)})(Owt=ft.SemanticTokensRangeRequest||(ft.SemanticTokensRangeRequest={}));var qwt;(function(t){t.method="workspace/semanticTokens/refresh",t.type=new Fp.ProtocolRequestType0(t.method)})(qwt=ft.SemanticTokensRefreshRequest||(ft.SemanticTokensRefreshRequest={}))});var lme=m(Ip=>{"use strict";Object.defineProperty(Ip,"__esModule",{value:!0});Ip.ShowDocumentRequest=void 0;var Rwt=gr(),Awt;(function(t){t.method="window/showDocument",t.type=new Rwt.ProtocolRequestType(t.method)})(Awt=Ip.ShowDocumentRequest||(Ip.ShowDocumentRequest={}))});var cme=m(Np=>{"use strict";Object.defineProperty(Np,"__esModule",{value:!0});Np.LinkedEditingRangeRequest=void 0;var Pwt=gr(),Twt;(function(t){t.method="textDocument/linkedEditingRange",t.type=new Pwt.ProtocolRequestType(t.method)})(Twt=Np.LinkedEditingRangeRequest||(Np.LinkedEditingRangeRequest={}))});var fme=m(Wt=>{"use strict";Object.defineProperty(Wt,"__esModule",{value:!0});Wt.WillDeleteFilesRequest=Wt.DidDeleteFilesNotification=Wt.DidRenameFilesNotification=Wt.WillRenameFilesRequest=Wt.DidCreateFilesNotification=Wt.WillCreateFilesRequest=Wt.FileOperationPatternKind=void 0;var Kl=gr(),Mwt;(function(t){t.file="file",t.folder="folder"})(Mwt=Wt.FileOperationPatternKind||(Wt.FileOperationPatternKind={}));var Lwt;(function(t){t.method="workspace/willCreateFiles",t.type=new Kl.ProtocolRequestType(t.method)})(Lwt=Wt.WillCreateFilesRequest||(Wt.WillCreateFilesRequest={}));var Fwt;(function(t){t.method="workspace/didCreateFiles",t.type=new Kl.ProtocolNotificationType(t.method)})(Fwt=Wt.DidCreateFilesNotification||(Wt.DidCreateFilesNotification={}));var Iwt;(function(t){t.method="workspace/willRenameFiles",t.type=new Kl.ProtocolRequestType(t.method)})(Iwt=Wt.WillRenameFilesRequest||(Wt.WillRenameFilesRequest={}));var Nwt;(function(t){t.method="workspace/didRenameFiles",t.type=new Kl.ProtocolNotificationType(t.method)})(Nwt=Wt.DidRenameFilesNotification||(Wt.DidRenameFilesNotification={}));var jwt;(function(t){t.method="workspace/didDeleteFiles",t.type=new Kl.ProtocolNotificationType(t.method)})(jwt=Wt.DidDeleteFilesNotification||(Wt.DidDeleteFilesNotification={}));var $wt;(function(t){t.method="workspace/willDeleteFiles",t.type=new Kl.ProtocolRequestType(t.method)})($wt=Wt.WillDeleteFilesRequest||(Wt.WillDeleteFilesRequest={}))});var dme=m(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});gi.MonikerRequest=gi.MonikerKind=gi.UniquenessLevel=void 0;var Bwt=gr(),Wwt;(function(t){t.document="document",t.project="project",t.group="group",t.scheme="scheme",t.global="global"})(Wwt=gi.UniquenessLevel||(gi.UniquenessLevel={}));var zwt;(function(t){t.import="import",t.export="export",t.local="local"})(zwt=gi.MonikerKind||(gi.MonikerKind={}));var Uwt;(function(t){t.method="textDocument/moniker",t.type=new Bwt.ProtocolRequestType(t.method)})(Uwt=gi.MonikerRequest||(gi.MonikerRequest={}))});var yme=m(A=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0});A.DocumentLinkRequest=A.CodeLensRefreshRequest=A.CodeLensResolveRequest=A.CodeLensRequest=A.WorkspaceSymbolRequest=A.CodeActionResolveRequest=A.CodeActionRequest=A.DocumentSymbolRequest=A.DocumentHighlightRequest=A.ReferencesRequest=A.DefinitionRequest=A.SignatureHelpRequest=A.SignatureHelpTriggerKind=A.HoverRequest=A.CompletionResolveRequest=A.CompletionRequest=A.CompletionTriggerKind=A.PublishDiagnosticsNotification=A.WatchKind=A.FileChangeType=A.DidChangeWatchedFilesNotification=A.WillSaveTextDocumentWaitUntilRequest=A.WillSaveTextDocumentNotification=A.TextDocumentSaveReason=A.DidSaveTextDocumentNotification=A.DidCloseTextDocumentNotification=A.DidChangeTextDocumentNotification=A.TextDocumentContentChangeEvent=A.DidOpenTextDocumentNotification=A.TextDocumentSyncKind=A.TelemetryEventNotification=A.LogMessageNotification=A.ShowMessageRequest=A.ShowMessageNotification=A.MessageType=A.DidChangeConfigurationNotification=A.ExitNotification=A.ShutdownRequest=A.InitializedNotification=A.InitializeError=A.InitializeRequest=A.WorkDoneProgressOptions=A.TextDocumentRegistrationOptions=A.StaticRegistrationOptions=A.FailureHandlingKind=A.ResourceOperationKind=A.UnregistrationRequest=A.RegistrationRequest=A.DocumentSelector=A.DocumentFilter=void 0;A.MonikerRequest=A.MonikerKind=A.UniquenessLevel=A.WillDeleteFilesRequest=A.DidDeleteFilesNotification=A.WillRenameFilesRequest=A.DidRenameFilesNotification=A.WillCreateFilesRequest=A.DidCreateFilesNotification=A.FileOperationPatternKind=A.LinkedEditingRangeRequest=A.ShowDocumentRequest=A.SemanticTokensRegistrationType=A.SemanticTokensRefreshRequest=A.SemanticTokensRangeRequest=A.SemanticTokensDeltaRequest=A.SemanticTokensRequest=A.TokenFormat=A.SemanticTokens=A.SemanticTokenModifiers=A.SemanticTokenTypes=A.CallHierarchyPrepareRequest=A.CallHierarchyOutgoingCallsRequest=A.CallHierarchyIncomingCallsRequest=A.WorkDoneProgressCancelNotification=A.WorkDoneProgressCreateRequest=A.WorkDoneProgress=A.SelectionRangeRequest=A.DeclarationRequest=A.FoldingRangeRequest=A.ColorPresentationRequest=A.DocumentColorRequest=A.ConfigurationRequest=A.DidChangeWorkspaceFoldersNotification=A.WorkspaceFoldersRequest=A.TypeDefinitionRequest=A.ImplementationRequest=A.ApplyWorkspaceEditRequest=A.ExecuteCommandRequest=A.PrepareRenameRequest=A.RenameRequest=A.PrepareSupportDefaultBehavior=A.DocumentOnTypeFormattingRequest=A.DocumentRangeFormattingRequest=A.DocumentFormattingRequest=A.DocumentLinkResolveRequest=void 0;var yo=Kge(),ze=gr(),Hwt=Yge();Object.defineProperty(A,"ImplementationRequest",{enumerable:!0,get:function(){return Hwt.ImplementationRequest}});var Vwt=Qge();Object.defineProperty(A,"TypeDefinitionRequest",{enumerable:!0,get:function(){return Vwt.TypeDefinitionRequest}});var pme=Xge();Object.defineProperty(A,"WorkspaceFoldersRequest",{enumerable:!0,get:function(){return pme.WorkspaceFoldersRequest}});Object.defineProperty(A,"DidChangeWorkspaceFoldersNotification",{enumerable:!0,get:function(){return pme.DidChangeWorkspaceFoldersNotification}});var Gwt=Zge();Object.defineProperty(A,"ConfigurationRequest",{enumerable:!0,get:function(){return Gwt.ConfigurationRequest}});var hme=tme();Object.defineProperty(A,"DocumentColorRequest",{enumerable:!0,get:function(){return hme.DocumentColorRequest}});Object.defineProperty(A,"ColorPresentationRequest",{enumerable:!0,get:function(){return hme.ColorPresentationRequest}});var Kwt=rme();Object.defineProperty(A,"FoldingRangeRequest",{enumerable:!0,get:function(){return Kwt.FoldingRangeRequest}});var Ywt=nme();Object.defineProperty(A,"DeclarationRequest",{enumerable:!0,get:function(){return Ywt.DeclarationRequest}});var Qwt=ime();Object.defineProperty(A,"SelectionRangeRequest",{enumerable:!0,get:function(){return Qwt.SelectionRangeRequest}});var a3=ome();Object.defineProperty(A,"WorkDoneProgress",{enumerable:!0,get:function(){return a3.WorkDoneProgress}});Object.defineProperty(A,"WorkDoneProgressCreateRequest",{enumerable:!0,get:function(){return a3.WorkDoneProgressCreateRequest}});Object.defineProperty(A,"WorkDoneProgressCancelNotification",{enumerable:!0,get:function(){return a3.WorkDoneProgressCancelNotification}});var u3=ame();Object.defineProperty(A,"CallHierarchyIncomingCallsRequest",{enumerable:!0,get:function(){return u3.CallHierarchyIncomingCallsRequest}});Object.defineProperty(A,"CallHierarchyOutgoingCallsRequest",{enumerable:!0,get:function(){return u3.CallHierarchyOutgoingCallsRequest}});Object.defineProperty(A,"CallHierarchyPrepareRequest",{enumerable:!0,get:function(){return u3.CallHierarchyPrepareRequest}});var Ss=ume();Object.defineProperty(A,"SemanticTokenTypes",{enumerable:!0,get:function(){return Ss.SemanticTokenTypes}});Object.defineProperty(A,"SemanticTokenModifiers",{enumerable:!0,get:function(){return Ss.SemanticTokenModifiers}});Object.defineProperty(A,"SemanticTokens",{enumerable:!0,get:function(){return Ss.SemanticTokens}});Object.defineProperty(A,"TokenFormat",{enumerable:!0,get:function(){return Ss.TokenFormat}});Object.defineProperty(A,"SemanticTokensRequest",{enumerable:!0,get:function(){return Ss.SemanticTokensRequest}});Object.defineProperty(A,"SemanticTokensDeltaRequest",{enumerable:!0,get:function(){return Ss.SemanticTokensDeltaRequest}});Object.defineProperty(A,"SemanticTokensRangeRequest",{enumerable:!0,get:function(){return Ss.SemanticTokensRangeRequest}});Object.defineProperty(A,"SemanticTokensRefreshRequest",{enumerable:!0,get:function(){return Ss.SemanticTokensRefreshRequest}});Object.defineProperty(A,"SemanticTokensRegistrationType",{enumerable:!0,get:function(){return Ss.SemanticTokensRegistrationType}});var Jwt=lme();Object.defineProperty(A,"ShowDocumentRequest",{enumerable:!0,get:function(){return Jwt.ShowDocumentRequest}});var Xwt=cme();Object.defineProperty(A,"LinkedEditingRangeRequest",{enumerable:!0,get:function(){return Xwt.LinkedEditingRangeRequest}});var Ba=fme();Object.defineProperty(A,"FileOperationPatternKind",{enumerable:!0,get:function(){return Ba.FileOperationPatternKind}});Object.defineProperty(A,"DidCreateFilesNotification",{enumerable:!0,get:function(){return Ba.DidCreateFilesNotification}});Object.defineProperty(A,"WillCreateFilesRequest",{enumerable:!0,get:function(){return Ba.WillCreateFilesRequest}});Object.defineProperty(A,"DidRenameFilesNotification",{enumerable:!0,get:function(){return Ba.DidRenameFilesNotification}});Object.defineProperty(A,"WillRenameFilesRequest",{enumerable:!0,get:function(){return Ba.WillRenameFilesRequest}});Object.defineProperty(A,"DidDeleteFilesNotification",{enumerable:!0,get:function(){return Ba.DidDeleteFilesNotification}});Object.defineProperty(A,"WillDeleteFilesRequest",{enumerable:!0,get:function(){return Ba.WillDeleteFilesRequest}});var l3=dme();Object.defineProperty(A,"UniquenessLevel",{enumerable:!0,get:function(){return l3.UniquenessLevel}});Object.defineProperty(A,"MonikerKind",{enumerable:!0,get:function(){return l3.MonikerKind}});Object.defineProperty(A,"MonikerRequest",{enumerable:!0,get:function(){return l3.MonikerRequest}});var gme;(function(t){function e(r){let n=r;return yo.string(n.language)||yo.string(n.scheme)||yo.string(n.pattern)}t.is=e})(gme=A.DocumentFilter||(A.DocumentFilter={}));var mme;(function(t){function e(r){if(!Array.isArray(r))return!1;for(let n of r)if(!yo.string(n)&&!gme.is(n))return!1;return!0}t.is=e})(mme=A.DocumentSelector||(A.DocumentSelector={}));var Zwt;(function(t){t.type=new ze.ProtocolRequestType("client/registerCapability")})(Zwt=A.RegistrationRequest||(A.RegistrationRequest={}));var e_t;(function(t){t.type=new ze.ProtocolRequestType("client/unregisterCapability")})(e_t=A.UnregistrationRequest||(A.UnregistrationRequest={}));var t_t;(function(t){t.Create="create",t.Rename="rename",t.Delete="delete"})(t_t=A.ResourceOperationKind||(A.ResourceOperationKind={}));var r_t;(function(t){t.Abort="abort",t.Transactional="transactional",t.TextOnlyTransactional="textOnlyTransactional",t.Undo="undo"})(r_t=A.FailureHandlingKind||(A.FailureHandlingKind={}));var n_t;(function(t){function e(r){let n=r;return n&&yo.string(n.id)&&n.id.length>0}t.hasId=e})(n_t=A.StaticRegistrationOptions||(A.StaticRegistrationOptions={}));var i_t;(function(t){function e(r){let n=r;return n&&(n.documentSelector===null||mme.is(n.documentSelector))}t.is=e})(i_t=A.TextDocumentRegistrationOptions||(A.TextDocumentRegistrationOptions={}));var s_t;(function(t){function e(n){let i=n;return yo.objectLiteral(i)&&(i.workDoneProgress===void 0||yo.boolean(i.workDoneProgress))}t.is=e;function r(n){let i=n;return i&&yo.boolean(i.workDoneProgress)}t.hasWorkDoneProgress=r})(s_t=A.WorkDoneProgressOptions||(A.WorkDoneProgressOptions={}));var o_t;(function(t){t.type=new ze.ProtocolRequestType("initialize")})(o_t=A.InitializeRequest||(A.InitializeRequest={}));var a_t;(function(t){t.unknownProtocolVersion=1})(a_t=A.InitializeError||(A.InitializeError={}));var u_t;(function(t){t.type=new ze.ProtocolNotificationType("initialized")})(u_t=A.InitializedNotification||(A.InitializedNotification={}));var l_t;(function(t){t.type=new ze.ProtocolRequestType0("shutdown")})(l_t=A.ShutdownRequest||(A.ShutdownRequest={}));var c_t;(function(t){t.type=new ze.ProtocolNotificationType0("exit")})(c_t=A.ExitNotification||(A.ExitNotification={}));var f_t;(function(t){t.type=new ze.ProtocolNotificationType("workspace/didChangeConfiguration")})(f_t=A.DidChangeConfigurationNotification||(A.DidChangeConfigurationNotification={}));var d_t;(function(t){t.Error=1,t.Warning=2,t.Info=3,t.Log=4})(d_t=A.MessageType||(A.MessageType={}));var p_t;(function(t){t.type=new ze.ProtocolNotificationType("window/showMessage")})(p_t=A.ShowMessageNotification||(A.ShowMessageNotification={}));var h_t;(function(t){t.type=new ze.ProtocolRequestType("window/showMessageRequest")})(h_t=A.ShowMessageRequest||(A.ShowMessageRequest={}));var g_t;(function(t){t.type=new ze.ProtocolNotificationType("window/logMessage")})(g_t=A.LogMessageNotification||(A.LogMessageNotification={}));var m_t;(function(t){t.type=new ze.ProtocolNotificationType("telemetry/event")})(m_t=A.TelemetryEventNotification||(A.TelemetryEventNotification={}));var y_t;(function(t){t.None=0,t.Full=1,t.Incremental=2})(y_t=A.TextDocumentSyncKind||(A.TextDocumentSyncKind={}));var b_t;(function(t){t.method="textDocument/didOpen",t.type=new ze.ProtocolNotificationType(t.method)})(b_t=A.DidOpenTextDocumentNotification||(A.DidOpenTextDocumentNotification={}));var v_t;(function(t){function e(n){let i=n;return i!=null&&typeof i.text=="string"&&i.range!==void 0&&(i.rangeLength===void 0||typeof i.rangeLength=="number")}t.isIncremental=e;function r(n){let i=n;return i!=null&&typeof i.text=="string"&&i.range===void 0&&i.rangeLength===void 0}t.isFull=r})(v_t=A.TextDocumentContentChangeEvent||(A.TextDocumentContentChangeEvent={}));var w_t;(function(t){t.method="textDocument/didChange",t.type=new ze.ProtocolNotificationType(t.method)})(w_t=A.DidChangeTextDocumentNotification||(A.DidChangeTextDocumentNotification={}));var __t;(function(t){t.method="textDocument/didClose",t.type=new ze.ProtocolNotificationType(t.method)})(__t=A.DidCloseTextDocumentNotification||(A.DidCloseTextDocumentNotification={}));var x_t;(function(t){t.method="textDocument/didSave",t.type=new ze.ProtocolNotificationType(t.method)})(x_t=A.DidSaveTextDocumentNotification||(A.DidSaveTextDocumentNotification={}));var S_t;(function(t){t.Manual=1,t.AfterDelay=2,t.FocusOut=3})(S_t=A.TextDocumentSaveReason||(A.TextDocumentSaveReason={}));var k_t;(function(t){t.method="textDocument/willSave",t.type=new ze.ProtocolNotificationType(t.method)})(k_t=A.WillSaveTextDocumentNotification||(A.WillSaveTextDocumentNotification={}));var E_t;(function(t){t.method="textDocument/willSaveWaitUntil",t.type=new ze.ProtocolRequestType(t.method)})(E_t=A.WillSaveTextDocumentWaitUntilRequest||(A.WillSaveTextDocumentWaitUntilRequest={}));var C_t;(function(t){t.type=new ze.ProtocolNotificationType("workspace/didChangeWatchedFiles")})(C_t=A.DidChangeWatchedFilesNotification||(A.DidChangeWatchedFilesNotification={}));var D_t;(function(t){t.Created=1,t.Changed=2,t.Deleted=3})(D_t=A.FileChangeType||(A.FileChangeType={}));var O_t;(function(t){t.Create=1,t.Change=2,t.Delete=4})(O_t=A.WatchKind||(A.WatchKind={}));var q_t;(function(t){t.type=new ze.ProtocolNotificationType("textDocument/publishDiagnostics")})(q_t=A.PublishDiagnosticsNotification||(A.PublishDiagnosticsNotification={}));var R_t;(function(t){t.Invoked=1,t.TriggerCharacter=2,t.TriggerForIncompleteCompletions=3})(R_t=A.CompletionTriggerKind||(A.CompletionTriggerKind={}));var A_t;(function(t){t.method="textDocument/completion",t.type=new ze.ProtocolRequestType(t.method)})(A_t=A.CompletionRequest||(A.CompletionRequest={}));var P_t;(function(t){t.method="completionItem/resolve",t.type=new ze.ProtocolRequestType(t.method)})(P_t=A.CompletionResolveRequest||(A.CompletionResolveRequest={}));var T_t;(function(t){t.method="textDocument/hover",t.type=new ze.ProtocolRequestType(t.method)})(T_t=A.HoverRequest||(A.HoverRequest={}));var M_t;(function(t){t.Invoked=1,t.TriggerCharacter=2,t.ContentChange=3})(M_t=A.SignatureHelpTriggerKind||(A.SignatureHelpTriggerKind={}));var L_t;(function(t){t.method="textDocument/signatureHelp",t.type=new ze.ProtocolRequestType(t.method)})(L_t=A.SignatureHelpRequest||(A.SignatureHelpRequest={}));var F_t;(function(t){t.method="textDocument/definition",t.type=new ze.ProtocolRequestType(t.method)})(F_t=A.DefinitionRequest||(A.DefinitionRequest={}));var I_t;(function(t){t.method="textDocument/references",t.type=new ze.ProtocolRequestType(t.method)})(I_t=A.ReferencesRequest||(A.ReferencesRequest={}));var N_t;(function(t){t.method="textDocument/documentHighlight",t.type=new ze.ProtocolRequestType(t.method)})(N_t=A.DocumentHighlightRequest||(A.DocumentHighlightRequest={}));var j_t;(function(t){t.method="textDocument/documentSymbol",t.type=new ze.ProtocolRequestType(t.method)})(j_t=A.DocumentSymbolRequest||(A.DocumentSymbolRequest={}));var $_t;(function(t){t.method="textDocument/codeAction",t.type=new ze.ProtocolRequestType(t.method)})($_t=A.CodeActionRequest||(A.CodeActionRequest={}));var B_t;(function(t){t.method="codeAction/resolve",t.type=new ze.ProtocolRequestType(t.method)})(B_t=A.CodeActionResolveRequest||(A.CodeActionResolveRequest={}));var W_t;(function(t){t.method="workspace/symbol",t.type=new ze.ProtocolRequestType(t.method)})(W_t=A.WorkspaceSymbolRequest||(A.WorkspaceSymbolRequest={}));var z_t;(function(t){t.method="textDocument/codeLens",t.type=new ze.ProtocolRequestType(t.method)})(z_t=A.CodeLensRequest||(A.CodeLensRequest={}));var U_t;(function(t){t.method="codeLens/resolve",t.type=new ze.ProtocolRequestType(t.method)})(U_t=A.CodeLensResolveRequest||(A.CodeLensResolveRequest={}));var H_t;(function(t){t.method="workspace/codeLens/refresh",t.type=new ze.ProtocolRequestType0(t.method)})(H_t=A.CodeLensRefreshRequest||(A.CodeLensRefreshRequest={}));var V_t;(function(t){t.method="textDocument/documentLink",t.type=new ze.ProtocolRequestType(t.method)})(V_t=A.DocumentLinkRequest||(A.DocumentLinkRequest={}));var G_t;(function(t){t.method="documentLink/resolve",t.type=new ze.ProtocolRequestType(t.method)})(G_t=A.DocumentLinkResolveRequest||(A.DocumentLinkResolveRequest={}));var K_t;(function(t){t.method="textDocument/formatting",t.type=new ze.ProtocolRequestType(t.method)})(K_t=A.DocumentFormattingRequest||(A.DocumentFormattingRequest={}));var Y_t;(function(t){t.method="textDocument/rangeFormatting",t.type=new ze.ProtocolRequestType(t.method)})(Y_t=A.DocumentRangeFormattingRequest||(A.DocumentRangeFormattingRequest={}));var Q_t;(function(t){t.method="textDocument/onTypeFormatting",t.type=new ze.ProtocolRequestType(t.method)})(Q_t=A.DocumentOnTypeFormattingRequest||(A.DocumentOnTypeFormattingRequest={}));var J_t;(function(t){t.Identifier=1})(J_t=A.PrepareSupportDefaultBehavior||(A.PrepareSupportDefaultBehavior={}));var X_t;(function(t){t.method="textDocument/rename",t.type=new ze.ProtocolRequestType(t.method)})(X_t=A.RenameRequest||(A.RenameRequest={}));var Z_t;(function(t){t.method="textDocument/prepareRename",t.type=new ze.ProtocolRequestType(t.method)})(Z_t=A.PrepareRenameRequest||(A.PrepareRenameRequest={}));var ext;(function(t){t.type=new ze.ProtocolRequestType("workspace/executeCommand")})(ext=A.ExecuteCommandRequest||(A.ExecuteCommandRequest={}));var txt;(function(t){t.type=new ze.ProtocolRequestType("workspace/applyEdit")})(txt=A.ApplyWorkspaceEditRequest||(A.ApplyWorkspaceEditRequest={}))});var vme=m(Qk=>{"use strict";Object.defineProperty(Qk,"__esModule",{value:!0});Qk.createProtocolConnection=void 0;var bme=Vl();function rxt(t,e,r,n){return bme.ConnectionStrategy.is(n)&&(n={connectionStrategy:n}),bme.createMessageConnection(t,e,r,n)}Qk.createProtocolConnection=rxt});var wme=m(Qr=>{"use strict";var nxt=Qr&&Qr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Jk=Qr&&Qr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&nxt(e,t,r)};Object.defineProperty(Qr,"__esModule",{value:!0});Qr.LSPErrorCodes=Qr.createProtocolConnection=void 0;Jk(Vl(),Qr);Jk(Hge(),Qr);Jk(gr(),Qr);Jk(yme(),Qr);var ixt=vme();Object.defineProperty(Qr,"createProtocolConnection",{enumerable:!0,get:function(){return ixt.createProtocolConnection}});var sxt;(function(t){t.lspReservedErrorRangeStart=-32899,t.ContentModified=-32801,t.RequestCancelled=-32800,t.lspReservedErrorRangeEnd=-32800})(sxt=Qr.LSPErrorCodes||(Qr.LSPErrorCodes={}))});var En=m(Hi=>{"use strict";var oxt=Hi&&Hi.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),_me=Hi&&Hi.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&oxt(e,t,r)};Object.defineProperty(Hi,"__esModule",{value:!0});Hi.createProtocolConnection=void 0;var axt=e3();_me(e3(),Hi);_me(wme(),Hi);function uxt(t,e,r,n){return axt.createMessageConnection(t,e,r,n)}Hi.createProtocolConnection=uxt});var c3=m(Gn=>{"use strict";Object.defineProperty(Gn,"__esModule",{value:!0});Gn.generateUuid=Gn.parse=Gn.isUUID=Gn.v4=Gn.empty=void 0;var jp=class{constructor(e){this._value=e}asHex(){return this._value}equals(e){return this.asHex()===e.asHex()}},Ge=class extends jp{constructor(){super([Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),"-",Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),"-","4",Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),"-",Ge._oneOf(Ge._timeHighBits),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),"-",Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex()].join(""))}static _oneOf(e){return e[Math.floor(e.length*Math.random())]}static _randomHex(){return Ge._oneOf(Ge._chars)}};Ge._chars=["0","1","2","3","4","5","6","6","7","8","9","a","b","c","d","e","f"];Ge._timeHighBits=["8","9","a","b"];Gn.empty=new jp("00000000-0000-0000-0000-000000000000");function xme(){return new Ge}Gn.v4=xme;var lxt=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;function Sme(t){return lxt.test(t)}Gn.isUUID=Sme;function cxt(t){if(!Sme(t))throw new Error("invalid uuid");return new jp(t)}Gn.parse=cxt;function fxt(){return xme().asHex()}Gn.generateUuid=fxt});var kme=m(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});vo.attachPartialResult=vo.ProgressFeature=vo.attachWorkDone=void 0;var bo=En(),dxt=c3(),Vi=class{constructor(e,r){this._connection=e,this._token=r,Vi.Instances.set(this._token,this)}begin(e,r,n,i){let s={kind:"begin",title:e,percentage:r,message:n,cancellable:i};this._connection.sendProgress(bo.WorkDoneProgress.type,this._token,s)}report(e,r){let n={kind:"report"};typeof e=="number"?(n.percentage=e,r!==void 0&&(n.message=r)):n.message=e,this._connection.sendProgress(bo.WorkDoneProgress.type,this._token,n)}done(){Vi.Instances.delete(this._token),this._connection.sendProgress(bo.WorkDoneProgress.type,this._token,{kind:"end"})}};Vi.Instances=new Map;var Xk=class extends Vi{constructor(e,r){super(e,r),this._source=new bo.CancellationTokenSource}get token(){return this._source.token}done(){this._source.dispose(),super.done()}cancel(){this._source.cancel()}},$p=class{constructor(){}begin(){}report(){}done(){}},Zk=class extends $p{constructor(){super(),this._source=new bo.CancellationTokenSource}get token(){return this._source.token}done(){this._source.dispose()}cancel(){this._source.cancel()}};function pxt(t,e){if(e===void 0||e.workDoneToken===void 0)return new $p;let r=e.workDoneToken;return delete e.workDoneToken,new Vi(t,r)}vo.attachWorkDone=pxt;var hxt=t=>class extends t{constructor(){super(),this._progressSupported=!1}initialize(e){var r;((r=e?.window)===null||r===void 0?void 0:r.workDoneProgress)===!0&&(this._progressSupported=!0,this.connection.onNotification(bo.WorkDoneProgressCancelNotification.type,n=>{let i=Vi.Instances.get(n.token);(i instanceof Xk||i instanceof Zk)&&i.cancel()}))}attachWorkDoneProgress(e){return e===void 0?new $p:new Vi(this.connection,e)}createWorkDoneProgress(){if(this._progressSupported){let e=dxt.generateUuid();return this.connection.sendRequest(bo.WorkDoneProgressCreateRequest.type,{token:e}).then(()=>new Xk(this.connection,e))}else return Promise.resolve(new Zk)}};vo.ProgressFeature=hxt;var f3;(function(t){t.type=new bo.ProgressType})(f3||(f3={}));var d3=class{constructor(e,r){this._connection=e,this._token=r}report(e){this._connection.sendProgress(f3.type,this._token,e)}};function gxt(t,e){if(e===void 0||e.partialResultToken===void 0)return;let r=e.partialResultToken;return delete e.partialResultToken,new d3(t,r)}vo.attachPartialResult=gxt});var Eme=m(eE=>{"use strict";Object.defineProperty(eE,"__esModule",{value:!0});eE.ConfigurationFeature=void 0;var mxt=En(),yxt=Fk(),bxt=t=>class extends t{getConfiguration(e){return e?yxt.string(e)?this._getConfiguration({section:e}):this._getConfiguration(e):this._getConfiguration({})}_getConfiguration(e){let r={items:Array.isArray(e)?e:[e]};return this.connection.sendRequest(mxt.ConfigurationRequest.type,r).then(n=>Array.isArray(e)?n:n[0])}};eE.ConfigurationFeature=bxt});var Cme=m(rE=>{"use strict";Object.defineProperty(rE,"__esModule",{value:!0});rE.WorkspaceFoldersFeature=void 0;var tE=En(),vxt=t=>class extends t{initialize(e){let r=e.workspace;r&&r.workspaceFolders&&(this._onDidChangeWorkspaceFolders=new tE.Emitter,this.connection.onNotification(tE.DidChangeWorkspaceFoldersNotification.type,n=>{this._onDidChangeWorkspaceFolders.fire(n.event)}))}getWorkspaceFolders(){return this.connection.sendRequest(tE.WorkspaceFoldersRequest.type)}get onDidChangeWorkspaceFolders(){if(!this._onDidChangeWorkspaceFolders)throw new Error("Client doesn't support sending workspace folder change events.");return this._unregistration||(this._unregistration=this.connection.client.register(tE.DidChangeWorkspaceFoldersNotification.type)),this._onDidChangeWorkspaceFolders.event}};rE.WorkspaceFoldersFeature=vxt});var Dme=m(nE=>{"use strict";Object.defineProperty(nE,"__esModule",{value:!0});nE.CallHierarchyFeature=void 0;var p3=En(),wxt=t=>class extends t{get callHierarchy(){return{onPrepare:e=>{this.connection.onRequest(p3.CallHierarchyPrepareRequest.type,(r,n)=>e(r,n,this.attachWorkDoneProgress(r),void 0))},onIncomingCalls:e=>{let r=p3.CallHierarchyIncomingCallsRequest.type;this.connection.onRequest(r,(n,i)=>e(n,i,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(r,n)))},onOutgoingCalls:e=>{let r=p3.CallHierarchyOutgoingCallsRequest.type;this.connection.onRequest(r,(n,i)=>e(n,i,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(r,n)))}}}};nE.CallHierarchyFeature=wxt});var m3=m(Yl=>{"use strict";Object.defineProperty(Yl,"__esModule",{value:!0});Yl.SemanticTokensBuilder=Yl.SemanticTokensFeature=void 0;var h3=En(),_xt=t=>class extends t{get semanticTokens(){return{on:e=>{let r=h3.SemanticTokensRequest.type;this.connection.onRequest(r,(n,i)=>e(n,i,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(r,n)))},onDelta:e=>{let r=h3.SemanticTokensDeltaRequest.type;this.connection.onRequest(r,(n,i)=>e(n,i,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(r,n)))},onRange:e=>{let r=h3.SemanticTokensRangeRequest.type;this.connection.onRequest(r,(n,i)=>e(n,i,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(r,n)))}}}};Yl.SemanticTokensFeature=_xt;var g3=class{constructor(){this._prevData=void 0,this.initialize()}initialize(){this._id=Date.now(),this._prevLine=0,this._prevChar=0,this._data=[],this._dataLen=0}push(e,r,n,i,s){let o=e,a=r;this._dataLen>0&&(o-=this._prevLine,o===0&&(a-=this._prevChar)),this._data[this._dataLen++]=o,this._data[this._dataLen++]=a,this._data[this._dataLen++]=n,this._data[this._dataLen++]=i,this._data[this._dataLen++]=s,this._prevLine=e,this._prevChar=r}get id(){return this._id.toString()}previousResult(e){this.id===e&&(this._prevData=this._data),this.initialize()}build(){return this._prevData=void 0,{resultId:this.id,data:this._data}}canBuildEdits(){return this._prevData!==void 0}buildEdits(){if(this._prevData!==void 0){let e=this._prevData.length,r=this._data.length,n=0;for(;n<r&&n<e&&this._prevData[n]===this._data[n];)n++;if(n<r&&n<e){let i=0;for(;i<r&&i<e&&this._prevData[e-1-i]===this._data[r-1-i];)i++;let s=this._data.slice(n,r-i);return{resultId:this.id,edits:[{start:n,deleteCount:e-i-n,data:s}]}}else return n<r?{resultId:this.id,edits:[{start:n,deleteCount:0,data:this._data.slice(n)}]}:n<e?{resultId:this.id,edits:[{start:n,deleteCount:e-n}]}:{resultId:this.id,edits:[]}}else return this.build()}};Yl.SemanticTokensBuilder=g3});var Ome=m(iE=>{"use strict";Object.defineProperty(iE,"__esModule",{value:!0});iE.ShowDocumentFeature=void 0;var xxt=En(),Sxt=t=>class extends t{showDocument(e){return this.connection.sendRequest(xxt.ShowDocumentRequest.type,e)}};iE.ShowDocumentFeature=Sxt});var qme=m(sE=>{"use strict";Object.defineProperty(sE,"__esModule",{value:!0});sE.FileOperationsFeature=void 0;var Ql=En(),kxt=t=>class extends t{onDidCreateFiles(e){this.connection.onNotification(Ql.DidCreateFilesNotification.type,r=>{e(r)})}onDidRenameFiles(e){this.connection.onNotification(Ql.DidRenameFilesNotification.type,r=>{e(r)})}onDidDeleteFiles(e){this.connection.onNotification(Ql.DidDeleteFilesNotification.type,r=>{e(r)})}onWillCreateFiles(e){return this.connection.onRequest(Ql.WillCreateFilesRequest.type,(r,n)=>e(r,n))}onWillRenameFiles(e){return this.connection.onRequest(Ql.WillRenameFilesRequest.type,(r,n)=>e(r,n))}onWillDeleteFiles(e){return this.connection.onRequest(Ql.WillDeleteFilesRequest.type,(r,n)=>e(r,n))}};sE.FileOperationsFeature=kxt});var Rme=m(oE=>{"use strict";Object.defineProperty(oE,"__esModule",{value:!0});oE.LinkedEditingRangeFeature=void 0;var Ext=En(),Cxt=t=>class extends t{onLinkedEditingRange(e){this.connection.onRequest(Ext.LinkedEditingRangeRequest.type,(r,n)=>e(r,n,this.attachWorkDoneProgress(r),void 0))}};oE.LinkedEditingRangeFeature=Cxt});var Ame=m(aE=>{"use strict";Object.defineProperty(aE,"__esModule",{value:!0});aE.MonikerFeature=void 0;var Dxt=En(),Oxt=t=>class extends t{get moniker(){return{on:e=>{let r=Dxt.MonikerRequest.type;this.connection.onRequest(r,(n,i)=>e(n,i,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(r,n)))}}}};aE.MonikerFeature=Oxt});var S3=m(rt=>{"use strict";Object.defineProperty(rt,"__esModule",{value:!0});rt.createConnection=rt.combineFeatures=rt.combineLanguagesFeatures=rt.combineWorkspaceFeatures=rt.combineWindowFeatures=rt.combineClientFeatures=rt.combineTracerFeatures=rt.combineTelemetryFeatures=rt.combineConsoleFeatures=rt._LanguagesImpl=rt.BulkUnregistration=rt.BulkRegistration=rt.ErrorMessageTracker=rt.TextDocuments=void 0;var he=En(),Kn=Fk(),b3=c3(),Ue=kme(),qxt=Eme(),Rxt=Cme(),Axt=Dme(),Pxt=m3(),Txt=Ome(),Mxt=qme(),Lxt=Rme(),Fxt=Ame();function y3(t){if(t!==null)return t}var v3=class{constructor(e){this._documents=Object.create(null),this._configuration=e,this._onDidChangeContent=new he.Emitter,this._onDidOpen=new he.Emitter,this._onDidClose=new he.Emitter,this._onDidSave=new he.Emitter,this._onWillSave=new he.Emitter}get onDidChangeContent(){return this._onDidChangeContent.event}get onDidOpen(){return this._onDidOpen.event}get onWillSave(){return this._onWillSave.event}onWillSaveWaitUntil(e){this._willSaveWaitUntil=e}get onDidSave(){return this._onDidSave.event}get onDidClose(){return this._onDidClose.event}get(e){return this._documents[e]}all(){return Object.keys(this._documents).map(e=>this._documents[e])}keys(){return Object.keys(this._documents)}listen(e){e.__textDocumentSync=he.TextDocumentSyncKind.Full,e.onDidOpenTextDocument(r=>{let n=r.textDocument,i=this._configuration.create(n.uri,n.languageId,n.version,n.text);this._documents[n.uri]=i;let s=Object.freeze({document:i});this._onDidOpen.fire(s),this._onDidChangeContent.fire(s)}),e.onDidChangeTextDocument(r=>{let n=r.textDocument,i=r.contentChanges;if(i.length===0)return;let s=this._documents[n.uri],{version:o}=n;if(o==null)throw new Error(`Received document change event for ${n.uri} without valid version identifier`);s=this._configuration.update(s,i,o),this._documents[n.uri]=s,this._onDidChangeContent.fire(Object.freeze({document:s}))}),e.onDidCloseTextDocument(r=>{let n=this._documents[r.textDocument.uri];n&&(delete this._documents[r.textDocument.uri],this._onDidClose.fire(Object.freeze({document:n})))}),e.onWillSaveTextDocument(r=>{let n=this._documents[r.textDocument.uri];n&&this._onWillSave.fire(Object.freeze({document:n,reason:r.reason}))}),e.onWillSaveTextDocumentWaitUntil((r,n)=>{let i=this._documents[r.textDocument.uri];return i&&this._willSaveWaitUntil?this._willSaveWaitUntil(Object.freeze({document:i,reason:r.reason}),n):[]}),e.onDidSaveTextDocument(r=>{let n=this._documents[r.textDocument.uri];n&&this._onDidSave.fire(Object.freeze({document:n}))})}};rt.TextDocuments=v3;var w3=class{constructor(){this._messages=Object.create(null)}add(e){let r=this._messages[e];r||(r=0),r++,this._messages[e]=r}sendErrors(e){Object.keys(this._messages).forEach(r=>{e.window.showErrorMessage(r)})}};rt.ErrorMessageTracker=w3;var uE=class{constructor(){}rawAttach(e){this._rawConnection=e}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}fillServerCapabilities(e){}initialize(e){}error(e){this.send(he.MessageType.Error,e)}warn(e){this.send(he.MessageType.Warning,e)}info(e){this.send(he.MessageType.Info,e)}log(e){this.send(he.MessageType.Log,e)}send(e,r){this._rawConnection&&this._rawConnection.sendNotification(he.LogMessageNotification.type,{type:e,message:r})}},_3=class{constructor(){}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}showErrorMessage(e,...r){let n={type:he.MessageType.Error,message:e,actions:r};return this.connection.sendRequest(he.ShowMessageRequest.type,n).then(y3)}showWarningMessage(e,...r){let n={type:he.MessageType.Warning,message:e,actions:r};return this.connection.sendRequest(he.ShowMessageRequest.type,n).then(y3)}showInformationMessage(e,...r){let n={type:he.MessageType.Info,message:e,actions:r};return this.connection.sendRequest(he.ShowMessageRequest.type,n).then(y3)}},Pme=Txt.ShowDocumentFeature(Ue.ProgressFeature(_3)),Ixt;(function(t){function e(){return new lE}t.create=e})(Ixt=rt.BulkRegistration||(rt.BulkRegistration={}));var lE=class{constructor(){this._registrations=[],this._registered=new Set}add(e,r){let n=Kn.string(e)?e:e.method;if(this._registered.has(n))throw new Error(`${n} is already added to this registration`);let i=b3.generateUuid();this._registrations.push({id:i,method:n,registerOptions:r||{}}),this._registered.add(n)}asRegistrationParams(){return{registrations:this._registrations}}},Nxt;(function(t){function e(){return new Bp(void 0,[])}t.create=e})(Nxt=rt.BulkUnregistration||(rt.BulkUnregistration={}));var Bp=class{constructor(e,r){this._connection=e,this._unregistrations=new Map,r.forEach(n=>{this._unregistrations.set(n.method,n)})}get isAttached(){return!!this._connection}attach(e){this._connection=e}add(e){this._unregistrations.set(e.method,e)}dispose(){let e=[];for(let n of this._unregistrations.values())e.push(n);let r={unregisterations:e};this._connection.sendRequest(he.UnregistrationRequest.type,r).then(void 0,n=>{this._connection.console.info("Bulk unregistration failed.")})}disposeSingle(e){let r=Kn.string(e)?e:e.method,n=this._unregistrations.get(r);if(!n)return!1;let i={unregisterations:[n]};return this._connection.sendRequest(he.UnregistrationRequest.type,i).then(()=>{this._unregistrations.delete(r)},s=>{this._connection.console.info(`Un-registering request handler for ${n.id} failed.`)}),!0}},cE=class{attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}register(e,r,n){return e instanceof lE?this.registerMany(e):e instanceof Bp?this.registerSingle1(e,r,n):this.registerSingle2(e,r)}registerSingle1(e,r,n){let i=Kn.string(r)?r:r.method,s=b3.generateUuid(),o={registrations:[{id:s,method:i,registerOptions:n||{}}]};return e.isAttached||e.attach(this.connection),this.connection.sendRequest(he.RegistrationRequest.type,o).then(a=>(e.add({id:s,method:i}),e),a=>(this.connection.console.info(`Registering request handler for ${i} failed.`),Promise.reject(a)))}registerSingle2(e,r){let n=Kn.string(e)?e:e.method,i=b3.generateUuid(),s={registrations:[{id:i,method:n,registerOptions:r||{}}]};return this.connection.sendRequest(he.RegistrationRequest.type,s).then(o=>he.Disposable.create(()=>{this.unregisterSingle(i,n)}),o=>(this.connection.console.info(`Registering request handler for ${n} failed.`),Promise.reject(o)))}unregisterSingle(e,r){let n={unregisterations:[{id:e,method:r}]};return this.connection.sendRequest(he.UnregistrationRequest.type,n).then(void 0,i=>{this.connection.console.info(`Un-registering request handler for ${e} failed.`)})}registerMany(e){let r=e.asRegistrationParams();return this.connection.sendRequest(he.RegistrationRequest.type,r).then(()=>new Bp(this._connection,r.registrations.map(n=>({id:n.id,method:n.method}))),n=>(this.connection.console.info("Bulk registration failed."),Promise.reject(n)))}},x3=class{constructor(){}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}applyEdit(e){function r(i){return i&&!!i.edit}let n=r(e)?e:{edit:e};return this.connection.sendRequest(he.ApplyWorkspaceEditRequest.type,n)}},Tme=Mxt.FileOperationsFeature(Rxt.WorkspaceFoldersFeature(qxt.ConfigurationFeature(x3))),fE=class{constructor(){this._trace=he.Trace.Off}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}set trace(e){this._trace=e}log(e,r){this._trace!==he.Trace.Off&&this.connection.sendNotification(he.LogTraceNotification.type,{message:e,verbose:this._trace===he.Trace.Verbose?r:void 0})}},dE=class{constructor(){}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}logEvent(e){this.connection.sendNotification(he.TelemetryEventNotification.type,e)}},pE=class{constructor(){}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}attachWorkDoneProgress(e){return Ue.attachWorkDone(this.connection,e)}attachPartialResultProgress(e,r){return Ue.attachPartialResult(this.connection,r)}};rt._LanguagesImpl=pE;var Mme=Fxt.MonikerFeature(Lxt.LinkedEditingRangeFeature(Pxt.SemanticTokensFeature(Axt.CallHierarchyFeature(pE))));function Lme(t,e){return function(r){return e(t(r))}}rt.combineConsoleFeatures=Lme;function Fme(t,e){return function(r){return e(t(r))}}rt.combineTelemetryFeatures=Fme;function Ime(t,e){return function(r){return e(t(r))}}rt.combineTracerFeatures=Ime;function Nme(t,e){return function(r){return e(t(r))}}rt.combineClientFeatures=Nme;function jme(t,e){return function(r){return e(t(r))}}rt.combineWindowFeatures=jme;function $me(t,e){return function(r){return e(t(r))}}rt.combineWorkspaceFeatures=$me;function jxt(t,e){return function(r){return e(t(r))}}rt.combineLanguagesFeatures=jxt;function $xt(t,e){function r(i,s,o){return i&&s?o(i,s):i||s}return{__brand:"features",console:r(t.console,e.console,Lme),tracer:r(t.tracer,e.tracer,Ime),telemetry:r(t.telemetry,e.telemetry,Fme),client:r(t.client,e.client,Nme),window:r(t.window,e.window,jme),workspace:r(t.workspace,e.workspace,$me)}}rt.combineFeatures=$xt;function Bxt(t,e,r){let n=r&&r.console?new(r.console(uE)):new uE,i=t(n);n.rawAttach(i);let s=r&&r.tracer?new(r.tracer(fE)):new fE,o=r&&r.telemetry?new(r.telemetry(dE)):new dE,a=r&&r.client?new(r.client(cE)):new cE,u=r&&r.window?new(r.window(Pme)):new Pme,l=r&&r.workspace?new(r.workspace(Tme)):new Tme,c=r&&r.languages?new(r.languages(Mme)):new Mme,f=[n,s,o,a,u,l,c];function d(g){return g instanceof Promise?g:Kn.thenable(g)?new Promise((b,w)=>{g.then(_=>b(_),_=>w(_))}):Promise.resolve(g)}let p,h,y,v={listen:()=>i.listen(),sendRequest:(g,...b)=>i.sendRequest(Kn.string(g)?g:g.method,...b),onRequest:(g,b)=>i.onRequest(g,b),sendNotification:(g,b)=>{let w=Kn.string(g)?g:g.method;arguments.length===1?i.sendNotification(w):i.sendNotification(w,b)},onNotification:(g,b)=>i.onNotification(g,b),onProgress:i.onProgress,sendProgress:i.sendProgress,onInitialize:g=>h=g,onInitialized:g=>i.onNotification(he.InitializedNotification.type,g),onShutdown:g=>p=g,onExit:g=>y=g,get console(){return n},get telemetry(){return o},get tracer(){return s},get client(){return a},get window(){return u},get workspace(){return l},get languages(){return c},onDidChangeConfiguration:g=>i.onNotification(he.DidChangeConfigurationNotification.type,g),onDidChangeWatchedFiles:g=>i.onNotification(he.DidChangeWatchedFilesNotification.type,g),__textDocumentSync:void 0,onDidOpenTextDocument:g=>i.onNotification(he.DidOpenTextDocumentNotification.type,g),onDidChangeTextDocument:g=>i.onNotification(he.DidChangeTextDocumentNotification.type,g),onDidCloseTextDocument:g=>i.onNotification(he.DidCloseTextDocumentNotification.type,g),onWillSaveTextDocument:g=>i.onNotification(he.WillSaveTextDocumentNotification.type,g),onWillSaveTextDocumentWaitUntil:g=>i.onRequest(he.WillSaveTextDocumentWaitUntilRequest.type,g),onDidSaveTextDocument:g=>i.onNotification(he.DidSaveTextDocumentNotification.type,g),sendDiagnostics:g=>i.sendNotification(he.PublishDiagnosticsNotification.type,g),onHover:g=>i.onRequest(he.HoverRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),void 0)),onCompletion:g=>i.onRequest(he.CompletionRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onCompletionResolve:g=>i.onRequest(he.CompletionResolveRequest.type,g),onSignatureHelp:g=>i.onRequest(he.SignatureHelpRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),void 0)),onDeclaration:g=>i.onRequest(he.DeclarationRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onDefinition:g=>i.onRequest(he.DefinitionRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onTypeDefinition:g=>i.onRequest(he.TypeDefinitionRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onImplementation:g=>i.onRequest(he.ImplementationRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onReferences:g=>i.onRequest(he.ReferencesRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onDocumentHighlight:g=>i.onRequest(he.DocumentHighlightRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onDocumentSymbol:g=>i.onRequest(he.DocumentSymbolRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onWorkspaceSymbol:g=>i.onRequest(he.WorkspaceSymbolRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onCodeAction:g=>i.onRequest(he.CodeActionRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onCodeActionResolve:g=>i.onRequest(he.CodeActionResolveRequest.type,(b,w)=>g(b,w)),onCodeLens:g=>i.onRequest(he.CodeLensRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onCodeLensResolve:g=>i.onRequest(he.CodeLensResolveRequest.type,(b,w)=>g(b,w)),onDocumentFormatting:g=>i.onRequest(he.DocumentFormattingRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),void 0)),onDocumentRangeFormatting:g=>i.onRequest(he.DocumentRangeFormattingRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),void 0)),onDocumentOnTypeFormatting:g=>i.onRequest(he.DocumentOnTypeFormattingRequest.type,(b,w)=>g(b,w)),onRenameRequest:g=>i.onRequest(he.RenameRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),void 0)),onPrepareRename:g=>i.onRequest(he.PrepareRenameRequest.type,(b,w)=>g(b,w)),onDocumentLinks:g=>i.onRequest(he.DocumentLinkRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onDocumentLinkResolve:g=>i.onRequest(he.DocumentLinkResolveRequest.type,(b,w)=>g(b,w)),onDocumentColor:g=>i.onRequest(he.DocumentColorRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onColorPresentation:g=>i.onRequest(he.ColorPresentationRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onFoldingRanges:g=>i.onRequest(he.FoldingRangeRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onSelectionRanges:g=>i.onRequest(he.SelectionRangeRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onExecuteCommand:g=>i.onRequest(he.ExecuteCommandRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),void 0)),dispose:()=>i.dispose()};for(let g of f)g.attach(v);return i.onRequest(he.InitializeRequest.type,g=>{e.initialize(g),Kn.string(g.trace)&&(s.trace=he.Trace.fromString(g.trace));for(let b of f)b.initialize(g.capabilities);if(h){let b=h(g,new he.CancellationTokenSource().token,Ue.attachWorkDone(i,g),void 0);return d(b).then(w=>{if(w instanceof he.ResponseError)return w;let _=w;_||(_={capabilities:{}});let S=_.capabilities;S||(S={},_.capabilities=S),S.textDocumentSync===void 0||S.textDocumentSync===null?S.textDocumentSync=Kn.number(v.__textDocumentSync)?v.__textDocumentSync:he.TextDocumentSyncKind.None:!Kn.number(S.textDocumentSync)&&!Kn.number(S.textDocumentSync.change)&&(S.textDocumentSync.change=Kn.number(v.__textDocumentSync)?v.__textDocumentSync:he.TextDocumentSyncKind.None);for(let q of f)q.fillServerCapabilities(S);return _})}else{let b={capabilities:{textDocumentSync:he.TextDocumentSyncKind.None}};for(let w of f)w.fillServerCapabilities(b.capabilities);return b}}),i.onRequest(he.ShutdownRequest.type,()=>{if(e.shutdownReceived=!0,p)return p(new he.CancellationTokenSource().token)}),i.onNotification(he.ExitNotification.type,()=>{try{y&&y()}finally{e.shutdownReceived?e.exit(0):e.exit(1)}}),i.onNotification(he.SetTraceNotification.type,g=>{s.trace=he.Trace.fromString(g.value)}),v}rt.createConnection=Bxt});var Wme=m(Jr=>{"use strict";Object.defineProperty(Jr,"__esModule",{value:!0});Jr.resolveModulePath=Jr.FileSystem=Jr.resolveGlobalYarnPath=Jr.resolveGlobalNodePath=Jr.resolve=Jr.uriToFilePath=void 0;var Wxt=require("url"),mi=require("path"),k3=require("fs"),D3=require("child_process");function zxt(t){let e=Wxt.parse(t);if(e.protocol!=="file:"||!e.path)return;let r=e.path.split("/");for(var n=0,i=r.length;n<i;n++)r[n]=decodeURIComponent(r[n]);if(process.platform==="win32"&&r.length>1){let s=r[0],o=r[1];s.length===0&&o.length>1&&o[1]===":"&&r.shift()}return mi.normalize(r.join("/"))}Jr.uriToFilePath=zxt;function E3(){return process.platform==="win32"}function hE(t,e,r,n){let i="NODE_PATH",s=["var p = process;","p.on('message',function(m){","if(m.c==='e'){","p.exit(0);","}","else if(m.c==='rs'){","try{","var r=require.resolve(m.a);","p.send({c:'r',s:true,r:r});","}","catch(err){","p.send({c:'r',s:false});","}","}","});"].join("");return new Promise((o,a)=>{let u=process.env,l=Object.create(null);Object.keys(u).forEach(c=>l[c]=u[c]),e&&k3.existsSync(e)&&(l[i]?l[i]=e+mi.delimiter+l[i]:l[i]=e,n&&n(`NODE_PATH value is: ${l[i]}`)),l.ELECTRON_RUN_AS_NODE="1";try{let c=D3.fork("",[],{cwd:r,env:l,execArgv:["-e",s]});if(c.pid===void 0){a(new Error(`Starting process to resolve node module ${t} failed`));return}c.on("error",d=>{a(d)}),c.on("message",d=>{d.c==="r"&&(c.send({c:"e"}),d.s?o(d.r):a(new Error(`Failed to resolve module: ${t}`)))});let f={c:"rs",a:t};c.send(f)}catch(c){a(c)}})}Jr.resolve=hE;function C3(t){let e="npm",r=Object.create(null);Object.keys(process.env).forEach(s=>r[s]=process.env[s]),r.NO_UPDATE_NOTIFIER="true";let n={encoding:"utf8",env:r};E3()&&(e="npm.cmd",n.shell=!0);let i=()=>{};try{process.on("SIGPIPE",i);let s=D3.spawnSync(e,["config","get","prefix"],n).stdout;if(!s){t&&t("'npm config get prefix' didn't return a value.");return}let o=s.trim();return t&&t(`'npm config get prefix' value is: ${o}`),o.length>0?E3()?mi.join(o,"node_modules"):mi.join(o,"lib","node_modules"):void 0}catch{return}finally{process.removeListener("SIGPIPE",i)}}Jr.resolveGlobalNodePath=C3;function Uxt(t){let e="yarn",r={encoding:"utf8"};E3()&&(e="yarn.cmd",r.shell=!0);let n=()=>{};try{process.on("SIGPIPE",n);let i=D3.spawnSync(e,["global","dir","--json"],r),s=i.stdout;if(!s){t&&(t("'yarn global dir' didn't return a value."),i.stderr&&t(i.stderr));return}let o=s.trim().split(/\r?\n/);for(let a of o)try{let u=JSON.parse(a);if(u.type==="log")return mi.join(u.data,"node_modules")}catch{}return}catch{return}finally{process.removeListener("SIGPIPE",n)}}Jr.resolveGlobalYarnPath=Uxt;var Bme;(function(t){let e;function r(){return e!==void 0||(process.platform==="win32"?e=!1:e=!k3.existsSync(__filename.toUpperCase())||!k3.existsSync(__filename.toLowerCase())),e}t.isCaseSensitive=r;function n(i,s){return r()?mi.normalize(s).indexOf(mi.normalize(i))===0:mi.normalize(s).toLowerCase().indexOf(mi.normalize(i).toLowerCase())===0}t.isParent=n})(Bme=Jr.FileSystem||(Jr.FileSystem={}));function Hxt(t,e,r,n){return r?(mi.isAbsolute(r)||(r=mi.join(t,r)),hE(e,r,r,n).then(i=>Bme.isParent(r,i)?i:Promise.reject(new Error(`Failed to load ${e} from node path location.`))).then(void 0,i=>hE(e,C3(n),t,n))):hE(e,C3(n),t,n)}Jr.resolveModulePath=Hxt});var O3=m((kjt,zme)=>{"use strict";zme.exports=En()});var Hme=m(Cn=>{"use strict";var Vxt=Cn&&Cn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Ume=Cn&&Cn.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Vxt(e,t,r)};Object.defineProperty(Cn,"__esModule",{value:!0});Cn.ProposedFeatures=Cn.SemanticTokensBuilder=void 0;var Gxt=m3();Object.defineProperty(Cn,"SemanticTokensBuilder",{enumerable:!0,get:function(){return Gxt.SemanticTokensBuilder}});Ume(En(),Cn);Ume(S3(),Cn);var Kxt;(function(t){t.all={__brand:"features"}})(Kxt=Cn.ProposedFeatures||(Cn.ProposedFeatures={}))});var R3=m(Dn=>{"use strict";var Yxt=Dn&&Dn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Gme=Dn&&Dn.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Yxt(e,t,r)};Object.defineProperty(Dn,"__esModule",{value:!0});Dn.createConnection=Dn.Files=void 0;var q3=Fk(),Qxt=S3(),Wp=Wme(),Wa=O3();Gme(O3(),Dn);Gme(Hme(),Dn);var Jxt;(function(t){t.uriToFilePath=Wp.uriToFilePath,t.resolveGlobalNodePath=Wp.resolveGlobalNodePath,t.resolveGlobalYarnPath=Wp.resolveGlobalYarnPath,t.resolve=Wp.resolve,t.resolveModulePath=Wp.resolveModulePath})(Jxt=Dn.Files||(Dn.Files={}));var Vme;function gE(){if(Vme!==void 0)try{Vme.end()}catch{}}var Jl=!1,Kme;function Xxt(){let t="--clientProcessId";function e(r){try{let n=parseInt(r);isNaN(n)||(Kme=setInterval(()=>{try{process.kill(n,0)}catch{gE(),process.exit(Jl?0:1)}},3e3))}catch{}}for(let r=2;r<process.argv.length;r++){let n=process.argv[r];if(n===t&&r+1<process.argv.length){e(process.argv[r+1]);return}else{let i=n.split("=");i[0]===t&&e(i[1])}}}Xxt();var Zxt={initialize:t=>{let e=t.processId;q3.number(e)&&Kme===void 0&&setInterval(()=>{try{process.kill(e,0)}catch{process.exit(Jl?0:1)}},3e3)},get shutdownReceived(){return Jl},set shutdownReceived(t){Jl=t},exit:t=>{gE(),process.exit(t)}};function e1t(t,e,r,n){let i,s,o,a;return t!==void 0&&t.__brand==="features"&&(i=t,t=e,e=r,r=n),Wa.ConnectionStrategy.is(t)||Wa.ConnectionOptions.is(t)?a=t:(s=t,o=e,a=r),t1t(s,o,a,i)}Dn.createConnection=e1t;function t1t(t,e,r,n){if(!t&&!e&&process.argv.length>2){let a,u,l=process.argv.slice(2);for(let c=0;c<l.length;c++){let f=l[c];if(f==="--node-ipc"){t=new Wa.IPCMessageReader(process),e=new Wa.IPCMessageWriter(process);break}else if(f==="--stdio"){t=process.stdin,e=process.stdout;break}else if(f==="--socket"){a=parseInt(l[c+1]);break}else if(f==="--pipe"){u=l[c+1];break}else{var i=f.split("=");if(i[0]==="--socket"){a=parseInt(i[1]);break}else if(i[0]==="--pipe"){u=i[1];break}}}if(a){let c=Wa.createServerSocketTransport(a);t=c[0],e=c[1]}else if(u){let c=Wa.createServerPipeTransport(u);t=c[0],e=c[1]}}var s="Use arguments of createConnection or set command line parameters: '--node-ipc', '--stdio' or '--socket={number}'";if(!t)throw new Error("Connection input stream is not set. "+s);if(!e)throw new Error("Connection output stream is not set. "+s);if(q3.func(t.read)&&q3.func(t.on)){let a=t;a.on("end",()=>{gE(),process.exit(Jl?0:1)}),a.on("close",()=>{gE(),process.exit(Jl?0:1)})}let o=a=>Wa.createProtocolConnection(t,e,a,r);return Qxt.createConnection(o,Zxt,n)}});var zp=m((Djt,Yme)=>{"use strict";Yme.exports=R3()});var Jme=m((Ojt,Qme)=>{"use strict";var mE=require("path");function r1t(t){if(typeof t!="string"||t.length<=7||t.substring(0,7)!=="file://")throw new TypeError("must pass in a file:// URI to convert to a file path");let e=decodeURI(t.substring(7)),r=e.indexOf("/"),n=e.substring(0,r),i=e.substring(r+1);return n==="localhost"&&(n=""),n&&(n=mE.sep+mE.sep+n),i=i.replace(/^(.+)\|/,"$1:"),mE.sep==="\\"&&(i=i.replace(/\//g,"\\")),/^.+:/.test(i)||(i=mE.sep+i),n+i}Qme.exports=r1t});var Zme=m((qjt,Xme)=>{var n1t=typeof process=="object"&&process&&process.platform==="win32";Xme.exports=n1t?{sep:"\\"}:{sep:"/"}});var aye=m((Rjt,oye)=>{var eye=$g();oye.exports=o1t;var tye="\0SLASH"+Math.random()+"\0",rye="\0OPEN"+Math.random()+"\0",P3="\0CLOSE"+Math.random()+"\0",nye="\0COMMA"+Math.random()+"\0",iye="\0PERIOD"+Math.random()+"\0";function A3(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function i1t(t){return t.split("\\\\").join(tye).split("\\{").join(rye).split("\\}").join(P3).split("\\,").join(nye).split("\\.").join(iye)}function s1t(t){return t.split(tye).join("\\").split(rye).join("{").split(P3).join("}").split(nye).join(",").split(iye).join(".")}function sye(t){if(!t)return[""];var e=[],r=eye("{","}",t);if(!r)return t.split(",");var n=r.pre,i=r.body,s=r.post,o=n.split(",");o[o.length-1]+="{"+i+"}";var a=sye(s);return s.length&&(o[o.length-1]+=a.shift(),o.push.apply(o,a)),e.push.apply(e,o),e}function o1t(t){return t?(t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),Up(i1t(t),!0).map(s1t)):[]}function a1t(t){return"{"+t+"}"}function u1t(t){return/^-?0\d/.test(t)}function l1t(t,e){return t<=e}function c1t(t,e){return t>=e}function Up(t,e){var r=[],n=eye("{","}",t);if(!n)return[t];var i=n.pre,s=n.post.length?Up(n.post,!1):[""];if(/\$$/.test(n.pre))for(var o=0;o<s.length;o++){var a=i+"{"+n.body+"}"+s[o];r.push(a)}else{var u=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),l=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),c=u||l,f=n.body.indexOf(",")>=0;if(!c&&!f)return n.post.match(/,.*\}/)?(t=n.pre+"{"+n.body+P3+n.post,Up(t)):[t];var d;if(c)d=n.body.split(/\.\./);else if(d=sye(n.body),d.length===1&&(d=Up(d[0],!1).map(a1t),d.length===1))return s.map(function(z){return n.pre+d[0]+z});var p;if(c){var h=A3(d[0]),y=A3(d[1]),v=Math.max(d[0].length,d[1].length),g=d.length==3?Math.abs(A3(d[2])):1,b=l1t,w=y<h;w&&(g*=-1,b=c1t);var _=d.some(u1t);p=[];for(var S=h;b(S,y);S+=g){var q;if(l)q=String.fromCharCode(S),q==="\\"&&(q="");else if(q=String(S),_){var C=v-q.length;if(C>0){var R=new Array(C+1).join("0");S<0?q="-"+R+q.slice(1):q=R+q}}p.push(q)}}else{p=[];for(var O=0;O<d.length;O++)p.push.apply(p,Up(d[O],!1))}for(var O=0;O<p.length;O++)for(var o=0;o<s.length;o++){var a=i+p[O]+s[o];(!e||c||a)&&r.push(a)}}return r}});var pye=m((Pjt,I3)=>{var On=I3.exports=(t,e,r={})=>(yE(e),!r.nocomment&&e.charAt(0)==="#"?!1:new Xl(e,r).match(t));I3.exports=On;var L3=Zme();On.sep=L3.sep;var yi=Symbol("globstar **");On.GLOBSTAR=yi;var f1t=aye(),uye={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},F3="[^/]",T3=F3+"*?",d1t="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",p1t="(?:(?!(?:\\/|^)\\.).)*?",fye=t=>t.split("").reduce((e,r)=>(e[r]=!0,e),{}),lye=fye("().*{}+?[]^$\\!"),h1t=fye("[.("),cye=/\/+/;On.filter=(t,e={})=>(r,n,i)=>On(r,t,e);var wo=(t,e={})=>{let r={};return Object.keys(t).forEach(n=>r[n]=t[n]),Object.keys(e).forEach(n=>r[n]=e[n]),r};On.defaults=t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return On;let e=On,r=(n,i,s)=>e(n,i,wo(t,s));return r.Minimatch=class extends e.Minimatch{constructor(i,s){super(i,wo(t,s))}},r.Minimatch.defaults=n=>e.defaults(wo(t,n)).Minimatch,r.filter=(n,i)=>e.filter(n,wo(t,i)),r.defaults=n=>e.defaults(wo(t,n)),r.makeRe=(n,i)=>e.makeRe(n,wo(t,i)),r.braceExpand=(n,i)=>e.braceExpand(n,wo(t,i)),r.match=(n,i,s)=>e.match(n,i,wo(t,s)),r};On.braceExpand=(t,e)=>dye(t,e);var dye=(t,e={})=>(yE(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:f1t(t)),g1t=1024*64,yE=t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>g1t)throw new TypeError("pattern is too long")},M3=Symbol("subparse");On.makeRe=(t,e)=>new Xl(t,e||{}).makeRe();On.match=(t,e,r={})=>{let n=new Xl(e,r);return t=t.filter(i=>n.match(i)),n.options.nonull&&!t.length&&t.push(e),t};var m1t=t=>t.replace(/\\(.)/g,"$1"),y1t=t=>t.replace(/\\([^-\]])/g,"$1"),b1t=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),v1t=t=>t.replace(/[[\]\\]/g,"\\$&"),Xl=class{constructor(e,r){yE(e),r||(r={}),this.options=r,this.set=[],this.pattern=e,this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.make()}debug(){}make(){let e=this.pattern,r=this.options;if(!r.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate();let n=this.globSet=this.braceExpand();r.debug&&(this.debug=(...i)=>console.error(...i)),this.debug(this.pattern,n),n=this.globParts=n.map(i=>i.split(cye)),this.debug(this.pattern,n),n=n.map((i,s,o)=>i.map(this.parse,this)),this.debug(this.pattern,n),n=n.filter(i=>i.indexOf(!1)===-1),this.debug(this.pattern,n),this.set=n}parseNegate(){if(this.options.nonegate)return;let e=this.pattern,r=!1,n=0;for(let i=0;i<e.length&&e.charAt(i)==="!";i++)r=!r,n++;n&&(this.pattern=e.slice(n)),this.negate=r}matchOne(e,r,n){var i=this.options;this.debug("matchOne",{this:this,file:e,pattern:r}),this.debug("matchOne",e.length,r.length);for(var s=0,o=0,a=e.length,u=r.length;s<a&&o<u;s++,o++){this.debug("matchOne loop");var l=r[o],c=e[s];if(this.debug(r,l,c),l===!1)return!1;if(l===yi){this.debug("GLOBSTAR",[r,l,c]);var f=s,d=o+1;if(d===u){for(this.debug("** at the end");s<a;s++)if(e[s]==="."||e[s]===".."||!i.dot&&e[s].charAt(0)===".")return!1;return!0}for(;f<a;){var p=e[f];if(this.debug(`
|
|
426
|
+
`&&k++}D&&W.length>0&&T.push(W.length),this._lineOffsets=T}return this._lineOffsets},E.prototype.positionAt=function(T){T=Math.max(Math.min(T,this._content.length),0);var W=this.getLineOffsets(),D=0,k=W.length;if(k===0)return i.create(0,T);for(;D<k;){var H=Math.floor((D+k)/2);W[H]>T?k=H:D=H+1}var Y=D-1;return i.create(Y,T-W[Y])},E.prototype.offsetAt=function(T){var W=this.getLineOffsets();if(T.line>=W.length)return this._content.length;if(T.line<0)return 0;var D=W[T.line],k=T.line+1<W.length?W[T.line+1]:this._content.length;return Math.max(Math.min(D+T.character,k),D)},Object.defineProperty(E.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),E}(),P;(function(E){var T=Object.prototype.toString;function W(Je){return typeof Je<"u"}E.defined=W;function D(Je){return typeof Je>"u"}E.undefined=D;function k(Je){return Je===!0||Je===!1}E.boolean=k;function H(Je){return T.call(Je)==="[object String]"}E.string=H;function Y(Je){return T.call(Je)==="[object Number]"}E.number=Y;function ye(Je,Ya,lh){return T.call(Je)==="[object Number]"&&Ya<=Je&&Je<=lh}E.numberRange=ye;function De(Je){return T.call(Je)==="[object Number]"&&-2147483648<=Je&&Je<=2147483647}E.integer=De;function He(Je){return T.call(Je)==="[object Number]"&&0<=Je&&Je<=2147483647}E.uinteger=He;function bt(Je){return T.call(Je)==="[object Function]"}E.func=bt;function tr(Je){return Je!==null&&typeof Je=="object"}E.objectLiteral=tr;function sr(Je,Ya){return Array.isArray(Je)&&Je.every(Ya)}E.typedArray=sr})(P||(P={}))})});var mr=m(Vn=>{"use strict";Object.defineProperty(Vn,"__esModule",{value:!0});Vn.ProtocolNotificationType=Vn.ProtocolNotificationType0=Vn.ProtocolRequestType=Vn.ProtocolRequestType0=Vn.RegistrationType=void 0;var Gl=Vl(),t3=class{constructor(e){this.method=e}};Vn.RegistrationType=t3;var r3=class extends Gl.RequestType0{constructor(e){super(e)}};Vn.ProtocolRequestType0=r3;var n3=class extends Gl.RequestType{constructor(e){super(e,Gl.ParameterStructures.byName)}};Vn.ProtocolRequestType=n3;var i3=class extends Gl.NotificationType0{constructor(e){super(e)}};Vn.ProtocolNotificationType0=i3;var s3=class extends Gl.NotificationType{constructor(e){super(e,Gl.ParameterStructures.byName)}};Vn.ProtocolNotificationType=s3});var Kge=m(er=>{"use strict";Object.defineProperty(er,"__esModule",{value:!0});er.objectLiteral=er.typedArray=er.stringArray=er.array=er.func=er.error=er.number=er.string=er.boolean=void 0;function Uvt(t){return t===!0||t===!1}er.boolean=Uvt;function Vge(t){return typeof t=="string"||t instanceof String}er.string=Vge;function Hvt(t){return typeof t=="number"||t instanceof Number}er.number=Hvt;function Vvt(t){return t instanceof Error}er.error=Vvt;function Gvt(t){return typeof t=="function"}er.func=Gvt;function Gge(t){return Array.isArray(t)}er.array=Gge;function Kvt(t){return Gge(t)&&t.every(e=>Vge(e))}er.stringArray=Kvt;function Yvt(t,e){return Array.isArray(t)&&t.every(e)}er.typedArray=Yvt;function Qvt(t){return t!==null&&typeof t=="object"}er.objectLiteral=Qvt});var Yge=m(Ap=>{"use strict";Object.defineProperty(Ap,"__esModule",{value:!0});Ap.ImplementationRequest=void 0;var Jvt=mr(),Xvt;(function(t){t.method="textDocument/implementation",t.type=new Jvt.ProtocolRequestType(t.method)})(Xvt=Ap.ImplementationRequest||(Ap.ImplementationRequest={}))});var Qge=m(Pp=>{"use strict";Object.defineProperty(Pp,"__esModule",{value:!0});Pp.TypeDefinitionRequest=void 0;var Zvt=mr(),ewt;(function(t){t.method="textDocument/typeDefinition",t.type=new Zvt.ProtocolRequestType(t.method)})(ewt=Pp.TypeDefinitionRequest||(Pp.TypeDefinitionRequest={}))});var Xge=m(ho=>{"use strict";Object.defineProperty(ho,"__esModule",{value:!0});ho.DidChangeWorkspaceFoldersNotification=ho.WorkspaceFoldersRequest=void 0;var Jge=mr(),twt;(function(t){t.type=new Jge.ProtocolRequestType0("workspace/workspaceFolders")})(twt=ho.WorkspaceFoldersRequest||(ho.WorkspaceFoldersRequest={}));var rwt;(function(t){t.type=new Jge.ProtocolNotificationType("workspace/didChangeWorkspaceFolders")})(rwt=ho.DidChangeWorkspaceFoldersNotification||(ho.DidChangeWorkspaceFoldersNotification={}))});var Zge=m(Tp=>{"use strict";Object.defineProperty(Tp,"__esModule",{value:!0});Tp.ConfigurationRequest=void 0;var nwt=mr(),iwt;(function(t){t.type=new nwt.ProtocolRequestType("workspace/configuration")})(iwt=Tp.ConfigurationRequest||(Tp.ConfigurationRequest={}))});var tme=m(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});go.ColorPresentationRequest=go.DocumentColorRequest=void 0;var eme=mr(),swt;(function(t){t.method="textDocument/documentColor",t.type=new eme.ProtocolRequestType(t.method)})(swt=go.DocumentColorRequest||(go.DocumentColorRequest={}));var owt;(function(t){t.type=new eme.ProtocolRequestType("textDocument/colorPresentation")})(owt=go.ColorPresentationRequest||(go.ColorPresentationRequest={}))});var rme=m(mo=>{"use strict";Object.defineProperty(mo,"__esModule",{value:!0});mo.FoldingRangeRequest=mo.FoldingRangeKind=void 0;var awt=mr(),uwt;(function(t){t.Comment="comment",t.Imports="imports",t.Region="region"})(uwt=mo.FoldingRangeKind||(mo.FoldingRangeKind={}));var lwt;(function(t){t.method="textDocument/foldingRange",t.type=new awt.ProtocolRequestType(t.method)})(lwt=mo.FoldingRangeRequest||(mo.FoldingRangeRequest={}))});var nme=m(Mp=>{"use strict";Object.defineProperty(Mp,"__esModule",{value:!0});Mp.DeclarationRequest=void 0;var cwt=mr(),fwt;(function(t){t.method="textDocument/declaration",t.type=new cwt.ProtocolRequestType(t.method)})(fwt=Mp.DeclarationRequest||(Mp.DeclarationRequest={}))});var ime=m(Lp=>{"use strict";Object.defineProperty(Lp,"__esModule",{value:!0});Lp.SelectionRangeRequest=void 0;var dwt=mr(),pwt;(function(t){t.method="textDocument/selectionRange",t.type=new dwt.ProtocolRequestType(t.method)})(pwt=Lp.SelectionRangeRequest||(Lp.SelectionRangeRequest={}))});var ome=m(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});pi.WorkDoneProgressCancelNotification=pi.WorkDoneProgressCreateRequest=pi.WorkDoneProgress=void 0;var hwt=Vl(),sme=mr(),gwt;(function(t){t.type=new hwt.ProgressType;function e(r){return r===t.type}t.is=e})(gwt=pi.WorkDoneProgress||(pi.WorkDoneProgress={}));var mwt;(function(t){t.type=new sme.ProtocolRequestType("window/workDoneProgress/create")})(mwt=pi.WorkDoneProgressCreateRequest||(pi.WorkDoneProgressCreateRequest={}));var ywt;(function(t){t.type=new sme.ProtocolNotificationType("window/workDoneProgress/cancel")})(ywt=pi.WorkDoneProgressCancelNotification||(pi.WorkDoneProgressCancelNotification={}))});var ame=m(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});hi.CallHierarchyOutgoingCallsRequest=hi.CallHierarchyIncomingCallsRequest=hi.CallHierarchyPrepareRequest=void 0;var o3=mr(),bwt;(function(t){t.method="textDocument/prepareCallHierarchy",t.type=new o3.ProtocolRequestType(t.method)})(bwt=hi.CallHierarchyPrepareRequest||(hi.CallHierarchyPrepareRequest={}));var vwt;(function(t){t.method="callHierarchy/incomingCalls",t.type=new o3.ProtocolRequestType(t.method)})(vwt=hi.CallHierarchyIncomingCallsRequest||(hi.CallHierarchyIncomingCallsRequest={}));var wwt;(function(t){t.method="callHierarchy/outgoingCalls",t.type=new o3.ProtocolRequestType(t.method)})(wwt=hi.CallHierarchyOutgoingCallsRequest||(hi.CallHierarchyOutgoingCallsRequest={}))});var ume=m(ft=>{"use strict";Object.defineProperty(ft,"__esModule",{value:!0});ft.SemanticTokensRefreshRequest=ft.SemanticTokensRangeRequest=ft.SemanticTokensDeltaRequest=ft.SemanticTokensRequest=ft.SemanticTokensRegistrationType=ft.TokenFormat=ft.SemanticTokens=ft.SemanticTokenModifiers=ft.SemanticTokenTypes=void 0;var Fp=mr(),_wt;(function(t){t.namespace="namespace",t.type="type",t.class="class",t.enum="enum",t.interface="interface",t.struct="struct",t.typeParameter="typeParameter",t.parameter="parameter",t.variable="variable",t.property="property",t.enumMember="enumMember",t.event="event",t.function="function",t.method="method",t.macro="macro",t.keyword="keyword",t.modifier="modifier",t.comment="comment",t.string="string",t.number="number",t.regexp="regexp",t.operator="operator"})(_wt=ft.SemanticTokenTypes||(ft.SemanticTokenTypes={}));var xwt;(function(t){t.declaration="declaration",t.definition="definition",t.readonly="readonly",t.static="static",t.deprecated="deprecated",t.abstract="abstract",t.async="async",t.modification="modification",t.documentation="documentation",t.defaultLibrary="defaultLibrary"})(xwt=ft.SemanticTokenModifiers||(ft.SemanticTokenModifiers={}));var Swt;(function(t){function e(r){let n=r;return n!==void 0&&(n.resultId===void 0||typeof n.resultId=="string")&&Array.isArray(n.data)&&(n.data.length===0||typeof n.data[0]=="number")}t.is=e})(Swt=ft.SemanticTokens||(ft.SemanticTokens={}));var kwt;(function(t){t.Relative="relative"})(kwt=ft.TokenFormat||(ft.TokenFormat={}));var Ewt;(function(t){t.method="textDocument/semanticTokens",t.type=new Fp.RegistrationType(t.method)})(Ewt=ft.SemanticTokensRegistrationType||(ft.SemanticTokensRegistrationType={}));var Cwt;(function(t){t.method="textDocument/semanticTokens/full",t.type=new Fp.ProtocolRequestType(t.method)})(Cwt=ft.SemanticTokensRequest||(ft.SemanticTokensRequest={}));var Dwt;(function(t){t.method="textDocument/semanticTokens/full/delta",t.type=new Fp.ProtocolRequestType(t.method)})(Dwt=ft.SemanticTokensDeltaRequest||(ft.SemanticTokensDeltaRequest={}));var Owt;(function(t){t.method="textDocument/semanticTokens/range",t.type=new Fp.ProtocolRequestType(t.method)})(Owt=ft.SemanticTokensRangeRequest||(ft.SemanticTokensRangeRequest={}));var qwt;(function(t){t.method="workspace/semanticTokens/refresh",t.type=new Fp.ProtocolRequestType0(t.method)})(qwt=ft.SemanticTokensRefreshRequest||(ft.SemanticTokensRefreshRequest={}))});var lme=m(Ip=>{"use strict";Object.defineProperty(Ip,"__esModule",{value:!0});Ip.ShowDocumentRequest=void 0;var Rwt=mr(),Awt;(function(t){t.method="window/showDocument",t.type=new Rwt.ProtocolRequestType(t.method)})(Awt=Ip.ShowDocumentRequest||(Ip.ShowDocumentRequest={}))});var cme=m(Np=>{"use strict";Object.defineProperty(Np,"__esModule",{value:!0});Np.LinkedEditingRangeRequest=void 0;var Pwt=mr(),Twt;(function(t){t.method="textDocument/linkedEditingRange",t.type=new Pwt.ProtocolRequestType(t.method)})(Twt=Np.LinkedEditingRangeRequest||(Np.LinkedEditingRangeRequest={}))});var fme=m(Wt=>{"use strict";Object.defineProperty(Wt,"__esModule",{value:!0});Wt.WillDeleteFilesRequest=Wt.DidDeleteFilesNotification=Wt.DidRenameFilesNotification=Wt.WillRenameFilesRequest=Wt.DidCreateFilesNotification=Wt.WillCreateFilesRequest=Wt.FileOperationPatternKind=void 0;var Kl=mr(),Mwt;(function(t){t.file="file",t.folder="folder"})(Mwt=Wt.FileOperationPatternKind||(Wt.FileOperationPatternKind={}));var Lwt;(function(t){t.method="workspace/willCreateFiles",t.type=new Kl.ProtocolRequestType(t.method)})(Lwt=Wt.WillCreateFilesRequest||(Wt.WillCreateFilesRequest={}));var Fwt;(function(t){t.method="workspace/didCreateFiles",t.type=new Kl.ProtocolNotificationType(t.method)})(Fwt=Wt.DidCreateFilesNotification||(Wt.DidCreateFilesNotification={}));var Iwt;(function(t){t.method="workspace/willRenameFiles",t.type=new Kl.ProtocolRequestType(t.method)})(Iwt=Wt.WillRenameFilesRequest||(Wt.WillRenameFilesRequest={}));var Nwt;(function(t){t.method="workspace/didRenameFiles",t.type=new Kl.ProtocolNotificationType(t.method)})(Nwt=Wt.DidRenameFilesNotification||(Wt.DidRenameFilesNotification={}));var jwt;(function(t){t.method="workspace/didDeleteFiles",t.type=new Kl.ProtocolNotificationType(t.method)})(jwt=Wt.DidDeleteFilesNotification||(Wt.DidDeleteFilesNotification={}));var $wt;(function(t){t.method="workspace/willDeleteFiles",t.type=new Kl.ProtocolRequestType(t.method)})($wt=Wt.WillDeleteFilesRequest||(Wt.WillDeleteFilesRequest={}))});var dme=m(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});gi.MonikerRequest=gi.MonikerKind=gi.UniquenessLevel=void 0;var Bwt=mr(),Wwt;(function(t){t.document="document",t.project="project",t.group="group",t.scheme="scheme",t.global="global"})(Wwt=gi.UniquenessLevel||(gi.UniquenessLevel={}));var zwt;(function(t){t.import="import",t.export="export",t.local="local"})(zwt=gi.MonikerKind||(gi.MonikerKind={}));var Uwt;(function(t){t.method="textDocument/moniker",t.type=new Bwt.ProtocolRequestType(t.method)})(Uwt=gi.MonikerRequest||(gi.MonikerRequest={}))});var yme=m(A=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0});A.DocumentLinkRequest=A.CodeLensRefreshRequest=A.CodeLensResolveRequest=A.CodeLensRequest=A.WorkspaceSymbolRequest=A.CodeActionResolveRequest=A.CodeActionRequest=A.DocumentSymbolRequest=A.DocumentHighlightRequest=A.ReferencesRequest=A.DefinitionRequest=A.SignatureHelpRequest=A.SignatureHelpTriggerKind=A.HoverRequest=A.CompletionResolveRequest=A.CompletionRequest=A.CompletionTriggerKind=A.PublishDiagnosticsNotification=A.WatchKind=A.FileChangeType=A.DidChangeWatchedFilesNotification=A.WillSaveTextDocumentWaitUntilRequest=A.WillSaveTextDocumentNotification=A.TextDocumentSaveReason=A.DidSaveTextDocumentNotification=A.DidCloseTextDocumentNotification=A.DidChangeTextDocumentNotification=A.TextDocumentContentChangeEvent=A.DidOpenTextDocumentNotification=A.TextDocumentSyncKind=A.TelemetryEventNotification=A.LogMessageNotification=A.ShowMessageRequest=A.ShowMessageNotification=A.MessageType=A.DidChangeConfigurationNotification=A.ExitNotification=A.ShutdownRequest=A.InitializedNotification=A.InitializeError=A.InitializeRequest=A.WorkDoneProgressOptions=A.TextDocumentRegistrationOptions=A.StaticRegistrationOptions=A.FailureHandlingKind=A.ResourceOperationKind=A.UnregistrationRequest=A.RegistrationRequest=A.DocumentSelector=A.DocumentFilter=void 0;A.MonikerRequest=A.MonikerKind=A.UniquenessLevel=A.WillDeleteFilesRequest=A.DidDeleteFilesNotification=A.WillRenameFilesRequest=A.DidRenameFilesNotification=A.WillCreateFilesRequest=A.DidCreateFilesNotification=A.FileOperationPatternKind=A.LinkedEditingRangeRequest=A.ShowDocumentRequest=A.SemanticTokensRegistrationType=A.SemanticTokensRefreshRequest=A.SemanticTokensRangeRequest=A.SemanticTokensDeltaRequest=A.SemanticTokensRequest=A.TokenFormat=A.SemanticTokens=A.SemanticTokenModifiers=A.SemanticTokenTypes=A.CallHierarchyPrepareRequest=A.CallHierarchyOutgoingCallsRequest=A.CallHierarchyIncomingCallsRequest=A.WorkDoneProgressCancelNotification=A.WorkDoneProgressCreateRequest=A.WorkDoneProgress=A.SelectionRangeRequest=A.DeclarationRequest=A.FoldingRangeRequest=A.ColorPresentationRequest=A.DocumentColorRequest=A.ConfigurationRequest=A.DidChangeWorkspaceFoldersNotification=A.WorkspaceFoldersRequest=A.TypeDefinitionRequest=A.ImplementationRequest=A.ApplyWorkspaceEditRequest=A.ExecuteCommandRequest=A.PrepareRenameRequest=A.RenameRequest=A.PrepareSupportDefaultBehavior=A.DocumentOnTypeFormattingRequest=A.DocumentRangeFormattingRequest=A.DocumentFormattingRequest=A.DocumentLinkResolveRequest=void 0;var yo=Kge(),ze=mr(),Hwt=Yge();Object.defineProperty(A,"ImplementationRequest",{enumerable:!0,get:function(){return Hwt.ImplementationRequest}});var Vwt=Qge();Object.defineProperty(A,"TypeDefinitionRequest",{enumerable:!0,get:function(){return Vwt.TypeDefinitionRequest}});var pme=Xge();Object.defineProperty(A,"WorkspaceFoldersRequest",{enumerable:!0,get:function(){return pme.WorkspaceFoldersRequest}});Object.defineProperty(A,"DidChangeWorkspaceFoldersNotification",{enumerable:!0,get:function(){return pme.DidChangeWorkspaceFoldersNotification}});var Gwt=Zge();Object.defineProperty(A,"ConfigurationRequest",{enumerable:!0,get:function(){return Gwt.ConfigurationRequest}});var hme=tme();Object.defineProperty(A,"DocumentColorRequest",{enumerable:!0,get:function(){return hme.DocumentColorRequest}});Object.defineProperty(A,"ColorPresentationRequest",{enumerable:!0,get:function(){return hme.ColorPresentationRequest}});var Kwt=rme();Object.defineProperty(A,"FoldingRangeRequest",{enumerable:!0,get:function(){return Kwt.FoldingRangeRequest}});var Ywt=nme();Object.defineProperty(A,"DeclarationRequest",{enumerable:!0,get:function(){return Ywt.DeclarationRequest}});var Qwt=ime();Object.defineProperty(A,"SelectionRangeRequest",{enumerable:!0,get:function(){return Qwt.SelectionRangeRequest}});var a3=ome();Object.defineProperty(A,"WorkDoneProgress",{enumerable:!0,get:function(){return a3.WorkDoneProgress}});Object.defineProperty(A,"WorkDoneProgressCreateRequest",{enumerable:!0,get:function(){return a3.WorkDoneProgressCreateRequest}});Object.defineProperty(A,"WorkDoneProgressCancelNotification",{enumerable:!0,get:function(){return a3.WorkDoneProgressCancelNotification}});var u3=ame();Object.defineProperty(A,"CallHierarchyIncomingCallsRequest",{enumerable:!0,get:function(){return u3.CallHierarchyIncomingCallsRequest}});Object.defineProperty(A,"CallHierarchyOutgoingCallsRequest",{enumerable:!0,get:function(){return u3.CallHierarchyOutgoingCallsRequest}});Object.defineProperty(A,"CallHierarchyPrepareRequest",{enumerable:!0,get:function(){return u3.CallHierarchyPrepareRequest}});var Ss=ume();Object.defineProperty(A,"SemanticTokenTypes",{enumerable:!0,get:function(){return Ss.SemanticTokenTypes}});Object.defineProperty(A,"SemanticTokenModifiers",{enumerable:!0,get:function(){return Ss.SemanticTokenModifiers}});Object.defineProperty(A,"SemanticTokens",{enumerable:!0,get:function(){return Ss.SemanticTokens}});Object.defineProperty(A,"TokenFormat",{enumerable:!0,get:function(){return Ss.TokenFormat}});Object.defineProperty(A,"SemanticTokensRequest",{enumerable:!0,get:function(){return Ss.SemanticTokensRequest}});Object.defineProperty(A,"SemanticTokensDeltaRequest",{enumerable:!0,get:function(){return Ss.SemanticTokensDeltaRequest}});Object.defineProperty(A,"SemanticTokensRangeRequest",{enumerable:!0,get:function(){return Ss.SemanticTokensRangeRequest}});Object.defineProperty(A,"SemanticTokensRefreshRequest",{enumerable:!0,get:function(){return Ss.SemanticTokensRefreshRequest}});Object.defineProperty(A,"SemanticTokensRegistrationType",{enumerable:!0,get:function(){return Ss.SemanticTokensRegistrationType}});var Jwt=lme();Object.defineProperty(A,"ShowDocumentRequest",{enumerable:!0,get:function(){return Jwt.ShowDocumentRequest}});var Xwt=cme();Object.defineProperty(A,"LinkedEditingRangeRequest",{enumerable:!0,get:function(){return Xwt.LinkedEditingRangeRequest}});var Ba=fme();Object.defineProperty(A,"FileOperationPatternKind",{enumerable:!0,get:function(){return Ba.FileOperationPatternKind}});Object.defineProperty(A,"DidCreateFilesNotification",{enumerable:!0,get:function(){return Ba.DidCreateFilesNotification}});Object.defineProperty(A,"WillCreateFilesRequest",{enumerable:!0,get:function(){return Ba.WillCreateFilesRequest}});Object.defineProperty(A,"DidRenameFilesNotification",{enumerable:!0,get:function(){return Ba.DidRenameFilesNotification}});Object.defineProperty(A,"WillRenameFilesRequest",{enumerable:!0,get:function(){return Ba.WillRenameFilesRequest}});Object.defineProperty(A,"DidDeleteFilesNotification",{enumerable:!0,get:function(){return Ba.DidDeleteFilesNotification}});Object.defineProperty(A,"WillDeleteFilesRequest",{enumerable:!0,get:function(){return Ba.WillDeleteFilesRequest}});var l3=dme();Object.defineProperty(A,"UniquenessLevel",{enumerable:!0,get:function(){return l3.UniquenessLevel}});Object.defineProperty(A,"MonikerKind",{enumerable:!0,get:function(){return l3.MonikerKind}});Object.defineProperty(A,"MonikerRequest",{enumerable:!0,get:function(){return l3.MonikerRequest}});var gme;(function(t){function e(r){let n=r;return yo.string(n.language)||yo.string(n.scheme)||yo.string(n.pattern)}t.is=e})(gme=A.DocumentFilter||(A.DocumentFilter={}));var mme;(function(t){function e(r){if(!Array.isArray(r))return!1;for(let n of r)if(!yo.string(n)&&!gme.is(n))return!1;return!0}t.is=e})(mme=A.DocumentSelector||(A.DocumentSelector={}));var Zwt;(function(t){t.type=new ze.ProtocolRequestType("client/registerCapability")})(Zwt=A.RegistrationRequest||(A.RegistrationRequest={}));var e_t;(function(t){t.type=new ze.ProtocolRequestType("client/unregisterCapability")})(e_t=A.UnregistrationRequest||(A.UnregistrationRequest={}));var t_t;(function(t){t.Create="create",t.Rename="rename",t.Delete="delete"})(t_t=A.ResourceOperationKind||(A.ResourceOperationKind={}));var r_t;(function(t){t.Abort="abort",t.Transactional="transactional",t.TextOnlyTransactional="textOnlyTransactional",t.Undo="undo"})(r_t=A.FailureHandlingKind||(A.FailureHandlingKind={}));var n_t;(function(t){function e(r){let n=r;return n&&yo.string(n.id)&&n.id.length>0}t.hasId=e})(n_t=A.StaticRegistrationOptions||(A.StaticRegistrationOptions={}));var i_t;(function(t){function e(r){let n=r;return n&&(n.documentSelector===null||mme.is(n.documentSelector))}t.is=e})(i_t=A.TextDocumentRegistrationOptions||(A.TextDocumentRegistrationOptions={}));var s_t;(function(t){function e(n){let i=n;return yo.objectLiteral(i)&&(i.workDoneProgress===void 0||yo.boolean(i.workDoneProgress))}t.is=e;function r(n){let i=n;return i&&yo.boolean(i.workDoneProgress)}t.hasWorkDoneProgress=r})(s_t=A.WorkDoneProgressOptions||(A.WorkDoneProgressOptions={}));var o_t;(function(t){t.type=new ze.ProtocolRequestType("initialize")})(o_t=A.InitializeRequest||(A.InitializeRequest={}));var a_t;(function(t){t.unknownProtocolVersion=1})(a_t=A.InitializeError||(A.InitializeError={}));var u_t;(function(t){t.type=new ze.ProtocolNotificationType("initialized")})(u_t=A.InitializedNotification||(A.InitializedNotification={}));var l_t;(function(t){t.type=new ze.ProtocolRequestType0("shutdown")})(l_t=A.ShutdownRequest||(A.ShutdownRequest={}));var c_t;(function(t){t.type=new ze.ProtocolNotificationType0("exit")})(c_t=A.ExitNotification||(A.ExitNotification={}));var f_t;(function(t){t.type=new ze.ProtocolNotificationType("workspace/didChangeConfiguration")})(f_t=A.DidChangeConfigurationNotification||(A.DidChangeConfigurationNotification={}));var d_t;(function(t){t.Error=1,t.Warning=2,t.Info=3,t.Log=4})(d_t=A.MessageType||(A.MessageType={}));var p_t;(function(t){t.type=new ze.ProtocolNotificationType("window/showMessage")})(p_t=A.ShowMessageNotification||(A.ShowMessageNotification={}));var h_t;(function(t){t.type=new ze.ProtocolRequestType("window/showMessageRequest")})(h_t=A.ShowMessageRequest||(A.ShowMessageRequest={}));var g_t;(function(t){t.type=new ze.ProtocolNotificationType("window/logMessage")})(g_t=A.LogMessageNotification||(A.LogMessageNotification={}));var m_t;(function(t){t.type=new ze.ProtocolNotificationType("telemetry/event")})(m_t=A.TelemetryEventNotification||(A.TelemetryEventNotification={}));var y_t;(function(t){t.None=0,t.Full=1,t.Incremental=2})(y_t=A.TextDocumentSyncKind||(A.TextDocumentSyncKind={}));var b_t;(function(t){t.method="textDocument/didOpen",t.type=new ze.ProtocolNotificationType(t.method)})(b_t=A.DidOpenTextDocumentNotification||(A.DidOpenTextDocumentNotification={}));var v_t;(function(t){function e(n){let i=n;return i!=null&&typeof i.text=="string"&&i.range!==void 0&&(i.rangeLength===void 0||typeof i.rangeLength=="number")}t.isIncremental=e;function r(n){let i=n;return i!=null&&typeof i.text=="string"&&i.range===void 0&&i.rangeLength===void 0}t.isFull=r})(v_t=A.TextDocumentContentChangeEvent||(A.TextDocumentContentChangeEvent={}));var w_t;(function(t){t.method="textDocument/didChange",t.type=new ze.ProtocolNotificationType(t.method)})(w_t=A.DidChangeTextDocumentNotification||(A.DidChangeTextDocumentNotification={}));var __t;(function(t){t.method="textDocument/didClose",t.type=new ze.ProtocolNotificationType(t.method)})(__t=A.DidCloseTextDocumentNotification||(A.DidCloseTextDocumentNotification={}));var x_t;(function(t){t.method="textDocument/didSave",t.type=new ze.ProtocolNotificationType(t.method)})(x_t=A.DidSaveTextDocumentNotification||(A.DidSaveTextDocumentNotification={}));var S_t;(function(t){t.Manual=1,t.AfterDelay=2,t.FocusOut=3})(S_t=A.TextDocumentSaveReason||(A.TextDocumentSaveReason={}));var k_t;(function(t){t.method="textDocument/willSave",t.type=new ze.ProtocolNotificationType(t.method)})(k_t=A.WillSaveTextDocumentNotification||(A.WillSaveTextDocumentNotification={}));var E_t;(function(t){t.method="textDocument/willSaveWaitUntil",t.type=new ze.ProtocolRequestType(t.method)})(E_t=A.WillSaveTextDocumentWaitUntilRequest||(A.WillSaveTextDocumentWaitUntilRequest={}));var C_t;(function(t){t.type=new ze.ProtocolNotificationType("workspace/didChangeWatchedFiles")})(C_t=A.DidChangeWatchedFilesNotification||(A.DidChangeWatchedFilesNotification={}));var D_t;(function(t){t.Created=1,t.Changed=2,t.Deleted=3})(D_t=A.FileChangeType||(A.FileChangeType={}));var O_t;(function(t){t.Create=1,t.Change=2,t.Delete=4})(O_t=A.WatchKind||(A.WatchKind={}));var q_t;(function(t){t.type=new ze.ProtocolNotificationType("textDocument/publishDiagnostics")})(q_t=A.PublishDiagnosticsNotification||(A.PublishDiagnosticsNotification={}));var R_t;(function(t){t.Invoked=1,t.TriggerCharacter=2,t.TriggerForIncompleteCompletions=3})(R_t=A.CompletionTriggerKind||(A.CompletionTriggerKind={}));var A_t;(function(t){t.method="textDocument/completion",t.type=new ze.ProtocolRequestType(t.method)})(A_t=A.CompletionRequest||(A.CompletionRequest={}));var P_t;(function(t){t.method="completionItem/resolve",t.type=new ze.ProtocolRequestType(t.method)})(P_t=A.CompletionResolveRequest||(A.CompletionResolveRequest={}));var T_t;(function(t){t.method="textDocument/hover",t.type=new ze.ProtocolRequestType(t.method)})(T_t=A.HoverRequest||(A.HoverRequest={}));var M_t;(function(t){t.Invoked=1,t.TriggerCharacter=2,t.ContentChange=3})(M_t=A.SignatureHelpTriggerKind||(A.SignatureHelpTriggerKind={}));var L_t;(function(t){t.method="textDocument/signatureHelp",t.type=new ze.ProtocolRequestType(t.method)})(L_t=A.SignatureHelpRequest||(A.SignatureHelpRequest={}));var F_t;(function(t){t.method="textDocument/definition",t.type=new ze.ProtocolRequestType(t.method)})(F_t=A.DefinitionRequest||(A.DefinitionRequest={}));var I_t;(function(t){t.method="textDocument/references",t.type=new ze.ProtocolRequestType(t.method)})(I_t=A.ReferencesRequest||(A.ReferencesRequest={}));var N_t;(function(t){t.method="textDocument/documentHighlight",t.type=new ze.ProtocolRequestType(t.method)})(N_t=A.DocumentHighlightRequest||(A.DocumentHighlightRequest={}));var j_t;(function(t){t.method="textDocument/documentSymbol",t.type=new ze.ProtocolRequestType(t.method)})(j_t=A.DocumentSymbolRequest||(A.DocumentSymbolRequest={}));var $_t;(function(t){t.method="textDocument/codeAction",t.type=new ze.ProtocolRequestType(t.method)})($_t=A.CodeActionRequest||(A.CodeActionRequest={}));var B_t;(function(t){t.method="codeAction/resolve",t.type=new ze.ProtocolRequestType(t.method)})(B_t=A.CodeActionResolveRequest||(A.CodeActionResolveRequest={}));var W_t;(function(t){t.method="workspace/symbol",t.type=new ze.ProtocolRequestType(t.method)})(W_t=A.WorkspaceSymbolRequest||(A.WorkspaceSymbolRequest={}));var z_t;(function(t){t.method="textDocument/codeLens",t.type=new ze.ProtocolRequestType(t.method)})(z_t=A.CodeLensRequest||(A.CodeLensRequest={}));var U_t;(function(t){t.method="codeLens/resolve",t.type=new ze.ProtocolRequestType(t.method)})(U_t=A.CodeLensResolveRequest||(A.CodeLensResolveRequest={}));var H_t;(function(t){t.method="workspace/codeLens/refresh",t.type=new ze.ProtocolRequestType0(t.method)})(H_t=A.CodeLensRefreshRequest||(A.CodeLensRefreshRequest={}));var V_t;(function(t){t.method="textDocument/documentLink",t.type=new ze.ProtocolRequestType(t.method)})(V_t=A.DocumentLinkRequest||(A.DocumentLinkRequest={}));var G_t;(function(t){t.method="documentLink/resolve",t.type=new ze.ProtocolRequestType(t.method)})(G_t=A.DocumentLinkResolveRequest||(A.DocumentLinkResolveRequest={}));var K_t;(function(t){t.method="textDocument/formatting",t.type=new ze.ProtocolRequestType(t.method)})(K_t=A.DocumentFormattingRequest||(A.DocumentFormattingRequest={}));var Y_t;(function(t){t.method="textDocument/rangeFormatting",t.type=new ze.ProtocolRequestType(t.method)})(Y_t=A.DocumentRangeFormattingRequest||(A.DocumentRangeFormattingRequest={}));var Q_t;(function(t){t.method="textDocument/onTypeFormatting",t.type=new ze.ProtocolRequestType(t.method)})(Q_t=A.DocumentOnTypeFormattingRequest||(A.DocumentOnTypeFormattingRequest={}));var J_t;(function(t){t.Identifier=1})(J_t=A.PrepareSupportDefaultBehavior||(A.PrepareSupportDefaultBehavior={}));var X_t;(function(t){t.method="textDocument/rename",t.type=new ze.ProtocolRequestType(t.method)})(X_t=A.RenameRequest||(A.RenameRequest={}));var Z_t;(function(t){t.method="textDocument/prepareRename",t.type=new ze.ProtocolRequestType(t.method)})(Z_t=A.PrepareRenameRequest||(A.PrepareRenameRequest={}));var ext;(function(t){t.type=new ze.ProtocolRequestType("workspace/executeCommand")})(ext=A.ExecuteCommandRequest||(A.ExecuteCommandRequest={}));var txt;(function(t){t.type=new ze.ProtocolRequestType("workspace/applyEdit")})(txt=A.ApplyWorkspaceEditRequest||(A.ApplyWorkspaceEditRequest={}))});var vme=m(Qk=>{"use strict";Object.defineProperty(Qk,"__esModule",{value:!0});Qk.createProtocolConnection=void 0;var bme=Vl();function rxt(t,e,r,n){return bme.ConnectionStrategy.is(n)&&(n={connectionStrategy:n}),bme.createMessageConnection(t,e,r,n)}Qk.createProtocolConnection=rxt});var wme=m(Qr=>{"use strict";var nxt=Qr&&Qr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Jk=Qr&&Qr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&nxt(e,t,r)};Object.defineProperty(Qr,"__esModule",{value:!0});Qr.LSPErrorCodes=Qr.createProtocolConnection=void 0;Jk(Vl(),Qr);Jk(Hge(),Qr);Jk(mr(),Qr);Jk(yme(),Qr);var ixt=vme();Object.defineProperty(Qr,"createProtocolConnection",{enumerable:!0,get:function(){return ixt.createProtocolConnection}});var sxt;(function(t){t.lspReservedErrorRangeStart=-32899,t.ContentModified=-32801,t.RequestCancelled=-32800,t.lspReservedErrorRangeEnd=-32800})(sxt=Qr.LSPErrorCodes||(Qr.LSPErrorCodes={}))});var En=m(Hi=>{"use strict";var oxt=Hi&&Hi.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),_me=Hi&&Hi.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&oxt(e,t,r)};Object.defineProperty(Hi,"__esModule",{value:!0});Hi.createProtocolConnection=void 0;var axt=e3();_me(e3(),Hi);_me(wme(),Hi);function uxt(t,e,r,n){return axt.createMessageConnection(t,e,r,n)}Hi.createProtocolConnection=uxt});var c3=m(Gn=>{"use strict";Object.defineProperty(Gn,"__esModule",{value:!0});Gn.generateUuid=Gn.parse=Gn.isUUID=Gn.v4=Gn.empty=void 0;var jp=class{constructor(e){this._value=e}asHex(){return this._value}equals(e){return this.asHex()===e.asHex()}},Ge=class extends jp{constructor(){super([Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),"-",Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),"-","4",Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),"-",Ge._oneOf(Ge._timeHighBits),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),"-",Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex()].join(""))}static _oneOf(e){return e[Math.floor(e.length*Math.random())]}static _randomHex(){return Ge._oneOf(Ge._chars)}};Ge._chars=["0","1","2","3","4","5","6","6","7","8","9","a","b","c","d","e","f"];Ge._timeHighBits=["8","9","a","b"];Gn.empty=new jp("00000000-0000-0000-0000-000000000000");function xme(){return new Ge}Gn.v4=xme;var lxt=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;function Sme(t){return lxt.test(t)}Gn.isUUID=Sme;function cxt(t){if(!Sme(t))throw new Error("invalid uuid");return new jp(t)}Gn.parse=cxt;function fxt(){return xme().asHex()}Gn.generateUuid=fxt});var kme=m(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});vo.attachPartialResult=vo.ProgressFeature=vo.attachWorkDone=void 0;var bo=En(),dxt=c3(),Vi=class{constructor(e,r){this._connection=e,this._token=r,Vi.Instances.set(this._token,this)}begin(e,r,n,i){let s={kind:"begin",title:e,percentage:r,message:n,cancellable:i};this._connection.sendProgress(bo.WorkDoneProgress.type,this._token,s)}report(e,r){let n={kind:"report"};typeof e=="number"?(n.percentage=e,r!==void 0&&(n.message=r)):n.message=e,this._connection.sendProgress(bo.WorkDoneProgress.type,this._token,n)}done(){Vi.Instances.delete(this._token),this._connection.sendProgress(bo.WorkDoneProgress.type,this._token,{kind:"end"})}};Vi.Instances=new Map;var Xk=class extends Vi{constructor(e,r){super(e,r),this._source=new bo.CancellationTokenSource}get token(){return this._source.token}done(){this._source.dispose(),super.done()}cancel(){this._source.cancel()}},$p=class{constructor(){}begin(){}report(){}done(){}},Zk=class extends $p{constructor(){super(),this._source=new bo.CancellationTokenSource}get token(){return this._source.token}done(){this._source.dispose()}cancel(){this._source.cancel()}};function pxt(t,e){if(e===void 0||e.workDoneToken===void 0)return new $p;let r=e.workDoneToken;return delete e.workDoneToken,new Vi(t,r)}vo.attachWorkDone=pxt;var hxt=t=>class extends t{constructor(){super(),this._progressSupported=!1}initialize(e){var r;((r=e?.window)===null||r===void 0?void 0:r.workDoneProgress)===!0&&(this._progressSupported=!0,this.connection.onNotification(bo.WorkDoneProgressCancelNotification.type,n=>{let i=Vi.Instances.get(n.token);(i instanceof Xk||i instanceof Zk)&&i.cancel()}))}attachWorkDoneProgress(e){return e===void 0?new $p:new Vi(this.connection,e)}createWorkDoneProgress(){if(this._progressSupported){let e=dxt.generateUuid();return this.connection.sendRequest(bo.WorkDoneProgressCreateRequest.type,{token:e}).then(()=>new Xk(this.connection,e))}else return Promise.resolve(new Zk)}};vo.ProgressFeature=hxt;var f3;(function(t){t.type=new bo.ProgressType})(f3||(f3={}));var d3=class{constructor(e,r){this._connection=e,this._token=r}report(e){this._connection.sendProgress(f3.type,this._token,e)}};function gxt(t,e){if(e===void 0||e.partialResultToken===void 0)return;let r=e.partialResultToken;return delete e.partialResultToken,new d3(t,r)}vo.attachPartialResult=gxt});var Eme=m(eE=>{"use strict";Object.defineProperty(eE,"__esModule",{value:!0});eE.ConfigurationFeature=void 0;var mxt=En(),yxt=Fk(),bxt=t=>class extends t{getConfiguration(e){return e?yxt.string(e)?this._getConfiguration({section:e}):this._getConfiguration(e):this._getConfiguration({})}_getConfiguration(e){let r={items:Array.isArray(e)?e:[e]};return this.connection.sendRequest(mxt.ConfigurationRequest.type,r).then(n=>Array.isArray(e)?n:n[0])}};eE.ConfigurationFeature=bxt});var Cme=m(rE=>{"use strict";Object.defineProperty(rE,"__esModule",{value:!0});rE.WorkspaceFoldersFeature=void 0;var tE=En(),vxt=t=>class extends t{initialize(e){let r=e.workspace;r&&r.workspaceFolders&&(this._onDidChangeWorkspaceFolders=new tE.Emitter,this.connection.onNotification(tE.DidChangeWorkspaceFoldersNotification.type,n=>{this._onDidChangeWorkspaceFolders.fire(n.event)}))}getWorkspaceFolders(){return this.connection.sendRequest(tE.WorkspaceFoldersRequest.type)}get onDidChangeWorkspaceFolders(){if(!this._onDidChangeWorkspaceFolders)throw new Error("Client doesn't support sending workspace folder change events.");return this._unregistration||(this._unregistration=this.connection.client.register(tE.DidChangeWorkspaceFoldersNotification.type)),this._onDidChangeWorkspaceFolders.event}};rE.WorkspaceFoldersFeature=vxt});var Dme=m(nE=>{"use strict";Object.defineProperty(nE,"__esModule",{value:!0});nE.CallHierarchyFeature=void 0;var p3=En(),wxt=t=>class extends t{get callHierarchy(){return{onPrepare:e=>{this.connection.onRequest(p3.CallHierarchyPrepareRequest.type,(r,n)=>e(r,n,this.attachWorkDoneProgress(r),void 0))},onIncomingCalls:e=>{let r=p3.CallHierarchyIncomingCallsRequest.type;this.connection.onRequest(r,(n,i)=>e(n,i,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(r,n)))},onOutgoingCalls:e=>{let r=p3.CallHierarchyOutgoingCallsRequest.type;this.connection.onRequest(r,(n,i)=>e(n,i,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(r,n)))}}}};nE.CallHierarchyFeature=wxt});var m3=m(Yl=>{"use strict";Object.defineProperty(Yl,"__esModule",{value:!0});Yl.SemanticTokensBuilder=Yl.SemanticTokensFeature=void 0;var h3=En(),_xt=t=>class extends t{get semanticTokens(){return{on:e=>{let r=h3.SemanticTokensRequest.type;this.connection.onRequest(r,(n,i)=>e(n,i,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(r,n)))},onDelta:e=>{let r=h3.SemanticTokensDeltaRequest.type;this.connection.onRequest(r,(n,i)=>e(n,i,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(r,n)))},onRange:e=>{let r=h3.SemanticTokensRangeRequest.type;this.connection.onRequest(r,(n,i)=>e(n,i,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(r,n)))}}}};Yl.SemanticTokensFeature=_xt;var g3=class{constructor(){this._prevData=void 0,this.initialize()}initialize(){this._id=Date.now(),this._prevLine=0,this._prevChar=0,this._data=[],this._dataLen=0}push(e,r,n,i,s){let o=e,a=r;this._dataLen>0&&(o-=this._prevLine,o===0&&(a-=this._prevChar)),this._data[this._dataLen++]=o,this._data[this._dataLen++]=a,this._data[this._dataLen++]=n,this._data[this._dataLen++]=i,this._data[this._dataLen++]=s,this._prevLine=e,this._prevChar=r}get id(){return this._id.toString()}previousResult(e){this.id===e&&(this._prevData=this._data),this.initialize()}build(){return this._prevData=void 0,{resultId:this.id,data:this._data}}canBuildEdits(){return this._prevData!==void 0}buildEdits(){if(this._prevData!==void 0){let e=this._prevData.length,r=this._data.length,n=0;for(;n<r&&n<e&&this._prevData[n]===this._data[n];)n++;if(n<r&&n<e){let i=0;for(;i<r&&i<e&&this._prevData[e-1-i]===this._data[r-1-i];)i++;let s=this._data.slice(n,r-i);return{resultId:this.id,edits:[{start:n,deleteCount:e-i-n,data:s}]}}else return n<r?{resultId:this.id,edits:[{start:n,deleteCount:0,data:this._data.slice(n)}]}:n<e?{resultId:this.id,edits:[{start:n,deleteCount:e-n}]}:{resultId:this.id,edits:[]}}else return this.build()}};Yl.SemanticTokensBuilder=g3});var Ome=m(iE=>{"use strict";Object.defineProperty(iE,"__esModule",{value:!0});iE.ShowDocumentFeature=void 0;var xxt=En(),Sxt=t=>class extends t{showDocument(e){return this.connection.sendRequest(xxt.ShowDocumentRequest.type,e)}};iE.ShowDocumentFeature=Sxt});var qme=m(sE=>{"use strict";Object.defineProperty(sE,"__esModule",{value:!0});sE.FileOperationsFeature=void 0;var Ql=En(),kxt=t=>class extends t{onDidCreateFiles(e){this.connection.onNotification(Ql.DidCreateFilesNotification.type,r=>{e(r)})}onDidRenameFiles(e){this.connection.onNotification(Ql.DidRenameFilesNotification.type,r=>{e(r)})}onDidDeleteFiles(e){this.connection.onNotification(Ql.DidDeleteFilesNotification.type,r=>{e(r)})}onWillCreateFiles(e){return this.connection.onRequest(Ql.WillCreateFilesRequest.type,(r,n)=>e(r,n))}onWillRenameFiles(e){return this.connection.onRequest(Ql.WillRenameFilesRequest.type,(r,n)=>e(r,n))}onWillDeleteFiles(e){return this.connection.onRequest(Ql.WillDeleteFilesRequest.type,(r,n)=>e(r,n))}};sE.FileOperationsFeature=kxt});var Rme=m(oE=>{"use strict";Object.defineProperty(oE,"__esModule",{value:!0});oE.LinkedEditingRangeFeature=void 0;var Ext=En(),Cxt=t=>class extends t{onLinkedEditingRange(e){this.connection.onRequest(Ext.LinkedEditingRangeRequest.type,(r,n)=>e(r,n,this.attachWorkDoneProgress(r),void 0))}};oE.LinkedEditingRangeFeature=Cxt});var Ame=m(aE=>{"use strict";Object.defineProperty(aE,"__esModule",{value:!0});aE.MonikerFeature=void 0;var Dxt=En(),Oxt=t=>class extends t{get moniker(){return{on:e=>{let r=Dxt.MonikerRequest.type;this.connection.onRequest(r,(n,i)=>e(n,i,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(r,n)))}}}};aE.MonikerFeature=Oxt});var S3=m(rt=>{"use strict";Object.defineProperty(rt,"__esModule",{value:!0});rt.createConnection=rt.combineFeatures=rt.combineLanguagesFeatures=rt.combineWorkspaceFeatures=rt.combineWindowFeatures=rt.combineClientFeatures=rt.combineTracerFeatures=rt.combineTelemetryFeatures=rt.combineConsoleFeatures=rt._LanguagesImpl=rt.BulkUnregistration=rt.BulkRegistration=rt.ErrorMessageTracker=rt.TextDocuments=void 0;var he=En(),Kn=Fk(),b3=c3(),Ue=kme(),qxt=Eme(),Rxt=Cme(),Axt=Dme(),Pxt=m3(),Txt=Ome(),Mxt=qme(),Lxt=Rme(),Fxt=Ame();function y3(t){if(t!==null)return t}var v3=class{constructor(e){this._documents=Object.create(null),this._configuration=e,this._onDidChangeContent=new he.Emitter,this._onDidOpen=new he.Emitter,this._onDidClose=new he.Emitter,this._onDidSave=new he.Emitter,this._onWillSave=new he.Emitter}get onDidChangeContent(){return this._onDidChangeContent.event}get onDidOpen(){return this._onDidOpen.event}get onWillSave(){return this._onWillSave.event}onWillSaveWaitUntil(e){this._willSaveWaitUntil=e}get onDidSave(){return this._onDidSave.event}get onDidClose(){return this._onDidClose.event}get(e){return this._documents[e]}all(){return Object.keys(this._documents).map(e=>this._documents[e])}keys(){return Object.keys(this._documents)}listen(e){e.__textDocumentSync=he.TextDocumentSyncKind.Full,e.onDidOpenTextDocument(r=>{let n=r.textDocument,i=this._configuration.create(n.uri,n.languageId,n.version,n.text);this._documents[n.uri]=i;let s=Object.freeze({document:i});this._onDidOpen.fire(s),this._onDidChangeContent.fire(s)}),e.onDidChangeTextDocument(r=>{let n=r.textDocument,i=r.contentChanges;if(i.length===0)return;let s=this._documents[n.uri],{version:o}=n;if(o==null)throw new Error(`Received document change event for ${n.uri} without valid version identifier`);s=this._configuration.update(s,i,o),this._documents[n.uri]=s,this._onDidChangeContent.fire(Object.freeze({document:s}))}),e.onDidCloseTextDocument(r=>{let n=this._documents[r.textDocument.uri];n&&(delete this._documents[r.textDocument.uri],this._onDidClose.fire(Object.freeze({document:n})))}),e.onWillSaveTextDocument(r=>{let n=this._documents[r.textDocument.uri];n&&this._onWillSave.fire(Object.freeze({document:n,reason:r.reason}))}),e.onWillSaveTextDocumentWaitUntil((r,n)=>{let i=this._documents[r.textDocument.uri];return i&&this._willSaveWaitUntil?this._willSaveWaitUntil(Object.freeze({document:i,reason:r.reason}),n):[]}),e.onDidSaveTextDocument(r=>{let n=this._documents[r.textDocument.uri];n&&this._onDidSave.fire(Object.freeze({document:n}))})}};rt.TextDocuments=v3;var w3=class{constructor(){this._messages=Object.create(null)}add(e){let r=this._messages[e];r||(r=0),r++,this._messages[e]=r}sendErrors(e){Object.keys(this._messages).forEach(r=>{e.window.showErrorMessage(r)})}};rt.ErrorMessageTracker=w3;var uE=class{constructor(){}rawAttach(e){this._rawConnection=e}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}fillServerCapabilities(e){}initialize(e){}error(e){this.send(he.MessageType.Error,e)}warn(e){this.send(he.MessageType.Warning,e)}info(e){this.send(he.MessageType.Info,e)}log(e){this.send(he.MessageType.Log,e)}send(e,r){this._rawConnection&&this._rawConnection.sendNotification(he.LogMessageNotification.type,{type:e,message:r})}},_3=class{constructor(){}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}showErrorMessage(e,...r){let n={type:he.MessageType.Error,message:e,actions:r};return this.connection.sendRequest(he.ShowMessageRequest.type,n).then(y3)}showWarningMessage(e,...r){let n={type:he.MessageType.Warning,message:e,actions:r};return this.connection.sendRequest(he.ShowMessageRequest.type,n).then(y3)}showInformationMessage(e,...r){let n={type:he.MessageType.Info,message:e,actions:r};return this.connection.sendRequest(he.ShowMessageRequest.type,n).then(y3)}},Pme=Txt.ShowDocumentFeature(Ue.ProgressFeature(_3)),Ixt;(function(t){function e(){return new lE}t.create=e})(Ixt=rt.BulkRegistration||(rt.BulkRegistration={}));var lE=class{constructor(){this._registrations=[],this._registered=new Set}add(e,r){let n=Kn.string(e)?e:e.method;if(this._registered.has(n))throw new Error(`${n} is already added to this registration`);let i=b3.generateUuid();this._registrations.push({id:i,method:n,registerOptions:r||{}}),this._registered.add(n)}asRegistrationParams(){return{registrations:this._registrations}}},Nxt;(function(t){function e(){return new Bp(void 0,[])}t.create=e})(Nxt=rt.BulkUnregistration||(rt.BulkUnregistration={}));var Bp=class{constructor(e,r){this._connection=e,this._unregistrations=new Map,r.forEach(n=>{this._unregistrations.set(n.method,n)})}get isAttached(){return!!this._connection}attach(e){this._connection=e}add(e){this._unregistrations.set(e.method,e)}dispose(){let e=[];for(let n of this._unregistrations.values())e.push(n);let r={unregisterations:e};this._connection.sendRequest(he.UnregistrationRequest.type,r).then(void 0,n=>{this._connection.console.info("Bulk unregistration failed.")})}disposeSingle(e){let r=Kn.string(e)?e:e.method,n=this._unregistrations.get(r);if(!n)return!1;let i={unregisterations:[n]};return this._connection.sendRequest(he.UnregistrationRequest.type,i).then(()=>{this._unregistrations.delete(r)},s=>{this._connection.console.info(`Un-registering request handler for ${n.id} failed.`)}),!0}},cE=class{attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}register(e,r,n){return e instanceof lE?this.registerMany(e):e instanceof Bp?this.registerSingle1(e,r,n):this.registerSingle2(e,r)}registerSingle1(e,r,n){let i=Kn.string(r)?r:r.method,s=b3.generateUuid(),o={registrations:[{id:s,method:i,registerOptions:n||{}}]};return e.isAttached||e.attach(this.connection),this.connection.sendRequest(he.RegistrationRequest.type,o).then(a=>(e.add({id:s,method:i}),e),a=>(this.connection.console.info(`Registering request handler for ${i} failed.`),Promise.reject(a)))}registerSingle2(e,r){let n=Kn.string(e)?e:e.method,i=b3.generateUuid(),s={registrations:[{id:i,method:n,registerOptions:r||{}}]};return this.connection.sendRequest(he.RegistrationRequest.type,s).then(o=>he.Disposable.create(()=>{this.unregisterSingle(i,n)}),o=>(this.connection.console.info(`Registering request handler for ${n} failed.`),Promise.reject(o)))}unregisterSingle(e,r){let n={unregisterations:[{id:e,method:r}]};return this.connection.sendRequest(he.UnregistrationRequest.type,n).then(void 0,i=>{this.connection.console.info(`Un-registering request handler for ${e} failed.`)})}registerMany(e){let r=e.asRegistrationParams();return this.connection.sendRequest(he.RegistrationRequest.type,r).then(()=>new Bp(this._connection,r.registrations.map(n=>({id:n.id,method:n.method}))),n=>(this.connection.console.info("Bulk registration failed."),Promise.reject(n)))}},x3=class{constructor(){}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}applyEdit(e){function r(i){return i&&!!i.edit}let n=r(e)?e:{edit:e};return this.connection.sendRequest(he.ApplyWorkspaceEditRequest.type,n)}},Tme=Mxt.FileOperationsFeature(Rxt.WorkspaceFoldersFeature(qxt.ConfigurationFeature(x3))),fE=class{constructor(){this._trace=he.Trace.Off}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}set trace(e){this._trace=e}log(e,r){this._trace!==he.Trace.Off&&this.connection.sendNotification(he.LogTraceNotification.type,{message:e,verbose:this._trace===he.Trace.Verbose?r:void 0})}},dE=class{constructor(){}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}logEvent(e){this.connection.sendNotification(he.TelemetryEventNotification.type,e)}},pE=class{constructor(){}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}attachWorkDoneProgress(e){return Ue.attachWorkDone(this.connection,e)}attachPartialResultProgress(e,r){return Ue.attachPartialResult(this.connection,r)}};rt._LanguagesImpl=pE;var Mme=Fxt.MonikerFeature(Lxt.LinkedEditingRangeFeature(Pxt.SemanticTokensFeature(Axt.CallHierarchyFeature(pE))));function Lme(t,e){return function(r){return e(t(r))}}rt.combineConsoleFeatures=Lme;function Fme(t,e){return function(r){return e(t(r))}}rt.combineTelemetryFeatures=Fme;function Ime(t,e){return function(r){return e(t(r))}}rt.combineTracerFeatures=Ime;function Nme(t,e){return function(r){return e(t(r))}}rt.combineClientFeatures=Nme;function jme(t,e){return function(r){return e(t(r))}}rt.combineWindowFeatures=jme;function $me(t,e){return function(r){return e(t(r))}}rt.combineWorkspaceFeatures=$me;function jxt(t,e){return function(r){return e(t(r))}}rt.combineLanguagesFeatures=jxt;function $xt(t,e){function r(i,s,o){return i&&s?o(i,s):i||s}return{__brand:"features",console:r(t.console,e.console,Lme),tracer:r(t.tracer,e.tracer,Ime),telemetry:r(t.telemetry,e.telemetry,Fme),client:r(t.client,e.client,Nme),window:r(t.window,e.window,jme),workspace:r(t.workspace,e.workspace,$me)}}rt.combineFeatures=$xt;function Bxt(t,e,r){let n=r&&r.console?new(r.console(uE)):new uE,i=t(n);n.rawAttach(i);let s=r&&r.tracer?new(r.tracer(fE)):new fE,o=r&&r.telemetry?new(r.telemetry(dE)):new dE,a=r&&r.client?new(r.client(cE)):new cE,u=r&&r.window?new(r.window(Pme)):new Pme,l=r&&r.workspace?new(r.workspace(Tme)):new Tme,c=r&&r.languages?new(r.languages(Mme)):new Mme,f=[n,s,o,a,u,l,c];function d(g){return g instanceof Promise?g:Kn.thenable(g)?new Promise((b,w)=>{g.then(_=>b(_),_=>w(_))}):Promise.resolve(g)}let p,h,y,v={listen:()=>i.listen(),sendRequest:(g,...b)=>i.sendRequest(Kn.string(g)?g:g.method,...b),onRequest:(g,b)=>i.onRequest(g,b),sendNotification:(g,b)=>{let w=Kn.string(g)?g:g.method;arguments.length===1?i.sendNotification(w):i.sendNotification(w,b)},onNotification:(g,b)=>i.onNotification(g,b),onProgress:i.onProgress,sendProgress:i.sendProgress,onInitialize:g=>h=g,onInitialized:g=>i.onNotification(he.InitializedNotification.type,g),onShutdown:g=>p=g,onExit:g=>y=g,get console(){return n},get telemetry(){return o},get tracer(){return s},get client(){return a},get window(){return u},get workspace(){return l},get languages(){return c},onDidChangeConfiguration:g=>i.onNotification(he.DidChangeConfigurationNotification.type,g),onDidChangeWatchedFiles:g=>i.onNotification(he.DidChangeWatchedFilesNotification.type,g),__textDocumentSync:void 0,onDidOpenTextDocument:g=>i.onNotification(he.DidOpenTextDocumentNotification.type,g),onDidChangeTextDocument:g=>i.onNotification(he.DidChangeTextDocumentNotification.type,g),onDidCloseTextDocument:g=>i.onNotification(he.DidCloseTextDocumentNotification.type,g),onWillSaveTextDocument:g=>i.onNotification(he.WillSaveTextDocumentNotification.type,g),onWillSaveTextDocumentWaitUntil:g=>i.onRequest(he.WillSaveTextDocumentWaitUntilRequest.type,g),onDidSaveTextDocument:g=>i.onNotification(he.DidSaveTextDocumentNotification.type,g),sendDiagnostics:g=>i.sendNotification(he.PublishDiagnosticsNotification.type,g),onHover:g=>i.onRequest(he.HoverRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),void 0)),onCompletion:g=>i.onRequest(he.CompletionRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onCompletionResolve:g=>i.onRequest(he.CompletionResolveRequest.type,g),onSignatureHelp:g=>i.onRequest(he.SignatureHelpRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),void 0)),onDeclaration:g=>i.onRequest(he.DeclarationRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onDefinition:g=>i.onRequest(he.DefinitionRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onTypeDefinition:g=>i.onRequest(he.TypeDefinitionRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onImplementation:g=>i.onRequest(he.ImplementationRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onReferences:g=>i.onRequest(he.ReferencesRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onDocumentHighlight:g=>i.onRequest(he.DocumentHighlightRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onDocumentSymbol:g=>i.onRequest(he.DocumentSymbolRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onWorkspaceSymbol:g=>i.onRequest(he.WorkspaceSymbolRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onCodeAction:g=>i.onRequest(he.CodeActionRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onCodeActionResolve:g=>i.onRequest(he.CodeActionResolveRequest.type,(b,w)=>g(b,w)),onCodeLens:g=>i.onRequest(he.CodeLensRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onCodeLensResolve:g=>i.onRequest(he.CodeLensResolveRequest.type,(b,w)=>g(b,w)),onDocumentFormatting:g=>i.onRequest(he.DocumentFormattingRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),void 0)),onDocumentRangeFormatting:g=>i.onRequest(he.DocumentRangeFormattingRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),void 0)),onDocumentOnTypeFormatting:g=>i.onRequest(he.DocumentOnTypeFormattingRequest.type,(b,w)=>g(b,w)),onRenameRequest:g=>i.onRequest(he.RenameRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),void 0)),onPrepareRename:g=>i.onRequest(he.PrepareRenameRequest.type,(b,w)=>g(b,w)),onDocumentLinks:g=>i.onRequest(he.DocumentLinkRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onDocumentLinkResolve:g=>i.onRequest(he.DocumentLinkResolveRequest.type,(b,w)=>g(b,w)),onDocumentColor:g=>i.onRequest(he.DocumentColorRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onColorPresentation:g=>i.onRequest(he.ColorPresentationRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onFoldingRanges:g=>i.onRequest(he.FoldingRangeRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onSelectionRanges:g=>i.onRequest(he.SelectionRangeRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),Ue.attachPartialResult(i,b))),onExecuteCommand:g=>i.onRequest(he.ExecuteCommandRequest.type,(b,w)=>g(b,w,Ue.attachWorkDone(i,b),void 0)),dispose:()=>i.dispose()};for(let g of f)g.attach(v);return i.onRequest(he.InitializeRequest.type,g=>{e.initialize(g),Kn.string(g.trace)&&(s.trace=he.Trace.fromString(g.trace));for(let b of f)b.initialize(g.capabilities);if(h){let b=h(g,new he.CancellationTokenSource().token,Ue.attachWorkDone(i,g),void 0);return d(b).then(w=>{if(w instanceof he.ResponseError)return w;let _=w;_||(_={capabilities:{}});let S=_.capabilities;S||(S={},_.capabilities=S),S.textDocumentSync===void 0||S.textDocumentSync===null?S.textDocumentSync=Kn.number(v.__textDocumentSync)?v.__textDocumentSync:he.TextDocumentSyncKind.None:!Kn.number(S.textDocumentSync)&&!Kn.number(S.textDocumentSync.change)&&(S.textDocumentSync.change=Kn.number(v.__textDocumentSync)?v.__textDocumentSync:he.TextDocumentSyncKind.None);for(let q of f)q.fillServerCapabilities(S);return _})}else{let b={capabilities:{textDocumentSync:he.TextDocumentSyncKind.None}};for(let w of f)w.fillServerCapabilities(b.capabilities);return b}}),i.onRequest(he.ShutdownRequest.type,()=>{if(e.shutdownReceived=!0,p)return p(new he.CancellationTokenSource().token)}),i.onNotification(he.ExitNotification.type,()=>{try{y&&y()}finally{e.shutdownReceived?e.exit(0):e.exit(1)}}),i.onNotification(he.SetTraceNotification.type,g=>{s.trace=he.Trace.fromString(g.value)}),v}rt.createConnection=Bxt});var Wme=m(Jr=>{"use strict";Object.defineProperty(Jr,"__esModule",{value:!0});Jr.resolveModulePath=Jr.FileSystem=Jr.resolveGlobalYarnPath=Jr.resolveGlobalNodePath=Jr.resolve=Jr.uriToFilePath=void 0;var Wxt=require("url"),mi=require("path"),k3=require("fs"),D3=require("child_process");function zxt(t){let e=Wxt.parse(t);if(e.protocol!=="file:"||!e.path)return;let r=e.path.split("/");for(var n=0,i=r.length;n<i;n++)r[n]=decodeURIComponent(r[n]);if(process.platform==="win32"&&r.length>1){let s=r[0],o=r[1];s.length===0&&o.length>1&&o[1]===":"&&r.shift()}return mi.normalize(r.join("/"))}Jr.uriToFilePath=zxt;function E3(){return process.platform==="win32"}function hE(t,e,r,n){let i="NODE_PATH",s=["var p = process;","p.on('message',function(m){","if(m.c==='e'){","p.exit(0);","}","else if(m.c==='rs'){","try{","var r=require.resolve(m.a);","p.send({c:'r',s:true,r:r});","}","catch(err){","p.send({c:'r',s:false});","}","}","});"].join("");return new Promise((o,a)=>{let u=process.env,l=Object.create(null);Object.keys(u).forEach(c=>l[c]=u[c]),e&&k3.existsSync(e)&&(l[i]?l[i]=e+mi.delimiter+l[i]:l[i]=e,n&&n(`NODE_PATH value is: ${l[i]}`)),l.ELECTRON_RUN_AS_NODE="1";try{let c=D3.fork("",[],{cwd:r,env:l,execArgv:["-e",s]});if(c.pid===void 0){a(new Error(`Starting process to resolve node module ${t} failed`));return}c.on("error",d=>{a(d)}),c.on("message",d=>{d.c==="r"&&(c.send({c:"e"}),d.s?o(d.r):a(new Error(`Failed to resolve module: ${t}`)))});let f={c:"rs",a:t};c.send(f)}catch(c){a(c)}})}Jr.resolve=hE;function C3(t){let e="npm",r=Object.create(null);Object.keys(process.env).forEach(s=>r[s]=process.env[s]),r.NO_UPDATE_NOTIFIER="true";let n={encoding:"utf8",env:r};E3()&&(e="npm.cmd",n.shell=!0);let i=()=>{};try{process.on("SIGPIPE",i);let s=D3.spawnSync(e,["config","get","prefix"],n).stdout;if(!s){t&&t("'npm config get prefix' didn't return a value.");return}let o=s.trim();return t&&t(`'npm config get prefix' value is: ${o}`),o.length>0?E3()?mi.join(o,"node_modules"):mi.join(o,"lib","node_modules"):void 0}catch{return}finally{process.removeListener("SIGPIPE",i)}}Jr.resolveGlobalNodePath=C3;function Uxt(t){let e="yarn",r={encoding:"utf8"};E3()&&(e="yarn.cmd",r.shell=!0);let n=()=>{};try{process.on("SIGPIPE",n);let i=D3.spawnSync(e,["global","dir","--json"],r),s=i.stdout;if(!s){t&&(t("'yarn global dir' didn't return a value."),i.stderr&&t(i.stderr));return}let o=s.trim().split(/\r?\n/);for(let a of o)try{let u=JSON.parse(a);if(u.type==="log")return mi.join(u.data,"node_modules")}catch{}return}catch{return}finally{process.removeListener("SIGPIPE",n)}}Jr.resolveGlobalYarnPath=Uxt;var Bme;(function(t){let e;function r(){return e!==void 0||(process.platform==="win32"?e=!1:e=!k3.existsSync(__filename.toUpperCase())||!k3.existsSync(__filename.toLowerCase())),e}t.isCaseSensitive=r;function n(i,s){return r()?mi.normalize(s).indexOf(mi.normalize(i))===0:mi.normalize(s).toLowerCase().indexOf(mi.normalize(i).toLowerCase())===0}t.isParent=n})(Bme=Jr.FileSystem||(Jr.FileSystem={}));function Hxt(t,e,r,n){return r?(mi.isAbsolute(r)||(r=mi.join(t,r)),hE(e,r,r,n).then(i=>Bme.isParent(r,i)?i:Promise.reject(new Error(`Failed to load ${e} from node path location.`))).then(void 0,i=>hE(e,C3(n),t,n))):hE(e,C3(n),t,n)}Jr.resolveModulePath=Hxt});var O3=m((kjt,zme)=>{"use strict";zme.exports=En()});var Hme=m(Cn=>{"use strict";var Vxt=Cn&&Cn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Ume=Cn&&Cn.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Vxt(e,t,r)};Object.defineProperty(Cn,"__esModule",{value:!0});Cn.ProposedFeatures=Cn.SemanticTokensBuilder=void 0;var Gxt=m3();Object.defineProperty(Cn,"SemanticTokensBuilder",{enumerable:!0,get:function(){return Gxt.SemanticTokensBuilder}});Ume(En(),Cn);Ume(S3(),Cn);var Kxt;(function(t){t.all={__brand:"features"}})(Kxt=Cn.ProposedFeatures||(Cn.ProposedFeatures={}))});var R3=m(Dn=>{"use strict";var Yxt=Dn&&Dn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Gme=Dn&&Dn.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Yxt(e,t,r)};Object.defineProperty(Dn,"__esModule",{value:!0});Dn.createConnection=Dn.Files=void 0;var q3=Fk(),Qxt=S3(),Wp=Wme(),Wa=O3();Gme(O3(),Dn);Gme(Hme(),Dn);var Jxt;(function(t){t.uriToFilePath=Wp.uriToFilePath,t.resolveGlobalNodePath=Wp.resolveGlobalNodePath,t.resolveGlobalYarnPath=Wp.resolveGlobalYarnPath,t.resolve=Wp.resolve,t.resolveModulePath=Wp.resolveModulePath})(Jxt=Dn.Files||(Dn.Files={}));var Vme;function gE(){if(Vme!==void 0)try{Vme.end()}catch{}}var Jl=!1,Kme;function Xxt(){let t="--clientProcessId";function e(r){try{let n=parseInt(r);isNaN(n)||(Kme=setInterval(()=>{try{process.kill(n,0)}catch{gE(),process.exit(Jl?0:1)}},3e3))}catch{}}for(let r=2;r<process.argv.length;r++){let n=process.argv[r];if(n===t&&r+1<process.argv.length){e(process.argv[r+1]);return}else{let i=n.split("=");i[0]===t&&e(i[1])}}}Xxt();var Zxt={initialize:t=>{let e=t.processId;q3.number(e)&&Kme===void 0&&setInterval(()=>{try{process.kill(e,0)}catch{process.exit(Jl?0:1)}},3e3)},get shutdownReceived(){return Jl},set shutdownReceived(t){Jl=t},exit:t=>{gE(),process.exit(t)}};function e1t(t,e,r,n){let i,s,o,a;return t!==void 0&&t.__brand==="features"&&(i=t,t=e,e=r,r=n),Wa.ConnectionStrategy.is(t)||Wa.ConnectionOptions.is(t)?a=t:(s=t,o=e,a=r),t1t(s,o,a,i)}Dn.createConnection=e1t;function t1t(t,e,r,n){if(!t&&!e&&process.argv.length>2){let a,u,l=process.argv.slice(2);for(let c=0;c<l.length;c++){let f=l[c];if(f==="--node-ipc"){t=new Wa.IPCMessageReader(process),e=new Wa.IPCMessageWriter(process);break}else if(f==="--stdio"){t=process.stdin,e=process.stdout;break}else if(f==="--socket"){a=parseInt(l[c+1]);break}else if(f==="--pipe"){u=l[c+1];break}else{var i=f.split("=");if(i[0]==="--socket"){a=parseInt(i[1]);break}else if(i[0]==="--pipe"){u=i[1];break}}}if(a){let c=Wa.createServerSocketTransport(a);t=c[0],e=c[1]}else if(u){let c=Wa.createServerPipeTransport(u);t=c[0],e=c[1]}}var s="Use arguments of createConnection or set command line parameters: '--node-ipc', '--stdio' or '--socket={number}'";if(!t)throw new Error("Connection input stream is not set. "+s);if(!e)throw new Error("Connection output stream is not set. "+s);if(q3.func(t.read)&&q3.func(t.on)){let a=t;a.on("end",()=>{gE(),process.exit(Jl?0:1)}),a.on("close",()=>{gE(),process.exit(Jl?0:1)})}let o=a=>Wa.createProtocolConnection(t,e,a,r);return Qxt.createConnection(o,Zxt,n)}});var zp=m((Djt,Yme)=>{"use strict";Yme.exports=R3()});var Jme=m((Ojt,Qme)=>{"use strict";var mE=require("path");function r1t(t){if(typeof t!="string"||t.length<=7||t.substring(0,7)!=="file://")throw new TypeError("must pass in a file:// URI to convert to a file path");let e=decodeURI(t.substring(7)),r=e.indexOf("/"),n=e.substring(0,r),i=e.substring(r+1);return n==="localhost"&&(n=""),n&&(n=mE.sep+mE.sep+n),i=i.replace(/^(.+)\|/,"$1:"),mE.sep==="\\"&&(i=i.replace(/\//g,"\\")),/^.+:/.test(i)||(i=mE.sep+i),n+i}Qme.exports=r1t});var Zme=m((qjt,Xme)=>{var n1t=typeof process=="object"&&process&&process.platform==="win32";Xme.exports=n1t?{sep:"\\"}:{sep:"/"}});var aye=m((Rjt,oye)=>{var eye=$g();oye.exports=o1t;var tye="\0SLASH"+Math.random()+"\0",rye="\0OPEN"+Math.random()+"\0",P3="\0CLOSE"+Math.random()+"\0",nye="\0COMMA"+Math.random()+"\0",iye="\0PERIOD"+Math.random()+"\0";function A3(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function i1t(t){return t.split("\\\\").join(tye).split("\\{").join(rye).split("\\}").join(P3).split("\\,").join(nye).split("\\.").join(iye)}function s1t(t){return t.split(tye).join("\\").split(rye).join("{").split(P3).join("}").split(nye).join(",").split(iye).join(".")}function sye(t){if(!t)return[""];var e=[],r=eye("{","}",t);if(!r)return t.split(",");var n=r.pre,i=r.body,s=r.post,o=n.split(",");o[o.length-1]+="{"+i+"}";var a=sye(s);return s.length&&(o[o.length-1]+=a.shift(),o.push.apply(o,a)),e.push.apply(e,o),e}function o1t(t){return t?(t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),Up(i1t(t),!0).map(s1t)):[]}function a1t(t){return"{"+t+"}"}function u1t(t){return/^-?0\d/.test(t)}function l1t(t,e){return t<=e}function c1t(t,e){return t>=e}function Up(t,e){var r=[],n=eye("{","}",t);if(!n)return[t];var i=n.pre,s=n.post.length?Up(n.post,!1):[""];if(/\$$/.test(n.pre))for(var o=0;o<s.length;o++){var a=i+"{"+n.body+"}"+s[o];r.push(a)}else{var u=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),l=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),c=u||l,f=n.body.indexOf(",")>=0;if(!c&&!f)return n.post.match(/,.*\}/)?(t=n.pre+"{"+n.body+P3+n.post,Up(t)):[t];var d;if(c)d=n.body.split(/\.\./);else if(d=sye(n.body),d.length===1&&(d=Up(d[0],!1).map(a1t),d.length===1))return s.map(function(z){return n.pre+d[0]+z});var p;if(c){var h=A3(d[0]),y=A3(d[1]),v=Math.max(d[0].length,d[1].length),g=d.length==3?Math.abs(A3(d[2])):1,b=l1t,w=y<h;w&&(g*=-1,b=c1t);var _=d.some(u1t);p=[];for(var S=h;b(S,y);S+=g){var q;if(l)q=String.fromCharCode(S),q==="\\"&&(q="");else if(q=String(S),_){var C=v-q.length;if(C>0){var R=new Array(C+1).join("0");S<0?q="-"+R+q.slice(1):q=R+q}}p.push(q)}}else{p=[];for(var O=0;O<d.length;O++)p.push.apply(p,Up(d[O],!1))}for(var O=0;O<p.length;O++)for(var o=0;o<s.length;o++){var a=i+p[O]+s[o];(!e||c||a)&&r.push(a)}}return r}});var pye=m((Pjt,I3)=>{var On=I3.exports=(t,e,r={})=>(yE(e),!r.nocomment&&e.charAt(0)==="#"?!1:new Xl(e,r).match(t));I3.exports=On;var L3=Zme();On.sep=L3.sep;var yi=Symbol("globstar **");On.GLOBSTAR=yi;var f1t=aye(),uye={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},F3="[^/]",T3=F3+"*?",d1t="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",p1t="(?:(?!(?:\\/|^)\\.).)*?",fye=t=>t.split("").reduce((e,r)=>(e[r]=!0,e),{}),lye=fye("().*{}+?[]^$\\!"),h1t=fye("[.("),cye=/\/+/;On.filter=(t,e={})=>(r,n,i)=>On(r,t,e);var wo=(t,e={})=>{let r={};return Object.keys(t).forEach(n=>r[n]=t[n]),Object.keys(e).forEach(n=>r[n]=e[n]),r};On.defaults=t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return On;let e=On,r=(n,i,s)=>e(n,i,wo(t,s));return r.Minimatch=class extends e.Minimatch{constructor(i,s){super(i,wo(t,s))}},r.Minimatch.defaults=n=>e.defaults(wo(t,n)).Minimatch,r.filter=(n,i)=>e.filter(n,wo(t,i)),r.defaults=n=>e.defaults(wo(t,n)),r.makeRe=(n,i)=>e.makeRe(n,wo(t,i)),r.braceExpand=(n,i)=>e.braceExpand(n,wo(t,i)),r.match=(n,i,s)=>e.match(n,i,wo(t,s)),r};On.braceExpand=(t,e)=>dye(t,e);var dye=(t,e={})=>(yE(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:f1t(t)),g1t=1024*64,yE=t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>g1t)throw new TypeError("pattern is too long")},M3=Symbol("subparse");On.makeRe=(t,e)=>new Xl(t,e||{}).makeRe();On.match=(t,e,r={})=>{let n=new Xl(e,r);return t=t.filter(i=>n.match(i)),n.options.nonull&&!t.length&&t.push(e),t};var m1t=t=>t.replace(/\\(.)/g,"$1"),y1t=t=>t.replace(/\\([^-\]])/g,"$1"),b1t=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),v1t=t=>t.replace(/[[\]\\]/g,"\\$&"),Xl=class{constructor(e,r){yE(e),r||(r={}),this.options=r,this.set=[],this.pattern=e,this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.make()}debug(){}make(){let e=this.pattern,r=this.options;if(!r.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate();let n=this.globSet=this.braceExpand();r.debug&&(this.debug=(...i)=>console.error(...i)),this.debug(this.pattern,n),n=this.globParts=n.map(i=>i.split(cye)),this.debug(this.pattern,n),n=n.map((i,s,o)=>i.map(this.parse,this)),this.debug(this.pattern,n),n=n.filter(i=>i.indexOf(!1)===-1),this.debug(this.pattern,n),this.set=n}parseNegate(){if(this.options.nonegate)return;let e=this.pattern,r=!1,n=0;for(let i=0;i<e.length&&e.charAt(i)==="!";i++)r=!r,n++;n&&(this.pattern=e.slice(n)),this.negate=r}matchOne(e,r,n){var i=this.options;this.debug("matchOne",{this:this,file:e,pattern:r}),this.debug("matchOne",e.length,r.length);for(var s=0,o=0,a=e.length,u=r.length;s<a&&o<u;s++,o++){this.debug("matchOne loop");var l=r[o],c=e[s];if(this.debug(r,l,c),l===!1)return!1;if(l===yi){this.debug("GLOBSTAR",[r,l,c]);var f=s,d=o+1;if(d===u){for(this.debug("** at the end");s<a;s++)if(e[s]==="."||e[s]===".."||!i.dot&&e[s].charAt(0)===".")return!1;return!0}for(;f<a;){var p=e[f];if(this.debug(`
|
|
427
427
|
globstar while`,e,f,r,d,p),this.matchOne(e.slice(f),r.slice(d),n))return this.debug("globstar found match!",f,a,p),!0;if(p==="."||p===".."||!i.dot&&p.charAt(0)==="."){this.debug("dot detected!",e,f,r,d);break}this.debug("globstar swallow a segment, and continue"),f++}return!!(n&&(this.debug(`
|
|
428
428
|
>>> no match, partial?`,e,f,r,d),f===a))}var h;if(typeof l=="string"?(h=c===l,this.debug("string match",l,c,h)):(h=c.match(l),this.debug("pattern match",l,c,h)),!h)return!1}if(s===a&&o===u)return!0;if(s===a)return n;if(o===u)return s===a-1&&e[s]==="";throw new Error("wtf?")}braceExpand(){return dye(this.pattern,this.options)}parse(e,r){yE(e);let n=this.options;if(e==="**")if(n.noglobstar)e="*";else return yi;if(e==="")return"";let i="",s=!1,o=!1,a=[],u=[],l,c=!1,f=-1,d=-1,p,h,y,v=e.charAt(0)===".",g=n.dot||v,b=()=>v?"":g?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",w=C=>C.charAt(0)==="."?"":n.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",_=()=>{if(l){switch(l){case"*":i+=T3,s=!0;break;case"?":i+=F3,s=!0;break;default:i+="\\"+l;break}this.debug("clearStateChar %j %j",l,i),l=!1}};for(let C=0,R;C<e.length&&(R=e.charAt(C));C++){if(this.debug("%s %s %s %j",e,C,i,R),o){if(R==="/")return!1;lye[R]&&(i+="\\"),i+=R,o=!1;continue}switch(R){case"/":return!1;case"\\":if(c&&e.charAt(C+1)==="-"){i+=R;continue}_(),o=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",e,C,i,R),c){this.debug(" in class"),R==="!"&&C===d+1&&(R="^"),i+=R;continue}this.debug("call clearStateChar %j",l),_(),l=R,n.noext&&_();continue;case"(":{if(c){i+="(";continue}if(!l){i+="\\(";continue}let O={type:l,start:C-1,reStart:i.length,open:uye[l].open,close:uye[l].close};this.debug(this.pattern," ",O),a.push(O),i+=O.open,O.start===0&&O.type!=="!"&&(v=!0,i+=w(e.slice(C+1))),this.debug("plType %j %j",l,i),l=!1;continue}case")":{let O=a[a.length-1];if(c||!O){i+="\\)";continue}a.pop(),_(),s=!0,h=O,i+=h.close,h.type==="!"&&u.push(Object.assign(h,{reEnd:i.length}));continue}case"|":{let O=a[a.length-1];if(c||!O){i+="\\|";continue}_(),i+="|",O.start===0&&O.type!=="!"&&(v=!0,i+=w(e.slice(C+1)));continue}case"[":if(_(),c){i+="\\"+R;continue}c=!0,d=C,f=i.length,i+=R;continue;case"]":if(C===d+1||!c){i+="\\"+R;continue}p=e.substring(d+1,C);try{RegExp("["+v1t(y1t(p))+"]"),i+=R}catch{i=i.substring(0,f)+"(?:$.)"}s=!0,c=!1;continue;default:_(),lye[R]&&!(R==="^"&&c)&&(i+="\\"),i+=R;break}}for(c&&(p=e.slice(d+1),y=this.parse(p,M3),i=i.substring(0,f)+"\\["+y[0],s=s||y[1]),h=a.pop();h;h=a.pop()){let C;C=i.slice(h.reStart+h.open.length),this.debug("setting tail",i,h),C=C.replace(/((?:\\{2}){0,64})(\\?)\|/g,(O,z,F)=>(F||(F="\\"),z+z+F+"|")),this.debug(`tail=%j
|
|
429
|
-
%s`,C,C,h,i);let R=h.type==="*"?T3:h.type==="?"?F3:"\\"+h.type;s=!0,i=i.slice(0,h.reStart)+R+"\\("+C}_(),o&&(i+="\\\\");let S=h1t[i.charAt(0)];for(let C=u.length-1;C>-1;C--){let R=u[C],O=i.slice(0,R.reStart),z=i.slice(R.reStart,R.reEnd-8),F=i.slice(R.reEnd),ee=i.slice(R.reEnd-8,R.reEnd)+F,G=O.split(")").length,ae=O.split("(").length-G,L=F;for(let oe=0;oe<ae;oe++)L=L.replace(/\)[+*?]?/,"");F=L;let M=F===""&&r!==M3?"(?:$|\\/)":"";i=O+z+F+M+ee}if(i!==""&&s&&(i="(?=.)"+i),S&&(i=b()+i),r===M3)return[i,s];if(n.nocase&&!s&&(s=e.toUpperCase()!==e.toLowerCase()),!s)return m1t(e);let q=n.nocase?"i":"";try{return Object.assign(new RegExp("^"+i+"$",q),{_glob:e,_src:i})}catch{return new RegExp("$.")}}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let r=this.options,n=r.noglobstar?T3:r.dot?d1t:p1t,i=r.nocase?"i":"",s=e.map(o=>(o=o.map(a=>typeof a=="string"?b1t(a):a===yi?yi:a._src).reduce((a,u)=>(a[a.length-1]===yi&&u===yi||a.push(u),a),[]),o.forEach((a,u)=>{a!==yi||o[u-1]===yi||(u===0?o.length>1?o[u+1]="(?:\\/|"+n+"\\/)?"+o[u+1]:o[u]=n:u===o.length-1?o[u-1]+="(?:\\/|"+n+")?":(o[u-1]+="(?:\\/|\\/"+n+"\\/)"+o[u+1],o[u+1]=yi))}),o.filter(a=>a!==yi).join("/"))).join("|");s="^(?:"+s+")$",this.negate&&(s="^(?!"+s+").*$");try{this.regexp=new RegExp(s,i)}catch{this.regexp=!1}return this.regexp}match(e,r=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;let n=this.options;L3.sep!=="/"&&(e=e.split(L3.sep).join("/")),e=e.split(cye),this.debug(this.pattern,"split",e);let i=this.set;this.debug(this.pattern,"set",i);let s;for(let o=e.length-1;o>=0&&(s=e[o],!s);o--);for(let o=0;o<i.length;o++){let a=i[o],u=e;if(n.matchBase&&a.length===1&&(u=[s]),this.matchOne(u,a,r))return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate}static defaults(e){return On.defaults(e).Minimatch}};On.Minimatch=Xl});var hye=m((vE,bE)=>{var w1t=vE&&vE.__spreadArray||function(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,s;n<i;n++)(s||!(n in e))&&(s||(s=Array.prototype.slice.call(e,0,n)),s[n]=e[n]);return t.concat(s||Array.prototype.slice.call(e))};(function(t){if(typeof bE=="object"&&typeof bE.exports=="object"){var e=t(require,vE);e!==void 0&&(bE.exports=e)}else typeof define=="function"&&define.amd&&define(["require","exports"],t)})(function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TextDocument=void 0;var r=function(){function u(l,c,f,d){this._uri=l,this._languageId=c,this._version=f,this._content=d,this._lineOffsets=void 0}return Object.defineProperty(u.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),u.prototype.getText=function(l){if(l){var c=this.offsetAt(l.start),f=this.offsetAt(l.end);return this._content.substring(c,f)}return this._content},u.prototype.update=function(l,c){for(var f=0,d=l;f<d.length;f++){var p=d[f];if(u.isIncremental(p)){var h=o(p.range),y=this.offsetAt(h.start),v=this.offsetAt(h.end);this._content=this._content.substring(0,y)+p.text+this._content.substring(v,this._content.length);var g=Math.max(h.start.line,0),b=Math.max(h.end.line,0),w=this._lineOffsets,_=s(p.text,!1,y);if(b-g===_.length)for(var S=0,q=_.length;S<q;S++)w[S+g+1]=_[S];else _.length<1e4?w.splice.apply(w,w1t([g+1,b-g],_,!1)):this._lineOffsets=w=w.slice(0,g+1).concat(_,w.slice(b+1));var C=p.text.length-(v-y);if(C!==0)for(var S=g+1+_.length,q=w.length;S<q;S++)w[S]=w[S]+C}else if(u.isFull(p))this._content=p.text,this._lineOffsets=void 0;else throw new Error("Unknown change event received")}this._version=c},u.prototype.getLineOffsets=function(){return this._lineOffsets===void 0&&(this._lineOffsets=s(this._content,!0)),this._lineOffsets},u.prototype.positionAt=function(l){l=Math.max(Math.min(l,this._content.length),0);var c=this.getLineOffsets(),f=0,d=c.length;if(d===0)return{line:0,character:l};for(;f<d;){var p=Math.floor((f+d)/2);c[p]>l?d=p:f=p+1}var h=f-1;return{line:h,character:l-c[h]}},u.prototype.offsetAt=function(l){var c=this.getLineOffsets();if(l.line>=c.length)return this._content.length;if(l.line<0)return 0;var f=c[l.line],d=l.line+1<c.length?c[l.line+1]:this._content.length;return Math.max(Math.min(f+l.character,d),f)},Object.defineProperty(u.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),u.isIncremental=function(l){var c=l;return c!=null&&typeof c.text=="string"&&c.range!==void 0&&(c.rangeLength===void 0||typeof c.rangeLength=="number")},u.isFull=function(l){var c=l;return c!=null&&typeof c.text=="string"&&c.range===void 0&&c.rangeLength===void 0},u}(),n;(function(u){function l(d,p,h,y){return new r(d,p,h,y)}u.create=l;function c(d,p,h){if(d instanceof r)return d.update(p,h),d;throw new Error("TextDocument.update: document must be created by TextDocument.create")}u.update=c;function f(d,p){for(var h=d.getText(),y=i(p.map(a),function(q,C){var R=q.range.start.line-C.range.start.line;return R===0?q.range.start.character-C.range.start.character:R}),v=0,g=[],b=0,w=y;b<w.length;b++){var _=w[b],S=d.offsetAt(_.range.start);if(S<v)throw new Error("Overlapping edit");S>v&&g.push(h.substring(v,S)),_.newText.length&&g.push(_.newText),v=d.offsetAt(_.range.end)}return g.push(h.substr(v)),g.join("")}u.applyEdits=f})(n=e.TextDocument||(e.TextDocument={}));function i(u,l){if(u.length<=1)return u;var c=u.length/2|0,f=u.slice(0,c),d=u.slice(c);i(f,l),i(d,l);for(var p=0,h=0,y=0;p<f.length&&h<d.length;){var v=l(f[p],d[h]);v<=0?u[y++]=f[p++]:u[y++]=d[h++]}for(;p<f.length;)u[y++]=f[p++];for(;h<d.length;)u[y++]=d[h++];return u}function s(u,l,c){c===void 0&&(c=0);for(var f=l?[c]:[],d=0;d<u.length;d++){var p=u.charCodeAt(d);(p===13||p===10)&&(p===13&&d+1<u.length&&u.charCodeAt(d+1)===10&&d++,f.push(c+d+1))}return f}function o(u){var l=u.start,c=u.end;return l.line>c.line||l.line===c.line&&l.character>c.character?{start:c,end:l}:u}function a(u){var l=o(u.range);return l!==u.range?{newText:u.newText,range:l}:u}})});var wye={};Qbe(wye,{__assign:()=>$3,__asyncDelegator:()=>T1t,__asyncGenerator:()=>P1t,__asyncValues:()=>M1t,__await:()=>Vp,__awaiter:()=>C1t,__classPrivateFieldGet:()=>j1t,__classPrivateFieldIn:()=>B1t,__classPrivateFieldSet:()=>$1t,__createBinding:()=>W3,__decorate:()=>S1t,__exportStar:()=>O1t,__extends:()=>_1t,__generator:()=>D1t,__importDefault:()=>N1t,__importStar:()=>I1t,__makeTemplateObject:()=>L1t,__metadata:()=>E1t,__param:()=>k1t,__read:()=>vye,__rest:()=>x1t,__spread:()=>q1t,__spreadArray:()=>A1t,__spreadArrays:()=>R1t,__values:()=>B3});function _1t(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");j3(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function x1t(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function S1t(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}function k1t(t,e){return function(r,n){e(r,n,t)}}function E1t(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function C1t(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(c){try{l(n.next(c))}catch(f){o(f)}}function u(c){try{l(n.throw(c))}catch(f){o(f)}}function l(c){c.done?s(c.value):i(c.value).then(a,u)}l((n=n.apply(t,e||[])).next())})}function D1t(t,e){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(l){return function(c){return u([l,c])}}function u(l){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(r=0)),r;)try{if(n=1,i&&(s=l[0]&2?i.return:l[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,l[1])).done)return s;switch(i=0,s&&(l=[l[0]&2,s.value]),l[0]){case 0:case 1:s=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,i=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!s||l[1]>s[0]&&l[1]<s[3])){r.label=l[1];break}if(l[0]===6&&r.label<s[1]){r.label=s[1],s=l;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(l);break}s[2]&&r.ops.pop(),r.trys.pop();continue}l=e.call(t,r)}catch(c){l=[6,c],i=0}finally{n=s=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function O1t(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&W3(e,t,r)}function B3(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function vye(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,s=[],o;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(a){o={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return s}function q1t(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(vye(arguments[e]));return t}function R1t(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;for(var n=Array(t),i=0,e=0;e<r;e++)for(var s=arguments[e],o=0,a=s.length;o<a;o++,i++)n[i]=s[o];return n}function A1t(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,s;n<i;n++)(s||!(n in e))&&(s||(s=Array.prototype.slice.call(e,0,n)),s[n]=e[n]);return t.concat(s||Array.prototype.slice.call(e))}function Vp(t){return this instanceof Vp?(this.v=t,this):new Vp(t)}function P1t(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,s=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(d){n[d]&&(i[d]=function(p){return new Promise(function(h,y){s.push([d,p,h,y])>1||a(d,p)})})}function a(d,p){try{u(n[d](p))}catch(h){f(s[0][3],h)}}function u(d){d.value instanceof Vp?Promise.resolve(d.value.v).then(l,c):f(s[0][2],d)}function l(d){a("next",d)}function c(d){a("throw",d)}function f(d,p){d(p),s.shift(),s.length&&a(s[0][0],s[0][1])}}function T1t(t){var e,r;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,s){e[i]=t[i]?function(o){return(r=!r)?{value:Vp(t[i](o)),done:i==="return"}:s?s(o):o}:s}}function M1t(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof B3=="function"?B3(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(o){return new Promise(function(a,u){o=t[s](o),i(a,u,o.done,o.value)})}}function i(s,o,a,u){Promise.resolve(u).then(function(l){s({value:l,done:a})},o)}}function L1t(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function I1t(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&W3(e,t,r);return F1t(e,t),e}function N1t(t){return t&&t.__esModule?t:{default:t}}function j1t(t,e,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(t):n?n.value:e.get(t)}function $1t(t,e,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(t,r):i?i.value=r:e.set(t,r),r}function B1t(t,e){if(e===null||typeof e!="object"&&typeof e!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof t=="function"?e===t:t.has(e)}var j3,$3,W3,F1t,_ye=Ybe(()=>{j3=function(t,e){return j3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},j3(t,e)};$3=function(){return $3=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},$3.apply(this,arguments)};W3=Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]};F1t=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}});var xye=m(Zl=>{"use strict";Object.defineProperty(Zl,"__esModule",{value:!0});Zl.lowerCase=Zl.localeLowerCase=void 0;var W1t={tr:{regexp:/\u0130|\u0049|\u0049\u0307/g,map:{\u0130:"i",I:"\u0131",I\u0307:"i"}},az:{regexp:/\u0130/g,map:{\u0130:"i",I:"\u0131",I\u0307:"i"}},lt:{regexp:/\u0049|\u004A|\u012E|\u00CC|\u00CD|\u0128/g,map:{I:"i\u0307",J:"j\u0307",\u012E:"\u012F\u0307",\u00CC:"i\u0307\u0300",\u00CD:"i\u0307\u0301",\u0128:"i\u0307\u0303"}}};function z1t(t,e){var r=W1t[e.toLowerCase()];return z3(r?t.replace(r.regexp,function(n){return r.map[n]}):t)}Zl.localeLowerCase=z1t;function z3(t){return t.toLowerCase()}Zl.lowerCase=z3});var kye=m(_E=>{"use strict";Object.defineProperty(_E,"__esModule",{value:!0});_E.noCase=void 0;var U1t=xye(),H1t=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],V1t=/[^A-Z0-9]+/gi;function G1t(t,e){e===void 0&&(e={});for(var r=e.splitRegexp,n=r===void 0?H1t:r,i=e.stripRegexp,s=i===void 0?V1t:i,o=e.transform,a=o===void 0?U1t.lowerCase:o,u=e.delimiter,l=u===void 0?" ":u,c=Sye(Sye(t,n,"$1\0$2"),s,"\0"),f=0,d=c.length;c.charAt(f)==="\0";)f++;for(;c.charAt(d-1)==="\0";)d--;return c.slice(f,d).split("\0").map(a).join(l)}_E.noCase=G1t;function Sye(t,e,r){return e instanceof RegExp?t.replace(e,r):e.reduce(function(n,i){return n.replace(i,r)},t)}});var Cye=m(_o=>{"use strict";Object.defineProperty(_o,"__esModule",{value:!0});_o.pascalCase=_o.pascalCaseTransformMerge=_o.pascalCaseTransform=void 0;var K1t=(_ye(),Jbe(wye)),Y1t=kye();function Eye(t,e){var r=t.charAt(0),n=t.substr(1).toLowerCase();return e>0&&r>="0"&&r<="9"?"_"+r+n:""+r.toUpperCase()+n}_o.pascalCaseTransform=Eye;function Q1t(t){return t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()}_o.pascalCaseTransformMerge=Q1t;function J1t(t,e){return e===void 0&&(e={}),Y1t.noCase(t,K1t.__assign({delimiter:"",transform:Eye},e))}_o.pascalCase=J1t});var xE=m((Ujt,Rye)=>{"use strict";function yr(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}yr.prototype.clone_empty=function(){var t=new yr(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t};yr.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]};yr.prototype.has_match=function(t){for(var e=this.__items.length-1;e>=0;e--)if(this.__items[e].match(t))return!0;return!1};yr.prototype.set_indent=function(t,e){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=e||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))};yr.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)};yr.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count};yr.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,t.__items[0]===" "&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1};yr.prototype.is_empty=function(){return this.__items.length===0};yr.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]};yr.prototype.push=function(t){this.__items.push(t);var e=t.lastIndexOf(`
|
|
430
|
-
`);e!==-1?this.__character_count=t.length-e:this.__character_count+=t.length};
|
|
429
|
+
%s`,C,C,h,i);let R=h.type==="*"?T3:h.type==="?"?F3:"\\"+h.type;s=!0,i=i.slice(0,h.reStart)+R+"\\("+C}_(),o&&(i+="\\\\");let S=h1t[i.charAt(0)];for(let C=u.length-1;C>-1;C--){let R=u[C],O=i.slice(0,R.reStart),z=i.slice(R.reStart,R.reEnd-8),F=i.slice(R.reEnd),ee=i.slice(R.reEnd-8,R.reEnd)+F,G=O.split(")").length,ae=O.split("(").length-G,L=F;for(let oe=0;oe<ae;oe++)L=L.replace(/\)[+*?]?/,"");F=L;let M=F===""&&r!==M3?"(?:$|\\/)":"";i=O+z+F+M+ee}if(i!==""&&s&&(i="(?=.)"+i),S&&(i=b()+i),r===M3)return[i,s];if(n.nocase&&!s&&(s=e.toUpperCase()!==e.toLowerCase()),!s)return m1t(e);let q=n.nocase?"i":"";try{return Object.assign(new RegExp("^"+i+"$",q),{_glob:e,_src:i})}catch{return new RegExp("$.")}}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let r=this.options,n=r.noglobstar?T3:r.dot?d1t:p1t,i=r.nocase?"i":"",s=e.map(o=>(o=o.map(a=>typeof a=="string"?b1t(a):a===yi?yi:a._src).reduce((a,u)=>(a[a.length-1]===yi&&u===yi||a.push(u),a),[]),o.forEach((a,u)=>{a!==yi||o[u-1]===yi||(u===0?o.length>1?o[u+1]="(?:\\/|"+n+"\\/)?"+o[u+1]:o[u]=n:u===o.length-1?o[u-1]+="(?:\\/|"+n+")?":(o[u-1]+="(?:\\/|\\/"+n+"\\/)"+o[u+1],o[u+1]=yi))}),o.filter(a=>a!==yi).join("/"))).join("|");s="^(?:"+s+")$",this.negate&&(s="^(?!"+s+").*$");try{this.regexp=new RegExp(s,i)}catch{this.regexp=!1}return this.regexp}match(e,r=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;let n=this.options;L3.sep!=="/"&&(e=e.split(L3.sep).join("/")),e=e.split(cye),this.debug(this.pattern,"split",e);let i=this.set;this.debug(this.pattern,"set",i);let s;for(let o=e.length-1;o>=0&&(s=e[o],!s);o--);for(let o=0;o<i.length;o++){let a=i[o],u=e;if(n.matchBase&&a.length===1&&(u=[s]),this.matchOne(u,a,r))return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate}static defaults(e){return On.defaults(e).Minimatch}};On.Minimatch=Xl});var hye=m((vE,bE)=>{var w1t=vE&&vE.__spreadArray||function(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,s;n<i;n++)(s||!(n in e))&&(s||(s=Array.prototype.slice.call(e,0,n)),s[n]=e[n]);return t.concat(s||Array.prototype.slice.call(e))};(function(t){if(typeof bE=="object"&&typeof bE.exports=="object"){var e=t(require,vE);e!==void 0&&(bE.exports=e)}else typeof define=="function"&&define.amd&&define(["require","exports"],t)})(function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TextDocument=void 0;var r=function(){function u(l,c,f,d){this._uri=l,this._languageId=c,this._version=f,this._content=d,this._lineOffsets=void 0}return Object.defineProperty(u.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),u.prototype.getText=function(l){if(l){var c=this.offsetAt(l.start),f=this.offsetAt(l.end);return this._content.substring(c,f)}return this._content},u.prototype.update=function(l,c){for(var f=0,d=l;f<d.length;f++){var p=d[f];if(u.isIncremental(p)){var h=o(p.range),y=this.offsetAt(h.start),v=this.offsetAt(h.end);this._content=this._content.substring(0,y)+p.text+this._content.substring(v,this._content.length);var g=Math.max(h.start.line,0),b=Math.max(h.end.line,0),w=this._lineOffsets,_=s(p.text,!1,y);if(b-g===_.length)for(var S=0,q=_.length;S<q;S++)w[S+g+1]=_[S];else _.length<1e4?w.splice.apply(w,w1t([g+1,b-g],_,!1)):this._lineOffsets=w=w.slice(0,g+1).concat(_,w.slice(b+1));var C=p.text.length-(v-y);if(C!==0)for(var S=g+1+_.length,q=w.length;S<q;S++)w[S]=w[S]+C}else if(u.isFull(p))this._content=p.text,this._lineOffsets=void 0;else throw new Error("Unknown change event received")}this._version=c},u.prototype.getLineOffsets=function(){return this._lineOffsets===void 0&&(this._lineOffsets=s(this._content,!0)),this._lineOffsets},u.prototype.positionAt=function(l){l=Math.max(Math.min(l,this._content.length),0);var c=this.getLineOffsets(),f=0,d=c.length;if(d===0)return{line:0,character:l};for(;f<d;){var p=Math.floor((f+d)/2);c[p]>l?d=p:f=p+1}var h=f-1;return{line:h,character:l-c[h]}},u.prototype.offsetAt=function(l){var c=this.getLineOffsets();if(l.line>=c.length)return this._content.length;if(l.line<0)return 0;var f=c[l.line],d=l.line+1<c.length?c[l.line+1]:this._content.length;return Math.max(Math.min(f+l.character,d),f)},Object.defineProperty(u.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),u.isIncremental=function(l){var c=l;return c!=null&&typeof c.text=="string"&&c.range!==void 0&&(c.rangeLength===void 0||typeof c.rangeLength=="number")},u.isFull=function(l){var c=l;return c!=null&&typeof c.text=="string"&&c.range===void 0&&c.rangeLength===void 0},u}(),n;(function(u){function l(d,p,h,y){return new r(d,p,h,y)}u.create=l;function c(d,p,h){if(d instanceof r)return d.update(p,h),d;throw new Error("TextDocument.update: document must be created by TextDocument.create")}u.update=c;function f(d,p){for(var h=d.getText(),y=i(p.map(a),function(q,C){var R=q.range.start.line-C.range.start.line;return R===0?q.range.start.character-C.range.start.character:R}),v=0,g=[],b=0,w=y;b<w.length;b++){var _=w[b],S=d.offsetAt(_.range.start);if(S<v)throw new Error("Overlapping edit");S>v&&g.push(h.substring(v,S)),_.newText.length&&g.push(_.newText),v=d.offsetAt(_.range.end)}return g.push(h.substr(v)),g.join("")}u.applyEdits=f})(n=e.TextDocument||(e.TextDocument={}));function i(u,l){if(u.length<=1)return u;var c=u.length/2|0,f=u.slice(0,c),d=u.slice(c);i(f,l),i(d,l);for(var p=0,h=0,y=0;p<f.length&&h<d.length;){var v=l(f[p],d[h]);v<=0?u[y++]=f[p++]:u[y++]=d[h++]}for(;p<f.length;)u[y++]=f[p++];for(;h<d.length;)u[y++]=d[h++];return u}function s(u,l,c){c===void 0&&(c=0);for(var f=l?[c]:[],d=0;d<u.length;d++){var p=u.charCodeAt(d);(p===13||p===10)&&(p===13&&d+1<u.length&&u.charCodeAt(d+1)===10&&d++,f.push(c+d+1))}return f}function o(u){var l=u.start,c=u.end;return l.line>c.line||l.line===c.line&&l.character>c.character?{start:c,end:l}:u}function a(u){var l=o(u.range);return l!==u.range?{newText:u.newText,range:l}:u}})});var wye={};Qbe(wye,{__assign:()=>$3,__asyncDelegator:()=>T1t,__asyncGenerator:()=>P1t,__asyncValues:()=>M1t,__await:()=>Vp,__awaiter:()=>C1t,__classPrivateFieldGet:()=>j1t,__classPrivateFieldIn:()=>B1t,__classPrivateFieldSet:()=>$1t,__createBinding:()=>W3,__decorate:()=>S1t,__exportStar:()=>O1t,__extends:()=>_1t,__generator:()=>D1t,__importDefault:()=>N1t,__importStar:()=>I1t,__makeTemplateObject:()=>L1t,__metadata:()=>E1t,__param:()=>k1t,__read:()=>vye,__rest:()=>x1t,__spread:()=>q1t,__spreadArray:()=>A1t,__spreadArrays:()=>R1t,__values:()=>B3});function _1t(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");j3(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function x1t(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function S1t(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}function k1t(t,e){return function(r,n){e(r,n,t)}}function E1t(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function C1t(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(c){try{l(n.next(c))}catch(f){o(f)}}function u(c){try{l(n.throw(c))}catch(f){o(f)}}function l(c){c.done?s(c.value):i(c.value).then(a,u)}l((n=n.apply(t,e||[])).next())})}function D1t(t,e){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(l){return function(c){return u([l,c])}}function u(l){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(r=0)),r;)try{if(n=1,i&&(s=l[0]&2?i.return:l[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,l[1])).done)return s;switch(i=0,s&&(l=[l[0]&2,s.value]),l[0]){case 0:case 1:s=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,i=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!s||l[1]>s[0]&&l[1]<s[3])){r.label=l[1];break}if(l[0]===6&&r.label<s[1]){r.label=s[1],s=l;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(l);break}s[2]&&r.ops.pop(),r.trys.pop();continue}l=e.call(t,r)}catch(c){l=[6,c],i=0}finally{n=s=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function O1t(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&W3(e,t,r)}function B3(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function vye(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,s=[],o;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(a){o={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return s}function q1t(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(vye(arguments[e]));return t}function R1t(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;for(var n=Array(t),i=0,e=0;e<r;e++)for(var s=arguments[e],o=0,a=s.length;o<a;o++,i++)n[i]=s[o];return n}function A1t(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,s;n<i;n++)(s||!(n in e))&&(s||(s=Array.prototype.slice.call(e,0,n)),s[n]=e[n]);return t.concat(s||Array.prototype.slice.call(e))}function Vp(t){return this instanceof Vp?(this.v=t,this):new Vp(t)}function P1t(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,s=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(d){n[d]&&(i[d]=function(p){return new Promise(function(h,y){s.push([d,p,h,y])>1||a(d,p)})})}function a(d,p){try{u(n[d](p))}catch(h){f(s[0][3],h)}}function u(d){d.value instanceof Vp?Promise.resolve(d.value.v).then(l,c):f(s[0][2],d)}function l(d){a("next",d)}function c(d){a("throw",d)}function f(d,p){d(p),s.shift(),s.length&&a(s[0][0],s[0][1])}}function T1t(t){var e,r;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,s){e[i]=t[i]?function(o){return(r=!r)?{value:Vp(t[i](o)),done:i==="return"}:s?s(o):o}:s}}function M1t(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof B3=="function"?B3(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(o){return new Promise(function(a,u){o=t[s](o),i(a,u,o.done,o.value)})}}function i(s,o,a,u){Promise.resolve(u).then(function(l){s({value:l,done:a})},o)}}function L1t(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function I1t(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&W3(e,t,r);return F1t(e,t),e}function N1t(t){return t&&t.__esModule?t:{default:t}}function j1t(t,e,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(t):n?n.value:e.get(t)}function $1t(t,e,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(t,r):i?i.value=r:e.set(t,r),r}function B1t(t,e){if(e===null||typeof e!="object"&&typeof e!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof t=="function"?e===t:t.has(e)}var j3,$3,W3,F1t,_ye=Ybe(()=>{j3=function(t,e){return j3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},j3(t,e)};$3=function(){return $3=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},$3.apply(this,arguments)};W3=Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]};F1t=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}});var xye=m(Zl=>{"use strict";Object.defineProperty(Zl,"__esModule",{value:!0});Zl.lowerCase=Zl.localeLowerCase=void 0;var W1t={tr:{regexp:/\u0130|\u0049|\u0049\u0307/g,map:{\u0130:"i",I:"\u0131",I\u0307:"i"}},az:{regexp:/\u0130/g,map:{\u0130:"i",I:"\u0131",I\u0307:"i"}},lt:{regexp:/\u0049|\u004A|\u012E|\u00CC|\u00CD|\u0128/g,map:{I:"i\u0307",J:"j\u0307",\u012E:"\u012F\u0307",\u00CC:"i\u0307\u0300",\u00CD:"i\u0307\u0301",\u0128:"i\u0307\u0303"}}};function z1t(t,e){var r=W1t[e.toLowerCase()];return z3(r?t.replace(r.regexp,function(n){return r.map[n]}):t)}Zl.localeLowerCase=z1t;function z3(t){return t.toLowerCase()}Zl.lowerCase=z3});var kye=m(_E=>{"use strict";Object.defineProperty(_E,"__esModule",{value:!0});_E.noCase=void 0;var U1t=xye(),H1t=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],V1t=/[^A-Z0-9]+/gi;function G1t(t,e){e===void 0&&(e={});for(var r=e.splitRegexp,n=r===void 0?H1t:r,i=e.stripRegexp,s=i===void 0?V1t:i,o=e.transform,a=o===void 0?U1t.lowerCase:o,u=e.delimiter,l=u===void 0?" ":u,c=Sye(Sye(t,n,"$1\0$2"),s,"\0"),f=0,d=c.length;c.charAt(f)==="\0";)f++;for(;c.charAt(d-1)==="\0";)d--;return c.slice(f,d).split("\0").map(a).join(l)}_E.noCase=G1t;function Sye(t,e,r){return e instanceof RegExp?t.replace(e,r):e.reduce(function(n,i){return n.replace(i,r)},t)}});var Cye=m(_o=>{"use strict";Object.defineProperty(_o,"__esModule",{value:!0});_o.pascalCase=_o.pascalCaseTransformMerge=_o.pascalCaseTransform=void 0;var K1t=(_ye(),Jbe(wye)),Y1t=kye();function Eye(t,e){var r=t.charAt(0),n=t.substr(1).toLowerCase();return e>0&&r>="0"&&r<="9"?"_"+r+n:""+r.toUpperCase()+n}_o.pascalCaseTransform=Eye;function Q1t(t){return t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()}_o.pascalCaseTransformMerge=Q1t;function J1t(t,e){return e===void 0&&(e={}),Y1t.noCase(t,K1t.__assign({delimiter:"",transform:Eye},e))}_o.pascalCase=J1t});var xE=m((Ujt,Rye)=>{"use strict";function br(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}br.prototype.clone_empty=function(){var t=new br(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t};br.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]};br.prototype.has_match=function(t){for(var e=this.__items.length-1;e>=0;e--)if(this.__items[e].match(t))return!0;return!1};br.prototype.set_indent=function(t,e){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=e||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))};br.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)};br.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count};br.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,t.__items[0]===" "&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1};br.prototype.is_empty=function(){return this.__items.length===0};br.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]};br.prototype.push=function(t){this.__items.push(t);var e=t.lastIndexOf(`
|
|
430
|
+
`);e!==-1?this.__character_count=t.length-e:this.__character_count+=t.length};br.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t};br.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)};br.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)};br.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1};br.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t};function Kp(t,e){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),e=e||"",t.indent_level>0&&(e=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=e,this.__base_string_length=e.length}Kp.prototype.get_indent_size=function(t,e){var r=this.__base_string_length;return e=e||0,t<0&&(r=0),r+=t*this.__indent_size,r+=e,r};Kp.prototype.get_indent_string=function(t,e){var r=this.__base_string;return e=e||0,t<0&&(t=0,r=""),e+=t*this.__indent_size,this.__ensure_cache(e),r+=this.__cache[e],r};Kp.prototype.__ensure_cache=function(t){for(;t>=this.__cache.length;)this.__add_column()};Kp.prototype.__add_column=function(){var t=this.__cache.length,e=0,r="";this.__indent_size&&t>=this.__indent_size&&(e=Math.floor(t/this.__indent_size),t-=e*this.__indent_size,r=new Array(e+1).join(this.__indent_string)),t&&(r+=new Array(t+1).join(" ")),this.__cache.push(r)};function vr(t,e){this.__indent_cache=new Kp(t,e),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new br(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}vr.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)};vr.prototype.get_line_number=function(){return this.__lines.length};vr.prototype.get_indent_string=function(t,e){return this.__indent_cache.get_indent_string(t,e)};vr.prototype.get_indent_size=function(t,e){return this.__indent_cache.get_indent_size(t,e)};vr.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()};vr.prototype.add_new_line=function(t){return this.is_empty()||!t&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)};vr.prototype.get_code=function(t){this.trim(!0);var e=this.current_line.pop();e&&(e[e.length-1]===`
|
|
431
431
|
`&&(e=e.replace(/\n+$/g,"")),this.current_line.push(e)),this._end_with_newline&&this.__add_outputline();var r=this.__lines.join(`
|
|
432
432
|
`);return t!==`
|
|
433
|
-
`&&(r=r.replace(/[\n]/g,t)),r};br.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()};br.prototype.set_indent=function(t,e){return t=t||0,e=e||0,this.next_line.set_indent(t,e),this.__lines.length>1?(this.current_line.set_indent(t,e),!0):(this.current_line.set_indent(),!1)};br.prototype.add_raw_token=function(t){for(var e=0;e<t.newlines;e++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(t.whitespace_before),this.current_line.push(t.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1};br.prototype.add_token=function(t){this.__add_space_before_token(),this.current_line.push(t),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()};br.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))};br.prototype.remove_indent=function(t){for(var e=this.__lines.length;t<e;)this.__lines[t]._remove_indent(),t++;this.current_line._remove_wrap_indent()};br.prototype.trim=function(t){for(t=t===void 0?!1:t,this.current_line.trim();t&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null};br.prototype.just_added_newline=function(){return this.current_line.is_empty()};br.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()};br.prototype.ensure_empty_line_above=function(t,e){for(var r=this.__lines.length-2;r>=0;){var n=this.__lines[r];if(n.is_empty())break;if(n.item(0).indexOf(t)!==0&&n.item(-1)!==e){this.__lines.splice(r+1,0,new yr(this)),this.previous_line=this.__lines[this.__lines.length-2];break}r--}};Rye.exports.Output=br});var U3=m((Hjt,Aye)=>{"use strict";function Z1t(t,e,r,n){this.type=t,this.text=e,this.comments_before=null,this.newlines=r||0,this.whitespace_before=n||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}Aye.exports.Token=Z1t});var V3=m(ks=>{"use strict";var eSt="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",Pye="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",H3="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",Tye="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",Mye="(?:\\\\u[0-9a-fA-F]{4}|["+eSt+H3+"])",tSt="(?:\\\\u[0-9a-fA-F]{4}|["+Pye+H3+Tye+"])*";ks.identifier=new RegExp(Mye+tSt,"g");ks.identifierStart=new RegExp(Mye);ks.identifierMatch=new RegExp("(?:\\\\u[0-9a-fA-F]{4}|["+Pye+H3+Tye+"])+");ks.newline=/[\n\r\u2028\u2029]/;ks.lineBreak=new RegExp(`\r
|
|
433
|
+
`&&(r=r.replace(/[\n]/g,t)),r};vr.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()};vr.prototype.set_indent=function(t,e){return t=t||0,e=e||0,this.next_line.set_indent(t,e),this.__lines.length>1?(this.current_line.set_indent(t,e),!0):(this.current_line.set_indent(),!1)};vr.prototype.add_raw_token=function(t){for(var e=0;e<t.newlines;e++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(t.whitespace_before),this.current_line.push(t.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1};vr.prototype.add_token=function(t){this.__add_space_before_token(),this.current_line.push(t),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()};vr.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))};vr.prototype.remove_indent=function(t){for(var e=this.__lines.length;t<e;)this.__lines[t]._remove_indent(),t++;this.current_line._remove_wrap_indent()};vr.prototype.trim=function(t){for(t=t===void 0?!1:t,this.current_line.trim();t&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null};vr.prototype.just_added_newline=function(){return this.current_line.is_empty()};vr.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()};vr.prototype.ensure_empty_line_above=function(t,e){for(var r=this.__lines.length-2;r>=0;){var n=this.__lines[r];if(n.is_empty())break;if(n.item(0).indexOf(t)!==0&&n.item(-1)!==e){this.__lines.splice(r+1,0,new br(this)),this.previous_line=this.__lines[this.__lines.length-2];break}r--}};Rye.exports.Output=vr});var U3=m((Hjt,Aye)=>{"use strict";function Z1t(t,e,r,n){this.type=t,this.text=e,this.comments_before=null,this.newlines=r||0,this.whitespace_before=n||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}Aye.exports.Token=Z1t});var V3=m(ks=>{"use strict";var eSt="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",Pye="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",H3="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",Tye="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",Mye="(?:\\\\u[0-9a-fA-F]{4}|["+eSt+H3+"])",tSt="(?:\\\\u[0-9a-fA-F]{4}|["+Pye+H3+Tye+"])*";ks.identifier=new RegExp(Mye+tSt,"g");ks.identifierStart=new RegExp(Mye);ks.identifierMatch=new RegExp("(?:\\\\u[0-9a-fA-F]{4}|["+Pye+H3+Tye+"])+");ks.newline=/[\n\r\u2028\u2029]/;ks.lineBreak=new RegExp(`\r
|
|
434
434
|
|`+ks.newline.source);ks.allLineBreaks=new RegExp(ks.lineBreak.source,"g")});var kE=m((Gjt,SE)=>{"use strict";function xo(t,e){this.raw_options=Lye(t,e),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}xo.prototype._get_array=function(t,e){var r=this.raw_options[t],n=e||[];return typeof r=="object"?r!==null&&typeof r.concat=="function"&&(n=r.concat()):typeof r=="string"&&(n=r.split(/[^a-zA-Z0-9_\/\-]+/)),n};xo.prototype._get_boolean=function(t,e){var r=this.raw_options[t],n=r===void 0?!!e:!!r;return n};xo.prototype._get_characters=function(t,e){var r=this.raw_options[t],n=e||"";return typeof r=="string"&&(n=r.replace(/\\r/,"\r").replace(/\\n/,`
|
|
435
435
|
`).replace(/\\t/," ")),n};xo.prototype._get_number=function(t,e){var r=this.raw_options[t];e=parseInt(e,10),isNaN(e)&&(e=0);var n=parseInt(r,10);return isNaN(n)&&(n=e),n};xo.prototype._get_selection=function(t,e,r){var n=this._get_selection_list(t,e,r);if(n.length!==1)throw new Error("Invalid Option Value: The option '"+t+`' can only be one of the following values:
|
|
436
436
|
`+e+`
|
|
@@ -463,7 +463,7 @@ You passed in: '`+this.raw_options[t]+"'");return n};xo.prototype._is_valid_sele
|
|
|
463
463
|
`)),i=l+i.replace(/\n/g,`
|
|
464
464
|
`+l)}a&&(i?i=a+i+`
|
|
465
465
|
`+u:i=a+u),t.print_newline(!1),i&&(e.text=i,e.whitespace_before="",e.newlines=0,t.add_raw_token(e),t.print_newline(!0))}};Jn.prototype._handle_tag_open=function(t,e,r,n){var i=this._get_tag_open_token(e);return(r.is_unformatted||r.is_content_unformatted)&&!r.is_empty_element&&e.type===ht.TAG_OPEN&&e.text.indexOf("</")===0?(t.add_raw_token(e),i.start_tag_token=this._tag_stack.try_pop(i.tag_name)):(t.traverse_whitespace(e),this._set_tag_position(t,e,i,r,n),i.is_inline_element||t.set_wrap_point(),t.print_token(e)),(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(i.alignment_size=e.text.length+1),!i.tag_complete&&!i.is_unformatted&&(t.alignment_size=i.alignment_size),i};var vbe=function(t,e){if(this.parent=t||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!e)this.tag_complete=!0;else{var r;this.tag_start_char=e.text[0],this.text=e.text,this.tag_start_char==="<"?(r=e.text.match(/^<([^\s>]*)/),this.tag_check=r?r[1]:""):(r=e.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=r?r[1]:"",(e.text.startsWith("{{#>")||e.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&e.next!==null?this.tag_check=e.next.text.split(" ")[0]:this.tag_check=e.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),e.type===ht.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||e.closed&&e.closed.text==="/>";var n=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(n=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(n)))}};Jn.prototype._get_tag_open_token=function(t){var e=new vbe(this._tag_stack.get_parser_token(),t);return e.alignment_size=this._options.wrap_attributes_indent_size,e.is_end_tag=e.is_end_tag||ih(e.tag_check,this._options.void_elements),e.is_empty_element=e.tag_complete||e.is_start_tag&&e.is_end_tag,e.is_unformatted=!e.tag_complete&&ih(e.tag_check,this._options.unformatted),e.is_content_unformatted=!e.is_empty_element&&ih(e.tag_check,this._options.content_unformatted),e.is_inline_element=ih(e.tag_name,this._options.inline)||e.tag_name.includes("-")||e.tag_start_char==="{",e};Jn.prototype._set_tag_position=function(t,e,r,n,i){if(r.is_empty_element||(r.is_end_tag?r.start_tag_token=this._tag_stack.try_pop(r.tag_name):(this._do_optional_end_element(r)&&(r.is_inline_element||t.print_newline(!1)),this._tag_stack.record_tag(r),(r.tag_name==="script"||r.tag_name==="style")&&!(r.is_unformatted||r.is_content_unformatted)&&(r.custom_beautifier_name=YSt(r.tag_check,e)))),ih(r.tag_check,this._options.extra_liners)&&(t.print_newline(!1),t._output.just_added_blankline()||t.print_newline(!0)),r.is_empty_element){if(r.tag_start_char==="{"&&r.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),r.indent_content=!0;var s=t.current_line_has_match(/{{#if/);s||t.print_newline(!1)}r.tag_name==="!--"&&i.type===ht.TAG_CLOSE&&n.is_end_tag&&r.text.indexOf(`
|
|
466
|
-
`)===-1||(r.is_inline_element||r.is_unformatted||t.print_newline(!1),this._calcluate_parent_multiline(t,r))}else if(r.is_end_tag){var o=!1;o=r.start_tag_token&&r.start_tag_token.multiline_content,o=o||!r.is_inline_element&&!(n.is_inline_element||n.is_unformatted)&&!(i.type===ht.TAG_CLOSE&&r.start_tag_token===n)&&i.type!=="TK_CONTENT",(r.is_content_unformatted||r.is_unformatted)&&(o=!1),o&&t.print_newline(!1)}else r.indent_content=!r.custom_beautifier_name,r.tag_start_char==="<"&&(r.tag_name==="html"?r.indent_content=this._options.indent_inner_html:r.tag_name==="head"?r.indent_content=this._options.indent_head_inner_html:r.tag_name==="body"&&(r.indent_content=this._options.indent_body_inner_html)),!(r.is_inline_element||r.is_unformatted)&&(i.type!=="TK_CONTENT"||r.is_content_unformatted)&&t.print_newline(!1),this._calcluate_parent_multiline(t,r)};Jn.prototype._calcluate_parent_multiline=function(t,e){e.parent&&t._output.just_added_newline()&&!((e.is_inline_element||e.is_unformatted)&&e.parent.is_inline_element)&&(e.parent.multiline_content=!0)};var JSt=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","nav","ol","p","pre","section","table","ul"],XSt=["a","audio","del","ins","map","noscript","video"];Jn.prototype._do_optional_end_element=function(t){var e=null;if(!(t.is_empty_element||!t.is_start_tag||!t.parent)){if(t.tag_name==="body")e=e||this._tag_stack.try_pop("head");else if(t.tag_name==="li")e=e||this._tag_stack.try_pop("li",["ol","ul"]);else if(t.tag_name==="dd"||t.tag_name==="dt")e=e||this._tag_stack.try_pop("dt",["dl"]),e=e||this._tag_stack.try_pop("dd",["dl"]);else if(t.parent.tag_name==="p"&&JSt.indexOf(t.tag_name)!==-1){var r=t.parent.parent;(!r||XSt.indexOf(r.tag_name)===-1)&&(e=e||this._tag_stack.try_pop("p"))}else t.tag_name==="rp"||t.tag_name==="rt"?(e=e||this._tag_stack.try_pop("rt",["ruby","rtc"]),e=e||this._tag_stack.try_pop("rp",["ruby","rtc"])):t.tag_name==="optgroup"?e=e||this._tag_stack.try_pop("optgroup",["select"]):t.tag_name==="option"?e=e||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):t.tag_name==="colgroup"?e=e||this._tag_stack.try_pop("caption",["table"]):t.tag_name==="thead"?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"])):t.tag_name==="tbody"||t.tag_name==="tfoot"?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"]),e=e||this._tag_stack.try_pop("thead",["table"]),e=e||this._tag_stack.try_pop("tbody",["table"])):t.tag_name==="tr"?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"]),e=e||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(t.tag_name==="th"||t.tag_name==="td")&&(e=e||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),e=e||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return t.parent=this._tag_stack.get_parser_token(),e}};wbe.exports.Beautifier=Jn});var xbe=m((f6t,cN)=>{"use strict";var ZSt=_be().Beautifier,ekt=oN().Options;function tkt(t,e,r,n){var i=new ZSt(t,e,r,n);return i.beautify()}cN.exports=tkt;cN.exports.defaultOptions=function(){return new ekt}});var Dbe=m((d6t,AE)=>{"use strict";var Sbe=ibe(),kbe=dbe(),Ebe=xbe();function Cbe(t,e,r,n){return r=r||Sbe,n=n||kbe,Ebe(t,e,r,n)}Cbe.defaultOptions=Ebe.defaultOptions;AE.exports.js=Sbe;AE.exports.css=kbe;AE.exports.html=Cbe});var Rbe=m((p6t,qbe)=>{"use strict";function Obe(t,e,r){var n=function(i,s){return t.js_beautify(i,s)};return n.js=t.js_beautify,n.css=e.css_beautify,n.html=r.html_beautify,n.js_beautify=t.js_beautify,n.css_beautify=e.css_beautify,n.html_beautify=r.html_beautify,n}typeof define=="function"&&define.amd?define(["./lib/beautify","./lib/beautify-css","./lib/beautify-html"],function(t,e,r){return Obe(t,e,r)}):function(t){var e=Dbe();e.js_beautify=e.js,e.css_beautify=e.css,e.html_beautify=e.html,t.exports=Obe(e,e,e)}(qbe)});var Ak=ut(dh(),1);var e0e=Object.defineProperty,t0e=(t,e,r)=>e in t?e0e(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,x=(t,e,r)=>(t0e(t,typeof e!="symbol"?e+"":e,r),r),ON=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},Xa=(t,e,r)=>(ON(t,e,"read from private field"),r?r.call(t):e.get(t)),yN=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},bN=(t,e,r,n)=>(ON(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r),r0e={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},QE=r0e;function ph(t){t.startsWith("#")&&(t=t.slice(1));let e=t.match(/.{1,2}/g);return[parseInt(e[0],16),parseInt(e[1],16),parseInt(e[2],16)]}function qN(t,e,r){return((1<<24)+(t<<16)+(e<<8)+r).toString(16).slice(1)}function Kt(t){typeof t=="string"&&(t={"":t});let e=""in t,r=!1;for(let n in t)if(n&&+n>=100){r=!0;break}if(!r&&(!e||Object.keys(t).length>1)){let n=0,i="0"in t?ph(t[0]):[0,0,0],s,o,a=[],u=()=>{let l=s-n,c=o.map((f,d)=>(f-i[d])/l);for(let f of a){let d=f-n,p=i.map((h,y)=>Math.round(h+c[y]*d));t[f]="#"+qN.call(this,...p)}};for(let l=1;l<100;l++)l in t?(a.length?(s=l,o=ph(t[l]),u(),a.length=0,i=o):i=ph(t[l]),n=l):a.push(l);a.length&&(s=100,o="100"in t?ph(t[100]):[255,255,255],u())}return e||(t[""]=t[r?"500":"50"]),t}var n0e={slate:Kt({5:"#141e2b",10:"#19212d",20:"#262f3e",30:"#323e52",40:"#41516b",50:"#616a84",55:"#6c7693",60:"#959db3",70:"#a3abbf",80:"#d7dae3",95:"#f6f7f8"}),gray:Kt({5:"#1e1d1f",10:"#212022",20:"#2f2e30",30:"#3e3d40",40:"#504f52",50:"#6b6a6d",55:"#777679",60:"#9e9da0",70:"#abaaae",80:"#dad9db",95:"#f5f4f7"}),brown:Kt({5:"#271b15",10:"#2b1e18",20:"#3c2b22",30:"#50382c",40:"#694839",50:"#8d604b",55:"#9d6b53",60:"#b79788",70:"#c1a598",80:"#efd5c9",95:"#faf2ef"}),orange:Kt({5:"#2e1907",10:"#331b07",20:"#47260b",30:"#5d320e",40:"#7a4111",50:"#a15717",55:"#b4611a",60:"#e38739",70:"#e79855",80:"#f7d4b5",95:"#fcf1e7"}),gold:Kt({5:"#281b00",10:"#2d1e01",20:"#3f2a00",30:"#543800",40:"#6d4900",50:"#906000",55:"#9c6d00",60:"#d09100",70:"#dca000",80:"#fbd67f",95:"#fff3d8"}),yellow:Kt({5:"#251d00",10:"#282000",20:"#3a2e01",30:"#4b3b00",40:"#624e00",50:"#806700",55:"#8e7200",60:"#be9900",70:"#d0a700",80:"#edda8f",95:"#fff5ca"}),grass:Kt({5:"#162106",10:"#182406",20:"#223308",30:"#2c4408",40:"#3a570b",50:"#4e750e",60:"#74ae15",70:"#7dbc17",80:"#bfe87c",95:"#ebfad4"}),green:Kt({5:"#042311",10:"#032611",20:"#023717",30:"#03481f",40:"#025d26",50:"#067b34",55:"#07883a",60:"#09b64d",70:"#0ac553",80:"#80f1a4",95:"#e0fae8"}),beryl:Kt({5:"#002319",10:"#00271c",20:"#003626",30:"#004732",40:"#005c41",50:"#007954",55:"#00875e",60:"#00b37c",70:"#00c387",80:"#72f0c5",95:"#d6fcef"}),teal:Kt({5:"#012220",10:"#012624",20:"#003532",30:"#004541",40:"#005a54",50:"#00776f",55:"#00857c",60:"#00b1a5",70:"#00bfb2",80:"#6aeee5",95:"#d4fcf8"}),cyan:Kt({5:"#00222b",10:"#00252e",20:"#013340",30:"#004457",40:"#00576f",50:"#007391",55:"#0080a1",60:"#00abd7",70:"#00b9e9",80:"#97e6fa",95:"#dff8ff"}),sky:Kt({5:"#031f34",10:"#032339",20:"#04314e",30:"#044169",40:"#065386",50:"#086eb3",55:"#097ac5",60:"#29a4f5",70:"#4db3f7",80:"#b3e0ff",95:"#eaf6fe"}),blue:Kt({5:"#07194a",10:"#081c53",20:"#0a2773",30:"#0e3496",40:"#1146b6",50:"#175fe9",55:"#2671ea",60:"#6b9ef1",70:"#81acf3",80:"#c6dbfe",95:"#edf4fe"}),indigo:Kt({5:"#1f1645",10:"#20174f",20:"#2b1f74",30:"#37289d",40:"#463fb1",50:"#5a5bd5",55:"#6464f1",60:"#9393f5",70:"#a1a5ee",80:"#d5d7fe",95:"#f1f2ff"}),violet:Kt({5:"#2b0a4e",10:"#2e0b57",20:"#3d1179",30:"#4e169f",40:"#5f2eba",50:"#7949e5",55:"#8755f5",60:"#ac8af8",70:"#b89bf9",80:"#e1d4fe",95:"#f5f1ff"}),purple:Kt({5:"#2e0c47",10:"#330c4e",20:"#460f6c",30:"#5b1390",40:"#7421b1",50:"#9832e4",55:"#a348e7",60:"#c184ef",70:"#ca96f1",80:"#ead1fe",95:"#f9f0ff"}),fuchsia:Kt({5:"#39092a",10:"#400932",20:"#560d4a",30:"#6f1165",40:"#8c158a",50:"#b61cbb",55:"#ca1fce",60:"#e66ee9",70:"#ea86ed",80:"#facbfb",95:"#feefff"}),pink:Kt({5:"#3d0722",10:"#430725",20:"#5d0933",30:"#790d44",40:"#9a1058",50:"#ca1473",55:"#e11681",60:"#f170b4",70:"#f388c0",80:"#fdcde6",95:"#fff0f8"}),crimson:Kt({5:"#430213",10:"#470314",20:"#62041c",30:"#800524",40:"#9f1036",50:"#ce1a4b",55:"#e8144c",60:"#f37596",70:"#f58ba7",80:"#fdceda",95:"#fff1f4"}),red:Kt({5:"#450001",10:"#490102",20:"#640304",30:"#800506",40:"#a11012",50:"#d11a1e",55:"#ed0a0e",60:"#f97476",70:"#fa8b8d",80:"#fdcfcf",95:"#fff1f1"}),black:"#000000",white:"#ffffff"},i0e=n0e,s0e=16,o0e="",a0e=o0e,u0e={"::scrollbar":"::-webkit-scrollbar","::scrollbar-button":"::-webkit-scrollbar-button","::scrollbar-thumb":"::-webkit-scrollbar-thumb","::scrollbar-track":"::-webkit-scrollbar-track","::scrollbar-track-piece":"::-webkit-scrollbar-track-piece","::scrollbar-corner":"::-webkit-scrollbar-corner","::slider-thumb":["::-webkit-slider-thumb","::-moz-range-thumb"],"::slider-runnable-track":["::-webkit-slider-runnable-track","::-moz-range-track"],"::meter":"::-webkit-meter","::resizer":"::-webkit-resizer","::progress":"::-webkit-progress",":first":":first-child",":last":":last-child",":even":":nth-child(2n)",":odd":":nth-child(odd)",":nth(":":nth-child("},l0e=u0e,c0e={square:{"aspect-ratio":"1/1"},video:{"aspect-ratio":"16/9"},rounded:{"border-radius":"1e9em"},round:{"border-radius":"50%"},hidden:{display:"none"},hide:{display:"none"},block:{display:"block"},table:{display:"table"},flex:{display:"flex"},grid:{display:"grid"},contents:{display:"contents"},inline:{display:"inline"},"inline-block":{display:"inline-block"},"inline-flex":{display:"inline-flex"},"inline-grid":{display:"inline-grid"},"inline-table":{display:"inline-table"},"table-cell":{display:"table-cell"},"table-caption":{display:"table-caption"},"flow-root":{display:"flow-root"},"list-item":{display:"list-item"},"table-row":{display:"table-row"},"table-column":{display:"table-column"},"table-row-group":{display:"table-row-group"},"table-column-group":{display:"table-column-group"},"table-header-group":{display:"table-header-group"},"table-footer-group":{display:"table-footer-group"},italic:{"font-style":"italic"},oblique:{"font-style":"oblique"},isolate:{isolation:"isolate"},overflow:{overflow:"visible"},untouchable:{"pointer-events":"none"},static:{position:"static"},fixed:{position:"fixed"},abs:{position:"absolute"},rel:{position:"relative"},sticky:{position:"sticky"},uppercase:{"text-transform":"uppercase"},lowercase:{"text-transform":"lowercase"},capitalize:{"text-transform":"capitalize"},visible:{visibility:"visible"},invisible:{visibility:"hidden"},vw:{width:"100vw"},vh:{height:"100vh"},"max-vw":{"max-width":"100vw"},"max-vh":{"max-height":"100vh"},"min-vw":{"min-width":"100vw"},"min-vh":{"min-height":"100vh"},"center-content":{"justify-content":"center","align-items":"center"},"sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":"0"},full:{width:"100%",height:"100%"},center:{left:0,right:0,"margin-left":"auto","margin-right":"auto"},middle:{top:0,bottom:0,"margin-top":"auto","margin-bottom":"auto"},"break-spaces":{"white-space":"break-spaces"},"break-word":{"overflow-wrap":"break-word",overflow:"hidden"}},rO=c0e,f0e=["dark","light"],d0e=f0e,p0e={storage:{sync:!0,key:"scheme"}},h0e=p0e,nc={content:"content-box",border:"border-box",padding:"padding-box"},hh={min:"min-content",max:"max-content"},Ds={full:"100%",fit:"fit-content",max:"max-content",min:"min-content"};for(let t in QE)Ds[t]=QE[t]/16+"rem";var g0e={BackgroundClip:nc,BackgroundOrigin:nc,BoxSizing:{content:"content-box",border:"border-box"},ClipPath:{...nc,margin:"margin-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"},FlexDirection:{col:"column","col-reverse":"column-reverse"},FontFamily:{mono:"ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",sans:"ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji",serif:"ui-serif,Georgia,Cambria,Times New Roman,Times,serif"},FontWeight:{thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900},GridAutoColumns:hh,GridAutoRows:hh,GridTemplateColumns:hh,GridTemplateRows:hh,Order:{first:-999999,last:999999},Position:{abs:"absolute",rel:"relative"},ShapeOutside:{...nc,margin:"margin-box"},TransformBox:{...nc,fill:"fill-box",stroke:"stroke-box",view:"view-box"},Width:Ds,MinWidth:Ds,MinHeight:Ds,MaxWidth:Ds,MaxHeight:Ds,Height:Ds,FlexBasis:Ds},m0e=g0e;function HE(t,e){return(t?t+":":"")+(e.unit?e.value+e.unit:e.value)+(e.important?"!important":"")}var y0e=/^([+-.]?\d+(\.?\d+)?)(.*)?/;function RN(t,e,r){if(r){let n="",i=t.match(y0e);if(i)if(t.includes("/")){let[s,o]=t.split("/");return{value:+s/+o*100+"%",unit:n}}else{let s=+i[1];return n=i[3]||"",n||((r==="rem"||r==="em")&&(s=s/e),n=r||""),{value:s,unit:n}}}}function b0e(t,e,r){let n=c=>c==="+"||c==="-"||c==="*"||c==="/",i="",s,o="",a=!1,u=!1;function l(c,f="",d=""){if(s===2&&!u){let p=RN(o,e,r);p&&(o=p.value+p.unit)}i+=o+f+c+d,s=null,u=!1,o=""}for(let c=0;c<t.length;c++){let f=t[c];if(f==="("||f===")")a=f===")",l(f);else if(f===",")l(f,""," ");else{switch(s){case 1:break;case 2:if(n(f)){l(f," "," ");continue}else/[0-9]/.test(f)||(u=!0);break;default:a&&(i+=" "),isNaN(+f)?n(f)||(s=1):s=2;break}s?o+=f:i+=f}}return o&&(i+=o),i}function VE(t,e,r,n,i,s){let o="",a="",u;if(typeof t=="number")o=t,a=e||"";else{if(n){let c=!1,f=!1;t=t.replace(new RegExp(`(^|,| |\\()((?:${r.join("|")})(?:-(?:[0-9A-Za-z-]+))?)(?:\\/(\\.?[0-9]+%?))?(?=(\\)|\\}|,| |$))`,"gm"),(d,p,h,y)=>{f=!0;let v=n[h];if(v){let g;for(let b of s)if(g=v[b])break;if(g){c=!0;let b=g;if(y){let w=y.endsWith("%")?parseFloat(y)/100:+y;w=isNaN(w)?1:Math.min(Math.max(w,0),1),b+=Math.round(w*255).toString(16).toUpperCase().padStart(2,"0")}return p+b}}return d}),f&&(u=c)}let l=RN(t,i,e);if(l)return l;o=(t.indexOf("calc(")===-1?t:b0e(t,i,e)).replace(/\$\(((\w|-)+)\)/g,"var(--$1)")}return{value:o,unit:a,colorMatched:u}}var ag={"(":")","'":"'",'"':'"',"{":"}"},v0e=["!","*",">","+","~",":","[","@","_"];function pc(t,e,r,n=[]){let i=[",",...n],s=[],o="",a=0;return function u(l,c,f,d="",p=[],h=[]){let y,v=!1;c&&(c===")"&&o.slice(-1)==="$"?y=o.length-1:(c==="'"||c==='"')&&(v=!0),o+=l[a++]);let g=()=>{let b=o;if(o="",e&&b in e&&!p.includes(b)){let w=a;a=0,u(e[b].toString(),void 0,void 0,void 0,[...p,b],h),a=w}else if(r&&b in r&&!h.includes(b)){let w=a;a=0,u(r[b].toString(),void 0,void 0,void 0,p,[...h,b]),a=w}else s.push({value:b})};for(;a<l.length;a++){let b=l[a];if(b===c){if(o+=b,v){let w=0;for(let _=o.length-2;o[_]==="\\";_--)w++;if(w%2)continue}y!==void 0&&(o=o.slice(0,y)+o.slice(y).replace(/\$\((.*)\)/,"var(--$1)")),f||(v?s.push(o):g(),d="",o="");break}else if(!v&&b in ag)u(l,ag[b],f===void 0?0:f+1,d,p,h);else if((b==="|"||b===" ")&&c!=="}"&&(!v||d==="path"))c?o+=" ":g();else{if(!c){if(b==="."){if(isNaN(+l[a+1]))break;l[a-1]==="-"&&(o+="0")}else if(i.includes(b)){o&&g(),s.push(b);continue}else if(b==="#"&&(o||s.length&&l[a-1]!=="|"&&s[a-1]!==" ")||v0e.includes(b))break;d+=b}o+=b}}f===void 0&&o&&g()}(t),[s,t.slice(a)]}var vN=[":disabled",":active",":focus",":hover"],ic="matches",w0e="semantics",wN="symbol",AN="width",GE="max-"+AN,KE="min-"+AN,JE="motion",PN="reduce",_N=PN+"d-"+JE,YE="px",_0e="rem",x0e=/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/,S0e=t=>t.split(x0e).map((e,r)=>r%3?e:e.replace(/_/g," ")).join(""),N=class{constructor(t,e,r){this.className=t,this.matching=e,this.css=r;let n=this.constructor,{id:i,unit:s,colorful:o,prop:a}=n,{rootSize:u,scope:l,important:c}=r.config,{themeNames:f,colorNames:d,colorThemesMap:p,selectors:h,globalValues:y,breakpoints:v,mediaQueries:g}=r,b=r.values[i],w=r.relationThemesMap[t],_=t,S,q,C,R;if(e.origin===w0e){let[G,ae]=e.value;C=_.slice(G.length),S=ae}else if(this.analyzeToken)[q,R,C]=this.analyzeToken(_,b,y);else{let G;if(e.origin===ic){let ae=_.indexOf(":");this.prefix=_.slice(0,ae+1),this.prefix.includes("(")?(this.prefix=void 0,G=_):G=_.slice(ae+1)}else e.origin===wN&&(this.symbol=_[0],G=_.slice(1));[R,C]=pc(G,b,y)}C[0]==="!"&&(this.important=!0,C=C.slice(1));let O=G=>{let ae=S0e(G),L=[],M="",oe=0;for(let re=0;re<ae.length;re++){let fe=ae[re];if(fe==="\\"){M+=fe+ae[++re];continue}!oe&&fe===","?(L.push(M),M=""):(M+=fe,oe&&fe===")"?oe--:fe==="("&&oe++)}return M&&L.push(M),L};this.prefixSelectors=q?O(q):[""];let z=C.split("@"),F=z[0];if(F){this.vendorSuffixSelectors={};let G=(re,fe,ue,ie)=>{for(let[pe,ve]of fe)if(pe.test(re)){for(let Ce of ve)G(re.replace(pe,Ce),fe,ue,!0);return}ie&&ue.push(re)},ae=[];""in h?G(F,h[""],ae,!0):ae.push(F);let L={};for(let[re,fe]of Object.entries(h)){if(!re)continue;let ue=[];for(let ie of ae)G(ie,fe,ue,!1);ue.length&&(L[re]=ue)}let M=(re,fe)=>{let ue=fe.reduce((ie,pe)=>(ie.push(...O(pe)),ie),[]);re in this.vendorSuffixSelectors?this.vendorSuffixSelectors[re].push(...ue):this.vendorSuffixSelectors[re]=ue},oe=Object.keys(L);if(oe.length)for(let re of oe)M(re,L[re]);else M("",ae);for(let re of Object.values(this.vendorSuffixSelectors))for(let fe of re){this.hasWhere!==!1&&(this.hasWhere=fe.includes(":where("));for(let ue=0;ue<vN.length;ue++)if(fe.includes(vN[ue])){(this.priority===-1||this.priority>ue)&&(this.priority=ue);break}}}else this.vendorSuffixSelectors={"":[""]};for(let G=1;G<z.length;G++){let ae=z[G];if(ae)if(f.includes(ae))this.theme=ae;else if(ae==="rtl"||ae==="ltr")this.direction=ae;else{let L,M,oe=ae.indexOf("_");if(oe!==-1)L=ae.slice(0,oe),M=ae.slice(oe);else{let re=ae.indexOf("(");re!==-1&&(L=ae.slice(0,re),M=ae.slice(re))}if(!L){L="media";let re=[];this.media={token:ae,features:{}};let fe=ae.split("&");for(let ue of fe)if(ue==="all"||ue==="print"||ue==="screen"||ue==="speech")this.media.type=ue;else if(ue==="\u{1F5A8}")this.media.type="print";else if(ue==="landscape"||ue==="portrait")re.push("(orientation:"+ue+")");else if(ue===JE||ue===_N)re.push("(prefers-"+_N+":"+(ue===JE?"no-preference":PN)+")");else if(g&&ue in g)re.push(g[ue]);else{let ie={token:ue},pe="",ve="",Ce=0;ue.startsWith("<=")?(ve="<=",pe=GE):ue.startsWith(">=")||v[ue]?(ve=">=",pe=KE):ue.startsWith(">")?(ve=">",pe=KE,Ce=.02):ue.startsWith("<")&&(ve="<",pe=GE,Ce=-.02);let Qe=ve?ue.replace(ve,""):ue,be=v[Qe];switch(pe){case GE:case KE:be?Object.assign(ie,VE(be,YE)):Object.assign(ie,VE(Qe,YE)),ie.unit===YE&&(ie.value+=Ce),this.media.features[pe]=ie,re.push("("+pe+":"+(ie.value+ie.unit)+")");break}}M="",this.media.type&&(M=this.media.type),re.length&&(M+=(M?" and ":"")+re.join(" and "))}M&&(this.at[L]=(L in this.at?this.at[L]+" and ":"")+M.replace(/_/g," "))}}this.order===void 0&&(this.order=0);let ee=(G,ae)=>{let L,M,oe=(fe,ue,ie)=>{let pe="";this.direction&&(pe+="[dir="+this.direction+"] ");let ve=this.prefixSelectors.map(be=>be+pe),Ce=(be,Ct)=>ve.map(dt=>(be?"."+be+" ":"")+(l?l+" ":"")+dt).reduce((dt,de)=>(dt.push(ie.reduce((le,ne)=>(le.push(de+"."+CSS.escape(Ct)+ne),le),[]).join(",")),dt),[]).join(","),Qe=Ce(ue,t)+(w?Object.entries(w).filter(([be])=>this.theme||!o||!ue||!be||be===ue).map(([be,Ct])=>Ct.reduce((dt,de)=>dt+","+Ce(this.theme??((o||this.getThemeProps)&&ue||be),de),"")).join(""):"")+"{"+fe+"}";for(let be of Object.keys(this.at).sort((Ct,dt)=>dt==="supports"?-1:1))Qe="@"+be+" "+this.at[be]+"{"+Qe+"}";return Qe},re=[];if(R){let fe,ue;for(let ie of R)typeof ie=="string"?re.push(ie):(fe=VE(ie.value,s,o&&d,o&&p,u,this.theme?[this.theme,""]:[G]),fe.colorMatched!==void 0&&ue!==!0&&(ue=fe.colorMatched),re.push(fe.value+fe.unit));if(ae&&(ue===void 0?G:!ue))return;if(re.length===1?fe?(L=fe.value,M=fe.unit):L=re[0]:L=re.reduce((ie,pe,ve)=>ie+pe+(pe===","||R[ve+1]===","||ve===R.length-1?"":" "),""),typeof L!="object"){this.parseValue&&(L=this.parseValue(L,this.css.config)),o&&L==="current"&&(L="currentColor");let ie={unit:M,value:L,important:this.important};if(this.getThemeProps){let pe=this.getThemeProps(ie,r);for(let ve in pe)for(let Ce of Object.values(this.vendorSuffixSelectors))this.natives.push({unit:M,value:L,text:oe(Object.entries(pe[ve]).map(([Qe,be])=>HE(Qe,{important:(this.important||c)&&!be.endsWith("!important"),unit:"",value:be})).join(";"),ve,Ce),theme:ve});return}else this.get&&(L=this.get(ie))}}else L=S;for(let fe of Object.values(this.vendorSuffixSelectors))this.natives.push({unit:M,value:L,text:oe(typeof L=="object"?Object.entries(L).map(([ue,ie])=>HE(ue,{...typeof ie=="object"?ie:{unit:"",value:ie},important:this.important||c})).join(";"):HE(a,{unit:M,value:L,important:this.important||c}),G,fe),theme:G})};if(this.getThemeProps)ee(void 0,!1);else if(this.theme)ee(this.theme,!1);else if(o)for(let G of f)ee(G,!0);else ee("",!1)}prefix;symbol;token;prefixSelectors;vendorSuffixSelectors;important;media;at={};direction;theme;unitToken;hasWhere;priority=-1;natives=[];static get prop(){return this.id?.replace(/(?!^)[A-Z]/g,t=>"-"+t).toLowerCase()}static match(t,e,r,n){let{colorStarts:i,symbol:s,prop:o}=this;if(e&&e.test(t))return{origin:ic};if(i){if(t.match("^"+i+"(?:(?:#|(rgb|hsl)\\(.*\\))((?!\\|).)*$|(?:transparent|current|inherit))"))return{origin:ic};if(n.length&&t.indexOf("|")===-1){let a=t.match("^"+i+"((?:"+n.join("|")+")[0-9a-zA-Z-]*)");if(a&&a[1]in r)return{origin:ic}}}if(s&&t.startsWith(s))return{origin:wN};if(o&&t.startsWith(o+":"))return{origin:ic}}get text(){return this.natives.map(t=>t.text).join("")}};x(N,"id"),x(N,"matches"),x(N,"colorStarts"),x(N,"symbol"),x(N,"unit",_0e),x(N,"colorful");var mh=class extends N{};x(mh,"id","FontWeight"),x(mh,"matches","^f(?:ont)?:(?:bolder|$values)(?!\\|)"),x(mh,"unit","");var XE=class extends N{};x(XE,"id","FontFamily"),x(XE,"matches","^f(?:ont)?:(?:$values)(?!\\|)");var ZE=class extends N{};x(ZE,"id","FontSize"),x(ZE,"matches","^f(?:ont)?:(?:[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var eC=class extends N{static get prop(){return""}get(t){let e=this.prefix[0]==="m"?"margin":"padding",r=e+"-left",n=e+"-right",i=e+"-top",s=e+"-bottom";switch(this.prefix[1]){case"x":return{[r]:t,[n]:t};case"y":return{[i]:t,[s]:t};case"l":return{[r]:t};case"r":return{[n]:t};case"t":return{[i]:t};case"b":return{[s]:t};default:return{[e]:t}}}get order(){return this.prefix==="p:"||this.prefix==="m:"?-1:0}};x(eC,"id","Spacing"),x(eC,"matches","^[pm][xytblr]?:.");var tC=class extends N{};x(tC,"id","Width"),x(tC,"matches","^w:.");var rC=class extends N{};x(rC,"id","Height"),x(rC,"matches","^h:.");var nC=class extends N{};x(nC,"id","MinWidth"),x(nC,"matches","^min-w:.");var iC=class extends N{};x(iC,"id","MinHeight"),x(iC,"matches","^min-h:.");var yh=class extends N{};x(yh,"id","LetterSpacing"),x(yh,"matches","^ls:."),x(yh,"unit","em");var k0e="subpixel-antialiased",xN="-webkit-font-smoothing",SN="-moz-osx-font-smoothing",bh=class extends N{static get prop(){return""}get(t){let e={};switch(t.value){case k0e:e[xN]=e[SN]={...t,value:"auto"};break;case"antialiased":e[xN]={...t,value:"antialiased"},e[SN]={...t,value:"grayscale"};break}return e}};x(bh,"id","FontSmoothing"),x(bh,"matches","^f(?:ont)?:(?:antialiased|subpixel-antialiased|$values)(?!\\|)"),x(bh,"unit","");var vh=class extends N{};x(vh,"id","FontStyle"),x(vh,"matches","^f(?:ont)?:(?:normal|italic|oblique|$values)(?!\\|)"),x(vh,"unit","deg");var sC=class extends N{};x(sC,"id","FontVariantNumeric"),x(sC,"matches","^f(?:ont)?:(?:ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions|$values)(?!\\|)");var oC=class extends N{};x(oC,"id","FontFeatureSettings"),x(oC,"matches","^font-feature:.");var wh=class extends N{};x(wh,"id","LineHeight"),x(wh,"matches","^lh:."),x(wh,"unit","");var aC=class extends N{};x(aC,"id","ObjectFit"),x(aC,"matches","^(?:object|obj):(?:contain|cover|fill|scale-down|$values)");var uC=class extends N{};x(uC,"id","ObjectPosition"),x(uC,"matches","^(?:object|obj):(?:top|bottom|right|left|center|$values)");var lC=class extends N{};x(lC,"id","TextAlign"),x(lC,"matches","^t(?:ext)?:(?:justify|center|left|right|start|end|$values)(?!\\|)");var _h=class extends N{order=-1};x(_h,"id","TextDecoration"),x(_h,"matches","^t(?:ext)?:(?:underline|line-through|overline|$values)"),x(_h,"colorful",!0);var cC=class extends N{};x(cC,"id","TextTransform"),x(cC,"matches","^t(?:ext)?:(?:uppercase|lowercase|capitalize|$values)(?!\\|)");var fC=class extends N{};x(fC,"id","VerticalAlign"),x(fC,"matches","^(?:v|vertical):.");var xh=class extends N{static get prop(){return""}get(t){return{overflow:{...t,value:"hidden"},display:{...t,value:"-webkit-box"},"overflow-wrap":{...t,value:"break-word"},"text-overflow":{...t,value:"ellipsis"},"-webkit-box-orient":{...t,value:"vertical"},"-webkit-line-clamp":t}}};x(xh,"id","Lines"),x(xh,"matches","^lines:."),x(xh,"unit","");var Sh=class extends N{};x(Sh,"id","TransformOrigin"),x(Sh,"matches","^transform:(?:top|bottom|right|left|center|[0-9]|$values)"),x(Sh,"unit","px");var dC=class extends N{};x(dC,"id","TransformStyle"),x(dC,"matches","^transform:(?:flat|preserve-3d|$values)(?!\\|)");var pC=class extends N{};x(pC,"id","TransformBox"),x(pC,"matches","^transform:(?:$values)(?!\\|)");var kh=class extends N{parseValue(t,{rootSize:e}){return t.replace(/(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\((.*?)\)/g,(r,n,i,s)=>{let o,a;switch(n){case"translate":o="rem";break;case"skew":o="deg";break;case"rotate":i==="3d"&&(a=!0),o="deg";break;default:return r}let u=s.split(",");return r.replace(s,u.map((l,c)=>!a||u.length-1===c?Number.isNaN(+l)?l:l/(o==="rem"?e:1)+o:l).join(","))})}};x(kh,"id","Transform"),x(kh,"matches","^(?:translate|scale|skew|rotate|perspective|matrix)(?:3d|[XYZ])?\\("),x(kh,"unit","");var hC=class extends N{order=-1};x(hC,"id","Transition"),x(hC,"symbol","~");var Eh=class extends N{};x(Eh,"id","TransitionDelay"),x(Eh,"matches","^~delay:."),x(Eh,"unit","ms");var Ch=class extends N{};x(Ch,"id","TransitionDuration"),x(Ch,"matches","^~duration:."),x(Ch,"unit","ms");var gC=class extends N{};x(gC,"id","TransitionProperty"),x(gC,"matches","^~property:.");var mC=class extends N{};x(mC,"id","TransitionTimingFunction"),x(mC,"matches","^~easing:.");var yC=class extends N{};x(yC,"id","MaxHeight"),x(yC,"matches","^max-h:.");var bC=class extends N{};x(bC,"id","MaxWidth"),x(bC,"matches","^max-w:.");var vC=class extends N{};x(vC,"id","Display"),x(vC,"matches","^d:.");var wC=class extends N{};x(wC,"id","BoxSizing"),x(wC,"matches","^box:(?:$values)(?!\\|)");var _C=class extends N{};x(_C,"id","Opacity"),x(_C,"unit","");var TN=class extends N{};x(TN,"id","Visibility");var MN=class extends N{};x(MN,"id","Clear");var LN=class extends N{};x(LN,"id","Float");var FN=class extends N{};x(FN,"id","Isolation");var xC=class extends N{static get prop(){return""}get(t){if(this.prefix)switch(this.prefix.slice(-2,-1)){case"x":return{"overflow-x":t};case"y":return{"overflow-y":t}}return{overflow:t}}get order(){if(this.prefix)switch(this.prefix.slice(-2,-1)){case"x":case"y":return 0}return-1}};x(xC,"id","Overflow"),x(xC,"matches","^overflow(?:-x|-y)?:(?:visible|overlay|hidden|scroll|auto|clip|inherit|initial|revert|revert-layer|unset|\\$|var|$values)");var SC=class extends N{static get prop(){return""}get(t){switch(this.prefix.slice(-2,-1)){case"x":return{"overscroll-behavior-x":t};case"y":return{"overscroll-behavior-y":t};default:return{"overscroll-behavior":t}}}};x(SC,"id","OverscrollBehavior"),x(SC,"matches","^overscroll-behavior(?:-[xy])?:");var Dh=class extends N{};x(Dh,"id","ZIndex"),x(Dh,"matches","^z:."),x(Dh,"unit","");var Oh=class extends N{};x(Oh,"id","AnimationDelay"),x(Oh,"matches","^@delay:."),x(Oh,"unit","ms");var kC=class extends N{};x(kC,"id","AnimationDirection"),x(kC,"matches","^@direction:.");var EC=class extends N{};x(EC,"id","AnimationFillMode"),x(EC,"matches","^@fill-mode:.");var qh=class extends N{};x(qh,"id","AnimationIterationCount"),x(qh,"matches","^@iteration-count:."),x(qh,"unit","");var CC=class extends N{};x(CC,"id","AnimationName"),x(CC,"matches","^@name:.");var DC=class extends N{};x(DC,"id","AnimationPlayState"),x(DC,"matches","^@play-state:.");var OC=class extends N{};x(OC,"id","AnimationTimingFunction"),x(OC,"matches","^@easing:.");var Rh=class extends N{order=-1};x(Rh,"id","Animation"),x(Rh,"symbol","@"),x(Rh,"unit","");var gh="border-";function cg(t,e,r=""){r&&(r="-"+r);let n=/^b(order)?-?(.)?/.exec(t)[2],i=gh+"left"+r,s=gh+"right"+r,o=gh+"top"+r,a=gh+"bottom"+r;switch(n){case"x":return{[i]:e,[s]:e};case"y":return{[o]:e,[a]:e};case"l":return{[i]:e};case"r":return{[s]:e};case"t":return{[o]:e};case"b":return{[a]:e};default:return{["border"+r]:e}}}var oc=class extends N{static get prop(){return""}get(t){return cg(this.prefix,t,"color")}get order(){return this.prefix==="border-color:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};x(oc,"id","BorderColor"),x(oc,"matches","^border(?:-(?:left|right|top|bottom))?-color:."),x(oc,"colorStarts","b(?:[xytblr]|(?:order(?:-(?:left|right|top|bottom))?))?:"),x(oc,"colorful",!0);var Ah="border-top-left-radius",Ph="border-top-right-radius",Th="border-bottom-left-radius",Mh="border-bottom-right-radius",kN="border-radius",E0e=[Ah,Ph,Th,Mh],qC=class extends N{static get prop(){return""}get(t){if(this.prefix){let r="",n=this.prefix.split("-");if(n.length>1)for(let i=1;i<n.length-1;i++)r+=n[i][0];else r=this.prefix.slice(1,-1);switch(r){case"t":return{[Ah]:t,[Ph]:t};case"tl":case"lt":return{[Ah]:t};case"rt":case"tr":return{[Ph]:t};case"b":return{[Th]:t,[Mh]:t};case"bl":case"lb":return{[Th]:t};case"br":case"rb":return{[Mh]:t};case"l":return{[Ah]:t,[Th]:t};case"r":return{[Ph]:t,[Mh]:t};default:return{[kN]:t}}}let e=this.prefix?.slice(0,-1);return{[E0e.includes(e)?e:kN]:t}}get order(){return this.prefix==="border-radius:"||this.prefix==="r:"?-1:0}};x(qC,"id","BorderRadius"),x(qC,"matches","^(?:r[tblr]?[tblr]?|border(?:-(?:top|bottom)-(?:left|right))?-radius):.");var RC=class extends N{static get prop(){return""}get(t){return cg(this.prefix,t,"style")}get order(){return this.prefix==="border-style:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};x(RC,"id","BorderStyle"),x(RC,"matches","^(?:border(?:-(?:left|right|top|bottom))?-style:.|b(?:[xytblr]|order(?:-(?:left|right|top|bottom))?)?:(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|))");var AC=class extends N{static get prop(){return""}get(t){return cg(this.prefix,t,"width")}get order(){return this.prefix==="border-width:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};x(AC,"id","BorderWidth"),x(AC,"matches","^(?:border(?:-(?:left|right|top|bottom))?-width:.|b(?:[xytblr]|order(?:-(?:left|right|top|bottom))?)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$)");var Lh=class extends N{static get prop(){return""}get(t){return cg(this.prefix,t)}get order(){return this.prefix==="border:"||this.prefix==="b:"?-2:-1}};x(Lh,"id","Border"),x(Lh,"matches","^b(?:[xytblr]?|order(?:-(?:left|right|top|bottom))?):."),x(Lh,"colorful",!0);var PC=class extends N{};x(PC,"id","BackgroundAttachment"),x(PC,"matches","^(?:bg|background):(?:fixed|local|scroll|$values)(?!\\|)");var IN=class extends N{};x(IN,"id","BackgroundBlendMode");var TC=class extends N{get(t){return{"-webkit-background-clip":t,"background-clip":t}}};x(TC,"id","BackgroundClip"),x(TC,"matches","^(?:bg|background):(?:text|$values)(?!\\|)");var ac=class extends N{};x(ac,"id","BackgroundColor"),x(ac,"colorStarts","(?:bg|background):"),x(ac,"unit",""),x(ac,"colorful",!0);var MC=class extends N{};x(MC,"id","BackgroundOrigin"),x(MC,"matches","^(?:bg|background):(?:$values)(?!\\|)");var Fh=class extends N{};x(Fh,"id","BackgroundPosition"),x(Fh,"matches","^(?:bg|background):(?:top|bottom|right|left|center|$values)(?!\\|)"),x(Fh,"unit","px");var LC=class extends N{};x(LC,"id","BackgroundRepeat"),x(LC,"matches","^(?:bg|background):(?:space|round|repeat|no-repeat|repeat-x|repeat-y|$values)(?![|a-zA-Z])");var FC=class extends N{};x(FC,"id","BackgroundSize"),x(FC,"matches","^(?:bg|background):(?:\\.?\\[0-9]+|auto|cover|contain|$values)(?!\\|)");var Ih=class extends N{};x(Ih,"id","BackgroundImage"),x(Ih,"matches","^(?:bg|background):(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)"),x(Ih,"colorful",!0);var Nh=class extends N{order=-1};x(Nh,"id","Background"),x(Nh,"matches","^bg:."),x(Nh,"colorful",!0);var IC=class extends N{};x(IC,"id","MixBlendMode"),x(IC,"matches","^blend:.");var NN=class extends N{};x(NN,"id","Position");function jN(t,e,{rootSize:r}){let n="",i=0;return function s(o,a){let u="",l=a?e(a):"",c=()=>{u&&(n+=!l||Number.isNaN(+u)?u:+u/(l==="rem"?r:1)+l,u="")};for(;i<t.length;i++){let f=t[i];if(f===o&&(o!=="'"||t[i+1]===")")){c(),n+=f;break}else f===","||f===" "?(c(),n+=f):!u&&f==="'"?(n+=f,i++,s(f),u=""):u&&f==="("?(n+=u+f,i++,s(")",u),u=""):u+=f}c()}(),n}var jh=class extends N{get(t){return{"backdrop-filter":t,"-webkit-backdrop-filter":t}}parseValue(t,e){return jN(t,r=>{switch(r){case"blur":case"drop-shadow":return"rem";case"hue-rotate":return"deg"}return""},e)}};x(jh,"id","BackdropFilter"),x(jh,"matches","^bd:."),x(jh,"colorful",!0);var $h=class extends N{};x($h,"id","Fill"),x($h,"colorStarts","fill:"),x($h,"colorful",!0);var NC=class extends N{};x(NC,"id","Stroke"),x(NC,"colorful",!0);var jC=class extends N{};x(jC,"id","StrokeWidth"),x(jC,"matches","^stroke:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var Bh=class extends N{parseValue(t,e){return jN(t,r=>{switch(r){case"blur":case"drop-shadow":return"rem";case"hue-rotate":return"deg"}return""},e)}};x(Bh,"id","Filter"),x(Bh,"matches","^(?:blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\\("),x(Bh,"colorful",!0);var $N=class extends N{};x($N,"id","Cursor");var BN=class extends N{};x(BN,"id","PointerEvents");var WN=class extends N{};x(WN,"id","Resize");var zN=class extends N{};x(zN,"id","TouchAction");var UN=class extends N{get(t){return{"user-drag":t,"-webkit-user-drag":t}}};x(UN,"id","UserDrag");var HN=class extends N{get(t){return{"user-select":t,"-webkit-user-select":t}}};x(HN,"id","UserSelect");var Wh=class extends N{};x(Wh,"id","BoxShadow"),x(Wh,"matches","^s(?:hadow)?:."),x(Wh,"colorful",!0);var $C=class extends N{};x($C,"id","TextShadow"),x($C,"colorful",!0);var EN=.5,BC=class extends N{static get prop(){return""}get(t){let{unit:e,value:r}=t;return{"font-size":t,"line-height":{...t,value:e==="rem"?r+EN+e:`calc(${r}${e} + ${EN}rem)`,unit:""}}}};x(BC,"id","TextSize"),x(BC,"matches","^t(?:ext)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var WC=class extends N{};x(WC,"id","WordBreak"),x(WC,"unit","");var zh=class extends N{get(t){return{display:{...t,value:"grid"},"grid-template-columns":{...this,value:"repeat("+t.value+",minmax("+0+","+1+"fr))"}}}};x(zh,"id","GridColumns"),x(zh,"matches","^grid-cols:."),x(zh,"unit","");var zC=class extends N{get(t){return{display:{...t,value:"grid"},"grid-auto-flow":{...t,value:"column"},"grid-template-rows":{...t,value:"repeat("+t.value+",minmax("+0+","+1+"fr))"}}}};x(zC,"id","GridRows"),x(zC,"unit","");var UC=class extends N{static get prop(){return""}get(t){switch(this.prefix[4]){case"x":return{"column-gap":t};case"y":return{"row-gap":t};default:return{gap:t}}}order=-1};x(UC,"id","Gap"),x(UC,"matches","^gap(?:-x|-y)?:.");var HC=class extends N{};x(HC,"id","WordSpacing"),x(HC,"unit","em");var Uh=class extends N{static get prop(){return""}get(t){return{["--"+this.prefix.slice(1,-1)]:t}}};x(Uh,"id","Variable"),x(Uh,"matches","^\\$[^ {}A-Z]+:[^ ]"),x(Uh,"unit","");var Hh=class extends N{};x(Hh,"id","AspectRatio"),x(Hh,"matches","^aspect:."),x(Hh,"unit","");var VC=class extends N{get(t){return{"box-decoration-break":t,"-webkit-box-decoration-break":t}}};x(VC,"id","BoxDecorationBreak"),x(VC,"matches","^box:(?:slice|clone|$values)(?!\\|)");var VN=class extends N{};x(VN,"id","BreakAfter");var GN=class extends N{};x(GN,"id","BreakBefore");var KN=class extends N{};x(KN,"id","BreakInside");var GC=class extends N{};x(GC,"id","FlexShrink"),x(GC,"unit","");var KC=class extends N{};x(KC,"id","FlexDirection"),x(KC,"matches","^flex:(?:(?:row|column)(?:-reverse)?|$values)(?!\\|)");var YC=class extends N{};x(YC,"id","FlexGrow"),x(YC,"unit","");var QC=class extends N{};x(QC,"id","FlexWrap"),x(QC,"matches","^flex:(?:wrap(?:-reverse)?|nowrap|$values)(?!\\|)");var YN=class extends N{};x(YN,"id","FlexBasis");var JC=class extends N{order=-1};x(JC,"id","Flex"),x(JC,"unit","");var Vh=class extends N{};x(Vh,"id","Order"),x(Vh,"matches","^o:."),x(Vh,"unit","");var Gh=class extends N{parseValue(t){return this.prefix.slice(-5,-1)==="span"&&t!=="auto"?"span "+t+"/span "+t:t}order=-1};x(Gh,"id","GridColumn"),x(Gh,"matches","^grid-col(?:umn)?(?:-span)?:."),x(Gh,"unit","");var XC=class extends N{};x(XC,"id","ColumnSpan"),x(XC,"matches","^col-span:.");var Kh=class extends N{parseValue(t){return this.prefix.slice(-5,-1)==="span"&&t!=="auto"?"span "+t+"/span "+t:t}order=-1};x(Kh,"id","GridRow"),x(Kh,"matches","^grid-row-span:."),x(Kh,"unit","");var uc=class extends N{};x(uc,"id","Color"),x(uc,"matches","^(?:color|fg|foreground):."),x(uc,"colorful",!0),x(uc,"unit","");var ZC=class extends N{};x(ZC,"id","AlignContent"),x(ZC,"matches","^ac:.");var eD=class extends N{};x(eD,"id","AlignItems"),x(eD,"matches","^ai:.");var tD=class extends N{};x(tD,"id","AlignSelf"),x(tD,"matches","^as:");var rD=class extends N{};x(rD,"id","GridAutoColumns"),x(rD,"matches","^grid-auto-cols:.");var nD=class extends N{};x(nD,"id","GridAutoFlow"),x(nD,"matches","^grid-flow:.");var QN=class extends N{};x(QN,"id","GridAutoRows");var iD=class extends N{};x(iD,"id","JustifyContent"),x(iD,"matches","^jc:.");var sD=class extends N{};x(sD,"id","JustifyItems"),x(sD,"matches","^ji:.");var oD=class extends N{};x(oD,"id","JustifySelf"),x(oD,"matches","^js:.");var JN=class extends N{order=-1};x(JN,"id","PlaceContent");var XN=class extends N{order=-1};x(XN,"id","PlaceItems");var ZN=class extends N{order=-1};x(ZN,"id","PlaceSelf");var aD=class extends N{static get prop(){return""}get(t){return{[this.prefix.slice(0,-1)]:t}}get order(){return this.prefix==="padding:"?-1:0}};x(aD,"id","Padding"),x(aD,"matches","^padding(?:-(?:left|right|top|bottom))?:.");var uD=class extends N{static get prop(){return""}get(t){return{[this.prefix.slice(0,-1)]:t}}get order(){return this.prefix==="margin:"?-1:0}};x(uD,"id","Margin"),x(uD,"matches","^margin(?:-(?:left|right|top|bottom))?:.");var lD=class extends N{};x(lD,"id","TextOverflow"),x(lD,"matches","^(?:text-(?:overflow|ovf):.|t(?:ext)?:(?:ellipsis|clip|$values)(?!\\|))");var cD=class extends N{};x(cD,"id","ListStylePosition"),x(cD,"matches","^list-style:(?:inside|outside|$values)(?!\\|)");var fD=class extends N{};x(fD,"id","ListStyleType"),x(fD,"matches","^list-style:(?:disc|decimal|$values)(?!\\|)");var e5=class extends N{order=-1};x(e5,"id","ListStyle");var Yh=class extends N{};x(Yh,"id","TextDecorationColor"),x(Yh,"colorStarts","text-decoration:"),x(Yh,"colorful",!0);var dD=class extends N{};x(dD,"id","TextDecorationStyle"),x(dD,"matches","^t(?:ext)?:(?:solid|double|dotted|dashed|wavy|$values)(?!\\|)");var Qh=class extends N{};x(Qh,"id","TextDecorationThickness"),x(Qh,"matches","^text-decoration:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|from-font|$values)[^|]*$"),x(Qh,"unit","em");var t5=class extends N{};x(t5,"id","TextIndent");var r5=class extends N{};x(r5,"id","Content");var Jh=class extends N{};x(Jh,"id","OutlineColor"),x(Jh,"colorStarts","outline:"),x(Jh,"colorful",!0);var n5=class extends N{};x(n5,"id","OutlineOffset");var pD=class extends N{};x(pD,"id","OutlineStyle"),x(pD,"matches","^outline:(?:none|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)");var hD=class extends N{};x(hD,"id","OutlineWidth"),x(hD,"matches","^outline:(?:\\.?[0-9]|medium|thick|thin|(max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var gD=class extends N{order=-1};x(gD,"id","Outline"),x(gD,"colorful",!0);var mD=class extends N{};x(mD,"id","BorderCollapse"),x(mD,"matches","^b(?:order)?:(?:collapse|separate|$values)(?!\\|)");var i5=class extends N{};x(i5,"id","BorderSpacing");var s5=class extends N{};x(s5,"id","TableLayout");var Xh=class extends N{};x(Xh,"id","AccentColor"),x(Xh,"colorStarts","accent:"),x(Xh,"colorful",!0);var o5=class extends N{};x(o5,"id","Appearance");var Zh=class extends N{};x(Zh,"id","CaretColor"),x(Zh,"colorStarts","caret:"),x(Zh,"colorful",!0);var a5=class extends N{};x(a5,"id","ScrollBehavior");var yD=class extends N{static get prop(){return""}get(t){if(this.prefix.slice(-3,-2)==="m")switch(this.prefix.slice(-2,-1)){case"x":return{"scroll-margin-left":t,"scroll-margin-right":t};case"y":return{"scroll-margin-top":t,"scroll-margin-bottom":t};case"l":return{"scroll-margin-left":t};case"r":return{"scroll-margin-right":t};case"t":return{"scroll-margin-top":t};case"b":return{"scroll-margin-bottom":t}}else return{[this.prefix.replace(/-m(?!argin)/,"-margin").slice(0,-1)]:t}}get order(){return this.prefix==="scroll-margin:"||this.prefix==="scroll-m:"?-1:0}};x(yD,"id","ScrollMargin"),x(yD,"matches","^scroll-m(?:[xytblr]|argin(?:-(?:top|bottom|left|right))?)?:.");var bD=class extends N{static get prop(){return""}get(t){if(this.prefix.slice(-3,-2)==="p")switch(this.prefix.slice(-2,-1)){case"x":return{"scroll-padding-left":t,"scroll-padding-right":t};case"y":return{"scroll-padding-top":t,"scroll-padding-bottom":t};case"l":return{"scroll-padding-left":t};case"r":return{"scroll-padding-right":t};case"t":return{"scroll-padding-top":t};case"b":return{"scroll-padding-bottom":t}}else return{[this.prefix.replace(/-p(?!adding)/,"-padding").slice(0,-1)]:t}}get order(){return this.prefix==="scroll-padding:"||this.prefix==="scroll-p:"?-1:0}};x(bD,"id","ScrollPadding"),x(bD,"matches","^scroll-p(?:[xytblr]|adding(?:-(?:top|bottom|left|right))?)?:.");var vD=class extends N{};x(vD,"id","ScrollSnapAlign"),x(vD,"matches","^scroll-snap:(?:start|end|center|$values)");var wD=class extends N{};x(wD,"id","ScrollSnapStop"),x(wD,"matches","^scroll-snap:(?:normal|always|$values)(?!\\|)");var _D=class extends N{};x(_D,"id","ScrollSnapType"),x(_D,"matches","^scroll-snap:(?:(?:[xy]|block|inline|both)(?:\\|(?:proximity|mandatory))?|$values)(?!\\|)");var u5=class extends N{};x(u5,"id","WillChange");var l5=class extends N{};x(l5,"id","TextUnderlineOffset");var xD=class extends N{get(t){return{[this.prefix.slice(0,-1)]:t}}};x(xD,"id","Inset"),x(xD,"matches","^(?:top|bottom|left|right):.");var eg=class extends N{order=-1};x(eg,"id","Columns"),x(eg,"matches","^(?:columns|cols):."),x(eg,"unit","");var SD=class extends N{};x(SD,"id","WhiteSpace"),x(SD,"unit","");var kD=class extends N{};x(kD,"id","TextOrientation"),x(kD,"matches","^t(?:ext)?:(?:mixed|upright|sideways-right|sideways|use-glyph-orientation|$values)(?!\\|)");var ED=class extends N{};x(ED,"id","WritingMode"),x(ED,"matches","^writing:.");var c5=class extends N{};x(c5,"id","Contain");var tg=class extends N{};x(tg,"id","AnimationDuration"),x(tg,"matches","^@duration:."),x(tg,"unit","ms");var CD=class extends N{};x(CD,"id","TextRendering"),x(CD,"matches","^t(?:ext)?:(?:optimizeSpeed|optimizeLegibility|geometricPrecision|$values)(?!\\|)");var f5=class extends N{};x(f5,"id","Direction");var DD=class extends N{};x(DD,"id","TextDecorationLine"),x(DD,"matches","^t(?:ext)?:(?:none|underline|overline|line-through|$values)(?!\\|)");var rg=class extends N{};x(rg,"id","GridColumnStart"),x(rg,"matches","^grid-col-start:."),x(rg,"unit","");var OD=class extends N{};x(OD,"id","ListStyleImage"),x(OD,"matches","^list-style:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)");var qD=class extends N{};x(qD,"id","ShapeOutside"),x(qD,"matches","^shape:(?:(?:inset|circle|ellipse|polygon|url|linear-gradient)\\(.*\\)|$values)(?!\\|)");var RD=class extends N{};x(RD,"id","ShapeMargin"),x(RD,"matches","^shape:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var AD=class extends N{};x(AD,"id","ShapeImageThreshold"),x(AD,"unit","");var PD=class extends N{};x(PD,"id","ClipPath"),x(PD,"matches","^clip:.");var d5=class extends N{order=-1};x(d5,"id","Grid");var ng=class extends N{order=-1};x(ng,"id","Font"),x(ng,"matches","^f:."),x(ng,"unit","");var p5=class extends N{};x(p5,"id","Quotes");var h5=class extends N{order=-1};x(h5,"id","GridTemplate");var TD=class extends N{};x(TD,"id","GridRowStart"),x(TD,"unit","");var g5=class extends N{};x(g5,"id","GridTemplateAreas");var MD=class extends N{};x(MD,"id","GridTemplateColumns"),x(MD,"matches","^grid-template-cols:.");var m5=class extends N{};x(m5,"id","GridTemplateRows");var LD=class extends N{order=-1};x(LD,"id","GridArea"),x(LD,"unit","");var ig=class extends N{};x(ig,"id","GridColumnEnd"),x(ig,"matches","^grid-col-end:."),x(ig,"unit","");var FD=class extends N{};x(FD,"id","GridRowEnd"),x(FD,"unit","");var y5=class extends N{get(t){return{"mask-image":t,"-webkit-mask-image":t}}};x(y5,"id","MaskImage");var lc=class extends N{static get prop(){return""}get(t){return{"-webkit-text-fill-color":t}}};x(lc,"id","TextFillColor"),x(lc,"matches","^text-fill-color:."),x(lc,"colorStarts","(?:text-fill|text|t):"),x(lc,"colorful",!0);var ID=class extends N{static get prop(){return""}get(t){return{"-webkit-text-stroke":t}}};x(ID,"id","TextStroke"),x(ID,"matches","^text-stroke:.");var ND=class extends N{static get prop(){return""}get(t){return{"-webkit-text-stroke-width":t}}};x(ND,"id","TextStrokeWidth"),x(ND,"matches","^text-stroke(:(thin|medium|thick|\\.?[0-9]+|$values)(?!\\|)|-width:.)");var cc=class extends N{static get prop(){return""}get(t){return{"-webkit-text-stroke-color":t}}};x(cc,"id","TextStrokeColor"),x(cc,"matches","^text-stroke-color:."),x(cc,"colorStarts","text-stroke:"),x(cc,"colorful",!0);var b5=class extends N{};x(b5,"id","StrokeDasharray");var v5=class extends N{};x(v5,"id","StrokeDashoffset");var jD=class extends N{};x(jD,"id","X"),x(jD,"unit","");var $D=class extends N{};x($D,"id","Y"),x($D,"unit","");var BD=class extends N{};x(BD,"id","Cx"),x(BD,"unit","");var WD=class extends N{};x(WD,"id","Cy"),x(WD,"unit","");var zD=class extends N{};x(zD,"id","Rx"),x(zD,"unit","");var UD=class extends N{};x(UD,"id","Ry"),x(UD,"unit","");var w5=class extends N{};x(w5,"id","BorderImageOutset");var HD=class extends N{};x(HD,"id","BorderImageRepeat"),x(HD,"matches","^border-image:(?:stretch|repeat|round|space|$values)(?!\\|)");var VD=class extends N{};x(VD,"id","BorderImageSlice"),x(VD,"unit","");var GD=class extends N{};x(GD,"id","BorderImageSource"),x(GD,"matches","^border-image:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)");var KD=class extends N{};x(KD,"id","BorderImageWidth"),x(KD,"matches","^border-image:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var YD=class extends N{};x(YD,"id","BorderImage"),x(YD,"unit","");var C0e=/\{(.*)\}/,sg=class extends N{static get prop(){return""}analyzeToken(t,e,r){let n=0;for(;n<t.length&&!(t[n]==="{"&&t[n-1]!=="\\");n++);return[t.slice(0,n),...pc(t.slice(n),e,r)]}getThemeProps(t,e){let r={},n=(l,c)=>{let f=c.indexOf(":");if(f!==-1){l in r||(r[l]={});let d=r[l],p=c.slice(0,f);p in d||(d[p]=c.slice(f+1))}},i=l=>{let c=(f,d)=>{let p=d.slice(CSS.escape(l.className).length).match(C0e)[1].split(";");for(let h of p)n(f,h)};if(this.theme){let f=l.natives.find(d=>d.theme===this.theme)??l.natives.find(d=>!d.theme);f&&c(this.theme,f.text)}else for(let f of l.natives)c(f.theme,f.text)},s=[],o="",a=()=>{o&&(s.push(o),o="")},u=1;(function l(c){for(;u<t.value.length;u++){let f=t.value[u];if(!c){if(f===";"){a();continue}if(f==="}")break}if(o+=f,c===f){if(c==="'"||c==='"'){let d=0;for(let p=o.length-2;o[p]==="\\";p--)d++;if(d%2)continue}break}else f in ag&&c!=="'"&&c!=='"'&&(u++,l(ag[f]))}})(void 0),a();for(let l of s){let c=e.create(l);if(Array.isArray(c))for(let f of c)i(f);else c?i(c):n(this.theme??"",l)}return r}};x(sg,"id","Group"),x(sg,"matches","^(?:.+?[*_>~+])?\\{.+?\\}"),x(sg,"unit","");var QD=class extends N{};x(QD,"id","CounterIncrement"),x(QD,"unit","");var JD=class extends N{};x(JD,"id","CounterReset"),x(JD,"unit","");var XD=class extends N{static get prop(){return""}analyzeToken(t,e,r){return["",...pc(t,e,r,["x"])]}get(t){let[e,r]=t.value.split(" x ");return{width:{...t,value:e},height:{...t,value:r}}}};x(XD,"id","WH"),x(XD,"matches","^(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)");var ZD=class extends N{static get prop(){return""}analyzeToken(t,e,r){return["",...pc(t.slice(4),e,r,["x"])]}get(t){let[e,r]=t.value.split(" x ");return{"min-width":{...t,value:e},"min-height":{...t,value:r}}}};x(ZD,"id","MinWH"),x(ZD,"matches","^min:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)");var eO=class extends N{static get prop(){return""}analyzeToken(t,e,r){return["",...pc(t.slice(4),e,r,["x"])]}get(t){let[e,r]=t.value.split(" x ");return{"max-width":{...t,value:e},"max-height":{...t,value:r}}}};x(eO,"id","MaxWH"),x(eO,"matches","^max:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)");var D0e=[sg,Uh,ZE,mh,XE,bh,vh,sC,oC,ng,uc,eC,uD,aD,YN,QC,YC,GC,KC,JC,vC,tC,rC,nC,iC,XD,ZD,eO,c5,r5,QD,JD,yh,wh,aC,uC,lC,Yh,dD,Qh,DD,_h,l5,lD,kD,cC,CD,t5,fC,eg,SD,xD,xh,yC,bC,wC,_C,TN,MN,LN,FN,xC,SC,Dh,NN,$N,BN,WN,zN,WC,HC,UN,HN,$C,BC,lc,ND,cc,ID,Wh,s5,pC,dC,Sh,kh,gC,mC,Ch,Eh,hC,Oh,kC,tg,EC,qh,CC,DC,OC,Rh,oc,qC,RC,AC,mD,i5,w5,HD,VD,GD,KD,YD,Lh,PC,IN,ac,TC,MC,Fh,LC,FC,Ih,Nh,IC,jh,Bh,$h,b5,v5,jC,NC,jD,$D,BD,WD,zD,UD,rg,ig,Gh,zh,TD,FD,Kh,zC,rD,nD,QN,g5,MD,m5,h5,LD,d5,UC,Vh,KN,GN,VN,VC,Hh,XC,ZC,eD,tD,iD,sD,oD,JN,XN,ZN,cD,fD,OD,e5,Jh,n5,pD,hD,gD,Xh,o5,Zh,a5,yD,bD,vD,wD,_D,u5,ED,f5,qD,RD,AD,PD,p5,y5],O0e=D0e,q0e=!1,R0e=!0,A0e={colors:i0e,breakpoints:QE,semantics:rO,values:m0e,selectors:l0e,themes:d0e,scheme:h0e,Rules:O0e,rootSize:s0e,scope:a0e,override:q0e,observe:R0e},CN=A0e,tO=typeof Buffer<"u"?Buffer:null;function _5(t){return!!(tO&&t instanceof tO||t instanceof Date||t instanceof RegExp)}function x5(t){if(tO&&t instanceof Buffer){let e=Buffer.alloc(t.length);return t.copy(e),e}else{if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return new RegExp(t);throw new Error("Unexpected situation")}}function S5(t){let e=[];return t.forEach(function(r,n){typeof r=="object"&&r!==null?Array.isArray(r)?e[n]=S5(r):_5(r)?e[n]=x5(r):e[n]=ug({},r):e[n]=r}),e}function DN(t,e){return e==="__proto__"?void 0:t[e]}function ug(...t){let e={},r,n;return t.forEach(function(i){typeof i!="object"||i===null||Array.isArray(i)||Object.keys(i).forEach(function(s){if(n=DN(e,s),r=DN(i,s),r!==e)if(typeof r!="object"||r===null){e[s]=r;return}else if(Array.isArray(r)){e[s]=S5(r);return}else if(_5(r)){e[s]=x5(r);return}else if(typeof n!="object"||n===null||Array.isArray(n)){e[s]=ug({},r);return}else{e[s]=ug(n,r);return}})}),e}var P0e=[",",".","#","[","!","*",">","+","~",":","@"],T0e=/^::-[a-z]+-/m,M0e=/^rgba?\( *([0-9]{1,3}) *(?: |,) *([0-9]{1,3}) *(?: |,) *([0-9]{1,3}) *(?:(?:\/|,) *0?(\.[0-9]))?\)$/,lg,dc=typeof window<"u";dc&&(lg=document.createElement("style"),lg.title="master");var Xr="max-width",Br="min-width",L0e="attributes",F0e=dc?window.MutationObserver:Object,fc,Co,og=class extends F0e{constructor(t){super(e=>{let r={},n=[],i=[],s=[],o=(c,f)=>{f?c.classList.forEach(u):c.classList.forEach(a);let d=c.children;for(let p=0;p<d.length;p++){let h=d[p];h.classList&&(i.push(h),o(h,f))}},a=c=>{c in r?r[c]++:r[c]=1},u=c=>{c in r?r[c]--:c in this.countOfClass&&(r[c]=-1)},l=(c,f)=>{for(let d=0;d<c.length;d++){let p=c[d];p.classList&&!i.includes(p)&&!s.includes(p)&&(p.isConnected!==f?(i.push(p),o(p,f)):s.push(p))}};for(let c=0;c<e.length;c++){let f=e[c],{addedNodes:d,removedNodes:p,type:h,target:y,oldValue:v}=f;if(h===L0e){if(n.find(g=>g.target===y))continue;n.push(f)}else l(d,!1),(!y.isConnected||!i.includes(y))&&l(p,!0)}if(!(!n.length&&!Object.keys(r).length)){for(let{oldValue:c,target:f}of n){let d=i.includes(f),p=f.classList,h=c?c.split(" "):[];if(d){if(f.isConnected)continue;for(let y of h)p.contains(y)||u(y)}else if(f.isConnected){p.forEach(y=>{h.includes(y)||a(y)});for(let y of h)p.contains(y)||u(y)}}for(let c in r){let f=r[c],d=(this.countOfClass[c]||0)+f;d===0?(delete this.countOfClass[c],this.delete(c)):(c in this.countOfClass||this.insert(c),this.countOfClass[c]=d)}}}),this.config=t,x(this,"style"),x(this,"rules",[]),x(this,"ruleOfClass",{}),x(this,"countOfClass",{}),x(this,"host"),x(this,"root"),x(this,"ready",!1),x(this,"semantics"),x(this,"classes"),x(this,"colorThemesMap"),x(this,"colorNames"),x(this,"themeNames"),x(this,"relationThemesMap"),x(this,"relations"),x(this,"selectors"),x(this,"values"),x(this,"globalValues"),x(this,"breakpoints"),x(this,"mediaQueries"),x(this,"matches"),x(this,"schemeMQL"),yN(this,fc,void 0),yN(this,Co,void 0),x(this,"onThemeChange",e=>{this.theme=e.matches?"dark":"light"}),this.config?.override?this.config=CN:this.config=ug(CN,this.config),this.cache(),dc&&this.config.observe&&this.observe(document),og.instances.push(this),this.ready=!0}static refresh(t){for(let e of this.instances)e.refresh(t)}get storageScheme(){let{storage:t}=this.config.scheme;return localStorage.getItem(t.key)}set scheme(t){if(t!==Xa(this,fc)){bN(this,fc,t);let{storage:e}=this.config.scheme;t==="system"?(this.schemeMQL=window.matchMedia("(prefers-color-scheme:dark)"),this.schemeMQL.addEventListener("change",this.onThemeChange),this.theme=this.schemeMQL.matches?"dark":"light"):(this.removeSchemeListener(),this.theme=t),this.storageScheme!==t&&e.sync&&localStorage.setItem(e.key,t),this.ready&&this.host.dispatchEvent(new CustomEvent("scheme",{detail:this}))}}get scheme(){return Xa(this,fc)}set theme(t){t!==Xa(this,Co)&&(Xa(this,Co)&&this.host.classList.remove(Xa(this,Co)),bN(this,Co,t),this.host===document.documentElement&&(this.host.style.colorScheme=t),this.host.classList.add(t),this.ready&&this.host.dispatchEvent(new CustomEvent("theme",{detail:this})))}get theme(){return Xa(this,Co)}removeSchemeListener(){this.schemeMQL&&(this.schemeMQL.removeEventListener("change",this.onThemeChange),this.schemeMQL=null)}cache(){this.semantics=[],this.classes={},this.colorThemesMap={},this.relationThemesMap={},this.relations={},this.colorNames=[],this.themeNames=[""],this.selectors={},this.values={},this.globalValues={},this.breakpoints={},this.mediaQueries={},this.matches={};let{semantics:t,classes:e,selectors:r,themes:n,colors:i,values:s,breakpoints:o,mediaQueries:a,Rules:u}=this.config;function l(g){return g.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function c(g,b,w="",_={}){let S=O=>O?(w?w+"-":"")+O:w,q=Object.entries(g),C=[],R=[];for(let O of q){let z=O[1];(typeof z=="object"&&!Array.isArray(z)?C:R).push(O)}for(let[O,z]of C)c(z,b,S(O),_);if(b&&w)R.length&&(_[w]=R.reduce((O,[z,F])=>(O[z]=F,O),{}));else for(let[O,z]of R)_[S(O)]=z;return _}if(t)for(let[g,b]of Object.entries(c(t,!0)))this.semantics.push([new RegExp("^"+l(g)+"(?=!|\\*|>|\\+|~|:|\\[|@|_|\\.|$)","m"),[g,b]]);if(r)for(let[g,b]of Object.entries(c(r,!1))){let w=new RegExp(l(g)+"(?![a-z-])");for(let _ of Array.isArray(b)?b:[b]){let S=_.match(T0e)?.[0]??"",q=this.selectors[S];q||(q=this.selectors[S]=[]);let C=q.find(([R])=>R===w);C||(C=[w,[]],q.push(C)),C[1].push(_)}}if(s)for(let[g,b]of Object.entries(s))typeof b=="object"?this.values[g]=c(b,!1):this.globalValues[g]=b;o&&(this.breakpoints=c(o,!1)),a&&(this.mediaQueries=c(a,!1));let f=e?c(e,!1):{},d=n&&!Array.isArray(n)?Object.entries(n).filter(([,{classes:g}])=>g).reduce((g,[b,{classes:w}])=>(g[b]=c(w,!1),g),{}):{},p=[...Object.keys(f),...Object.entries(d).flatMap(([g,b])=>Object.keys(b))],h=g=>{if(g in this.classes)return;let b=this.classes[g]=[],w=(_,S)=>{if(!S)return;let q=Array.isArray(S)?S:S.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");for(let C of q){let R=O=>{O in this.relationThemesMap?_ in this.relationThemesMap[O]?this.relationThemesMap[O][_].push(g):this.relationThemesMap[O][_]=[g]:this.relationThemesMap[O]={[_]:[g]},b.includes(O)||b.push(O)};if(p.includes(C)){h(C);for(let O of this.classes[C])R(O)}else R(C)}};w("",f?.[g]);for(let[_,S]of Object.entries(d))w(_,S?.[g])};for(let g of p)h(g);for(let g in this.relationThemesMap){let b=this.relations[g]=[];for(let w of Object.values(this.relationThemesMap[g]))for(let _ of w)b.includes(_)||b.push(_)}let y=(g,b)=>{if(!b)return;let w=c(b,!0);for(let[_,S]of Object.entries(w)){let q=typeof S=="string"?{"":S}:S;for(let[C,R]of Object.entries(q)){let O=_+(C?"-"+C:"");O in this.colorThemesMap?this.colorThemesMap[O][g]=R:this.colorThemesMap[O]={[g]:R}}}for(let _ in b)this.colorNames.includes(_)||this.colorNames.push(_)};if(y("",i),n)if(Array.isArray(n))this.themeNames.push(...n);else for(let g in n){let b=n[g];y(g,b.colors),this.themeNames.push(g)}let v=g=>{for(let[b,w]of Object.entries(this.colorThemesMap))for(let[_,S]of Object.entries(w))S.startsWith("#")||g(b,w,_,S)};if(v((g,b,w,_)=>{let S=M0e.exec(_);if(S){let q="#"+qN(+S[1],+S[2],+S[3]);S[4]&&(q+=Math.round(255*+S[4]).toString(16)),b[w]=q}}),v((g,b,w,_)=>{let[S,q]=_.split("/"),C=this.colorThemesMap[S];if(C){let R=(w?C[w]:void 0)??C[""];b[w]=q?R.slice(0,7)+Math.round(255*+q).toString(16):R}else console.warn(`\`${_}\` doesn't exist in the extended config \`.colors\``),delete b[w],Object.keys(b).length||delete this.colorThemesMap[g]}),u)for(let g of u){let b=g.matches;if(b){let w=Object.keys(this.values[g.id]??{}),_=b.indexOf("$values");this.matches[g.id]=new RegExp(_===-1?b:w.length?b.slice(0,_)+w.join("|")+b.slice(_+7):b.slice(0,_-(b[_-1]==="|"?1:0))+b.slice(_+7+(b[_+7]==="|"?1:0)))}}}observe(t,e={subtree:!0,childList:!0}){if(dc&&t){this.root=t;let r=t===document;r&&(og.root=this),this.host=r?document.documentElement:t.host,this.scheme=this.storageScheme||this.config.scheme.preference;let n=r?document.head:t,i=r?document.styleSheets:t.styleSheets;for(let o of i){let{title:a,href:u,ownerNode:l}=o;(a==="master"||u&&u.startsWith(window.location.origin)&&/master(?:\..+)?\.css/.test(u))&&(this.style=l)}if(this.style)for(let o=0;o<this.style.sheet.cssRules.length;o++){let a=l=>{if(l.selectorText){let c=l.selectorText.split(", ")[0].split(" ");for(let f=0;f<c.length;f++){let d=c[f];if(d[0]==="."){let p=d.slice(1),h="";for(let y=0;y<p.length;y++){let v=p[y],g=p[y+1];if(v==="\\"){if(y++,g!=="\\"){h+=g;continue}}else if(P0e.includes(v))break;h+=v}if(!(h in this.ruleOfClass)&&!(h in this.classes)){let y=this.create(h)[0];if(y)return y}}}}else if(l.cssRules)for(let c=0;c<l.cssRules.length;c++){let f=a(l.cssRules[c]);if(f)return f}},u=a(this.style.sheet.cssRules[o]);if(u){this.rules.push(u),this.ruleOfClass[u.className]=u;for(let l=0;l<u.natives.length;l++)u.natives[l].cssRule=this.style.sheet.cssRules[o+l];o+=u.natives.length-1}}else this.style=lg.cloneNode(),n.prepend(this.style);let s=o=>{o.forEach(a=>{a in this.countOfClass?this.countOfClass[a]++:(this.countOfClass[a]=1,this.insert(a))})};s(this.host.classList),e.subtree&&this.host.querySelectorAll("[class]").forEach(o=>s(o.classList)),super.observe(t,{...e,attributes:!0,attributeOldValue:!0,attributeFilter:["class"]})}return this}disconnect(){super.disconnect(),this.ruleOfClass={},this.countOfClass={},this.rules.length=0;let t=this.style.sheet;if(t)for(let e=t.cssRules.length-1;e>=0;e--)t.deleteRule(e)}match(t){for(let e of this.config.Rules){let r=e.match(t,this.matches[e.id],this.colorThemesMap,this.colorNames);if(r)return{...r,Rule:e}}for(let e of this.semantics)if(t.match(e[0]))return{origin:"semantics",value:e[1],Rule:N}}create(t){let e=r=>{if(r in this.ruleOfClass)return this.ruleOfClass[r];let n=this.match(r);if(n)return new n.Rule(r,n,this)};return(t in this.classes?this.classes[t].map(r=>e(r)):[e(t)]).filter(r=>r&&r.text)}refresh(t){if(this.config=t,this.cache(),!this.style)return;let e=lg.cloneNode();this.style.replaceWith(e),this.style=style,this.rules.length=0,this.ruleOfClass={};for(let r in this.countOfClass)this.insert(r)}destroy(){let t=og.instances;this.disconnect(),t.splice(t.indexOf(this),1),this.style.remove(),this.removeSchemeListener()}delete(t){let e=this.style.sheet,r=n=>{let i=this.ruleOfClass[n];if(!(!i||n in this.relations&&this.relations[n].some(s=>s in this.countOfClass))){if(i.natives.length){let s=i.natives[0];for(let o=0;o<e.cssRules.length;o++)if(e.cssRules[o]===s.cssRule){for(let a=0;a<i.natives.length;a++)e.deleteRule(o);this.rules.splice(this.rules.indexOf(i),1);break}}delete this.ruleOfClass[n]}};if(t in this.classes){for(let n of this.classes[t])n in this.countOfClass||r(n);delete this.ruleOfClass[t]}else r(t)}insert(t){let e=this.create(t);return e.length?(this.insertRules(e),!0):!1}insertRules(t){for(let e of t){if(this.ruleOfClass[e.className])continue;let r,n=this.rules.length-1,{media:i,order:s,priority:o,hasWhere:a,className:u}=e,l=(c,f,d,p)=>{let h=0,y;f&&(h=c.findIndex(f)),d&&(y=c.findIndex(d)),h===-1&&(h=c.length),(y===void 0||y===-1)&&(y=c.length);let v=c.slice(h,y);for(let g=0;g<v.length;g++){let b=v[g];if(!(b.priority===-1||p&&p(b))&&(b.priority<o||b.priority===o&&(a&&!b.hasWhere||b.order>=s)))return h+g}return h+v.length};if(i){let c=this.rules.findIndex(f=>f.media);if(c!==-1){let f=i.features[Xr],d=i.features[Br];if(f&&d){let p=f.value-d.value;for(let h=n;h>=c;h--){r=h;let y=this.rules[h],v=y.media,g=v.features[Xr],b=v.features[Br];if(!g||!b){r++;break}let w=g.value-b.value;if(w===p){if(a!==y.hasWhere)continue;if(o!==-1){let _=[this.rules[h]];for(let S=h-1;S>=c;S--){let q=this.rules[S];if(q.hasWhere!==a)break;let C=q.media,R=C.features[Xr],O=C.features[Br];if(!R||!O||R.value-O.value!==w)break;_.unshift(this.rules[S])}r=l(this.rules,S=>S.media&&S.priority!==-1&&S.media.features[Br]&&S.media.features[Xr])}break}else if(w>p)break}}else if(d)for(let p=c;p<=n;p++){r=p;let h=this.rules[p],y=h.media,v=y.features[Xr],g=y.features[Br];if(v){if(g)break;continue}let b=g?.value;if(b===d.value){if(!a&&h.hasWhere){r++;continue}if(o!==-1)r=l(this.rules,w=>w.media,w=>w.media&&w.priority!==-1&&w.media.features[Br]&&w.media.features[Xr],w=>!w.media.features[Br]&&!w.media.features[Xr]);else for(let w=p;w<=n;w++){let _=this.rules[w],S=_.media,q=S.features[Br];if(!S.features[Xr]){if(_.hasWhere!==a||q.value!==b||_.order>=s)break;r=w+1}}break}else{if(b>d.value)break;r++}}else if(f)for(let p=n;p>=c;p--){r=p;let h=this.rules[p],y=h.media,v=y.features[Xr];if(y.features[Br])continue;let g=v?.value;if(!g||g>f.value){r++;break}else if(g===f.value){if(a&&!h.hasWhere)continue;if(o!==-1)r=l(this.rules,b=>b.media,b=>b.media&&b.priority!==-1&&b.media.features[Br]&&b.media.features[Xr],b=>!b.media.features[Br]&&!b.media.features[Xr]);else{let b=[this.rules[p]];for(let w=p-1;w>=c;w--){let _=this.rules[w],S=_.media,q=S.features[Br],C=S.features[Xr];if(!q&&(!C||C.value!==g||_.hasWhere!==a))break;b.unshift(_)}for(let w=0;w<b.length;w++){let _=b[w];if(!_.media.features[Br]){if(_.order>=s)break;r=p-b.length+2+w}}}break}}}if(r===void 0)if(c===-1)r=n+1;else if(o!==-1)r=c+l(this.rules.slice(c),void 0,f=>f.media.features[Xr]||f.media.features[Br]);else if(a){let f=c;for(;f<this.rules.length;f++){let d=this.rules[f];if(d.priority!==-1||!d.hasWhere||d.order>=s){r=f;break}}r===void 0&&(r=f)}else for(let f=c;f<=n;f++){r=f;let d=this.rules[f],p=d.media;if(d.priority!==-1||p.features[Xr]||p.features[Br])break;if(d.hasWhere)r++;else if(d.order>=s)break}}else if(o===-1)if(a)r=this.rules.findIndex(c=>!c.hasWhere||c.media||c.priority!==-1||c.order>=s),r===-1&&(r=n+1);else{let c=0;for(;c<this.rules.length;c++){let f=this.rules[c];if(f.media||!f.hasWhere&&(f.order>=s||f.priority!==-1)){r=c;break}}r===void 0&&(r=c)}else r=l(this.rules,void 0,c=>c.media);if(this.rules.splice(r,0,e),this.ruleOfClass[u]=e,this.style){let c=this.style.sheet,f=0,d=p=>{let h=this.rules[p];if(h){if(!h.natives.length)return d(p-1);let y=h.natives[h.natives.length-1].cssRule;for(let v=0;v<c.cssRules.length;v++)if(c.cssRules[v]===y){f=v+1;break}}};d(r-1);for(let p=0;p<e.natives.length;)try{let h=e.natives[p];c.insertRule(h.text,f),h.cssRule=c.cssRules[f++],p++}catch(h){console.error(h),e.natives.splice(p,1)}}}}get text(){return this.rules.map(t=>t.text).join("")}},wr=og;fc=new WeakMap,Co=new WeakMap,x(wr,"instances",[]),x(wr,"root");dc&&(window.MasterCSS=wr);var sc=typeof global<"u"?global:window;if(!sc.CSS&&!sc.CSS?.escape){let t=function(e){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");let r=String(e),n=r.length,i=-1,s="",o,a=r.charCodeAt(0);if(n==1&&a==45)return"\\"+r;for(;++i<n;){if(o=r.charCodeAt(i),o==0){s+="\uFFFD";continue}if(o>=1&&o<=31||o==127||i==0&&o>=48&&o<=57||i==1&&o>=48&&o<=57&&a==45){s+="\\"+o.toString(16)+" ";continue}if(o>=128||o==45||o==95||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122){s+=r.charAt(i);continue}s+="\\"+r.charAt(i)}return s};sc.CSS||(sc.CSS={}),sc.CSS.escape=t}function k5(t,e){if(!t?.length)return;let r=new wr({...e,observe:!1});for(let n of t)n in r.countOfClass||r.insert(n)&&(r.countOfClass[n]=1);return r.text}var UF=require("perf_hooks");var uge=ut(require("fs"),1),GF=ut(Po(),1),Pk=ut(O$(),1);var DB=ut(dh(),1);var Ug=ut(require("node:process"),1),z$=ut(require("node:os"),1),Kq=ut(require("node:tty"),1),r1e=Object.create,B$=Object.defineProperty,n1e=Object.getOwnPropertyDescriptor,i1e=Object.getOwnPropertyNames,s1e=Object.getPrototypeOf,o1e=Object.prototype.hasOwnProperty,a1e=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),u1e=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of i1e(e))!o1e.call(t,i)&&i!==r&&B$(t,i,{get:()=>e[i],enumerable:!(n=n1e(e,i))||n.enumerable});return t},l1e=(t,e,r)=>(r=t!=null?r1e(s1e(t)):{},u1e(e||!t||!t.__esModule?B$(r,"default",{value:t,enumerable:!0}):r,t)),c1e=a1e((t,e)=>{"use strict";function r(n){var i=void 0;typeof n=="string"?i=[n]:i=n.raw;for(var s="",o=0;o<i.length;o++)s+=i[o].replace(/\\\n[ \t]*/g,"").replace(/\\`/g,"`"),o<(arguments.length<=1?0:arguments.length-1)&&(s+=arguments.length<=o+1?void 0:arguments[o+1]);var a=s.split(`
|
|
466
|
+
`)===-1||(r.is_inline_element||r.is_unformatted||t.print_newline(!1),this._calcluate_parent_multiline(t,r))}else if(r.is_end_tag){var o=!1;o=r.start_tag_token&&r.start_tag_token.multiline_content,o=o||!r.is_inline_element&&!(n.is_inline_element||n.is_unformatted)&&!(i.type===ht.TAG_CLOSE&&r.start_tag_token===n)&&i.type!=="TK_CONTENT",(r.is_content_unformatted||r.is_unformatted)&&(o=!1),o&&t.print_newline(!1)}else r.indent_content=!r.custom_beautifier_name,r.tag_start_char==="<"&&(r.tag_name==="html"?r.indent_content=this._options.indent_inner_html:r.tag_name==="head"?r.indent_content=this._options.indent_head_inner_html:r.tag_name==="body"&&(r.indent_content=this._options.indent_body_inner_html)),!(r.is_inline_element||r.is_unformatted)&&(i.type!=="TK_CONTENT"||r.is_content_unformatted)&&t.print_newline(!1),this._calcluate_parent_multiline(t,r)};Jn.prototype._calcluate_parent_multiline=function(t,e){e.parent&&t._output.just_added_newline()&&!((e.is_inline_element||e.is_unformatted)&&e.parent.is_inline_element)&&(e.parent.multiline_content=!0)};var JSt=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","nav","ol","p","pre","section","table","ul"],XSt=["a","audio","del","ins","map","noscript","video"];Jn.prototype._do_optional_end_element=function(t){var e=null;if(!(t.is_empty_element||!t.is_start_tag||!t.parent)){if(t.tag_name==="body")e=e||this._tag_stack.try_pop("head");else if(t.tag_name==="li")e=e||this._tag_stack.try_pop("li",["ol","ul"]);else if(t.tag_name==="dd"||t.tag_name==="dt")e=e||this._tag_stack.try_pop("dt",["dl"]),e=e||this._tag_stack.try_pop("dd",["dl"]);else if(t.parent.tag_name==="p"&&JSt.indexOf(t.tag_name)!==-1){var r=t.parent.parent;(!r||XSt.indexOf(r.tag_name)===-1)&&(e=e||this._tag_stack.try_pop("p"))}else t.tag_name==="rp"||t.tag_name==="rt"?(e=e||this._tag_stack.try_pop("rt",["ruby","rtc"]),e=e||this._tag_stack.try_pop("rp",["ruby","rtc"])):t.tag_name==="optgroup"?e=e||this._tag_stack.try_pop("optgroup",["select"]):t.tag_name==="option"?e=e||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):t.tag_name==="colgroup"?e=e||this._tag_stack.try_pop("caption",["table"]):t.tag_name==="thead"?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"])):t.tag_name==="tbody"||t.tag_name==="tfoot"?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"]),e=e||this._tag_stack.try_pop("thead",["table"]),e=e||this._tag_stack.try_pop("tbody",["table"])):t.tag_name==="tr"?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"]),e=e||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(t.tag_name==="th"||t.tag_name==="td")&&(e=e||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),e=e||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return t.parent=this._tag_stack.get_parser_token(),e}};wbe.exports.Beautifier=Jn});var xbe=m((f6t,cN)=>{"use strict";var ZSt=_be().Beautifier,ekt=oN().Options;function tkt(t,e,r,n){var i=new ZSt(t,e,r,n);return i.beautify()}cN.exports=tkt;cN.exports.defaultOptions=function(){return new ekt}});var Dbe=m((d6t,AE)=>{"use strict";var Sbe=ibe(),kbe=dbe(),Ebe=xbe();function Cbe(t,e,r,n){return r=r||Sbe,n=n||kbe,Ebe(t,e,r,n)}Cbe.defaultOptions=Ebe.defaultOptions;AE.exports.js=Sbe;AE.exports.css=kbe;AE.exports.html=Cbe});var Rbe=m((p6t,qbe)=>{"use strict";function Obe(t,e,r){var n=function(i,s){return t.js_beautify(i,s)};return n.js=t.js_beautify,n.css=e.css_beautify,n.html=r.html_beautify,n.js_beautify=t.js_beautify,n.css_beautify=e.css_beautify,n.html_beautify=r.html_beautify,n}typeof define=="function"&&define.amd?define(["./lib/beautify","./lib/beautify-css","./lib/beautify-html"],function(t,e,r){return Obe(t,e,r)}):function(t){var e=Dbe();e.js_beautify=e.js,e.css_beautify=e.css,e.html_beautify=e.html,t.exports=Obe(e,e,e)}(qbe)});var Ak=ut(dh(),1);var e0e=Object.defineProperty,t0e=(t,e,r)=>e in t?e0e(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,x=(t,e,r)=>(t0e(t,typeof e!="symbol"?e+"":e,r),r),ON=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},Xa=(t,e,r)=>(ON(t,e,"read from private field"),r?r.call(t):e.get(t)),yN=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},bN=(t,e,r,n)=>(ON(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r),r0e={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},QE=r0e;function ph(t){t.startsWith("#")&&(t=t.slice(1));let e=t.match(/.{1,2}/g);return[parseInt(e[0],16),parseInt(e[1],16),parseInt(e[2],16)]}function qN(t,e,r){return((1<<24)+(t<<16)+(e<<8)+r).toString(16).slice(1)}function Kt(t){typeof t=="string"&&(t={"":t});let e=""in t,r=!1;for(let n in t)if(n&&+n>=100){r=!0;break}if(!r&&(!e||Object.keys(t).length>1)){let n=0,i="0"in t?ph(t[0]):[0,0,0],s,o,a=[],u=()=>{let l=s-n,c=o.map((f,d)=>(f-i[d])/l);for(let f of a){let d=f-n,p=i.map((h,y)=>Math.round(h+c[y]*d));t[f]="#"+qN.call(this,...p)}};for(let l=1;l<100;l++)l in t?(a.length?(s=l,o=ph(t[l]),u(),a.length=0,i=o):i=ph(t[l]),n=l):a.push(l);a.length&&(s=100,o="100"in t?ph(t[100]):[255,255,255],u())}return e||(t[""]=t[r?"500":"50"]),t}var n0e={slate:Kt({5:"#141e2b",10:"#19212d",20:"#262f3e",30:"#323e52",40:"#41516b",50:"#616a84",55:"#6c7693",60:"#959db3",70:"#a3abbf",80:"#d7dae3",95:"#f6f7f8"}),gray:Kt({5:"#1e1d1f",10:"#212022",20:"#2f2e30",30:"#3e3d40",40:"#504f52",50:"#6b6a6d",55:"#777679",60:"#9e9da0",70:"#abaaae",80:"#dad9db",95:"#f5f4f7"}),brown:Kt({5:"#271b15",10:"#2b1e18",20:"#3c2b22",30:"#50382c",40:"#694839",50:"#8d604b",55:"#9d6b53",60:"#b79788",70:"#c1a598",80:"#efd5c9",95:"#faf2ef"}),orange:Kt({5:"#2e1907",10:"#331b07",20:"#47260b",30:"#5d320e",40:"#7a4111",50:"#a15717",55:"#b4611a",60:"#e38739",70:"#e79855",80:"#f7d4b5",95:"#fcf1e7"}),gold:Kt({5:"#281b00",10:"#2d1e01",20:"#3f2a00",30:"#543800",40:"#6d4900",50:"#906000",55:"#9c6d00",60:"#d09100",70:"#dca000",80:"#fbd67f",95:"#fff3d8"}),yellow:Kt({5:"#251d00",10:"#282000",20:"#3a2e01",30:"#4b3b00",40:"#624e00",50:"#806700",55:"#8e7200",60:"#be9900",70:"#d0a700",80:"#edda8f",95:"#fff5ca"}),grass:Kt({5:"#162106",10:"#182406",20:"#223308",30:"#2c4408",40:"#3a570b",50:"#4e750e",60:"#74ae15",70:"#7dbc17",80:"#bfe87c",95:"#ebfad4"}),green:Kt({5:"#042311",10:"#032611",20:"#023717",30:"#03481f",40:"#025d26",50:"#067b34",55:"#07883a",60:"#09b64d",70:"#0ac553",80:"#80f1a4",95:"#e0fae8"}),beryl:Kt({5:"#002319",10:"#00271c",20:"#003626",30:"#004732",40:"#005c41",50:"#007954",55:"#00875e",60:"#00b37c",70:"#00c387",80:"#72f0c5",95:"#d6fcef"}),teal:Kt({5:"#012220",10:"#012624",20:"#003532",30:"#004541",40:"#005a54",50:"#00776f",55:"#00857c",60:"#00b1a5",70:"#00bfb2",80:"#6aeee5",95:"#d4fcf8"}),cyan:Kt({5:"#00222b",10:"#00252e",20:"#013340",30:"#004457",40:"#00576f",50:"#007391",55:"#0080a1",60:"#00abd7",70:"#00b9e9",80:"#97e6fa",95:"#dff8ff"}),sky:Kt({5:"#031f34",10:"#032339",20:"#04314e",30:"#044169",40:"#065386",50:"#086eb3",55:"#097ac5",60:"#29a4f5",70:"#4db3f7",80:"#b3e0ff",95:"#eaf6fe"}),blue:Kt({5:"#07194a",10:"#081c53",20:"#0a2773",30:"#0e3496",40:"#1146b6",50:"#175fe9",55:"#2671ea",60:"#6b9ef1",70:"#81acf3",80:"#c6dbfe",95:"#edf4fe"}),indigo:Kt({5:"#1f1645",10:"#20174f",20:"#2b1f74",30:"#37289d",40:"#463fb1",50:"#5a5bd5",55:"#6464f1",60:"#9393f5",70:"#a1a5ee",80:"#d5d7fe",95:"#f1f2ff"}),violet:Kt({5:"#2b0a4e",10:"#2e0b57",20:"#3d1179",30:"#4e169f",40:"#5f2eba",50:"#7949e5",55:"#8755f5",60:"#ac8af8",70:"#b89bf9",80:"#e1d4fe",95:"#f5f1ff"}),purple:Kt({5:"#2e0c47",10:"#330c4e",20:"#460f6c",30:"#5b1390",40:"#7421b1",50:"#9832e4",55:"#a348e7",60:"#c184ef",70:"#ca96f1",80:"#ead1fe",95:"#f9f0ff"}),fuchsia:Kt({5:"#39092a",10:"#400932",20:"#560d4a",30:"#6f1165",40:"#8c158a",50:"#b61cbb",55:"#ca1fce",60:"#e66ee9",70:"#ea86ed",80:"#facbfb",95:"#feefff"}),pink:Kt({5:"#3d0722",10:"#430725",20:"#5d0933",30:"#790d44",40:"#9a1058",50:"#ca1473",55:"#e11681",60:"#f170b4",70:"#f388c0",80:"#fdcde6",95:"#fff0f8"}),crimson:Kt({5:"#430213",10:"#470314",20:"#62041c",30:"#800524",40:"#9f1036",50:"#ce1a4b",55:"#e8144c",60:"#f37596",70:"#f58ba7",80:"#fdceda",95:"#fff1f4"}),red:Kt({5:"#450001",10:"#490102",20:"#640304",30:"#800506",40:"#a11012",50:"#d11a1e",55:"#ed0a0e",60:"#f97476",70:"#fa8b8d",80:"#fdcfcf",95:"#fff1f1"}),black:"#000000",white:"#ffffff"},i0e=n0e,s0e=16,o0e="",a0e=o0e,u0e={"::scrollbar":"::-webkit-scrollbar","::scrollbar-button":"::-webkit-scrollbar-button","::scrollbar-thumb":"::-webkit-scrollbar-thumb","::scrollbar-track":"::-webkit-scrollbar-track","::scrollbar-track-piece":"::-webkit-scrollbar-track-piece","::scrollbar-corner":"::-webkit-scrollbar-corner","::slider-thumb":["::-webkit-slider-thumb","::-moz-range-thumb"],"::slider-runnable-track":["::-webkit-slider-runnable-track","::-moz-range-track"],"::meter":"::-webkit-meter","::resizer":"::-webkit-resizer","::progress":"::-webkit-progress",":first":":first-child",":last":":last-child",":even":":nth-child(2n)",":odd":":nth-child(odd)",":nth(":":nth-child("},l0e=u0e,c0e={square:{"aspect-ratio":"1/1"},video:{"aspect-ratio":"16/9"},rounded:{"border-radius":"1e9em"},round:{"border-radius":"50%"},hidden:{display:"none"},hide:{display:"none"},block:{display:"block"},table:{display:"table"},flex:{display:"flex"},grid:{display:"grid"},contents:{display:"contents"},inline:{display:"inline"},"inline-block":{display:"inline-block"},"inline-flex":{display:"inline-flex"},"inline-grid":{display:"inline-grid"},"inline-table":{display:"inline-table"},"table-cell":{display:"table-cell"},"table-caption":{display:"table-caption"},"flow-root":{display:"flow-root"},"list-item":{display:"list-item"},"table-row":{display:"table-row"},"table-column":{display:"table-column"},"table-row-group":{display:"table-row-group"},"table-column-group":{display:"table-column-group"},"table-header-group":{display:"table-header-group"},"table-footer-group":{display:"table-footer-group"},italic:{"font-style":"italic"},oblique:{"font-style":"oblique"},isolate:{isolation:"isolate"},overflow:{overflow:"visible"},untouchable:{"pointer-events":"none"},static:{position:"static"},fixed:{position:"fixed"},abs:{position:"absolute"},rel:{position:"relative"},sticky:{position:"sticky"},uppercase:{"text-transform":"uppercase"},lowercase:{"text-transform":"lowercase"},capitalize:{"text-transform":"capitalize"},visible:{visibility:"visible"},invisible:{visibility:"hidden"},vw:{width:"100vw"},vh:{height:"100vh"},"max-vw":{"max-width":"100vw"},"max-vh":{"max-height":"100vh"},"min-vw":{"min-width":"100vw"},"min-vh":{"min-height":"100vh"},"center-content":{"justify-content":"center","align-items":"center"},"sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":"0"},full:{width:"100%",height:"100%"},center:{left:0,right:0,"margin-left":"auto","margin-right":"auto"},middle:{top:0,bottom:0,"margin-top":"auto","margin-bottom":"auto"},"break-spaces":{"white-space":"break-spaces"},"break-word":{"overflow-wrap":"break-word",overflow:"hidden"}},rO=c0e,f0e=["dark","light"],d0e=f0e,p0e={storage:{sync:!0,key:"scheme"}},h0e=p0e,nc={content:"content-box",border:"border-box",padding:"padding-box"},hh={min:"min-content",max:"max-content"},Ds={full:"100%",fit:"fit-content",max:"max-content",min:"min-content"};for(let t in QE)Ds[t]=QE[t]/16+"rem";var g0e={BackgroundClip:nc,BackgroundOrigin:nc,BoxSizing:{content:"content-box",border:"border-box"},ClipPath:{...nc,margin:"margin-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"},FlexDirection:{col:"column","col-reverse":"column-reverse"},FontFamily:{mono:"ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",sans:"ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji",serif:"ui-serif,Georgia,Cambria,Times New Roman,Times,serif"},FontWeight:{thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900},GridAutoColumns:hh,GridAutoRows:hh,GridTemplateColumns:hh,GridTemplateRows:hh,Order:{first:-999999,last:999999},Position:{abs:"absolute",rel:"relative"},ShapeOutside:{...nc,margin:"margin-box"},TransformBox:{...nc,fill:"fill-box",stroke:"stroke-box",view:"view-box"},Width:Ds,MinWidth:Ds,MinHeight:Ds,MaxWidth:Ds,MaxHeight:Ds,Height:Ds,FlexBasis:Ds},m0e=g0e;function HE(t,e){return(t?t+":":"")+(e.unit?e.value+e.unit:e.value)+(e.important?"!important":"")}var y0e=/^([+-.]?\d+(\.?\d+)?)(.*)?/;function RN(t,e,r){if(r){let n="",i=t.match(y0e);if(i)if(t.includes("/")){let[s,o]=t.split("/");return{value:+s/+o*100+"%",unit:n}}else{let s=+i[1];return n=i[3]||"",n||((r==="rem"||r==="em")&&(s=s/e),n=r||""),{value:s,unit:n}}}}function b0e(t,e,r){let n=c=>c==="+"||c==="-"||c==="*"||c==="/",i="",s,o="",a=!1,u=!1;function l(c,f="",d=""){if(s===2&&!u){let p=RN(o,e,r);p&&(o=p.value+p.unit)}i+=o+f+c+d,s=null,u=!1,o=""}for(let c=0;c<t.length;c++){let f=t[c];if(f==="("||f===")")a=f===")",l(f);else if(f===",")l(f,""," ");else{switch(s){case 1:break;case 2:if(n(f)){l(f," "," ");continue}else/[0-9]/.test(f)||(u=!0);break;default:a&&(i+=" "),isNaN(+f)?n(f)||(s=1):s=2;break}s?o+=f:i+=f}}return o&&(i+=o),i}function VE(t,e,r,n,i,s){let o="",a="",u;if(typeof t=="number")o=t,a=e||"";else{if(n){let c=!1,f=!1;t=t.replace(new RegExp(`(^|,| |\\()((?:${r.join("|")})(?:-(?:[0-9A-Za-z-]+))?)(?:\\/(\\.?[0-9]+%?))?(?=(\\)|\\}|,| |$))`,"gm"),(d,p,h,y)=>{f=!0;let v=n[h];if(v){let g;for(let b of s)if(g=v[b])break;if(g){c=!0;let b=g;if(y){let w=y.endsWith("%")?parseFloat(y)/100:+y;w=isNaN(w)?1:Math.min(Math.max(w,0),1),b+=Math.round(w*255).toString(16).toUpperCase().padStart(2,"0")}return p+b}}return d}),f&&(u=c)}let l=RN(t,i,e);if(l)return l;o=(t.indexOf("calc(")===-1?t:b0e(t,i,e)).replace(/\$\(((\w|-)+)\)/g,"var(--$1)")}return{value:o,unit:a,colorMatched:u}}var ag={"(":")","'":"'",'"':'"',"{":"}"},v0e=["!","*",">","+","~",":","[","@","_"];function pc(t,e,r,n=[]){let i=[",",...n],s=[],o="",a=0;return function u(l,c,f,d="",p=[],h=[]){let y,v=!1;c&&(c===")"&&o.slice(-1)==="$"?y=o.length-1:(c==="'"||c==='"')&&(v=!0),o+=l[a++]);let g=()=>{let b=o;if(o="",e&&b in e&&!p.includes(b)){let w=a;a=0,u(e[b].toString(),void 0,void 0,void 0,[...p,b],h),a=w}else if(r&&b in r&&!h.includes(b)){let w=a;a=0,u(r[b].toString(),void 0,void 0,void 0,p,[...h,b]),a=w}else s.push({value:b})};for(;a<l.length;a++){let b=l[a];if(b===c){if(o+=b,v){let w=0;for(let _=o.length-2;o[_]==="\\";_--)w++;if(w%2)continue}y!==void 0&&(o=o.slice(0,y)+o.slice(y).replace(/\$\((.*)\)/,"var(--$1)")),f||(v?s.push(o):g(),d="",o="");break}else if(!v&&b in ag)u(l,ag[b],f===void 0?0:f+1,d,p,h);else if((b==="|"||b===" ")&&c!=="}"&&(!v||d==="path"))c?o+=" ":g();else{if(!c){if(b==="."){if(isNaN(+l[a+1]))break;l[a-1]==="-"&&(o+="0")}else if(i.includes(b)){o&&g(),s.push(b);continue}else if(b==="#"&&(o||s.length&&l[a-1]!=="|"&&s[a-1]!==" ")||v0e.includes(b))break;d+=b}o+=b}}f===void 0&&o&&g()}(t),[s,t.slice(a)]}var vN=[":disabled",":active",":focus",":hover"],ic="matches",w0e="semantics",wN="symbol",AN="width",GE="max-"+AN,KE="min-"+AN,JE="motion",PN="reduce",_N=PN+"d-"+JE,YE="px",_0e="rem",x0e=/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/,S0e=t=>t.split(x0e).map((e,r)=>r%3?e:e.replace(/_/g," ")).join(""),N=class{constructor(t,e,r){this.className=t,this.matching=e,this.css=r;let n=this.constructor,{id:i,unit:s,colorful:o,prop:a}=n,{rootSize:u,scope:l,important:c}=r.config,{themeNames:f,colorNames:d,colorThemesMap:p,selectors:h,globalValues:y,breakpoints:v,mediaQueries:g}=r,b=r.values[i],w=r.relationThemesMap[t],_=t,S,q,C,R;if(e.origin===w0e){let[G,ae]=e.value;C=_.slice(G.length),S=ae}else if(this.analyzeToken)[q,R,C]=this.analyzeToken(_,b,y);else{let G;if(e.origin===ic){let ae=_.indexOf(":");this.prefix=_.slice(0,ae+1),this.prefix.includes("(")?(this.prefix=void 0,G=_):G=_.slice(ae+1)}else e.origin===wN&&(this.symbol=_[0],G=_.slice(1));[R,C]=pc(G,b,y)}C[0]==="!"&&(this.important=!0,C=C.slice(1));let O=G=>{let ae=S0e(G),L=[],M="",oe=0;for(let re=0;re<ae.length;re++){let fe=ae[re];if(fe==="\\"){M+=fe+ae[++re];continue}!oe&&fe===","?(L.push(M),M=""):(M+=fe,oe&&fe===")"?oe--:fe==="("&&oe++)}return M&&L.push(M),L};this.prefixSelectors=q?O(q):[""];let z=C.split("@"),F=z[0];if(F){this.vendorSuffixSelectors={};let G=(re,fe,ue,ie)=>{for(let[pe,ve]of fe)if(pe.test(re)){for(let Ce of ve)G(re.replace(pe,Ce),fe,ue,!0);return}ie&&ue.push(re)},ae=[];""in h?G(F,h[""],ae,!0):ae.push(F);let L={};for(let[re,fe]of Object.entries(h)){if(!re)continue;let ue=[];for(let ie of ae)G(ie,fe,ue,!1);ue.length&&(L[re]=ue)}let M=(re,fe)=>{let ue=fe.reduce((ie,pe)=>(ie.push(...O(pe)),ie),[]);re in this.vendorSuffixSelectors?this.vendorSuffixSelectors[re].push(...ue):this.vendorSuffixSelectors[re]=ue},oe=Object.keys(L);if(oe.length)for(let re of oe)M(re,L[re]);else M("",ae);for(let re of Object.values(this.vendorSuffixSelectors))for(let fe of re){this.hasWhere!==!1&&(this.hasWhere=fe.includes(":where("));for(let ue=0;ue<vN.length;ue++)if(fe.includes(vN[ue])){(this.priority===-1||this.priority>ue)&&(this.priority=ue);break}}}else this.vendorSuffixSelectors={"":[""]};for(let G=1;G<z.length;G++){let ae=z[G];if(ae)if(f.includes(ae))this.theme=ae;else if(ae==="rtl"||ae==="ltr")this.direction=ae;else{let L,M,oe=ae.indexOf("_");if(oe!==-1)L=ae.slice(0,oe),M=ae.slice(oe);else{let re=ae.indexOf("(");re!==-1&&(L=ae.slice(0,re),M=ae.slice(re))}if(!L){L="media";let re=[];this.media={token:ae,features:{}};let fe=ae.split("&");for(let ue of fe)if(ue==="all"||ue==="print"||ue==="screen"||ue==="speech")this.media.type=ue;else if(ue==="\u{1F5A8}")this.media.type="print";else if(ue==="landscape"||ue==="portrait")re.push("(orientation:"+ue+")");else if(ue===JE||ue===_N)re.push("(prefers-"+_N+":"+(ue===JE?"no-preference":PN)+")");else if(g&&ue in g)re.push(g[ue]);else{let ie={token:ue},pe="",ve="",Ce=0;ue.startsWith("<=")?(ve="<=",pe=GE):ue.startsWith(">=")||v[ue]?(ve=">=",pe=KE):ue.startsWith(">")?(ve=">",pe=KE,Ce=.02):ue.startsWith("<")&&(ve="<",pe=GE,Ce=-.02);let Qe=ve?ue.replace(ve,""):ue,be=v[Qe];switch(pe){case GE:case KE:be?Object.assign(ie,VE(be,YE)):Object.assign(ie,VE(Qe,YE)),ie.unit===YE&&(ie.value+=Ce),this.media.features[pe]=ie,re.push("("+pe+":"+(ie.value+ie.unit)+")");break}}M="",this.media.type&&(M=this.media.type),re.length&&(M+=(M?" and ":"")+re.join(" and "))}M&&(this.at[L]=(L in this.at?this.at[L]+" and ":"")+M.replace(/_/g," "))}}this.order===void 0&&(this.order=0);let ee=(G,ae)=>{let L,M,oe=(fe,ue,ie)=>{let pe="";this.direction&&(pe+="[dir="+this.direction+"] ");let ve=this.prefixSelectors.map(be=>be+pe),Ce=(be,Ct)=>ve.map(dt=>(be?"."+be+" ":"")+(l?l+" ":"")+dt).reduce((dt,de)=>(dt.push(ie.reduce((le,ne)=>(le.push(de+"."+CSS.escape(Ct)+ne),le),[]).join(",")),dt),[]).join(","),Qe=Ce(ue,t)+(w?Object.entries(w).filter(([be])=>this.theme||!o||!ue||!be||be===ue).map(([be,Ct])=>Ct.reduce((dt,de)=>dt+","+Ce(this.theme??((o||this.getThemeProps)&&ue||be),de),"")).join(""):"")+"{"+fe+"}";for(let be of Object.keys(this.at).sort((Ct,dt)=>dt==="supports"?-1:1))Qe="@"+be+" "+this.at[be]+"{"+Qe+"}";return Qe},re=[];if(R){let fe,ue;for(let ie of R)typeof ie=="string"?re.push(ie):(fe=VE(ie.value,s,o&&d,o&&p,u,this.theme?[this.theme,""]:[G]),fe.colorMatched!==void 0&&ue!==!0&&(ue=fe.colorMatched),re.push(fe.value+fe.unit));if(ae&&(ue===void 0?G:!ue))return;if(re.length===1?fe?(L=fe.value,M=fe.unit):L=re[0]:L=re.reduce((ie,pe,ve)=>ie+pe+(pe===","||R[ve+1]===","||ve===R.length-1?"":" "),""),typeof L!="object"){this.parseValue&&(L=this.parseValue(L,this.css.config)),o&&L==="current"&&(L="currentColor");let ie={unit:M,value:L,important:this.important};if(this.getThemeProps){let pe=this.getThemeProps(ie,r);for(let ve in pe)for(let Ce of Object.values(this.vendorSuffixSelectors))this.natives.push({unit:M,value:L,text:oe(Object.entries(pe[ve]).map(([Qe,be])=>HE(Qe,{important:(this.important||c)&&!be.endsWith("!important"),unit:"",value:be})).join(";"),ve,Ce),theme:ve});return}else this.get&&(L=this.get(ie))}}else L=S;for(let fe of Object.values(this.vendorSuffixSelectors))this.natives.push({unit:M,value:L,text:oe(typeof L=="object"?Object.entries(L).map(([ue,ie])=>HE(ue,{...typeof ie=="object"?ie:{unit:"",value:ie},important:this.important||c})).join(";"):HE(a,{unit:M,value:L,important:this.important||c}),G,fe),theme:G})};if(this.getThemeProps)ee(void 0,!1);else if(this.theme)ee(this.theme,!1);else if(o)for(let G of f)ee(G,!0);else ee("",!1)}prefix;symbol;token;prefixSelectors;vendorSuffixSelectors;important;media;at={};direction;theme;unitToken;hasWhere;priority=-1;natives=[];static get prop(){return this.id?.replace(/(?!^)[A-Z]/g,t=>"-"+t).toLowerCase()}static match(t,e,r,n){let{colorStarts:i,symbol:s,prop:o}=this;if(e&&e.test(t))return{origin:ic};if(i){if(t.match("^"+i+"(?:(?:#|(rgb|hsl)\\(.*\\))((?!\\|).)*$|(?:transparent|current|inherit))"))return{origin:ic};if(n.length&&t.indexOf("|")===-1){let a=t.match("^"+i+"((?:"+n.join("|")+")[0-9a-zA-Z-]*)");if(a&&a[1]in r)return{origin:ic}}}if(s&&t.startsWith(s))return{origin:wN};if(o&&t.startsWith(o+":"))return{origin:ic}}get text(){return this.natives.map(t=>t.text).join("")}};x(N,"id"),x(N,"matches"),x(N,"colorStarts"),x(N,"symbol"),x(N,"unit",_0e),x(N,"colorful");var mh=class extends N{};x(mh,"id","FontWeight"),x(mh,"matches","^f(?:ont)?:(?:bolder|$values)(?!\\|)"),x(mh,"unit","");var XE=class extends N{};x(XE,"id","FontFamily"),x(XE,"matches","^f(?:ont)?:(?:$values)(?!\\|)");var ZE=class extends N{};x(ZE,"id","FontSize"),x(ZE,"matches","^f(?:ont)?:(?:[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var eC=class extends N{static get prop(){return""}get(t){let e=this.prefix[0]==="m"?"margin":"padding",r=e+"-left",n=e+"-right",i=e+"-top",s=e+"-bottom";switch(this.prefix[1]){case"x":return{[r]:t,[n]:t};case"y":return{[i]:t,[s]:t};case"l":return{[r]:t};case"r":return{[n]:t};case"t":return{[i]:t};case"b":return{[s]:t};default:return{[e]:t}}}get order(){return this.prefix==="p:"||this.prefix==="m:"?-1:0}};x(eC,"id","Spacing"),x(eC,"matches","^[pm][xytblr]?:.");var tC=class extends N{};x(tC,"id","Width"),x(tC,"matches","^w:.");var rC=class extends N{};x(rC,"id","Height"),x(rC,"matches","^h:.");var nC=class extends N{};x(nC,"id","MinWidth"),x(nC,"matches","^min-w:.");var iC=class extends N{};x(iC,"id","MinHeight"),x(iC,"matches","^min-h:.");var yh=class extends N{};x(yh,"id","LetterSpacing"),x(yh,"matches","^ls:."),x(yh,"unit","em");var k0e="subpixel-antialiased",xN="-webkit-font-smoothing",SN="-moz-osx-font-smoothing",bh=class extends N{static get prop(){return""}get(t){let e={};switch(t.value){case k0e:e[xN]=e[SN]={...t,value:"auto"};break;case"antialiased":e[xN]={...t,value:"antialiased"},e[SN]={...t,value:"grayscale"};break}return e}};x(bh,"id","FontSmoothing"),x(bh,"matches","^f(?:ont)?:(?:antialiased|subpixel-antialiased|$values)(?!\\|)"),x(bh,"unit","");var vh=class extends N{};x(vh,"id","FontStyle"),x(vh,"matches","^f(?:ont)?:(?:normal|italic|oblique|$values)(?!\\|)"),x(vh,"unit","deg");var sC=class extends N{};x(sC,"id","FontVariantNumeric"),x(sC,"matches","^f(?:ont)?:(?:ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions|$values)(?!\\|)");var oC=class extends N{};x(oC,"id","FontFeatureSettings"),x(oC,"matches","^font-feature:.");var wh=class extends N{};x(wh,"id","LineHeight"),x(wh,"matches","^lh:."),x(wh,"unit","");var aC=class extends N{};x(aC,"id","ObjectFit"),x(aC,"matches","^(?:object|obj):(?:contain|cover|fill|scale-down|$values)");var uC=class extends N{};x(uC,"id","ObjectPosition"),x(uC,"matches","^(?:object|obj):(?:top|bottom|right|left|center|$values)");var lC=class extends N{};x(lC,"id","TextAlign"),x(lC,"matches","^t(?:ext)?:(?:justify|center|left|right|start|end|$values)(?!\\|)");var _h=class extends N{order=-1};x(_h,"id","TextDecoration"),x(_h,"matches","^t(?:ext)?:(?:underline|line-through|overline|$values)"),x(_h,"colorful",!0);var cC=class extends N{};x(cC,"id","TextTransform"),x(cC,"matches","^t(?:ext)?:(?:uppercase|lowercase|capitalize|$values)(?!\\|)");var fC=class extends N{};x(fC,"id","VerticalAlign"),x(fC,"matches","^(?:v|vertical):.");var xh=class extends N{static get prop(){return""}get(t){return{overflow:{...t,value:"hidden"},display:{...t,value:"-webkit-box"},"overflow-wrap":{...t,value:"break-word"},"text-overflow":{...t,value:"ellipsis"},"-webkit-box-orient":{...t,value:"vertical"},"-webkit-line-clamp":t}}};x(xh,"id","Lines"),x(xh,"matches","^lines:."),x(xh,"unit","");var Sh=class extends N{};x(Sh,"id","TransformOrigin"),x(Sh,"matches","^transform:(?:top|bottom|right|left|center|[0-9]|$values)"),x(Sh,"unit","px");var dC=class extends N{};x(dC,"id","TransformStyle"),x(dC,"matches","^transform:(?:flat|preserve-3d|$values)(?!\\|)");var pC=class extends N{};x(pC,"id","TransformBox"),x(pC,"matches","^transform:(?:$values)(?!\\|)");var kh=class extends N{parseValue(t,{rootSize:e}){return t.replace(/(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\((.*?)\)/g,(r,n,i,s)=>{let o,a;switch(n){case"translate":o="rem";break;case"skew":o="deg";break;case"rotate":i==="3d"&&(a=!0),o="deg";break;default:return r}let u=s.split(",");return r.replace(s,u.map((l,c)=>!a||u.length-1===c?Number.isNaN(+l)?l:l/(o==="rem"?e:1)+o:l).join(","))})}};x(kh,"id","Transform"),x(kh,"matches","^(?:translate|scale|skew|rotate|perspective|matrix)(?:3d|[XYZ])?\\("),x(kh,"unit","");var hC=class extends N{order=-1};x(hC,"id","Transition"),x(hC,"symbol","~");var Eh=class extends N{};x(Eh,"id","TransitionDelay"),x(Eh,"matches","^~delay:."),x(Eh,"unit","ms");var Ch=class extends N{};x(Ch,"id","TransitionDuration"),x(Ch,"matches","^~duration:."),x(Ch,"unit","ms");var gC=class extends N{};x(gC,"id","TransitionProperty"),x(gC,"matches","^~property:.");var mC=class extends N{};x(mC,"id","TransitionTimingFunction"),x(mC,"matches","^~easing:.");var yC=class extends N{};x(yC,"id","MaxHeight"),x(yC,"matches","^max-h:.");var bC=class extends N{};x(bC,"id","MaxWidth"),x(bC,"matches","^max-w:.");var vC=class extends N{};x(vC,"id","Display"),x(vC,"matches","^d:.");var wC=class extends N{};x(wC,"id","BoxSizing"),x(wC,"matches","^box:(?:$values)(?!\\|)");var _C=class extends N{};x(_C,"id","Opacity"),x(_C,"unit","");var TN=class extends N{};x(TN,"id","Visibility");var MN=class extends N{};x(MN,"id","Clear");var LN=class extends N{};x(LN,"id","Float");var FN=class extends N{};x(FN,"id","Isolation");var xC=class extends N{static get prop(){return""}get(t){if(this.prefix)switch(this.prefix.slice(-2,-1)){case"x":return{"overflow-x":t};case"y":return{"overflow-y":t}}return{overflow:t}}get order(){if(this.prefix)switch(this.prefix.slice(-2,-1)){case"x":case"y":return 0}return-1}};x(xC,"id","Overflow"),x(xC,"matches","^overflow(?:-x|-y)?:(?:visible|overlay|hidden|scroll|auto|clip|inherit|initial|revert|revert-layer|unset|\\$|var|$values)");var SC=class extends N{static get prop(){return""}get(t){switch(this.prefix.slice(-2,-1)){case"x":return{"overscroll-behavior-x":t};case"y":return{"overscroll-behavior-y":t};default:return{"overscroll-behavior":t}}}};x(SC,"id","OverscrollBehavior"),x(SC,"matches","^overscroll-behavior(?:-[xy])?:");var Dh=class extends N{};x(Dh,"id","ZIndex"),x(Dh,"matches","^z:."),x(Dh,"unit","");var Oh=class extends N{};x(Oh,"id","AnimationDelay"),x(Oh,"matches","^@delay:."),x(Oh,"unit","ms");var kC=class extends N{};x(kC,"id","AnimationDirection"),x(kC,"matches","^@direction:.");var EC=class extends N{};x(EC,"id","AnimationFillMode"),x(EC,"matches","^@fill-mode:.");var qh=class extends N{};x(qh,"id","AnimationIterationCount"),x(qh,"matches","^@iteration-count:."),x(qh,"unit","");var CC=class extends N{};x(CC,"id","AnimationName"),x(CC,"matches","^@name:.");var DC=class extends N{};x(DC,"id","AnimationPlayState"),x(DC,"matches","^@play-state:.");var OC=class extends N{};x(OC,"id","AnimationTimingFunction"),x(OC,"matches","^@easing:.");var Rh=class extends N{order=-1};x(Rh,"id","Animation"),x(Rh,"symbol","@"),x(Rh,"unit","");var gh="border-";function cg(t,e,r=""){r&&(r="-"+r);let n=/^b(order)?-?(.)?/.exec(t)[2],i=gh+"left"+r,s=gh+"right"+r,o=gh+"top"+r,a=gh+"bottom"+r;switch(n){case"x":return{[i]:e,[s]:e};case"y":return{[o]:e,[a]:e};case"l":return{[i]:e};case"r":return{[s]:e};case"t":return{[o]:e};case"b":return{[a]:e};default:return{["border"+r]:e}}}var oc=class extends N{static get prop(){return""}get(t){return cg(this.prefix,t,"color")}get order(){return this.prefix==="border-color:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};x(oc,"id","BorderColor"),x(oc,"matches","^border(?:-(?:left|right|top|bottom))?-color:."),x(oc,"colorStarts","b(?:[xytblr]|(?:order(?:-(?:left|right|top|bottom))?))?:"),x(oc,"colorful",!0);var Ah="border-top-left-radius",Ph="border-top-right-radius",Th="border-bottom-left-radius",Mh="border-bottom-right-radius",kN="border-radius",E0e=[Ah,Ph,Th,Mh],qC=class extends N{static get prop(){return""}get(t){if(this.prefix){let r="",n=this.prefix.split("-");if(n.length>1)for(let i=1;i<n.length-1;i++)r+=n[i][0];else r=this.prefix.slice(1,-1);switch(r){case"t":return{[Ah]:t,[Ph]:t};case"tl":case"lt":return{[Ah]:t};case"rt":case"tr":return{[Ph]:t};case"b":return{[Th]:t,[Mh]:t};case"bl":case"lb":return{[Th]:t};case"br":case"rb":return{[Mh]:t};case"l":return{[Ah]:t,[Th]:t};case"r":return{[Ph]:t,[Mh]:t};default:return{[kN]:t}}}let e=this.prefix?.slice(0,-1);return{[E0e.includes(e)?e:kN]:t}}get order(){return this.prefix==="border-radius:"||this.prefix==="r:"?-1:0}};x(qC,"id","BorderRadius"),x(qC,"matches","^(?:r[tblr]?[tblr]?|border(?:-(?:top|bottom)-(?:left|right))?-radius):.");var RC=class extends N{static get prop(){return""}get(t){return cg(this.prefix,t,"style")}get order(){return this.prefix==="border-style:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};x(RC,"id","BorderStyle"),x(RC,"matches","^(?:border(?:-(?:left|right|top|bottom))?-style:.|b(?:[xytblr]|order(?:-(?:left|right|top|bottom))?)?:(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|))");var AC=class extends N{static get prop(){return""}get(t){return cg(this.prefix,t,"width")}get order(){return this.prefix==="border-width:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};x(AC,"id","BorderWidth"),x(AC,"matches","^(?:border(?:-(?:left|right|top|bottom))?-width:.|b(?:[xytblr]|order(?:-(?:left|right|top|bottom))?)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$)");var Lh=class extends N{static get prop(){return""}get(t){return cg(this.prefix,t)}get order(){return this.prefix==="border:"||this.prefix==="b:"?-2:-1}};x(Lh,"id","Border"),x(Lh,"matches","^b(?:[xytblr]?|order(?:-(?:left|right|top|bottom))?):."),x(Lh,"colorful",!0);var PC=class extends N{};x(PC,"id","BackgroundAttachment"),x(PC,"matches","^(?:bg|background):(?:fixed|local|scroll|$values)(?!\\|)");var IN=class extends N{};x(IN,"id","BackgroundBlendMode");var TC=class extends N{get(t){return{"-webkit-background-clip":t,"background-clip":t}}};x(TC,"id","BackgroundClip"),x(TC,"matches","^(?:bg|background):(?:text|$values)(?!\\|)");var ac=class extends N{};x(ac,"id","BackgroundColor"),x(ac,"colorStarts","(?:bg|background):"),x(ac,"unit",""),x(ac,"colorful",!0);var MC=class extends N{};x(MC,"id","BackgroundOrigin"),x(MC,"matches","^(?:bg|background):(?:$values)(?!\\|)");var Fh=class extends N{};x(Fh,"id","BackgroundPosition"),x(Fh,"matches","^(?:bg|background):(?:top|bottom|right|left|center|$values)(?!\\|)"),x(Fh,"unit","px");var LC=class extends N{};x(LC,"id","BackgroundRepeat"),x(LC,"matches","^(?:bg|background):(?:space|round|repeat|no-repeat|repeat-x|repeat-y|$values)(?![|a-zA-Z])");var FC=class extends N{};x(FC,"id","BackgroundSize"),x(FC,"matches","^(?:bg|background):(?:\\.?\\[0-9]+|auto|cover|contain|$values)(?!\\|)");var Ih=class extends N{};x(Ih,"id","BackgroundImage"),x(Ih,"matches","^(?:bg|background):(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)"),x(Ih,"colorful",!0);var Nh=class extends N{order=-1};x(Nh,"id","Background"),x(Nh,"matches","^bg:."),x(Nh,"colorful",!0);var IC=class extends N{};x(IC,"id","MixBlendMode"),x(IC,"matches","^blend:.");var NN=class extends N{};x(NN,"id","Position");function jN(t,e,{rootSize:r}){let n="",i=0;return function s(o,a){let u="",l=a?e(a):"",c=()=>{u&&(n+=!l||Number.isNaN(+u)?u:+u/(l==="rem"?r:1)+l,u="")};for(;i<t.length;i++){let f=t[i];if(f===o&&(o!=="'"||t[i+1]===")")){c(),n+=f;break}else f===","||f===" "?(c(),n+=f):!u&&f==="'"?(n+=f,i++,s(f),u=""):u&&f==="("?(n+=u+f,i++,s(")",u),u=""):u+=f}c()}(),n}var jh=class extends N{get(t){return{"backdrop-filter":t,"-webkit-backdrop-filter":t}}parseValue(t,e){return jN(t,r=>{switch(r){case"blur":case"drop-shadow":return"rem";case"hue-rotate":return"deg"}return""},e)}};x(jh,"id","BackdropFilter"),x(jh,"matches","^bd:."),x(jh,"colorful",!0);var $h=class extends N{};x($h,"id","Fill"),x($h,"colorStarts","fill:"),x($h,"colorful",!0);var NC=class extends N{};x(NC,"id","Stroke"),x(NC,"colorful",!0);var jC=class extends N{};x(jC,"id","StrokeWidth"),x(jC,"matches","^stroke:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var Bh=class extends N{parseValue(t,e){return jN(t,r=>{switch(r){case"blur":case"drop-shadow":return"rem";case"hue-rotate":return"deg"}return""},e)}};x(Bh,"id","Filter"),x(Bh,"matches","^(?:blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\\("),x(Bh,"colorful",!0);var $N=class extends N{};x($N,"id","Cursor");var BN=class extends N{};x(BN,"id","PointerEvents");var WN=class extends N{};x(WN,"id","Resize");var zN=class extends N{};x(zN,"id","TouchAction");var UN=class extends N{get(t){return{"user-drag":t,"-webkit-user-drag":t}}};x(UN,"id","UserDrag");var HN=class extends N{get(t){return{"user-select":t,"-webkit-user-select":t}}};x(HN,"id","UserSelect");var Wh=class extends N{};x(Wh,"id","BoxShadow"),x(Wh,"matches","^s(?:hadow)?:."),x(Wh,"colorful",!0);var $C=class extends N{};x($C,"id","TextShadow"),x($C,"colorful",!0);var EN=.5,BC=class extends N{static get prop(){return""}get(t){let{unit:e,value:r}=t;return{"font-size":t,"line-height":{...t,value:e==="rem"?r+EN+e:`calc(${r}${e} + ${EN}rem)`,unit:""}}}};x(BC,"id","TextSize"),x(BC,"matches","^t(?:ext)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var WC=class extends N{};x(WC,"id","WordBreak"),x(WC,"unit","");var zh=class extends N{get(t){return{display:{...t,value:"grid"},"grid-template-columns":{...this,value:"repeat("+t.value+",minmax("+0+","+1+"fr))"}}}};x(zh,"id","GridColumns"),x(zh,"matches","^grid-cols:."),x(zh,"unit","");var zC=class extends N{get(t){return{display:{...t,value:"grid"},"grid-auto-flow":{...t,value:"column"},"grid-template-rows":{...t,value:"repeat("+t.value+",minmax("+0+","+1+"fr))"}}}};x(zC,"id","GridRows"),x(zC,"unit","");var UC=class extends N{static get prop(){return""}get(t){switch(this.prefix[4]){case"x":return{"column-gap":t};case"y":return{"row-gap":t};default:return{gap:t}}}order=-1};x(UC,"id","Gap"),x(UC,"matches","^gap(?:-x|-y)?:.");var HC=class extends N{};x(HC,"id","WordSpacing"),x(HC,"unit","em");var Uh=class extends N{static get prop(){return""}get(t){return{["--"+this.prefix.slice(1,-1)]:t}}};x(Uh,"id","Variable"),x(Uh,"matches","^\\$[^ {}A-Z]+:[^ ]"),x(Uh,"unit","");var Hh=class extends N{};x(Hh,"id","AspectRatio"),x(Hh,"matches","^aspect:."),x(Hh,"unit","");var VC=class extends N{get(t){return{"box-decoration-break":t,"-webkit-box-decoration-break":t}}};x(VC,"id","BoxDecorationBreak"),x(VC,"matches","^box:(?:slice|clone|$values)(?!\\|)");var VN=class extends N{};x(VN,"id","BreakAfter");var GN=class extends N{};x(GN,"id","BreakBefore");var KN=class extends N{};x(KN,"id","BreakInside");var GC=class extends N{};x(GC,"id","FlexShrink"),x(GC,"unit","");var KC=class extends N{};x(KC,"id","FlexDirection"),x(KC,"matches","^flex:(?:(?:row|column)(?:-reverse)?|$values)(?!\\|)");var YC=class extends N{};x(YC,"id","FlexGrow"),x(YC,"unit","");var QC=class extends N{};x(QC,"id","FlexWrap"),x(QC,"matches","^flex:(?:wrap(?:-reverse)?|nowrap|$values)(?!\\|)");var YN=class extends N{};x(YN,"id","FlexBasis");var JC=class extends N{order=-1};x(JC,"id","Flex"),x(JC,"unit","");var Vh=class extends N{};x(Vh,"id","Order"),x(Vh,"matches","^o:."),x(Vh,"unit","");var Gh=class extends N{parseValue(t){return this.prefix.slice(-5,-1)==="span"&&t!=="auto"?"span "+t+"/span "+t:t}order=-1};x(Gh,"id","GridColumn"),x(Gh,"matches","^grid-col(?:umn)?(?:-span)?:."),x(Gh,"unit","");var XC=class extends N{};x(XC,"id","ColumnSpan"),x(XC,"matches","^col-span:.");var Kh=class extends N{parseValue(t){return this.prefix.slice(-5,-1)==="span"&&t!=="auto"?"span "+t+"/span "+t:t}order=-1};x(Kh,"id","GridRow"),x(Kh,"matches","^grid-row-span:."),x(Kh,"unit","");var uc=class extends N{};x(uc,"id","Color"),x(uc,"matches","^(?:color|fg|foreground):."),x(uc,"colorful",!0),x(uc,"unit","");var ZC=class extends N{};x(ZC,"id","AlignContent"),x(ZC,"matches","^ac:.");var eD=class extends N{};x(eD,"id","AlignItems"),x(eD,"matches","^ai:.");var tD=class extends N{};x(tD,"id","AlignSelf"),x(tD,"matches","^as:");var rD=class extends N{};x(rD,"id","GridAutoColumns"),x(rD,"matches","^grid-auto-cols:.");var nD=class extends N{};x(nD,"id","GridAutoFlow"),x(nD,"matches","^grid-flow:.");var QN=class extends N{};x(QN,"id","GridAutoRows");var iD=class extends N{};x(iD,"id","JustifyContent"),x(iD,"matches","^jc:.");var sD=class extends N{};x(sD,"id","JustifyItems"),x(sD,"matches","^ji:.");var oD=class extends N{};x(oD,"id","JustifySelf"),x(oD,"matches","^js:.");var JN=class extends N{order=-1};x(JN,"id","PlaceContent");var XN=class extends N{order=-1};x(XN,"id","PlaceItems");var ZN=class extends N{order=-1};x(ZN,"id","PlaceSelf");var aD=class extends N{static get prop(){return""}get(t){return{[this.prefix.slice(0,-1)]:t}}get order(){return this.prefix==="padding:"?-1:0}};x(aD,"id","Padding"),x(aD,"matches","^padding(?:-(?:left|right|top|bottom))?:.");var uD=class extends N{static get prop(){return""}get(t){return{[this.prefix.slice(0,-1)]:t}}get order(){return this.prefix==="margin:"?-1:0}};x(uD,"id","Margin"),x(uD,"matches","^margin(?:-(?:left|right|top|bottom))?:.");var lD=class extends N{};x(lD,"id","TextOverflow"),x(lD,"matches","^(?:text-(?:overflow|ovf):.|t(?:ext)?:(?:ellipsis|clip|$values)(?!\\|))");var cD=class extends N{};x(cD,"id","ListStylePosition"),x(cD,"matches","^list-style:(?:inside|outside|$values)(?!\\|)");var fD=class extends N{};x(fD,"id","ListStyleType"),x(fD,"matches","^list-style:(?:disc|decimal|$values)(?!\\|)");var e5=class extends N{order=-1};x(e5,"id","ListStyle");var Yh=class extends N{};x(Yh,"id","TextDecorationColor"),x(Yh,"colorStarts","text-decoration:"),x(Yh,"colorful",!0);var dD=class extends N{};x(dD,"id","TextDecorationStyle"),x(dD,"matches","^t(?:ext)?:(?:solid|double|dotted|dashed|wavy|$values)(?!\\|)");var Qh=class extends N{};x(Qh,"id","TextDecorationThickness"),x(Qh,"matches","^text-decoration:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|from-font|$values)[^|]*$"),x(Qh,"unit","em");var t5=class extends N{};x(t5,"id","TextIndent");var r5=class extends N{};x(r5,"id","Content");var Jh=class extends N{};x(Jh,"id","OutlineColor"),x(Jh,"colorStarts","outline:"),x(Jh,"colorful",!0);var n5=class extends N{};x(n5,"id","OutlineOffset");var pD=class extends N{};x(pD,"id","OutlineStyle"),x(pD,"matches","^outline:(?:none|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)");var hD=class extends N{};x(hD,"id","OutlineWidth"),x(hD,"matches","^outline:(?:\\.?[0-9]|medium|thick|thin|(max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var gD=class extends N{order=-1};x(gD,"id","Outline"),x(gD,"colorful",!0);var mD=class extends N{};x(mD,"id","BorderCollapse"),x(mD,"matches","^b(?:order)?:(?:collapse|separate|$values)(?!\\|)");var i5=class extends N{};x(i5,"id","BorderSpacing");var s5=class extends N{};x(s5,"id","TableLayout");var Xh=class extends N{};x(Xh,"id","AccentColor"),x(Xh,"colorStarts","accent:"),x(Xh,"colorful",!0);var o5=class extends N{};x(o5,"id","Appearance");var Zh=class extends N{};x(Zh,"id","CaretColor"),x(Zh,"colorStarts","caret:"),x(Zh,"colorful",!0);var a5=class extends N{};x(a5,"id","ScrollBehavior");var yD=class extends N{static get prop(){return""}get(t){if(this.prefix.slice(-3,-2)==="m")switch(this.prefix.slice(-2,-1)){case"x":return{"scroll-margin-left":t,"scroll-margin-right":t};case"y":return{"scroll-margin-top":t,"scroll-margin-bottom":t};case"l":return{"scroll-margin-left":t};case"r":return{"scroll-margin-right":t};case"t":return{"scroll-margin-top":t};case"b":return{"scroll-margin-bottom":t}}else return{[this.prefix.replace(/-m(?!argin)/,"-margin").slice(0,-1)]:t}}get order(){return this.prefix==="scroll-margin:"||this.prefix==="scroll-m:"?-1:0}};x(yD,"id","ScrollMargin"),x(yD,"matches","^scroll-m(?:[xytblr]|argin(?:-(?:top|bottom|left|right))?)?:.");var bD=class extends N{static get prop(){return""}get(t){if(this.prefix.slice(-3,-2)==="p")switch(this.prefix.slice(-2,-1)){case"x":return{"scroll-padding-left":t,"scroll-padding-right":t};case"y":return{"scroll-padding-top":t,"scroll-padding-bottom":t};case"l":return{"scroll-padding-left":t};case"r":return{"scroll-padding-right":t};case"t":return{"scroll-padding-top":t};case"b":return{"scroll-padding-bottom":t}}else return{[this.prefix.replace(/-p(?!adding)/,"-padding").slice(0,-1)]:t}}get order(){return this.prefix==="scroll-padding:"||this.prefix==="scroll-p:"?-1:0}};x(bD,"id","ScrollPadding"),x(bD,"matches","^scroll-p(?:[xytblr]|adding(?:-(?:top|bottom|left|right))?)?:.");var vD=class extends N{};x(vD,"id","ScrollSnapAlign"),x(vD,"matches","^scroll-snap:(?:start|end|center|$values)");var wD=class extends N{};x(wD,"id","ScrollSnapStop"),x(wD,"matches","^scroll-snap:(?:normal|always|$values)(?!\\|)");var _D=class extends N{};x(_D,"id","ScrollSnapType"),x(_D,"matches","^scroll-snap:(?:(?:[xy]|block|inline|both)(?:\\|(?:proximity|mandatory))?|$values)(?!\\|)");var u5=class extends N{};x(u5,"id","WillChange");var l5=class extends N{};x(l5,"id","TextUnderlineOffset");var xD=class extends N{get(t){return{[this.prefix.slice(0,-1)]:t}}};x(xD,"id","Inset"),x(xD,"matches","^(?:top|bottom|left|right):.");var eg=class extends N{order=-1};x(eg,"id","Columns"),x(eg,"matches","^(?:columns|cols):."),x(eg,"unit","");var SD=class extends N{};x(SD,"id","WhiteSpace"),x(SD,"unit","");var kD=class extends N{};x(kD,"id","TextOrientation"),x(kD,"matches","^t(?:ext)?:(?:mixed|upright|sideways-right|sideways|use-glyph-orientation|$values)(?!\\|)");var ED=class extends N{};x(ED,"id","WritingMode"),x(ED,"matches","^writing:.");var c5=class extends N{};x(c5,"id","Contain");var tg=class extends N{};x(tg,"id","AnimationDuration"),x(tg,"matches","^@duration:."),x(tg,"unit","ms");var CD=class extends N{};x(CD,"id","TextRendering"),x(CD,"matches","^t(?:ext)?:(?:optimizeSpeed|optimizeLegibility|geometricPrecision|$values)(?!\\|)");var f5=class extends N{};x(f5,"id","Direction");var DD=class extends N{};x(DD,"id","TextDecorationLine"),x(DD,"matches","^t(?:ext)?:(?:none|underline|overline|line-through|$values)(?!\\|)");var rg=class extends N{};x(rg,"id","GridColumnStart"),x(rg,"matches","^grid-col-start:."),x(rg,"unit","");var OD=class extends N{};x(OD,"id","ListStyleImage"),x(OD,"matches","^list-style:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)");var qD=class extends N{};x(qD,"id","ShapeOutside"),x(qD,"matches","^shape:(?:(?:inset|circle|ellipse|polygon|url|linear-gradient)\\(.*\\)|$values)(?!\\|)");var RD=class extends N{};x(RD,"id","ShapeMargin"),x(RD,"matches","^shape:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var AD=class extends N{};x(AD,"id","ShapeImageThreshold"),x(AD,"unit","");var PD=class extends N{};x(PD,"id","ClipPath"),x(PD,"matches","^clip:.");var d5=class extends N{order=-1};x(d5,"id","Grid");var ng=class extends N{order=-1};x(ng,"id","Font"),x(ng,"matches","^f:."),x(ng,"unit","");var p5=class extends N{};x(p5,"id","Quotes");var h5=class extends N{order=-1};x(h5,"id","GridTemplate");var TD=class extends N{};x(TD,"id","GridRowStart"),x(TD,"unit","");var g5=class extends N{};x(g5,"id","GridTemplateAreas");var MD=class extends N{};x(MD,"id","GridTemplateColumns"),x(MD,"matches","^grid-template-cols:.");var m5=class extends N{};x(m5,"id","GridTemplateRows");var LD=class extends N{order=-1};x(LD,"id","GridArea"),x(LD,"unit","");var ig=class extends N{};x(ig,"id","GridColumnEnd"),x(ig,"matches","^grid-col-end:."),x(ig,"unit","");var FD=class extends N{};x(FD,"id","GridRowEnd"),x(FD,"unit","");var y5=class extends N{get(t){return{"mask-image":t,"-webkit-mask-image":t}}};x(y5,"id","MaskImage");var lc=class extends N{static get prop(){return""}get(t){return{"-webkit-text-fill-color":t}}};x(lc,"id","TextFillColor"),x(lc,"matches","^text-fill-color:."),x(lc,"colorStarts","(?:text-fill|text|t):"),x(lc,"colorful",!0);var ID=class extends N{static get prop(){return""}get(t){return{"-webkit-text-stroke":t}}};x(ID,"id","TextStroke"),x(ID,"matches","^text-stroke:.");var ND=class extends N{static get prop(){return""}get(t){return{"-webkit-text-stroke-width":t}}};x(ND,"id","TextStrokeWidth"),x(ND,"matches","^text-stroke(:(thin|medium|thick|\\.?[0-9]+|$values)(?!\\|)|-width:.)");var cc=class extends N{static get prop(){return""}get(t){return{"-webkit-text-stroke-color":t}}};x(cc,"id","TextStrokeColor"),x(cc,"matches","^text-stroke-color:."),x(cc,"colorStarts","text-stroke:"),x(cc,"colorful",!0);var b5=class extends N{};x(b5,"id","StrokeDasharray");var v5=class extends N{};x(v5,"id","StrokeDashoffset");var jD=class extends N{};x(jD,"id","X"),x(jD,"unit","");var $D=class extends N{};x($D,"id","Y"),x($D,"unit","");var BD=class extends N{};x(BD,"id","Cx"),x(BD,"unit","");var WD=class extends N{};x(WD,"id","Cy"),x(WD,"unit","");var zD=class extends N{};x(zD,"id","Rx"),x(zD,"unit","");var UD=class extends N{};x(UD,"id","Ry"),x(UD,"unit","");var w5=class extends N{};x(w5,"id","BorderImageOutset");var HD=class extends N{};x(HD,"id","BorderImageRepeat"),x(HD,"matches","^border-image:(?:stretch|repeat|round|space|$values)(?!\\|)");var VD=class extends N{};x(VD,"id","BorderImageSlice"),x(VD,"unit","");var GD=class extends N{};x(GD,"id","BorderImageSource"),x(GD,"matches","^border-image:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)");var KD=class extends N{};x(KD,"id","BorderImageWidth"),x(KD,"matches","^border-image:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var YD=class extends N{};x(YD,"id","BorderImage"),x(YD,"unit","");var C0e=/\{(.*)\}/,sg=class extends N{static get prop(){return""}analyzeToken(t,e,r){let n=0;for(;n<t.length&&!(t[n]==="{"&&t[n-1]!=="\\");n++);return[t.slice(0,n),...pc(t.slice(n),e,r)]}getThemeProps(t,e){let r={},n=(l,c)=>{let f=c.indexOf(":");if(f!==-1){l in r||(r[l]={});let d=r[l],p=c.slice(0,f);p in d||(d[p]=c.slice(f+1))}},i=l=>{let c=(f,d)=>{let p=d.slice(CSS.escape(l.className).length).match(C0e)[1].split(";");for(let h of p)n(f,h)};if(this.theme){let f=l.natives.find(d=>d.theme===this.theme)??l.natives.find(d=>!d.theme);f&&c(this.theme,f.text)}else for(let f of l.natives)c(f.theme,f.text)},s=[],o="",a=()=>{o&&(s.push(o),o="")},u=1;(function l(c){for(;u<t.value.length;u++){let f=t.value[u];if(!c){if(f===";"){a();continue}if(f==="}")break}if(o+=f,c===f){if(c==="'"||c==='"'){let d=0;for(let p=o.length-2;o[p]==="\\";p--)d++;if(d%2)continue}break}else f in ag&&c!=="'"&&c!=='"'&&(u++,l(ag[f]))}})(void 0),a();for(let l of s){let c=e.create(l);if(Array.isArray(c))for(let f of c)i(f);else c?i(c):n(this.theme??"",l)}return r}};x(sg,"id","Group"),x(sg,"matches","^(?:.+?[*_>~+])?\\{.+?\\}"),x(sg,"unit","");var QD=class extends N{};x(QD,"id","CounterIncrement"),x(QD,"unit","");var JD=class extends N{};x(JD,"id","CounterReset"),x(JD,"unit","");var XD=class extends N{static get prop(){return""}analyzeToken(t,e,r){return["",...pc(t,e,r,["x"])]}get(t){let[e,r]=t.value.split(" x ");return{width:{...t,value:e},height:{...t,value:r}}}};x(XD,"id","WH"),x(XD,"matches","^(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)");var ZD=class extends N{static get prop(){return""}analyzeToken(t,e,r){return["",...pc(t.slice(4),e,r,["x"])]}get(t){let[e,r]=t.value.split(" x ");return{"min-width":{...t,value:e},"min-height":{...t,value:r}}}};x(ZD,"id","MinWH"),x(ZD,"matches","^min:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)");var eO=class extends N{static get prop(){return""}analyzeToken(t,e,r){return["",...pc(t.slice(4),e,r,["x"])]}get(t){let[e,r]=t.value.split(" x ");return{"max-width":{...t,value:e},"max-height":{...t,value:r}}}};x(eO,"id","MaxWH"),x(eO,"matches","^max:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)");var D0e=[sg,Uh,ZE,mh,XE,bh,vh,sC,oC,ng,uc,eC,uD,aD,YN,QC,YC,GC,KC,JC,vC,tC,rC,nC,iC,XD,ZD,eO,c5,r5,QD,JD,yh,wh,aC,uC,lC,Yh,dD,Qh,DD,_h,l5,lD,kD,cC,CD,t5,fC,eg,SD,xD,xh,yC,bC,wC,_C,TN,MN,LN,FN,xC,SC,Dh,NN,$N,BN,WN,zN,WC,HC,UN,HN,$C,BC,lc,ND,cc,ID,Wh,s5,pC,dC,Sh,kh,gC,mC,Ch,Eh,hC,Oh,kC,tg,EC,qh,CC,DC,OC,Rh,oc,qC,RC,AC,mD,i5,w5,HD,VD,GD,KD,YD,Lh,PC,IN,ac,TC,MC,Fh,LC,FC,Ih,Nh,IC,jh,Bh,$h,b5,v5,jC,NC,jD,$D,BD,WD,zD,UD,rg,ig,Gh,zh,TD,FD,Kh,zC,rD,nD,QN,g5,MD,m5,h5,LD,d5,UC,Vh,KN,GN,VN,VC,Hh,XC,ZC,eD,tD,iD,sD,oD,JN,XN,ZN,cD,fD,OD,e5,Jh,n5,pD,hD,gD,Xh,o5,Zh,a5,yD,bD,vD,wD,_D,u5,ED,f5,qD,RD,AD,PD,p5,y5],O0e=D0e,q0e=!1,R0e=!0,A0e={colors:i0e,breakpoints:QE,semantics:rO,values:m0e,selectors:l0e,themes:d0e,scheme:h0e,Rules:O0e,rootSize:s0e,scope:a0e,override:q0e,observe:R0e},CN=A0e,tO=typeof Buffer<"u"?Buffer:null;function _5(t){return!!(tO&&t instanceof tO||t instanceof Date||t instanceof RegExp)}function x5(t){if(tO&&t instanceof Buffer){let e=Buffer.alloc(t.length);return t.copy(e),e}else{if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return new RegExp(t);throw new Error("Unexpected situation")}}function S5(t){let e=[];return t.forEach(function(r,n){typeof r=="object"&&r!==null?Array.isArray(r)?e[n]=S5(r):_5(r)?e[n]=x5(r):e[n]=ug({},r):e[n]=r}),e}function DN(t,e){return e==="__proto__"?void 0:t[e]}function ug(...t){let e={},r,n;return t.forEach(function(i){typeof i!="object"||i===null||Array.isArray(i)||Object.keys(i).forEach(function(s){if(n=DN(e,s),r=DN(i,s),r!==e)if(typeof r!="object"||r===null){e[s]=r;return}else if(Array.isArray(r)){e[s]=S5(r);return}else if(_5(r)){e[s]=x5(r);return}else if(typeof n!="object"||n===null||Array.isArray(n)){e[s]=ug({},r);return}else{e[s]=ug(n,r);return}})}),e}var P0e=[",",".","#","[","!","*",">","+","~",":","@"],T0e=/^::-[a-z]+-/m,M0e=/^rgba?\( *([0-9]{1,3}) *(?: |,) *([0-9]{1,3}) *(?: |,) *([0-9]{1,3}) *(?:(?:\/|,) *0?(\.[0-9]))?\)$/,lg,dc=typeof window<"u";dc&&(lg=document.createElement("style"),lg.title="master");var Xr="max-width",Br="min-width",L0e="attributes",F0e=dc?window.MutationObserver:Object,fc,Co,og=class extends F0e{constructor(t){super(e=>{let r={},n=[],i=[],s=[],o=(c,f)=>{f?c.classList.forEach(u):c.classList.forEach(a);let d=c.children;for(let p=0;p<d.length;p++){let h=d[p];h.classList&&(i.push(h),o(h,f))}},a=c=>{c in r?r[c]++:r[c]=1},u=c=>{c in r?r[c]--:c in this.countOfClass&&(r[c]=-1)},l=(c,f)=>{for(let d=0;d<c.length;d++){let p=c[d];p.classList&&!i.includes(p)&&!s.includes(p)&&(p.isConnected!==f?(i.push(p),o(p,f)):s.push(p))}};for(let c=0;c<e.length;c++){let f=e[c],{addedNodes:d,removedNodes:p,type:h,target:y,oldValue:v}=f;if(h===L0e){if(n.find(g=>g.target===y))continue;n.push(f)}else l(d,!1),(!y.isConnected||!i.includes(y))&&l(p,!0)}if(!(!n.length&&!Object.keys(r).length)){for(let{oldValue:c,target:f}of n){let d=i.includes(f),p=f.classList,h=c?c.split(" "):[];if(d){if(f.isConnected)continue;for(let y of h)p.contains(y)||u(y)}else if(f.isConnected){p.forEach(y=>{h.includes(y)||a(y)});for(let y of h)p.contains(y)||u(y)}}for(let c in r){let f=r[c],d=(this.countOfClass[c]||0)+f;d===0?(delete this.countOfClass[c],this.delete(c)):(c in this.countOfClass||this.insert(c),this.countOfClass[c]=d)}}}),this.config=t,x(this,"style"),x(this,"rules",[]),x(this,"ruleOfClass",{}),x(this,"countOfClass",{}),x(this,"host"),x(this,"root"),x(this,"ready",!1),x(this,"semantics"),x(this,"classes"),x(this,"colorThemesMap"),x(this,"colorNames"),x(this,"themeNames"),x(this,"relationThemesMap"),x(this,"relations"),x(this,"selectors"),x(this,"values"),x(this,"globalValues"),x(this,"breakpoints"),x(this,"mediaQueries"),x(this,"matches"),x(this,"schemeMQL"),yN(this,fc,void 0),yN(this,Co,void 0),x(this,"onThemeChange",e=>{this.theme=e.matches?"dark":"light"}),this.config?.override?this.config=CN:this.config=ug(CN,this.config),this.cache(),dc&&this.config.observe&&this.observe(document),og.instances.push(this),this.ready=!0}static refresh(t){for(let e of this.instances)e.refresh(t)}get storageScheme(){let{storage:t}=this.config.scheme;return localStorage.getItem(t.key)}set scheme(t){if(t!==Xa(this,fc)){bN(this,fc,t);let{storage:e}=this.config.scheme;t==="system"?(this.schemeMQL=window.matchMedia("(prefers-color-scheme:dark)"),this.schemeMQL.addEventListener("change",this.onThemeChange),this.theme=this.schemeMQL.matches?"dark":"light"):(this.removeSchemeListener(),this.theme=t),this.storageScheme!==t&&e.sync&&localStorage.setItem(e.key,t),this.ready&&this.host.dispatchEvent(new CustomEvent("scheme",{detail:this}))}}get scheme(){return Xa(this,fc)}set theme(t){t!==Xa(this,Co)&&(Xa(this,Co)&&this.host.classList.remove(Xa(this,Co)),bN(this,Co,t),this.host===document.documentElement&&(this.host.style.colorScheme=t),this.host.classList.add(t),this.ready&&this.host.dispatchEvent(new CustomEvent("theme",{detail:this})))}get theme(){return Xa(this,Co)}removeSchemeListener(){this.schemeMQL&&(this.schemeMQL.removeEventListener("change",this.onThemeChange),this.schemeMQL=null)}cache(){this.semantics=[],this.classes={},this.colorThemesMap={},this.relationThemesMap={},this.relations={},this.colorNames=[],this.themeNames=[""],this.selectors={},this.values={},this.globalValues={},this.breakpoints={},this.mediaQueries={},this.matches={};let{semantics:t,classes:e,selectors:r,themes:n,colors:i,values:s,breakpoints:o,mediaQueries:a,Rules:u}=this.config;function l(g){return g.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function c(g,b,w="",_={}){let S=O=>O?(w?w+"-":"")+O:w,q=Object.entries(g),C=[],R=[];for(let O of q){let z=O[1];(typeof z=="object"&&!Array.isArray(z)?C:R).push(O)}for(let[O,z]of C)c(z,b,S(O),_);if(b&&w)R.length&&(_[w]=R.reduce((O,[z,F])=>(O[z]=F,O),{}));else for(let[O,z]of R)_[S(O)]=z;return _}if(t)for(let[g,b]of Object.entries(c(t,!0)))this.semantics.push([new RegExp("^"+l(g)+"(?=!|\\*|>|\\+|~|:|\\[|@|_|\\.|$)","m"),[g,b]]);if(r)for(let[g,b]of Object.entries(c(r,!1))){let w=new RegExp(l(g)+"(?![a-z-])");for(let _ of Array.isArray(b)?b:[b]){let S=_.match(T0e)?.[0]??"",q=this.selectors[S];q||(q=this.selectors[S]=[]);let C=q.find(([R])=>R===w);C||(C=[w,[]],q.push(C)),C[1].push(_)}}if(s)for(let[g,b]of Object.entries(s))typeof b=="object"?this.values[g]=c(b,!1):this.globalValues[g]=b;o&&(this.breakpoints=c(o,!1)),a&&(this.mediaQueries=c(a,!1));let f=e?c(e,!1):{},d=n&&!Array.isArray(n)?Object.entries(n).filter(([,{classes:g}])=>g).reduce((g,[b,{classes:w}])=>(g[b]=c(w,!1),g),{}):{},p=[...Object.keys(f),...Object.entries(d).flatMap(([g,b])=>Object.keys(b))],h=g=>{if(g in this.classes)return;let b=this.classes[g]=[],w=(_,S)=>{if(!S)return;let q=Array.isArray(S)?S:S.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");for(let C of q){let R=O=>{O in this.relationThemesMap?_ in this.relationThemesMap[O]?this.relationThemesMap[O][_].push(g):this.relationThemesMap[O][_]=[g]:this.relationThemesMap[O]={[_]:[g]},b.includes(O)||b.push(O)};if(p.includes(C)){h(C);for(let O of this.classes[C])R(O)}else R(C)}};w("",f?.[g]);for(let[_,S]of Object.entries(d))w(_,S?.[g])};for(let g of p)h(g);for(let g in this.relationThemesMap){let b=this.relations[g]=[];for(let w of Object.values(this.relationThemesMap[g]))for(let _ of w)b.includes(_)||b.push(_)}let y=(g,b)=>{if(!b)return;let w=c(b,!0);for(let[_,S]of Object.entries(w)){let q=typeof S=="string"?{"":S}:S;for(let[C,R]of Object.entries(q)){let O=_+(C?"-"+C:"");O in this.colorThemesMap?this.colorThemesMap[O][g]=R:this.colorThemesMap[O]={[g]:R}}}for(let _ in b)this.colorNames.includes(_)||this.colorNames.push(_)};if(y("",i),n)if(Array.isArray(n))this.themeNames.push(...n);else for(let g in n){let b=n[g];y(g,b.colors),this.themeNames.push(g)}let v=g=>{for(let[b,w]of Object.entries(this.colorThemesMap))for(let[_,S]of Object.entries(w))S.startsWith("#")||g(b,w,_,S)};if(v((g,b,w,_)=>{let S=M0e.exec(_);if(S){let q="#"+qN(+S[1],+S[2],+S[3]);S[4]&&(q+=Math.round(255*+S[4]).toString(16)),b[w]=q}}),v((g,b,w,_)=>{let[S,q]=_.split("/"),C=this.colorThemesMap[S];if(C){let R=(w?C[w]:void 0)??C[""];b[w]=q?R.slice(0,7)+Math.round(255*+q).toString(16):R}else console.warn(`\`${_}\` doesn't exist in the extended config \`.colors\``),delete b[w],Object.keys(b).length||delete this.colorThemesMap[g]}),u)for(let g of u){let b=g.matches;if(b){let w=Object.keys(this.values[g.id]??{}),_=b.indexOf("$values");this.matches[g.id]=new RegExp(_===-1?b:w.length?b.slice(0,_)+w.join("|")+b.slice(_+7):b.slice(0,_-(b[_-1]==="|"?1:0))+b.slice(_+7+(b[_+7]==="|"?1:0)))}}}observe(t,e={subtree:!0,childList:!0}){if(dc&&t){this.root=t;let r=t===document;r&&(og.root=this),this.host=r?document.documentElement:t.host,this.scheme=this.storageScheme||this.config.scheme.preference;let n=r?document.head:t,i=r?document.styleSheets:t.styleSheets;for(let o of i){let{title:a,href:u,ownerNode:l}=o;(a==="master"||u&&u.startsWith(window.location.origin)&&/master(?:\..+)?\.css/.test(u))&&(this.style=l)}if(this.style)for(let o=0;o<this.style.sheet.cssRules.length;o++){let a=l=>{if(l.selectorText){let c=l.selectorText.split(", ")[0].split(" ");for(let f=0;f<c.length;f++){let d=c[f];if(d[0]==="."){let p=d.slice(1),h="";for(let y=0;y<p.length;y++){let v=p[y],g=p[y+1];if(v==="\\"){if(y++,g!=="\\"){h+=g;continue}}else if(P0e.includes(v))break;h+=v}if(!(h in this.ruleOfClass)&&!(h in this.classes)){let y=this.create(h)[0];if(y)return y}}}}else if(l.cssRules)for(let c=0;c<l.cssRules.length;c++){let f=a(l.cssRules[c]);if(f)return f}},u=a(this.style.sheet.cssRules[o]);if(u){this.rules.push(u),this.ruleOfClass[u.className]=u;for(let l=0;l<u.natives.length;l++)u.natives[l].cssRule=this.style.sheet.cssRules[o+l];o+=u.natives.length-1}}else this.style=lg.cloneNode(),n.prepend(this.style);let s=o=>{o.forEach(a=>{a in this.countOfClass?this.countOfClass[a]++:(this.countOfClass[a]=1,this.insert(a))})};s(this.host.classList),e.subtree&&this.host.querySelectorAll("[class]").forEach(o=>s(o.classList)),super.observe(t,{...e,attributes:!0,attributeOldValue:!0,attributeFilter:["class"]})}return this}disconnect(){super.disconnect(),this.ruleOfClass={},this.countOfClass={},this.rules.length=0;let t=this.style.sheet;if(t)for(let e=t.cssRules.length-1;e>=0;e--)t.deleteRule(e)}match(t){for(let e of this.config.Rules){let r=e.match(t,this.matches[e.id],this.colorThemesMap,this.colorNames);if(r)return{...r,Rule:e}}for(let e of this.semantics)if(t.match(e[0]))return{origin:"semantics",value:e[1],Rule:N}}create(t){let e=r=>{if(r in this.ruleOfClass)return this.ruleOfClass[r];let n=this.match(r);if(n)return new n.Rule(r,n,this)};return(t in this.classes?this.classes[t].map(r=>e(r)):[e(t)]).filter(r=>r&&r.text)}refresh(t){if(this.config=t,this.cache(),!this.style)return;let e=lg.cloneNode();this.style.replaceWith(e),this.style=style,this.rules.length=0,this.ruleOfClass={};for(let r in this.countOfClass)this.insert(r)}destroy(){let t=og.instances;this.disconnect(),t.splice(t.indexOf(this),1),this.style.remove(),this.removeSchemeListener()}delete(t){let e=this.style.sheet,r=n=>{let i=this.ruleOfClass[n];if(!(!i||n in this.relations&&this.relations[n].some(s=>s in this.countOfClass))){if(i.natives.length){let s=i.natives[0];for(let o=0;o<e.cssRules.length;o++)if(e.cssRules[o]===s.cssRule){for(let a=0;a<i.natives.length;a++)e.deleteRule(o);this.rules.splice(this.rules.indexOf(i),1);break}}delete this.ruleOfClass[n]}};if(t in this.classes){for(let n of this.classes[t])n in this.countOfClass||r(n);delete this.ruleOfClass[t]}else r(t)}insert(t){let e=this.create(t);return e.length?(this.insertRules(e),!0):!1}insertRules(t){for(let e of t){if(this.ruleOfClass[e.className])continue;let r,n=this.rules.length-1,{media:i,order:s,priority:o,hasWhere:a,className:u}=e,l=(c,f,d,p)=>{let h=0,y;f&&(h=c.findIndex(f)),d&&(y=c.findIndex(d)),h===-1&&(h=c.length),(y===void 0||y===-1)&&(y=c.length);let v=c.slice(h,y);for(let g=0;g<v.length;g++){let b=v[g];if(!(b.priority===-1||p&&p(b))&&(b.priority<o||b.priority===o&&(a&&!b.hasWhere||b.order>=s)))return h+g}return h+v.length};if(i){let c=this.rules.findIndex(f=>f.media);if(c!==-1){let f=i.features[Xr],d=i.features[Br];if(f&&d){let p=f.value-d.value;for(let h=n;h>=c;h--){r=h;let y=this.rules[h],v=y.media,g=v.features[Xr],b=v.features[Br];if(!g||!b){r++;break}let w=g.value-b.value;if(w===p){if(a!==y.hasWhere)continue;if(o!==-1){let _=[this.rules[h]];for(let S=h-1;S>=c;S--){let q=this.rules[S];if(q.hasWhere!==a)break;let C=q.media,R=C.features[Xr],O=C.features[Br];if(!R||!O||R.value-O.value!==w)break;_.unshift(this.rules[S])}r=l(this.rules,S=>S.media&&S.priority!==-1&&S.media.features[Br]&&S.media.features[Xr])}break}else if(w>p)break}}else if(d)for(let p=c;p<=n;p++){r=p;let h=this.rules[p],y=h.media,v=y.features[Xr],g=y.features[Br];if(v){if(g)break;continue}let b=g?.value;if(b===d.value){if(!a&&h.hasWhere){r++;continue}if(o!==-1)r=l(this.rules,w=>w.media,w=>w.media&&w.priority!==-1&&w.media.features[Br]&&w.media.features[Xr],w=>!w.media.features[Br]&&!w.media.features[Xr]);else for(let w=p;w<=n;w++){let _=this.rules[w],S=_.media,q=S.features[Br];if(!S.features[Xr]){if(_.hasWhere!==a||q.value!==b||_.order>=s)break;r=w+1}}break}else{if(b>d.value)break;r++}}else if(f)for(let p=n;p>=c;p--){r=p;let h=this.rules[p],y=h.media,v=y.features[Xr];if(y.features[Br])continue;let g=v?.value;if(!g||g>f.value){r++;break}else if(g===f.value){if(a&&!h.hasWhere)continue;if(o!==-1)r=l(this.rules,b=>b.media,b=>b.media&&b.priority!==-1&&b.media.features[Br]&&b.media.features[Xr],b=>!b.media.features[Br]&&!b.media.features[Xr]);else{let b=[this.rules[p]];for(let w=p-1;w>=c;w--){let _=this.rules[w],S=_.media,q=S.features[Br],C=S.features[Xr];if(!q&&(!C||C.value!==g||_.hasWhere!==a))break;b.unshift(_)}for(let w=0;w<b.length;w++){let _=b[w];if(!_.media.features[Br]){if(_.order>=s)break;r=p-b.length+2+w}}}break}}}if(r===void 0)if(c===-1)r=n+1;else if(o!==-1)r=c+l(this.rules.slice(c),void 0,f=>f.media.features[Xr]||f.media.features[Br]);else if(a){let f=c;for(;f<this.rules.length;f++){let d=this.rules[f];if(d.priority!==-1||!d.hasWhere||d.order>=s){r=f;break}}r===void 0&&(r=f)}else for(let f=c;f<=n;f++){r=f;let d=this.rules[f],p=d.media;if(d.priority!==-1||p.features[Xr]||p.features[Br])break;if(d.hasWhere)r++;else if(d.order>=s)break}}else if(o===-1)if(a)r=this.rules.findIndex(c=>!c.hasWhere||c.media||c.priority!==-1||c.order>=s),r===-1&&(r=n+1);else{let c=0;for(;c<this.rules.length;c++){let f=this.rules[c];if(f.media||!f.hasWhere&&(f.order>=s||f.priority!==-1)){r=c;break}}r===void 0&&(r=c)}else r=l(this.rules,void 0,c=>c.media);if(this.rules.splice(r,0,e),this.ruleOfClass[u]=e,this.style){let c=this.style.sheet,f=0,d=p=>{let h=this.rules[p];if(h){if(!h.natives.length)return d(p-1);let y=h.natives[h.natives.length-1].cssRule;for(let v=0;v<c.cssRules.length;v++)if(c.cssRules[v]===y){f=v+1;break}}};d(r-1);for(let p=0;p<e.natives.length;)try{let h=e.natives[p];c.insertRule(h.text,f),h.cssRule=c.cssRules[f++],p++}catch(h){console.error(h),e.natives.splice(p,1)}}}}get text(){return this.rules.map(t=>t.text).join("")}},or=og;fc=new WeakMap,Co=new WeakMap,x(or,"instances",[]),x(or,"root");dc&&(window.MasterCSS=or);var sc=typeof global<"u"?global:window;if(!sc.CSS&&!sc.CSS?.escape){let t=function(e){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");let r=String(e),n=r.length,i=-1,s="",o,a=r.charCodeAt(0);if(n==1&&a==45)return"\\"+r;for(;++i<n;){if(o=r.charCodeAt(i),o==0){s+="\uFFFD";continue}if(o>=1&&o<=31||o==127||i==0&&o>=48&&o<=57||i==1&&o>=48&&o<=57&&a==45){s+="\\"+o.toString(16)+" ";continue}if(o>=128||o==45||o==95||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122){s+=r.charAt(i);continue}s+="\\"+r.charAt(i)}return s};sc.CSS||(sc.CSS={}),sc.CSS.escape=t}function k5(t,e){if(!t?.length)return;let r=new or({...e,observe:!1});for(let n of t)n in r.countOfClass||r.insert(n)&&(r.countOfClass[n]=1);return r.text}var UF=require("perf_hooks");var uge=ut(require("fs"),1),GF=ut(Po(),1),Pk=ut(O$(),1);var DB=ut(dh(),1);var Ug=ut(require("node:process"),1),z$=ut(require("node:os"),1),Kq=ut(require("node:tty"),1),r1e=Object.create,B$=Object.defineProperty,n1e=Object.getOwnPropertyDescriptor,i1e=Object.getOwnPropertyNames,s1e=Object.getPrototypeOf,o1e=Object.prototype.hasOwnProperty,a1e=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),u1e=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of i1e(e))!o1e.call(t,i)&&i!==r&&B$(t,i,{get:()=>e[i],enumerable:!(n=n1e(e,i))||n.enumerable});return t},l1e=(t,e,r)=>(r=t!=null?r1e(s1e(t)):{},u1e(e||!t||!t.__esModule?B$(r,"default",{value:t,enumerable:!0}):r,t)),c1e=a1e((t,e)=>{"use strict";function r(n){var i=void 0;typeof n=="string"?i=[n]:i=n.raw;for(var s="",o=0;o<i.length;o++)s+=i[o].replace(/\\\n[ \t]*/g,"").replace(/\\`/g,"`"),o<(arguments.length<=1?0:arguments.length-1)&&(s+=arguments.length<=o+1?void 0:arguments[o+1]);var a=s.split(`
|
|
467
467
|
`),u=null;return a.forEach(function(l){var c=l.match(/^(\s+)\S+/);if(c){var f=c[1].length;u?u=Math.min(u,f):u=f}}),u!==null&&(s=a.map(function(l){return l[0]===" "?l.slice(u):l}).join(`
|
|
468
468
|
`)),s=s.trim(),s.replace(/\\n/g,`
|
|
469
469
|
`)}typeof e<"u"&&(e.exports=r)}),ki=(t,e)=>{if(!t)throw new Error(e)},f1e=t=>{let e={joined:!0,spacerNoNeighbour:" ",spacerNeighbour:"\u2502 ",keyNoNeighbour:"\u2514\u2500 ",keyNeighbour:"\u251C\u2500 ",separator:": ",renderFn:r=>["boolean","string","number"].includes(typeof r)?r:void 0,sortFn:null,breakCircularWith:" (circular ref.)",...t};return ki(Object.keys(e).length===9,"Unexpected Option(s) provided"),ki(typeof e.joined=="boolean",'Option "joined" has invalid format'),ki(typeof e.spacerNoNeighbour=="string",'Option "spacerNoNeighbour" has invalid format'),ki(typeof e.spacerNeighbour=="string",'Option "spacerNeighbour" has invalid format'),ki(typeof e.keyNoNeighbour=="string",'Option "keyNoNeighbour" has invalid format'),ki(typeof e.keyNeighbour=="string",'Option "keyNeighbour" has invalid format'),ki(typeof e.separator=="string",'Option "separator" has invalid format'),ki(typeof e.renderFn=="function",'Option "renderFn" has invalid format'),ki(typeof e.sortFn=="function"||e.sortFn===null,'Option "sortFn" has invalid format'),ki(typeof e.breakCircularWith=="string"||e.breakCircularWith===null,'Option "breakCircularWith" has invalid format'),e},W$=(t,e={})=>{let r=f1e(e),n=[],i=r.renderFn(t);i!==void 0&&n.push(String(i));let s=l=>r.sortFn===null?l.reverse():l.sort((c,f)=>r.sortFn(f,c)),o=[],a=s(Object.keys(t)).map(l=>[l]),u=[t];for(;a.length!==0;){let l=a.pop(),c=u[l.length-1][l[l.length-1]],f=r.breakCircularWith!==null&&u.includes(c);o[l.length-1]=a.length!==0&&a[a.length-1].length===l.length;let d=r.renderFn(c);n.push([o.slice(0,l.length-1).map(p=>p?r.spacerNeighbour:r.spacerNoNeighbour).join(""),o[l.length-1]?r.keyNeighbour:r.keyNoNeighbour,l[l.length-1],d===void 0?"":`${r.separator}${c}`,f?r.breakCircularWith:""].join("")),c instanceof Object&&!Array.isArray(c)&&!f&&(a.push(...s(Object.keys(c)).map(p=>l.concat(p))),u[l.length]=c)}return r.joined===!0?n.join(`
|
|
@@ -481,7 +481,7 @@ You passed in: '`+this.raw_options[t]+"'");return n};xo.prototype._is_valid_sele
|
|
|
481
481
|
`)+r,i=n+1,n=t.indexOf(`
|
|
482
482
|
`,i)}while(n!==-1);return s+=t.slice(i),s}var{stdout:Jhe,stderr:Xhe}=M0t,YF=Symbol("GENERATOR"),Nl=Symbol("STYLER"),kp=Symbol("IS_EMPTY"),Zhe=["ansi","ansi","ansi256","ansi16m"],jl=Object.create(null),I0t=(t,e={})=>{if(e.level&&!(Number.isInteger(e.level)&&e.level>=0&&e.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let r=Jhe?Jhe.level:0;t.level=e.level===void 0?r:e.level},N0t=t=>{let e=(...r)=>r.join(" ");return I0t(e,t),Object.setPrototypeOf(e,Ep.prototype),e};function Ep(t){return N0t(t)}Object.setPrototypeOf(Ep.prototype,Function.prototype);for(let[t,e]of Object.entries(Wi))jl[t]={get(){let r=Mk(this,JF(e.open,e.close,this[Nl]),this[kp]);return Object.defineProperty(this,t,{value:r}),r}};jl.visible={get(){let t=Mk(this,this[Nl],!0);return Object.defineProperty(this,"visible",{value:t}),t}};var QF=(t,e,r,...n)=>t==="rgb"?e==="ansi16m"?Wi[r].ansi16m(...n):e==="ansi256"?Wi[r].ansi256(Wi.rgbToAnsi256(...n)):Wi[r].ansi(Wi.rgbToAnsi(...n)):t==="hex"?QF("rgb",e,r,...Wi.hexToRgb(...n)):Wi[r][t](...n),j0t=["rgb","hex","ansi256"];for(let t of j0t){jl[t]={get(){let{level:r}=this;return function(...n){let i=JF(QF(t,Zhe[r],"color",...n),Wi.color.close,this[Nl]);return Mk(this,i,this[kp])}}};let e="bg"+t[0].toUpperCase()+t.slice(1);jl[e]={get(){let{level:r}=this;return function(...n){let i=JF(QF(t,Zhe[r],"bgColor",...n),Wi.bgColor.close,this[Nl]);return Mk(this,i,this[kp])}}}}var $0t=Object.defineProperties(()=>{},{...jl,level:{enumerable:!0,get(){return this[YF].level},set(t){this[YF].level=t}}}),JF=(t,e,r)=>{let n,i;return r===void 0?(n=t,i=e):(n=r.openAll+t,i=e+r.closeAll),{open:t,close:e,openAll:n,closeAll:i,parent:r}},Mk=(t,e,r)=>{let n=(...i)=>B0t(n,i.length===1?""+i[0]:i.join(" "));return Object.setPrototypeOf(n,$0t),n[YF]=t,n[Nl]=e,n[kp]=r,n},B0t=(t,e)=>{if(t.level<=0||!e)return t[kp]?"":e;let r=t[Nl];if(r===void 0)return e;let{openAll:n,closeAll:i}=r;if(e.includes("\x1B"))for(;r!==void 0;)e=L0t(e,r.close,r.open),r=r.parent;let s=e.indexOf(`
|
|
483
483
|
`);return s!==-1&&(e=F0t(e,i,n,s)),n+e+i};Object.defineProperties(Ep.prototype,jl);var W0t=Ep(),g5t=Ep({level:Xhe?Xhe.level:0}),Ae=W0t;function zi(t){return t.split(" ").map(e=>e.replace(/^(\d*\.?\d*)$/g,`${Ae.blue("$1")}`).replace(/^(\d*\.?\d*)(YB|ZB|EB|PB|TB|GB|MB|KB|B|mb|kb|bit|zs|as|fs|ps|ns|µs|ms|s|m|h|d|m|y)$/g,`${Ae.cyan("$1")}${Ae.magenta("$2")}`).replace(/^((?:[0-1]?[0-9]|[2][0-3]):[0-5][0-9]:[0-5][0-9] (?:AM|PM)?)$/g,`${Ae.dim("$1")}`).replace(/^\[(.*?)\]$/g,`${Ae.dim("[")}${Ae.magenta("$1")}${Ae.dim("]")}`).replace(/^`(.*?)`$/g,`${Ae.dim("`")}$1${Ae.dim("`")}`).replace(/^\((.*?)\)$/g,`${Ae.dim("(")}$1${Ae.dim(")")}`).replace(/^<(.*?)>$/g,`${Ae.dim("<")}${Ae.gray("$1")}${Ae.dim(">")}`).replace(/->/g,Ae.dim("\u2192")).replace(/<-/g,Ae.dim("\u2190")).replace(/^\$t$/g,`${Ae.dim(new Date().toLocaleTimeString())}`).replace(/^\*\*(.*?)\*\*$/g,`${Ae.bold.white("$1")}`).replace(/^~~(.*?)~~$/g,`${Ae.strikethrough("$1")}`).replace(/^__(.*?)__$/g,`${Ae.underline("$1")}`).replace(/^\.\.(.*?)\.\.$/g,`${Ae.dim("$1")}`).replace(/^!!(.*?)!!$/g,`${Ae.yellow("$1")}`).replace(/^\*(.*?)\*$/g,`${Ae.italic("$1")}`).replace(/^_(.*?)_$/g,`${Ae.italic("$1")}`).replace(/^\+(.*?)\+$/g,`${Ae.green("$1")}`).replace(/^-(.*?)-$/g,`${Ae.red("$1")}`)).join(" ")}function kn(t,e){let r="";if(Array.isArray(t))for(let n=0;n<t.length;n++)r+=WF(t[n])+WF(e[n]);else r=[t,...e].map(n=>WF(n)).join(" ");return zi(r)}var WF=t=>t?Array.isArray(t)?t.map(e=>{switch(typeof e){case"string":return`'${Ae.yellow(e)}'`;case"number":case"boolean":return Ae.blue(e);default:return e}}).join(Ae.gray(", ")):t:"",ege=(t,...e)=>{let r=Ae.green("+")+" "+kn(t,e);return console.log(r),r},tge=(t,...e)=>{let r=Ae.bgRed.bold.white(" \u{1D5EB} ERROR ")+" "+kn(t,e);return console.log(r),r},z0t=(t,...e)=>{let r=Ae.bgYellow.bold.white(" \u26A0\uFE0F CONFLICT ")+" "+Ae.yellow(kn(t,e));return console.log(r),r},U0t=(t,...e)=>{let r=Ae.green("\u2713 ")+kn(t,e);return console.log(r),r},zF=(t,...e)=>{let r=Ae.red("-")+" "+kn(t,e);return console.log(r),r},rge=(t,...e)=>{let r=Ae.green("\u25CB ")+kn(t,e);return console.log(r),r},nge=(t,...e)=>{let r=Ae.red("\u2717 ")+kn(t,e);return console.log(r),r},ige=(t,...e)=>{let r=zi("$t ")+kn(t,e);return console.log(r),r},H0t=(t,...e)=>{let r=Ae.green("\u23FA Success ")+kn(t,e);return console.log(r),r},V0t=(t,...e)=>{let r=Ae.yellow("\u23FA Warn ")+kn(t,e);return console.log(r),r},G0t=(t,...e)=>{let r=Ae.bgGreen.bold.white(" \u2713 PASS ")+" "+kn(t,e);return console.log(r),r},K0t=t=>{console.log(fge(dge(JSON.parse(JSON.stringify(t))),{spacerNeighbour:zi("..\u2502..")+" ",keyNoNeighbour:zi("..\u2514\u2500..")+" ",keyNeighbour:zi("..\u251C\u2500..")+" ",separator:zi("..:..")+" "}))};function dge(t){for(let e in t){let r=t[e];Array.isArray(r)?t[e]=r.map(n=>zi(`**${n}**`)).join(zi("..,..")):typeof r=="object"?dge(r):t[e]=zi(`**${r}**`)}return t}var Y0t=(t,...e)=>{let r=Ae.red("\u23FA Fail ")+kn(t,e);return console.log(r),r},Q0t=S0t(k0t());function J0t(t){let{message:e,stack:r}=typeof t=="string"?new Error(t):t,n={};return(0,Q0t.default)(r.replace(e,"").replace(/^Error: /,"")).split(`
|
|
484
|
-
`).forEach(i=>{n[i.split(" ").map(s=>s.replace(/^\((.+)\)$/,`${Ae.cyan("$1")}`).replace(/\./g,`${Ae.dim(".")}`).replace(/^at$/,o=>Ae.dim(o))).join(" ")]=null}),{message:e.trim().replace(/Error: /g,""),stackTree:n}}var pge=(t,...e)=>{if(t instanceof Error){let{message:r,stackTree:n}=J0t(t);return console.log(""),console.log(Ae.bgRed.bold.white(" \u{1D5EB} ERROR ")+" "+Ae.bold.red(r)),console.log(fge(n,{spacerNeighbour:Ae.redBright.dim("\u2502\u2000\u2000"),keyNoNeighbour:Ae.redBright.dim("\u2514\u2500\u2000"),keyNeighbour:Ae.redBright.dim("\u251C\u2500 "),separator:Ae.redBright.dim(":\u2000")})),console.log(""),r}else{let r=kn(t,e);return console.log(r),r}};Object.assign(pge,{a:ege,add:ege,d:zF,del:zF,delete:zF,o:rge,valid:rge,x:nge,invalid:nge,i:ige,info:ige,e:tge,error:tge,success:H0t,fail:Y0t,warn:V0t,pass:G0t,conflict:z0t,ok:U0t,tree:K0t,paint:zi});var Sp=pge,gge=class extends qB{constructor(t){super(f0t),this.options=ts(this.options,this.readConfig(null)?.options,t)}css;extractions=new Set;get resolvedModuleId(){return"\0"+this.options.module}get moduleHMREvent(){return`HMR:${this.options.module}`}async init(){return this.extractions.clear(),console.log(""),this.css=new wr({...this.readConfig()}),await this.compile(),this}async compile(){if(this.options.classes?.fixed?.length)for(let t of this.options.classes.fixed)this.css.insert(t);return await Promise.all(this.sources.map(async t=>{let e=uge.default.readFileSync(Ak.default.resolve(this.options.cwd,t),{encoding:"utf-8"}).toString();await this.insert(t,e)})),this}extract(t,e){if(!t||!e||!this.checkSourcePath(t))return[];let r=[];for(let n of d0t({content:e,name:t},this.css))this.extractions.has(n)||(this.extractions.add(n),r.push(n));return r}async insert(t,e){let r=this.extract(t,e);if(!r.length)return!1;let n=UF.performance.now(),i=[];await Promise.all(r.map(async o=>{let a=await this.createRules(o);a.length&&(this.css.insertRules(a),i.push(o))}));let s=Math.round((UF.performance.now()-n)*100)/100;if(r.length&&(console.log(""),Sp`**${Ak.default.relative(this.options.cwd,t)}** ..${Ak.default.resolve(this.options.cwd,t)}..`,Sp`[extract] ${r.length} potential`),this.css.rules.length){let o=i.filter(a=>!r.includes(a));o.length&&Sp`[exclude] ${o.length} unknow ${o}`,Sp`[compile] +${i.length}+ valid inserted ${Ae.gray("in")} ${s}ms ${i}`,Sp`[virtual] ${this.css.rules.length} total ${Ae.gray("in")} ${this.options.module}`}return this.options.classes?.ignored?.length&&(r=r.filter(o=>{for(let a of this.options.classes.ignored)if(typeof a=="string"){if(a===o)return!1}else if(a.test(o))return!1;return!0})),!0}async createRules(t){return(await Promise.all(this.css.create(t).map(async e=>(await hge.default.lint({code:e.text,cache:!1,config:{rules:{"color-no-invalid-hex":!0,"named-grid-areas-no-invalid":!0,"at-rule-no-unknown":!0,"function-no-unknown":!0,"media-feature-name-no-unknown":!0,"property-no-unknown":!0,"selector-pseudo-class-no-unknown":!0,"selector-pseudo-element-no-unknown":!0,"selector-type-no-unknown":!0,"unit-no-unknown":!0}}})).errored?null:e))).filter(e=>e)}get sources(){let{include:t,exclude:e,sources:r}=this.options,n=GF.default.sync(t,{cwd:this.options.cwd,ignore:e});return r?.length&&n.push(...GF.default.sync(r,{cwd:this.options.cwd})),n}checkSourcePath(t){let{include:e,exclude:r,sources:n}=this.options;for(let i of n)if((0,Pk.default)(t,i))return!0;for(let i of e)if(!(0,Pk.default)(t,i))return!1;for(let i of r)if((0,Pk.default)(t,i))return!1;return!0}get config(){return this.css.config}};var Ji=ut(zp());var Nbe=ut(Jme()),jbe=ut(pye()),$be=ut(hye());var Q=ut(R3()),wE=[{label:"lang()",kind:Q.CompletionItemKind.Function},{label:"has()",kind:Q.CompletionItemKind.Function},"any-link","link","visited","target","scope","hover","active","focus","focus-visible","focus-within","autofill","enabled","disabled","read-only","read-write","placeholder-shown","default","checked","indeterminate","valid","invalid","in-range","out-of-range","required","optional","root","empty",{label:"nth-child()",kind:Q.CompletionItemKind.Function},{label:"nth-last-child()",kind:Q.CompletionItemKind.Function},"first-child","last-child","only-child",{label:"nth-of-type()",kind:Q.CompletionItemKind.Function},{label:"nth-last-of-type()",kind:Q.CompletionItemKind.Function},"first-of-type","last-of-type","only-of-type","defined","first","fullscreen",{label:"host()",kind:Q.CompletionItemKind.Function},{label:"host-context()",kind:Q.CompletionItemKind.Function},{label:"is()",kind:Q.CompletionItemKind.Function},"left",{label:"not()",kind:Q.CompletionItemKind.Function},"right",{label:"where()",kind:Q.CompletionItemKind.Function}],N3=["after","before","backdrop","cue","first-letter","first-line","file-selector-button","marker",{label:"part()",kind:Q.CompletionItemKind.Function},"placeholder","selection",{label:"slotted()",kind:Q.CompletionItemKind.Function},"resizer","search-cancel-button","search-results-button"],gye=["all","print","screen","portrait","landscape","motion","reduced-motion",{label:"media()",kind:Q.CompletionItemKind.Function}],mye=["ext","gap","ont","ovf","quotes","bottom","center","left","middle","top","right","px","py","pt","pb","pl","pr","mx","my","mt","mb","ml","mr"],yye=[{label:"var()",kind:Q.CompletionItemKind.Function},{label:"calc()",kind:Q.CompletionItemKind.Function},"inherit","initial","unset"],Hp=[{key:["color","fg","foreground"],colorful:!0,values:[]},{key:["font-color","font","f"],colorful:!0,values:[]},{key:["accent-color","accent"],colorful:!0,values:[]},{key:["appearance"],colorful:!1,values:["none","auto","menulist-button","textfield","button","searchfield","textarea","push-button","slider-horizontal","checkbox","radio","square-button","menulist","listbox","meter","progress-bar"]},{key:["caret-color","caret"],colorful:!0,values:["transparent"]},{key:["cursor"],colorful:!1,values:["auto","alias","all-scroll","cell","col-resize","context-menu","copy","crosshair","default","e-resize","ew-resize","grab","grabbing","help","move","n-resize","ne-resize","nesw-resize","no-drop","none","not-allowed","ns-resize","nw-resize","nwse-resize","pointer","progress","row-resize","s-resize","se-resize","sw-resize","text","vertical-text","w-resize","wait","zoom-in","zoom-out"]},{key:["box-decoration-break","box"],colorful:!1,values:["slice","clone"]},{key:["break-after","break-before"],colorful:!1,values:["avoid-column","column","left","page","recto","right","recto","verso","auto","avoid","avoid-column","avoid-page","revert"]},{key:["break-inside"],colorful:!1,values:["auto","avoid","avoid-column","avoid-page","revert"]},{key:["clear"],colorful:!1,values:["both","left","none","right"]},{key:["columns","cols"],colorful:!1,values:[]},{key:["column-span","col-span"],colorful:!1,values:["all","none"]},{key:["direction"],colorful:!1,values:["ltr","rtl"]},{key:["display","d"],colorful:!1,values:["hidden","hide","flex","grid","inline","none","block","table","contents","inline-block","inline-flex","inline-grid","inline-table","table-cell","table-caption","flow-root","list-item","table-row","table-column","table-row-group","table-column-group","table-header-group","table-footer-group"]},{key:["float"],colorful:!1,values:["left","none","right"]},{key:["inset"],colorful:!1,values:[]},{key:["isolation"],colorful:!1,values:["auto","isolate"]},{key:["overflow","overflow-x","overflow-y"],colorful:!1,values:["auto","hidden","overlay","scroll","visible","clip"]},{key:["position"],colorful:!1,values:["absolute","relative","static","fixed","sticky"]},{key:["z-index","z"],colorful:!1,values:[]},{key:["flex"],colorful:!1,values:[]},{key:["flex-basis"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["flex-direction","flex"],colorful:!1,values:["column","row","column-reverse","row-reverse"]},{key:["flex-grow","flex-shrink"],colorful:!1,values:[]},{key:["flex-wrap","flex"],colorful:!1,values:["wrap","wrap-reverse","nowrap"]},{key:["grid"],colorful:!1,values:[]},{key:["grid-auto-columns","grid-auto-cols"],colorful:!1,values:["auto","min-content","max-content",{label:"minmax(,)",kind:Q.CompletionItemKind.Function}]},{key:["grid-auto-flow"],colorful:!1,values:["row","column","dense","row|dense","column|dense"]},{key:["grid-auto-rows"],colorful:!1,values:["auto","min-content","max-content",{label:"minmax(,)",kind:Q.CompletionItemKind.Function}]},{key:["grid-column","grid-col","grid-column-span","grid-col-span","grid-column-start","grid-col-start","grid-column-end","grid-col-end"],colorful:!1,values:[]},{key:["grid-columns","grid-cols"],colorful:!1,values:[]},{key:["grid-row","grid-row-span","grid-row-start","grid-row-end"],colorful:!1,values:[]},{key:["grid-rows"],colorful:!1,values:[]},{key:["grid-template"],colorful:!1,values:["none"]},{key:["grid-template-areas","grid-area"],colorful:!1,values:["none"]},{key:["grid-template-columns","grid-template-cols"],colorful:!1,values:["none","min-content","max-content",{label:"repeat(,)",kind:Q.CompletionItemKind.Function},{label:"fit-content()",kind:Q.CompletionItemKind.Function},{label:"minmax()",kind:Q.CompletionItemKind.Function}]},{key:["grid-template-rows"],colorful:!1,values:["none","min-content","max-content",{label:"repeat(,)",kind:Q.CompletionItemKind.Function},{label:"fit-content()",kind:Q.CompletionItemKind.Function},{label:"minmax()",kind:Q.CompletionItemKind.Function}]},{key:["align-content","ac"],colorful:!1,values:["space-around","space-between","space-evenly","normal","baseline","center","stretch","start","end","flex-start","flex-end"]},{key:["align-items","ai"],colorful:!1,values:["self-start","self-end","normal","baseline","center","stretch","start","end","flex-start","flex-end"]},{key:["align-self","as"],colorful:!1,values:["auto","self-start","self-end","normal","baseline","center","stretch","start","end","flex-start","flex-end"]},{key:["justify-content","jc"],colorful:!1,values:["space-around","space-between","space-evenly","normal","left","center","right","stretch","start","end","flex-start","flex-end"]},{key:["justify-items","ji"],colorful:!1,values:["self-start","self-end","normal","left","center","right","stretch","start","end","flex-start","flex-end"]},{key:["justify-self","js"],colorful:!1,values:["auto","self-start","self-end","normal","left","center","right","stretch","start","end","flex-start","flex-end"]},{key:["order","o"],colorful:!1,values:[]},{key:["place-content"],colorful:!1,values:["space-around","space-between","space-evenly","normal","baseline","center","stretch","start","end","flex-start","flex-end"]},{key:["place-items"],colorful:!1,values:["self-start","self-end","normal","baseline","center","stretch","start","end","flex-start","flex-end"]},{key:["place-self"],colorful:!1,values:["auto","self-start","self-end","normal","baseline","center","stretch","start","end","flex-start","flex-end"]},{key:["border-collapse","border"],colorful:!1,values:["collapse","separate"]},{key:["table-layout"],colorful:!1,values:["auto","fixed"]},{key:["object-fit"],colorful:!1,values:["none"]},{key:["object-fit","object","obj"],colorful:!1,values:["contain","cover","fill","scale-down"]},{key:["object-position","object","obj"],colorful:!1,values:["top","bottom","left","right","center"]},{key:["font","f"],colorful:!1,values:["caption","icon","menu","message-box","small-caption","status-bar"]},{key:["font-color","font","f"],colorful:!0,values:[]},{key:["font-family","font","f"],colorful:!1,values:["'CourierNew',Courier,monospace","'FranklinGothicMedium','ArialNarrow',Arial,sans-serif","'GillSans','GillSansMT',Calibri,'TrebuchetMS',sans-serif","'LucidaSans','LucidaSansRegular','LucidaGrande','LucidaSansUnicode',Geneva,Verdana,sans-serif","'SegoeUI',Tahoma,Geneva,Verdana,sans-serif","'TimesNewRoman',Times,serif","'TrebuchetMS','LucidaSansUnicode','LucidaGrande','LucidaSans',Arial,sans-serif","Arial,Helvetica,sans-serif","Cambria,Cochin,Georgia,Times,'TimesNewRoman',serif","Georgia,'TimesNewRoman',Times,serif","Impact,Haettenschweiler,'ArialNarrowBold',sans-serif","Verdana,Geneva,Tahoma,sans-serif","cursive","fantasy","monospace","sans-serif","serif","-apple-system,BlinkMacSystemFont,'SegoeUI',Roboto,Oxygen,Ubuntu,Cantarell,'OpenSans','HelveticaNeue',sans-serif"]},{key:["font-size","font","f"],colorful:!1,values:[{label:"8",kind:Q.CompletionItemKind.Unit,sortText:"!0"},{label:"9",kind:Q.CompletionItemKind.Unit,sortText:"!1"},{label:"10",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"11",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"12",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"14",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"16",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"18",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"20",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"22",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"24",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"26",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"28",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"36",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"48",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"72",kind:Q.CompletionItemKind.Unit,sortText:"!2"}]},{key:["font-style"],colorful:!1,values:["oblique|deg"]},{key:["font-style","font","f"],colorful:!1,values:["normal","italic","oblique"]},{key:["font-variant-numeric","font","f"],colorful:!1,values:["normal","ordinal","slashed-zero","lining-nums","oldstyle-nums","proportional-nums","tabular-nums","diagonal-fractions","stacked-fractions"]},{key:["font-weight","font","f"],colorful:!1,values:["100","200","300","400","500","600","700","800","900"]},{key:["font","f"],colorful:!1,values:["antialiased","subpixel-antialiased"]},{key:["text-align","text","t"],colorful:!1,values:["start","end","left","right","center","justify"]},{key:["text-decoration","text","t"],colorful:!1,values:["underline","line-through","overline"]},{key:["text-decoration-color","text-decoration"],colorful:!0,values:[]},{key:["text-decoration-line","text","t"],colorful:!1,values:["none","underline","overline","line-through"]},{key:["text-decoration-style","text","t"],colorful:!1,values:["dashed","dotted","double","solid","wavy"]},{key:["text-decoration-thickness"],colorful:!1,values:[]},{key:["text-fill-color","text-fill"],colorful:!0,values:[]},{key:["text-indent"],colorful:!1,values:[]},{key:["text-orientation","text","t"],colorful:!1,values:["mixed","sideways","sideways-right","upright","use-glyph-orientation"]},{key:["text-overflow","text","t"],colorful:!1,values:["clip","ellipsis"]},{key:["text-shadow"],colorful:!1,values:[]},{key:["text","t"],colorful:!1,values:[]},{key:["text-stroke"],colorful:!1,values:[]},{key:["text-stroke-color","text-stroke"],colorful:!0,values:[]},{key:["text-stroke-width","text-stroke"],colorful:!1,values:[]},{key:["text-transform"],colorful:!1,values:["none"]},{key:["text-transform","text","t"],colorful:!1,values:["capitalize","lowercase","uppercase"]},{key:["text-underline-offset"],colorful:!1,values:[]},{key:["text-rendering"],colorful:!1,values:["auto"]},{key:["text-rendering","t"],colorful:!1,values:["optimizeSpeed","optimizeLegibility","geometricPrecision"]},{key:["list-style"],colorful:!1,values:[]},{key:["list-style-image","list-style"],colorful:!1,values:[{label:"url()",kind:Q.CompletionItemKind.Function},{label:"linear-gradient()",kind:Q.CompletionItemKind.Function},{label:"radial-gradient()",kind:Q.CompletionItemKind.Function},{label:"repeating-linear-gradient()",kind:Q.CompletionItemKind.Function},{label:"repeating-radial-gradient()",kind:Q.CompletionItemKind.Function},{label:"conic-gradient()",kind:Q.CompletionItemKind.Function}]},{key:["list-style-position","list-style"],colorful:!1,values:["inside","outside"]},{key:["list-style-type"],colorful:!1,values:["circle","square","decimal-leading-zero","lower-roman","lower-greek","lower-alpha","lower-latin","upper-roman","upper-alpha","upper-latin","arabic-indic","armenian","bengali","cambodian/khmer","cjk-earthly-branch","cjk-heavenly-stem","devanagari","georgian","gurmukhi","kannada","lao","malayalam","myanmar","oriya","telugu","thai"]},{key:["list-style-type","list-style"],colorful:!1,values:["none","disc","decimal"]},{key:["letter-spacing","ls"],colorful:!1,values:[]},{key:["lines"],colorful:!1,values:[]},{key:["line-height","lh"],colorful:!1,values:[]},{key:["content"],colorful:!1,values:["normal","none","no-open-quote","no-close-quote",{label:"url()",kind:Q.CompletionItemKind.Function},{label:"linear-gradient()",kind:Q.CompletionItemKind.Function},{label:"image-set()",kind:Q.CompletionItemKind.Function},{label:"counter()",kind:Q.CompletionItemKind.Function},{label:"attr()",kind:Q.CompletionItemKind.Function}]},{key:["vertical-align","v"],colorful:!1,values:["baseline","bottom","middle","sub","super","text-bottom","text-top","top"]},{key:["white-space"],colorful:!1,values:["break-spaces","normal","nowrap","pre","pre-line","pre-wrap"]},{key:["word-break"],colorful:!1,values:["normal","break-all","keep-all"]},{key:["word-spacing"],colorful:!1,values:[]},{key:["writing-mode"],colorful:!1,values:["horizontal-tb","vertical-rl","vertical-lr","lr","lr-tb","rl","rl-tb","tb","tb-rl"]},{key:["background","bg"],colorful:!1,values:[]},{key:["backdrop-filter","bd"],colorful:!1,values:["none",{label:"url()",kind:Q.CompletionItemKind.Function},{label:"blur()",kind:Q.CompletionItemKind.Function},{label:"brightness()",kind:Q.CompletionItemKind.Function},{label:"contrast()",kind:Q.CompletionItemKind.Function},{label:"grayscale()",kind:Q.CompletionItemKind.Function},{label:"hue-rotate(degree)",kind:Q.CompletionItemKind.Function},{label:"invert()",kind:Q.CompletionItemKind.Function},{label:"sepia()",kind:Q.CompletionItemKind.Function},{label:"saturate()",kind:Q.CompletionItemKind.Function},{label:"opacity()",kind:Q.CompletionItemKind.Function},{label:"drop-shadow()",kind:Q.CompletionItemKind.Function}]},{key:["background-attachment","background","bg"],colorful:!1,values:["fixed","local","scroll"]},{key:["background-blend-mode"],colorful:!1,values:["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]},{key:["background-clip","bg"],colorful:!1,values:["content-box","border-box","padding-box"]},{key:["background-color","background","bg"],colorful:!0,values:["transparent"]},{key:["background-image","background","bg"],colorful:!1,values:[{label:"url()",kind:Q.CompletionItemKind.Function},{label:"linear-gradient()",kind:Q.CompletionItemKind.Function},{label:"radial-gradient()",kind:Q.CompletionItemKind.Function},{label:"repeating-linear-gradient()",kind:Q.CompletionItemKind.Function},{label:"repeating-radial-gradient()",kind:Q.CompletionItemKind.Function},{label:"conic-gradient()",kind:Q.CompletionItemKind.Function}]},{key:["background-origin","bg"],colorful:!1,values:["content-box","border-box","padding-box"]},{key:["background-position","bg"],colorful:!1,values:["top","bottom","left","right","center"]},{key:["background-repeat","bg"],colorful:!1,values:["repeat","no-repeat","repeat-x","repeat-y"]},{key:["background-size","background","bg"],colorful:!1,values:["auto","cover","contain"]},{key:["mix-blend-mode","blend"],colorful:!1,values:["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]},{key:["border","border-top","border-bottom","border-left","border-right","b","bt","bb","bl","br","bx","by"],colorful:!1,values:[]},{key:["border-spacing"],colorful:!1,values:[]},{key:["border-color","border","border-top-color","border-bottom-color","border-left-color","border-right-color","b","bt","bb","bl","br","bx","by"],colorful:!0,values:[]},{key:["border-radius","r","rt","rb","rl","rr","border-top-left-radius","rlt","rtl","border-top-right-radius","rrt","rtr","border-bottom-left-radius","rlb","rbl","border-bottom-right-radius","rbr","rrb"],colorful:!1,values:[]},{key:["border-style","border","b","border-top-style","border-top","bt","border-bottom-style","border-bottom","bb","border-left-style","border-left","bl","border-right-style","border-right","br","bx","by"],colorful:!1,values:["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"]},{key:["border-width","border","b","border-top-width","border-top","bt","border-bottom-width","border-bottom","bb","border-left-width","border-left","bl","border-right-width","border-right","br","bx","by"],colorful:!1,values:[]},{key:["outline"],colorful:!1,values:[]},{key:["outline-color","outline"],colorful:!0,values:[]},{key:["outline-offset"],colorful:!1,values:[]},{key:["outline-style","outline"],colorful:!1,values:["none","dotted","dashed","solid","double","groove","ridge","inset","outset"]},{key:["outline-width","outline"],colorful:!1,values:["medium","thick","thin"]},{key:["shape-image-threshold"],colorful:!1,values:[]},{key:["shape-margin","shape"],colorful:!1,values:[{label:"max()",kind:Q.CompletionItemKind.Function},{label:"min()",kind:Q.CompletionItemKind.Function},{label:"calc()",kind:Q.CompletionItemKind.Function},{label:"clamp()",kind:Q.CompletionItemKind.Function}]},{key:["shape-outside","shape"],colorful:!1,values:["none","content-box","border-box","padding-box","margin-box",{label:"inset()",kind:Q.CompletionItemKind.Function},{label:"circle()",kind:Q.CompletionItemKind.Function},{label:"ellipse()",kind:Q.CompletionItemKind.Function},{label:"polygon()",kind:Q.CompletionItemKind.Function},{label:"url()",kind:Q.CompletionItemKind.Function},{label:"linear-gradient()",kind:Q.CompletionItemKind.Function}]},{key:["clip-path","clip"],colorful:!1,values:["none","content-box","border-box","padding-box","margin-box","fill-box","stroke-box","view-box",{label:"inset()",kind:Q.CompletionItemKind.Function},{label:"circle()",kind:Q.CompletionItemKind.Function},{label:"ellipse()",kind:Q.CompletionItemKind.Function},{label:"polygon()",kind:Q.CompletionItemKind.Function},{label:"path()",kind:Q.CompletionItemKind.Function},{label:"url()",kind:Q.CompletionItemKind.Function}]},{key:["aspect-ratio","aspect"],colorful:!1,values:[]},{key:["box-sizing","box"],colorful:!1,values:["content-box","border-box"]},{key:["width","w"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["min-width","min-w"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["max-width","max-w"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["height","h"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["min-height","min-h"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["max-height","max-h"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["letter-spacing","ls"],colorful:!1,values:[]},{key:["margin-top","mt","margin-bottom","mb","margin-left","ml","margin-right","mr","margin","m","mx","my"],colorful:!1,values:[]},{key:["padding-top","pt","padding-bottom","pb","padding-left","pl","padding-right","pr","padding","p","px","py"],colorful:!1,values:[]},{key:["word-spacing"],colorful:!1,values:[]},{key:["transition"],colorful:!1,values:[]},{key:["transition-delay","~delay"],colorful:!1,values:[]},{key:["transition-duration","~duration"],colorful:!1,values:[]},{key:["transition-property","~property"],colorful:!1,values:[]},{key:["transition-timing-function","~easing"],colorful:!1,values:["ease","ease-in","ease-out","linear","step-start","step-end",{label:"steps(,)",kind:Q.CompletionItemKind.Function},{label:"cubic-bezier(,,,)",kind:Q.CompletionItemKind.Function},{label:"frames()",kind:Q.CompletionItemKind.Function}]},{key:["transform"],colorful:!1,values:[{label:"translate()",kind:Q.CompletionItemKind.Function},{label:"translate3d()",kind:Q.CompletionItemKind.Function},{label:"translateX()",kind:Q.CompletionItemKind.Function},{label:"translateY()",kind:Q.CompletionItemKind.Function},{label:"translateZ()",kind:Q.CompletionItemKind.Function},{label:"scale()",kind:Q.CompletionItemKind.Function},{label:"scale3d()",kind:Q.CompletionItemKind.Function},{label:"scaleX()",kind:Q.CompletionItemKind.Function},{label:"scaleY()",kind:Q.CompletionItemKind.Function},{label:"scaleZ()",kind:Q.CompletionItemKind.Function},{label:"skew()",kind:Q.CompletionItemKind.Function},{label:"skewX()",kind:Q.CompletionItemKind.Function},{label:"skewY()",kind:Q.CompletionItemKind.Function},{label:"rotate()",kind:Q.CompletionItemKind.Function},{label:"rotate3d()",kind:Q.CompletionItemKind.Function},{label:"rotateX()",kind:Q.CompletionItemKind.Function},{label:"rotateY()",kind:Q.CompletionItemKind.Function},{label:"rotateZ()",kind:Q.CompletionItemKind.Function},{label:"perspective()",kind:Q.CompletionItemKind.Function},{label:"matrix()",kind:Q.CompletionItemKind.Function},{label:"matrix3d()",kind:Q.CompletionItemKind.Function}]},{key:["transform-box","transform"],colorful:!1,values:["content-box","fill-box","stroke-box","view-box","border-box"]},{key:["transform-origin","transform"],colorful:!1,values:["top","bottom","right","left","center"]},{key:["transform-style","transform"],colorful:!1,values:["flat","preserve-3d"]},{key:["animation"],colorful:!1,values:[]},{key:["animation-delay","@delay"],colorful:!1,values:[]},{key:["animation-direction","@direction"],colorful:!1,values:["normal","reverse","alternate","alternate-reverse"]},{key:["animation-duration","@duration"],colorful:!1,values:[]},{key:["animation-fill-mode","@fill-mode"],colorful:!1,values:["none","forwards","backwards","both"]},{key:["animation-iteration-count","@iteration-count"],colorful:!1,values:["infinite"]},{key:["animation-name","@name"],colorful:!1,values:[]},{key:["animation-play-state","@play-state"],colorful:!1,values:["running","paused"]},{key:["animation-timing-function","@easing"],colorful:!1,values:["ease","ease-in","ease-out","ease-in-out","linear","step-start","step-end",{label:"steps(,)",kind:Q.CompletionItemKind.Function},{label:"cubic-bezier(,,,)",kind:Q.CompletionItemKind.Function},{label:"frames()",kind:Q.CompletionItemKind.Function}]},{key:["fill"],colorful:!0,values:[]},{key:["stroke"],colorful:!0,values:[]},{key:["stroke-width"],colorful:!1,values:[]},{key:["opacity"],colorful:!1,values:[]},{key:["visibility"],colorful:!1,values:["visible","invisible","collapse"]},{key:["backdrop-filter","bd"],colorful:!1,values:["none",{label:"url(svg)",kind:Q.CompletionItemKind.Function},{label:"blur()",kind:Q.CompletionItemKind.Function},{label:"brightness()",kind:Q.CompletionItemKind.Function},{label:"contrast()",kind:Q.CompletionItemKind.Function},{label:"grayscale()",kind:Q.CompletionItemKind.Function},{label:"hue-rotate(degree)",kind:Q.CompletionItemKind.Function},{label:"invert()",kind:Q.CompletionItemKind.Function},{label:"sepia()",kind:Q.CompletionItemKind.Function},{label:"saturate()",kind:Q.CompletionItemKind.Function},{label:"opacity()",kind:Q.CompletionItemKind.Function},{label:"drop-shadow()",kind:Q.CompletionItemKind.Function}]},{key:["background-blend-mode"],colorful:!1,values:["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]},{key:["box-shadow","shadow","s"],colorful:!0,values:["inset"]},{key:["filter"],colorful:!1,values:["none",{label:"url()",kind:Q.CompletionItemKind.Function},{label:"blur()",kind:Q.CompletionItemKind.Function},{label:"brightness()",kind:Q.CompletionItemKind.Function},{label:"contrast()",kind:Q.CompletionItemKind.Function},{label:"drop-shadow()",kind:Q.CompletionItemKind.Function},{label:"grayscale()",kind:Q.CompletionItemKind.Function},{label:"hue-rotate(degree)",kind:Q.CompletionItemKind.Function},{label:"invert()",kind:Q.CompletionItemKind.Function},{label:"opacity()",kind:Q.CompletionItemKind.Function},{label:"saturate()",kind:Q.CompletionItemKind.Function},{label:"sepia()",kind:Q.CompletionItemKind.Function}]},{key:["mask-image"],colorful:!1,values:[]},{key:["mix-blend-mode","blend"],colorful:!1,values:["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]},{key:["text-shadow"],colorful:!1,values:[]},{key:["overscroll-behavior","overscroll-behavior-x","overscroll-behavior-y"],colorful:!1,values:["auto","none","contain"]},{key:["scroll-behavior"],colorful:!1,values:["auto","smooth"]},{key:["scroll-margin","scroll-m","scroll-margin-top","scroll-mt","scroll-margin-bottom","scroll-mb","scroll-margin-left","scroll-ml","scroll-margin-right","scroll-mr","scroll-mx","scroll-my"],colorful:!1,values:[]},{key:["scroll-padding","scroll-p","scroll-padding","scroll-padding-top","scroll-pt","scroll-padding-bottom","scroll-pb","scroll-padding-left","scroll-pl","scroll-padding-right","scroll-pr","scroll-px","scroll-py"],colorful:!1,values:[]},{key:["scroll-snap-align","scroll-snap"],colorful:!1,values:["center","end","start","none"]},{key:["scroll-snap-stop","scroll-snap"],colorful:!1,values:["always","normal"]},{key:["scroll-snap-type"],colorful:!1,values:["none"]},{key:["scroll-snap-type","scroll-snap"],colorful:!1,values:["x","y","both","block","inline","x|mandatory","y|proximity","both|mandatory"]},{key:["pointer-events"],colorful:!1,values:["auto","none","visiblePainted","visibleFill","visibleStroke","visible","painted","fill","stroke","all","bounding-box"]},{key:["resize"],colorful:!1,values:["auto","none","both","horizontal","vertical","block","inline"]},{key:["touch-action"],colorful:!1,values:["auto","none","pan-x","pan-left","pan-right","pan-y","pan-up","pan-down","pinch-zoom","manipulation"]},{key:["user-drag"],colorful:!1,values:["auto","none","element"]},{key:["user-select"],colorful:!1,values:["all","auto","none","text"]},{key:["contain"],colorful:!1,values:["none","strict","content","size","layout","style","paint"]},{key:["font","f"],colorful:!1,values:["antialiased","subpixel-antialiased"]},{key:["text-rendering"],colorful:!1,values:["auto"]},{key:["text-rendering","t"],colorful:!1,values:["optimizeSpeed","optimizeLegibility","geometricPrecision"]},{key:["will-change"],colorful:!1,values:[]},{key:["$"],colorful:!1,values:[]}],bye=[{type:"color",values:["#",{label:"rgb()",kind:Q.CompletionItemKind.Function},{label:"hsl()",kind:Q.CompletionItemKind.Function}]}];var mr=ut(zp());var Dye=ut(Cye()),Gp=[];Gp=Gp.concat(mye);Hp.forEach(t=>{Gp=Gp.concat(t.key)});var za=[...new Set(Gp)];function Oye(t,e){let r=t.textDocument.uri,n=r.substring(r.lastIndexOf(".")+1),i=t.position,s=/(?:[^"{'\s])+(?=>\s|\b)/g,o,a="",u=e.get(r),l=u?.getText({start:{line:i.line,character:0},end:{line:i.line,character:i.character}}),c=l??"";c=c.trim();let f=u?.getText({start:{line:0,character:0},end:{line:i.line,character:i.character}});if(c.match(s)===null)return{isInstance:!1,lastKey:"",triggerKey:"",isStart:!1,language:n};for(;(o=s.exec(c))!==null;)a=o[0];let d=c.charAt(c.length-1),p=i.character==1||c.charAt(c.length-2)===" "||c.charAt(c.length-2)===""||c.charAt(c.length-2)==='"'||c.charAt(c.length-2)==="'"||c.charAt(c.length-2)==="{";return c.charAt(c.length-2)===":"&&c.charAt(c.length-1)===":"&&(d="::",p=!1),{isInstance:!0,lastKey:a,triggerKey:d,isStart:p,language:n}}function qye(t,e,r,n,i=new wr){let s=[],o=t.split(":").length,a=t.split(":")[0];a=a.trim();let u=t.split(":|@").length,l=t.split(":|@")[u-1],c=/[^\\s"]+@+([^\\s:"@]+)/g,f=/[^\\s"]+::+([^\\s:"@]+)/g,d=!1,p=!(c.exec(t)===null&&e!=="@"),h=!(f.exec(t)===null&&e!=="::"),y=[],v=Object.keys(i.config.selectors??{}).map(b=>b.endsWith("(")?`${b})`:b).filter(b=>b.match(/:[^:]+/)&&!wE.find(w=>(typeof w=="string"?w:w.label)===`:${b}`)).map(b=>(b=b.substring(1),b.endsWith(")")?{label:b,kind:mr.CompletionItemKind.Function}:b)),g=Object.keys(i.config.selectors??{}).map(b=>b.endsWith("(")?`${b})`:b).filter(b=>b.match(/::[^:]+/)&&!N3.find(w=>(typeof w=="string"?w:w.label)===`::${b}`)).map(b=>(b=b.substring(2),b.endsWith(")")?{label:b,kind:mr.CompletionItemKind.Function}:b));return Hp.forEach(b=>{if(b.key.includes(a)){y=y.concat(b.values.filter(_=>!y.find(S=>(typeof S=="string"?S:S.label)===(typeof _=="string"?_:_.label))));let w=(0,Dye.pascalCase)(b.key[0]);if(i.config.values?.[w]){let _=Object.keys(i.config.values[w]);y=y.concat(_.filter(S=>!y.find(q=>(typeof q=="string"?q:q.label)===S)))}if(b.colorful){d=!0;let _=bye.find(S=>S.type==="color")?.values.filter(S=>!y.find(q=>(typeof q=="string"?q:q.label)===(typeof S=="string"?S:S.label)));_&&(y=y.concat(_))}}}),r==!0&&e!=="@"&&e!==":"?(s=s.concat(on(za,mr.CompletionItemKind.Property,":")),s=s.concat(on(Object.keys(i.config.semantics??{}),mr.CompletionItemKind.Property)),n=="tsx"||n=="vue"||n=="jsx"?Ua(a,s):s):r==!0?[]:!za.includes(a)&&e!==":"?(s=s.concat(on(za,mr.CompletionItemKind.Property,":")),s=s.concat(on(Object.keys(i.config.semantics??{}),mr.CompletionItemKind.Property)),n=="tsx"||n=="vue"||n=="jsx"?Ua(a,s):s):za.includes(a)&&a!==null&&h===!0?(s=s.concat(on(N3,mr.CompletionItemKind.Property)),s=s.concat(on(g,mr.CompletionItemKind.Property)),(n=="tsx"||n=="vue"||n=="jsx")&&e!=="@"&&e!==":"?Ua(l,s):s):za.includes(a)&&a!==null&&p===!0?(s=s.concat(on(gye,mr.CompletionItemKind.Property)),s=s.concat(on(Object.keys(i.config.breakpoints??{}),mr.CompletionItemKind.Property)),(n=="tsx"||n=="vue"||n=="jsx")&&e!=="@"&&e!==":"?Ua("@"+l,s):s):Object.keys(i.config.semantics??{}).includes(a)&&!Hp.find(b=>b.key.includes(a))?(s=s.concat(on(wE,mr.CompletionItemKind.Property)),s=s.concat(on(v,mr.CompletionItemKind.Property)),(n=="tsx"||n=="vue"||n=="jsx")&&e!=="@"&&e!==":"?Ua(l,s):s):za.includes(a)&&o<=2&&!(o==2&&e===":")?(s=s.concat(on(y,mr.CompletionItemKind.Enum)),s=s.concat(on(yye,mr.CompletionItemKind.Enum).map(b=>(b.sortText="z"+b,b))),d&&(s=s.concat(X1t(i))),(n=="tsx"||n=="vue"||n=="jsx")&&e!=="@"&&e!==":"?Ua(l,s):s):((za.includes(a)&&(o==2&&e===":"||o>=3)||Hp.find(b=>b.values.includes(a)))&&(s=s.concat(on(wE,mr.CompletionItemKind.Function)),s=s.concat(on(v,mr.CompletionItemKind.Property))),(n=="tsx"||n=="vue"||n=="jsx")&&e!=="@"&&e!==":"?Ua(l,s):s)}function on(t,e,r=""){let n=[];return t.forEach(i=>{typeof i=="string"?n.push({label:i+r,kind:e,insertText:i+r,insertTextMode:2,command:r===":"?{title:"triggerSuggest",command:"editor.action.triggerSuggest"}:void 0}):n.push({insertText:i.label+r,insertTextMode:2,command:r===":"?{title:"triggerSuggest",command:"editor.action.triggerSuggest"}:void 0,...i})}),n}function X1t(t=new wr){let e=[];return Object.keys(t.colorThemesMap).forEach(r=>{let n=t.colorThemesMap[r];e.push({label:r,documentation:Object.values(n)[0],kind:mr.CompletionItemKind.Color,sortText:`${r}`})}),e}function Ua(t,e){let r=[];if(t.split("-").length-1<=0)return e;{let n=t.split("-")[0]+"-";return e.map(i=>{i.label.includes(n)&&r.push({label:i.label,kind:i.kind,insertText:i.insertText?.substring(n.length),insertTextMode:i.insertTextMode,command:i.command})}),r}}var Abe=ut(Rbe());function Pbe(t,e,r=new wr){let n=k5(t.split(" "),r.config);return!n||n==" "?null:{contents:{language:"css",value:(0,Abe.css_beautify)(n,{newline_between_rules:!0,end_with_newline:!0})},range:e}}var Ka=ut(zp());var PE=/[^\s:]+:\w*\(?((?<!\\)["'`])((?:\\\1|(?:(?!\1))[\S\s])*)((?<!\\)\1)\)?|[^\s"'`]+/g;function TE(t,e,r,n){let i={IsMatch:!1,PositionIndex:0,classStartIndex:0,classEndIndex:0,classString:"",instance:{range:{start:Ka.Position.create(0,0),end:Ka.Position.create(0,0)},instanceString:""},instanceList:[]},s=r.get(t),o=s?.getText()??"",a=s?.offsetAt(e)??0,u=s?.offsetAt({line:e.line-100,character:0})??0,l=s?.offsetAt({line:e.line+100,character:0})??void 0;o=o.substring(u,l);let c,f;return i.PositionIndex=a,n.forEach(d=>{let p=new RegExp(d,"g");for(;(f=p.exec(o))!==null;)if(f.index<=a&&f.index+f[0].length-1>=a){for(i.IsMatch=!0,i.PositionIndex=a,i.classStartIndex=f.index,i.classEndIndex=f.index+f[0].length-1,i.classString=f[0];(c=PE.exec(f[2]))!==null;)i.instanceList.push({range:{start:s?.positionAt(f.index+f[1].length+c.index)??Ka.Position.create(0,0),end:s?.positionAt(f.index+f[1].length+c.index+c[0].length)??Ka.Position.create(0,0)},instanceString:c[0]}),f.index+f[1].length+c.index<=a&&f.index+f[1].length+c.index+c[0].length>=a&&(i.instance={range:{start:s?.positionAt(f.index+f[1].length+c.index)??Ka.Position.create(0,0),end:s?.positionAt(f.index+f[1].length+c.index+c[0].length)??Ka.Position.create(0,0)},instanceString:c[0]});return i}else if(f.index>a)break}),i}var vr=ut(zp());function ME(t){let e=t.replace("#","").match(/.{1,2}/g);return{red:parseInt(e?.[0]??"0",16),green:parseInt(e?.[1]??"0",16),blue:parseInt(e?.[2]??"0",16),alpha:parseInt(e?.[3]??"FF",16)}}async function Mbe(t,e){let r=[],n=t.textDocument.uri,i=e.get(n),s=i?.getText()??"";if(typeof i==null)return[];let o,a=/(:\s*)'#([0-9a-fA-F]{6,8})'/g,u,l=new RegExp("(?<=colors:\\s*{\\s*.*)([^}]*)}","g");for(;(o=l.exec(s))!==null;)for(;u=a.exec(o[0]);){let c={range:{start:i?.positionAt(o.index+u.index+u[1].length)??vr.Position.create(0,0),end:i?.positionAt(o.index+u.index+u[0].length-1)??vr.Position.create(0,0)},color:LE(ME(u[2]))};r.push(c)}return r}async function Lbe(t,e,r,n=new wr){let i=[],s=t.textDocument.uri,o=e.get(s),a=o?.getText()??"";if(typeof o==null)return[];let u=Object.keys(n.colorThemesMap),l;for(;(l=PE.exec(a))!==null;){let f=l.index,d=n.themeNames.find(q=>l?.[0]?.endsWith(`@${q}`))??"",p=/(?<=[:;|])(?:#?\w+(?:-[\d]{1,2})?(?:\/.?[\d]*)?(?:\([^\s)]+\))?)/g,h=/rgba?\(([\d.]+),([\d.]+),([\d.]+)(?:,([\d.]+))?\)/g,y=/hsla?\(([\d.]+),([\d.]+)%,([\d.]+)%(?:,([\d.]+))?\)/g,v=/#([0-9a-fA-F]{6,8})/g,g,b,w,_,S;for(;(g=p.exec(l[0]))!==null;){if(b=h.exec(g[0])){let q={range:{start:o?.positionAt(f+g.index)??vr.Position.create(0,0),end:o?.positionAt(f+g.index+g[0].length)??vr.Position.create(0,0)},color:LE({red:Number(b[1]),green:Number(b[2]),blue:Number(b[3]),alpha:b[4]==null?1:Number(b[4])})};i.push(q)}else if(b=y.exec(g[0])){let q={range:{start:o?.positionAt(f+g.index)??vr.Position.create(0,0),end:o?.positionAt(f+g.index+g[0].length)??vr.Position.create(0,0)},color:LE(nkt(Number(b[1]),Number(b[2]),Number(b[3]),b[4]==null?1:Number(b[4])))};i.push(q)}else if(b=v.exec(g[0])){let q={range:{start:o?.positionAt(f+g.index)??vr.Position.create(0,0),end:o?.positionAt(f+g.index+g[0].length)??vr.Position.create(0,0)},color:LE(ME(b[1]))};i.push(q)}if(S=1,g[0].split("/").length==2&&(S=Number("0"+g[0].split("/")[1])),g[0].split("-").length==1){if(w=g[0].split("/")[0],w=w.endsWith("_")?w.replace("_",""):w,u.find(q=>q==w)){let q={range:{start:o?.positionAt(f+g.index)??vr.Position.create(0,0),end:o?.positionAt(f+g.index+g[0].length)??vr.Position.create(0,0)},color:Tbe(w,S,d,n)};i.push(q)}}else if(g[0].split("-").length==2){if(w=g[0],u.find(q=>q==w)){let q={range:{start:o?.positionAt(f+g.index)??vr.Position.create(0,0),end:o?.positionAt(f+g.index+g[0].length)??vr.Position.create(0,0)},color:Tbe(w,S,d,n)};i.push(q)}}else if(g[0].split("-").length!=2)continue}}let c=new Set;return i=i.filter(f=>c.has(o?.offsetAt(f.range.start))?!1:(c.add(o?.offsetAt(f.range.start)),!0)),i}function Tbe(t,e=1,r="",n=new wr){try{let i=n.colorThemesMap[t],s=ME(i[r]??i[""]??Object.values(i)[0]);return{red:s.red/255,green:s.green/255,blue:s.blue/255,alpha:e}}catch{return{red:0,green:0,blue:0,alpha:1}}}function an(t){let e=t.toString(16);return e.length!==2?"0"+e:e}function rkt(t){let e=t.red,r=t.green,n=t.blue,i=t.alpha,s=Math.max(e,r,n),o=Math.min(e,r,n),a=0,u=0,l=(o+s)/2,c=s-o;if(c>0){switch(u=Math.min(l<=.5?c/(2*l):c/(2-2*l),1),s){case e:a=(r-n)/c+(r<n?6:0);break;case r:a=(n-e)/c+2;break;case n:a=(e-r)/c+4;break}a*=60,a=Math.round(a)}return{h:a,s:u,l,a:i}}function nkt(t,e,r,n){r/=100;let i=a=>(a+t/30)%12,s=e/100*Math.min(r,1-r),o=a=>r-s*Math.max(-1,Math.min(i(a)-3,Math.min(9-i(a),1)));return{red:255*o(0),green:255*o(8),blue:255*o(4),alpha:n??1}}function LE(t){return{red:t.red/255,green:t.green/255,blue:t.blue/255,alpha:t.alpha}}function Fbe(t,e=!1){let r=[],n=t.color,i=t.range,s=Math.round(n.red*255),o=Math.round(n.green*255),a=Math.round(n.blue*255),u;if(e)return n.alpha===1?u=`'#${an(s)}${an(o)}${an(a)}`:u=`'#${an(s)}${an(o)}${an(a)}${an(Math.round(n.alpha*255))}`,r.push({label:u,textEdit:vr.TextEdit.replace(i,u)}),r;n.alpha===1?u=`rgb(${s},${o},${a})`:u=`rgba(${s},${o},${a},${n.alpha})`,r.push({label:u,textEdit:vr.TextEdit.replace(i,u)}),n.alpha===1?u=`#${an(s)}${an(o)}${an(a)}`:u=`#${an(s)}${an(o)}${an(a)}${an(Math.round(n.alpha*255))}`,r.push({label:u,textEdit:vr.TextEdit.replace(i,u)});let l=rkt(n);return l.a===1?u=`hsl(${l.h},${Math.round(l.s*100)}%,${Math.round(l.l*100)}%)`:u=`hsla(${l.h},${Math.round(l.s*100)}%,${Math.round(l.l*100)}%,${l.a})`,r.push({label:u,textEdit:vr.TextEdit.replace(i,u)}),r}var un=(0,Ji.createConnection)(Ji.ProposedFeatures.all),Qi=new Ji.TextDocuments($be.TextDocument),IE=!1,Ibe=!1,ikt=!1,Yi,sh,Bbe={languages:["html","php","javascript","typescript","javascriptreact","typescriptreact","vue","svelte","rust"],classNameMatches:["(class(?:Name)?\\s?=\\s?)((?:\"[^\"]+\")|(?:'[^']+')|(?:`[^`]+`))","(class(?:Name)?={)([^}]*)}","(?:(\\$|(?:element\\.[^\\s.`]+)`)([^`]+)`)","(classList.(?:add|remove|replace|replace|toggle)\\()([^)]*)\\)"],files:{exclude:["**/.git/**","**/node_modules/**","**/.hg/**"]},suggestions:!0,PreviewOnHovers:!0,PreviewColor:!0},Wbe=Bbe,FE=new Map;un.onDidChangeConfiguration(t=>{IE?FE.clear():Wbe=t.settings.languageServerExample||Bbe,Qi.all().forEach(zbe)});async function skt(t){if(!IE)return Promise.resolve(Wbe);let e=FE.get(t);e||(e=un.workspace.getConfiguration({scopeUri:t,section:"masterCSS"}),FE.set(t,e)),un.workspace.getWorkspaceFolders();let r=await un.workspace.getWorkspaceFolders(),n;if(r?.length===1?n=r[0]:n=r?.find(i=>t.includes(i.uri)),n?.uri)try{try{let s=(await new gge({cwd:(0,Nbe.default)(n.uri.replace("%3A",":"))})).readConfig();console.log(s),sh=new wr(s)}catch{sh=new wr}}catch{}return e}Qi.onDidClose(t=>{FE.delete(t.document.uri)});Qi.onDidOpen(t=>{zbe(t.document)});async function zbe(t){Yi=await skt(t.uri)}un.onInitialize(t=>{let e=t.capabilities;IE=!!(e.workspace&&e.workspace.configuration),Ibe=!!(e.workspace&&e.workspace.workspaceFolders),ikt=!!(e.textDocument&&e.textDocument.publishDiagnostics&&e.textDocument.publishDiagnostics.relatedInformation);let r={capabilities:{textDocumentSync:Ji.TextDocumentSyncKind.Incremental,completionProvider:{resolveProvider:!0,workDoneProgress:!1,triggerCharacters:[":","@","~"]},colorProvider:{},hoverProvider:!0}};return Ibe&&(r.capabilities.workspace={workspaceFolders:{supported:!0}}),r});un.onInitialized(()=>{IE&&un.client.register(Ji.DidChangeConfigurationNotification.type,void 0)});un.onCompletion(t=>{if(Yi.suggestions==!0&&NE(t.textDocument.uri)){let e=TE(t.textDocument.uri,t.position,Qi,Yi.classNameMatches).IsMatch,r=Oye(t,Qi);if(r.isInstance==!0&&e==!0)return qye(r.lastKey,r.triggerKey,r.isStart,r.language,sh)}return[]});un.onCompletionResolve(t=>t);un.onDocumentColor(async t=>{if(Yi==null)return[];if(Yi.PreviewColor==!0&&NE(t.textDocument.uri)){let e=await Lbe(t,Qi,Yi.classNameMatches,sh);return e=e.concat(await Mbe(t,Qi)),e}return[]});un.onColorPresentation(t=>{if(Yi.PreviewColor==!0&&NE(t.textDocument.uri)){let e=["(?<=colors:\\s*{\\s*.*)([^}]*)}"],r=TE(t.textDocument.uri,t.range.start,Qi,e);return Fbe(t,r.IsMatch)}return[]});un.onHover(t=>{if(Yi.PreviewOnHovers==!0&&NE(t.textDocument.uri)){let e=TE(t.textDocument.uri,t.position,Qi,Yi.classNameMatches);if(e.IsMatch)return Pbe(e.instance.instanceString,e.instance.range,sh)}return null});function NE(t){for(let e of Yi.files.exclude)if((0,jbe.default)(t,e))return!1;return!0}Qi.listen(un);un.listen();
|
|
484
|
+
`).forEach(i=>{n[i.split(" ").map(s=>s.replace(/^\((.+)\)$/,`${Ae.cyan("$1")}`).replace(/\./g,`${Ae.dim(".")}`).replace(/^at$/,o=>Ae.dim(o))).join(" ")]=null}),{message:e.trim().replace(/Error: /g,""),stackTree:n}}var pge=(t,...e)=>{if(t instanceof Error){let{message:r,stackTree:n}=J0t(t);return console.log(""),console.log(Ae.bgRed.bold.white(" \u{1D5EB} ERROR ")+" "+Ae.bold.red(r)),console.log(fge(n,{spacerNeighbour:Ae.redBright.dim("\u2502\u2000\u2000"),keyNoNeighbour:Ae.redBright.dim("\u2514\u2500\u2000"),keyNeighbour:Ae.redBright.dim("\u251C\u2500 "),separator:Ae.redBright.dim(":\u2000")})),console.log(""),r}else{let r=kn(t,e);return console.log(r),r}};Object.assign(pge,{a:ege,add:ege,d:zF,del:zF,delete:zF,o:rge,valid:rge,x:nge,invalid:nge,i:ige,info:ige,e:tge,error:tge,success:H0t,fail:Y0t,warn:V0t,pass:G0t,conflict:z0t,ok:U0t,tree:K0t,paint:zi});var Sp=pge,gge=class extends qB{css;extractions=new Set;get resolvedModuleId(){return"\0"+this.options.module}get moduleHMREvent(){return`HMR:${this.options.module}`}constructor(t){super(f0t,t);let e=this.readConfig(null);this.options=ts(this.options,e?.compilerOptions,t),console.log(""),this.css=e?.css??new or(e?.config)}async refresh(){return this.extractions.clear(),console.log(""),this.css=new or(this.readConfig()),await this.compile(),this}async compile(){if(this.options.classes?.fixed?.length)for(let t of this.options.classes.fixed)this.css.insert(t);return await Promise.all(this.sources.map(async t=>{let e=uge.default.readFileSync(Ak.default.resolve(this.options.cwd,t),{encoding:"utf-8"}).toString();await this.insert(t,e)})),this}extract(t,e){if(!t||!e||!this.checkSourcePath(t))return[];let r=[];for(let n of d0t({content:e,name:t},this.css))this.extractions.has(n)||(this.extractions.add(n),r.push(n));return r}async insert(t,e){let r=this.extract(t,e);if(!r.length)return!1;let n=UF.performance.now(),i=[];await Promise.all(r.map(async o=>{let a=await this.createRules(o);a.length&&(this.css.insertRules(a),i.push(o))}));let s=Math.round((UF.performance.now()-n)*100)/100;if(r.length&&(console.log(""),Sp`**${Ak.default.relative(this.options.cwd,t)}** ..${Ak.default.resolve(this.options.cwd,t)}..`,Sp`[extract] ${r.length} potential`),this.css.rules.length){let o=i.filter(a=>!r.includes(a));o.length&&Sp`[exclude] ${o.length} unknow ${o}`,Sp`[compile] +${i.length}+ valid inserted ${Ae.gray("in")} ${s}ms ${i}`,Sp`[virtual] ${this.css.rules.length} total ${Ae.gray("in")} ${this.options.module}`}return this.options.classes?.ignored?.length&&(r=r.filter(o=>{for(let a of this.options.classes.ignored)if(typeof a=="string"){if(a===o)return!1}else if(a.test(o))return!1;return!0})),!0}async createRules(t){return(await Promise.all(this.css.create(t).map(async e=>(await hge.default.lint({code:e.text,cache:!1,config:{rules:{"color-no-invalid-hex":!0,"named-grid-areas-no-invalid":!0,"at-rule-no-unknown":!0,"function-no-unknown":!0,"media-feature-name-no-unknown":!0,"property-no-unknown":!0,"selector-pseudo-class-no-unknown":!0,"selector-pseudo-element-no-unknown":!0,"selector-type-no-unknown":!0,"unit-no-unknown":!0}}})).errored?null:e))).filter(e=>e)}get sources(){let{include:t,exclude:e,sources:r}=this.options,n=GF.default.sync(t,{cwd:this.options.cwd,ignore:e});return r?.length&&n.push(...GF.default.sync(r,{cwd:this.options.cwd})),n}checkSourcePath(t){let{include:e,exclude:r,sources:n}=this.options;for(let i of n)if((0,Pk.default)(t,i))return!0;for(let i of e)if(!(0,Pk.default)(t,i))return!1;for(let i of r)if((0,Pk.default)(t,i))return!1;return!0}get config(){return this.css.config}};var Ji=ut(zp());var Nbe=ut(Jme()),jbe=ut(pye()),$be=ut(hye());var Q=ut(R3()),wE=[{label:"lang()",kind:Q.CompletionItemKind.Function},{label:"has()",kind:Q.CompletionItemKind.Function},"any-link","link","visited","target","scope","hover","active","focus","focus-visible","focus-within","autofill","enabled","disabled","read-only","read-write","placeholder-shown","default","checked","indeterminate","valid","invalid","in-range","out-of-range","required","optional","root","empty",{label:"nth-child()",kind:Q.CompletionItemKind.Function},{label:"nth-last-child()",kind:Q.CompletionItemKind.Function},"first-child","last-child","only-child",{label:"nth-of-type()",kind:Q.CompletionItemKind.Function},{label:"nth-last-of-type()",kind:Q.CompletionItemKind.Function},"first-of-type","last-of-type","only-of-type","defined","first","fullscreen",{label:"host()",kind:Q.CompletionItemKind.Function},{label:"host-context()",kind:Q.CompletionItemKind.Function},{label:"is()",kind:Q.CompletionItemKind.Function},"left",{label:"not()",kind:Q.CompletionItemKind.Function},"right",{label:"where()",kind:Q.CompletionItemKind.Function}],N3=["after","before","backdrop","cue","first-letter","first-line","file-selector-button","marker",{label:"part()",kind:Q.CompletionItemKind.Function},"placeholder","selection",{label:"slotted()",kind:Q.CompletionItemKind.Function},"resizer","search-cancel-button","search-results-button"],gye=["all","print","screen","portrait","landscape","motion","reduced-motion",{label:"media()",kind:Q.CompletionItemKind.Function}],mye=["ext","gap","ont","ovf","quotes","bottom","center","left","middle","top","right","px","py","pt","pb","pl","pr","mx","my","mt","mb","ml","mr"],yye=[{label:"var()",kind:Q.CompletionItemKind.Function},{label:"calc()",kind:Q.CompletionItemKind.Function},"inherit","initial","unset"],Hp=[{key:["color","fg","foreground"],colorful:!0,values:[]},{key:["font-color","font","f"],colorful:!0,values:[]},{key:["accent-color","accent"],colorful:!0,values:[]},{key:["appearance"],colorful:!1,values:["none","auto","menulist-button","textfield","button","searchfield","textarea","push-button","slider-horizontal","checkbox","radio","square-button","menulist","listbox","meter","progress-bar"]},{key:["caret-color","caret"],colorful:!0,values:["transparent"]},{key:["cursor"],colorful:!1,values:["auto","alias","all-scroll","cell","col-resize","context-menu","copy","crosshair","default","e-resize","ew-resize","grab","grabbing","help","move","n-resize","ne-resize","nesw-resize","no-drop","none","not-allowed","ns-resize","nw-resize","nwse-resize","pointer","progress","row-resize","s-resize","se-resize","sw-resize","text","vertical-text","w-resize","wait","zoom-in","zoom-out"]},{key:["box-decoration-break","box"],colorful:!1,values:["slice","clone"]},{key:["break-after","break-before"],colorful:!1,values:["avoid-column","column","left","page","recto","right","recto","verso","auto","avoid","avoid-column","avoid-page","revert"]},{key:["break-inside"],colorful:!1,values:["auto","avoid","avoid-column","avoid-page","revert"]},{key:["clear"],colorful:!1,values:["both","left","none","right"]},{key:["columns","cols"],colorful:!1,values:[]},{key:["column-span","col-span"],colorful:!1,values:["all","none"]},{key:["direction"],colorful:!1,values:["ltr","rtl"]},{key:["display","d"],colorful:!1,values:["hidden","hide","flex","grid","inline","none","block","table","contents","inline-block","inline-flex","inline-grid","inline-table","table-cell","table-caption","flow-root","list-item","table-row","table-column","table-row-group","table-column-group","table-header-group","table-footer-group"]},{key:["float"],colorful:!1,values:["left","none","right"]},{key:["inset"],colorful:!1,values:[]},{key:["isolation"],colorful:!1,values:["auto","isolate"]},{key:["overflow","overflow-x","overflow-y"],colorful:!1,values:["auto","hidden","overlay","scroll","visible","clip"]},{key:["position"],colorful:!1,values:["absolute","relative","static","fixed","sticky"]},{key:["z-index","z"],colorful:!1,values:[]},{key:["flex"],colorful:!1,values:[]},{key:["flex-basis"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["flex-direction","flex"],colorful:!1,values:["column","row","column-reverse","row-reverse"]},{key:["flex-grow","flex-shrink"],colorful:!1,values:[]},{key:["flex-wrap","flex"],colorful:!1,values:["wrap","wrap-reverse","nowrap"]},{key:["grid"],colorful:!1,values:[]},{key:["grid-auto-columns","grid-auto-cols"],colorful:!1,values:["auto","min-content","max-content",{label:"minmax(,)",kind:Q.CompletionItemKind.Function}]},{key:["grid-auto-flow"],colorful:!1,values:["row","column","dense","row|dense","column|dense"]},{key:["grid-auto-rows"],colorful:!1,values:["auto","min-content","max-content",{label:"minmax(,)",kind:Q.CompletionItemKind.Function}]},{key:["grid-column","grid-col","grid-column-span","grid-col-span","grid-column-start","grid-col-start","grid-column-end","grid-col-end"],colorful:!1,values:[]},{key:["grid-columns","grid-cols"],colorful:!1,values:[]},{key:["grid-row","grid-row-span","grid-row-start","grid-row-end"],colorful:!1,values:[]},{key:["grid-rows"],colorful:!1,values:[]},{key:["grid-template"],colorful:!1,values:["none"]},{key:["grid-template-areas","grid-area"],colorful:!1,values:["none"]},{key:["grid-template-columns","grid-template-cols"],colorful:!1,values:["none","min-content","max-content",{label:"repeat(,)",kind:Q.CompletionItemKind.Function},{label:"fit-content()",kind:Q.CompletionItemKind.Function},{label:"minmax()",kind:Q.CompletionItemKind.Function}]},{key:["grid-template-rows"],colorful:!1,values:["none","min-content","max-content",{label:"repeat(,)",kind:Q.CompletionItemKind.Function},{label:"fit-content()",kind:Q.CompletionItemKind.Function},{label:"minmax()",kind:Q.CompletionItemKind.Function}]},{key:["align-content","ac"],colorful:!1,values:["space-around","space-between","space-evenly","normal","baseline","center","stretch","start","end","flex-start","flex-end"]},{key:["align-items","ai"],colorful:!1,values:["self-start","self-end","normal","baseline","center","stretch","start","end","flex-start","flex-end"]},{key:["align-self","as"],colorful:!1,values:["auto","self-start","self-end","normal","baseline","center","stretch","start","end","flex-start","flex-end"]},{key:["justify-content","jc"],colorful:!1,values:["space-around","space-between","space-evenly","normal","left","center","right","stretch","start","end","flex-start","flex-end"]},{key:["justify-items","ji"],colorful:!1,values:["self-start","self-end","normal","left","center","right","stretch","start","end","flex-start","flex-end"]},{key:["justify-self","js"],colorful:!1,values:["auto","self-start","self-end","normal","left","center","right","stretch","start","end","flex-start","flex-end"]},{key:["order","o"],colorful:!1,values:[]},{key:["place-content"],colorful:!1,values:["space-around","space-between","space-evenly","normal","baseline","center","stretch","start","end","flex-start","flex-end"]},{key:["place-items"],colorful:!1,values:["self-start","self-end","normal","baseline","center","stretch","start","end","flex-start","flex-end"]},{key:["place-self"],colorful:!1,values:["auto","self-start","self-end","normal","baseline","center","stretch","start","end","flex-start","flex-end"]},{key:["border-collapse","border"],colorful:!1,values:["collapse","separate"]},{key:["table-layout"],colorful:!1,values:["auto","fixed"]},{key:["object-fit"],colorful:!1,values:["none"]},{key:["object-fit","object","obj"],colorful:!1,values:["contain","cover","fill","scale-down"]},{key:["object-position","object","obj"],colorful:!1,values:["top","bottom","left","right","center"]},{key:["font","f"],colorful:!1,values:["caption","icon","menu","message-box","small-caption","status-bar"]},{key:["font-color","font","f"],colorful:!0,values:[]},{key:["font-family","font","f"],colorful:!1,values:["'CourierNew',Courier,monospace","'FranklinGothicMedium','ArialNarrow',Arial,sans-serif","'GillSans','GillSansMT',Calibri,'TrebuchetMS',sans-serif","'LucidaSans','LucidaSansRegular','LucidaGrande','LucidaSansUnicode',Geneva,Verdana,sans-serif","'SegoeUI',Tahoma,Geneva,Verdana,sans-serif","'TimesNewRoman',Times,serif","'TrebuchetMS','LucidaSansUnicode','LucidaGrande','LucidaSans',Arial,sans-serif","Arial,Helvetica,sans-serif","Cambria,Cochin,Georgia,Times,'TimesNewRoman',serif","Georgia,'TimesNewRoman',Times,serif","Impact,Haettenschweiler,'ArialNarrowBold',sans-serif","Verdana,Geneva,Tahoma,sans-serif","cursive","fantasy","monospace","sans-serif","serif","-apple-system,BlinkMacSystemFont,'SegoeUI',Roboto,Oxygen,Ubuntu,Cantarell,'OpenSans','HelveticaNeue',sans-serif"]},{key:["font-size","font","f"],colorful:!1,values:[{label:"8",kind:Q.CompletionItemKind.Unit,sortText:"!0"},{label:"9",kind:Q.CompletionItemKind.Unit,sortText:"!1"},{label:"10",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"11",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"12",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"14",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"16",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"18",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"20",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"22",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"24",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"26",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"28",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"36",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"48",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"72",kind:Q.CompletionItemKind.Unit,sortText:"!2"}]},{key:["font-style"],colorful:!1,values:["oblique|deg"]},{key:["font-style","font","f"],colorful:!1,values:["normal","italic","oblique"]},{key:["font-variant-numeric","font","f"],colorful:!1,values:["normal","ordinal","slashed-zero","lining-nums","oldstyle-nums","proportional-nums","tabular-nums","diagonal-fractions","stacked-fractions"]},{key:["font-weight","font","f"],colorful:!1,values:["100","200","300","400","500","600","700","800","900"]},{key:["font","f"],colorful:!1,values:["antialiased","subpixel-antialiased"]},{key:["text-align","text","t"],colorful:!1,values:["start","end","left","right","center","justify"]},{key:["text-decoration","text","t"],colorful:!1,values:["underline","line-through","overline"]},{key:["text-decoration-color","text-decoration"],colorful:!0,values:[]},{key:["text-decoration-line","text","t"],colorful:!1,values:["none","underline","overline","line-through"]},{key:["text-decoration-style","text","t"],colorful:!1,values:["dashed","dotted","double","solid","wavy"]},{key:["text-decoration-thickness"],colorful:!1,values:[]},{key:["text-fill-color","text-fill"],colorful:!0,values:[]},{key:["text-indent"],colorful:!1,values:[]},{key:["text-orientation","text","t"],colorful:!1,values:["mixed","sideways","sideways-right","upright","use-glyph-orientation"]},{key:["text-overflow","text","t"],colorful:!1,values:["clip","ellipsis"]},{key:["text-shadow"],colorful:!1,values:[]},{key:["text","t"],colorful:!1,values:[]},{key:["text-stroke"],colorful:!1,values:[]},{key:["text-stroke-color","text-stroke"],colorful:!0,values:[]},{key:["text-stroke-width","text-stroke"],colorful:!1,values:[]},{key:["text-transform"],colorful:!1,values:["none"]},{key:["text-transform","text","t"],colorful:!1,values:["capitalize","lowercase","uppercase"]},{key:["text-underline-offset"],colorful:!1,values:[]},{key:["text-rendering"],colorful:!1,values:["auto"]},{key:["text-rendering","t"],colorful:!1,values:["optimizeSpeed","optimizeLegibility","geometricPrecision"]},{key:["list-style"],colorful:!1,values:[]},{key:["list-style-image","list-style"],colorful:!1,values:[{label:"url()",kind:Q.CompletionItemKind.Function},{label:"linear-gradient()",kind:Q.CompletionItemKind.Function},{label:"radial-gradient()",kind:Q.CompletionItemKind.Function},{label:"repeating-linear-gradient()",kind:Q.CompletionItemKind.Function},{label:"repeating-radial-gradient()",kind:Q.CompletionItemKind.Function},{label:"conic-gradient()",kind:Q.CompletionItemKind.Function}]},{key:["list-style-position","list-style"],colorful:!1,values:["inside","outside"]},{key:["list-style-type"],colorful:!1,values:["circle","square","decimal-leading-zero","lower-roman","lower-greek","lower-alpha","lower-latin","upper-roman","upper-alpha","upper-latin","arabic-indic","armenian","bengali","cambodian/khmer","cjk-earthly-branch","cjk-heavenly-stem","devanagari","georgian","gurmukhi","kannada","lao","malayalam","myanmar","oriya","telugu","thai"]},{key:["list-style-type","list-style"],colorful:!1,values:["none","disc","decimal"]},{key:["letter-spacing","ls"],colorful:!1,values:[]},{key:["lines"],colorful:!1,values:[]},{key:["line-height","lh"],colorful:!1,values:[]},{key:["content"],colorful:!1,values:["normal","none","no-open-quote","no-close-quote",{label:"url()",kind:Q.CompletionItemKind.Function},{label:"linear-gradient()",kind:Q.CompletionItemKind.Function},{label:"image-set()",kind:Q.CompletionItemKind.Function},{label:"counter()",kind:Q.CompletionItemKind.Function},{label:"attr()",kind:Q.CompletionItemKind.Function}]},{key:["vertical-align","v"],colorful:!1,values:["baseline","bottom","middle","sub","super","text-bottom","text-top","top"]},{key:["white-space"],colorful:!1,values:["break-spaces","normal","nowrap","pre","pre-line","pre-wrap"]},{key:["word-break"],colorful:!1,values:["normal","break-all","keep-all"]},{key:["word-spacing"],colorful:!1,values:[]},{key:["writing-mode"],colorful:!1,values:["horizontal-tb","vertical-rl","vertical-lr","lr","lr-tb","rl","rl-tb","tb","tb-rl"]},{key:["background","bg"],colorful:!1,values:[]},{key:["backdrop-filter","bd"],colorful:!1,values:["none",{label:"url()",kind:Q.CompletionItemKind.Function},{label:"blur()",kind:Q.CompletionItemKind.Function},{label:"brightness()",kind:Q.CompletionItemKind.Function},{label:"contrast()",kind:Q.CompletionItemKind.Function},{label:"grayscale()",kind:Q.CompletionItemKind.Function},{label:"hue-rotate(degree)",kind:Q.CompletionItemKind.Function},{label:"invert()",kind:Q.CompletionItemKind.Function},{label:"sepia()",kind:Q.CompletionItemKind.Function},{label:"saturate()",kind:Q.CompletionItemKind.Function},{label:"opacity()",kind:Q.CompletionItemKind.Function},{label:"drop-shadow()",kind:Q.CompletionItemKind.Function}]},{key:["background-attachment","background","bg"],colorful:!1,values:["fixed","local","scroll"]},{key:["background-blend-mode"],colorful:!1,values:["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]},{key:["background-clip","bg"],colorful:!1,values:["content-box","border-box","padding-box"]},{key:["background-color","background","bg"],colorful:!0,values:["transparent"]},{key:["background-image","background","bg"],colorful:!1,values:[{label:"url()",kind:Q.CompletionItemKind.Function},{label:"linear-gradient()",kind:Q.CompletionItemKind.Function},{label:"radial-gradient()",kind:Q.CompletionItemKind.Function},{label:"repeating-linear-gradient()",kind:Q.CompletionItemKind.Function},{label:"repeating-radial-gradient()",kind:Q.CompletionItemKind.Function},{label:"conic-gradient()",kind:Q.CompletionItemKind.Function}]},{key:["background-origin","bg"],colorful:!1,values:["content-box","border-box","padding-box"]},{key:["background-position","bg"],colorful:!1,values:["top","bottom","left","right","center"]},{key:["background-repeat","bg"],colorful:!1,values:["repeat","no-repeat","repeat-x","repeat-y"]},{key:["background-size","background","bg"],colorful:!1,values:["auto","cover","contain"]},{key:["mix-blend-mode","blend"],colorful:!1,values:["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]},{key:["border","border-top","border-bottom","border-left","border-right","b","bt","bb","bl","br","bx","by"],colorful:!1,values:[]},{key:["border-spacing"],colorful:!1,values:[]},{key:["border-color","border","border-top-color","border-bottom-color","border-left-color","border-right-color","b","bt","bb","bl","br","bx","by"],colorful:!0,values:[]},{key:["border-radius","r","rt","rb","rl","rr","border-top-left-radius","rlt","rtl","border-top-right-radius","rrt","rtr","border-bottom-left-radius","rlb","rbl","border-bottom-right-radius","rbr","rrb"],colorful:!1,values:[]},{key:["border-style","border","b","border-top-style","border-top","bt","border-bottom-style","border-bottom","bb","border-left-style","border-left","bl","border-right-style","border-right","br","bx","by"],colorful:!1,values:["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"]},{key:["border-width","border","b","border-top-width","border-top","bt","border-bottom-width","border-bottom","bb","border-left-width","border-left","bl","border-right-width","border-right","br","bx","by"],colorful:!1,values:[]},{key:["outline"],colorful:!1,values:[]},{key:["outline-color","outline"],colorful:!0,values:[]},{key:["outline-offset"],colorful:!1,values:[]},{key:["outline-style","outline"],colorful:!1,values:["none","dotted","dashed","solid","double","groove","ridge","inset","outset"]},{key:["outline-width","outline"],colorful:!1,values:["medium","thick","thin"]},{key:["shape-image-threshold"],colorful:!1,values:[]},{key:["shape-margin","shape"],colorful:!1,values:[{label:"max()",kind:Q.CompletionItemKind.Function},{label:"min()",kind:Q.CompletionItemKind.Function},{label:"calc()",kind:Q.CompletionItemKind.Function},{label:"clamp()",kind:Q.CompletionItemKind.Function}]},{key:["shape-outside","shape"],colorful:!1,values:["none","content-box","border-box","padding-box","margin-box",{label:"inset()",kind:Q.CompletionItemKind.Function},{label:"circle()",kind:Q.CompletionItemKind.Function},{label:"ellipse()",kind:Q.CompletionItemKind.Function},{label:"polygon()",kind:Q.CompletionItemKind.Function},{label:"url()",kind:Q.CompletionItemKind.Function},{label:"linear-gradient()",kind:Q.CompletionItemKind.Function}]},{key:["clip-path","clip"],colorful:!1,values:["none","content-box","border-box","padding-box","margin-box","fill-box","stroke-box","view-box",{label:"inset()",kind:Q.CompletionItemKind.Function},{label:"circle()",kind:Q.CompletionItemKind.Function},{label:"ellipse()",kind:Q.CompletionItemKind.Function},{label:"polygon()",kind:Q.CompletionItemKind.Function},{label:"path()",kind:Q.CompletionItemKind.Function},{label:"url()",kind:Q.CompletionItemKind.Function}]},{key:["aspect-ratio","aspect"],colorful:!1,values:[]},{key:["box-sizing","box"],colorful:!1,values:["content-box","border-box"]},{key:["width","w"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["min-width","min-w"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["max-width","max-w"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["height","h"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["min-height","min-h"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["max-height","max-h"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["letter-spacing","ls"],colorful:!1,values:[]},{key:["margin-top","mt","margin-bottom","mb","margin-left","ml","margin-right","mr","margin","m","mx","my"],colorful:!1,values:[]},{key:["padding-top","pt","padding-bottom","pb","padding-left","pl","padding-right","pr","padding","p","px","py"],colorful:!1,values:[]},{key:["word-spacing"],colorful:!1,values:[]},{key:["transition"],colorful:!1,values:[]},{key:["transition-delay","~delay"],colorful:!1,values:[]},{key:["transition-duration","~duration"],colorful:!1,values:[]},{key:["transition-property","~property"],colorful:!1,values:[]},{key:["transition-timing-function","~easing"],colorful:!1,values:["ease","ease-in","ease-out","linear","step-start","step-end",{label:"steps(,)",kind:Q.CompletionItemKind.Function},{label:"cubic-bezier(,,,)",kind:Q.CompletionItemKind.Function},{label:"frames()",kind:Q.CompletionItemKind.Function}]},{key:["transform"],colorful:!1,values:[{label:"translate()",kind:Q.CompletionItemKind.Function},{label:"translate3d()",kind:Q.CompletionItemKind.Function},{label:"translateX()",kind:Q.CompletionItemKind.Function},{label:"translateY()",kind:Q.CompletionItemKind.Function},{label:"translateZ()",kind:Q.CompletionItemKind.Function},{label:"scale()",kind:Q.CompletionItemKind.Function},{label:"scale3d()",kind:Q.CompletionItemKind.Function},{label:"scaleX()",kind:Q.CompletionItemKind.Function},{label:"scaleY()",kind:Q.CompletionItemKind.Function},{label:"scaleZ()",kind:Q.CompletionItemKind.Function},{label:"skew()",kind:Q.CompletionItemKind.Function},{label:"skewX()",kind:Q.CompletionItemKind.Function},{label:"skewY()",kind:Q.CompletionItemKind.Function},{label:"rotate()",kind:Q.CompletionItemKind.Function},{label:"rotate3d()",kind:Q.CompletionItemKind.Function},{label:"rotateX()",kind:Q.CompletionItemKind.Function},{label:"rotateY()",kind:Q.CompletionItemKind.Function},{label:"rotateZ()",kind:Q.CompletionItemKind.Function},{label:"perspective()",kind:Q.CompletionItemKind.Function},{label:"matrix()",kind:Q.CompletionItemKind.Function},{label:"matrix3d()",kind:Q.CompletionItemKind.Function}]},{key:["transform-box","transform"],colorful:!1,values:["content-box","fill-box","stroke-box","view-box","border-box"]},{key:["transform-origin","transform"],colorful:!1,values:["top","bottom","right","left","center"]},{key:["transform-style","transform"],colorful:!1,values:["flat","preserve-3d"]},{key:["animation"],colorful:!1,values:[]},{key:["animation-delay","@delay"],colorful:!1,values:[]},{key:["animation-direction","@direction"],colorful:!1,values:["normal","reverse","alternate","alternate-reverse"]},{key:["animation-duration","@duration"],colorful:!1,values:[]},{key:["animation-fill-mode","@fill-mode"],colorful:!1,values:["none","forwards","backwards","both"]},{key:["animation-iteration-count","@iteration-count"],colorful:!1,values:["infinite"]},{key:["animation-name","@name"],colorful:!1,values:[]},{key:["animation-play-state","@play-state"],colorful:!1,values:["running","paused"]},{key:["animation-timing-function","@easing"],colorful:!1,values:["ease","ease-in","ease-out","ease-in-out","linear","step-start","step-end",{label:"steps(,)",kind:Q.CompletionItemKind.Function},{label:"cubic-bezier(,,,)",kind:Q.CompletionItemKind.Function},{label:"frames()",kind:Q.CompletionItemKind.Function}]},{key:["fill"],colorful:!0,values:[]},{key:["stroke"],colorful:!0,values:[]},{key:["stroke-width"],colorful:!1,values:[]},{key:["opacity"],colorful:!1,values:[]},{key:["visibility"],colorful:!1,values:["visible","invisible","collapse"]},{key:["backdrop-filter","bd"],colorful:!1,values:["none",{label:"url(svg)",kind:Q.CompletionItemKind.Function},{label:"blur()",kind:Q.CompletionItemKind.Function},{label:"brightness()",kind:Q.CompletionItemKind.Function},{label:"contrast()",kind:Q.CompletionItemKind.Function},{label:"grayscale()",kind:Q.CompletionItemKind.Function},{label:"hue-rotate(degree)",kind:Q.CompletionItemKind.Function},{label:"invert()",kind:Q.CompletionItemKind.Function},{label:"sepia()",kind:Q.CompletionItemKind.Function},{label:"saturate()",kind:Q.CompletionItemKind.Function},{label:"opacity()",kind:Q.CompletionItemKind.Function},{label:"drop-shadow()",kind:Q.CompletionItemKind.Function}]},{key:["background-blend-mode"],colorful:!1,values:["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]},{key:["box-shadow","shadow","s"],colorful:!0,values:["inset"]},{key:["filter"],colorful:!1,values:["none",{label:"url()",kind:Q.CompletionItemKind.Function},{label:"blur()",kind:Q.CompletionItemKind.Function},{label:"brightness()",kind:Q.CompletionItemKind.Function},{label:"contrast()",kind:Q.CompletionItemKind.Function},{label:"drop-shadow()",kind:Q.CompletionItemKind.Function},{label:"grayscale()",kind:Q.CompletionItemKind.Function},{label:"hue-rotate(degree)",kind:Q.CompletionItemKind.Function},{label:"invert()",kind:Q.CompletionItemKind.Function},{label:"opacity()",kind:Q.CompletionItemKind.Function},{label:"saturate()",kind:Q.CompletionItemKind.Function},{label:"sepia()",kind:Q.CompletionItemKind.Function}]},{key:["mask-image"],colorful:!1,values:[]},{key:["mix-blend-mode","blend"],colorful:!1,values:["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]},{key:["text-shadow"],colorful:!1,values:[]},{key:["overscroll-behavior","overscroll-behavior-x","overscroll-behavior-y"],colorful:!1,values:["auto","none","contain"]},{key:["scroll-behavior"],colorful:!1,values:["auto","smooth"]},{key:["scroll-margin","scroll-m","scroll-margin-top","scroll-mt","scroll-margin-bottom","scroll-mb","scroll-margin-left","scroll-ml","scroll-margin-right","scroll-mr","scroll-mx","scroll-my"],colorful:!1,values:[]},{key:["scroll-padding","scroll-p","scroll-padding","scroll-padding-top","scroll-pt","scroll-padding-bottom","scroll-pb","scroll-padding-left","scroll-pl","scroll-padding-right","scroll-pr","scroll-px","scroll-py"],colorful:!1,values:[]},{key:["scroll-snap-align","scroll-snap"],colorful:!1,values:["center","end","start","none"]},{key:["scroll-snap-stop","scroll-snap"],colorful:!1,values:["always","normal"]},{key:["scroll-snap-type"],colorful:!1,values:["none"]},{key:["scroll-snap-type","scroll-snap"],colorful:!1,values:["x","y","both","block","inline","x|mandatory","y|proximity","both|mandatory"]},{key:["pointer-events"],colorful:!1,values:["auto","none","visiblePainted","visibleFill","visibleStroke","visible","painted","fill","stroke","all","bounding-box"]},{key:["resize"],colorful:!1,values:["auto","none","both","horizontal","vertical","block","inline"]},{key:["touch-action"],colorful:!1,values:["auto","none","pan-x","pan-left","pan-right","pan-y","pan-up","pan-down","pinch-zoom","manipulation"]},{key:["user-drag"],colorful:!1,values:["auto","none","element"]},{key:["user-select"],colorful:!1,values:["all","auto","none","text"]},{key:["contain"],colorful:!1,values:["none","strict","content","size","layout","style","paint"]},{key:["font","f"],colorful:!1,values:["antialiased","subpixel-antialiased"]},{key:["text-rendering"],colorful:!1,values:["auto"]},{key:["text-rendering","t"],colorful:!1,values:["optimizeSpeed","optimizeLegibility","geometricPrecision"]},{key:["will-change"],colorful:!1,values:[]},{key:["$"],colorful:!1,values:[]}],bye=[{type:"color",values:["#",{label:"rgb()",kind:Q.CompletionItemKind.Function},{label:"hsl()",kind:Q.CompletionItemKind.Function}]}];var yr=ut(zp());var Dye=ut(Cye()),Gp=[];Gp=Gp.concat(mye);Hp.forEach(t=>{Gp=Gp.concat(t.key)});var za=[...new Set(Gp)];function Oye(t,e){let r=t.textDocument.uri,n=r.substring(r.lastIndexOf(".")+1),i=t.position,s=/(?:[^"{'\s])+(?=>\s|\b)/g,o,a="",u=e.get(r),l=u?.getText({start:{line:i.line,character:0},end:{line:i.line,character:i.character}}),c=l??"";c=c.trim();let f=u?.getText({start:{line:0,character:0},end:{line:i.line,character:i.character}});if(c.match(s)===null)return{isInstance:!1,lastKey:"",triggerKey:"",isStart:!1,language:n};for(;(o=s.exec(c))!==null;)a=o[0];let d=c.charAt(c.length-1),p=i.character==1||c.charAt(c.length-2)===" "||c.charAt(c.length-2)===""||c.charAt(c.length-2)==='"'||c.charAt(c.length-2)==="'"||c.charAt(c.length-2)==="{";return c.charAt(c.length-2)===":"&&c.charAt(c.length-1)===":"&&(d="::",p=!1),{isInstance:!0,lastKey:a,triggerKey:d,isStart:p,language:n}}function qye(t,e,r,n,i=new or){let s=[],o=t.split(":").length,a=t.split(":")[0];a=a.trim();let u=t.split(":|@").length,l=t.split(":|@")[u-1],c=/[^\\s"]+@+([^\\s:"@]+)/g,f=/[^\\s"]+::+([^\\s:"@]+)/g,d=!1,p=!(c.exec(t)===null&&e!=="@"),h=!(f.exec(t)===null&&e!=="::"),y=[],v=Object.keys(i.config.selectors??{}).map(b=>b.endsWith("(")?`${b})`:b).filter(b=>b.match(/:[^:]+/)&&!wE.find(w=>(typeof w=="string"?w:w.label)===`:${b}`)).map(b=>(b=b.substring(1),b.endsWith(")")?{label:b,kind:yr.CompletionItemKind.Function}:b)),g=Object.keys(i.config.selectors??{}).map(b=>b.endsWith("(")?`${b})`:b).filter(b=>b.match(/::[^:]+/)&&!N3.find(w=>(typeof w=="string"?w:w.label)===`::${b}`)).map(b=>(b=b.substring(2),b.endsWith(")")?{label:b,kind:yr.CompletionItemKind.Function}:b));return Hp.forEach(b=>{if(b.key.includes(a)){y=y.concat(b.values.filter(_=>!y.find(S=>(typeof S=="string"?S:S.label)===(typeof _=="string"?_:_.label))));let w=(0,Dye.pascalCase)(b.key[0]);if(i.config.values?.[w]){let _=Object.keys(i.config.values[w]);y=y.concat(_.filter(S=>!y.find(q=>(typeof q=="string"?q:q.label)===S)))}if(b.colorful){d=!0;let _=bye.find(S=>S.type==="color")?.values.filter(S=>!y.find(q=>(typeof q=="string"?q:q.label)===(typeof S=="string"?S:S.label)));_&&(y=y.concat(_))}}}),r==!0&&e!=="@"&&e!==":"?(s=s.concat(on(za,yr.CompletionItemKind.Property,":")),s=s.concat(on(Object.keys(i.config.semantics??{}),yr.CompletionItemKind.Property)),n=="tsx"||n=="vue"||n=="jsx"?Ua(a,s):s):r==!0?[]:!za.includes(a)&&e!==":"?(s=s.concat(on(za,yr.CompletionItemKind.Property,":")),s=s.concat(on(Object.keys(i.config.semantics??{}),yr.CompletionItemKind.Property)),n=="tsx"||n=="vue"||n=="jsx"?Ua(a,s):s):za.includes(a)&&a!==null&&h===!0?(s=s.concat(on(N3,yr.CompletionItemKind.Property)),s=s.concat(on(g,yr.CompletionItemKind.Property)),(n=="tsx"||n=="vue"||n=="jsx")&&e!=="@"&&e!==":"?Ua(l,s):s):za.includes(a)&&a!==null&&p===!0?(s=s.concat(on(gye,yr.CompletionItemKind.Property)),s=s.concat(on(Object.keys(i.config.breakpoints??{}),yr.CompletionItemKind.Property)),(n=="tsx"||n=="vue"||n=="jsx")&&e!=="@"&&e!==":"?Ua("@"+l,s):s):Object.keys(i.config.semantics??{}).includes(a)&&!Hp.find(b=>b.key.includes(a))?(s=s.concat(on(wE,yr.CompletionItemKind.Property)),s=s.concat(on(v,yr.CompletionItemKind.Property)),(n=="tsx"||n=="vue"||n=="jsx")&&e!=="@"&&e!==":"?Ua(l,s):s):za.includes(a)&&o<=2&&!(o==2&&e===":")?(s=s.concat(on(y,yr.CompletionItemKind.Enum)),s=s.concat(on(yye,yr.CompletionItemKind.Enum).map(b=>(b.sortText="z"+b,b))),d&&(s=s.concat(X1t(i))),(n=="tsx"||n=="vue"||n=="jsx")&&e!=="@"&&e!==":"?Ua(l,s):s):((za.includes(a)&&(o==2&&e===":"||o>=3)||Hp.find(b=>b.values.includes(a)))&&(s=s.concat(on(wE,yr.CompletionItemKind.Function)),s=s.concat(on(v,yr.CompletionItemKind.Property))),(n=="tsx"||n=="vue"||n=="jsx")&&e!=="@"&&e!==":"?Ua(l,s):s)}function on(t,e,r=""){let n=[];return t.forEach(i=>{typeof i=="string"?n.push({label:i+r,kind:e,insertText:i+r,insertTextMode:2,command:r===":"?{title:"triggerSuggest",command:"editor.action.triggerSuggest"}:void 0}):n.push({insertText:i.label+r,insertTextMode:2,command:r===":"?{title:"triggerSuggest",command:"editor.action.triggerSuggest"}:void 0,...i})}),n}function X1t(t=new or){let e=[];return Object.keys(t.colorThemesMap).forEach(r=>{let n=t.colorThemesMap[r];e.push({label:r,documentation:Object.values(n)[0],kind:yr.CompletionItemKind.Color,sortText:`${r}`})}),e}function Ua(t,e){let r=[];if(t.split("-").length-1<=0)return e;{let n=t.split("-")[0]+"-";return e.map(i=>{i.label.includes(n)&&r.push({label:i.label,kind:i.kind,insertText:i.insertText?.substring(n.length),insertTextMode:i.insertTextMode,command:i.command})}),r}}var Abe=ut(Rbe());function Pbe(t,e,r=new or){let n=k5(t.split(" "),r.config);return!n||n==" "?null:{contents:{language:"css",value:(0,Abe.css_beautify)(n,{newline_between_rules:!0,end_with_newline:!0})},range:e}}var Ka=ut(zp());var PE=/[^\s:]+:\w*\(?((?<!\\)["'`])((?:\\\1|(?:(?!\1))[\S\s])*)((?<!\\)\1)\)?|[^\s"'`]+/g;function TE(t,e,r,n){let i={IsMatch:!1,PositionIndex:0,classStartIndex:0,classEndIndex:0,classString:"",instance:{range:{start:Ka.Position.create(0,0),end:Ka.Position.create(0,0)},instanceString:""},instanceList:[]},s=r.get(t),o=s?.getText()??"",a=s?.offsetAt(e)??0,u=s?.offsetAt({line:e.line-100,character:0})??0,l=s?.offsetAt({line:e.line+100,character:0})??void 0;o=o.substring(u,l);let c,f;return i.PositionIndex=a,n.forEach(d=>{let p=new RegExp(d,"g");for(;(f=p.exec(o))!==null;)if(f.index<=a&&f.index+f[0].length-1>=a){for(i.IsMatch=!0,i.PositionIndex=a,i.classStartIndex=f.index,i.classEndIndex=f.index+f[0].length-1,i.classString=f[0];(c=PE.exec(f[2]))!==null;)i.instanceList.push({range:{start:s?.positionAt(f.index+f[1].length+c.index)??Ka.Position.create(0,0),end:s?.positionAt(f.index+f[1].length+c.index+c[0].length)??Ka.Position.create(0,0)},instanceString:c[0]}),f.index+f[1].length+c.index<=a&&f.index+f[1].length+c.index+c[0].length>=a&&(i.instance={range:{start:s?.positionAt(f.index+f[1].length+c.index)??Ka.Position.create(0,0),end:s?.positionAt(f.index+f[1].length+c.index+c[0].length)??Ka.Position.create(0,0)},instanceString:c[0]});return i}else if(f.index>a)break}),i}var wr=ut(zp());function ME(t){let e=t.replace("#","").match(/.{1,2}/g);return{red:parseInt(e?.[0]??"0",16),green:parseInt(e?.[1]??"0",16),blue:parseInt(e?.[2]??"0",16),alpha:parseInt(e?.[3]??"FF",16)}}async function Mbe(t,e){let r=[],n=t.textDocument.uri,i=e.get(n),s=i?.getText()??"";if(typeof i==null)return[];let o,a=/(:\s*)'#([0-9a-fA-F]{6,8})'/g,u,l=new RegExp("(?<=colors:\\s*{\\s*.*)([^}]*)}","g");for(;(o=l.exec(s))!==null;)for(;u=a.exec(o[0]);){let c={range:{start:i?.positionAt(o.index+u.index+u[1].length)??wr.Position.create(0,0),end:i?.positionAt(o.index+u.index+u[0].length-1)??wr.Position.create(0,0)},color:LE(ME(u[2]))};r.push(c)}return r}async function Lbe(t,e,r,n=new or){let i=[],s=t.textDocument.uri,o=e.get(s),a=o?.getText()??"";if(typeof o==null)return[];let u=Object.keys(n.colorThemesMap),l;for(;(l=PE.exec(a))!==null;){let f=l.index,d=n.themeNames.find(q=>l?.[0]?.endsWith(`@${q}`))??"",p=/(?<=[:;|])(?:#?\w+(?:-[\d]{1,2})?(?:\/.?[\d]*)?(?:\([^\s)]+\))?)/g,h=/rgba?\(([\d.]+),([\d.]+),([\d.]+)(?:,([\d.]+))?\)/g,y=/hsla?\(([\d.]+),([\d.]+)%,([\d.]+)%(?:,([\d.]+))?\)/g,v=/#([0-9a-fA-F]{6,8})/g,g,b,w,_,S;for(;(g=p.exec(l[0]))!==null;){if(b=h.exec(g[0])){let q={range:{start:o?.positionAt(f+g.index)??wr.Position.create(0,0),end:o?.positionAt(f+g.index+g[0].length)??wr.Position.create(0,0)},color:LE({red:Number(b[1]),green:Number(b[2]),blue:Number(b[3]),alpha:b[4]==null?1:Number(b[4])})};i.push(q)}else if(b=y.exec(g[0])){let q={range:{start:o?.positionAt(f+g.index)??wr.Position.create(0,0),end:o?.positionAt(f+g.index+g[0].length)??wr.Position.create(0,0)},color:LE(nkt(Number(b[1]),Number(b[2]),Number(b[3]),b[4]==null?1:Number(b[4])))};i.push(q)}else if(b=v.exec(g[0])){let q={range:{start:o?.positionAt(f+g.index)??wr.Position.create(0,0),end:o?.positionAt(f+g.index+g[0].length)??wr.Position.create(0,0)},color:LE(ME(b[1]))};i.push(q)}if(S=1,g[0].split("/").length==2&&(S=Number("0"+g[0].split("/")[1])),g[0].split("-").length==1){if(w=g[0].split("/")[0],w=w.endsWith("_")?w.replace("_",""):w,u.find(q=>q==w)){let q={range:{start:o?.positionAt(f+g.index)??wr.Position.create(0,0),end:o?.positionAt(f+g.index+g[0].length)??wr.Position.create(0,0)},color:Tbe(w,S,d,n)};i.push(q)}}else if(g[0].split("-").length==2){if(w=g[0],u.find(q=>q==w)){let q={range:{start:o?.positionAt(f+g.index)??wr.Position.create(0,0),end:o?.positionAt(f+g.index+g[0].length)??wr.Position.create(0,0)},color:Tbe(w,S,d,n)};i.push(q)}}else if(g[0].split("-").length!=2)continue}}let c=new Set;return i=i.filter(f=>c.has(o?.offsetAt(f.range.start))?!1:(c.add(o?.offsetAt(f.range.start)),!0)),i}function Tbe(t,e=1,r="",n=new or){try{let i=n.colorThemesMap[t],s=ME(i[r]??i[""]??Object.values(i)[0]);return{red:s.red/255,green:s.green/255,blue:s.blue/255,alpha:e}}catch{return{red:0,green:0,blue:0,alpha:1}}}function an(t){let e=t.toString(16);return e.length!==2?"0"+e:e}function rkt(t){let e=t.red,r=t.green,n=t.blue,i=t.alpha,s=Math.max(e,r,n),o=Math.min(e,r,n),a=0,u=0,l=(o+s)/2,c=s-o;if(c>0){switch(u=Math.min(l<=.5?c/(2*l):c/(2-2*l),1),s){case e:a=(r-n)/c+(r<n?6:0);break;case r:a=(n-e)/c+2;break;case n:a=(e-r)/c+4;break}a*=60,a=Math.round(a)}return{h:a,s:u,l,a:i}}function nkt(t,e,r,n){r/=100;let i=a=>(a+t/30)%12,s=e/100*Math.min(r,1-r),o=a=>r-s*Math.max(-1,Math.min(i(a)-3,Math.min(9-i(a),1)));return{red:255*o(0),green:255*o(8),blue:255*o(4),alpha:n??1}}function LE(t){return{red:t.red/255,green:t.green/255,blue:t.blue/255,alpha:t.alpha}}function Fbe(t,e=!1){let r=[],n=t.color,i=t.range,s=Math.round(n.red*255),o=Math.round(n.green*255),a=Math.round(n.blue*255),u;if(e)return n.alpha===1?u=`'#${an(s)}${an(o)}${an(a)}`:u=`'#${an(s)}${an(o)}${an(a)}${an(Math.round(n.alpha*255))}`,r.push({label:u,textEdit:wr.TextEdit.replace(i,u)}),r;n.alpha===1?u=`rgb(${s},${o},${a})`:u=`rgba(${s},${o},${a},${n.alpha})`,r.push({label:u,textEdit:wr.TextEdit.replace(i,u)}),n.alpha===1?u=`#${an(s)}${an(o)}${an(a)}`:u=`#${an(s)}${an(o)}${an(a)}${an(Math.round(n.alpha*255))}`,r.push({label:u,textEdit:wr.TextEdit.replace(i,u)});let l=rkt(n);return l.a===1?u=`hsl(${l.h},${Math.round(l.s*100)}%,${Math.round(l.l*100)}%)`:u=`hsla(${l.h},${Math.round(l.s*100)}%,${Math.round(l.l*100)}%,${l.a})`,r.push({label:u,textEdit:wr.TextEdit.replace(i,u)}),r}var un=(0,Ji.createConnection)(Ji.ProposedFeatures.all),Qi=new Ji.TextDocuments($be.TextDocument),IE=!1,Ibe=!1,ikt=!1,Yi,sh,Bbe={languages:["html","php","javascript","typescript","javascriptreact","typescriptreact","vue","svelte","rust"],classNameMatches:["(class(?:Name)?\\s?=\\s?)((?:\"[^\"]+\")|(?:'[^']+')|(?:`[^`]+`))","(class(?:Name)?={)([^}]*)}","(?:(\\$|(?:element\\.[^\\s.`]+)`)([^`]+)`)","(classList.(?:add|remove|replace|replace|toggle)\\()([^)]*)\\)"],files:{exclude:["**/.git/**","**/node_modules/**","**/.hg/**"]},suggestions:!0,PreviewOnHovers:!0,PreviewColor:!0},Wbe=Bbe,FE=new Map;un.onDidChangeConfiguration(t=>{IE?FE.clear():Wbe=t.settings.languageServerExample||Bbe,Qi.all().forEach(zbe)});async function skt(t){if(!IE)return Promise.resolve(Wbe);let e=FE.get(t);e||(e=un.workspace.getConfiguration({scopeUri:t,section:"masterCSS"}),FE.set(t,e)),un.workspace.getWorkspaceFolders();let r=await un.workspace.getWorkspaceFolders(),n;if(r?.length===1?n=r[0]:n=r?.find(i=>t.includes(i.uri)),n?.uri)try{try{let s=(await new gge({cwd:(0,Nbe.default)(n.uri.replace("%3A",":"))})).readConfig();console.log(s),sh=new or(s)}catch{sh=new or}}catch{}return e}Qi.onDidClose(t=>{FE.delete(t.document.uri)});Qi.onDidOpen(t=>{zbe(t.document)});async function zbe(t){Yi=await skt(t.uri)}un.onInitialize(t=>{let e=t.capabilities;IE=!!(e.workspace&&e.workspace.configuration),Ibe=!!(e.workspace&&e.workspace.workspaceFolders),ikt=!!(e.textDocument&&e.textDocument.publishDiagnostics&&e.textDocument.publishDiagnostics.relatedInformation);let r={capabilities:{textDocumentSync:Ji.TextDocumentSyncKind.Incremental,completionProvider:{resolveProvider:!0,workDoneProgress:!1,triggerCharacters:[":","@","~"]},colorProvider:{},hoverProvider:!0}};return Ibe&&(r.capabilities.workspace={workspaceFolders:{supported:!0}}),r});un.onInitialized(()=>{IE&&un.client.register(Ji.DidChangeConfigurationNotification.type,void 0)});un.onCompletion(t=>{if(Yi.suggestions==!0&&NE(t.textDocument.uri)){let e=TE(t.textDocument.uri,t.position,Qi,Yi.classNameMatches).IsMatch,r=Oye(t,Qi);if(r.isInstance==!0&&e==!0)return qye(r.lastKey,r.triggerKey,r.isStart,r.language,sh)}return[]});un.onCompletionResolve(t=>t);un.onDocumentColor(async t=>{if(Yi==null)return[];if(Yi.PreviewColor==!0&&NE(t.textDocument.uri)){let e=await Lbe(t,Qi,Yi.classNameMatches,sh);return e=e.concat(await Mbe(t,Qi)),e}return[]});un.onColorPresentation(t=>{if(Yi.PreviewColor==!0&&NE(t.textDocument.uri)){let e=["(?<=colors:\\s*{\\s*.*)([^}]*)}"],r=TE(t.textDocument.uri,t.range.start,Qi,e);return Fbe(t,r.IsMatch)}return[]});un.onHover(t=>{if(Yi.PreviewOnHovers==!0&&NE(t.textDocument.uri)){let e=TE(t.textDocument.uri,t.position,Qi,Yi.classNameMatches);if(e.IsMatch)return Pbe(e.instance.instanceString,e.instance.range,sh)}return null});function NE(t){for(let e of Yi.files.exclude)if((0,jbe.default)(t,e))return!1;return!0}Qi.listen(un);un.listen();
|
|
485
485
|
/*! Bundled license information:
|
|
486
486
|
|
|
487
487
|
is-extglob/index.js:
|